/* ============================================================
   NOMAD by Sonesta — editorial luxury system
   ============================================================ */

:root {
  /* palette — warm ivory, sand, ink, restrained bronze */
  --paper:      #F4EFE6;
  --paper-2:    #ECE4D6;
  --white:      #FCFAF5;
  --ink:        #211E18;
  --ink-soft:   #6B6053;
  --ink-faint:  #9A9082;
  --line:       rgba(33,30,24,0.14);
  --line-soft:  rgba(33,30,24,0.08);
  --accent:     #A97E4C;   /* bronze / wood trim — tweakable */
  --accent-deep:#8A6537;
  --green:      #25342A;   /* deep tropical band */
  --green-soft: #34473A;
  --jacaranda:  #8C79AE;   /* rare detail */

  /* type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --motion: 1;  /* tweakable multiplier */

  /* layout */
  --pad: clamp(20px, 5vw, 90px);
  --maxw: 1400px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 350;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
img.img-failed { background: var(--paper-2); min-height: 100%; opacity: 0; }

/* image-bearing wrappers get a paper placeholder so they're never blank-white if an image is slow or fails */
.hero-media, .m-media, .r-media, .loc-media, .amen-card, .loc-gallery .g, .chip-pop, .cta-bg {
  background: var(--paper-2);
}

::selection { background: var(--accent); color: var(--white); }

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.muted { color: var(--ink-faint); }
.eyebrow .dot { display:inline-block; width:5px; height:5px; border-radius:50%; background: var(--accent); vertical-align: middle; margin: 0 0.7em; transform: translateY(-2px); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; }

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 8.5vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.02em;
}
.h-sec {
  font-size: clamp(34px, 5.4vw, 78px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.015em;
}
.h-sub { font-size: clamp(26px, 3.2vw, 44px); font-weight: 400; line-height: 1.08; }
em.it { font-style: italic; color: var(--accent); font-weight: 400; }

.lede { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.6; color: var(--ink-soft); font-weight: 350; max-width: 56ch; }
p.body { color: var(--ink-soft); max-width: 54ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 18px 30px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  cursor: pointer; text-decoration: none;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
  border-radius: 0;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn.accent:hover { background: transparent; color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arr { transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: background .6s var(--ease), padding .6s var(--ease), box-shadow .6s var(--ease);
}
.nav.solid {
  background: rgba(244,239,230,0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  padding-top: 16px; padding-bottom: 16px;
  box-shadow: 0 1px 0 var(--line-soft);
}
.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; color: inherit; flex: 0 0 auto; }
.brand .word { font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: 0.16em; color: var(--ink); }
.brand .sub  { font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: 0.4em; text-transform: uppercase; color: var(--accent); margin-top: 5px; }
.nav.on-hero .brand .word { color: var(--white); }
.nav.on-hero .brand .sub  { color: rgba(255,255,255,0.85); }

.nav-links { display: flex; gap: clamp(20px, 2.4vw, 38px); align-items: center; white-space: nowrap; }
.nav-links a {
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink); text-decoration: none; position: relative;
  transition: color .4s var(--ease);
}
.nav.on-hero .nav-links a { color: rgba(255,255,255,0.92); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: currentColor; transition: width .4s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-contact { position: relative; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 12px 22px; border: 1px solid currentColor; color: var(--ink);
  background: transparent; cursor: pointer; text-decoration: none; transition: all .45s var(--ease);
}
.nav.on-hero .nav-cta { color: var(--white); }
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.nav-contact.open .nav-cta { background: var(--accent); border-color: var(--accent); color: var(--white); }
.nav-cta .chev { transition: transform .5s var(--ease); }
.nav-contact.open .nav-cta .chev { transform: rotate(180deg); }

/* morphing dropdown */
.nav-menu {
  position: absolute; top: calc(100% + 12px); right: 0; width: 296px;
  background: var(--white); border: 1px solid var(--line); border-radius: 3px;
  box-shadow: 0 28px 64px rgba(20,18,14,0.28);
  transform-origin: top right; transform: scaleY(0.5) translateY(-10px); opacity: 0;
  pointer-events: none; overflow: hidden; z-index: 60;
  transition: transform .55s var(--ease), opacity .4s var(--ease);
}
.nav-contact.open .nav-menu { transform: none; opacity: 1; pointer-events: auto; }
.nav-opt {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; text-decoration: none;
  color: var(--ink); border-bottom: 1px solid var(--line-soft);
  opacity: 0; transform: translateX(12px);
  transition: opacity .4s var(--ease), transform .45s var(--ease), background .3s var(--ease);
}
.nav-opt:last-child { border-bottom: none; }
.nav-contact.open .nav-opt { opacity: 1; transform: none; }
.nav-contact.open .nav-menu .nav-opt:nth-child(1) { transition-delay: .12s, .12s, 0s; }
.nav-contact.open .nav-menu .nav-opt:nth-child(2) { transition-delay: .19s, .19s, 0s; }
.nav-contact.open .nav-menu .nav-opt:nth-child(3) { transition-delay: .26s, .26s, 0s; }
.nav-opt:hover { background: var(--paper); }
.nav-opt .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; flex: 0 0 auto; transition: background .3s var(--ease); }
.nav-opt:hover .ic { background: var(--accent); }
.nav-opt:hover .ic svg { stroke: #fff; }
.nav-opt .ic svg { width: 17px; height: 17px; stroke: var(--ink); fill: none; stroke-width: 1.6; transition: stroke .3s var(--ease); }
.nav-opt .tx { display: flex; flex-direction: column; gap: 2px; }
.nav-opt .tx .t1 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.nav-opt .tx .t2 { font-size: 13px; color: var(--ink-soft); }
.nav-burger { display: none; }

/* nav side group (lang + contact) */
.nav-side { display: flex; align-items: center; gap: 12px; }

/* language switcher */
.nav-lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 12px 14px; border: 1px solid currentColor; color: var(--ink);
  background: transparent; cursor: pointer; transition: all .45s var(--ease);
}
.nav.on-hero .lang-btn { color: var(--white); }
.lang-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.nav-lang.open .lang-btn { background: var(--accent); border-color: var(--accent); color: var(--white); }
.lang-btn .chev { transition: transform .5s var(--ease); }
.nav-lang.open .lang-btn .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute; top: calc(100% + 12px); right: 0; min-width: 172px;
  background: var(--white); border: 1px solid var(--line); border-radius: 3px;
  box-shadow: 0 24px 50px rgba(20,18,14,0.22);
  transform-origin: top right; transform: scaleY(0.5) translateY(-8px); opacity: 0;
  pointer-events: none; overflow: hidden; z-index: 65;
  transition: transform .45s var(--ease), opacity .35s var(--ease);
}
.nav-lang.open .lang-menu { transform: none; opacity: 1; pointer-events: auto; }
.lang-opt {
  display: flex; align-items: center; gap: 12px; padding: 11px 16px; width: 100%;
  font-family: var(--sans); background: transparent; border: none;
  border-bottom: 1px solid var(--line-soft); color: var(--ink); cursor: pointer; text-align: left;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.lang-opt:last-child { border-bottom: none; }
.lang-opt:hover { background: var(--paper); }
.lang-opt.active { background: var(--paper); }
.lang-opt.active .lc { color: var(--accent); }
.lang-opt .lc { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); min-width: 22px; }
.lang-opt .ln { font-size: 13px; font-weight: 500; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.hero-media { position: absolute; inset: -8% 0 0 0; height: 116%; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 14s var(--ease-soft) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,18,14,0.42) 0%, rgba(20,18,14,0.06) 30%, rgba(20,18,14,0.30) 60%, rgba(20,18,14,0.82) 100%);
  z-index: 1;
}
.hero-inner {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad) clamp(48px, 7vh, 92px);
}
.hero-eyebrow { color: rgba(255,255,255,0.92); margin-bottom: 26px; }
.hero-eyebrow .dot { background: var(--white); }
.hero h1 { color: var(--white); max-width: 16ch; text-shadow: 0 2px 50px rgba(12,10,7,0.5); }
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span { display: block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero.ready h1 .ln > span { transform: translateY(0); }
.hero h1 .ln:nth-child(2) > span { transition-delay: .12s; }
.hero h1 .ln:nth-child(3) > span { transition-delay: .24s; }
.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 30px;
  margin-top: 38px; flex-wrap: wrap;
}
.hero-sub { color: rgba(255,255,255,0.9); font-size: clamp(16px,1.5vw,20px); max-width: 40ch; line-height: 1.55; font-weight: 350; opacity: 0; transform: translateY(20px); transition: all 1s var(--ease) .5s; }
.hero.ready .hero-sub { opacity: 1; transform: none; }
.hero-scroll { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.8); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; opacity: 0; transition: opacity 1s ease .9s; }
.hero.ready .hero-scroll { opacity: 1; }
.hero-scroll .line { width: 46px; height: 1px; background: rgba(255,255,255,0.5); position: relative; overflow: hidden; }
.hero-scroll .line::after { content:""; position:absolute; left:-46px; top:0; width:46px; height:100%; background: var(--white); animation: scrollLine 2.4s var(--ease-soft) infinite; }
@keyframes scrollLine { 0%{transform:translateX(0)} 60%,100%{transform:translateX(92px)} }

.hero-badges { position:absolute; top:0; right:0; z-index:2; display:none; }

/* ---------- cover mode: a self-branded campaign image stands on its own ---------- */
.hero.cover .hero-media { inset: 0; height: 100%; }   /* flush — no parallax offset, so her head isn't clipped */
.hero.cover .hero-media img { animation: none; object-fit: cover; }
.hero.cover .hero-eyebrow,
.hero.cover h1.display { display: none; }          /* image already carries the wordmark + statement */
.hero.cover::after {
  background: linear-gradient(to bottom,
    rgba(8,8,8,0.46) 0%,
    rgba(8,8,8,0.10) 16%,
    rgba(8,8,8,0) 34%,
    rgba(8,8,8,0) 72%,
    rgba(8,8,8,0.42) 100%);                          /* top scrim for nav, soft base for the scroll cue */
}
.hero.cover .hero-foot { margin-top: 0; }

/* wide / landscape: anchor high so her head stays in frame, slightly left so the
   wordmark is preserved (the baked left-edge strip is already cropped from the source file) */
@media (min-width: 901px) {
  .hero.cover .hero-media img { object-position: 45% 7%; }
}

/* portrait: centre the model */
@media (max-width: 900px) {
  .hero.cover .hero-media img { object-position: 58% center; }
}

/* ============================================================
   GENERIC SECTION
   ============================================================ */
section { position: relative; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.pad-y { padding-top: clamp(90px, 13vh, 180px); padding-bottom: clamp(90px, 13vh, 180px); }

/* reveal */
.reveal { opacity: 0; transform: translateY(calc(26px * var(--motion))); transition: opacity .9s var(--ease), transform 1s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

.clip { clip-path: inset(0 0 100% 0); transition: clip-path 1.15s var(--ease); will-change: clip-path; }
.clip.in { clip-path: inset(0 0 0 0); }

/* ---------- INTRO / MANIFESTO ---------- */
.intro { background: var(--paper); text-align: center; }
.intro .wrap { max-width: 1180px; }
.intro .h-sub { margin: 0 auto; max-width: 22ch; }
.intro .kicker { margin-bottom: 40px; }
.intro .manifesto { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.16; letter-spacing: -0.01em; max-width: 19ch; margin: 0 auto; }
.intro .manifesto .muted { color: var(--ink-faint); }
.intro .meta-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 8vh, 100px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.intro .meta-row .item { text-align: center; padding: clamp(28px,4vh,46px) 18px; position: relative; }
.intro .meta-row .item + .item::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.intro .meta-row .item .n { font-family: var(--serif); font-weight: 300; font-size: clamp(36px,4.4vw,60px); color: var(--ink); display: block; line-height: 1; letter-spacing: -0.015em; transition: color .45s var(--ease); }
.intro .meta-row .item .n .aff { color: var(--accent); font-size: 0.52em; vertical-align: 0.05em; margin: 0 0.03em; letter-spacing: 0; }
.intro .meta-row .item:hover .n { color: var(--accent); }
.intro .meta-row .item .l { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-top: 16px; display: block; }
@media (max-width: 760px) {
  .intro .meta-row { grid-template-columns: 1fr 1fr; }
  .intro .meta-row .item + .item::before { display: none; }
  .intro .meta-row .item:nth-child(1), .intro .meta-row .item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .intro .meta-row .item:nth-child(odd) { border-right: 1px solid var(--line); }
}

/* ---------- MARQUEE ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--paper); }
.marquee-track { display: flex; gap: 0; white-space: nowrap; width: max-content; animation: marq 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--serif); font-size: clamp(26px,3vw,42px); font-weight: 300; font-style: italic; color: var(--ink); padding: 0 36px; }
.marquee-track span::after { content: "·"; color: var(--accent); font-style: normal; margin-left: 72px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- MODEL (own/stay/earn) ---------- */
.model { background: var(--white); }
.model .head { max-width: 760px; margin-bottom: clamp(50px,7vh,96px); }
.movement { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,96px); align-items: center; padding: clamp(40px,7vh,90px) 0; }
.movement:nth-child(even) .m-text { order: 2; }
.movement .m-media { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.movement .m-media img { width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.movement .m-index { font-family: var(--serif); font-size: clamp(60px,9vw,140px); font-weight: 300; color: var(--paper-2); line-height: 0.8; }
.movement .m-text .num { display:flex; align-items:baseline; gap: 16px; margin-bottom: 22px; }
.movement .m-text .num .k { font-family: var(--serif); font-size: 40px; color: var(--accent); font-weight: 300; }
.movement .m-text .num .lab { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.movement .m-text h3 { font-size: clamp(32px,4.4vw,60px); font-weight: 300; margin-bottom: 22px; }
.movement .m-text p { color: var(--ink-soft); max-width: 46ch; font-size: 18px; }

/* ---------- INVESTMENT (dark band) ---------- */
.invest { background: var(--green); color: var(--paper); }
.invest .eyebrow { color: #C9A875; }
.invest .head { max-width: 820px; margin-bottom: clamp(48px,7vh,90px); }
.invest .head h2 { color: var(--white); }
.invest .head .lede { color: rgba(244,239,230,0.74); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(244,239,230,0.16); border: 1px solid rgba(244,239,230,0.16); }
.stat { background: var(--green); padding: 44px 34px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; transition: background .6s var(--ease); }
.stat:hover { background: var(--green-soft); }
.stat .v { font-family: var(--serif); font-weight: 300; font-size: clamp(40px,4.4vw,64px); line-height: 0.95; color: var(--white); }
.stat .v .pre { font-size: 0.5em; color: #C9A875; vertical-align: super; }
.stat .v .suf { font-size: 0.42em; color: #C9A875; letter-spacing: 0.04em; }
.stat .t { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244,239,230,0.66); font-weight: 600; }
.stat .d { font-size: 15px; color: rgba(244,239,230,0.6); line-height: 1.5; margin-top: 10px; }
.invest-foot { display:flex; gap: 14px; flex-wrap: wrap; margin-top: 48px; align-items:center; }
.pill { display:inline-flex; align-items:center; gap:10px; border:1px solid rgba(244,239,230,0.28); padding: 12px 20px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: rgba(244,239,230,0.9); border-radius: 100px; }
.pill .d { width:6px; height:6px; border-radius:50%; background:#C9A875; }

/* ---------- AMENITIES ---------- */
.amen { background: var(--paper); }
.amen .head { display:flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(40px,6vh,72px); flex-wrap: wrap; }
.amen .head .h-sec { max-width: 14ch; }
.amen-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px,1.6vw,22px); }
.amen-card { position: relative; overflow: hidden; }
.amen-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.amen-card:hover img { transform: scale(1.06); }
.amen-card .cap { position: absolute; left: 0; bottom: 0; right: 0; padding: 30px; z-index: 2; }
.amen-card::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(10,8,6,0.88) 0%, rgba(10,8,6,0.7) 28%, rgba(10,8,6,0.35) 55%, rgba(10,8,6,0.08) 78%, transparent 100%); z-index: 1; transition: opacity .6s; }
.amen-card .cap .lab { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; color: #E6CBA1; text-shadow: 0 1px 10px rgba(0,0,0,0.55); }
.amen-card .cap h3 { color: var(--white); font-size: clamp(24px,2.3vw,34px); font-weight: 400; margin-top: 8px; text-shadow: 0 2px 22px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.45); }
.amen-card .cap p { color: rgba(255,255,255,0.88); font-size: 15px; margin-top: 8px; max-width: 38ch; opacity: 0; max-height: 0; overflow: hidden; text-shadow: 0 1px 12px rgba(0,0,0,0.5); transition: opacity .5s var(--ease), max-height .5s var(--ease), margin .5s; }
.amen-card:hover .cap p { opacity: 1; max-height: 100px; }
.c-big   { grid-column: span 8; aspect-ratio: 16/10; }
.c-tall  { grid-column: span 4; }
.c-third { grid-column: span 4; aspect-ratio: 4/3.4; }
.c-wide  { grid-column: span 6; aspect-ratio: 16/9.5; }

/* ---------- RESIDENCES ---------- */
.resid { background: var(--white); overflow: hidden; }
.resid .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px,6vw,90px); align-items: center; }
.resid .r-media { position: relative; overflow: hidden; aspect-ratio: 3/2.2; }
.resid .r-media img { width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.resid .r-text h2 { margin-bottom: 26px; }
.resid .r-text .lede { margin-bottom: 36px; }
.resid .feat { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; border-top: 1px solid var(--line); padding-top: 36px; }
.resid .feat .f .ic { width: 30px; height: 30px; display: flex; align-items: center; margin-bottom: 12px; }
.resid .feat .f .ic svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.resid .feat .f h4 { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0.04em; margin: 8px 0 4px; }
.resid .feat .f p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.star-badge { display:inline-flex; align-items:center; gap: 8px; margin-bottom: 24px; }
.star-badge .stars { color: var(--accent); letter-spacing: 3px; font-size: 15px; }
.star-badge .lbl { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); }

/* ---------- LOCATION ---------- */
.loc { background: var(--paper); }
.loc .head { max-width: 820px; margin-bottom: clamp(46px,6vh,80px); }
.loc-grid { display:grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px,5vw,72px); align-items:center; }
.loc-stats { display: flex; flex-direction: column; }
.loc-stat { background: none; padding: clamp(30px,4.5vh,46px) 0; border-bottom: 1px solid var(--line); }
.loc-stat:first-child { border-top: 1px solid var(--line); }
.loc-stat .v { font-family: var(--serif); font-size: clamp(58px,7.5vw,104px); font-weight: 300; color: var(--ink); line-height: 0.92; letter-spacing: -0.02em; }
.loc-stat .v .suf { font-size: 0.34em; color: var(--accent); letter-spacing: 0; }
.loc-stat .t { font-size: 16px; color: var(--ink-soft); margin-top: 18px; line-height: 1.5; max-width: 36ch; }
.loc-media { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.loc-media img { width:100%; height: 112%; object-fit: cover; will-change: transform; }
.loc-near { margin-top: 30px; display:flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 30; }
.loc-near .chip-wrap { position: relative; display: inline-flex; }
.loc-near .chip-wrap.open { z-index: 2; }
.loc-near .chip { font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); background: transparent; border: 1px solid var(--line); padding: 9px 16px; border-radius: 100px; cursor: pointer; transition: color .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
.loc-near .chip:hover { color: var(--white); background: var(--accent); border-color: var(--accent); box-shadow: 0 6px 18px rgba(169,126,76,0.28); transform: translateY(-1px); }
.loc-near .chip-wrap.open .chip { color: var(--white); background: var(--accent); border-color: var(--accent); box-shadow: 0 6px 18px rgba(169,126,76,0.28); }

/* chip popover — emerges from the pill on click */
.chip-pop { position: absolute; top: calc(100% + 14px); left: calc(50% + var(--shift, 0px)); width: 300px; max-width: calc(100vw - 32px); background: var(--white); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 28px 60px rgba(20,18,14,0.24); overflow: hidden; text-align: left; opacity: 0; pointer-events: none; transform: translate(-50%, -10px) scale(0.94); transform-origin: top center; transition: opacity .35s var(--ease), transform .42s var(--ease); z-index: 50; }
.chip-wrap.open .chip-pop { opacity: 1; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.chip-pop::before { content: ""; position: absolute; top: -6px; left: calc(50% - var(--shift, 0px)); transform: translateX(-50%) rotate(45deg); width: 11px; height: 11px; background: var(--white); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.chip-pop img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; transition: none; }
.chip-pop .body { padding: 16px 20px 20px; }
.chip-pop .ttl { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--ink); letter-spacing: -0.005em; line-height: 1.15; text-transform: none; }
.chip-pop .dsc { display: block; font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin-top: 8px; font-weight: 400; letter-spacing: 0.005em; text-transform: none; }
@media (max-width: 600px) { .chip-pop { width: 260px; } }

/* ---------- TIMELINE ---------- */
.tl { background: var(--green); color: var(--paper); }
.tl .head { max-width: 720px; margin-bottom: clamp(46px,6vh,84px); }
.tl .head h2 { color: var(--white); }
.tl .head .lede { color: rgba(244,239,230,0.72); }
.tl-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(244,239,230,0.2); }
.tl-step { padding: 40px 30px 0; position: relative; }
.tl-step::before { content:""; position:absolute; top:-6px; left:0; width:11px; height:11px; border-radius:50%; background: #C9A875; }
.tl-step .ph { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #C9A875; font-weight: 700; }
.tl-step .dt { font-family: var(--serif); font-size: clamp(30px,3.4vw,46px); font-weight: 300; color: var(--white); margin: 14px 0 12px; }
.tl-step p { font-size: 15px; color: rgba(244,239,230,0.66); max-width: 30ch; line-height: 1.55; }
.tl-step.active::before { box-shadow: 0 0 0 6px rgba(201,168,117,0.18); }

/* ---------- DEVELOPER ---------- */
.dev { background: var(--white); }
.dev .wrap { max-width: 1100px; text-align: center; }
.dev .quote { font-family: var(--serif); font-weight: 300; font-size: clamp(26px,3.6vw,50px); line-height: 1.22; letter-spacing: -0.01em; max-width: 24ch; margin: 0 auto 50px; }
.dev .quote .it { font-style: italic; color: var(--accent); }
.dev .badges { display:flex; justify-content:center; gap: clamp(30px,6vw,80px); flex-wrap: wrap; align-items:center; }
.dev .badge { text-align:center; }
.dev .badge .nm { font-family: var(--serif); font-size: clamp(22px,2.4vw,30px); color: var(--ink); }
.dev .badge .rl { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; margin-top: 6px; }
.dev .divider { width:1px; height:46px; background: var(--line); }

/* ---------- CONTACT / CTA ---------- */
.cta { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.cta-bg { position:absolute; inset:0; z-index:0; }
.cta-bg img { width:100%; height:100%; object-fit:cover; opacity: 0.32; will-change: transform; }
.cta::after { content:""; position:absolute; inset:0; background: linear-gradient(to right, rgba(20,18,14,0.86), rgba(20,18,14,0.5)); z-index:1; }
.cta .wrap { position: relative; z-index: 2; }
.cta .eyebrow { color: #E6CBA1; }
.cta h2 { color: var(--white); max-width: 16ch; margin: 26px 0 28px; }
.cta .lede { color: rgba(244,239,230,0.8); margin-bottom: 46px; }
.cta .release { margin-top: 26px; font-size: 13px; letter-spacing: 0.04em; color: rgba(244,239,230,0.6); }
.cta .release b { color: #E6CBA1; font-weight: 700; }

/* contact reveal — staggered option cards (in-flow, never clipped) */
.contact-zone { display: block; position: relative; }
.contact-main {
  display:inline-flex; align-items:center; gap: 14px;
  background: var(--accent); color: var(--white); border: 1px solid var(--accent);
  padding: 20px 34px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: background .4s var(--ease);
}
.contact-main:hover { background: var(--accent-deep); }
.contact-main .chev { transition: transform .5s var(--ease); }
.contact-zone.open .contact-main .chev, .contact-zone:hover .contact-main .chev { transform: rotate(180deg); }

.contact-menu {
  display: flex; gap: 14px; flex-wrap: wrap; max-width: 760px;
  max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; pointer-events: none;
  transition: max-height .6s var(--ease), opacity .45s var(--ease), margin-top .6s var(--ease);
}
.contact-zone.open .contact-menu, .contact-zone:hover .contact-menu {
  max-height: 720px; opacity: 1; margin-top: 18px; pointer-events: auto;
}
.contact-opt {
  flex: 1 1 200px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  padding: 24px 24px 22px; text-decoration: none; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 2px;
  opacity: 0; transform: translateY(22px);
  transition: opacity .55s var(--ease), transform .65s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.contact-zone.open .contact-opt, .contact-zone:hover .contact-opt { opacity: 1; transform: none; }
/* staggered entrance (delay only on opacity+transform, not on hover colours) */
.contact-zone.open .contact-menu .contact-opt:nth-child(1), .contact-zone:hover .contact-menu .contact-opt:nth-child(1) { transition-delay: .12s, .12s, 0s, 0s; }
.contact-zone.open .contact-menu .contact-opt:nth-child(2), .contact-zone:hover .contact-menu .contact-opt:nth-child(2) { transition-delay: .20s, .20s, 0s, 0s; }
.contact-zone.open .contact-menu .contact-opt:nth-child(3), .contact-zone:hover .contact-menu .contact-opt:nth-child(3) { transition-delay: .28s, .28s, 0s, 0s; }
.contact-opt:hover { background: var(--paper); border-color: var(--accent); }
.contact-opt .ic { width: 46px; height: 46px; border-radius: 50%; display:grid; place-items:center; background: var(--paper); flex: 0 0 auto; transition: background .35s var(--ease); }
.contact-opt:hover .ic { background: var(--accent); }
.contact-opt:hover .ic svg { stroke: var(--white); }
.contact-opt .ic svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.6; transition: stroke .35s var(--ease); }
.contact-opt .tx { display: flex; flex-direction: column; gap: 4px; }
.contact-opt .tx .t1 { font-size: 15px; font-weight: 700; letter-spacing: 0.03em; }
.contact-opt .tx .t2 { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 600px) { .contact-menu { flex-direction: column; } }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: rgba(244,239,230,0.7); padding: 70px var(--pad) 40px; border-top: 1px solid rgba(244,239,230,0.12); }
.footer-top { display:flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 50px; border-bottom: 1px solid rgba(244,239,230,0.12); }
.footer .brand .word { color: var(--white); }
.footer-cols { display:flex; gap: clamp(40px,7vw,100px); flex-wrap: wrap; }
.footer-col h5 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #C9A875; font-weight: 700; margin-bottom: 18px; }
.footer-col a, .footer-col p { display:block; color: rgba(244,239,230,0.7); text-decoration: none; font-size: 15px; margin-bottom: 11px; transition: color .35s; }
.footer-col a:hover { color: var(--white); }
.footer-bot { display:flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 12px; letter-spacing: 0.04em; color: rgba(244,239,230,0.5); }
.footer-bot .legal { max-width: 60ch; line-height: 1.6; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 30px 50px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(244,239,230,0.12); }
.footer-contact { display: flex; gap: clamp(20px,3vw,40px); flex-wrap: wrap; }
.footer-contact a { color: rgba(244,239,230,0.78); text-decoration: none; font-size: 15px; letter-spacing: 0.02em; transition: color .35s var(--ease); }
.footer-contact a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .amen-grid { grid-template-columns: repeat(6, 1fr); }
  .c-big, .c-wide { grid-column: span 6; }
  .c-tall, .c-third { grid-column: span 3; }
  .c-tall { aspect-ratio: 4/4.6; }
}
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-side { display: none; }
  .nav-contact { display: none; }
  .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; z-index: 110; position: relative; }
  .nav-burger span { width: 26px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s var(--ease), background .4s; transform-origin: center; }
  .nav.on-hero .nav-burger span { background: var(--white); }
  .nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav.solid .nav-burger span, .nav-burger.open span { background: var(--ink); }
}

/* mobile menu overlay */
.mobile-menu { display: none; }
@media (max-width: 1000px) {
  .mobile-menu {
    display: flex;
    position: fixed; inset: 0;
    flex-direction: column;
    gap: 26px;
    padding: 96px var(--pad) 36px;
    background: var(--paper);
    z-index: 90;          /* below nav so the burger-X stays visible */
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .5s var(--ease), opacity .35s var(--ease);
  }
  .mobile-menu.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  /* when menu open: give nav a solid background and reset on-hero logo/burger colors */
  body.menu-open .nav {
    background: var(--paper);
    box-shadow: 0 1px 0 var(--line-soft);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body.menu-open .nav.on-hero .brand-logo { filter: none; }
  body.menu-open .nav.on-hero .nav-burger span { background: var(--ink); }
}
body.menu-open { overflow: hidden; }

.m-links { display: flex; flex-direction: column; }
.m-links a {
  font-family: var(--serif);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color .35s var(--ease), padding-left .4s var(--ease);
}
.m-links a:hover, .m-links a:focus { color: var(--accent); padding-left: 6px; }

.m-langs { display: flex; gap: 8px; }
.m-langs .lang-opt {
  flex: 1; width: auto;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 8px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  border-bottom: 1px solid var(--line);  /* override .lang-opt border-bottom from desktop */
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.m-langs .lang-opt:hover { border-color: var(--accent); background: transparent; }
.m-langs .lang-opt.active { background: var(--accent); border-color: var(--accent); }
.m-langs .lang-opt.active .lc, .m-langs .lang-opt.active .ln { color: var(--white); }
.m-langs .lang-opt .lc { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); min-width: 0; }
.m-langs .lang-opt .ln { font-size: 13px; color: var(--ink); font-weight: 500; }

.m-contacts {
  display: flex; flex-direction: column;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.m-contact {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s var(--ease);
}
.m-contact:last-child { border-bottom: none; }
.m-contact .ic {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper-2); display: grid; place-items: center;
  flex: 0 0 auto;
  transition: background .35s var(--ease);
}
.m-contact:hover .ic { background: var(--accent); }
.m-contact:hover .ic svg { stroke: #fff; }
.m-contact .ic svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.5; transition: stroke .35s var(--ease); }
.m-contact .tx { display: flex; flex-direction: column; gap: 3px; }
.m-contact .tx .t1 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.m-contact .tx .t2 { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
  .nav-burger span { width: 26px; height: 1.5px; background: var(--ink); transition: background .4s; }
  .nav.on-hero .nav-burger span { background: var(--white); }
  .movement { grid-template-columns: 1fr; gap: 30px; }
  .movement:nth-child(even) .m-text { order: 0; }
  .movement .m-media { aspect-ratio: 4/3.4; }
  .resid .grid, .loc-grid { grid-template-columns: 1fr; }
  .resid .r-media { order: -1; aspect-ratio: 4/3; }
  .tl-track { grid-template-columns: 1fr; }
  .tl-step { padding: 30px 0 0; border-top: 1px solid rgba(244,239,230,0.16); margin-top: 24px; }
  .tl-step::before { display:none; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat { min-height: auto; }
  .amen-grid { grid-template-columns: 1fr; }
  .c-big, .c-wide, .c-tall, .c-third { grid-column: span 1; aspect-ratio: 4/3; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 0.2em; }
  .footer-top { flex-direction: column; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal, .clip { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- logo ---------- */
.brand-logo { height: 34px; width: auto; display: block; transition: filter .5s var(--ease); }
.nav.on-hero .brand-logo { filter: brightness(0) invert(1); }
.footer .brand-logo { height: 38px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer .brand { flex: 0 0 auto; }

/* ---------- location surroundings ---------- */
.loc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px,1.5vw,20px); margin-top: clamp(40px,6vh,76px); }
.loc-gallery .g { position: relative; overflow: hidden; aspect-ratio: 4/3.2; }
.loc-gallery .g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--ease); }
.loc-gallery .g:hover img { transform: scale(1.06); }
.loc-gallery .g::after { content:""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,13,10,0.62), transparent 55%); }
.loc-gallery .g .cap { position: absolute; left: 0; bottom: 0; padding: 24px; z-index: 2; }
.loc-gallery .g .cap .lab { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; color: #E6CBA1; }
.loc-gallery .g .cap h4 { font-family: var(--serif); color: #fff; font-size: clamp(20px,1.9vw,28px); font-weight: 400; margin-top: 5px; }

/* ---------- developer lockup ---------- */
.dev-lockup { width: min(560px, 70%); margin: 0 auto 46px; display: block; }

@media (max-width: 760px) {
  .brand-logo { height: 28px; }
  .loc-gallery { grid-template-columns: 1fr; }
  .dev-lockup { width: 88%; }
}

/* ============================================================
   LUXURY MOTION DETAILS
   ============================================================ */

/* scroll-progress hairline */
.scroll-prog { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 120;
  background: linear-gradient(to right, var(--accent-deep), var(--accent));
  box-shadow: 0 0 10px rgba(169,126,76,0.5); transition: width .12s linear; }

/* film grain — tactile texture */
.grain { position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .055;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px; }

/* drawn tick beneath eyebrows */
.draw-line { display: block; height: 1px; width: 0; background: var(--accent);
  margin: 18px 0 26px; transition: width 1.2s var(--ease) .15s; }
.draw-line.in { width: clamp(54px, 7vw, 104px); }
.intro .draw-line { margin-left: auto; margin-right: auto; }
.invest .draw-line, .tl .draw-line { background: #C9A875; }
.cta .draw-line { background: #E6CBA1; }

/* model — vertical scroll-thread that builds as you scroll */
.movements { position: relative; padding-left: clamp(0px, 4.5vw, 84px); }
.scroll-thread { position: absolute; left: clamp(0px, 2.2vw, 40px); top: 10px; bottom: 10px;
  width: 1px; background: var(--line); }
.scroll-thread .thread-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--accent) 25%, transparent), var(--accent)); }
.scroll-thread .thread-fill::after { content: ""; position: absolute; bottom: -3px; left: -2.5px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(169,126,76,0.14), 0 0 14px rgba(169,126,76,0.6); }

/* timeline — connector line that draws across */
.tl-line { position: absolute; top: -1px; left: 0; height: 2px; width: 0;
  background: #C9A875; box-shadow: 0 0 12px rgba(201,168,117,0.5); z-index: 1; }
.tl-track { position: relative; }

@media (max-width: 760px) {
  .movements { padding-left: 0; }
  .scroll-thread, .tl-line { display: none; }
}

/* touch devices: no hover, so reveal amenity descriptions by default */
@media (hover: none) {
  .amen-card .cap p { opacity: 1; max-height: 140px; }
}

/* ============================================================
   WHATSAPP FAB — on-brand floating button (bronze, white glyph)
   ============================================================ */
.wa-fab {
  position: fixed;
  bottom: clamp(18px, 3vw, 28px);
  right: clamp(18px, 3vw, 28px);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(20,18,14,0.28), 0 4px 10px rgba(20,18,14,0.18);
  z-index: 80;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  animation: wa-pop-in 0.7s var(--ease) 1.4s forwards;
  transition: background 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.wa-fab:hover, .wa-fab:focus-visible {
  background: var(--accent-deep);
  transform: translateY(0) scale(1.06);
  box-shadow: 0 18px 40px rgba(138,101,55,0.4), 0 6px 14px rgba(20,18,14,0.2);
}
.wa-fab:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.wa-fab .wa-icon { width: 30px; height: 30px; position: relative; z-index: 2; }

/* gentle halo pulse — draws the eye without nagging */
.wa-fab .wa-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0;
  pointer-events: none;
  animation: wa-pulse 2.8s var(--ease-soft) 3s infinite;
}

@keyframes wa-pop-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes wa-pulse {
  0%   { transform: scale(0.95); opacity: 0.55; }
  80%  { opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

@media (max-width: 760px) {
  .wa-fab { width: 54px; height: 54px; }
  .wa-fab .wa-icon { width: 28px; height: 28px; }
}

/* hide behind / under the mobile menu when it's open (menu z-index 90 already covers, but make sure pulse stops) */
body.menu-open .wa-fab .wa-halo { animation: none; }

/* respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .wa-fab { opacity: 1; transform: none; animation: none; }
  .wa-fab .wa-halo { animation: none; display: none; }
}
