﻿/* =========================================================
   21st Castle - Novelle Boulevard
   Home page
   ========================================================= */

:root{
  /* --- layout ---
     Every page-level container caps at this instead of carrying its own
     number, so the site runs near full-bleed: on any ordinary monitor the
     cap never bites and the section's own horizontal padding is the only
     gutter. The value is a guard for ultrawide displays, where an
     uncapped grid would stretch past reading. Change it here, once. */
  --wrap-max:2200px;

  /* --- palette --- */
  --cream-1:#F6EFE7;      /* sampled from the hero plate's own left edge */
  --cream-2:#F1E9DF;
  /* all sampled off the reference render */
  --gold:#966F3A;         /* tagline, active nav, active rail, icons */
  --gold-line:#C3A67F;    /* the short rule + explore arrow */
  --gold-soft:#C9A87C;
  --ink:#2C2D2E;          /* headline */
  --ink-2:#2F2F31;        /* nav, feature labels, explore text */
  --muted:#C4BDB4;        /* inactive rail numbers */
  --hairline:#D8CDBE;

  /* --- about section (sampled off refernce/about.png) --- */
  --ab-bg:#F5F0E9;
  --ab-card:#F8F4EE;
  --ab-line:#EAE1D4;
  --ab-img:#F0EBE4;
  --ab-img-line:#EBE3DB;
  --ab-gold:#AE8942;
  --ab-green:#26402A;     /* pillar titles — same deep green as the layout band */
  --ab-ink:#2E2D29;
  --ab-body:#5C564D;
  --ab-muted:#BCB2A4;

  /* --- gallery section (dark) --- */
  --gl-bg:#1A1A1A;
  --gl-ink:#EFEAE2;
  --gl-body:#9C968D;
  --gl-gold:#C4A063;
  --gl-gold-2:#C9A469;
  --gl-gold-3:#A98A55;

  /* --- amenities section --- */
  --am-bg:#F6F0E6;
  --am-ink:#33322E;
  --am-body:#5F594F;
  --am-body-2:#4A453C;
  --am-line:#E6DCC9;
  --am-gold:#A87C3A;
  --am-gold-2:#B08843;
  --am-gold-3:#BC9E6B;

  /* --- floor plans section --- */
  --pl-bg:#1E3320;
  --pl-panel:#26402A;
  --pl-panel-line:#37543C;
  --pl-card:#FDFBF7;
  --pl-card-line:#EFE7DA;
  --pl-card-line-2:#DFD1B8;
  --pl-soon:#2C4A31;
  --pl-ink:#F1EEE4;
  --pl-ink-2:#3E3B34;
  --pl-body:#B7C1B2;
  --pl-gold:#C9A86A;
  --pl-gold-2:#D2B278;
  --pl-gold-3:#A98A55;
  --pl-gold-4:#A9803F;
  --pl-gold-5:#A6793B;
  --pl-orange:#FD7715;                   /* the 2 BHK blocks on the master plan */
  --pl-orange-2:#E0640C;                 /* the same orange, deepened for text on cream */
  --pl-green:#4A7A4E;
  --pl-green-2:#5C8F60;
  --pl-dot:#40603F;
  --pl-pad:clamp(14px,1.6vw,24px);       /* inner side padding of a plan row */

  /* --- contact section --- */
  --ct-bg:#F7EEE4;
  --ct-card:#FFFFFF;      /* contact panels: white tiles on the cream section */
  --ct-line:#EDE2D2;
  --ct-input:#F9F3EA;
  --ct-input-line:#E7DAC7;
  --ct-ink:#33322E;
  --ct-ink-2:#3E3B34;
  --ct-body:#5F594F;
  --ct-gold:#A9803F;
  --ct-gold-2:#A57B43;
  --ct-gold-3:#C2A671;
  --ct-btn:#A9844E;

  /* --- shared deep-forest-green dark scale ---------------------------
     Grown out of the #2F4A2B already used on the 3 BHK ribbon. Used by
     the stats strip, the floor-plans section and the footer.           */
  --dk:#1E3320;          /* section background            */
  --dk-2:#16261A;        /* deeper: footer base bar       */
  --dk-soft:#26402A;     /* raised surfaces on dark       */
  --dk-line:#37543C;     /* hairlines on dark             */
  --dk-ink:#F1EEE4;      /* headings on dark              */
  --dk-body:#B7C1B2;     /* body copy on dark             */
  --dk-gold:#C9A86A;     /* gold that holds up on dark    */
  --dk-green:#4A7A4E;    /* mid green for chips/ribbons   */

  /* --- rhythm --- */
  --gutter:clamp(24px, 4.4vw, 60px);
  --content-x:clamp(24px, 9.8vw, 134px);
  --header-h:clamp(80px, 11vh, 122px);
  --feat-col:clamp(86px, 7.83vw, 118px);   /* reference column pitch = 107px @1366 */
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:"Urbanist", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  color:var(--ink);
  background:var(--cream-1);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{ max-width:100%; display:block; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; margin:0; padding:0; }

/* =========================================================
   HEADER
   ========================================================= */

.site-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:50;
  height:var(--header-h);
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  padding:0 clamp(20px,3.2vw,44px);
  transition:box-shadow .35s ease;
}

/* The frosted fill lives on a pseudo-element, NOT on .site-header itself.
   backdrop-filter turns an element into the containing block for any
   position:fixed descendant — with it on the header, the mobile nav drawer
   (a fixed child) was trapped inside the header's 80px-tall box. */
.site-header::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:0;
  transition:opacity .35s ease;
}

/* transparent over the hero, frosted cream glass once you scroll (as in about.png) */
.site-header.is-stuck::before{
  opacity:1;
  background:rgba(247,242,236,.72);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
}
.site-header.is-stuck{ box-shadow:0 6px 22px rgba(122,100,68,.08); }

/* frosted dark bar while the gallery is behind it (as in gallery.png) */
.site-header.is-dark::before{
  opacity:1;
  background:rgba(25,25,25,.62);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
}
.site-header.is-dark{ box-shadow:0 6px 22px rgba(0,0,0,.35); }
.site-header.is-dark .nav__link{ color:#CFC9C0; }
.site-header.is-dark .nav__link:hover,
.site-header.is-dark .nav__link.is-active{ color:var(--gl-gold); }
.site-header.is-dark .nav__link::after{ background:var(--gl-gold); }
.site-header.is-dark .brand__text{ color:var(--gl-gold); }

.brand{ grid-column:1; display:flex; align-items:center; gap:clamp(12px,2.1vw,32px); }

/* the group mark is its own link (out to 21stcastle.com), so it needs to
   collapse to the image the way the bare <img> used to */
.brand__group{ display:flex; align-items:center; flex:none; }

.brand__mark{
  height:clamp(38px,3.6vw,58px);
  width:auto;
  object-fit:contain;
}

/* logo-black.png has extra transparent padding baked into the file,
   so its visible mark reads smaller than logo-white.png at the same
   CSS height — bump it to match the white mark's visual size. */
.brand__mark[src*="logo-black"]{
  height:clamp(50px,4.8vw,76px);
}

/* ---- project lockup: 21st Castle | Novelle Boulevard ----
   Hidden over the hero and unfolded once .is-stuck puts the solid bar in.
   Collapsing max-width (not display) keeps it animatable, and the gold mark
   reads on both the cream and the dark bar, so it never needs to swap. */
.brand__project{
  display:flex;
  align-items:center;
  gap:clamp(10px,1.5vw,22px);
  max-width:0;
  opacity:0;
  overflow:hidden;
  transform:translateX(-8px);
  transition:max-width .55s cubic-bezier(.22,.61,.36,1),
             opacity .38s ease,
             transform .55s cubic-bezier(.22,.61,.36,1);
}
.site-header.is-stuck .brand__project{
  max-width:min(42vw,300px);
  opacity:1;
  transform:none;
}

.brand__divider{
  flex:none;
  width:1px;
  height:clamp(22px,2.3vw,34px);
  background:var(--hairline);
}
.site-header.is-dark .brand__divider{ background:rgba(255,255,255,.3); }

/* The lockup is chevron + wordmark, so the words sit in the lower ~64% of
   the file. Height is raised accordingly to keep BOULEVARD reading at the
   same size the old words-only mark did. */
.brand__project img{
  display:block;
  height:clamp(34px,3.2vw,50px);
  width:auto;
  object-fit:contain;
}

@media (prefers-reduced-motion:reduce){
  .brand__project{ transition:none; }
}

.brand__text{
  font-size:clamp(13px,1.15vw,17px);
  font-weight:500;
  letter-spacing:.1911em;
  text-transform:uppercase;
  color:var(--ab-gold);
  white-space:nowrap;
}

/* --- primary nav --- */
.nav{
  grid-column:2;
  display:flex;
  align-items:center;
  justify-self:center;
  gap:clamp(18px,3.59vw,54px);
}

.nav__link{
  position:relative;
  font-size:clamp(10px,.941vw,13px);
  font-weight:400;
  letter-spacing:-.03em;
  text-transform:uppercase;
  color:var(--ink-2);
  padding:10px 0;
  transition:color .25s ease;
}

/* the active item's rule sits on the header's bottom edge */
.nav__link::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:calc(-1 * (var(--header-h) / 2 - 22px));
  width:0; height:2px;
  background:var(--ab-gold);
  transform:translateX(-50%);
  transition:width .3s ease;
}

.nav__link:hover{ color:var(--ab-gold); }
.nav__link:hover::after{ width:100%; }

.nav__link.is-active{ color:var(--ab-gold); }
.nav__link.is-active::after{ width:100%; }

/* --- contact number, top right ---
   Shares column 3 with the burger; the burger is hidden on desktop, so the
   number has the corner to itself there. */
.hdr-call{
  grid-column:3;
  grid-row:1;
  justify-self:end;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:clamp(11px,.98vw,14px);
  font-weight:500;
  letter-spacing:.02em;
  color:var(--ink-2);
  white-space:nowrap;
  transition:color .25s ease;
}
.hdr-call svg{
  width:clamp(24px,1.9vw,28px);
  height:clamp(24px,1.9vw,28px);
  padding:clamp(5.5px,.45vw,6.5px);
  border-radius:50%;
  background:var(--ab-gold);
  color:#FFFDF8;
  box-shadow:0 4px 14px rgba(140,108,54,.28);
  transition:transform .25s ease;
}
.hdr-call:hover{ color:var(--ab-gold); }
.hdr-call:hover svg{ transform:translateY(-1px); }
.site-header.is-dark .hdr-call{ color:#CFC9C0; }
.site-header.is-dark .hdr-call:hover{ color:var(--gl-gold); }

/* --- round gold menu button ---
   Only meaningful once the nav collapses into a drawer (≤860px); on
   desktop the full nav bar is already visible, so the button is hidden
   here and switched back on inside that breakpoint below. */
.burger{
  grid-column:3;          /* stays hard right even when the nav is a drawer */
  justify-self:end;
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  width:clamp(38px,3.15vw,50px);
  height:clamp(38px,3.15vw,50px);
  border-radius:50%;
  background:var(--ab-gold);
  box-shadow:0 4px 14px rgba(140,108,54,.28);
  transition:background-color .25s ease, transform .25s ease;
}
.burger:hover{ transform:translateY(-1px); }

.burger span{
  display:block;
  width:16px;
  height:1.5px;
  border-radius:1px;
  background:#FFFDF8;
  transition:width .3s ease, transform .3s ease, opacity .25s ease;
}
.burger span:nth-child(2){ width:11px; }

/* =========================================================
   HERO
   ========================================================= */

.hero{
  position:relative;
  min-height:100svh;
  overflow:hidden;
  /* matches the plate's own cream, so any crop/letterbox edge is invisible */
  background:var(--cream-1);
}

/* ---- full-bleed hero plate ----
   The render already carries its own cream fade on the left, so it needs
   no CSS mask: it IS the section background. */
.hero__visual{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.hero__img{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .9s ease;
}

.hero__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}

.hero__img.is-active{ opacity:1; }

/* the <picture> wrapper (mobile art direction) must not collapse the img's
   100% box to an inline line box */
.hero__img picture{ display:block; width:100%; height:100%; }

/* ---- 01 / 02 / 03 / 04 rail ---- */
.rail{
  position:absolute;
  left:clamp(14px,2.8vw,42px);
  top:50%;
  transform:translateY(calc(-50% - clamp(40px, 9vh, 96px)));
  z-index:5;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:clamp(14px,2.4vh,22px);
}

.rail__item{
  position:relative;
  font-size:clamp(13px,1.464vw,21px);
  font-weight:400;
  letter-spacing:.02em;
  color:var(--muted);
  padding:2px 0;
  transition:color .3s ease;
}

.rail__item:hover{ color:var(--gold-soft); }

.rail__item.is-active{
  color:var(--gold);
  /* the gold tick that hangs below the active number */
  margin-bottom:clamp(46px,7.4vh,72px);
}

.rail__item.is-active::after{
  content:"";
  position:absolute;
  left:50%;
  top:calc(100% + 10px);
  width:1px;
  height:clamp(34px,5.8vh,58px);
  background:linear-gradient(to bottom, var(--gold), rgba(181,139,84,.15));
}

/* ---- text column ---- */
.hero__content{
  position:relative;
  z-index:4;
  min-height:100svh;
  padding:calc(var(--header-h) + clamp(40px,15vh,120px)) var(--gutter) clamp(40px,7vh,72px) var(--content-x);
  display:flex;
  flex-direction:column;
  justify-content:center;
  max-width:min(100%, 980px);
}

/* ---- hero title = the brand lockup artwork ----
   Both words are drawn the same width in the logo (1120 vs 1122px), so giving
   each image width:100% of a shared box reproduces the flush-both-edges
   lockup exactly at any size. The 4.72% gap is the logo's own 53px spacing
   expressed against that width, so the proportions hold as it scales. */
.hero__title{
  /* the artwork crops flush to the letterforms, so the descender space the
     old text box gave the rule below has to be added back explicitly */
  margin:0 0 clamp(8px,1.3vh,16px);
  width:clamp(238px, 43vw, 600px);
  max-width:100%;
  line-height:0;
  color:var(--ink);
}
.hero__title span{ display:block; }
.hero__title span + span{ margin-top:4.72%; }

.hero__title img{
  display:block;
  width:100%;
  height:auto;
}

.hero__rule{
  display:block;
  width:47px;
  height:1px;
  background:var(--gold-line);
  margin:clamp(2px,.4vh,6px) 0 clamp(14px,2.2vh,20px);
}

.hero__tagline{                          /* -> The Seasons / Cormorant Garamond */
  margin:0;
  font-family:'The Seasons','Cormorant Garamond',serif;
  font-size:clamp(15px,1.6vw,23px);
  font-weight:500;
  font-style:italic;
  letter-spacing:.14em;
  text-transform:none;
  color:var(--gold);
}

/* RERA registration: in the hero column, between the tagline and the facts
   pill. Solid deep-green label on phones, frosted label on desktop. */
.hero__rera{
  align-self:flex-start;
  display:grid;
  gap:3px;
  margin:clamp(16px,2.6vh,26px) 0 0;
  padding:clamp(10px,1.4vh,14px) clamp(16px,1.6vw,24px);
  border:1px solid rgba(201,168,124,.55);
  border-radius:12px;
  background:rgba(30,51,32,.94);
  box-shadow:0 10px 28px rgba(16,28,18,.32);
  font-family:'Urbanist',sans-serif;
  font-size:clamp(13px,1.05vw,16px);
  font-weight:600;
  letter-spacing:.04em;
  line-height:1.3;
  color:#F3EEE5;
  white-space:nowrap;
}
.hero__rera span{
  font-size:.72em;
  font-weight:700;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#C9A87C;
}
/* phones: the facts pill is hidden, so the label sits under the tagline */
@media (max-width:860px){
  .hero__rera{
    max-width:100%;
    padding:8px 12px;
    border-radius:10px;
    font-size:12px;
    white-space:normal;
    overflow-wrap:anywhere;
  }
}
/* desktop: frosted label, left-aligned with the headline */
@media (min-width:861px){
  .hero__rera{
    padding:9px 16px;
    border-color:rgba(201,168,124,.5);
    background:rgba(253,248,240,.55);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    box-shadow:0 6px 18px rgba(60,44,26,.10);
    font-size:clamp(11.5px,.85vw,14px);
    color:#1E3320;
  }
  .hero__rera span{ color:#966F3A; }
}

/* ---- feature strip ---- */
.features{
  display:flex;
  align-items:stretch;
  margin-top:clamp(30px,5.6vh,62px);
  /* in the reference the strip hangs ~30px left of the headline, so the
     first column's icon centres 24px in from the text edge */
  margin-left:calc(24px - var(--feat-col) / 2);
}

.feature{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:clamp(12px,2.3vh,20px);
  padding:0 4px;
  min-width:var(--feat-col);
}

.feature + .feature{ border-left:1px solid var(--hairline); }

.feature__icon{
  color:var(--gold);
  width:clamp(26px,2.35vw,34px);
  height:clamp(26px,2.35vw,34px);
  display:block;
}
.feature__icon svg{ width:100%; height:100%; display:block; }

.feature__label{
  font-size:clamp(8.5px,.732vw,11px);
  font-weight:500;
  letter-spacing:.0338em;
  line-height:1.5;
  text-transform:uppercase;
  text-align:center;
  color:var(--ink-2);
  white-space:nowrap;
}

/* ---- feature pill (desktop / tablet) ----
   The four facts sit in one dark-green pill, the same one phones get over
   the hero image (see the ≤860px hero block): gold icons, cream labels,
   faint gold hairlines between them. On load the pill springs up (a slight
   overshoot, so it "pops") and its facts rise in one after another; on
   hover a fact's icon lifts. The entrances only fill backwards, so once
   they have played the scroll fade in main.js owns the pill's transform. */
@media (min-width:861px){
  .features{
    align-self:flex-start;
    margin-left:0;                 /* the pill lines up with the headline */
    padding:clamp(14px,2.2vh,22px) clamp(22px,2.2vw,36px);
    border-radius:999px;
    background:rgba(30,51,32,.95);
    box-shadow:0 14px 32px rgba(16,28,18,.30), 0 1px 2px rgba(16,28,18,.18);
    animation:features-pop .8s cubic-bezier(.34,1.56,.64,1) .45s backwards;
  }
  .feature{
    min-width:clamp(92px,7.6vw,120px);
    padding:0 clamp(10px,1vw,16px);
    gap:clamp(10px,1.6vh,14px);
    animation:feature-rise .6s cubic-bezier(.22,.61,.36,1) backwards;
  }
  .feature + .feature{
    border-left:1px solid transparent;
    border-image:linear-gradient(180deg, rgba(201,168,106,0), rgba(201,168,106,.45) 50%, rgba(201,168,106,0)) 1;
  }
  .feature:nth-child(1){ animation-delay:.75s; }
  .feature:nth-child(2){ animation-delay:.85s; }
  .feature:nth-child(3){ animation-delay:.95s; }
  .feature:nth-child(4){ animation-delay:1.05s; }

  .feature__icon{ color:var(--dk-gold); transition:transform .35s cubic-bezier(.22,.61,.36,1); }
  .feature:hover .feature__icon{ transform:translateY(-4px) scale(1.08); }
  .feature__label{ color:#F1EEE4; }
}

@keyframes features-pop{
  from{ opacity:0; transform:translateY(26px) scale(.9); }
  to  { opacity:1; transform:none; }
}
@keyframes feature-rise{
  from{ opacity:0; transform:translateY(10px); }
  to  { opacity:1; transform:none; }
}

@media (min-width:861px) and (prefers-reduced-motion:reduce){
  .features, .feature{ animation:none; }
  .feature__icon{ transition:none; }
}

/* ---- explore link ---- */
.explore{
  display:inline-flex;
  align-items:center;
  gap:clamp(14px,1.7vw,24px);
  margin-top:clamp(40px,9.4vh,100px);
  align-self:flex-start;
  color:var(--ink-2);            /* the label is charcoal in the reference */
  font-size:clamp(10.5px,.941vw,14px);
  font-weight:400;
  letter-spacing:.232em;
  text-transform:uppercase;
}

.explore__arrow{
  color:var(--gold-line);        /* only the arrow is gold */
  width:clamp(46px,4.6vw,74px);
  height:12px;
  transition:transform .35s ease;
}
.explore:hover .explore__arrow{ transform:translateX(8px); }

/* =========================================================
   AT A GLANCE  (slim dark strip)
   ========================================================= */

/* Arched crown: the top edge is a wide shallow dome rather than a straight
   line, so the band reads as a designed shape — and the scroll curtain
   sweeps up as a curve instead of a hard bar. */
.stats{
  --arc:clamp(10px,1.8vh,24px);
  position:relative;
  overflow:hidden;
  padding:calc(var(--arc) + clamp(2px,.6vh,8px)) clamp(16px,3.1vw,42px) clamp(6px,1.1vh,12px);
  border-top-left-radius:50% var(--arc);
  border-top-right-radius:50% var(--arc);
  background-color:var(--dk);
  background-image:
    /* soft gold glow, lit from the centre */
    radial-gradient(ellipse 62% 132% at 50% 44%, rgba(201,168,106,.15), rgba(201,168,106,0) 68%),
    /* vertical gradient for depth */
    linear-gradient(180deg, #27412B 0%, #1D3220 54%, #16271A 100%);
}

/* fine grain so the large dark area reads as paper, not flat colour */
.stats::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.055;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* leaf flourishes at either end, matching the Amenities ornament language */
.stats__leaf{
  position:absolute;
  bottom:clamp(4px,.8vh,10px);
  width:clamp(44px,4.6vw,68px);
  height:auto;
  color:var(--dk-gold);
  opacity:.3;
  pointer-events:none;
}
.stats__leaf--l{ left:clamp(10px,2.4vw,40px); }
.stats__leaf--r{ right:clamp(10px,2.4vw,40px); transform:scaleX(-1); }

.stats__row{
  position:relative;
  max-width:var(--wrap-max);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
}

.stats__row li{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  padding:0 clamp(8px,1vw,18px);
  text-align:center;
}

/* divider: a hairline that fades at both ends with a gold diamond at its centre */
.stats__row li + li::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform:translate(-50%,-50%);
  width:1px;
  height:64%;
  background:linear-gradient(to bottom,
    rgba(201,168,106,0), rgba(201,168,106,.34) 22%,
    rgba(201,168,106,.34) 78%, rgba(201,168,106,0));
}
.stats__row li + li::after{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:5px;
  height:5px;
  transform:translate(-50%,-50%) rotate(45deg);
  background:var(--dk-gold);
}

.stats__n{
  /* Playfair's lining figures: Cormorant's old-style "11" read as a roman II */
  font-family:"Playfair Display", Georgia, serif;
  font-size:clamp(22px,2.2vw,33px);
  font-weight:400;
  line-height:1;
  letter-spacing:.01em;
  color:var(--dk-gold);
  font-variant-numeric:lining-nums;
}
.stats__n em{ font-style:normal; font-size:.62em; vertical-align:.28em; }

.stats__l{
  font-size:clamp(8.5px,.74vw,11px);
  font-weight:500;
  letter-spacing:.19em;
  text-transform:uppercase;
  color:var(--dk-body);
}

/* =========================================================
   SCROLL REVEAL — shared by the About and Contact sections.
   main.js adds .is-in when the element enters the viewport;
   stagger a group by setting --d on the children.
   ========================================================= */

[data-reveal]{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .7s cubic-bezier(.22,.61,.36,1) var(--d,0s),
             transform .7s cubic-bezier(.22,.61,.36,1) var(--d,0s);
}
[data-reveal="left"]{ transform:translateX(-32px); }
[data-reveal="right"]{ transform:translateX(32px); }
[data-reveal="zoom"]{ transform:scale(.94); }
[data-reveal].is-in{ opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1; transform:none; transition:none; }
}

/* =========================================================
   ABOUT US
   One light ground, three movements: the welcome frame (copy + facts beside
   the film), the dark key-points plate, and the 21st Castle story frame with
   its journey timeline. Every block is built from the same utilities —
   .abt-eyebrow, .abt-display / .abt-h2, .abt-rule, .abt-lede — and every
   colour comes from the --ab-* tokens.
   Prefix: .abt- for the components, .about for the section shell.
   ========================================================= */

.about{
  /* the :root --ab-* scale is the light one; the frames step up to white
     and the gold steps darker so it holds its contrast on white */
  --ab-card:#FFFFFF;
  --ab-line:#E4DCCD;
  --ab-gold:#966F3A;
  --ab-green:#2C5A32;
  --ab-body:#4C4B46;
  --ab-img:#EDE6D9;            /* placeholder behind a loading render */
  --ab-shadow:74,58,38;        /* warm brown shadow */

  position:relative;
  overflow-x:clip;             /* reveal transforms must not widen the document */
  background:
    radial-gradient(90% 34% at 50% 0%, rgba(201,168,106,.14) 0%, rgba(201,168,106,0) 70%),
    var(--ab-bg);
  padding:clamp(56px,11.2vh,100px) clamp(20px,3.2vw,44px) clamp(22px,4vh,42px);
  scroll-margin-top:var(--header-h);
}

/* =========================================================
   LIFE CHAPTERS
   Between About and the feature strip, on black: copy on the left, the
   lit-windows image on the right. The image is masked so all four edges
   fade into the black, so it reads as part of the night rather than a
   framed photo.
   Prefix: .life
   ========================================================= */

/* The whole section fits one screen below the fixed header: its height is
   the viewport less the header, and the image is capped to what is left
   after the padding (its width follows), so nothing spills past the fold. */
.life{
  --life-pad:clamp(24px,4.5vh,52px);
  position:relative;
  overflow-x:clip;
  background:#0B0A09;
  min-height:calc(100svh - var(--header-h));
  display:flex;
  align-items:center;
  padding:var(--life-pad) clamp(20px,3.2vw,44px);
  box-sizing:border-box;
  scroll-margin-top:var(--header-h);
}
.life > .life__wrap{ flex:1; }

.life__wrap{
  max-width:var(--wrap-max);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,6fr);
  align-items:center;
  gap:clamp(32px,5vw,96px);
}

.life__copy{ min-width:0; text-align:center; }

/* the Novelle Boulevard lockup sits centred over the headline, so the
   copy column reads logo -> story -> audiences as one block */
.life__logo{
  display:block;
  width:min(340px,72%);
  height:auto;
  margin:0 auto clamp(26px,4.4vh,46px);
}

.life__title{
  margin:0;
  font-family:"Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight:400;
  font-size:clamp(34px,3.2vw,56px);
  line-height:1.2;
  letter-spacing:-.005em;
  color:#C9A46A;                 /* first line gold, as in the brochure */
}
.life__title em{
  display:block;
  font-style:normal;
  color:#F3EEE5;
}

/* a hairline that fades out at both ends, parted by a small leaf pair */
.life__rule{
  display:flex;
  align-items:center;
  gap:12px;
  width:min(340px,74%);
  margin:clamp(20px,3.4vh,34px) auto;
  color:#C9A46A;
}
.life__rule::before,
.life__rule::after{
  content:"";
  flex:1;
  height:1px;
}
.life__rule::before{ background:linear-gradient(90deg, rgba(201,164,106,0), #C9A46A); }
.life__rule::after { background:linear-gradient(90deg, #C9A46A, rgba(201,164,106,0)); }
.life__rule svg{ flex:none; width:22px; height:auto; opacity:.9; }

/* ---- ornaments ---- */
.life__title{ position:relative; }
.life__spark{
  position:absolute;
  top:-.55em; right:clamp(0px,3%,28px);
  width:clamp(22px,1.9vw,32px);
  height:auto;
  color:#C9A46A;
  opacity:.75;
  animation:life-twinkle 4.8s ease-in-out infinite;
}
@keyframes life-twinkle{
  0%,100%{ opacity:.75; transform:scale(1); }
  50%    { opacity:.35; transform:scale(.88); }
}

/* gold hairline brackets in two opposite corners, framing the section */
.life__corner{
  position:absolute;
  width:clamp(56px,6vw,96px);
  height:clamp(56px,6vw,96px);
  border:0 solid rgba(201,164,106,.38);
  pointer-events:none;
}
.life__corner--tl{ top:clamp(14px,2.4vh,26px); left:clamp(14px,1.6vw,28px); border-top-width:1px; border-left-width:1px; }
.life__corner--br{ bottom:clamp(14px,2.4vh,26px); right:clamp(14px,1.6vw,28px); border-bottom-width:1px; border-right-width:1px; }

/* the leaf sprig, faint, drifting very slightly */
.life__sprig{
  position:absolute;
  width:clamp(90px,9vw,150px);
  height:auto;
  color:#C9A46A;
  opacity:.22;
  pointer-events:none;
  animation:life-sway 9s ease-in-out infinite;
}
.life__sprig--bl{ left:clamp(30px,4vw,70px); bottom:clamp(26px,4vh,48px); transform-origin:0 100%; }
.life__sprig--tr{ right:clamp(30px,4vw,70px); top:clamp(26px,4vh,48px); transform-origin:100% 0; --flip:rotate(180deg); }
@keyframes life-sway{
  0%,100%{ transform:var(--flip, none) rotate(0deg); }
  50%    { transform:var(--flip, none) rotate(-3deg); }
}

/* warm lamplight pooling behind the windows */
.life__visual{ position:relative; }
.life__glow{
  position:absolute;
  inset:-12%;
  z-index:-1;
  background:radial-gradient(closest-side, rgba(214,160,86,.16), rgba(214,160,86,0));
  pointer-events:none;
}
.life__wrap{ position:relative; z-index:1; }

@media (prefers-reduced-motion: reduce){
  .life__spark, .life__sprig{ animation:none; }
}

.life__sub{
  margin:0;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:600;
  font-size:clamp(17px,1.35vw,22px);
  color:#F3EEE5;
}

/* the six audiences, separated by thin gold bars like the brochure */
.life__who{
  list-style:none;
  margin:clamp(12px,2vh,18px) auto 0;
  padding:0;
  max-width:30em;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  row-gap:6px;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:500;
  font-size:clamp(15px,1.15vw,19px);
  line-height:1.5;
  color:#D9D3C8;
}
.life__who li{ white-space:nowrap; }
/* RERA registration: a quiet line under the audiences */
.life__rera{
  margin:clamp(14px,2.4vh,22px) 0 0;
  font-family:"Montserrat", system-ui, sans-serif;
  font-size:clamp(10.5px,.8vw,12px);
  font-weight:400;
  letter-spacing:.06em;
  line-height:1.5;
  color:#B5AC9E;
  overflow-wrap:anywhere;
}
.life__rera span{
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#C9A87C;
}
.life__who li + li::before{
  content:"|";
  display:inline-block;
  width:1.4em;                   /* fixed, so main.js can re-centre lines */
  text-align:center;
  color:#8F7448;
}
/* A wrapped line must not open with a bar. main.js marks that item; its bar
   is hidden but keeps its space (so the wrapping can't shift), and every
   item on that line slides back half a bar so the line stays centred. */
.life__who li.is-linestart::before{ visibility:hidden; }
.life__who li.is-shifted{ transform:translateX(-.7em); }

/* ---- the windows image, edges fading into the black ---- */
.life__visual{
  justify-self:end;
  width:100%;
  /* as wide as the height left on screen allows (the image is 1200 x 1182) */
  max-width:min(720px, calc((100svh - var(--header-h) - 2 * var(--life-pad)) * 1200 / 1182));
  margin:0;
}
.life__visual img{
  display:block;
  width:100%;
  height:auto;
  /* two crossed linear masks: each fades one pair of edges, and
     intersecting them softens all four sides and the corners. Kept narrow:
     the crop leaves only a thin band of facade around the windows, and the
     fade must stay on that band, never on the window frames. */
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite:source-in;
          mask-image:
    linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
          mask-composite:intersect;
}

@media (max-width:860px){
  .life__wrap{ grid-template-columns:1fr; gap:clamp(20px,4vh,32px); }
  /* phones stack image over copy; the image takes what the copy leaves */
  .life__visual{ order:-1; justify-self:center; max-width:min(520px, calc(30svh * 1200 / 1182)); }
  .life__wrap{ gap:clamp(12px,2.4vh,24px); }
  .life__logo{ width:min(200px,56%); margin-bottom:clamp(14px,2.4vh,22px); }
  /* the screen is full on phones: keep the brackets, drop the sprigs */
  .life__sprig{ display:none; }
  .life__corner{ width:40px; height:40px; }
}

/* short phones (iPhone SE class): tighten everything so it still fits */
@media (max-width:860px) and (max-height:740px){
  .life{ --life-pad:18px; }
  .life__visual{ max-width:min(520px, calc(28svh * 1200 / 1182)); }
  .life__logo{ width:min(170px,48%); margin-bottom:12px; }
  .life__title{ font-size:28px; }
  .life__rule{ margin:14px auto; }
  .life__sub{ font-size:16px; }
  .life__who{ font-size:14.5px; margin-top:8px; }
}

/* ---- project feature strip ----
   A light full-bleed band directly above the gallery. It sits outside
   .about, so the band carries its own copy of the --ab-* colours it uses
   (and the background, which the strip's edge mask would otherwise fade).
   Scrolls right → left, opposite the project image strip above About. */
.fstrip-band{
  --ab-line:#E4DCCD;
  --ab-gold:#966F3A;
  --ab-body:#4C4B46;
  background:var(--ab-bg);
}

.fstrip{
  --gap:clamp(28px,3.4vw,52px);
  display:block;
  padding:clamp(12px,1.8vh,18px) 0;
  border-top:1px solid var(--ab-line);
  border-bottom:1px solid var(--ab-line);
  overflow:hidden;
  /* soft fade at both ends so items drift in and out */
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.fstrip__track{
  display:flex;
  gap:var(--gap);
  width:max-content;
  margin:0;
  padding:0;
  list-style:none;
  animation:marquee 60s linear infinite;
}

.fstrip:hover .fstrip__track{ animation-play-state:paused; }

.fstrip__track li{
  display:flex;
  align-items:center;
  gap:clamp(8px,.8vw,12px);
  white-space:nowrap;
  font-size:clamp(12px,.94vw,15px);
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ab-ink);
}

/* gold diamond between items, echoing the stats band dividers */
.fstrip__track li::after{
  content:"";
  width:5px;
  height:5px;
  margin-left:calc(var(--gap) / 2 - 2.5px);
  margin-right:calc(var(--gap) / -2 - 2.5px);
  background:var(--ab-gold);
  transform:rotate(45deg);
  opacity:.7;
}

.fstrip__track svg{
  flex:none;
  width:clamp(20px,1.7vw,26px);
  height:clamp(20px,1.7vw,26px);
  fill:none;
  stroke:var(--ab-gold);
  stroke-width:1.25;
  stroke-linecap:round;
  stroke-linejoin:round;
}

@keyframes marquee{
  to{ transform:translateX(calc(-50% - var(--gap) / 2)); }
}

@media (prefers-reduced-motion: reduce){
  .fstrip{ overflow-x:auto; }
  .fstrip__track{ animation:none; }
}

.about__wrap{
  max-width:var(--wrap-max);
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:clamp(30px,5.4vh,64px);
}
.about__wrap > .keys{ margin:0; }

/* ---- shared type utilities ---- */
.abt-eyebrow{
  margin:0;
  font-size:clamp(10px,.86vw,12.5px);
  font-weight:600;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--ab-gold);
}
/* the hairline that separates a headline from the copy under it */
.abt-rule{
  display:block;
  width:44px; height:1px;
  margin:clamp(22px,3.6vh,34px) auto;
  background:linear-gradient(90deg, rgba(174,137,66,0), var(--ab-gold), rgba(174,137,66,0));
}

.abt-display,
.abt-h2{
  font-family:"Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight:400;
  line-height:1.14;
  letter-spacing:-.022em;
  color:var(--ab-ink);
  text-wrap:balance;        /* keeps headlines from orphaning a word */
}
.abt-display{
  margin:clamp(14px,2.4vh,22px) auto 0;
  font-size:clamp(40px,4.6vw,68px);
}
.abt-h2{
  margin:clamp(14px,2.4vh,22px) auto 0;
  max-width:17em;
  font-size:clamp(29px,3.7vw,53px);
  line-height:1.18;
}
/* the gold word — the one accent these headlines allow themselves */
.abt-display em,
.abt-h2 em{ font-style:normal; color:var(--ab-gold); }

.abt-lede{
  margin:0 auto;
  max-width:46em;
  font-size:clamp(14px,1.06vw,17px);
  line-height:1.85;
  color:var(--ab-body);
}

/* ---- the frame both blocks share ----
   The card, the hairline border and the gold rule across the top. Layout is
   left to the frame's own class, so the two stay visually identical while
   holding different content. */
.abt-frame{
  position:relative;
  background:var(--ab-card);
  border:1px solid var(--ab-line);
  border-radius:18px;
  padding:clamp(20px,2.8vw,40px);
  box-shadow:0 22px 54px rgba(var(--ab-shadow),.09);
  overflow:hidden;              /* keeps nested corners inside the frame */
}
.abt-frame::before{
  content:"";
  position:absolute;
  top:0; left:6%; right:6%;
  height:5px;
  border-radius:0 0 5px 5px;
  background:linear-gradient(90deg, rgba(174,137,66,0), var(--ab-gold) 22%, var(--ab-gold) 78%, rgba(174,137,66,0));
  box-shadow:0 2px 10px rgba(174,137,66,.35);
}

/* ---- welcome: copy one half, film the other ---- */
.abt-hero__frame{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:stretch;             /* both halves end level, so the frame reads square */
  gap:clamp(20px,2.6vw,40px);
}
/* the copy ranges left; the panel's own padding does the work at the edges */
.abt-hero__copy{
  align-self:center;
  text-align:left;
  padding:clamp(6px,1.4vh,18px) clamp(4px,1vw,14px);
}
/* .abt-rule and .abt-lede centre themselves with auto margins — pull them
   back to the ragged edge */
.abt-hero__frame .abt-display,
.abt-hero__frame .abt-rule,
.abt-hero__frame .abt-lede{ margin-left:0; }

.abt-hero__tag{
  margin:clamp(10px,1.6vh,16px) 0 0;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-style:italic;
  font-size:clamp(17px,1.55vw,24px);
  letter-spacing:.01em;
  color:var(--ab-gold);
}

/* the frame holds the film's own 16:9 (3840×2160) so nothing is cropped;
   it sits centred against the copy rather than stretching to its height */
.abt-hero__figure{
  position:relative;
  margin:0;
  align-self:center;
  aspect-ratio:16 / 9;
  border-radius:12px;
  overflow:hidden;
  background:var(--ab-img);
  box-shadow:0 10px 26px rgba(var(--ab-shadow),.10);
}
.abt-hero__figure video{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 42%;
  display:block;
  cursor:pointer;
  transition:transform 1.2s cubic-bezier(.2,.6,.2,1);
}
.abt-hero__figure:hover video{ transform:scale(1.04); }
/* warm wash so the film sits in the cream page rather than on it */
.abt-hero__figure::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(200deg, rgba(174,137,66,0) 46%, rgba(120,92,44,.20) 100%);
  pointer-events:none;
}

/* ---- film controls: a smoked bar along the foot of the film ----
   tucked away until the pointer is over the film, a control has focus, or
   the film is paused; always shown where there is no hover (touch). */
.vctl{
  position:absolute; left:0; right:0; bottom:0;
  z-index:2;
  display:flex; align-items:center; gap:10px;
  padding:26px 14px 12px;
  background:linear-gradient(180deg, rgba(20,18,14,0) 0%, rgba(20,18,14,.62) 100%);
  color:#F5F0E9;
  font-family:"Urbanist", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  font-size:12.5px;
  letter-spacing:.03em;
  opacity:0;
  transform:translateY(6px);
  transition:opacity .35s ease, transform .35s ease;
}
.abt-hero__figure:hover .vctl,
.abt-hero__figure:focus-within .vctl,
.abt-hero__figure.is-paused .vctl{ opacity:1; transform:none; }
@media (hover:none){ .vctl{ opacity:1; transform:none; } }

.vctl__btn{
  flex:none;
  display:grid; place-items:center;
  width:34px; height:34px;
  padding:0;
  border:0; border-radius:50%;
  background:rgba(245,240,233,.14);
  color:inherit;
  cursor:pointer;
  transition:background .25s ease;
}
.vctl__btn:hover{ background:rgba(174,137,66,.55); }
.vctl__btn:focus-visible,
.vctl__range:focus-visible,
.vctl__speed select:focus-visible{ outline:2px solid #C9A86A; outline-offset:2px; }
.vctl__ico{ width:18px; height:18px; fill:currentColor; }
.vctl__stroke{ fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; }

/* each button carries both glyphs; the figure's state picks one */
.vctl__ico--play,
.vctl__ico--muted{ display:none; }
.is-paused .vctl__ico--play,
.is-muted .vctl__ico--muted{ display:block; }
.is-paused .vctl__ico--pause,
.is-muted .vctl__ico--sound{ display:none; }

.vctl__time{ flex:none; font-variant-numeric:tabular-nums; white-space:nowrap; opacity:.9; }

/* ranges: a hairline track filled in gold up to --fill (set by video.js) */
.vctl__range{
  -webkit-appearance:none; appearance:none;
  height:4px;
  margin:0;
  border-radius:4px;
  background:linear-gradient(90deg, #C9A86A var(--fill,0%), rgba(245,240,233,.32) var(--fill,0%));
  cursor:pointer;
}
.vctl__seek{ flex:1 1 auto; min-width:60px; }
.vctl__vol{ flex:none; width:72px; }
.vctl__range::-webkit-slider-thumb{
  -webkit-appearance:none; appearance:none;
  width:13px; height:13px;
  border-radius:50%;
  background:#F5F0E9;
  box-shadow:0 1px 4px rgba(0,0,0,.35);
}
.vctl__range::-moz-range-thumb{
  width:13px; height:13px;
  border:0; border-radius:50%;
  background:#F5F0E9;
  box-shadow:0 1px 4px rgba(0,0,0,.35);
}

.vctl__speed select{
  height:30px;
  padding:0 8px;
  border:1px solid rgba(245,240,233,.35);
  border-radius:15px;
  background:rgba(20,18,14,.35);
  color:inherit;
  font:inherit;
  cursor:pointer;
}
.vctl__speed option{ color:#2E2D29; background:#F8F4EE; }
.vctl__sr{
  position:absolute; width:1px; height:1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;
}

/* narrow screens: phones set volume with their own buttons, so the slider
   gives its room to the seek bar */
@media (max-width:560px){
  .vctl{ gap:7px; padding:22px 10px 10px; font-size:11.5px; }
  .vctl__vol{ display:none; }
  .vctl__btn{ width:30px; height:30px; }
}

/* ---- facts: four figures under the welcome copy ----
   a hairline above, hairlines between — not boxes */
.abt-facts{
  list-style:none;
  margin:clamp(24px,4vh,40px) 0 0;
  padding:clamp(18px,3vh,28px) 0 0;
  border-top:1px solid var(--ab-line);
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  row-gap:clamp(18px,3vh,26px);
}
.abt-facts li{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:clamp(6px,1vh,9px);
  padding:0 clamp(10px,1.2vw,18px);
}
.abt-facts li:first-child{ padding-left:0; }
.abt-facts li + li::before{
  content:"";
  position:absolute;
  left:0; top:6%; bottom:6%;
  width:1px;
  background:linear-gradient(180deg, rgba(228,220,205,0), var(--ab-line) 45%, rgba(228,220,205,0));
}
.abt-facts__n{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:clamp(22px,2.1vw,34px);
  line-height:1;
  color:var(--ab-gold);
}
.abt-facts__l{
  font-size:clamp(9.5px,.74vw,11px);
  font-weight:500;
  letter-spacing:.12em;
  line-height:1.45;
  text-transform:uppercase;
  color:var(--ab-body);
}

/* ---- story + the journey, in one frame ----
   The headline and the group mark share the top row; the three journey
   moments run the full width beneath them. */
.abt-story__frame{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(20px,2.6vw,44px);
  align-items:center;
}
.abt-story__head{ text-align:left; }
.abt-story__frame .abt-h2,
.abt-story__frame .abt-rule,
.abt-story__frame .abt-lede{ margin-left:0; }
/* the group mark holds the right half: the lockup on a transparent ground,
   so the white frame is its ground — no card, ring or shadow of its own */
.abt-story__mark{
  margin:0;
  justify-self:center;
  align-self:center;
  width:min(84%, 290px);
  padding:clamp(8px,1.4vw,22px) 0;
}
.abt-story__mark a{ display:block; }
.abt-story__mark img{ display:block; width:100%; height:auto; }
/* the timeline is not part of the two-column split */
.abt-story__frame .abt-journey{ grid-column:1 / -1; }

/* the white card rises a little further and slower than the stock reveal,
   so it reads as one panel arriving with the mark and timeline behind it */
@media (prefers-reduced-motion: no-preference){
  .abt-story__frame[data-reveal]{
    transform:translateY(44px);
    transition-duration:.95s;
  }
  .abt-story__frame[data-reveal].is-in{ transform:none; }
}

/* ---- the journey: five moments on one line ---- */
.abt-journey__row{
  list-style:none;
  margin:clamp(32px,5.4vh,62px) auto 0;
  padding:clamp(28px,4.6vh,48px) 0 0;
  border-top:1px solid var(--ab-line);
  width:100%;
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  text-align:center;
}
.abt-journey__row li{
  position:relative;
  padding:0 clamp(14px,2.2vw,34px);
}
.abt-journey__row li + li::before{
  content:"";
  position:absolute;
  left:0; top:6%; bottom:6%;
  width:1px;
  background:linear-gradient(180deg, rgba(228,220,205,0), var(--ab-line) 42%, rgba(228,220,205,0));
}
.abt-journey__year{
  display:block;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:clamp(30px,3.2vw,46px);
  line-height:1;
  color:var(--ab-gold);
}
.abt-journey__head{
  margin:clamp(10px,1.6vh,15px) 0 0;
  font-size:clamp(10px,.82vw,11.5px);
  font-weight:600;
  letter-spacing:.18em;
  line-height:1.55;
  text-transform:uppercase;
  color:var(--ab-green);
}
.abt-journey__row p{
  margin:clamp(11px,1.9vh,17px) auto 0;
  max-width:24em;
  font-size:clamp(12.5px,.94vw,14.5px);
  line-height:1.75;
  color:var(--ab-body);
}

/* ---- desktop: the five moments as an auto-scrolling strip ----
   The track holds the set twice (main.js clones it); sliding by exactly one
   set (-50%) lands on an identical frame, so the loop has no seam. Every
   moment carries its own left hairline so the clone of the first matches
   the original. Hover pauses it for reading. */
@media (min-width:861px){
  .abt-journey{
    overflow:hidden;
    margin-top:clamp(32px,5.4vh,62px);
    padding-top:clamp(28px,4.6vh,48px);
    border-top:1px solid var(--ab-line);
    /* soft fade at both edges so moments drift in and out */
    -webkit-mask-image:linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image:linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }
  .abt-journey__row{
    display:flex;
    width:max-content;
    margin:0;
    padding:0;
    border-top:0;
    animation:journey-scroll 48s linear infinite;
  }
  .abt-journey:hover .abt-journey__row{ animation-play-state:paused; }
  /* 5 × 22vw is wider than the strip, so one set always fills it and the
     cloned set follows straight after 2027 with no blank gap */
  .abt-journey__row li{ flex:0 0 max(270px,22vw); }
  .abt-journey__row li::before{
    content:"";
    position:absolute;
    left:0; top:6%; bottom:6%;
    width:1px;
    background:linear-gradient(180deg, rgba(228,220,205,0), var(--ab-line) 42%, rgba(228,220,205,0));
  }
}

@keyframes journey-scroll{
  to{ transform:translateX(-50%); }
}

@media (min-width:861px) and (prefers-reduced-motion:reduce){
  .abt-journey{ overflow-x:auto; -webkit-mask-image:none; mask-image:none; }
  .abt-journey__row{ animation:none; }
}

/* phones: the timeline is a swipe row that main.js steps one card at a
   time; the marquee clones stay in so the step from 2027 back to 2013 is
   seamless. The wrapper must be allowed to shrink, or the row's full
   width stretches the single-column frame past the screen edge. */
@media (max-width:860px){
  .abt-story__head,
  .abt-journey{ min-width:0; }
}

/* ---- tablet: the facts go 2×2 while the welcome is still two columns ---- */
@media (max-width:1100px) and (min-width:861px){
  .abt-facts{ grid-template-columns:1fr 1fr; }
  .abt-facts li:nth-child(odd){ padding-left:0; }
  .abt-facts li:nth-child(odd)::before{ display:none; }
}

/* ---- section labels shared across the home page ---- */
.eyebrow{
  margin:0;
  font-size:clamp(10px,.941vw,13px);
  font-weight:600;
  letter-spacing:.0274em;
  text-transform:uppercase;
  color:var(--ab-gold);
}

.rule{ display:block; height:2px; background:var(--ab-gold); }
.rule--xs{ width:27px; margin:clamp(12px,2.19vh,20px) 0 0; }
.rule--sm{ width:47px; margin:clamp(20px,4.07vh,36px) 0 0; }

/* ---- key points panel ----
   A dark forest-green plate under the about grid, using the shared --dk
   scale so it reads as the same material as the stats strip and footer.  */
.keys{
  max-width:var(--wrap-max);
  margin:clamp(38px,6vh,72px) auto 0;
  padding:clamp(20px,2.6vw,40px);
  background:var(--dk);
  border-radius:clamp(16px,1.6vw,24px);
}
.keys__row{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:clamp(12px,1.5vw,22px);
}
.keys__card{
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:clamp(18px,2vw,28px) clamp(14px,1.5vw,22px) clamp(20px,2.2vw,30px);
  background:var(--dk-soft);
  border:1px solid var(--dk-line);
  border-radius:14px;
  text-align:center;
  transition:transform .35s cubic-bezier(.2,.6,.2,1), border-color .35s ease, box-shadow .35s ease;
}
.keys__card:hover{
  transform:translateY(-6px);
  border-color:var(--dk-gold);
  box-shadow:0 18px 36px rgba(0,0,0,.28);
}
.keys__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
  width:clamp(42px,3.4vw,54px);
  height:clamp(42px,3.4vw,54px);
  border-radius:12px;
  background:rgba(201,168,106,.12);
  border:1px solid rgba(201,168,106,.26);
  color:var(--dk-gold);
  transition:background-color .35s ease, color .35s ease, transform .45s cubic-bezier(.2,.6,.2,1);
}
.keys__card:hover .keys__icon{
  background:var(--dk-gold);
  color:var(--dk);
  transform:scale(1.06);
}
.keys__icon svg{ width:clamp(20px,1.7vw,26px); height:auto; }
.keys__title{
  margin:clamp(12px,1.8vh,18px) 0 0;
  font-size:clamp(13px,1.02vw,16px);
  font-weight:600;
  letter-spacing:.01em;
  color:var(--dk-ink);
}
.keys__card p{
  margin:clamp(7px,1.1vh,11px) 0 0;
  font-size:clamp(11.5px,.86vw,13.5px);
  line-height:1.62;
  color:var(--dk-body);
}

@media (max-width:1100px){
  .keys__row{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:640px){
  /* a swipeable row instead of four stacked cards: one card centred with
     its neighbours peeking in on both sides, so the panel stays one card
     tall and the peek is what says "there is more, swipe" */
  .keys{ margin-top:32px; padding:14px 0; border-radius:16px; }
  .keys__row{
    display:flex;
    gap:10px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    /* the inline padding is the peek: it lets the first and last card
       settle in the centre like every other one */
    padding-inline:16%;
    scroll-padding-inline:16%;
    scrollbar-width:none;              /* the peeking cards are the cue */
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;     /* swiping the row must not turn the page */
  }
  .keys__row::-webkit-scrollbar{ display:none; }

  .keys__card{
    flex:0 0 68%;
    scroll-snap-align:center;
    padding:18px 14px 20px;
    border-radius:12px;
  }
  .keys__card:hover{ transform:none; }
  .keys__icon{ width:38px; height:38px; border-radius:10px; }
  .keys__icon svg{ width:19px; }
  .keys__title{ margin-top:11px; font-size:13.5px; line-height:1.3; }
  .keys__card p{ margin-top:7px; font-size:11.5px; line-height:1.55; }
}

.scrolldown{
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-top:clamp(14px,2.7vh,26px);
  color:var(--ab-gold);
}

.scrolldown__mouse{
  width:21px;
  height:36px;
  border:1.4px solid var(--ab-gold);
  border-radius:11px;
  position:relative;
}
.scrolldown__mouse::after{
  content:"";
  position:absolute;
  left:50%; top:7px;
  width:3px; height:3px;
  border-radius:50%;
  background:var(--ab-gold);
  transform:translateX(-50%);
  animation:scrollDot 1.9s ease-in-out infinite;
}
@keyframes scrollDot{
  0%,100%{ transform:translate(-50%,0);   opacity:1; }
  55%    { transform:translate(-50%,11px); opacity:.25; }
}

.scrolldown__label{
  margin-top:clamp(8px,1.6vh,16px);
  font-size:clamp(9px,.837vw,12px);
  font-weight:500;
  letter-spacing:.0483em;
  text-transform:uppercase;
  color:#9A948C;
}

.scrolldown__line{
  width:1px;
  height:clamp(10px,1.9vh,18px);
  margin-top:clamp(6px,1.2vh,12px);
  background:linear-gradient(to bottom, var(--ab-gold), rgba(174,137,66,0));
}

/* =========================================================
   PROJECT STRIP — auto-scrolling image band between stats and About
   ========================================================= */

.pstrip{
  /* the stats band's own green, so the two read as one continuous band */
  background:var(--dk);
  padding:clamp(14px,2.4vh,24px) 0;
  overflow:hidden;
  border-bottom:1px solid rgba(196,160,99,.18);
}

.pstrip__track{
  display:flex;
  gap:clamp(8px,0.9vw,14px);
  width:max-content;
  /* the track holds the set twice; sliding by exactly one set (-50%)
     lands on an identical frame, so the loop has no visible seam */
  animation:pstrip-scroll 70s linear infinite reverse;   /* reverse = left → right */
}

.pstrip:hover .pstrip__track{ animation-play-state:paused; }

.pstrip__track img{
  display:block;
  height:clamp(110px,15vh,180px);
  aspect-ratio:3 / 2;
  width:auto;
  object-fit:cover;
  border-radius:2px;
}

@keyframes pstrip-scroll{
  to{ transform:translateX(calc(-50% - clamp(8px,0.9vw,14px) / 2)); }
}

@media (prefers-reduced-motion: reduce){
  .pstrip{ overflow-x:auto; }
  .pstrip__track{ animation:none; }
}

/* =========================================================
   GALLERY
   ========================================================= */

.gallery{
  position:relative;
  background:var(--gl-bg);
  /* top padding clears the fixed header, so scrolling here reproduces
     the reference framing exactly */
  padding:calc(var(--header-h) + clamp(16px,3.5vh,34px)) clamp(16px,1.6vw,26px) clamp(30px,6.4vh,56px);
  overflow:hidden;
}

/* fade from the light feature strip above into the dark gallery. It lives
   in the empty top padding, so it never sits behind the gallery content */
.gallery::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:var(--header-h);
  pointer-events:none;
  background:linear-gradient(180deg,
    var(--ab-bg) 0%,
    #C9C5BF 22%,
    #85827E 46%,
    #45433F 72%,
    var(--gl-bg) 100%);
}

.gallery__grid{
  position:relative;           /* paints above the .gallery::before fade */
  max-width:var(--wrap-max);
  margin:0 auto;
  display:grid;
  grid-template-columns:257fr 932fr 34fr;
  column-gap:clamp(16px,2.93vw,40px);
  align-items:stretch;
}

/* ---- left column ---- */
.gallery__intro{
  display:flex;
  flex-direction:column;
  padding-top:clamp(42px,10.52vh,90px);
}

.eyebrow--dark{ color:var(--gl-gold); }
.rule--dark{ background:var(--gl-gold); width:35px; }

.gallery__title{
  margin:clamp(26px,5.84vh,50px) 0 0;
  font-family:"Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight:400;
  font-size:clamp(30px,3.44vw,49px);
  line-height:1.19;
  letter-spacing:-.0215em;
  color:var(--gl-ink);
}
.gallery__title em{ font-style:normal; color:var(--gl-gold-2); }

.gallery__text{
  max-width:19em;
  margin:clamp(16px,3.2vh,28px) 0 0;
  font-size:clamp(11px,.95vw,13.5px);
  font-weight:400;
  line-height:1.62;
  color:var(--gl-body);
}

/* ---- prev / next ---- */
.gallery__controls{
  display:flex;
  gap:15px;
  margin-top:clamp(38px,12.79vh,110px);
}

.gnav{
  display:grid;
  place-items:center;
  width:37px;
  height:37px;
  border:1px solid rgba(196,160,99,.55);
  border-radius:50%;
  color:var(--gl-gold);
  transition:background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
}
.gnav svg{ width:15px; height:15px; }
.gnav:hover:not(:disabled){ background:var(--gl-gold); border-color:var(--gl-gold); color:#17170F; }
.gnav:disabled{ opacity:.3; cursor:default; }

/* ---- 01 ——— 08 ---- */
.gprogress{
  display:flex;
  align-items:center;
  gap:14px;
  width:228px;
  max-width:100%;
  margin-top:clamp(11px,2.36vh,20px);
  font-size:clamp(9px,.8vw,11.5px);
  font-weight:400;
  letter-spacing:.06em;
  color:var(--gl-body);
}
.gprogress__now{ color:var(--gl-ink); }

.gprogress__track{
  position:relative;
  flex:1;
  height:1px;
  background:rgba(255,255,255,.16);
}
.gprogress__bar{
  position:absolute;
  inset:0 auto 0 0;
  height:1px;
  background:var(--gl-gold);
  transition:width .45s ease;
}

/* ---- mosaic ---- */
.mosaic{
  display:flex;
  flex-direction:column;
  gap:6px;
  height:clamp(400px,78.3vh,700px);
}

.mosaic__row{ display:flex; gap:7px; min-height:0; }
.mosaic__row--1{ flex:216; }
.mosaic__row--2{ flex:199; }
.mosaic__row--3{ flex:185; }

.gtile{
  position:relative;
  margin:0;
  min-width:0;
  overflow:hidden;
  background:#232323;
}
.gtile img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  /* opacity duration is the gallery dissolve — it is mirrored by FADE_MS in
     main.js, which swaps the sources at the bottom of the fade. Change both. */
  transition:transform .7s cubic-bezier(.2,.6,.2,1), opacity 1s ease;
}
.gtile:hover img{ transform:scale(1.045); }
.mosaic.is-swapping .gtile img{ opacity:0; }

/* ---- vertical label ---- */
.gallery__rail{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding-bottom:clamp(30px,9vh,80px);
}

.gallery__rail-text{
  writing-mode:vertical-rl;
  font-size:clamp(9px,.8vw,11.5px);
  font-weight:500;
  letter-spacing:.42em;
  text-transform:uppercase;
  color:var(--gl-gold-3);
  white-space:nowrap;
}

.gallery__rail-line{
  width:1px;
  height:clamp(40px,9vh,78px);
  background:linear-gradient(to bottom, rgba(196,160,99,.7), rgba(196,160,99,.08));
}
.gallery__rail-dot{
  width:5px;
  height:5px;
  border-radius:50%;
  border:1px solid rgba(196,160,99,.7);
}

/* =========================================================
   AMENITIES
   ========================================================= */

.amen{
  background:var(--am-bg);
  padding:clamp(48px,7vh,72px) clamp(16px,3.1vw,42px) clamp(28px,4.5vh,46px);
  scroll-margin-top:var(--header-h);
}

.amen__inner{ max-width:var(--wrap-max); margin:0 auto; }

/* ---- top area: intro beside the card row ---- */
.amen__top{
  display:grid;
  grid-template-columns:253fr 1060fr;
  column-gap:clamp(10px,1vw,16px);
  align-items:center;
}

.eyebrow--wide{ letter-spacing:.24em; color:var(--am-gold); }

.amen__intro .rule--xs{ background:var(--am-gold); margin-top:clamp(11px,2.1vh,18px); }
.amen__intro .rule--sm{ background:var(--am-gold); width:44px; margin-top:clamp(14px,2.4vh,22px); }

.amen__title{
  margin:clamp(20px,4.5vh,40px) 0 0;
  font-family:"Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight:400;
  font-size:clamp(28px,3.3vw,47px);
  line-height:1.2;
  letter-spacing:-.0215em;
  color:var(--am-ink);
}
.amen__title em{ font-style:normal; color:var(--am-gold-2); }

.amen__leaf{
  display:block;
  width:clamp(56px,6vw,86px);
  height:auto;
  margin:clamp(6px,1.4vh,14px) 0 0 auto;
  margin-right:clamp(6px,2vw,28px);
  color:var(--am-gold-3);
}

/* ---- banner ---- */
.amen__banner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(8px,1.1vw,16px);
  margin:0;
  font-size:clamp(10px,.95vw,13.5px);
  font-weight:500;
  letter-spacing:.19em;
  text-transform:uppercase;
  color:var(--am-gold);
  white-space:nowrap;
}
.amen__wing{
  width:clamp(60px,9.5vw,130px);
  height:14px;
  flex:none;
  color:var(--am-gold-3);
}
.amen__wing--flip{ transform:scaleX(-1); }

/* ---- card row ---- */
/* ---- ticker ----
   The row keeps its place in the layout; only its contents drift. main.js
   clones the seven cards, so translating the track by exactly -50% lands
   on an identical frame and the loop is invisible. The spacing lives on
   each card's margin (not the flex gap) so both halves measure the same. */
.amen__marquee{
  margin-top:clamp(14px,3vh,28px);
  overflow:hidden;
  /* without this the track's max-content width sets the grid column's
     automatic minimum and blows the whole row out */
  min-width:0;
}

.amen__main{ min-width:0; }

.amen__cards{
  display:flex;
  align-items:flex-start;
  width:max-content;
  animation:amenTicker var(--ticker-dur,24s) linear infinite;
}
.amen__marquee:hover .amen__cards{ animation-play-state:paused; }

.amen__cards li{
  flex:0 0 auto;
  margin-right:var(--ticker-gap,14px);
}
.amen__cards img{
  height:clamp(140px,11.4vw,190px);
  width:auto;
  aspect-ratio:var(--ar, 1);
  display:block;
  transition:transform .5s cubic-bezier(.2,.6,.2,1);
}
.amen__cards li:hover img{ transform:translateY(-3px); }

@keyframes amenTicker{
  from{ transform:translate3d(0,0,0); }
  to  { transform:translate3d(-50%,0,0); }
}

/* reduced motion: hold still and let people scroll it by hand instead */
@media (prefers-reduced-motion:reduce){
  .amen__cards{ animation:none; }
  .amen__marquee{ overflow-x:auto; }
}

/* ---- and much more ---- */
.amen__more{
  display:flex;
  align-items:center;
  gap:clamp(8px,1vw,14px);
  margin-top:clamp(24px,4.8vh,48px);
  color:var(--am-gold-3);
}
.amen__more-line{ flex:1; height:1px; background:rgba(176,140,80,.32); }
.amen__more-tip{ width:22px; height:12px; flex:none; }
.amen__more-tip--flip{ transform:scaleX(-1); }
.amen__more-label{
  font-size:clamp(9px,.82vw,12px);
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--am-gold);
  white-space:nowrap;
}

/* the band doubles as a trigger for the extra amenities: it stays centred,
   so it is reachable even when the fixed chat panel covers the grid corner */
.amen__more-label--btn{
  display:inline-flex;
  align-items:center;
  gap:.7em;
  padding:.35em .2em;
  background:none;
  border:0;
  font-family:inherit;
  cursor:pointer;
  transition:color .3s ease;
}
.amen__more-label--btn:hover{ color:var(--am-gold-3); }
.amen__more-label--btn:focus-visible{ outline:1px solid var(--am-gold); outline-offset:3px; }

.amen__more-chev{
  width:.9em;
  height:auto;
  flex:none;
  transition:transform .4s cubic-bezier(.22,.61,.36,1);
}
.amen__more-label--btn[aria-expanded="true"] .amen__more-chev{ transform:rotate(180deg); }

/* ---- 7 x 4 amenity grid (+ an extra block that unfolds on click) ---- */
.amen__sprite{ position:absolute; width:0; height:0; overflow:hidden; }

.amen__grid{
  display:grid;
  grid-template-columns:repeat(7, minmax(0,1fr));
  margin-top:clamp(14px,2.6vh,26px);
  border-top:1px solid var(--am-line);
}

.amen__grid li{
  display:flex;
  align-items:center;
  gap:clamp(6px,.72vw,11px);
  min-height:clamp(46px,7.9vh,68px);
  padding:6px clamp(4px,.58vw,9px);
  border-bottom:1px solid var(--am-line);
  border-right:1px solid var(--am-line);
}
.amen__grid li:nth-child(7n){ border-right:0; }

.amen__grid svg{
  flex:none;
  width:clamp(18px,1.62vw,24px);
  height:clamp(18px,1.62vw,24px);
  fill:none;
  stroke:var(--am-gold);
  stroke-width:1.25;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.amen__grid span{
  font-size:clamp(9.5px,.85vw,12.5px);
  font-weight:400;
  line-height:1.3;
  color:var(--am-body-2);
}

.amen__grid-more{ justify-content:center; padding:0; }

/* the 28th cell: fills its box so the whole tile is the hit area */
.amen__grid-toggle{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(5px,.5vw,8px);
  width:100%;
  align-self:stretch;
  padding:6px clamp(4px,.58vw,9px);
  background:none;
  border:0;
  font:inherit;
  cursor:pointer;
  color:var(--am-gold-3);
  transition:color .3s ease, background-color .3s ease;
}
.amen__grid-toggle:hover{ color:var(--am-gold); background:rgba(0,0,0,.02); }
.amen__grid-toggle:focus-visible{ outline:1px solid var(--am-gold); outline-offset:-3px; }

.amen__grid-more .amen__grid-toggle-txt{
  font-size:clamp(9.5px,.85vw,12.5px);
  font-style:italic;
  line-height:1.3;
  color:inherit;
}

.amen__grid-more .amen__grid-chev{
  width:clamp(9px,.78vw,12px);
  height:auto;
  stroke:currentColor;
  transition:transform .4s cubic-bezier(.22,.61,.36,1);
}
.amen__grid-toggle[aria-expanded="true"] .amen__grid-chev{ transform:rotate(180deg); }

/* collapsed to a zero-height row, so the reveal animates without a
   hard-coded max-height that would break at other column counts */
.amen__extra-wrap{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .5s cubic-bezier(.22,.61,.36,1);
}
.amen__extra-wrap.is-open{ grid-template-rows:1fr; }

.amen__grid--extra{
  min-height:0;
  overflow:hidden;
  margin-top:0;
  border-top:0;
}
.amen__grid--extra li{
  opacity:0;
  transition:opacity .4s ease .1s;
}
.amen__extra-wrap.is-open .amen__grid--extra li{ opacity:1; }

@media (prefers-reduced-motion:reduce){
  .amen__extra-wrap,
  .amen__grid--extra li,
  .amen__grid-more .amen__grid-chev{ transition:none; }
}

/* ---- closing ornament ---- */
.amen__foot{
  display:flex;
  align-items:center;
  gap:clamp(10px,1.4vw,20px);
  margin-top:clamp(20px,3.6vh,36px);
  color:var(--am-gold-3);
}
.amen__foot-line{ flex:1; height:1px; background:rgba(176,140,80,.3); }
.amen__foot-mark{ width:54px; height:20px; flex:none; }

/* =========================================================
   FLOOR PLANS
   ========================================================= */

.plans{
  background:var(--pl-bg);
  padding:clamp(40px,6vh,64px) 0 clamp(26px,4vh,40px);
  scroll-margin-top:var(--header-h);
  overflow:hidden;
}

/* intro + master plan on the left, the two carousels on the right; the
   rows run to the viewport edge, so only the left column takes a gutter */
.plans__grid{
  display:grid;
  grid-template-columns:68fr 32fr;
  column-gap:clamp(20px,2.4vw,40px);
  align-items:start;
}

/* ---- left column ---- */
.plans__main{ min-width:0; padding-left:clamp(16px,3.1vw,42px); }
.plans__intro{ position:relative; padding-top:clamp(20px,4vh,38px); }

.plans__intro .rule--xs{ background:var(--pl-gold); margin-top:clamp(10px,1.9vh,16px); }
.plans__intro .rule--sm{ background:var(--pl-gold); width:44px; margin-top:clamp(14px,2.6vh,24px); }

.plans__title{
  position:relative;
  margin:clamp(18px,3.6vh,32px) 0 0;
  font-family:"Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight:400;
  font-size:clamp(30px,3.66vw,52px);
  line-height:1.18;
  letter-spacing:-.0215em;
  color:var(--pl-ink);
}
.plans__title em{ font-style:normal; color:var(--pl-gold-2); }
/* "community —" on desktop, "community," on phones (swapped in the ≤860 block) */
.plans__comma{ display:none; }

.plans__spark{
  position:absolute;
  top:-.42em; right:clamp(4px,2vw,26px);
  width:clamp(16px,1.6vw,24px);
  height:auto;
  color:var(--pl-gold-3);
}

.plans__text{
  max-width:34em;
  margin:clamp(14px,2.6vh,24px) 0 0;
  font-size:clamp(11px,.95vw,13.5px);
  line-height:1.62;
  color:var(--pl-body);
}

.plans__brochure{
  display:inline-flex;
  align-items:center;
  gap:.7em;
  margin-top:clamp(16px,2.8vh,26px);
  padding:.95em 1.6em;
  background:none;
  border:1px solid var(--pl-gold);
  color:var(--pl-gold-2);
  font-family:inherit;
  font-size:clamp(10px,.82vw,12px);
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  cursor:pointer;
  transition:background-color .3s ease, color .3s ease;
}
.plans__brochure svg{ width:1.25em; height:1.25em; flex:none; }
.plans__brochure:hover{ background:var(--pl-gold); color:var(--pl-bg); }
.plans__brochure:focus-visible{ outline:1px solid var(--pl-gold); outline-offset:3px; }

/* "available soon" note for features that are not live yet (main.js) */
.soon-toast{
  position:fixed;
  left:50%;
  bottom:clamp(20px,4vh,36px);
  z-index:1000;
  max-width:calc(100vw - 32px);
  padding:14px 22px;
  background:#1E3320;
  border:1px solid #C9A86A;
  color:#F1EEE4;
  font-size:14px;
  line-height:1.45;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
  opacity:0;
  transform:translate(-50%,12px);
  pointer-events:none;
  transition:opacity .3s ease, transform .3s ease;
}
.soon-toast.is-on{ opacity:1; transform:translate(-50%,0); }

/* sits in the empty space right of the copy, not below it */
.plans__branch{
  position:absolute;
  right:0;
  bottom:0;
  display:block;
  width:clamp(80px,9vw,128px);
  height:auto;
  color:var(--pl-gold-3);
}

/* ---- master plan ----
   A cream card like the plan cards, since the drawing is made to be read
   on white. Clicking it opens the floor-plan lightbox. */
.mplan{
  margin:clamp(20px,3.6vh,34px) 0 0;
  padding:clamp(12px,2vh,18px) clamp(12px,1.3vw,20px) clamp(14px,2.2vh,20px);
  border:1px solid var(--pl-card-line);
  border-left:3px solid var(--pl-gold);
  border-radius:14px;
  background:var(--pl-card);
  cursor:zoom-in;
}
.mplan__cap{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
}
.mplan__title{
  font-size:clamp(10px,.8vw,12px);
  font-weight:600;
  letter-spacing:.17em;
  text-transform:uppercase;
  color:var(--pl-gold-4);
}
.mplan__hint{
  font-size:clamp(9.5px,.75vw,11.5px);
  color:var(--pl-ink-2);
  opacity:.7;
}
.mplan img{
  display:block;
  width:100%;
  height:auto;
  margin-top:clamp(8px,1.4vh,12px);
  mix-blend-mode:multiply;
}

/* ---- carousel rows ---- */
.plans__rows{ position:relative; display:flex; flex-direction:column; min-width:0; }

/* beside the master plan the column is narrow, so each row shows one plan
   at a time (main.js reads this); stacked, the rows go back to auto */
@media (min-width:1101px){
  .plans__rows{ --pl-per-page:1; }
  .plans__rows .pcard img{ max-height:clamp(150px,22vh,220px); }

  /* Both columns stretch to the taller one, so the 3 BHK panel and the
     master plan always end on the same line. The spare height goes into
     the cards: the plan images sit centred in whatever room is left. */
  .plans__grid{ align-items:stretch; }
  .plans__main{ display:flex; flex-direction:column; }
  .mplan{ flex:1; display:flex; flex-direction:column; }
  .mplan img{ margin:auto 0; }

  .prow{ flex:1; display:flex; flex-direction:column; }
  .prow__body{ flex:1; display:flex; flex-direction:column; }
  .prow__viewport{ flex:1; display:flex; }
  .prow__track{ flex:none; }
  .plans__rows .pcard img{ margin:auto 0; }
}

/* ---- sliding layout-type strip ----
   One green bar that travels to whichever layout row is active, so the eye is
   told which of the two types it is reading. main.js sets --y and --h from the
   live row box, which keeps it correct at any breakpoint. */
.plans__strip{
  position:absolute;
  left:0;
  top:0;
  width:3px;
  height:var(--h,0px);
  border-radius:3px;
  background:var(--pl-green);
  transform:translateY(var(--y,0px));
  opacity:0;
  transition:transform .5s cubic-bezier(.22,.61,.36,1),
             height .5s cubic-bezier(.22,.61,.36,1),
             background-color .4s ease,
             opacity .4s ease;
  pointer-events:none;
  z-index:2;
}
.plans__rows.is-armed .plans__strip{ opacity:1; }
/* the gold row keeps its own colour, so the strip agrees with the ribbon */
.plans__strip.is-gold{ background:var(--pl-orange); }

@media (prefers-reduced-motion:reduce){
  .plans__strip{ transition:opacity .3s ease; }
}

.prow{
  position:relative;
  border:1px solid var(--pl-panel-line);
  border-right:0;
  border-radius:14px 0 0 14px;
  background:var(--pl-panel);
  padding:clamp(14px,2.4vh,22px) 0 clamp(12px,2vh,18px);
}

/* head: ribbon on the left, the layout icon on the right */
.prow__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-right:var(--pl-pad);
}

/* ribbon */
.prow__ribbon{
  display:inline-block;
  margin-left:-1px;
  padding:clamp(7px,1.2vh,11px) clamp(26px,2.6vw,38px) clamp(7px,1.2vh,11px) clamp(16px,1.7vw,26px);
  font-size:clamp(11px,1.02vw,15px);
  font-weight:600;
  letter-spacing:.16em;
  color:#FBF7EF;
  clip-path:polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}
.prow--green .prow__ribbon{ background:var(--pl-green); }
.prow--gold  .prow__ribbon{ background:var(--pl-orange); }

.prow__body{
  position:relative;
  margin-top:clamp(10px,2vh,20px);
  padding:0 var(--pl-pad);
}

.prow__icon{ width:clamp(26px,2.5vw,36px); height:auto; }
.prow--green .prow__icon{ color:var(--pl-green); }
.prow--gold  .prow__icon{ color:var(--pl-orange); }

/* foot: page dots on the left, the Explore pill on the right */
.prow__foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:clamp(10px,1.9vh,18px);
  padding:0 var(--pl-pad);
}

.prow__cta{
  display:inline-flex;
  align-items:center;
  gap:clamp(8px,1vw,16px);
  font-size:clamp(8.5px,.72vw,10.5px);
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.prow__cta svg{ width:clamp(16px,1.6vw,24px); height:10px; transition:transform .3s ease; }
.prow__cta:hover svg{ transform:translateX(5px); }
.prow--green .prow__cta{ color:var(--pl-green); }
.prow--gold  .prow__cta{ color:var(--pl-orange-2); }

/* track */
.prow__viewport{ overflow:hidden; min-width:0; }
.prow__track{
  display:flex;
  gap:clamp(10px,1.15vw,17px);
  transition:transform .55s cubic-bezier(.3,.7,.2,1);
  will-change:transform;
}

.pcard{
  flex:0 0 var(--pcard-w, 228px);
  display:flex;
  flex-direction:column;
  border:1px solid var(--pl-card-line);
  border-radius:12px;
  background:var(--pl-card);
  padding:clamp(10px,1.7vh,16px) clamp(10px,1vw,15px) clamp(12px,2vh,18px);
  transition:box-shadow .3s ease, border-color .3s ease, transform .3s ease;
}
.pcard:hover{
  border-color:var(--pl-card-line-2);
  box-shadow:0 8px 26px rgba(120,96,58,.10);
  transform:translateY(-2px);
}

.pcard__head{ display:flex; flex-direction:column; gap:4px; }
.pcard__type{
  font-size:clamp(8.5px,.73vw,11px);
  font-weight:600;
  letter-spacing:.17em;
  text-transform:uppercase;
  color:var(--pl-gold);
}
.pcard__face,
.pcard__sba{
  font-size:clamp(9.5px,.8vw,12px);
  font-weight:500;
  color:var(--pl-ink-2);
}

.pcard img{
  width:100%;
  height:auto;
  max-height:clamp(160px,30vh,268px);
  object-fit:contain;
  margin-top:clamp(8px,1.6vh,14px);
  mix-blend-mode:multiply;
}

/* the closing "coming soon" tile */
.pcard--soon{
  align-items:center;
  justify-content:center;
  text-align:center;
  background:var(--pl-soon);
  border-style:dashed;
}
.pcard--soon p{
  margin:0;
  font-size:clamp(10px,.86vw,12.5px);
  line-height:1.75;
  color:var(--pl-body);
}
.pcard__rule{ display:block; width:26px; height:1px; margin-top:14px; background:var(--pl-gold-3); }

/* arrows */
.pnav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  display:grid;
  place-items:center;
  width:clamp(30px,2.6vw,37px);
  height:clamp(30px,2.6vw,37px);
  border-radius:50%;
  color:#FBF7EF;
  box-shadow:0 4px 14px rgba(60,48,28,.24);
  transition:opacity .25s ease, transform .25s ease;
}
.pnav svg{ width:14px; height:14px; }
/* the arrows straddle the card edges */
.pnav--prev{ left:calc(var(--pl-pad) / 2 - 4px); }
.pnav--next{ right:calc(var(--pl-pad) / 2 - 4px); }
.prow--green .pnav{ background:var(--pl-green-2); }
.prow--gold  .pnav{ background:var(--pl-orange); }
.pnav:disabled{ opacity:.32; pointer-events:none; }

/* dots */
.prow__dots{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.prow__dots button{
  width:6px; height:6px;
  border-radius:50%;
  background:var(--pl-dot);
  transition:background-color .25s ease, transform .25s ease;
}
.prow__dots button.is-on{ transform:scale(1.15); }
.prow--green .prow__dots button.is-on{ background:var(--pl-green-2); }
.prow--gold  .prow__dots button.is-on{ background:var(--pl-orange); }
.prow--gold  .pcard__type{ color:var(--pl-orange-2); }

/* divider between the two rows */
.plans__sep{
  display:flex;
  align-items:center;
  gap:clamp(10px,1.4vw,20px);
  margin:clamp(12px,2.2vh,22px) clamp(6px,.8vw,14px) clamp(12px,2.2vh,22px) 0;
  color:var(--pl-gold-3);
}
.plans__sep span{ flex:1; height:1px; background:rgba(176,140,80,.26); }
.plans__sep svg{ width:40px; height:14px; flex:none; }

/* footnote */
.plans__note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:clamp(18px,3vh,30px) auto 0;
  padding:0 clamp(16px,3.1vw,42px);
  font-size:clamp(9.5px,.82vw,12px);
  color:var(--pl-body);
}
.plans__note svg{ width:20px; height:16px; flex:none; color:var(--pl-gold-3); }

/* =========================================================
   LOCATION — landmark lists beside a live map (refernce: client mock)
   Cream cards on the left, the Leaflet map (OpenStreetMap tiles) on the right with its filter
   tabs, zoom and recentre floating over it, and a highlights bar under it.
   assets/js/location.js builds the pins and wires the interactions.
   ========================================================= */

.loc{
  --lc-bg:#F4EDE3;
  --lc-card:#FBF8F3;
  --lc-line:#E8DDCB;
  --lc-chip:#ECDFC8;
  --lc-ink:#1F1E1B;
  --lc-body:#4E483F;
  --lc-gold:#8F6A35;
  --lc-gold-2:#B08A4E;
  --lc-dark:#1C1B19;
  --lc-green:#26402A;          /* icons — the site's deep forest green */
  --lc-shadow:0 10px 30px rgba(90,68,36,.08), 0 1px 2px rgba(90,68,36,.06);

  background:var(--lc-bg);
  padding:clamp(48px,8vh,96px) clamp(16px,3.1vw,42px);
  scroll-margin-top:var(--header-h);
  overflow:hidden;
}

.loc__grid{
  max-width:var(--wrap-max);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(330px,31%) 1fr;
  gap:clamp(14px,1.4vw,22px);
}

/* ---- left column ---- */
.loc__side{
  display:flex;
  flex-direction:column;
  gap:clamp(10px,1vw,14px);
}

.loc__intro,
.loc__card{
  position:relative;
  background:var(--lc-card);
  border:1px solid var(--lc-line);
  border-radius:20px;
  box-shadow:var(--lc-shadow);
}

.loc__intro{
  padding:clamp(24px,2.4vw,36px) clamp(22px,2.2vw,34px) clamp(22px,2.2vw,30px);
}
.loc__eyebrow{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  font-size:clamp(10px,.8vw,12px);
  font-weight:600;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--lc-gold);
}
.loc__eyebrow::after{ content:""; width:16px; height:1px; background:currentColor; }

.loc__title{
  margin:clamp(12px,1.6vh,18px) 0 0;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:500;
  font-size:clamp(38px,3.6vw,60px);
  line-height:1.02;
  letter-spacing:-.02em;
  color:var(--lc-ink);
}
.loc__title em{ display:block; font-style:normal; color:var(--lc-gold); }

.loc__lede{
  margin:clamp(14px,2vh,20px) 0 0;
  max-width:30em;
  padding-right:64px;            /* keeps clear of the arrow badge */
  font-size:clamp(13px,1vw,15px);
  line-height:1.6;
  color:var(--lc-body);
}
.loc__intro-icon{
  position:absolute;
  right:clamp(20px,2vw,30px);
  top:clamp(108px,9.6vw,140px);
  display:grid; place-items:center;
  width:48px; height:48px;
  border-radius:50%;
  background:var(--lc-chip);
  color:var(--lc-green);
}
.loc__intro-icon svg{ width:20px; height:20px; }

/* landmark cards: icon disc + title + numbered rows */
.loc__card{
  display:grid;
  grid-template-columns:auto 1fr;
  column-gap:clamp(12px,1.2vw,18px);
  padding:clamp(16px,1.4vw,22px) clamp(18px,1.8vw,28px) clamp(16px,1.4vw,20px) clamp(16px,1.4vw,22px);
  transition:opacity .3s ease, transform .3s ease;
}
.loc__card.is-dim{ opacity:.42; }

.loc__card-icon{
  display:grid; place-items:center;
  width:clamp(44px,3.6vw,54px); height:clamp(44px,3.6vw,54px);
  border-radius:50%;
  background:var(--lc-chip);
  border:1px solid #E0CCA8;
  color:var(--lc-green);
}
.loc__card-icon svg{ width:52%; height:52%; }

.loc__card-title{
  margin:4px 0 clamp(8px,1vh,12px);
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:600;
  font-size:clamp(20px,1.6vw,25px);
  line-height:1.15;
  color:var(--lc-ink);
}

.loc__list{ list-style:none; margin:0; padding:0; }
.loc__list li{
  display:grid;
  grid-template-columns:20px 1fr auto;
  align-items:center;
  column-gap:clamp(10px,1vw,16px);
  padding:5px 6px;
  margin:0 -6px;
  border-radius:8px;
  font-size:clamp(12.5px,.95vw,14.5px);
  color:var(--lc-body);
  cursor:pointer;
  transition:background-color .2s ease, color .2s ease;
}
/* the row's number matches its pin on the map */
.loc__list li::before{
  content:attr(data-n);
  display:grid; place-items:center;
  width:18px; height:18px;
  border-radius:50%;
  background:var(--lc-green);
  color:#FFF8EC;
  font-size:9.5px;
  font-weight:700;
  transition:background-color .2s ease, transform .2s ease;
}
.loc__time{ white-space:nowrap; color:var(--lc-ink); }
.loc__list li:hover,
.loc__list li.is-hot,
.loc__list li.is-sel{ background:rgba(176,138,78,.12); color:var(--lc-ink); }
.loc__list li.is-hot::before,
.loc__list li.is-sel::before{ background:var(--lc-gold); transform:scale(1.12); }
.loc__list li:focus-visible{ outline:2px solid var(--lc-gold-2); outline-offset:1px; }

/* ---- right column: map + bar ---- */
.loc__main{
  display:flex;
  flex-direction:column;
  gap:clamp(10px,1vw,14px);
  min-width:0;
}

.loc__mapwrap{
  position:relative;
  flex:1;
  min-height:clamp(460px,62vh,720px);
  border-radius:26px;
  overflow:hidden;
  border:1px solid var(--lc-line);
  box-shadow:var(--lc-shadow);
  background:#EFE6D6;            /* shows while tiles load / if offline */
  isolation:isolate;             /* Leaflet's z-indexes stay inside the card */
}
.loc__map{ position:absolute; inset:0; z-index:0; }

/* soften the OpenStreetMap tiles towards the site's cream-and-gold */
.loc__map .leaflet-tile-pane{ filter:sepia(.3) saturate(.7) brightness(1.03) contrast(.94); }
.loc__map.leaflet-container{ background:#EFE6D6; font-family:inherit; }

/* filter tabs */
.loc__tabs{
  position:absolute;
  z-index:3;
  top:clamp(12px,1.4vw,20px);
  left:clamp(12px,1.4vw,20px);
  max-width:calc(100% - 2 * clamp(12px,1.4vw,20px));
  display:flex;
  gap:2px;
  padding:5px;
  border-radius:999px;
  background:rgba(253,251,247,.96);
  box-shadow:0 6px 20px rgba(40,30,15,.12);
  overflow-x:auto;
  scrollbar-width:none;
}
.loc__tabs::-webkit-scrollbar{ display:none; }
.loc__tab{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px clamp(12px,1.1vw,18px);
  border-radius:999px;
  font:inherit;
  font-size:clamp(12px,.9vw,13.5px);
  font-weight:500;
  color:var(--lc-ink);
  white-space:nowrap;
  transition:background-color .25s ease, color .25s ease;
}
.loc__tab svg{ width:17px; height:17px; flex:none; color:var(--lc-green); }
.loc__tab:hover{ background:rgba(176,138,78,.12); }
.loc__tab.is-on{ background:var(--lc-green); color:#FFF8EC; }
.loc__tab.is-on svg{ color:inherit; }
.loc__tab:focus-visible{ outline:2px solid var(--lc-gold-2); outline-offset:2px; }

/* zoom + recentre */
.loc__zoom{
  position:absolute;
  z-index:3;
  left:clamp(12px,1.4vw,20px);
  bottom:clamp(14px,1.6vw,24px);
  display:flex;
  flex-direction:column;
  border-radius:14px;
  background:rgba(253,251,247,.96);
  box-shadow:0 6px 20px rgba(40,30,15,.12);
  overflow:hidden;
}
.loc__ctl{
  display:grid; place-items:center;
  width:42px; height:42px;
  color:var(--lc-green);
  transition:background-color .2s ease;
}
.loc__ctl + .loc__ctl{ border-top:1px solid var(--lc-line); }
.loc__ctl svg{ width:18px; height:18px; }
.loc__ctl:hover{ background:rgba(176,138,78,.12); }

.loc__recenter{
  position:absolute;
  z-index:3;
  right:clamp(12px,1.4vw,20px);
  bottom:clamp(14px,1.6vw,24px);
  display:grid; place-items:center;
  width:48px; height:48px;
  border-radius:50%;
  background:rgba(253,251,247,.98);
  color:var(--lc-green);
  box-shadow:0 6px 20px rgba(40,30,15,.16);
  transition:transform .25s ease;
}
.loc__recenter svg{ width:20px; height:20px; }
.loc__recenter:hover{ transform:translateY(-2px); }
.loc__ctl:focus-visible,
.loc__recenter:focus-visible{ outline:2px solid var(--lc-gold-2); outline-offset:2px; }

/* ---- map markers (built by location.js as Leaflet divIcons) ---- */
.loc-mk{ background:none; border:0; }
.loc-pin__dot{
  display:grid; place-items:center;
  width:30px; height:30px;
  border-radius:50%;
  background:var(--lc-green, #26402A);
  border:2px solid #FFFDF8;
  box-shadow:0 3px 10px rgba(0,0,0,.28);
  color:#FFFDF8;
  font:600 12px/1 "Urbanist", Arial, sans-serif;
  transition:transform .2s ease, background-color .2s ease;
}
.loc-mk:hover .loc-pin__dot,
.loc-mk.is-hot .loc-pin__dot{ background:#A9803F; transform:scale(1.18); }

/* the project: a gold-ringed dark drop with the building mark, pulsing;
   its point sits on the spot */
.loc-mk-home{ background:none; border:0; }
.loc-home__pin{
  position:absolute;
  left:4px; top:0;
  display:grid; place-items:center;
  width:44px; height:44px;
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
  background:#26402A;
  border:2px solid #C9A86A;
  box-shadow:0 8px 18px rgba(0,0,0,.3);
}
.loc-home__pin svg{
  width:22px; height:22px;
  transform:rotate(45deg);
  color:#D9B877;
}
.loc-home__pulse{
  position:absolute;
  left:50%; bottom:-6px;
  width:64px; height:64px;
  margin-left:-32px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(214,170,96,.55), rgba(214,170,96,0) 68%);
  animation:loc-pulse 2.4s ease-out infinite;
  pointer-events:none;
}
@keyframes loc-pulse{
  0%  { transform:scale(.55); opacity:.9; }
  100%{ transform:scale(1.35); opacity:0; }
}

/* labels: Leaflet tooltips, restyled as cream cards */
.loc-ltip.leaflet-tooltip{
  padding:8px 12px;
  border:1px solid #E8DDCB;
  border-radius:10px;
  background:#FBF8F3;
  box-shadow:0 6px 18px rgba(40,30,15,.14);
  font-family:"Urbanist", Arial, sans-serif;
  font-size:12.5px;
  line-height:1.3;
  color:#1F1E1B;
  text-align:center;
}
.loc-ltip strong{ display:block; font-weight:600; }
.loc-ltip em{ display:block; margin-top:2px; font-style:normal; color:#8F6A35; }
.loc-ltip.leaflet-tooltip-top::before{ border-top-color:#FBF8F3; }
/* the project's own label: always on, dark with gold lettering */
.loc-ltip--home.leaflet-tooltip{
  padding:7px 14px;
  border-color:#C9A86A;
  background:#1C1B19;
  color:#E9CF98;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:15px;
  letter-spacing:.02em;
}
.loc-ltip--home.leaflet-tooltip-top::before{ border-top-color:#C9A86A; }

/* OpenStreetMap's required credit, kept off the map itself */
.loc__credit{
  margin:-4px 6px 0 0;
  text-align:right;
  font-size:10.5px;
  letter-spacing:.02em;
  color:#9A9184;
}
.loc__credit a{ color:inherit; text-decoration:underline; text-underline-offset:2px; }
.loc__credit a:hover{ color:var(--lc-gold); }

/* ---- highlights bar ---- */
.loc__bar{
  display:flex;
  align-items:center;
  gap:clamp(12px,1.6vw,26px);
  padding:clamp(12px,1.2vw,16px) clamp(14px,1.4vw,18px) clamp(12px,1.2vw,16px) clamp(20px,2vw,30px);
  border:1px solid var(--lc-line);
  border-radius:24px;
  background:var(--lc-card);
  box-shadow:var(--lc-shadow);
}
.loc__perk{
  display:flex;
  align-items:center;
  gap:12px;
  padding-right:clamp(12px,1.6vw,26px);
  border-right:1px solid var(--lc-line);
  font-size:clamp(12.5px,.95vw,14.5px);
  line-height:1.35;
  color:var(--lc-ink);
}
.loc__perk svg{ width:clamp(26px,2.1vw,32px); height:clamp(26px,2.1vw,32px); flex:none; color:var(--lc-green); }

.loc__cta{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  gap:14px;
  padding:clamp(13px,1.1vw,16px) clamp(22px,2vw,32px);
  border-radius:999px;
  background:var(--lc-dark);
  border:1.5px solid #C9A86A;
  color:#FFF8EC;
  font-size:clamp(13px,1vw,15px);
  font-weight:500;
  white-space:nowrap;
  transition:background-color .25s ease, transform .25s ease;
}
.loc__cta svg{ width:18px; height:18px; transition:transform .25s ease; }
.loc__cta:hover{ background:#2B2925; transform:translateY(-1px); }
.loc__cta:hover svg{ transform:translateX(3px); }

@media (prefers-reduced-motion: reduce){
  .loc-home__pulse{ animation:none; opacity:.6; }
}

/* ---- desktop: the whole section is exactly one screen under the header ----
   The grid fills the viewport height, the map stretches to whatever the bar
   leaves, and the landmark column is compacted to fit; on short screens it
   scrolls inside itself rather than pushing the section taller. */
@media (min-width:1101px){
  .loc{
    height:calc(100vh - var(--header-h));
    height:calc(100svh - var(--header-h));
    min-height:560px;
    padding-block:clamp(16px,2.6vh,32px);
    display:flex;
  }
  .loc__grid{ flex:1; width:100%; min-height:0; }
  .loc__side{
    min-height:0;
    overflow-y:auto;
    scrollbar-width:thin;
    gap:clamp(8px,1.1vh,12px);
  }
  .loc__main{ min-height:0; }
  .loc__mapwrap{ min-height:0; }

  .loc__intro{ padding:clamp(16px,2.4vh,28px) clamp(20px,1.8vw,28px); }
  .loc__title{ font-size:clamp(34px,min(3vw,5.4vh),52px); margin-top:clamp(8px,1.2vh,14px); }
  .loc__lede{ margin-top:clamp(8px,1.4vh,14px); }
  .loc__intro-icon{ top:auto; bottom:clamp(16px,2.4vh,26px); width:42px; height:42px; }
  .loc__card{ padding:clamp(10px,1.5vh,18px) clamp(18px,1.6vw,24px) clamp(10px,1.4vh,16px) clamp(14px,1.2vw,18px); }
  .loc__card-icon{ width:clamp(38px,5vh,48px); height:clamp(38px,5vh,48px); }
  .loc__card-title{ margin:2px 0 clamp(4px,.8vh,8px); font-size:clamp(18px,min(1.4vw,2.6vh),23px); }
  .loc__list li{ padding-block:clamp(2px,.45vh,5px); }
}

/* ---- tablets & phones: one column — intro, map, then the lists ---- */
@media (max-width:1100px){
  .loc__grid{ grid-template-columns:1fr; }
  .loc__side{ display:contents; }
  .loc__intro{ order:1; }
  .loc__main{ order:2; }
  .loc__card{ order:3; }
  .loc__intro-icon{ top:auto; bottom:clamp(20px,2.2vw,30px); }
  .loc__mapwrap{ flex:none; height:clamp(460px,62vh,720px); }
}

@media (max-width:860px){
  .loc{ padding:44px 16px 52px; }
  .loc__mapwrap{ height:460px; min-height:0; border-radius:20px; }
  .loc__tab{ padding:8px 12px; font-size:12.5px; }
  .loc__tab svg{ width:15px; height:15px; }

  .loc__bar{ flex-wrap:wrap; justify-content:space-between; padding:16px; gap:12px 8px; }
  .loc__perk{ flex:1 1 0; flex-direction:column; text-align:center; gap:6px; padding-right:8px; font-size:12px; }
  .loc__perk:nth-child(3){ border-right:0; padding-right:0; }
  .loc__cta{ flex:1 0 100%; justify-content:center; margin-left:0; }
  .loc__list li{ font-size:14px; padding-block:7px; }
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact{
  background:var(--ct-bg);
  padding:0 0 clamp(20px,3.4vh,34px);
  scroll-margin-top:var(--header-h);
  overflow:hidden;
}

/* ---- top band ---- */
.ctband{
  position:relative;
  min-height:clamp(300px,46vh,400px);
  display:flex;
  align-items:center;
}

/* RERA label: frosted pill over the lower part of the building render */
.ctband__rera{
  position:absolute;
  z-index:2;
  left:64%;
  bottom:clamp(14px,2.6vh,24px);
  transform:translateX(-50%);
  margin:0;
  padding:7px 16px;
  border:1px solid var(--ct-line);
  border-radius:999px;
  background:rgba(250,244,236,.9);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  box-shadow:0 6px 20px rgba(60,44,26,.18);
  font-size:clamp(10px,.8vw,12px);
  letter-spacing:.04em;
  line-height:1.4;
  color:var(--ct-ink-2);
  white-space:nowrap;
}
.ctband__rera span{
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ct-gold-2);
}
@media (max-width:860px){
  .ctband__rera{ display:none; }   /* phones: the tiles slide over the render */
}

.ctband__visual{ position:absolute; inset:0; pointer-events:none; }
.ctband__visual img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 42%;
  display:block;
}
/* fade the render out to the left so the headline sits on clean cream */
.ctband__visual::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg,
    var(--ct-bg) 0%, var(--ct-bg) 20%,
    rgba(247,238,228,.86) 34%, rgba(247,238,228,.18) 52%, rgba(247,238,228,0) 66%);
}

.ctband__inner{
  position:relative;
  z-index:2;
  width:100%;
  max-width:var(--wrap-max);
  margin:0 auto;
  padding:clamp(28px,5vh,52px) clamp(16px,3.1vw,42px);
  display:grid;
  grid-template-columns:1fr auto;
  gap:clamp(16px,2vw,32px);
  align-items:center;
}

.ctband__text .rule--xs{ background:var(--ct-gold); margin-top:clamp(9px,1.7vh,15px); }

.ct-title{
  position:relative;
  display:inline-block;
  margin:clamp(16px,3vh,28px) 0 0;
  font-family:"Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight:400;
  font-size:clamp(30px,3.66vw,52px);
  line-height:1.16;
  letter-spacing:-.0215em;
  color:var(--ct-ink);
}
.ct-title em{ font-style:normal; color:var(--ct-gold-2); }

.ct-spark{
  position:absolute;
  top:-.55em; right:-1.5em;
  width:clamp(26px,2.9vw,42px);
  height:auto;
  color:var(--ct-gold-3);
}

.ct-lead{
  margin:clamp(14px,2.6vh,24px) 0 0;
  font-size:clamp(11px,.95vw,13.5px);
  line-height:1.7;
  color:var(--ct-body);
}

.ct-leaf{
  display:block;
  width:clamp(74px,8vw,112px);
  height:auto;
  margin:clamp(6px,1.2vh,14px) 0 0 clamp(60px,10vw,150px);
  color:var(--ct-gold-3);
}

/* relationship-manager card */
.ctrm{
  width:clamp(200px,17.5vw,240px);
  padding:clamp(16px,2.6vh,24px) clamp(14px,1.4vw,22px);
  border:1px solid var(--ct-line);
  border-radius:14px;
  background:rgba(250,244,236,.94);
  backdrop-filter:blur(6px);
  box-shadow:0 10px 34px rgba(96,74,44,.14);
}
.ctrm__top{ display:flex; align-items:flex-start; gap:10px; }
.ctrm__top svg{ width:clamp(22px,2vw,28px); height:auto; flex:none; color:var(--ct-gold); }
.ctrm__top p{
  margin:0;
  font-size:clamp(10px,.83vw,12px);
  line-height:1.6;
  color:var(--ct-ink-2);
}

.ctrm__phone{
  display:block;
  margin-top:clamp(12px,2.2vh,20px);
  font-size:clamp(16px,1.55vw,22px);
  font-weight:600;
  letter-spacing:.01em;
  color:var(--ct-gold-2);
}
.ctrm__hours{
  margin:clamp(6px,1.1vh,10px) 0 0;
  font-size:clamp(9px,.78vw,11.5px);
  color:var(--ct-ink-2);
}
.ctrm__rule{ display:block; width:28px; height:1px; margin:clamp(10px,1.9vh,18px) 0; background:var(--ct-gold-3); }
.ctrm__note{
  margin:0;
  font-size:clamp(9.5px,.8vw,12px);
  line-height:1.65;
  color:var(--ct-body);
}

/* ---- three panels ---- */
.ctgrid{
  max-width:var(--wrap-max);
  margin:0 auto;
  padding:0 clamp(16px,3.1vw,42px);
  display:grid;
  grid-template-columns:341fr 477fr 428fr;
  gap:clamp(12px,1.8vw,24px);
  align-items:start;
}

.ctpanel{
  border:1px solid var(--ct-line);
  border-radius:14px;
  background:var(--ct-card);
  padding:clamp(14px,2.4vh,22px) clamp(12px,1.3vw,20px) clamp(16px,2.6vh,24px);
  box-shadow:0 4px 18px rgba(120,96,58,.05);
}

.ctpanel__h{
  margin:0;
  font-size:clamp(10px,.86vw,12.5px);
  font-weight:600;
  letter-spacing:.19em;
  text-transform:uppercase;
  color:var(--ct-gold);
}
.ctpanel .rule--xs{ background:var(--ct-gold-3); margin-top:clamp(7px,1.3vh,12px); }

/* get in touch */
.ctlist{ margin-top:clamp(10px,1.9vh,18px); }
.ctlist li{
  display:flex;
  gap:clamp(9px,1vw,15px);
  padding:clamp(9px,1.6vh,15px) 0;
}
.ctlist li + li{ border-top:1px solid var(--ct-line); }

.ctlist__ic{
  flex:none;
  display:grid;
  place-items:center;
  width:clamp(28px,2.6vw,36px);
  height:clamp(28px,2.6vw,36px);
  border-radius:50%;
  background:var(--ct-gold);
  color:#FBF6EC;
}
.ctlist__ic svg{ width:52%; height:52%; }

.ctlist strong{
  display:block;
  margin-bottom:2px;
  font-size:clamp(10px,.83vw,12px);
  font-weight:600;
  color:var(--ct-ink);
}
/* scoped to the text column so it cannot override .ctlist__ic's display */
.ctlist li > div > a,
.ctlist li > div > span{
  display:block;
  font-size:clamp(9.5px,.8vw,11.5px);
  line-height:1.6;
  color:var(--ct-body);
}
.ctlist li > div > a:hover{ color:var(--ct-gold-2); }

/* map — a real, live embed of the project's exact Google Maps location */
.ctmap{
  position:relative;
  display:block;
  margin-top:clamp(10px,1.9vh,18px);
  border:1px solid var(--ct-line);
  border-radius:10px;
  overflow:hidden;
  background:#F3ECE0;
}
.ctmap__frame{
  display:block;
  width:100%;
  height:clamp(220px,26vw,300px);
  border:0;
  /* the photo pin is laid over the map's centre, so the map must not be
     dragged out from under it; "Get Directions" opens the live map */
  pointer-events:none;
}

/* the site pin: a round photo of the tower with a point at its foot, the
   tip resting on the map's centre (the site), and the name above it */
.ctmap__pin{
  position:absolute;
  left:50%; top:50%;
  transform:translate(-50%,-100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  pointer-events:none;
}
.ctmap__pin-label{
  padding:4px 11px;
  border-radius:100px;
  background:#FBF6EC;
  color:var(--ct-gold);
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:14px;
  font-weight:500;
  letter-spacing:.02em;
  white-space:nowrap;
  box-shadow:0 4px 12px rgba(60,48,28,.22);
}
.ctmap__pin-photo{
  position:relative;
  width:56px; height:56px;
  margin-bottom:10px;              /* room for the point below */
  border:3px solid var(--ct-gold);
  border-radius:50%;
  background:#FBF6EC;
  box-shadow:0 6px 16px rgba(60,48,28,.30);
}
.ctmap__pin-photo img{
  width:100%; height:100%;
  border-radius:50%;
  object-fit:cover;
  object-position:center 30%;
  display:block;
}
.ctmap__pin-photo::after{
  content:"";
  position:absolute;
  left:50%; top:100%;
  transform:translateX(-50%);
  border:7px solid transparent;
  border-top:10px solid var(--ct-gold);
  border-bottom:0;
}

.ctmap__cue{
  position:absolute;
  left:50%; bottom:14px;
  transform:translate(-50%,0);
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 16px;
  border-radius:100px;
  background:var(--ct-gold);
  color:#FBF6EC;
  font-size:12px;
  font-weight:600;
  letter-spacing:.04em;
  white-space:nowrap;
  box-shadow:0 6px 18px rgba(60,48,28,.25);
  transition:transform .2s ease, box-shadow .2s ease;
}
.ctmap__cue svg{ width:15px; height:15px; }
.ctmap__cue:hover,
.ctmap__cue:focus-visible{
  transform:translate(-50%,-2px);
  box-shadow:0 10px 22px rgba(60,48,28,.32);
}

/* form */
.ctform{ margin-top:clamp(10px,1.9vh,18px); display:flex; flex-direction:column; gap:clamp(7px,1.2vh,11px); }
.ctform__row{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(7px,.8vw,11px); }

.ctform input,
.ctform select,
.ctform textarea{
  width:100%;
  padding:clamp(8px,1.5vh,13px) clamp(9px,1vw,14px);
  border:1px solid var(--ct-input-line);
  border-radius:7px;
  background:var(--ct-input);
  font-family:inherit;
  font-size:clamp(10px,.83vw,12.5px);
  color:var(--ct-ink);
  transition:border-color .2s ease, box-shadow .2s ease;
}
.ctform textarea{ resize:vertical; min-height:clamp(78px,13vh,120px); }
.ctform textarea[hidden]{ display:none; }
.ctform select{
  -webkit-appearance:none;
  appearance:none;
  cursor:pointer;
  padding-right:clamp(28px,2.4vw,36px);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9803F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right clamp(9px,1vw,14px) center;
  background-size:14px;
}
.ctform select:invalid{ color:#A9A199; }   /* placeholder option showing */
.ctform select option{ color:var(--ct-ink); }
.ctform input::placeholder,
.ctform textarea::placeholder{ color:#A9A199; }
.ctform input:focus,
.ctform select:focus,
.ctform textarea:focus{
  outline:none;
  border-color:var(--ct-gold-3);
  box-shadow:0 0 0 3px rgba(169,128,63,.12);
}
.ctform input.is-bad,
.ctform select.is-bad,
.ctform textarea.is-bad{ border-color:#C0785F; background-color:#FBF0EA; }

.ctsend{
  width:100%;
  padding:clamp(9px,1.7vh,14px);
  border-radius:7px;
  background:var(--ct-btn);
  color:#FCF7EE;
  font-size:clamp(9.5px,.8vw,12px);
  font-weight:600;
  letter-spacing:.17em;
  text-transform:uppercase;
  transition:background-color .25s ease, transform .2s ease;
}
.ctsend:hover{ background:#96703F; transform:translateY(-1px); }

.ctform__msg{
  margin:0;
  min-height:1.2em;
  font-size:clamp(9.5px,.78vw,11.5px);
  color:var(--ct-gold-2);
}
.ctform__msg.is-bad{ color:#B5573C; }

.ctquick{
  margin-top:clamp(8px,1.5vh,14px);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(7px,.8vw,11px);
}
.ctquick__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:clamp(8px,1.5vh,12px);
  border:1px solid var(--ct-gold-3);
  border-radius:7px;
  background:transparent;
  color:var(--ct-gold-2);
  font-size:clamp(9.5px,.8vw,12px);
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  transition:background-color .2s ease, color .2s ease, transform .2s ease;
}
.ctquick__btn svg{ width:15px; height:15px; }
.ctquick__btn:hover{ background:var(--ct-gold-3); color:#FCF7EE; transform:translateY(-1px); }
.ctquick__btn--wa:hover{ background:#25D366; border-color:#25D366; color:#fff; }

.ctfollow{
  display:flex;
  align-items:center;
  gap:clamp(7px,.8vw,12px);
  margin-top:clamp(12px,2.2vh,20px);
}
.ctfollow > span{
  margin-right:auto;
  font-size:clamp(8.5px,.72vw,10.5px);
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ct-ink-2);
}
.ctfollow a{
  display:grid;
  place-items:center;
  width:clamp(24px,2.1vw,30px);
  height:clamp(24px,2.1vw,30px);
  border:1px solid var(--ct-ink-2);
  border-radius:50%;
  color:var(--ct-ink-2);
  transition:background-color .25s ease, color .25s ease, border-color .25s ease;
}
.ctfollow a svg{ width:54%; height:54%; }
.ctfollow a:hover{ background:var(--ct-gold); border-color:var(--ct-gold); color:#FBF6EC; }

/* ---- closing ornament ---- */
.ctfoot2{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(8px,1.2vw,18px);
  max-width:var(--wrap-max);
  margin:clamp(20px,3.4vh,34px) auto 0;
  padding:0 clamp(16px,3.1vw,42px);
  color:var(--ct-gold-3);
}
.ctfoot2 span{ width:clamp(60px,14vw,190px); height:1px; background:rgba(176,140,80,.26); }
.ctfoot2 svg{ width:70px; height:12px; flex:none; }

/* =========================================================
   DARK-THEME ADJUSTMENTS
   Floor plans now sits on the deep-green scale, so the few rules that
   assumed a cream background are corrected here.
   ========================================================= */

.plans .eyebrow--wide{ color:var(--pl-gold); }
.plans__sep span{ background:var(--dk-line); }
.pcard:hover{ box-shadow:0 12px 32px rgba(0,0,0,.32); }
.prow{ box-shadow:inset 0 0 0 1px rgba(255,255,255,.02); }

/* ---- dark pill buttons ----
   EXPLORE PROJECT sits on cream, so it takes the solid dark-green fill;
   EXPLORE n BHK sits on a dark panel, so it inverts. */
.explore{
  align-self:flex-start;
  gap:clamp(12px,1.4vw,20px);
  padding:clamp(11px,1.9vh,16px) clamp(18px,1.9vw,28px);
  border-radius:100px;
  background:var(--dk);
  color:#F1EEE4;
  transition:background-color .28s ease, transform .25s ease, box-shadow .28s ease;
}
.explore:hover{
  background:#16261A;
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(30,51,32,.28);
}

.explore__arrow{ color:var(--dk-gold); width:clamp(30px,2.6vw,40px); }

/* plans CTA: light pill on the dark panel */
.prow__cta{
  flex:none;
  padding:clamp(8px,1.4vh,12px) clamp(12px,1.3vw,18px);
  border-radius:100px;
  background:#F4F1E7;
  white-space:nowrap;
  letter-spacing:.1em;
  gap:clamp(6px,.7vw,11px);
  transition:background-color .28s ease, transform .25s ease;
}
.prow__cta svg{ width:clamp(14px,1.25vw,19px); }
.prow__cta:hover{ background:#FFFFFF; transform:translateY(-2px); }
.prow--green .prow__cta{ color:#24401F; }
.prow--gold  .prow__cta{ color:#6E4E1C; }

/* ---- dark card edges ---- */
/* on the dark panel a dark edge would vanish, so the plan cards take gold */
.pcard:not(.pcard--soon){ border-left:3px solid var(--pl-gold); }

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer{ background:var(--dk); color:var(--dk-body); }

.foot__main{
  max-width:var(--wrap-max);
  margin:0 auto;
  padding:clamp(38px,6vh,66px) clamp(16px,3.1vw,42px) clamp(28px,4.4vh,46px);
  display:grid;
  grid-template-columns:1.9fr 1fr 1fr 1.5fr;
  gap:clamp(20px,3vw,48px);
}

.foot__lockup{ display:flex; align-items:center; gap:clamp(10px,1.2vw,18px); }
.foot__lockup img{ height:clamp(38px,3.6vw,58px); width:auto; }
.foot__lockup span{
  font-size:clamp(13px,1.15vw,17px);
  font-weight:500;
  letter-spacing:.1911em;
  text-transform:uppercase;
  color:var(--dk-gold);
}

.foot__tag{
  margin:clamp(12px,2.2vh,20px) 0 0;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:clamp(16px,1.45vw,21px);
  color:var(--dk-ink);
}
.foot__blurb{
  max-width:30em;
  margin:clamp(8px,1.5vh,14px) 0 0;
  font-size:clamp(10.5px,.85vw,12.5px);
  line-height:1.75;
  color:var(--dk-body);
}

.foot__col{ display:flex; flex-direction:column; align-items:flex-start; gap:clamp(6px,1.1vh,10px); }
.foot__col h4{
  margin:0 0 clamp(4px,.8vh,8px);
  font-size:clamp(9px,.78vw,11.5px);
  font-weight:600;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--dk-gold);
}
.foot__col a,
.foot__col span{
  font-size:clamp(10.5px,.85vw,12.5px);
  line-height:1.7;
  color:var(--dk-body);
  transition:color .22s ease;
}
.foot__col a:hover{ color:var(--dk-gold); }

.foot__social{ display:flex; gap:9px; margin-top:clamp(10px,1.8vh,16px); }
.foot__social a{
  display:grid;
  place-items:center;
  width:clamp(26px,2.2vw,32px);
  height:clamp(26px,2.2vw,32px);
  border:1px solid var(--dk-line);
  border-radius:50%;
  color:var(--dk-body);
  transition:background-color .25s ease, color .25s ease, border-color .25s ease;
}
.foot__social a svg{ width:52%; height:52%; }
.foot__social a:hover{ background:var(--dk-gold); border-color:var(--dk-gold); color:var(--dk); }

.foot__base{
  border-top:1px solid var(--dk-line);
  background:var(--dk-2);
}
.foot__base p{
  margin:0;
  font-size:clamp(9px,.76vw,11.5px);
  color:#8C9B8B;
}
.foot__base{
  display:flex;
  flex-wrap:wrap;
  gap:8px clamp(14px,2vw,30px);
  align-items:center;
  justify-content:space-between;
  padding:clamp(12px,2.2vh,20px) clamp(16px,3.1vw,42px);
}

/* =========================================================
   HERO → ABOUT SCROLL TRANSITION
   The hero pins to the top and every following section rides up over it
   like a curtain. All motion is transform/opacity only, driven from JS.
   ========================================================= */

.js-scroll .hero{
  position:sticky;
  top:0;
  height:100svh;
  z-index:0;
}

/* the curtain and everything behind it must paint above the pinned hero */
.js-scroll .stats,
.js-scroll .about,
.js-scroll .pstrip,
.js-scroll .fstrip-band,
.js-scroll .gallery,
.js-scroll .amen,
.js-scroll .plans,
.js-scroll .loc,
.js-scroll .contact{
  position:relative;
  z-index:1;
}

/* dim layer that deepens as the hero is covered */
.hero__dim{
  position:absolute;
  inset:0;
  background:#141C13;
  opacity:0;
  pointer-events:none;
}

.js-scroll .hero__img{ will-change:transform; }
.js-scroll .hero__content{ will-change:transform, opacity; }

/* ---- horizontal line swipe ----
   The headline splits by LINE, not by letter: novelle swipes off to the
   right, BOULEVARD off to the left. Each line is its own artwork, so
   there are no duplicated copies and nothing to hide from screen readers. */
.js-scroll .hero__title > span{
  white-space:nowrap;
  will-change:transform, opacity;
}

/* ---- the parts of the hero that simply fade out ---- */
.js-scroll .hero__fade{ will-change:transform, opacity; }

/* ---- reduced motion: everything stays put ---- */
@media (prefers-reduced-motion:reduce){
  .js-scroll .hero{ position:relative; height:auto; }
  .js-scroll .hero__title > span{ transform:none !important; opacity:1 !important; }
  .hero__dim{ display:none; }
}

/* =========================================================
   FLOATING ACTIONS
   ========================================================= */

.fab{
  position:fixed;
  bottom:clamp(18px,3vh,30px);
  z-index:40;
  display:grid;
  place-items:center;
  width:clamp(44px,3.4vw,54px);
  height:clamp(44px,3.4vw,54px);
  border-radius:50%;
  background:var(--ab-gold);
  color:#FFFDF8;
  box-shadow:0 6px 18px rgba(140,108,54,.32);
  transition:transform .25s ease, box-shadow .25s ease;
}
.fab:hover{ transform:translateY(-2px); box-shadow:0 9px 24px rgba(140,108,54,.38); }
.fab svg{ width:46%; height:46%; }

.fab--call{ left:clamp(18px,2.4vw,34px); }
.fab--chat{ right:clamp(18px,2.4vw,34px); }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* tablet - render narrows, text stays left */
@media (max-width:1100px){
  .rail{ left:14px; }
  .hero__title{ width:clamp(238px,52vw,470px); }

  /* gallery: drop the vertical rail, give the mosaic the room */
  .gallery__grid{ grid-template-columns:250fr 932fr; }
  .gallery__rail{ display:none; }
  .gallery__intro{ padding-top:clamp(20px,4vh,44px); }
  .gallery__controls{ margin-top:clamp(28px,6vh,56px); }

  /* amenities: intro above, card row becomes a horizontal scroller */
  .amen__top{ grid-template-columns:1fr; row-gap:clamp(20px,4vh,36px); }
  .amen__leaf{ margin-left:0; margin-right:auto; }
  .amen__cards img{ height:clamp(150px,20vw,190px); }
  .amen__grid{ grid-template-columns:repeat(4, minmax(0,1fr)); }
  .amen__grid li:nth-child(7n){ border-right:1px solid var(--am-line); }
  .amen__grid li:nth-child(4n){ border-right:0; }

  /* floor plans: intro above, rows full width */
  .plans__grid{ grid-template-columns:1fr; row-gap:clamp(22px,4vh,36px); }
  .plans__main{ padding-right:clamp(16px,3.1vw,42px); }
  .plans__intro{ padding-top:0; }
  .prow{ border-radius:14px 0 0 14px; }

  /* contact: form drops to its own full-width row */
  .ctgrid{ grid-template-columns:1fr 1fr; }
  .ctgrid .ctpanel:nth-child(3){ grid-column:1 / -1; }

  /* dark pieces */
  .foot__main{ grid-template-columns:1.6fr 1fr 1fr; }
  .foot__col--wide{ grid-column:1 / -1; }
  .ctform__row{ grid-template-columns:1fr 1fr; }
  .ctrm{ width:clamp(190px,24vw,230px); }
}

/* mobile - nav collapses to a drawer, render drops below the text */
@media (max-width:860px){
  /* Entrance animations slide in horizontally on desktop. On a narrow screen
     that pushes the element past the right edge and gives the whole document a
     horizontal scrollbar, so below 860px they rise vertically instead. */
  [data-reveal="left"],
  [data-reveal="right"]{ transform:translateY(26px); }

  /* --- touch targets ---
     The carousel dots and arrows are deliberately small visually. Grow the
     tappable area with a pseudo-element so the look is unchanged. */
  .prow__dots button{ position:relative; }
  .prow__dots button::after{ content:""; position:absolute; inset:-13px; }

  .pnav{ width:38px; height:38px; }
  .pnav svg{ width:15px; height:15px; }

  .gnav{ min-width:40px; min-height:40px; }

  .foot__social a{ width:36px; height:36px; }

  /* footer links get room to be tapped without changing how they read */
  .foot__col a{ padding-block:5px; }

  /* header call: icon only, parked just left of the burger in the same cell */
  .burger{ grid-row:1; }
  .hdr-call{ margin-right:calc(clamp(38px,3.15vw,50px) + 10px); }
  .hdr-call__num{ display:none; }
  .hdr-call svg{ width:32px; height:32px; padding:8px; }

  /* The drawer must NOT use backdrop-filter: it lives inside .site-header,
     which already has one. Nested backdrop filters break compositing — the
     panel paints transparent and arrives a beat late. A solid fill is both
     correct and far cheaper on a phone. */
  .nav{
    position:fixed;
    inset:0 0 0 auto;
    width:min(320px,82vw);
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    gap:26px;
    padding:34px;
    background:#F7F2EB;
    box-shadow:-14px 0 40px rgba(60,44,26,.18);
    transform:translateX(100%);
    visibility:hidden;
    will-change:transform;
    overflow-y:auto;
    overscroll-behavior:contain;   /* scrolling the drawer must not scroll the page */
    transition:transform .34s cubic-bezier(.32,.72,.29,1),
               visibility 0s linear .34s;
    z-index:45;
  }
  .nav.is-open{
    transform:translateX(0);
    visibility:visible;
    transition:transform .34s cubic-bezier(.32,.72,.29,1), visibility 0s;
  }
  .nav__link{ font-size:12px; letter-spacing:.24em; padding-block:6px; }

  /* dim the page behind the open drawer; sits under the header so the
     close button stays reachable */
  .nav-scrim{
    position:fixed;
    inset:0;
    z-index:44;
    background:rgba(28,22,14,.44);
    opacity:0;
    visibility:hidden;
    transition:opacity .34s ease, visibility 0s linear .34s;
  }
  .nav-scrim.is-on{
    opacity:1;
    visibility:visible;
    transition:opacity .34s ease, visibility 0s;
  }

  /* page must not scroll behind the drawer */
  html.nav-open, html.nav-open body{ overflow:hidden; }

  /* one lighter blur layer on a phone is plenty */
  .site-header.is-stuck::before,
  .site-header.is-dark::before{
    backdrop-filter:blur(9px) saturate(130%);
    -webkit-backdrop-filter:blur(9px) saturate(130%);
  }

  .burger{ display:flex; z-index:46; }
  .burger.is-open span:nth-child(1){ transform:translateY(5.5px) rotate(45deg); }
  .burger.is-open span:nth-child(2){ opacity:0; }
  .burger.is-open span:nth-child(3){ transform:translateY(-5.5px) rotate(-45deg); width:16px; }

  /* about: single column */
  .about{ padding-top:clamp(48px,8vh,80px); }

  /* the welcome and story frames stack: copy first, film / mark beneath */
  .abt-hero__frame,
  .abt-story__frame{ grid-template-columns:1fr; }
  .abt-hero__copy{ align-self:auto; padding:clamp(10px,2vh,24px) clamp(4px,1vw,14px) 0; }
  /* stacked, the mark reads as a signature under the story, not a second
     headline */
  .abt-story__mark{ width:min(40%, 150px); margin-top:14px; padding:4px 0; }

  .abt-journey__row{ grid-template-columns:1fr; margin-top:22px; }

  /* gallery: intro stacks above the mosaic */
  /* the header clearance moves from padding to scroll-margin, so #gallery
     links still land below the bar without a dead band after the about
     section; the scroll cue goes too — on a phone it's just more gap */
  .gallery{
    padding-top:clamp(36px,6vh,52px);
    scroll-margin-top:var(--header-h);
  }
  .about{ padding-bottom:clamp(28px,5vh,40px); }
  .about .scrolldown{ display:none; }
  .gallery__grid{ grid-template-columns:1fr; row-gap:clamp(26px,4.4vh,40px); }
  .gallery__intro{ padding-top:0; }
  .gallery__text{ max-width:34em; }
  .gallery__controls{ margin-top:clamp(24px,4vh,40px); }
  .gprogress{ width:100%; max-width:320px; }
  .mosaic{ height:clamp(300px,52vh,460px); gap:5px; }
  .mosaic__row{ gap:5px; }

  /* amenities: banner wraps, grid to 3 columns */
  .amen__banner{ white-space:normal; text-align:center; line-height:1.5; }
  .amen__wing{ display:none; }
  .amen__cards img{ height:170px; }
  .amen__grid{ grid-template-columns:repeat(3, minmax(0,1fr)); }
  .amen__grid li:nth-child(4n){ border-right:1px solid var(--am-line); }
  .amen__grid li:nth-child(3n){ border-right:0; }
  .amen__foot-line{ max-width:40%; }

  /* the plans are thumbnails on a phone — tapping one opens it full-screen
     in the lightbox, so the card only has to be recognisable here */
  .pcard img{ max-height:90px; }

  /* contact: single column, render sits behind the whole band */
  .ctband{ min-height:0; }
  .ctband__inner{ grid-template-columns:1fr; gap:clamp(18px,3vh,30px); }
  .ctband__visual::after{
    background:linear-gradient(to bottom,
      rgba(247,238,228,.92) 0%, rgba(247,238,228,.80) 46%,
      rgba(247,238,228,.42) 70%, rgba(247,238,228,.18) 100%);
  }
  .ctrm{ width:100%; max-width:340px; }
  .ct-leaf{ margin-left:0; }
  .ct-spark{ right:auto; left:calc(100% + .4em); }
  .ctgrid{ grid-template-columns:1fr; }
  .ctgrid .ctpanel:nth-child(3){ grid-column:auto; }

  /* dark pieces: stats to 2x2, footer to two columns */
  .stats__row{ grid-template-columns:repeat(2, minmax(0,1fr)); row-gap:clamp(16px,3vh,26px); }
  /* item 3 starts the second row, so it must not carry a divider */
  .stats__row li:nth-child(3)::before,
  .stats__row li:nth-child(3)::after{ display:none; }
  .foot__main{ grid-template-columns:1fr 1fr; }
  .foot__col--wide{ grid-column:auto; }

  /* portrait crops the wide plate hard, so bias it towards the tower
     and lift the text off it with a cream scrim */
  .hero__img img{ object-position:64% 62%; }

  .hero::after{
    content:"";
    position:absolute; inset:0;
    z-index:3;
    pointer-events:none;
    background:linear-gradient(to bottom,
      rgba(246,239,231,.97) 0%,
      rgba(246,239,231,.95) 40%,
      rgba(246,239,231,.90) 62%,
      rgba(246,239,231,.55) 74%,
      rgba(246,239,231,0) 88%);
  }

  .hero__content{
    justify-content:flex-start;
    padding:calc(var(--header-h) + 54px) var(--gutter) 0 var(--gutter);
    max-width:100%;
    min-height:auto;
  }

  .hero__title{ width:min(78vw,420px); }

  /* rail turns horizontal and sits just under the header, where the
     canvas is always clean cream regardless of how the plate crops */
  .rail{
    top:calc(var(--header-h) - 4px);
    bottom:auto;
    left:var(--gutter);
    transform:none;
    flex-direction:row;
    align-items:center;
    gap:16px;
  }
  .rail__item.is-active{ margin:0 40px 0 0; }
  .rail__item.is-active::after{
    left:calc(100% + 12px); top:50%;
    width:28px; height:1px;
    background:linear-gradient(to right, var(--gold), rgba(181,139,84,.15));
  }

  /* 4-up grid, no percentage min-widths to overflow */
  .features{
    display:grid;
    grid-template-columns:repeat(4, minmax(0,1fr));
    margin-top:clamp(24px,4vh,40px);
    margin-left:0;              /* the desktop hang-left would overflow here */
  }
  .feature{ min-width:0; padding-inline:6px; }
  .feature__label{ white-space:normal; }
}

@media (max-width:560px){
  .features{
    grid-template-columns:repeat(2, minmax(0,1fr));
    row-gap:26px;
  }
  /* dividers only between the two columns */
  .feature{ border-left:0 !important; }
  .feature:nth-child(even){ border-left:1px solid var(--hairline) !important; }
  .explore{ margin-top:32px; }

  /* amenities: two columns is the floor for the grid */
  .amen__grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .amen__grid li:nth-child(3n){ border-right:1px solid var(--am-line); }
  .amen__grid li:nth-child(2n){ border-right:0; }
  .amen__cards img{ height:120px; }

  /* the full list is 19 rows at two columns, so a phone shows the first
     eight and "Show more" opens the rest. The column flips so the band sits
     under the grid as its trigger; the 28th-cell toggle is redundant here. */
  .amen__inner{ display:flex; flex-direction:column; }
  .amen__more{ order:1; margin-top:clamp(14px,2.4vh,22px); }
  .amen__foot{ order:2; }
  .amen__grid-more{ display:none !important; }
  .amen__grid li{ min-height:52px; }
  .amen__leaf{ display:none; }
  .amen:not(.is-expanded) .amen__grid:not(.amen__grid--extra) li:nth-child(n+9){ display:none; }

  /* both grids end on an odd count once the toggle cell is gone — let the
     last cell take the full row instead of leaving a hole beside it */
  .amen__grid:not(.amen__grid--extra) li:nth-child(27),
  .amen__grid--extra li:last-child{ grid-column:1 / -1; border-right:0; }

  /* contact: stack the paired inputs, halve the travel-time strip */
  .ctform__row{ grid-template-columns:1fr; }

  /* about: facts 2×2, frames eased off the edges */
  .abt-facts{ grid-template-columns:1fr 1fr; }
  .abt-facts li:nth-child(odd){ padding-left:0; }
  .abt-facts li:nth-child(odd)::before{ display:none; }
  .abt-frame{ border-radius:14px; padding:16px; }
  .abt-frame::before{ left:10%; right:10%; height:4px; }

  /* dark pieces */
  .stats__row li + li::before,
  .stats__row li + li::after{ display:none; }
  .stats__leaf{ display:none; }
  .foot__main{ grid-template-columns:1fr; gap:clamp(20px,3.4vh,32px); }
  .foot__base{ justify-content:flex-start; }
  .ctfoot2 span{ width:clamp(30px,10vw,70px); }
}

/* =========================================================
   CONTACT PANELS AS A STACKED DECK (phones)
   Stacked one under the other, the three panels ran four screens tall.
   Here each one is sticky at the same offset and about a screen tall, so
   it pins while the next scrolls up over it — the deck reveals itself as
   the visitor scrolls, and only ever one card is in frame. No JS: later
   siblings paint over earlier ones, and each card is opaque.
   ========================================================= */
@media (max-width:640px){
  .ctgrid{ display:block; }

  .ctgrid .ctpanel{
    position:sticky;
    top:calc(var(--header-h) + 10px);
    height:calc(100svh - var(--header-h) - 72px);
    display:flex;
    flex-direction:column;
    /* trimmed to fit, but a long address or a zoomed font must never be
       cut off outright — the card scrolls as a last resort */
    overflow-y:auto;
    overscroll-behavior:contain;
    box-shadow:0 -10px 30px rgba(60,44,26,.16);
  }
  /* the gap is what pins each card for a beat before the next covers it */
  .ctgrid .ctpanel + .ctpanel{ margin-top:16vh; }
  .ctgrid .ctpanel:nth-child(1){ z-index:1; }
  .ctgrid .ctpanel:nth-child(2){ z-index:2; }
  .ctgrid .ctpanel:nth-child(3){ z-index:3; }

  /* ---- what each card carries at this size ----
     the footer lists the corporate office and website, so the contact card
     keeps phone, email and the site address */
  .ctlist li:nth-child(n+4){ display:none; }
  .ctlist li{ padding:clamp(10px,1.7vh,15px) 0; }

  .ctmap__frame{ height:min(30svh,230px); }

  /* subject is optional and the socials repeat in the footer */
  .ctform textarea{ min-height:64px; }
  .ctfollow{ display:none; }
}

/* users who prefer less motion */
@media (prefers-reduced-motion:reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

/* =========================================================
   FLOOR-PLAN LIGHTBOX
   Opened by clicking a plan in the carousel. Built by main.js on
   first use, so nothing here applies until a visitor asks for it.
   ========================================================= */

/* the carousel card, made to look openable */
.pcard:not(.pcard--soon) img{ cursor:zoom-in; }

/* page must not scroll behind the overlay (at every width — the
   .nav-open lock is inside the mobile block and phone-only) */
html.plb-open, html.plb-open body{ overflow:hidden; }

.plb{
  position:fixed; inset:0;
  z-index:10000;              /* above the chat widget's 9999 */
  display:grid;
  grid-template-rows:1fr auto;
  opacity:0;
  transition:opacity .24s ease;
}
/* `display:grid` above would otherwise beat the hidden attribute */
.plb[hidden]{ display:none; }
.plb.is-on{ opacity:1; }

.plb__scrim{
  position:absolute; inset:0;
  background:rgba(16,26,18,.94);
  backdrop-filter:blur(3px);
  cursor:zoom-out;
}

/* ---- the plan itself ---- */
.plb__stage{
  position:relative;
  grid-row:1;
  /* flex, not grid: with place-items:center a grid row sizes to the
     image's natural (max-content) height instead of the track's actual
     height, so max-height:100% on the image can't resolve and the plan
     overflows, getting silently clipped by overflow:hidden below.
     A flex container keeps a definite height even when align-items
     isn't stretch, so the image's max-height:100% resolves correctly. */
  display:flex; align-items:center; justify-content:center;
  padding:clamp(52px,7vh,74px) clamp(52px,7vw,96px) 10px;
  overflow:hidden;
  cursor:zoom-out;            /* the empty space closes, like the scrim */
}

.plb__img{
  max-width:100%;
  max-height:100%;
  width:auto; height:auto;
  object-fit:contain;
  border-radius:8px;
  background:#FDFBF7;         /* plans are drawn on white — keep it clean */
  box-shadow:0 24px 60px rgba(0,0,0,.5);
  cursor:zoom-in;
  touch-action:none;          /* we handle the drag ourselves */
  user-select:none; -webkit-user-select:none;
  transform-origin:center center;
  transition:transform .26s cubic-bezier(.2,.7,.3,1), opacity .2s ease;
}
.plb__img.is-zoomed{ cursor:grab; }
.plb__img.is-zoomed:active{ cursor:grabbing; }

/* while a new plan decodes, fade the old one out rather than flashing */
.plb.is-loading .plb__img{ opacity:0; }

/* dragging must feel attached to the finger, not eased */
.plb__img.is-zoomed:active{ transition:none; }

/* ---- caption ---- */
.plb__bar{
  grid-row:2;
  position:relative;
  display:flex; flex-direction:column; align-items:center; gap:3px;
  padding:12px 20px clamp(16px,3vh,26px);
  text-align:center;
}
.plb__type{
  font-size:clamp(10px,.85vw,12px);
  font-weight:600; letter-spacing:.18em; text-transform:uppercase;
  color:var(--pl-gold-2);
}
.plb__meta{
  font-size:clamp(12px,1vw,14.5px);
  font-weight:300; letter-spacing:.02em;
  color:#D8D3C7;
}

.plb__count{
  position:absolute;
  top:clamp(16px,2.4vh,26px); left:clamp(18px,2.4vw,30px);
  font-size:11.5px; font-weight:500; letter-spacing:.16em;
  color:#9FAE9C;
}

.plb__hint{
  position:absolute;
  bottom:clamp(4px,1vh,8px); left:0; right:0;
  margin:0;
  font-size:10.5px; font-weight:300; letter-spacing:.04em;
  color:#7E8C7C; text-align:center;
  pointer-events:none;
}

/* ---- controls ---- */
.plb__btn{
  position:absolute;
  display:grid; place-items:center;
  width:42px; height:42px;
  border:1px solid rgba(230,225,212,.22);
  border-radius:50%;
  background:rgba(255,255,255,.06);
  color:#EDE8DD;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease,
             opacity .2s ease, transform .2s ease;
}
.plb__btn:hover{
  background:rgba(255,255,255,.14);
  border-color:rgba(230,225,212,.4);
}
.plb__btn:focus-visible{ outline:2px solid var(--pl-gold-2); outline-offset:3px; }
.plb__btn svg{ width:19px; height:19px; }
.plb__btn:disabled{ opacity:.22; cursor:default; }
.plb__btn:disabled:hover{ background:rgba(255,255,255,.06); }

.plb__btn--close{ top:clamp(14px,2.2vh,24px); right:clamp(16px,2.2vw,28px); }
.plb__btn--zoom{ top:clamp(14px,2.2vh,24px); right:clamp(68px,7vw,82px); }

.plb__btn--prev{ left:clamp(10px,1.6vw,22px);  top:50%; margin-top:-21px; }
.plb__btn--next{ right:clamp(10px,1.6vw,22px); top:50%; margin-top:-21px; }
.plb__btn[hidden]{ display:none; }

/* the magnifier's "+" loses its upright and becomes a "−" once zoomed in
   (hiding a stroke, rather than rewriting `d` in CSS, which Safari
   does not support) */
.plb.is-zoomed .plb__plus-v{ opacity:0; }

/* ---- phones ---- */
@media (max-width:640px){
  .plb__stage{ padding:clamp(46px,6vh,58px) 12px 6px; }

  .plb__btn{ width:38px; height:38px; }
  .plb__btn svg{ width:17px; height:17px; }

  /* arrows drop to the caption so they never sit over the plan */
  .plb__btn--prev, .plb__btn--next{
    top:auto; bottom:clamp(14px,3vh,24px); margin-top:0;
  }
  .plb__btn--prev{ left:clamp(14px,5vw,28px); }
  .plb__btn--next{ right:clamp(14px,5vw,28px); }

  .plb__bar{ padding:10px 62px clamp(20px,4vh,30px); }
  .plb__hint{ display:none; }        /* swipe is discoverable enough */
}


/* =========================================================
   SPRIG CURSOR
   The pointer becomes the two-leaf sprig used as a section ornament,
   turning to face its travel and shedding the odd leaf behind it.
   Added by cursor.js, which never runs on touch pointers.
   ========================================================= */

/* Hide the native arrow only once the sprig is actually up, so a failed
   script can never leave the site with no pointer at all. */
html.has-sprig *{ cursor:none; }

/* One place where the native cursor carries information the sprig cannot,
   so it stays: text entry. These selectors outrank the blanket rule above
   on specificity. */
html.has-sprig input,
html.has-sprig textarea,
html.has-sprig select,
html.has-sprig [contenteditable="true"]{ cursor:auto; }

.sprig{
  position:fixed;
  inset:0;
  /* Above the chat panel (9999) *and* the floor-plan lightbox (10000).
     The lightbox is built on first use, so it lands after this layer in
     the DOM and would win a z-index tie — leaving the expanded plan with
     no pointer at all, since .has-sprig has already hidden the native one. */
  z-index:10010;
  pointer-events:none;
  color:var(--gold);
  contain:layout style;
}

.sprig__tip{
  position:absolute;
  top:0; left:0;
  width:27px;
  height:20px;
  opacity:0;
  transition:opacity .32s ease, width .3s cubic-bezier(.22,.61,.36,1),
             height .3s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}
.sprig.is-awake .sprig__tip{ opacity:1; }
.sprig.is-hidden .sprig__tip{ opacity:0; }

/* over anything clickable the sprig opens out a little */
.sprig.is-bloom .sprig__tip{ width:38px; height:28px; }

/* the cream gold disappears on the dark sections; lift it there */
.sprig.is-onDark{ color:var(--gl-gold); }

.sprig__tip svg,
.sprig__leaf svg{ display:block; width:100%; height:100%; overflow:visible; }

/* ---- shed leaves ---- */
.sprig__leaf{
  position:absolute;
  top:0; left:0;
  width:11px;
  height:14px;
  margin:-7px 0 0 -5px;
  opacity:0;
  animation:sprig-fall 1150ms cubic-bezier(.25,.6,.35,1) forwards;
}

@keyframes sprig-fall{
  0%{
    opacity:.62;
    transform:translate3d(var(--x),var(--y),0) rotate(var(--spin)) scale(.86);
  }
  100%{
    opacity:0;
    transform:translate3d(calc(var(--x) + var(--drift)), calc(var(--y) + 30px), 0)
              rotate(var(--spin-end)) scale(1.04);
  }
}

/* Reduced motion: cursor.js already skips the trail and the turning, and
   tracks 1:1 rather than easing. Nothing here should animate either. */
@media (prefers-reduced-motion:reduce){
  .sprig__tip{ transition:opacity .2s ease; }
  .sprig__leaf{ display:none; }
}

/* A coarse pointer never gets the script, but belt and braces in case a
   hybrid device reports both. */
@media (pointer:coarse){
  html.has-sprig *{ cursor:auto; }
  .sprig{ display:none; }
}

/* =========================================================
   MOBILE READABILITY (≤860px)
   Below the drawer breakpoint every clamp() above bottoms out at its
   minimum, and those minimums were sized for a dense desktop grid — the
   labels land at 8.5–11px on a phone. This block lifts text, icons and
   tap targets roughly 25–30% across every page. It sits last so it
   outranks the earlier ≤860 / ≤640 / ≤560 blocks; desktop is untouched.
   ========================================================= */
@media (max-width:860px){

  /* ---- header ---- */
  .brand__mark{ height:44px; }
  .brand__mark[src*="logo-black"]{ height:58px; }
  .brand__project img{ height:40px; }
  .brand__text{ font-size:15px; }
  .nav__link{ font-size:15px; padding-block:8px; }
  .burger{ width:46px; height:46px; gap:5px; }
  .burger span{ width:20px; height:2px; }
  .hdr-call{ margin-right:58px; }
  .hdr-call svg{ width:34px; height:34px; padding:9px; }
  .burger span:nth-child(2){ width:14px; }
  .burger.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .burger.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); width:20px; }

  /* ---- hero ---- */
  .rail__item{ font-size:16px; }
  .hero__tagline{ font-size:19px; }
  .feature__icon{ width:32px; height:32px; }
  .feature__label{ font-size:11.5px; }
  .explore{ font-size:13.5px; }

  /* ---- stats strip ---- */
  .stats__n{ font-size:32px; }
  .stats__l{ font-size:11.5px; }

  /* ---- home: about ---- */
  .eyebrow{ font-size:13px; }

  /* ---- home: key points ---- */
  .keys__icon{ width:46px; height:46px; }
  .keys__icon svg{ width:23px; }
  .keys__title{ font-size:16px; }
  .keys__card p{ font-size:14px; }

  /* ---- gallery ---- */
  .gallery__title{ font-size:36px; }
  .gallery__text{ font-size:14.5px; }
  .gnav{ width:44px; height:44px; }
  .gnav svg{ width:18px; height:18px; }
  .gprogress{ font-size:12px; }

  /* ---- amenities ---- */
  .amen__title{ font-size:34px; }
  .amen__banner{ font-size:13px; }
  .amen__more-label{ font-size:12px; }
  .amen__grid svg{ width:23px; height:23px; }
  .amen__grid span{ font-size:13px; }
  .amen__grid-more .amen__grid-toggle-txt{ font-size:13px; }
  .amen__grid-more .amen__grid-chev{ width:12px; }

  /* ---- floor plans ---- */
  .plans__title{ font-size:36px; }
  .plans__text{ font-size:14.5px; }
  .prow__ribbon{ font-size:14px; }
  .prow__icon{ width:32px; }
  .prow__cta{ font-size:11.5px; }
  .prow__cta svg{ width:19px; }
  .pcard__type{ font-size:11.5px; }
  .pcard__face,
  .pcard__sba{ font-size:12.5px; }
  .pcard--soon p{ font-size:13px; }
  .pnav{ width:44px; height:44px; }
  .pnav svg{ width:17px; height:17px; }
  .prow__dots button{ width:8px; height:8px; }
  .plans__note{ font-size:12.5px; }

  /* ---- home: contact ---- */
  .ct-title{ font-size:36px; }
  .ct-lead{ font-size:14.5px; }
  .ctrm__top svg{ width:28px; }
  .ctrm__top p{ font-size:13px; }
  .ctrm__phone{ font-size:20px; }
  .ctrm__hours{ font-size:12px; }
  .ctrm__note{ font-size:12.5px; }
  .ctpanel__h{ font-size:13px; }
  .ctlist__ic{ width:36px; height:36px; }
  .ctlist strong{ font-size:13px; }
  .ctlist li > div > a,
  .ctlist li > div > span{ font-size:12.5px; }
  .ctmap__cue{ font-size:13.5px; }
  .ctform input,
  .ctform select,
  .ctform textarea{ font-size:16px; }    /* 16px also stops iOS zooming on focus */
  .ctsend{ font-size:12.5px; }
  .ctform__msg{ font-size:12.5px; }
  .ctquick__btn{ font-size:12.5px; }
  .ctquick__btn svg{ width:17px; height:17px; }
  .ctfollow > span{ font-size:11.5px; }
  .ctfollow a{ width:32px; height:32px; }

  /* ---- footer ---- */
  .foot__lockup img{ height:44px; }
  .foot__lockup span{ font-size:15px; }
  .foot__tag{ font-size:19px; }
  .foot__blurb{ font-size:13.5px; }
  .foot__col h4{ font-size:12px; }
  .foot__col a,
  .foot__col span{ font-size:13.5px; }
  .foot__social a{ width:40px; height:40px; }
  .foot__base p{ font-size:12px; }

  /* ---- floating call button ---- */
  .fab{ width:52px; height:52px; }

  /* ---- home: about ---- */
  .abt-eyebrow{ font-size:13px; }
  .abt-display{ font-size:46px; }
  .abt-h2{ font-size:33px; }
  .abt-lede{ font-size:16px; }
  .abt-hero__tag{ font-size:20px; }
  .abt-facts__n{ font-size:30px; }
  .abt-facts__l{ font-size:12px; }
  .abt-journey__year{ font-size:36px; }
  .abt-journey__head{ font-size:13px; }
  .abt-journey__row p{ font-size:15px; }

  /* ---- floor-plan lightbox ---- */
  .plb__type{ font-size:13px; }
  .plb__meta{ font-size:15px; }
  .plb__count{ font-size:13.5px; }
  .plb__btn{ width:44px; height:44px; }
  .plb__btn svg{ width:20px; height:20px; }
}

/* =========================================================
   MOBILE HERO (≤860px) — refernce/WhatsApp Image 2026-09-25 at 13.03.46
   Full-bleed portrait tower render (hero-mobile.webp, swapped in by the
   <picture> source), the lockup and CTA up in the sky, and the four facts
   as one dark-green pill across the foot of the screen. Desktop keeps the
   landscape plate and the original left-hand layout.
   ========================================================= */
@media (max-width:860px){
  .hero{ background:#F2EEE7; }            /* the plate's own sky, for any crop edge */

  /* the plate is framed so the tower sits in the lower half — hold it there
     on taller-than-phone screens (tablets) rather than centring it */
  .hero__img img{ object-position:center 38%; }

  /* the cream scrim from the old layout would wash the sky out; keep only a
     light veil behind the title so the dark lockup stays crisp */
  .hero::after{
    background:linear-gradient(to bottom,
      rgba(246,241,233,.50) 0%,
      rgba(246,241,233,.22) 30%,
      rgba(246,241,233,0) 48%);
  }

  .rail{ display:none; }

  .hero__content{
    min-height:100svh;                     /* the fact pill anchors to this box's foot */
    padding:max(calc(var(--header-h) + 24px), 14svh) 9vw 0;
    justify-content:flex-start;
  }
  .hero__title{ width:min(76vw,440px); }

  /* CTA: solid green pill, no arrow */
  .explore{
    margin-top:clamp(16px,2.6svh,28px);
    padding:15px 34px;
    background:#164A1B;
    font-size:15px;
    font-weight:600;
    letter-spacing:.06em;
    box-shadow:0 8px 20px rgba(20,50,22,.30);
  }
  .explore:hover{ background:#113A15; }
  .explore__arrow{ display:none; }

  /* facts: one dark pill across the foot of the hero. It sits clear of the
     fixed call / chat buttons in the bottom corners. */
  .features{
    position:absolute;
    left:5vw; right:5vw;
    bottom:94px;
    margin:0;
    display:grid;
    grid-template-columns:repeat(4, minmax(0,1fr));
    row-gap:0;
    padding:12px 8px;
    border-radius:999px;
    background:rgba(30,51,32,.94);
    box-shadow:0 10px 26px rgba(16,28,18,.30);
  }
  .features .feature{
    border-left:0 !important;             /* outranks the ≤560 column dividers */
    padding:0 3px;
    gap:0;
    justify-content:center;
  }
  .feature__icon{ display:none; }
  .feature__label{
    font-size:13px;
    font-weight:500;
    letter-spacing:.02em;
    line-height:1.35;
    text-transform:none;
    white-space:normal;
    color:#EEE9DE;
  }
}

/* =========================================================
   MOBILE SPACING (≤860px)
   Every vertical gap above is a clamp() on vh, and on a phone those land at
   30–60px each; with the larger mobile type the leading also read loose.
   This block tightens the rhythm to roughly 60% of that — label → heading
   → copy → action — pulls body leading to ~1.55, lets the contact deck
   cards size to their content. Desktop is untouched.
   ========================================================= */
@media (max-width:860px){

  /* ---- home: about ---- */
  .about{ padding-top:44px; padding-bottom:28px; }
  .about__wrap{ gap:24px; }
  .abt-rule{ margin-top:18px; margin-bottom:18px; }
  .abt-display,
  .abt-h2{ margin-top:12px; }
  .abt-lede{ line-height:1.6; }
  .abt-hero__tag{ margin-top:8px; }
  .abt-facts{ margin-top:22px; padding-top:18px; }
  .abt-journey__head{ margin-top:8px; }
  .abt-journey__row p{ margin-top:10px; line-height:1.6; }
  .keys__title{ margin-top:10px; }
  .keys__card p{ margin-top:6px; line-height:1.5; }

  /* ---- gallery ---- */
  .gallery{ padding-top:36px; padding-bottom:36px; }
  .gallery__grid{ row-gap:24px; }
  .gallery__intro .rule--xs{ margin-top:10px; }
  .gallery__title{ margin-top:18px; line-height:1.14; }
  .gallery__text{ margin-top:12px; line-height:1.55; }
  .gallery__controls{ margin-top:20px; }

  /* ---- amenities ---- */
  .amen{ padding-top:40px; padding-bottom:28px; }
  .amen__top{ row-gap:16px; }
  .amen__intro .rule--xs{ margin-top:10px; }
  .amen__title{ margin-top:16px; line-height:1.14; }
  .amen__intro .rule--sm{ margin-top:14px; }
  .amen__marquee{ margin-top:14px; }
  .amen__grid:not(.amen__grid--extra){ margin-top:16px; }
  .amen__more{ margin-top:18px; }
  .amen__foot{ margin-top:18px; }

  /* ---- floor plans ---- */
  .plans{ padding-top:40px; padding-bottom:28px; }
  .plans__intro{ padding-bottom:20px; }
  .plans__intro .rule--xs{ margin-top:10px; }
  .plans__title{ margin-top:16px; line-height:1.14; }
  .plans__intro .rule--sm{ margin-top:14px; }
  .plans__text{ margin-top:12px; line-height:1.55; }
  .plans__branch{ display:none; }
  /* the dash wrapped onto a line of its own here — a comma reads cleaner */
  .plans__dash{ display:none; }
  .plans__comma{ display:inline; }

  .prow{ padding-top:14px; }
  .prow__body{ margin-top:12px; }
  .prow__foot{ margin-top:12px; }
  .mplan{ margin-top:18px; }
  .pcard--soon p{ line-height:1.55; }
  .plans__sep{ margin-top:12px; margin-bottom:12px; }
  .plans__note{ margin-top:16px; }

  /* ---- home: contact band ---- */
  .ctband__inner{ padding-top:30px; padding-bottom:30px; gap:18px; }
  .ctband__text .rule--xs{ margin-top:10px; }
  .ct-title{ margin-top:16px; line-height:1.12; }
  .ct-lead{ margin-top:12px; line-height:1.55; }
  .ctrm__top p{ line-height:1.5; }
  .ctrm__phone{ margin-top:12px; }
  .ctrm__rule{ margin:12px 0; }
  .ctrm__note{ line-height:1.5; }
  .ctlist{ margin-top:10px; }
  .ctlist li{ padding:10px 0; }
  .ctlist li > div > a,
  .ctlist li > div > span{ line-height:1.5; }
  .ctmap{ margin-top:12px; }
  .ctform{ margin-top:12px; }

  /* ---- footer ---- */
  /* brand and "get in touch" span the width; the two link lists pair up */
  .foot__main{
    grid-template-columns:1fr 1fr;
    gap:26px 20px;
    padding-top:36px;
    padding-bottom:26px;
  }
  .foot__brand,
  .foot__col--wide{ grid-column:1 / -1; }
  .foot__tag{ margin-top:12px; }
  .foot__blurb{ margin-top:8px; line-height:1.55; }
  .foot__col{ gap:2px; }
  .foot__col h4{ margin-bottom:6px; }
  .foot__col a,
  .foot__col span{ line-height:1.45; }
  .foot__social{ margin-top:12px; }
}

/* ---- phones (≤640px): the stacked contact deck ----
   Each card was pinned at a full screen tall whatever it held, leaving the
   map and form cards with 200–300px of blank card. They now size to their
   content — still sticky, so each still slides up over the last. */
@media (max-width:640px){
  .ctgrid .ctpanel{ height:auto; }
  .ctgrid .ctpanel + .ctpanel{ margin-top:40px; }
}

/* ---- phones (≤640px): key-point cards shorter ----
   At 68% of the screen the copy wrapped to ~8 short lines and every card
   stretched to that. Wider cards (smaller peek) and tighter insides bring
   the longest one down to 3–4 lines; the swipe row and its peek stay. */
@media (max-width:640px){
  /* overflow-x:auto quietly makes the y axis auto too, and the cards' rise-in
     reveal overhangs the row's foot — so a swipe could scroll the cards up
     inside the row. Pin the y axis: the row only ever moves sideways, and a
     vertical swipe passes straight through to the page. */
  .keys__row{ padding-inline:9%; scroll-padding-inline:9%; overflow-y:hidden; }
  .keys__card{ flex-basis:82%; padding:16px 16px 18px; }
  .keys__icon{ width:40px; height:40px; }
  .keys__icon svg{ width:20px; }
  .keys__title{ margin-top:8px; font-size:15.5px; }
  .keys__card p{ margin-top:5px; font-size:13.5px; line-height:1.45; }
}

/* =========================================================
   CONTACT TILE DECK (mobile, portrait, JS on)
   main.js adds .ct-deck to #contact. .ctpin becomes a tall scroll runway
   and .ctstage a pinned full-screen frame: the heading stays at the top
   over the render, and the four tiles share one slot beneath it. Each
   later tile rises from below the screen and settles over the one before
   (--in, 0→1), which eases back and dims as it is covered (--next).
   The wrappers are plain blocks everywhere else, so desktop is untouched.
   ========================================================= */
@media (max-width:860px) and (min-height:560px){
  /* overflow:hidden would stop the frame from sticking; clip keeps the
     horizontal guard without making a scroll container */
  .contact.ct-deck{ overflow:visible; overflow-x:clip; }

  /* one screen for the frame + 70svh of scroll per tile change, and half a
     step more so the last tile holds before the frame moves on
     (3 changes + .5 hold — CT_HOLD in main.js) */
  .ct-deck .ctpin{ height:calc(100svh + 3.5 * 70svh); }

  .ct-deck .ctstage{
    position:sticky;
    top:0;
    height:100svh;
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto minmax(0,1fr);
    row-gap:18px;
    /* bottom padding keeps the tiles clear of the fixed call / chat buttons */
    padding:calc(var(--header-h) + 12px) 16px 88px;
    overflow:hidden;
    background:var(--ct-bg);
  }

  /* dissolve the desktop containers so the heading and all four tiles
     become items of the one frame grid */
  .ct-deck .ctband,
  .ct-deck .ctband__inner,
  .ct-deck .ctgrid{ display:contents; }

  .ct-deck .ctband__visual{ z-index:0; }   /* now fills the whole frame */
  .ct-deck .ctband__text{ grid-area:1 / 1; position:relative; z-index:1; }
  .ct-deck .ct-lead,
  .ct-deck .ct-leaf{ display:none; }

  /* ---- the four tiles: one slot, stacked ---- */
  .ct-deck .ctrm,
  .ct-deck .ctgrid .ctpanel{
    grid-area:2 / 1;
    align-self:start;
    position:relative;
    top:auto;
    width:100%;
    max-width:none;
    height:auto;
    max-height:var(--slot, 100%);     /* --slot: the measured slot (main.js) */
    margin:0;
    /* never a scroll box of its own: a scrollable tile swallowed the wheel /
       swipe and stalled the page. Tiles fit by flexing (below), and main.js
       scales one down (--fit) if a very short screen still can't hold it. */
    overflow:hidden;
    overscroll-behavior:auto;         /* undo the ≤640 deck's `contain` */
    display:flex;
    flex-direction:column;
    background:var(--ct-card);
    border:1px solid var(--ct-line);
    border-radius:16px;
    box-shadow:0 -8px 28px rgba(60,44,26,.14);
    transform-origin:50% 0;
    transform:
      translate3d(0, calc((1 - var(--in, 1)) * 100svh), 0)
      scale(calc((1 - var(--next, 0) * .06) * var(--fit, 1)));
    filter:brightness(calc(1 - var(--next, 0) * .1));
    will-change:transform;
  }
  .ct-deck .ctrm{
    z-index:2;
    padding:22px 20px;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
  /* scaled to fit by main.js: the whole tile is laid out, then shrunk
     (from its top edge) to the slot height */
  .ct-deck .ctrm.is-fit,
  .ct-deck .ctgrid .ctpanel.is-fit{ max-height:none; }

  .ct-deck .ctgrid .ctpanel:nth-child(1){ z-index:3; }
  .ct-deck .ctgrid .ctpanel:nth-child(2){ z-index:4; }
  .ct-deck .ctgrid .ctpanel:nth-child(3){ z-index:5; }

  /* ---- fitting the slot without scrolling ----
     Everything in a tile holds its size except the two elastic parts — the
     map and the message box — which give way when the slot is short. */
  .ct-deck .ctrm > *,
  .ct-deck .ctpanel > *{ flex:none; }

  .ct-deck .ctpanel > .ctmap{
    flex:0 1 auto;
    min-height:110px;
    display:flex;
    flex-direction:column;
  }
  .ct-deck .ctmap__frame{
    flex:0 1 min(28svh, 230px);
    height:auto;
    min-height:0;
    /* an embedded map eats wheel / swipe gestures, which stalled the page
       with a finger or cursor over it; "Get Directions" stays live */
    pointer-events:none;
  }

  .ct-deck .ctpanel > .ctform{ flex:0 1 auto; min-height:0; }
  .ct-deck .ctform textarea{
    flex:0 1 96px;                    /* was its 5-row natural height (~145px) */
    height:auto;
    min-height:48px;
    resize:none;
  }
}

/* =========================================================
   ABOUT — LEFT-ALIGNED ON MOBILE (≤860px)
   On a phone every heading, paragraph and timeline entry starts at the
   left edge; the 21st Castle mark and the frame's top hairline stay
   centred. Last-but-one in the file so it outranks the centring rules.
   ========================================================= */
@media (max-width:860px){
  .abt-display,
  .abt-h2,
  .abt-lede{ margin-left:0; margin-right:0; text-align:left; }
  .abt-rule{ margin-left:0; margin-right:auto; }

  .abt-journey__row{ text-align:left; }
  .abt-journey__row li{ padding-left:0; padding-right:0; }
  .abt-journey__row p{ margin-left:0; margin-right:0; }
}

/* =========================================================
   ABOUT TIMELINE — GROWING TOWERS (mobile, ≤860px)
   Each milestone gets a gold tower in a left-hand column — 4 storeys for
   2010, 6 for 2013, 9 and a spire for Today — joined by a dashed path.
   When a milestone reveals (.is-in, from the shared [data-reveal] observer)
   its tower rises out of the ground, then its windows light up. Desktop
   keeps the three text columns; the towers never render there.
   ========================================================= */
.abt-journey__defs{ position:absolute; width:0; height:0; overflow:hidden; }
.abt-journey__tower{ display:none; }

@media (max-width:860px){
  .abt-journey__defs{ color:var(--ab-gold); }   /* the window patterns' ink */

  .abt-journey__row{ row-gap:0; }
  .abt-journey__row li{
    display:grid;
    grid-template-columns:56px minmax(0,1fr);
    grid-template-rows:auto auto 1fr;
    column-gap:18px;
    align-items:start;
    padding:0 0 30px;
  }
  .abt-journey__row li:last-child{ padding-bottom:0; }
  .abt-journey__row li + li{ padding-top:0; }
  .abt-journey__row li > :not(.abt-journey__tower){ grid-column:2; }

  .abt-journey__tower{
    display:block;
    grid-column:1;
    grid-row:1 / -1;
    width:56px;
    height:99px;
    overflow:visible;
    color:var(--ab-gold);
  }
  .tw-body{ fill:rgba(150,111,58,.07); stroke:currentColor; stroke-width:1.1; }
  .tw-roof{ fill:currentColor; }
  .tw-spire{ fill:none; stroke:currentColor; stroke-width:1.1; stroke-linecap:round; }
  .tw-beacon{ fill:currentColor; }
  .tw-ground{ fill:none; stroke:currentColor; stroke-width:1; stroke-linecap:round; opacity:.55; }

  /* the path between milestones: a dashed line from under one tower's
     ground to the top of the next item (replaces the old hairlines) */
  .abt-journey__row li + li::before{ display:none; }
  .abt-journey__row li:not(:last-child)::after{
    content:"";
    position:absolute;
    left:28px;
    top:108px;
    bottom:6px;
    border-left:1px dashed rgba(150,111,58,.5);
  }

  /* ---- the rise ----
     scaleY from the ground line, in the SVG's own coordinates, starting
     once the milestone's own reveal (its --d stagger) has begun */
  .tw-rise{
    transform-box:view-box;
    transform-origin:28px 99px;
    transform:scaleY(0);
    transition:transform 1s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0s) + .25s);
  }
  .tw-lit{
    opacity:0;
    transition:opacity .7s ease calc(var(--d, 0s) + 1.05s);
  }
  .abt-journey__row li.is-in .tw-rise{ transform:scaleY(1); }
  .abt-journey__row li.is-in .tw-lit{ opacity:1; }
}

@media (max-width:860px) and (prefers-reduced-motion:reduce){
  .tw-rise{ transform:none; transition:none; }
  .tw-lit{ opacity:1; transition:none; }
}

/* =========================================================
   ABOUT — SHORTER ON MOBILE (≤860px)
   Two trims that keep every word available:
   - the long paragraphs fold to three lines behind a "Read more" toggle
     (main.js adds .is-clamped and unhides .abt-more);
   - the journey timeline becomes a sideways swipe row, one milestone card
     at a time with its neighbour peeking in, like the key-point cards.
   ========================================================= */
.abt-more{ display:none; }

/* About 21st Castle: "Learn More" to the group site, the Explore pill
   with a tighter top margin and its own line under the copy */
.explore.abt-cta{ display:flex; width:max-content; margin-top:clamp(18px,3vh,28px); }

@media (max-width:860px){
  .abt-lede.is-clamped{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    line-clamp:3;
    overflow:hidden;
  }
  .abt-more{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:8px;
    padding:4px 0;
    font-size:12.5px;
    font-weight:600;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:var(--ab-gold);
    border-bottom:1px solid currentColor;
  }
  .abt-more[hidden]{ display:none; }

  /* ---- the journey: a swipe row ----
     overflow-y is pinned for the same reason as .keys__row: the cards'
     rise-in reveal would otherwise let a swipe scroll them vertically */
  .abt-journey__row{
    display:flex;
    gap:12px;
    margin-top:20px;
    padding:18px 0 4px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;     /* swiping the row must not turn the page */
  }
  .abt-journey__row::-webkit-scrollbar{ display:none; }

  .abt-journey__row li,
  .abt-journey__row li:last-child{
    flex:0 0 84%;
    scroll-snap-align:start;
    padding:16px 14px;
    border:1px solid var(--ab-line);
    border-radius:12px;
    background:#FBF8F3;
  }
  /* the dashed path ran down between stacked milestones; side by side it
     has nowhere to go */
  .abt-journey__row li:not(:last-child)::after{ display:none; }
}

/* =========================================================
   HOME HERO — MOBILE STRR BADGE (≤860px)
   On phones the CTA and the facts pill give way to the STRR badge and its
   highway caption, tucked into the bottom-right corner.
   The header's call icon goes too; the floating call button covers it.
   Desktop never shows the badge.
   ========================================================= */
.hero__badge{ display:none; }

@media (max-width:860px){
  .hero .explore,
  .hero .features{ display:none; }
  .hdr-call{ display:none !important; }    /* beats the inline display:inline-flex */

  .hero__badge{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:6px;
    position:absolute;
    right:4vw;
    bottom:max(20px, env(safe-area-inset-bottom));  /* the floating buttons are hidden on the hero */
    width:min(34vw,150px);
  }
  .hero__badge-title{
    margin:0;
    padding:5px 11px;
    border-radius:999px;
    background:rgba(30,51,32,.94);
    box-shadow:0 8px 18px rgba(16,28,18,.28);
    font-family:'Urbanist',sans-serif;
    font-size:11px;
    font-weight:600;
    letter-spacing:.03em;
    line-height:1.3;
    text-align:right;
    color:#EEE9DE;
    white-space:nowrap;
  }
  .hero__badge img{
    display:block;
    width:100%;
    height:auto;
    filter:drop-shadow(0 8px 18px rgba(16,28,18,.30));
  }
}

/* =========================================================
   FLOATING BUTTONS — HIDDEN ON THE HERO
   main.js sets html.at-hero until the visitor scrolls; the call button and
   the assistant launcher then fade up into place. An open chat panel keeps
   its launcher (the close button) regardless.
   ========================================================= */
html .fab,
html .nbc__launcher{
  transition:transform .25s ease, background .22s ease, box-shadow .25s ease,
             opacity .35s ease, translate .35s ease, visibility 0s linear 0s;
}
html.at-hero .fab,
html.at-hero .nbc__launcher:not(.is-open){
  opacity:0;
  translate:0 14px;
  visibility:hidden;
  pointer-events:none;
  transition:transform .25s ease, background .22s ease, box-shadow .25s ease,
             opacity .35s ease, translate .35s ease, visibility 0s linear .35s;
}

/* phones: the call button stays bottom-left from the first screen,
   hero included (the assistant launcher keeps the fade-in above) */
@media (max-width:860px){
  html.at-hero .fab--call{
    opacity:1;
    translate:none;
    visibility:visible;
    pointer-events:auto;
  }
}
