/* /alamo-ranch, the neighborhood page for 78253 (November 2026). Loads after landing.css and keeps
 * the home page's franchise register: heavy italic Montserrat, the cyan-to-ocean family, green for
 * the one action, the gold guarantee seal. Its signature is the house explorer, a two-story home in
 * brand linework where each room opens its real checklist. Colours come from the --ld-* tokens. */

.ar-body { overflow-x: hidden; }
.ar-body ::selection { background: #BFE3EC; color: var(--ld-navy); }
.ar-body a:focus-visible, .ar-body button:focus-visible, .ar-body summary:focus-visible, .ar-body input:focus-visible + span {
  outline: 3px solid var(--ld-ocean); outline-offset: 3px; border-radius: 10px;
}
.ar-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ first viewport */
.ar-hero { position: relative; padding: 64px 0 84px; background: linear-gradient(170deg, #EAF6FA 0%, #F7FCFD 55%, #FFFFFF 100%); overflow: hidden; }
.ar-hero::before { content: ""; position: absolute; top: -160px; right: -120px; width: 760px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(90,179,201,0.24) 0%, rgba(90,179,201,0) 68%); pointer-events: none; }
.ar-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.ar-hero h1 { font-size: clamp(38px, 4.6vw, 62px); font-weight: 900; line-height: 1.03; margin-bottom: 22px; }
.ar-hero h1 em { font-style: italic; color: var(--ld-ocean-text); }
.ar-lede { font-size: 18px; line-height: 1.66; color: var(--ld-ink-soft); max-width: 34em; margin: 0 0 28px; }
.ar-cta { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-bottom: 26px; }
.ar-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ar-trust li { position: relative; padding-left: 26px; font-size: 14.5px; font-weight: 600; color: var(--ld-navy); }
.ar-trust li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--ld-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310250F' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ar-trust b { font-weight: 800; }

.ar-hero-art { position: relative; margin: 0; }
.ar-hero-art img { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--ld-shadow-lg); transform: rotate(0.6deg); }
.ar-badge { top: -28px; left: -26px; }
.ar-hero-jump {
  position: absolute; right: 18px; bottom: -22px; display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: 14px; background: #FFFFFF; box-shadow: var(--ld-shadow-md);
  font: 800 15px/1.2 'Montserrat', sans-serif; color: var(--ld-navy); text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ar-hero-jump svg { width: 15px; height: 15px; color: var(--ld-ocean-text); }
.ar-hero-jump:hover { transform: translateY(-2px); box-shadow: var(--ld-shadow-lg); }

/* ------------------------------------------------------------------ sections */
.ar-section { padding: 92px 0; }
.ar-section-soft { background: var(--ld-soft); }
.ar-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.ar-head h2, .ar-split-copy h2, .ar-band h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; font-style: italic; line-height: 1.12; margin-bottom: 14px; }
.ar-head p { margin: 0; font-size: 17px; color: var(--ld-ink-soft); }
.ar-head a { color: var(--ld-ocean-text); font-weight: 700; }
.ar-narrow { max-width: 820px; }

/* ------------------------------------------------------------------ the house explorer */
.ar-explore { padding: 96px 0 92px; }
.ar-kinds { display: flex; justify-content: center; gap: 6px; border: 0; margin: 0 auto 30px; padding: 5px; width: fit-content; border-radius: 999px; background: var(--ld-soft); box-shadow: inset 0 0 0 1px var(--ld-line); }
.ar-kinds label { position: relative; cursor: pointer; }
.ar-kinds input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ar-kinds span { display: block; padding: 11px 22px; border-radius: 999px; font: 800 14.5px/1 'Montserrat', sans-serif; color: var(--ld-ink-soft); transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease; }
.ar-kinds input:checked + span { background: #FFFFFF; color: var(--ld-navy); box-shadow: 0 2px 10px rgba(30, 84, 100, 0.14); }

.ar-explorer { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 34px; align-items: start; }
.ar-house-wrap { position: sticky; top: 100px; border-radius: 22px; overflow: hidden; box-shadow: var(--ld-shadow-md); background: #FFFFFF; }
.ar-house { display: block; width: 100%; height: auto; }
.ar-roof { fill: #FFFFFF; stroke: var(--ld-teal-900); stroke-width: 4; stroke-linejoin: round; }
.ar-chimney { fill: #FFFFFF; stroke: var(--ld-teal-900); stroke-width: 4; }
.ar-window-round { fill: #DFF1F6; stroke: var(--ld-teal-900); stroke-width: 3; }
.ar-ground { stroke: #CFE7EF; stroke-width: 6; stroke-linecap: round; }
.ar-outline { fill: none; stroke: var(--ld-teal-900); stroke-width: 5; }
.ar-floorline { stroke: var(--ld-teal-900); stroke-width: 4; }
.ar-door { fill: var(--ld-gold); stroke: var(--ld-teal-900); stroke-width: 3; }
.ar-labels text { font: 800 13px 'Montserrat', sans-serif; fill: var(--ld-teal-900); text-anchor: middle; pointer-events: none; }
.ar-room > rect:first-child { fill: #FFFFFF; stroke: #A9CCD8; stroke-width: 2; transition: fill 0.2s ease; }
.ar-room .ar-f { fill: #EEF5F8; stroke: #9DBFCB; stroke-width: 2; transition: fill 0.2s ease, stroke 0.2s ease; }
.ar-room .ar-f-line { fill: none; stroke: #9DBFCB; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s ease; }
.ar-room { cursor: pointer; }
.ar-room:hover > rect:first-child { fill: #F2F9FB; }
.ar-room.is-on > rect:first-child { fill: #CDEBF3; }
.ar-room.is-on .ar-f { fill: #FFFFFF; stroke: var(--ld-ocean); }
.ar-room.is-on .ar-f-line { stroke: var(--ld-ocean); }
/* One drawing pass when the house first scrolls into view. */
html.ar-anim .ar-house:not(.is-drawn) .ar-roof, html.ar-anim .ar-house:not(.is-drawn) .ar-outline { stroke-dasharray: 1600; stroke-dashoffset: 1600; }
html.ar-anim .ar-house .ar-roof, html.ar-anim .ar-house .ar-outline { transition: stroke-dashoffset 1.1s cubic-bezier(0.16, 1, 0.3, 1); }

.ar-rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.ar-room-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 52px; padding: 10px 14px;
  border: 1.5px solid var(--ld-line); border-radius: 12px; background: #FFFFFF; cursor: pointer; text-align: left;
  font: inherit; color: var(--ld-navy); transition: border-color 0.15s ease, background 0.15s ease;
}
.ar-room-btn span { font: 800 15px/1.2 'Montserrat', sans-serif; }
.ar-room-btn small { font-size: 12.5px; color: var(--ld-ink-soft); }
.ar-room-btn:hover { border-color: #A9CCD8; }
.ar-room-btn[aria-pressed="true"] { border-color: var(--ld-ocean); background: #EEF8FC; }
.ar-room-btn[aria-pressed="true"] span::after { content: " \2713"; color: var(--ld-ocean-text); }

.ar-panel { border-radius: 18px; background: #FFFFFF; box-shadow: var(--ld-shadow-sm), inset 0 0 0 1px var(--ld-line); padding: 22px 24px 18px; }
.ar-room-card h3 { font-size: 22px; font-weight: 900; font-style: italic; margin-bottom: 12px; }
.ar-room-card + .ar-room-card { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ld-line); }
html.ar-js .ar-room-card { display: none; margin: 0; padding: 0; border: 0; }
html.ar-js .ar-room-card.is-on { display: block; }
.ar-checks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.ar-checks li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.45; color: var(--ld-ink); }
.ar-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #E3F3F8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6C9E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ar-checks li[data-level="deep"]::before { background-color: #FFF1C9; }
.ar-checks li[data-level="move"]::before { background-color: #DDF1D5; }
html.ar-js .ar-checks li.is-hidden { display: none; }
html.ar-js .ar-checks li.is-new { animation: arIn 0.35s ease both; }
@keyframes arIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.ar-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: #FFF8E6; font-size: 14px; line-height: 1.55; color: #5A4200; }
.ar-note b { color: #4A3200; }
.ar-panel-foot { margin: 14px 0 0; font-size: 13.5px; color: var(--ld-ink-soft); }
.ar-panel-foot a { color: var(--ld-ocean-text); font-weight: 700; }

/* ------------------------------------------------------------------ split + facts */
.ar-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.ar-photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--ld-shadow-lg); }
.ar-photo img { width: 100%; height: auto; }
.ar-facts { display: grid; gap: 22px; margin-top: 8px; }
.ar-facts h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.ar-facts p { margin: 0; font-size: 15.5px; color: var(--ld-ink-soft); max-width: 36em; }

/* ------------------------------------------------------------------ the year */
.ar-year { max-width: 860px; margin: 0 auto; }
.ar-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin-bottom: 18px; }
.ar-month {
  min-height: 48px; border: 1.5px solid var(--ld-line); border-radius: 12px; background: #FFFFFF; cursor: pointer;
  font: 800 13.5px/1 'Montserrat', sans-serif; color: var(--ld-ink-soft); transition: all 0.15s ease;
}
.ar-month:hover { border-color: #A9CCD8; color: var(--ld-navy); }
.ar-month[aria-checked="true"] { background: linear-gradient(160deg, var(--ld-cyan), var(--ld-ocean)); border-color: transparent; color: #FFFFFF; box-shadow: 0 8px 18px rgba(12, 133, 194, 0.28); }
.ar-month-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; border-radius: 18px; background: var(--ld-soft); }
.ar-month-text { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ld-navy); }
.ar-month-text b { font-family: 'Montserrat', sans-serif; font-weight: 900; font-style: italic; }
html.ar-js .ar-month-text { display: none; }
html.ar-js .ar-month-text.is-on { display: block; }
.ar-month-panel .ld-btn { flex: none; }

/* ------------------------------------------------------------------ military band */
.ar-band { padding: 92px 0; background: linear-gradient(160deg, var(--ld-teal-900) 0%, #123A46 100%); color: #FFFFFF; }
.ar-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.ar-band h2 { color: #FFFFFF; }
.ar-band p { font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, 0.86); margin: 0 0 26px; max-width: 34em; }
.ar-band .ar-cta { margin-bottom: 0; }
.ar-band-photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 64px rgba(0, 0, 0, 0.3); transform: rotate(-0.6deg); }
.ar-band-photo img { width: 100%; height: auto; }

/* ------------------------------------------------------------------ reviews */
.ar-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ar-quote { margin: 0; padding: 24px 24px 20px; border-radius: 16px; background: #FFFFFF; box-shadow: var(--ld-shadow-sm), inset 0 0 0 1px var(--ld-line); display: flex; flex-direction: column; }
.ar-stars { display: flex; gap: 2px; color: var(--ld-gold); margin-bottom: 12px; }
.ar-stars svg { width: 16px; height: 16px; }
.ar-quote blockquote { margin: 0 0 16px; font-size: 15.5px; line-height: 1.6; color: var(--ld-ink); flex: 1; }
.ar-quote figcaption b { display: block; font: 800 15px/1.3 'Montserrat', sans-serif; color: var(--ld-navy); }
.ar-quote figcaption span { font-size: 13px; color: var(--ld-ink-soft); }

/* ------------------------------------------------------------------ the land mosaic */
.ar-mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.ar-mosaic figure { margin: 0; position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--ld-shadow-md); }
.ar-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-mosaic-a { grid-row: span 2; min-height: 420px; }
.ar-mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; font-size: 12.5px; color: #FFFFFF; background: linear-gradient(transparent, rgba(10, 30, 38, 0.72)); }
.ar-mosaic figcaption a { color: #FFFFFF; }
.ar-mosaic-c { padding: 28px; border-radius: 20px; background: linear-gradient(150deg, var(--ld-cyan), var(--ld-ocean)); color: #FFFFFF; }
.ar-mosaic-c p { margin: 0 0 10px; font-size: 16px; line-height: 1.55; }
.ar-big { font: italic 900 64px/1 'Montserrat', sans-serif !important; letter-spacing: -0.02em; margin-bottom: 6px !important; }
.ar-zips { font-size: 13.5px !important; color: rgba(255, 255, 255, 0.9); margin: 14px 0 0 !important; }

/* ------------------------------------------------------------------ FAQ */
.ar-faq { display: flex; flex-direction: column; gap: 10px; }
.ar-faq details { border: 1px solid var(--ld-line); border-radius: 16px; background: #FFFFFF; transition: box-shadow 0.2s ease; }
.ar-faq details[open] { box-shadow: var(--ld-shadow-sm); border-color: #BFE3EC; }
.ar-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; font: 800 16px/1.35 'Montserrat', sans-serif; color: var(--ld-navy); }
.ar-faq summary::-webkit-details-marker { display: none; }
.ar-faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--ld-soft); color: var(--ld-ocean-text); display: grid; place-items: center; font-size: 18px; transition: transform 0.2s ease; }
.ar-faq details[open] summary::after { transform: rotate(45deg); }
.ar-faq p { margin: 0; padding: 0 20px 18px; font-size: 15px; line-height: 1.65; color: var(--ld-ink-soft); }
.ar-note-small { margin: 22px 0 0; font-size: 13px; color: var(--ld-ink-soft); text-align: center; }

/* ------------------------------------------------------------------ reveal */
html.ar-anim [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
html.ar-anim [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ar-hero-jump, .ar-room > rect, .ar-kinds span, .ar-month { transition: none; }
  html.ar-js .ar-checks li.is-new { animation: none; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .ar-hero-inner, .ar-explorer, .ar-split, .ar-band-inner { grid-template-columns: minmax(0, 1fr); }
  .ar-hero { padding: 40px 0 70px; }
  .ar-hero-art { max-width: 640px; }
  .ar-house-wrap { position: static; }
  .ar-section, .ar-band, .ar-explore { padding: 68px 0; }
  .ar-quotes { grid-template-columns: minmax(0, 1fr); }
  .ar-months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ar-split .ar-photo { max-width: 460px; }
}
@media (max-width: 620px) {
  .ar-hero h1 { font-size: 36px; }
  .ar-lede { font-size: 16.5px; }
  .ar-cta .ld-btn { width: 100%; }
  .ar-badge { width: 96px; height: 96px; top: -18px; left: -6px; }
  .ar-badge .ld-badge-num { font-size: 26px; }
  .ar-badge .ld-badge-label, .ar-badge .ld-badge-unit { font-size: 9px; }
  .ar-hero-jump { position: static; margin-top: 14px; width: 100%; justify-content: center; }
  .ar-kinds span { padding: 11px 14px; font-size: 13.5px; }
  .ar-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ar-panel { padding: 18px 16px 14px; }
  .ar-month-panel { flex-direction: column; align-items: stretch; }
  .ar-mosaic { grid-template-columns: minmax(0, 1fr); }
  .ar-mosaic-a { grid-row: auto; min-height: 260px; }
  .ar-big { font-size: 52px !important; }
}
