/* Cindy Diaz-Rodriguez — v3, the "card" system.

   Rebuilt on 23 Sep 2026 to match her printed marketing card: deep navy
   ground, one gold, ivory text, her name in script. The token NAMES are
   unchanged from v2 so the rest of this file and main.js keep working:
   --blush is now the navy panel, --peach the gold fill, --clay the gold as
   text, --ink the ivory heading colour and --on-ink the navy it sits on.

   Type is Nunito Sans (the closest open face to the Avenir on the card) for
   everything, and Allura for the script accents: her name, the kickers, the
   footer signature.

   Radius rule: containers 22px, fields 12px, buttons and chips are pills. */

:root {
  --ground:   #0B1526;   /* the card's navy */
  --ground-2: #101E34;
  --blush:    #142642;   /* panels */
  --blush-2:  #1E3556;   /* rules, hover */
  --peach:    #D4AF5C;   /* the card's gold: fills */
  --clay:     #E4C574;   /* gold as text, 9.6:1 on the navy */
  --clay-2:   #F2D98F;   /* hover text */
  --ink:      #F8F2E6;   /* ivory: headings */
  --ink-2:    #EFE7D8;
  --ink-3:    #DCD2BF;
  --body:     #E6DECD;   /* 13:1 */
  --mute:     #A7B1C3;   /* 6.6:1 on the panel */
  --line:     #1F3252;
  --line-2:   #2E4568;
  --on-ink:   #0B1526;   /* text on ivory or gold */
  --on-ink-m: #8B98AE;
  --white:    #13233C;   /* card surfaces */
  --gold-line: rgba(212, 175, 92, .28);
  --gold-grad: linear-gradient(160deg, #F3DC97 0%, #D4AF5C 42%, #9B7530 100%);

  --display: "Nunito Sans", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --text:    "Nunito Sans", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --script:  "Allura", "Brush Script MT", cursive;

  --gutter: clamp(1.1rem, 4.5vw, 4rem);
  --wrap: 82rem;
  --hdr-h: 72px;
  --r: 22px;
  --r-f: 12px;
  --pill: 999px;

  --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 12px 32px -16px rgba(0, 0, 0, .55);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .25), 0 28px 56px -28px rgba(0, 0, 0, .65);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --z-hdr: 40; --z-bar: 45; --z-lb: 60;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--body);
  font: 400 clamp(1rem, .96rem + .2vw, 1.0625rem)/1.62 var(--text);
  font-synthesis-weight: none;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--clay); text-underline-offset: .14em; }
:where(main, .lb) a:hover { color: var(--clay-2); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--peach); color: var(--on-ink); padding: .6rem 1rem; border-radius: var(--pill);
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; }

/* ─── type ──────────────────────────────────────────────────────────────── */

.d1, .d2, .d3, .d4 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  font-variation-settings: "opsz" 12;
}
.d1 { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 5.1rem); font-weight: 800; line-height: 1; letter-spacing: -.025em; }
.d2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.5rem); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; }
.d3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2.1rem); font-weight: 600; line-height: 1.12; letter-spacing: -.022em; }
.d4 { font-size: 1.1875rem; font-weight: 600; line-height: 1.25; letter-spacing: -.012em; font-variation-settings: "opsz" 12; }
.d1 em, .d2 em { font-style: normal; color: var(--clay); }

.lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.55; color: var(--ink-3); max-width: 46ch; margin: 0; text-wrap: pretty; }
.eyebrow {
  margin: 0 0 .6rem; font: 400 clamp(1.7rem, 1.4rem + .8vw, 2.2rem)/1.1 var(--script); color: var(--clay);
  display: block; letter-spacing: .01em;
}
p { margin: 0; }
p + p { margin-top: 1em; }

/* ─── buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.1rem; padding: 0 1.45rem; border-radius: var(--pill);
  font: 600 .96rem/1 var(--text); letter-spacing: 0; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s, border-color .18s, color .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn--sm { min-height: 2.6rem; padding: 0 1.05rem; font-size: .9rem; }
.btn--fill { background: var(--peach); color: var(--on-ink); }
.btn--fill:hover { background: var(--clay-2); color: var(--on-ink); }
.btn--peach { background: var(--ink); color: var(--on-ink); }
.btn--peach:hover { background: var(--clay-2); color: var(--on-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--gold-line); }
.btn--ghost:hover { border-color: var(--peach); color: var(--clay-2); }
.btn--white { background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow); }
.btn--white:hover { background: var(--clay-2); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; pointer-events: none; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.btn svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ─── header ────────────────────────────────────────────────────────────── */

.hdr {
  position: sticky; top: 0; z-index: var(--z-hdr);
  height: var(--hdr-h); padding-inline: var(--gutter);
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background-color .25s;
}
.hdr.is-scrolled { border-bottom-color: var(--line); }
/* the blur makes the header the containing block for the fixed drawer, so it goes while the drawer is open */
.hdr.is-nav-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ground); border-bottom-color: var(--line); }
.hdr__in { width: 100%; max-width: var(--wrap); margin-inline: auto; height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--blush); box-shadow: 0 0 0 2px var(--peach); }
.brand b { font: 400 1.7rem/1 var(--script); color: var(--clay); letter-spacing: .01em; display: block; text-transform: none; }
.brand > span { display: block; }
.brand > span > span { display: block; font: 700 .68rem/1.1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-top: .1rem; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav > a:not(.btn) { font: 500 .93rem/1 var(--text); color: var(--ink-2); text-decoration: none; padding: .5rem 0; position: relative; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 2px; background: var(--peach); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.nav > a:not(.btn):hover::after, .nav > a:not(.btn)[aria-current="true"]::after { transform: scaleX(1); }
.lang { display: inline-flex; border: 1.5px solid var(--gold-line); border-radius: var(--pill); padding: 3px; gap: 2px; }
.lang a { text-decoration: none; font: 700 .74rem/1 var(--text); letter-spacing: .06em; padding: .42rem .62rem; border-radius: var(--pill); color: var(--mute); }
.lang a[aria-current] { background: var(--peach); color: var(--on-ink); }
.lang a:not([aria-current]):hover { color: var(--ink); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; position: relative; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger span { top: 21px; }
.burger span::before { content: ""; left: 0; top: -6px; }
.burger span::after { content: ""; left: 0; top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 68rem) {
  .nav > a.btn { display: none; }
  .nav { gap: 1.1rem; }
}
@media (max-width: 60rem) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--hdr-h) 0 0 0; background: var(--ground); z-index: var(--z-hdr);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    padding: 1rem var(--gutter) 6rem; overflow: auto;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav > a:not(.btn) { font: 600 1.6rem/1.1 var(--display); letter-spacing: -.02em; padding: .8rem 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav > a:not(.btn)::after { display: none; }
  .nav > a.btn { display: inline-flex; margin-top: 1.4rem; }
  .lang { margin-top: 1.2rem; }
}

/* ─── sections ──────────────────────────────────────────────────────────── */

.sec { padding: clamp(4rem, 9vw, 7.5rem) var(--gutter) clamp(4.5rem, 10vw, 8.5rem); }
.sec--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.hero, .foot { padding-inline: var(--gutter); }
.tick { padding: .6rem var(--gutter); }
.sec--blush { background: var(--blush); }
.sec--ground2 { background: var(--ground-2); }
.head { max-width: 62ch; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.head .lede { margin-top: 1.1rem; }
.head--split { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 4rem; align-items: end; max-width: none; }
.head--split .lede { max-width: 40ch; }
@media (max-width: 48rem) { .head--split { grid-template-columns: 1fr; align-items: start; } }

/* reveal */
[data-rise] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
[data-rise].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-rise] { opacity: 1; transform: none; transition: none; } }

/* ─── hero ──────────────────────────────────────────────────────────────── */

.hero { position: relative; overflow: clip; padding-top: clamp(1.5rem, 4vw, 3.5rem); }
.hero__in {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 2rem clamp(1rem, 4vw, 4rem); align-items: end;
  min-height: calc(100dvh - var(--hdr-h) - 1rem); max-height: 60rem;
}
.hero__copy { padding-bottom: clamp(3rem, 8vw, 6.5rem); align-self: center; }
.hero__copy .eyebrow { margin-bottom: 1.4rem; }
.hero__sub { margin-top: 1.4rem; max-width: 34ch; }
.hero__act { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__fig {
  position: relative; margin: 0; align-self: end; justify-self: center;
  width: min(100%, 34rem); aspect-ratio: 570 / 843;
}
.hero__arch {
  position: absolute; left: 6%; right: 6%; top: 14%; bottom: 0;
  background: var(--blush); border-radius: 999px 999px 0 0;
  box-shadow: inset 0 0 0 3px var(--peach), inset 0 0 0 5px var(--ground);
}
.hero__fig img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.hero__fig::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(to top, var(--ground), transparent);
}
.hero__fig img, .hero__arch { animation: hero-in 1.1s var(--ease) both; }
.hero__arch { animation-delay: .05s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__fig img, .hero__arch { animation: none; } }

@media (max-width: 56rem) {
  .hero__in { grid-template-columns: 1fr; min-height: 0; max-height: none; align-items: start; }
  .hero__copy { padding-bottom: 0; order: 1; }
  .hero__fig { order: 2; width: min(100%, 24rem); margin-top: 1.5rem; }
  .hero__act .btn { flex: 1 1 auto; white-space: normal; min-width: 0; }
}

/* the ticker under the hero: the one live listing */
.tick {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--white);
}
.tick__in { display: flex; align-items: center; gap: 1.25rem; min-height: 2.4rem; flex-wrap: wrap; }
.tick__dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 4px var(--gold-line); flex: none; }
.tick__lbl { font: 700 .74rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.tick__txt { font: 500 .95rem/1.3 var(--text); color: var(--ink); }
.tick__txt b { font-weight: 700; }
.tick a.tick__go { margin-left: auto; font: 600 .9rem/1 var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.tick a.tick__go svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; }

.spread > *, .path > *, .valwrap > *, .about > *, .contact > *, .hero__in > * { min-width: 0; }

/* ─── the featured home spread ──────────────────────────────────────────── */

.spread { display: grid; min-width: 0; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.spread__copy { position: sticky; top: calc(var(--hdr-h) + 1.5rem); }
.spread__tag {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .85rem; border-radius: var(--pill);
  background: var(--blush); color: var(--clay-2); font: 700 .74rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase;
}
.spread__tag[data-status="pending"] { background: var(--ground-2); color: var(--ink-3); }
.spread__addr { margin-top: 1.1rem; }
.spread__town { display: block; color: var(--mute); font: 500 1.05rem/1.3 var(--text); margin-top: .35rem; }
.price { font: 700 clamp(2rem, 1.5rem + 2vw, 3rem)/1 var(--display); letter-spacing: -.03em; color: var(--ink); margin-top: 1.3rem; font-variant-numeric: tabular-nums; }
.specs { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.specs li { padding: .5rem .9rem; border: 1.5px solid var(--line-2); border-radius: var(--pill); font: 500 .9rem/1 var(--text); color: var(--ink-2); }
.specs li b { font-weight: 700; }
.spread__desc { margin-top: 1.4rem; max-width: 46ch; color: var(--body); text-wrap: pretty; }
.spread__act { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.spread__ft { margin-top: 1.2rem; font-size: .85rem; color: var(--mute); }

.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; min-width: 0; }
.mosaic button { min-width: 0; border: 0; padding: 0; background: var(--ground-2); border-radius: 14px; overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 4 / 3; }
.mosaic button:first-child { grid-column: span 6; aspect-ratio: 16 / 10; border-radius: var(--r); }
.mosaic button:nth-child(2), .mosaic button:nth-child(3) { grid-column: span 3; }
.mosaic button:nth-child(n + 4) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mosaic button:hover img { transform: scale(1.03); }
.mosaic button:focus-visible { outline-offset: 2px; }
.mosaic .more {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(11, 21, 38, .55); color: var(--on-ink); font: 700 1.1rem/1 var(--display);
}
.mosaic.is-loading button { animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer { 50% { background: var(--blush); } }

@media (max-width: 60rem) {
  .spread { grid-template-columns: 1fr; }
  .spread__copy { position: static; }
  .mosaic { order: -1; }
}

.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.lcard { background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr; }
.lcard__img { aspect-ratio: 4 / 3; background: var(--ground-2); position: relative; }
.lcard__img img { width: 100%; height: 100%; object-fit: cover; }
.lcard__img .spread__tag { position: absolute; left: .8rem; top: .8rem; }
.lcard__b { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .25rem; }
.lcard__b h4 { margin: 0; font: 600 1.15rem/1.2 var(--display); letter-spacing: -.015em; color: var(--ink); }
.lcard__b .price { font-size: 1.5rem; margin-top: .2rem; }
.lcard__b small { color: var(--mute); }

.empty { border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 2.5rem; text-align: center; color: var(--ink-3); max-width: 44ch; margin-inline: auto; }

/* ─── sold ──────────────────────────────────────────────────────────────── */

.sold { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.sold li { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1rem; align-items: center; background: var(--white); border-radius: 18px; padding: .75rem; box-shadow: var(--shadow); }
.sold img { width: 5.2rem; height: 4rem; object-fit: cover; border-radius: 10px; background: var(--ground-2); }
.sold b { display: block; font: 600 1.05rem/1.2 var(--display); color: var(--ink); letter-spacing: -.01em; }
.sold small { display: block; color: var(--mute); margin-top: .15rem; }
.sold .p { display: block; font: 700 1rem/1.2 var(--text); color: var(--clay-2); margin-top: .3rem; font-variant-numeric: tabular-nums; }

/* ─── reviews wall ──────────────────────────────────────────────────────── */

.stars { display: inline-flex; gap: 2px; vertical-align: -2px; }
.stars svg { width: 1.05em; height: 1.05em; fill: var(--clay); }
.stars svg[data-off] { fill: var(--line-2); }
.rating { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.rating b { font: 700 clamp(2.6rem, 2rem + 2vw, 4rem)/1 var(--display); letter-spacing: -.04em; color: var(--ink); }
.rating .stars { font-size: 1.35rem; }
.rating small { display: block; width: 100%; color: var(--mute); font-size: .95rem; }

.wall { columns: 3; column-gap: 1rem; }
.rev { break-inside: avoid; background: var(--white); border-radius: 18px; padding: 1.35rem 1.4rem 1.25rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.rev__stars { font-size: .95rem; }
.rev__text { margin-top: .8rem; color: var(--body); text-wrap: pretty; font-size: .98rem; }
.rev__text::before { content: "\201C"; font: 700 2.2rem/0 var(--display); color: var(--peach); vertical-align: -.5rem; margin-right: .2rem; }
.rev__by { margin-top: 1rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.rev__by b { font: 600 .95rem/1.2 var(--text); color: var(--ink); }
.rev__by small { color: var(--mute); font-size: .82rem; white-space: nowrap; }
.wall:not(.is-all) .rev:nth-child(n + 10) { display: none; }
.wall__more { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
@media (max-width: 64rem) { .wall { columns: 2; } }
@media (max-width: 40rem) { .wall { columns: 1; } }

/* ─── the path ──────────────────────────────────────────────────────────── */

.path { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.path__side { position: sticky; top: calc(var(--hdr-h) + 1.5rem); }
.switch { display: inline-flex; background: var(--white); border-radius: var(--pill); padding: 4px; gap: 4px; box-shadow: var(--shadow); margin-top: 1.6rem; }
.switch button { border: 0; background: transparent; border-radius: var(--pill); padding: .7rem 1.2rem; font: 600 .92rem/1 var(--text); color: var(--ink-3); cursor: pointer; transition: background-color .2s, color .2s; }
.switch button[aria-selected="true"] { background: var(--peach); color: var(--on-ink); }
.switch button:not([aria-selected="true"]):hover { color: var(--ink); }
.path__foot { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }

.stages { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.stage { display: grid; grid-template-columns: 3.4rem 1fr; gap: 1rem 1.4rem; padding: 1.5rem 0 1.6rem; border-top: 1px solid var(--line-2); }
.stage:last-child { border-bottom: 1px solid var(--line-2); }
.stage .n { font: 700 1.6rem/1 var(--display); color: var(--clay); letter-spacing: -.03em; font-variant-numeric: tabular-nums; padding-top: .15rem; }
.stage h3 { margin: 0; font: 600 1.3rem/1.2 var(--display); color: var(--ink); letter-spacing: -.02em; }
.stage p { margin-top: .45rem; max-width: 52ch; color: var(--body); text-wrap: pretty; }
.stages.is-swapping .stage { animation: stage-in .45s var(--ease) both; }
.stages.is-swapping .stage:nth-child(2) { animation-delay: .04s; }
.stages.is-swapping .stage:nth-child(3) { animation-delay: .08s; }
.stages.is-swapping .stage:nth-child(4) { animation-delay: .12s; }
.stages.is-swapping .stage:nth-child(5) { animation-delay: .16s; }
@keyframes stage-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .stages.is-swapping .stage { animation: none; } }
@media (max-width: 56rem) { .path { grid-template-columns: 1fr; } .path__side { position: static; } }

/* ─── forms and the wizard ──────────────────────────────────────────────── */

.valwrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.valwrap > div:first-child { position: sticky; top: calc(var(--hdr-h) + 1.5rem); }
.valwrap .lede + .lede { margin-top: 1rem; }
@media (max-width: 56rem) { .valwrap { grid-template-columns: 1fr; } .valwrap > div:first-child { position: static; } }

.card { background: var(--white); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-lg); }
.wiz__bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1.6rem; }
.wiz__bar div { padding-top: .6rem; font: 600 .8rem/1.2 var(--text); color: var(--mute); position: relative; }
.wiz__bar div::before { content: ""; display: block; height: 3px; border-radius: 3px; background: var(--line); margin-bottom: .6rem; transition: background-color .3s; }
.wiz__bar div[aria-current] { color: var(--ink); }
.wiz__bar div[aria-current]::before { background: var(--clay); }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; position: relative; }
.field label { font: 600 .9rem/1.2 var(--text); color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--text); color: var(--ink);
  background: var(--ground); border: 1.5px solid var(--line-2); border-radius: var(--r-f);
  padding: .8rem .95rem; min-height: 3rem; transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.field textarea { resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F8F2E6' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1rem; padding-right: 2.4rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--peach); box-shadow: 0 0 0 4px var(--gold-line); background: var(--white); }
.field input[aria-invalid="true"] { border-color: #F08A7E; }
.err { color: #F08A7E; font-size: .86rem; min-height: 1.1em; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 30rem) { .row2 { grid-template-columns: 1fr; } }
.choice p { font: 600 .9rem/1.2 var(--text); color: var(--ink); margin-bottom: .6rem; }
.choice__opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice__opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__opts label { padding: .6rem 1rem; border: 1.5px solid var(--line-2); border-radius: var(--pill); font: 500 .9rem/1 var(--text); cursor: pointer; transition: border-color .18s, background-color .18s, color .18s; }
.choice__opts label:hover { border-color: var(--ink-3); }
.choice__opts input:checked + label { background: var(--peach); color: var(--on-ink); border-color: var(--peach); }
.choice__opts input:focus-visible + label { outline: 3px solid var(--clay); outline-offset: 2px; }
.wiz__act { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.4rem; }
.done { margin-top: 1rem; font-size: .92rem; color: var(--clay-2); }
.done:empty { display: none; }

.sugg {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 5; margin-top: .3rem;
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-f); box-shadow: var(--shadow-lg); overflow: hidden;
}
.sugg button { display: flex; justify-content: space-between; gap: 1rem; width: 100%; text-align: left; border: 0; background: transparent; padding: .7rem .95rem; cursor: pointer; font-size: .95rem; }
.sugg button:hover, .sugg button[aria-selected="true"] { background: var(--blush); }
.sugg small { color: var(--mute); }
.pinline { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .86rem; color: var(--mute); margin: -.4rem 0 1rem; }

/* ─── about ─────────────────────────────────────────────────────────────── */

.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__fig { margin: 0; position: relative; aspect-ratio: 1; width: min(100%, 30rem); justify-self: center; }
.about__fig::before { content: ""; position: absolute; inset: 8% 4% 0; background: var(--blush); border-radius: 999px 999px var(--r) var(--r); box-shadow: inset 0 0 0 3px var(--peach), inset 0 0 0 5px var(--ground); }
.about__fig::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(to top, var(--ground), transparent); }
.about__fig img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.about__body .lede { margin-top: 1.1rem; }
.about__body p.copy { margin-top: 1em; max-width: 56ch; text-wrap: pretty; }
.facts { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.5rem; }
.facts li { border-top: 1px solid var(--line-2); padding-top: .6rem; }
.facts li span:first-child { display: block; font: 600 .74rem/1.2 var(--text); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.facts li span:last-child { display: block; font: 600 1rem/1.3 var(--text); color: var(--ink); margin-top: .2rem; }
.facts a { color: var(--ink); text-decoration: none; }
.facts a:hover { color: var(--clay); }
@media (max-width: 56rem) { .about { grid-template-columns: 1fr; } .about__fig { width: min(100%, 22rem); } }
@media (max-width: 30rem) { .facts { grid-template-columns: 1fr; } }

.film { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 1rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); scrollbar-width: none; }
.film::-webkit-scrollbar { display: none; }
.film img { flex: 0 0 auto; width: clamp(14rem, 26vw, 20rem); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; scroll-snap-align: start; background: var(--ground-2); }
.film--wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; }

/* ─── situations ────────────────────────────────────────────────────────── */

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.3rem; text-decoration: none; color: var(--ink); border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--ground-2); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .7s var(--ease), opacity .3s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 21, 38, .9) 0%, rgba(11, 21, 38, .35) 55%, transparent 100%); }
.tile b, .tile span { position: relative; z-index: 1; display: block; }
.tile b { font: 600 1.35rem/1.15 var(--display); letter-spacing: -.02em; }
.tile span { margin-top: .4rem; font-size: .88rem; color: var(--on-ink-m); line-height: 1.3; }
.tile:hover { color: var(--on-ink); }
.tile:hover img { transform: scale(1.04); opacity: .95; }
.tile:focus-visible { outline-offset: 3px; }
@media (max-width: 60rem) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 16 / 10; } }

/* ─── towns ─────────────────────────────────────────────────────────────── */

.counties { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(2rem, 5vw, 5rem); }
.county h3 { margin: 0 0 1rem; font: 600 1.35rem/1.2 var(--display); color: var(--ink); letter-spacing: -.02em; display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.county h3 em { font: 500 .9rem/1.2 var(--text); color: var(--mute); }
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.towns a { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.05rem; background: var(--white); border-radius: var(--pill); text-decoration: none; color: var(--ink); font: 500 .95rem/1 var(--text); box-shadow: var(--shadow); transition: transform .18s var(--ease), background-color .18s; }
.towns a small { color: var(--clay); font-weight: 600; font-size: .78rem; }
.towns a:hover { background: var(--blush); transform: translateY(-1px); }
@media (max-width: 48rem) { .counties { grid-template-columns: 1fr; } }

/* ─── contact ───────────────────────────────────────────────────────────── */

.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem; align-items: start; }
.vcard { background: var(--ground-2); color: var(--body); border: 1px solid var(--gold-line); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2.2rem); position: sticky; top: calc(var(--hdr-h) + 1.5rem); }
.vcard__top { display: flex; align-items: center; gap: 1rem; }
.vcard__top img { width: 4.2rem; height: 4.2rem; border-radius: 50%; object-fit: cover; }
.vcard__top b { display: block; font: 600 1.25rem/1.15 var(--display); letter-spacing: -.02em; }
.vcard__top span { display: block; font: 600 .72rem/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-m); margin-top: .25rem; }
.vcard ul { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .8rem; }
.vcard li { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; border-top: 1px solid var(--gold-line); padding-top: .8rem; font-size: .95rem; }
.vcard li > span:first-child { color: var(--mute); font-weight: 600; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; padding-top: .15rem; }
.vcard li a { color: var(--ink); text-decoration: none; }
.vcard li a:hover { color: var(--clay-2); }
.vcard .btn--peach:hover { color: var(--on-ink); }
.vcard .btn { margin-top: 1.6rem; width: 100%; }
.vcard .socials { margin-bottom: .2rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { color: var(--ink); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--gold-line); transition: border-color .18s, background-color .18s; }
.socials a:hover { color: var(--peach); border-color: var(--peach); background: rgba(212, 175, 92, .12); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 56rem) { .contact { grid-template-columns: 1fr; } .vcard { position: static; } }

/* ─── footer ────────────────────────────────────────────────────────────── */

.foot { background: var(--ground-2); color: var(--mute); border-top: 3px solid var(--peach); padding-block: clamp(3rem, 6vw, 5rem) calc(2rem + 4.5rem); font-size: .9rem; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, 1fr); gap: 2rem 3rem; }
.foot__name { display: block; font: 400 2.1rem/1 var(--script); color: var(--clay); letter-spacing: .01em; }
.foot p { margin-top: .8rem; max-width: 60ch; text-wrap: pretty; }
.foot .foot__h { margin: 0 0 .8rem; font: 600 .74rem/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); letter-spacing: .14em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--clay-2); }
.foot__note { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--gold-line); font-size: .85rem; }
.foot__eho { display: inline-flex; align-items: center; gap: .5rem; }
@media (max-width: 48rem) { .foot__grid { grid-template-columns: 1fr; } }
@media (min-width: 48.01rem) { .foot { padding-bottom: clamp(3rem, 6vw, 5rem); } }

/* ─── phone action bar ──────────────────────────────────────────────────── */

.bar {
  position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: var(--z-bar);
  display: none; gap: .5rem; padding: .45rem; background: var(--white); border-radius: var(--pill); box-shadow: var(--shadow-lg);
}
.bar a { flex: 1; min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--pill); text-decoration: none; font: 600 .95rem/1 var(--text); color: var(--ink); }
.bar a.is-primary { background: var(--peach); color: var(--on-ink); }
/* stays out of the way while the hero (which has its own buttons) is on screen */
.bar { transform: translateY(calc(100% + 1.5rem)); opacity: 0; transition: transform .35s var(--ease), opacity .25s; pointer-events: none; }
.bar.is-shown { transform: none; opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .bar { transition: none; } }
@media (max-width: 48rem) { .bar { display: flex; } }

/* ─── lightbox ──────────────────────────────────────────────────────────── */

.lb { position: fixed; inset: 0; z-index: var(--z-lb); background: rgba(11, 21, 38, .94); display: grid; place-items: center; padding: 1rem; }
.lb__fig { margin: 0; width: min(100%, 78rem); max-height: 88vh; display: grid; place-items: center; }
.lb__fig img { max-height: 88vh; width: auto; max-width: 100%; border-radius: 12px; }
.lb__fig video, .lb__fig iframe { width: min(100%, 70rem); aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; }
.lb__close { position: absolute; top: 1rem; right: 1rem; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__nav--p { left: 1rem; }
.lb__nav--n { right: 1rem; }
.lb__count { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); color: var(--on-ink-m); font: 600 .85rem/1 var(--text); }

/* "A phone number or an email is enough." under the split contact fields */
.field-hint { margin: -.35rem 0 1.1rem; font-size: .85rem; line-height: 1.4; color: var(--mute); }
