/*
Theme Name: Atkinson Reserve
Theme URI: https://atkinsonreserve.test
Author: Aztec Media
Description: A bespoke, luxury theme for The Atkinson Reserve — a newly completed collection of luxury apartments. Champagne-gold and warm ink branding, editorial serif typography, full-bleed cinematic hero, and a refined residence showcase.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atkinson-reserve
*/

/* ============================================================
   ATKINSON RESERVE — DESIGN SYSTEM
   ============================================================ */
:root{
  /* Ink / near-black (warm) */
  --ink:        #15110C;
  --ink-2:      #1c1812;
  --ink-3:      #272118;
  --ink-soft:   #3a3225;

  /* Gold gradient (from the brand mark) */
  --gold-deep:  #8C6B3D;
  --gold:       #BD9658;
  --gold-mid:   #C9A668;
  --gold-light: #D8B679;
  --gold-pale:  #F1DBA8;
  --champagne:  #FBEFC8;
  --gold-grad:  linear-gradient(180deg,#A47C48 0%,#D8B679 22%,#F1DBA8 42%,#FBEFC8 52%,#E9CB91 62%,#BD9658 82%,#8C6B3D 100%);
  --gold-grad-h: linear-gradient(95deg,#8C6B3D 0%,#BD9658 28%,#F1DBA8 52%,#D8B679 74%,#8C6B3D 100%);

  /* Paper / cream */
  --cream:      #F6F1E8;
  --cream-2:    #EFE7D8;
  --cream-3:    #E7DCC8;
  --paper:      #FCFAF5;

  /* Text */
  --text:       #241f17;
  --text-soft:  #574e3d;
  --text-on-ink:#EDE4D2;
  --text-on-ink-soft: rgba(237,228,210,.62);

  /* Lines */
  --line:       rgba(140,107,61,.22);
  --line-strong:rgba(140,107,61,.42);
  --line-ink:   rgba(241,219,168,.18);

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans:  "Jost", "Century Gothic", system-ui, sans-serif;

  /* Rhythm */
  --container: 1280px;
  --container-wide: 1480px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section: clamp(4.5rem, 10vw, 9rem);
  --radius: 2px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --header-h: 118px;
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--sans);
  font-weight:400;
  color:var(--text);
  background:var(--paper);
  line-height:1.7;
  font-size:clamp(1rem,.55vw + .85rem,1.075rem);
  letter-spacing:.005em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,svg,video{ max-width:100%; display:block; height:auto; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ margin:0; font-weight:500; line-height:1.04; letter-spacing:-.01em; }
p{ margin:0 0 1.25em; }
::selection{ background:var(--gold-deep); color:var(--champagne); }

/* ---------- Lenis smooth scroll ---------- */
html.lenis, html.lenis body{ height:auto; }
.lenis.lenis-smooth{ scroll-behavior:auto !important; }
.lenis.lenis-smooth [data-lenis-prevent]{ overscroll-behavior:contain; }
.lenis.lenis-stopped{ overflow:hidden; }
.lenis.lenis-smooth iframe{ pointer-events:none; }

/* ---------- Typography helpers ---------- */
.display{ font-family:var(--serif); font-weight:500; }
.eyebrow{
  font-family:var(--sans);
  font-weight:400;
  font-size:.72rem;
  letter-spacing:.42em;
  text-transform:uppercase;
  color:var(--gold-deep);
  display:inline-flex; align-items:center; gap:.85em;
}
.eyebrow--light{ color:var(--gold-light); }
.eyebrow::before{
  content:""; width:34px; height:1px; background:currentColor; opacity:.7;
}
.eyebrow--center{ justify-content:center; }
.eyebrow--center::after{
  content:""; width:34px; height:1px; background:currentColor; opacity:.7;
}
.gold-text{
  background:var(--gold-grad-h);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}

/* ---------- Layout ---------- */
.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:var(--gutter); }
.container--wide{ max-width:var(--container-wide); }
.section{ padding-block:var(--section); position:relative; }
.section--ink{ background:var(--ink); color:var(--text-on-ink); }
.section--cream{ background:var(--cream); }
.section--paper{ background:var(--paper); }
.center{ text-align:center; }

/* ---------- Buttons ---------- */
.btn{
  --bg:var(--ink); --fg:var(--champagne);
  display:inline-flex; align-items:center; justify-content:center; gap:.8em;
  font-family:var(--sans); font-weight:400;
  font-size:.78rem; letter-spacing:.22em; text-transform:uppercase;
  white-space:nowrap;
  padding:1.15em 2.3em;
  background:var(--bg); color:var(--fg);
  border:1px solid var(--bg);
  position:relative; overflow:hidden; isolation:isolate;
  transition:color .5s var(--ease), border-color .5s var(--ease);
}
.btn::after{
  content:""; position:absolute; inset:0; z-index:-1;
  background:var(--gold-grad-h); transform:translateY(101%);
  transition:transform .55s var(--ease-out);
}
.btn:hover{ color:var(--ink); border-color:var(--gold); }
.btn:hover::after{ transform:translateY(0); }
/* Filled-by-default: shows the gold hover appearance from the start */
.btn--filled{ color:var(--ink); border-color:var(--gold); }
.btn--filled::after{ transform:translateY(0); }
.btn--gold{ --bg:transparent; --fg:var(--ink); border-color:var(--gold-deep); }
.btn--gold::after{ background:var(--gold-grad-h); }
.btn--gold:hover{ color:var(--ink); }
.btn--ghost{ --bg:transparent; --fg:var(--champagne); border-color:rgba(241,219,168,.4); }
.btn--ghost:hover{ color:var(--ink); border-color:var(--gold); }
.btn--ghost-ink{ --bg:transparent; --fg:var(--ink); border-color:var(--line-strong); }
.btn .arr{ transition:transform .45s var(--ease); }
.btn:hover .arr{ transform:translateX(4px); }

.link-arrow{
  display:inline-flex; align-items:center; gap:.7em;
  font-size:.76rem; letter-spacing:.22em; text-transform:uppercase; font-weight:400;
  color:var(--gold-deep); padding-bottom:.3em;
  position:relative;
}
.link-arrow::after{ content:""; position:absolute; left:0; bottom:0; height:1px; width:0; background:var(--gold); transition:width .5s var(--ease); }
.link-arrow:hover::after{ width:100%; }
.link-arrow .arr{ transition:transform .45s var(--ease); }
.link-arrow:hover .arr{ transform:translateX(5px); }
.section--ink .link-arrow{ color:var(--gold-light); }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.topbar{
  background:var(--ink); color:var(--champagne);
  text-align:center;
  font-size:.7rem; letter-spacing:.28em; text-transform:uppercase; font-weight:300;
  padding:.7em 1rem; position:relative; z-index:60;
  border-bottom:1px solid var(--line-ink);
}
.topbar b{ font-weight:400; color:var(--gold-light); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position:absolute; top:var(--topbar-h,38px); left:0; right:0; z-index:50;
  transition:background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.site-header.is-fixed{
  position:fixed; top:0;
  background:rgba(21,17,12,.92);
  backdrop-filter:blur(14px) saturate(1.2);
  box-shadow:0 1px 0 var(--line-ink), 0 18px 50px -30px rgba(0,0,0,.8);
}
.site-header.is-hidden{ transform:translateY(-100%); }
.nav{
  height:var(--header-h);
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center;
  gap:1rem;
  transition:height .5s var(--ease);
}
.nav__menu{ display:flex; align-items:center; gap:clamp(1rem,2vw,2.2rem); }
.nav__menu--right{ justify-content:flex-end; }
.nav__menu a, .menu-item > a{
  font-size:.74rem; letter-spacing:.18em; text-transform:uppercase; font-weight:300;
  color:var(--text-on-ink); position:relative; padding:.5em 0; white-space:nowrap;
  transition:color .4s var(--ease);
}
.nav__menu a::after, .menu-item > a::after{
  content:""; position:absolute; left:0; bottom:0; height:1px; width:0;
  background:var(--gold-grad-h); transition:width .45s var(--ease);
}
.nav__menu a:hover, .menu-item > a:hover{ color:var(--champagne); }
.nav__menu a:hover::after, .menu-item > a:hover::after{ width:100%; }

.brand{ justify-self:center; display:block; line-height:0; }
.brand img{ height:84px; width:auto; transition:height .5s var(--ease); }
.is-fixed .brand img{ height:64px; }
/* compact the bar once it sticks, so the spacious top header doesn't eat the viewport */
.site-header.is-fixed .nav{ height:84px; }

/* dropdown */
.menu-item-has-children{ position:relative; }
.sub-menu{
  position:absolute; top:100%; left:0; transform:translateY(8px);
  background:rgba(21,17,12,.97); backdrop-filter:blur(12px);
  border:1px solid var(--line-ink); padding:.6rem 0; min-width:250px;
  opacity:0; visibility:hidden; transition:.35s var(--ease); z-index:20;
}
.menu-item-has-children:hover .sub-menu{ opacity:1; visibility:visible; transform:translateY(0); }
.sub-menu .menu-item{ display:block; }
.sub-menu a{ display:block; padding:.7em 1.6em; letter-spacing:.14em; }
.sub-menu a::after{ display:none; }

.nav__cta{ display:inline-flex; }
.nav__cta .btn{ padding:.95em 1.7em; font-size:.7rem; }

/* burger */
.burger{
  display:none; background:none; border:0; width:46px; height:46px;
  position:relative; justify-self:end;
}
.burger span{ position:absolute; left:9px; right:9px; height:1.5px; background:var(--champagne); transition:.4s var(--ease); }
.burger span:nth-child(1){ top:16px; }
.burger span:nth-child(2){ top:23px; }
.burger span:nth-child(3){ top:30px; }
body.menu-open .burger span:nth-child(1){ top:23px; transform:rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity:0; }
body.menu-open .burger span:nth-child(3){ top:23px; transform:rotate(-45deg); }

/* mobile drawer */
.drawer{
  position:fixed; inset:0; z-index:45;
  background:var(--ink); color:var(--text-on-ink);
  display:flex; flex-direction:column; justify-content:center;
  padding:6rem var(--gutter) 3rem;
  transform:translateY(-100%); opacity:0; visibility:hidden;
  transition:transform .6s var(--ease-out), opacity .5s var(--ease), visibility .5s;
}
body.menu-open .drawer{ transform:translateY(0); opacity:1; visibility:visible; }
.drawer__inner{ max-width:520px; margin-inline:auto; width:100%; }
.drawer .menu{ display:flex; flex-direction:column; gap:.2rem; }
.drawer .menu-item > a{
  font-family:var(--serif); font-size:clamp(1.8rem,7vw,2.6rem); letter-spacing:0;
  text-transform:none; color:var(--text-on-ink); font-weight:500;
  padding:.28em 0; display:block;
}
.drawer .menu-item > a::after{ display:none; }
.drawer .sub-menu{
  position:static; transform:none; opacity:1; visibility:visible; background:none;
  border:0; padding:.2rem 0 .6rem 1.2rem; min-width:0;
}
.drawer .sub-menu a{ font-family:var(--sans); font-size:.8rem; padding:.4em 0; color:var(--text-on-ink-soft); }
.drawer__foot{ margin-top:2.5rem; display:flex; flex-direction:column; gap:1.4rem; align-items:flex-start; }
.drawer__foot .btn{ width:100%; }
.drawer__contact{ font-size:.8rem; letter-spacing:.12em; color:var(--text-on-ink-soft); text-transform:uppercase; }
.drawer__contact a{ color:var(--gold-light); }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative; min-height:100svh; display:flex; align-items:flex-end;
  color:var(--text-on-ink); overflow:hidden;
  padding-top:calc(var(--header-h) + var(--topbar-h,38px));
}
.hero__media{ position:absolute; inset:0; z-index:0; }
.hero__media video, .hero__media img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.hero__media::after{
  content:""; position:absolute; inset:0; z-index:3;
  background:
    linear-gradient(180deg, rgba(18,14,10,.72) 0%, rgba(18,14,10,.46) 32%, rgba(18,14,10,.66) 70%, rgba(18,14,10,.97) 100%),
    radial-gradient(120% 85% at 50% 0%, rgba(18,14,10,.18) 28%, rgba(18,14,10,.66) 100%);
}
.hero__inner{
  position:relative; z-index:2; width:100%;
  padding-bottom:clamp(3.5rem,8vh,7rem);
}
.hero__eyebrow{ margin-bottom:1.6rem; }
.hero__title{
  font-family:var(--serif); font-weight:500;
  font-size:clamp(3.2rem,9vw,8.5rem);
  line-height:.95; letter-spacing:-.015em;
  max-width:16ch;
  text-shadow:0 2px 40px rgba(0,0,0,.4);
}
.hero__title em{ font-style:italic; }
.hero__sub{
  margin-top:1.8rem; max-width:46ch;
  font-size:clamp(1rem,1.4vw,1.2rem); font-weight:300;
  color:var(--text-on-ink-soft); line-height:1.75;
}
.hero__actions{ margin-top:2.6rem; display:flex; flex-wrap:wrap; gap:1rem; }
.hero__scroll{
  position:absolute; bottom:2rem; left:50%; transform:translateX(-50%); z-index:3;
  font-size:.62rem; letter-spacing:.3em; text-transform:uppercase; color:var(--text-on-ink-soft);
  display:flex; flex-direction:column; align-items:center; gap:.8rem;
}
.hero__scroll .line{ width:1px; height:54px; background:linear-gradient(var(--gold-light),transparent); position:relative; overflow:hidden; }
.hero__scroll .line::after{ content:""; position:absolute; top:-54px; left:0; width:1px; height:54px; background:var(--champagne); animation:scrolldot 2.4s var(--ease) infinite; }
@keyframes scrolldot{ to{ top:54px; } }

/* hero corner frame */
.hero__frame{ position:absolute; z-index:2; inset:clamp(1.2rem,3vw,2.4rem); border:1px solid rgba(241,219,168,.16); pointer-events:none; }
.hero__frame::before,.hero__frame::after{ content:""; position:absolute; width:18px; height:18px; border:1px solid var(--gold-light); }
.hero__frame::before{ top:-1px; left:-1px; border-right:0; border-bottom:0; }
.hero__frame::after{ bottom:-1px; right:-1px; border-left:0; border-top:0; }

/* ============================================================
   MARQUEE / STAT STRIP
   ============================================================ */
.factbar{ background:var(--ink-2); color:var(--text-on-ink); border-block:1px solid var(--line-ink); }
.factbar__grid{ display:grid; grid-template-columns:repeat(4,1fr); }
.fact{ padding:clamp(2rem,4vw,3.2rem) 1.5rem; text-align:center; border-left:1px solid var(--line-ink); }
.fact:first-child{ border-left:0; }
.fact__num{ font-family:var(--serif); font-size:clamp(2.4rem,4vw,3.4rem); line-height:1; margin-bottom:.35rem; }
.fact__num .gold-text{ display:inline-block; }
.fact__label{ font-size:.66rem; letter-spacing:.24em; text-transform:uppercase; color:var(--text-on-ink-soft); }

/* ============================================================
   EDITORIAL / SPLIT SECTIONS
   ============================================================ */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2.5rem,6vw,6rem); align-items:center; }
.split--reverse .split__media{ order:2; }
.split__title{
  font-family:var(--serif); font-weight:500;
  font-size:clamp(2.2rem,4.2vw,3.7rem); line-height:1.05;
  margin:1.4rem 0 1.6rem;
}
.split__body{ color:var(--text-soft); }
.section--ink .split__body{ color:var(--text-on-ink-soft); }
.split__body p:last-child{ margin-bottom:0; }
.split__actions{ margin-top:2.2rem; }
.lead{ font-size:1.18rem; color:var(--text); line-height:1.7; }
.section--ink .lead{ color:var(--text-on-ink); }

/* index / counter mark */
.kicker-index{
  font-family:var(--serif); font-style:italic; font-size:1.4rem; color:var(--gold-deep);
  display:inline-block; margin-bottom:.4rem;
}

/* ============================================================
   MEDIA / FIGURE
   ============================================================ */
.figure{ position:relative; overflow:hidden; }
.figure--tall{ aspect-ratio:4/5; }
.figure--wide{ aspect-ratio:5/4; }
.figure img{ width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease-out); }
.figure:hover img{ transform:scale(1.05); }
.figure__tag{
  position:absolute; left:0; bottom:0; z-index:2;
  background:var(--ink); color:var(--champagne);
  font-size:.64rem; letter-spacing:.24em; text-transform:uppercase;
  padding:.85em 1.4em;
}
.figure__frame{ position:absolute; inset:14px; border:1px solid rgba(241,219,168,.5); z-index:2; pointer-events:none; mix-blend-mode:soft-light; }

/* branded placeholder (no photos yet) */
.ph{
  position:relative; overflow:hidden;
  background:
    radial-gradient(120% 120% at 30% 20%, var(--ink-3) 0%, var(--ink) 70%);
  display:flex; align-items:center; justify-content:center;
}
.ph::before{
  content:""; position:absolute; inset:0; opacity:.5;
  background-image:
    repeating-linear-gradient(135deg, rgba(241,219,168,.04) 0 2px, transparent 2px 9px);
}
.ph__mark{ width:clamp(90px,24%,150px); opacity:.5; filter:drop-shadow(0 6px 24px rgba(0,0,0,.5)); }
.ph--cream{ background:radial-gradient(120% 120% at 30% 20%, var(--cream) 0%, var(--cream-3) 75%); }
.ph--cream .ph__mark{ opacity:.45; }
.ph--cream::before{ background-image:repeating-linear-gradient(135deg, rgba(140,107,61,.05) 0 2px, transparent 2px 9px); }
.ph__label{ position:absolute; bottom:1rem; left:50%; transform:translateX(-50%); font-size:.6rem; letter-spacing:.26em; text-transform:uppercase; color:rgba(241,219,168,.4); }
.ph--cream .ph__label{ color:rgba(140,107,61,.5); }

/* ============================================================
   AMENITIES GRID
   ============================================================ */
.amenities{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); margin-top:3.5rem; }
.amenity{ background:var(--paper); padding:clamp(1.8rem,3vw,2.6rem) clamp(1.4rem,2vw,2rem); transition:background .5s var(--ease); }
.amenity:hover{ background:var(--cream); }
.amenity__icon{ width:34px; height:34px; color:var(--gold-deep); margin-bottom:1.1rem; }
.amenity__icon svg{ width:100%; height:100%; stroke:currentColor; fill:none; stroke-width:1.25; }
.amenity h4{ font-family:var(--serif); font-size:1.5rem; font-weight:500; margin-bottom:.4rem; }
.amenity p{ font-size:.86rem; color:var(--text-soft); margin:0; line-height:1.6; }
.section--ink .amenities{ background:var(--line-ink); border-color:var(--line-ink); }
.section--ink .amenity{ background:var(--ink); }
.section--ink .amenity:hover{ background:var(--ink-2); }
.section--ink .amenity h4{ color:var(--text-on-ink); }
.section--ink .amenity p{ color:var(--text-on-ink-soft); }
.section--ink .amenity__icon{ color:var(--gold-light); }

/* ============================================================
   SECTION HEADING (centered)
   ============================================================ */
.shead{ text-align:center; max-width:62ch; margin-inline:auto; margin-bottom:clamp(3rem,5vw,4.5rem); }
.shead__title{ font-family:var(--serif); font-weight:500; font-size:clamp(2.4rem,5vw,4rem); line-height:1.04; margin:1.2rem 0 1.2rem; }
.shead__sub{ color:var(--text-soft); }
.section--ink .shead__sub{ color:var(--text-on-ink-soft); }
.shead__rule{ width:54px; height:1px; background:var(--gold-grad-h); margin:1.4rem auto 0; }

/* ============================================================
   RESIDENCES GRID (apartment cards)
   ============================================================ */
.res-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(1.2rem,2vw,1.8rem); }
.res-grid--3{ grid-template-columns:repeat(3,1fr); }
.res-card{ position:relative; display:flex; flex-direction:column; background:var(--paper); border:1px solid var(--line); transition:transform .6s var(--ease-out), box-shadow .6s var(--ease); }
.res-card:hover{ transform:translateY(-6px); box-shadow:0 40px 70px -50px rgba(60,45,20,.6); }
.res-card__media{ position:relative; aspect-ratio:4/3; overflow:hidden; }
.res-card__media .ph, .res-card__media img{ position:absolute; inset:0; width:100%; height:100%; }
.res-card__media img{ object-fit:cover; transition:transform 1.1s var(--ease-out); }
.res-card:hover .res-card__media img{ transform:scale(1.06); }
.res-card__status{
  position:absolute; top:1rem; left:1rem; z-index:3;
  font-size:.6rem; letter-spacing:.22em; text-transform:uppercase; font-weight:400;
  padding:.5em 1.1em; background:var(--champagne); color:var(--ink);
}
.res-card__status.is-leased{ background:rgba(21,17,12,.82); color:var(--gold-light); }
.res-card__status.is-available::before{ content:""; display:inline-block; width:6px; height:6px; border-radius:50%; background:#3f7d4f; margin-right:.6em; vertical-align:middle; }
/* leased state — dark overlay + diagonal banner across the image */
.res-card__media.is-leased::after{
  content:""; position:absolute; inset:0; z-index:2;
  background:linear-gradient(180deg, rgba(21,17,12,.55), rgba(21,17,12,.64));
}
.res-card__leased-banner{
  position:absolute; z-index:3; top:50%; left:50%;
  transform:translate(-50%,-50%) rotate(-32deg);
  width:150%; text-align:center; pointer-events:none;
  background:rgba(21,17,12,.92); color:var(--gold-light);
  font-family:var(--sans); font-weight:400;
  font-size:.82rem; letter-spacing:.42em; text-indent:.42em; text-transform:uppercase;
  padding:.85em 0; border-block:1px solid var(--gold);
  box-shadow:0 12px 34px -14px rgba(0,0,0,.75);
}
.res-card__body{ padding:1.5rem 1.6rem 1.7rem; display:flex; flex-direction:column; flex:1; }
.res-card__name{ font-family:var(--serif); font-size:1.7rem; font-weight:500; line-height:1; }
.res-card__plan{ font-size:.68rem; letter-spacing:.2em; text-transform:uppercase; color:var(--gold-deep); margin-top:.5rem; }
.res-card__stats{ display:flex; gap:1.4rem; margin-top:1.1rem; padding-top:1.1rem; border-top:1px solid var(--line); font-size:.78rem; color:var(--text-soft); }
.res-card__stats b{ color:var(--text); font-weight:400; }
.res-card__foot{ margin-top:auto; padding-top:1.4rem; }
.res-card__price{ font-family:var(--serif); font-size:1.15rem; color:var(--gold-deep); }
.res-card__link{ display:flex; align-items:center; justify-content:space-between; margin-top:1.2rem; font-size:.72rem; letter-spacing:.2em; text-transform:uppercase; color:var(--ink); }
.res-card__link .arr{ transition:transform .45s var(--ease); color:var(--gold-deep); }
.res-card:hover .res-card__link .arr{ transform:translateX(5px); }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.quote{ position:relative; text-align:center; max-width:64ch; margin-inline:auto; }
.quote__mark{ font-family:var(--serif); font-size:9rem; line-height:.6; color:var(--gold-deep); opacity:.5; display:block; height:.5em; }
.quote__text{ font-family:var(--serif); font-weight:400; font-style:italic; font-size:clamp(1.7rem,3.6vw,3rem); line-height:1.28; max-width:46ch; margin:0 auto 2rem; color:var(--text-on-ink); }
.quote__by{ font-size:.72rem; letter-spacing:.26em; text-transform:uppercase; color:var(--gold-light); }
.quote__watermark{ position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:min(560px,80%); opacity:.04; pointer-events:none; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band{ position:relative; overflow:hidden; }
.cta-band__media{ position:absolute; inset:0; z-index:0; overflow:hidden; }
.cta-band__media img{ position:absolute; top:-15%; left:0; width:100%; height:130%; object-fit:cover; will-change:transform; }
.cta-band__media::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(21,17,12,.84) 0%, rgba(21,17,12,.8) 45%, rgba(21,17,12,.92) 100%); }
.cta-band__inner{ text-align:center; max-width:60ch; margin-inline:auto; position:relative; z-index:2; }
.cta-band__title{ font-family:var(--serif); font-weight:500; font-size:clamp(2.4rem,5vw,4.4rem); line-height:1.04; margin:1.2rem 0 1.5rem; }
.cta-band__body{ color:var(--text-on-ink-soft); margin-bottom:2.4rem; }
.cta-band__glow{ position:absolute; inset:0; z-index:1; background:radial-gradient(60% 80% at 50% 120%, rgba(189,150,88,.28), transparent 70%); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq{ max-width:880px; margin-inline:auto; }
.faq__item{ border-top:1px solid var(--line); }
.faq__item:last-child{ border-bottom:1px solid var(--line); }
.faq__q{
  width:100%; background:none; border:0; text-align:left;
  display:flex; align-items:center; gap:1.5rem; justify-content:space-between;
  padding:1.7rem 0; font-family:var(--serif); font-size:clamp(1.25rem,2.2vw,1.6rem); font-weight:500; color:var(--text);
}
.faq__icon{ position:relative; width:20px; height:20px; flex-shrink:0; }
.faq__icon::before,.faq__icon::after{ content:""; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); background:var(--gold-deep); transition:transform .45s var(--ease); }
.faq__icon::before{ width:16px; height:1.5px; }
.faq__icon::after{ width:1.5px; height:16px; }
.faq__item.is-open .faq__icon::after{ transform:translate(-50%,-50%) scaleY(0); }
.faq__a{ overflow:hidden; height:0; transition:height .5s var(--ease); }
.faq__a-inner{ padding:0 0 1.9rem; color:var(--text-soft); max-width:72ch; }
.faq__item.is-open .faq__q{ color:var(--gold-deep); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{ background:var(--ink); color:var(--text-on-ink); position:relative; }
.footer__top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:clamp(2rem,4vw,3.5rem); padding-block:clamp(4rem,7vw,6rem); }
.footer__brand img{ height:96px; width:auto; margin-bottom:1.6rem; }
.footer__tag{ color:var(--text-on-ink-soft); max-width:34ch; font-size:.92rem; }
.footer__col h5{ font-size:.7rem; letter-spacing:.26em; text-transform:uppercase; color:var(--gold-light); margin:0 0 1.4rem; font-weight:400; }
.footer__col ul{ display:flex; flex-direction:column; gap:.85rem; }
.footer__col a{ font-size:.9rem; color:var(--text-on-ink-soft); transition:color .4s var(--ease); }
.footer__col a:hover{ color:var(--champagne); }
.footer__contact li{ font-size:.9rem; color:var(--text-on-ink-soft); margin-bottom:.85rem; line-height:1.5; }
.footer__contact a{ color:var(--gold-light); }
.footer__socials{ display:flex; gap:.8rem; margin-top:1.6rem; }
.footer__socials a{ width:40px; height:40px; border:1px solid var(--line-ink); display:grid; place-items:center; color:var(--gold-light); transition:.4s var(--ease); }
.footer__socials a:hover{ background:var(--gold-grad-h); color:var(--ink); border-color:transparent; }
.footer__socials svg{ width:16px; height:16px; }
.footer__socials i{ font-size:16px; line-height:1; }
.footer__bottom{ border-top:1px solid var(--line-ink); padding-block:1.8rem; display:flex; flex-wrap:wrap; gap:.6rem 2rem; justify-content:space-between; align-items:center; font-size:.74rem; letter-spacing:.1em; color:var(--text-on-ink-soft); }
.footer__bottom a:hover{ color:var(--champagne); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero{ position:relative; padding-top:calc(var(--header-h) + var(--topbar-h,38px) + clamp(3rem,7vw,6rem)); padding-bottom:clamp(3rem,7vw,5.5rem); background:var(--ink); color:var(--text-on-ink); overflow:hidden; text-align:center; }
.page-hero::before{ content:""; position:absolute; inset:0; background:radial-gradient(80% 120% at 50% -10%, rgba(189,150,88,.22), transparent 60%); }
.page-hero__inner{ position:relative; z-index:2; }
.page-hero__title{ font-family:var(--serif); font-weight:500; font-size:clamp(2.8rem,6vw,5rem); line-height:1.02; margin:1.2rem 0 0; }
.page-hero__crumb{ font-size:.68rem; letter-spacing:.24em; text-transform:uppercase; color:var(--text-on-ink-soft); }
.page-hero__crumb a:hover{ color:var(--gold-light); }
.page-hero__lead{ max-width:60ch; margin:1.6rem auto 0; color:var(--text-on-ink-soft); }
.page-hero__mark{ position:absolute; right:-40px; bottom:-60px; width:300px; opacity:.05; }

/* ============================================================
   PROSE (generic content)
   ============================================================ */
.prose{ max-width:760px; margin-inline:auto; }
.prose h2{ font-family:var(--serif); font-size:clamp(1.8rem,3.4vw,2.6rem); font-weight:500; margin:2.4rem 0 1rem; }
.prose h3{ font-family:var(--serif); font-size:1.5rem; font-weight:500; margin:2rem 0 .8rem; }
.prose p{ color:var(--text-soft); }
.prose ul.ticks{ display:flex; flex-direction:column; gap:.9rem; margin:1.4rem 0 2rem; }
.prose ul.ticks li{ position:relative; padding-left:2rem; color:var(--text-soft); }
.prose ul.ticks li::before{ content:""; position:absolute; left:0; top:.55em; width:11px; height:6px; border-left:1.5px solid var(--gold-deep); border-bottom:1.5px solid var(--gold-deep); transform:rotate(-45deg); }

/* requirements list */
.req-list{ display:flex; flex-direction:column; gap:0; margin:2rem 0; }
.req-list li{ display:flex; gap:1.4rem; padding:1.4rem 0; border-top:1px solid var(--line); align-items:flex-start; color:var(--text-soft); }
.req-list li:last-child{ border-bottom:1px solid var(--line); }
.req-list .n{ font-family:var(--serif); font-style:italic; color:var(--gold-deep); font-size:1.3rem; line-height:1; min-width:2ch; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:clamp(2.5rem,5vw,5rem); align-items:start; }
.contact-card{ background:var(--ink); color:var(--text-on-ink); padding:clamp(2.2rem,4vw,3.4rem); }
.contact-card h3{ font-family:var(--serif); font-size:2rem; font-weight:500; margin-bottom:1.8rem; }
.contact-detail{ display:flex; gap:1.2rem; padding:1.3rem 0; border-top:1px solid var(--line-ink); align-items:flex-start; }
.contact-detail:first-of-type{ border-top:0; }
.contact-detail__ic{ width:22px; height:22px; color:var(--gold-light); flex-shrink:0; margin-top:3px; }
.contact-detail__ic svg{ width:100%; height:100%; stroke:currentColor; fill:none; stroke-width:1.3; }
.contact-detail h6{ margin:0 0 .25rem; font-size:.66rem; letter-spacing:.22em; text-transform:uppercase; color:var(--gold-light); font-weight:400; }
.contact-detail p, .contact-detail a{ margin:0; color:var(--text-on-ink-soft); font-size:.96rem; line-height:1.5; }
.contact-detail a:hover{ color:var(--champagne); }

.form{ display:grid; gap:1.3rem; }
.form__row{ display:grid; grid-template-columns:1fr 1fr; gap:1.3rem; }
.field{ display:flex; flex-direction:column; gap:.5rem; }
.field label{ font-size:.66rem; letter-spacing:.2em; text-transform:uppercase; color:var(--text-soft); font-weight:400; }
.field input, .field textarea, .field select{
  font-family:var(--sans); font-size:.96rem; font-weight:300; color:var(--text);
  padding:.95em 1.1em; border:1px solid var(--line-strong); background:var(--paper);
  border-radius:var(--radius); transition:border-color .4s var(--ease), box-shadow .4s var(--ease);
  width:100%;
}
.field input:focus, .field textarea:focus, .field select:focus{ outline:0; border-color:var(--gold); box-shadow:0 0 0 3px rgba(189,150,88,.12); }
.field textarea{ min-height:150px; resize:vertical; }

/* ---- Contact Form 7 ------------------------------------------------
   CF7 wraps every control in a <span>, which must fill the field for the
   controls to match the theme's native full-width inputs. The `.field > p`
   rule is a safeguard: if wpautop is ever re-enabled (or a blank line is
   added to the form in the CF7 admin UI), fields still stack instead of
   collapsing onto one line. */
.field .wpcf7-form-control-wrap{ display:block; }
.field > p{ display:flex; flex-direction:column; gap:.5rem; margin:0; }
.wpcf7-form .btn{ width:auto; }
.wpcf7-not-valid-tip{ font-size:.72rem; letter-spacing:.04em; color:#a5342b; margin-top:.4rem; }
.field input.wpcf7-not-valid, .field textarea.wpcf7-not-valid, .field select.wpcf7-not-valid{ border-color:#a5342b; }
.wpcf7-response-output{
  margin:1.4rem 0 0; padding:.9em 1.2em; border:1px solid var(--line-strong);
  font-size:.86rem; line-height:1.5; border-radius:var(--radius);
}
.wpcf7 form.sent .wpcf7-response-output{ border-color:var(--gold); background:rgba(189,150,88,.08); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output{ border-color:#a5342b; background:rgba(165,52,43,.06); }
.wpcf7-spinner{ margin:0 0 0 .8em; }

/* ============================================================
   GALLERY
   ============================================================ */
/* Justified gallery — each row's column spans always sum to 12 (full width) */
.gallery-grid{ display:grid; grid-template-columns:repeat(12,1fr); grid-auto-rows:clamp(210px,21vw,300px); gap:clamp(.7rem,1.2vw,1.2rem); }
.gallery-grid .g{ position:relative; overflow:hidden; display:block; }
.gallery-grid .g .ph, .gallery-grid .g img{ position:absolute; inset:0; width:100%; height:100%; }
.gallery-grid .g img{ object-fit:cover; transition:transform 1.1s var(--ease-out); }
.gallery-grid .g:hover img{ transform:scale(1.06); }
.gallery-grid .g::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 55%,rgba(21,17,12,.5)); opacity:0; transition:opacity .5s var(--ease); }
.gallery-grid .g:hover::after{ opacity:1; }
/* span utilities */
.g.col-3{ grid-column:span 3; } .g.col-4{ grid-column:span 4; } .g.col-5{ grid-column:span 5; }
.g.col-6{ grid-column:span 6; } .g.col-7{ grid-column:span 7; } .g.col-8{ grid-column:span 8; }
.g.row-2{ grid-row:span 2; }

/* Second gallery band — continues the grid below the curated staged set,
   separated by spacing alone (no heading, per client). */
.gallery-band{ margin-top:clamp(.7rem,1.2vw,1.2rem); }

/* ============================================================
   LARGE INLINE VIDEO (Aerial View)
   ============================================================ */
.ar-video{ position:relative; width:100%; aspect-ratio:16/9; overflow:hidden; background:var(--ink); border:1px solid var(--line); }
.ar-video__el{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:var(--ink); }
.ar-video__cap{ margin-top:1rem; font-size:.8rem; letter-spacing:.02em; color:var(--text-soft); text-align:center; }
@media (max-width:680px){
  .ar-video{ aspect-ratio:4/3; }
  .ar-video__el{ object-fit:contain; }
}

/* ============================================================
   SINGLE RESIDENCE (stats showcase)
   ============================================================ */
.res-hero{ position:relative; min-height:62vh; display:flex; align-items:flex-end; color:var(--text-on-ink); overflow:hidden; padding-top:calc(var(--header-h) + var(--topbar-h,38px)); }
.res-hero__media{ position:absolute; inset:0; }
.res-hero__media .ph, .res-hero__media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.res-hero__media::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(21,17,12,.35),rgba(21,17,12,.9)); }
.res-hero__inner{ position:relative; z-index:2; width:100%; padding-bottom:clamp(2.5rem,5vw,4rem); }
.res-hero__crumb{ font-size:.68rem; letter-spacing:.24em; text-transform:uppercase; color:var(--text-on-ink-soft); margin-bottom:1rem; }
.res-hero__crumb a:hover{ color:var(--gold-light); }
.res-hero__title{ font-family:var(--serif); font-weight:500; font-size:clamp(3rem,7vw,6rem); line-height:.98; }
.res-hero__meta{ display:flex; flex-wrap:wrap; gap:1rem 2.4rem; margin-top:1.4rem; align-items:center; }
.res-hero__plan{ font-size:.72rem; letter-spacing:.22em; text-transform:uppercase; color:var(--gold-light); }
.res-hero__statuspill{ font-size:.62rem; letter-spacing:.2em; text-transform:uppercase; padding:.5em 1.1em; background:var(--champagne); color:var(--ink); }
.res-hero__statuspill.is-leased{ background:rgba(255,255,255,.12); color:var(--gold-light); border:1px solid var(--line-ink); }

/* thumb strip */
.res-thumbs{ display:grid; grid-template-columns:repeat(5,1fr); gap:clamp(.7rem,1.2vw,1.1rem); margin-top:clamp(-3rem,-4vw,-4rem); position:relative; z-index:3; }
.res-thumbs .g{ aspect-ratio:4/3; position:relative; overflow:hidden; border:1px solid var(--line); cursor:pointer; }
.res-thumbs .g .ph{ position:absolute; inset:0; }
.res-thumbs .g img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .9s var(--ease-out); }
.res-thumbs .g:hover img{ transform:scale(1.07); }

/* stats trio */
.statbar{ display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--line); }
.statbox{ text-align:center; padding:clamp(2.4rem,5vw,3.6rem) 1rem; border-left:1px solid var(--line); }
.statbox:first-child{ border-left:0; }
.statbox__ic{ width:40px; height:40px; margin:0 auto 1.2rem; color:var(--gold-deep); }
.statbox__ic svg{ width:100%; height:100%; stroke:currentColor; fill:none; stroke-width:1.1; }
.statbox__num{ font-family:var(--serif); font-size:clamp(2.6rem,5vw,3.6rem); line-height:1; }
.statbox__label{ font-size:.68rem; letter-spacing:.24em; text-transform:uppercase; color:var(--text-soft); margin-top:.5rem; }

/* features two-col */
.features-cols{ columns:2; column-gap:3rem; }
.features-cols li{ break-inside:avoid; position:relative; padding:.7rem 0 .7rem 1.9rem; border-bottom:1px solid var(--line); color:var(--text-soft); font-size:.95rem; }
.features-cols li::before{ content:""; position:absolute; left:0; top:1.15em; width:10px; height:6px; border-left:1.5px solid var(--gold-deep); border-bottom:1.5px solid var(--gold-deep); transform:rotate(-45deg); }

/* floorplan */
.floorplan{ background:var(--cream); border:1px solid var(--line); padding:clamp(1.5rem,3vw,2.5rem); }
.floorplan .ph{ aspect-ratio:16/10; }

/* residence CTA card */
.res-cta{ background:var(--paper); border:1px solid var(--line-strong); padding:clamp(1.8rem,3.5vw,2.8rem); display:flex; flex-wrap:wrap; gap:1.6rem; align-items:center; justify-content:space-between; }
.res-cta h3{ font-family:var(--serif); font-size:clamp(1.6rem,3vw,2.2rem); font-weight:500; }
.res-cta__actions{ display:flex; flex-wrap:wrap; gap:1rem; }

.res-nav{ display:flex; justify-content:space-between; gap:1rem; padding-top:2.5rem; margin-top:3rem; border-top:1px solid var(--line); font-size:.74rem; letter-spacing:.2em; text-transform:uppercase; }
.res-nav a{ color:var(--text-soft); display:flex; flex-direction:column; gap:.4rem; }
.res-nav a:hover{ color:var(--gold-deep); }
.res-nav .lbl{ color:var(--gold-deep); font-size:.62rem; }
.res-nav .nm{ font-family:var(--serif); font-size:1.3rem; letter-spacing:0; text-transform:none; color:var(--text); }
.res-nav .next{ text-align:right; }

.disclaimer{ font-size:.78rem; color:var(--text-soft); max-width:90ch; margin:2.5rem auto 0; text-align:center; line-height:1.6; opacity:.8; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in{ opacity:1; transform:none; }
.reveal[data-d="1"]{ transition-delay:.1s; }
.reveal[data-d="2"]{ transition-delay:.2s; }
.reveal[data-d="3"]{ transition-delay:.3s; }
.reveal[data-d="4"]{ transition-delay:.4s; }
@media (prefers-reduced-motion:reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  *{ animation:none !important; scroll-behavior:auto !important; }
}

/* ============================================================
   SPLASH SCREEN (homepage entry)
   ============================================================ */
body.splash-active{ overflow:hidden; }
.splash{
  position:fixed; inset:0; z-index:9999;
  background:radial-gradient(120% 120% at 50% 42%, #120d08 0%, #070503 72%);
  display:grid; place-items:center;
  transition:opacity 1s var(--ease), visibility 1s;
}
.splash.is-done{ opacity:0; visibility:hidden; }
.splash__inner{ position:relative; display:grid; place-items:center; }
.splash__inner::before{
  content:""; position:absolute; width:min(70vw,460px); aspect-ratio:1; border-radius:50%;
  background:radial-gradient(circle, rgba(189,150,88,.20), transparent 62%);
  animation:splashpulse 2.2s ease-in-out infinite;
}
.splash__logo{
  position:relative; width:clamp(118px,22vw,176px); height:auto;
  filter:drop-shadow(0 10px 40px rgba(0,0,0,.7));
  animation:splashspin 2.6s var(--ease-out) both;
}
@keyframes splashspin{
  0%{ transform:rotate(-300deg) scale(.72); opacity:0; }
  55%{ opacity:1; }
  100%{ transform:rotate(0deg) scale(1); opacity:1; }
}
@keyframes splashpulse{ 0%,100%{ transform:scale(.92); opacity:.7; } 50%{ transform:scale(1.06); opacity:1; } }

/* ============================================================
   EXPLORE MASONRY GRID
   ============================================================ */
.explore-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  grid-auto-rows:1fr; gap:clamp(.8rem,1.4vw,1.3rem);
  height:clamp(440px,50vw,640px);
}
.explore-tile{
  position:relative; overflow:hidden; isolation:isolate;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:clamp(1.4rem,2.4vw,2.4rem);
  color:var(--text-on-ink); border:1px solid var(--line-ink);
  min-height:180px;
}
.explore-tile--lg{ grid-column:span 2; grid-row:span 2; }
.explore-tile--wide{ grid-column:span 2; grid-row:span 1; }
.explore-tile__media{ position:absolute; inset:0; z-index:-2; background:var(--ink-2); }
.explore-tile__media .ph, .explore-tile__media img{ position:absolute; inset:0; width:100%; height:100%; transition:transform 1.2s var(--ease-out); }
.explore-tile__media img{ object-fit:cover; }
.explore-tile:hover .explore-tile__media .ph,
.explore-tile:hover .explore-tile__media img{ transform:scale(1.07); }
.explore-tile::after{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(180deg, rgba(21,17,12,.10) 0%, rgba(21,17,12,.45) 55%, rgba(21,17,12,.88) 100%);
  transition:background .5s var(--ease);
}
.explore-tile:hover::after{ background:linear-gradient(180deg, rgba(21,17,12,.20) 0%, rgba(21,17,12,.55) 55%, rgba(21,17,12,.92) 100%); }
.explore-tile__content{ position:relative; display:flex; flex-direction:column; gap:.5rem; transform:translateY(8px); transition:transform .5s var(--ease); }
.explore-tile:hover .explore-tile__content{ transform:translateY(0); }
.explore-tile__eyebrow{ font-size:.64rem; letter-spacing:.26em; text-transform:uppercase; color:var(--gold-light); }
.explore-tile__title{ font-family:var(--serif); font-weight:500; font-size:clamp(1.5rem,2.4vw,2.1rem); line-height:1; color:var(--champagne); }
.explore-tile--lg .explore-tile__title{ font-size:clamp(2.2rem,4vw,3.4rem); }
.explore-tile__cta{ display:inline-flex; align-items:center; gap:.7em; font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color:var(--text-on-ink-soft); margin-top:.3rem; }
.explore-tile__cta i{ color:var(--gold-light); transition:transform .45s var(--ease); }
.explore-tile:hover .explore-tile__cta{ color:var(--champagne); }
.explore-tile:hover .explore-tile__cta i{ transform:translateX(5px); }
/* distinct tones per tile */
.t-residences .ph{ background:radial-gradient(130% 120% at 28% 18%, #342b1d 0%, #15110c 72%); }
.t-about .ph{ background:radial-gradient(130% 120% at 74% 22%, #2c2417 0%, #15110c 70%); }
.t-location .ph{ background:radial-gradient(130% 120% at 30% 78%, #2f2718 0%, #15110c 72%); }
.t-tours .ph{ background:radial-gradient(130% 120% at 70% 74%, #36240f 0%, #15110c 72%); }
/* keep tiles clean: faint badge on the large tile only */
.explore-tile .ph__mark, .explore-tile .ph__label{ display:none; }
.explore-tile--lg .ph__mark{ display:block; opacity:.12; width:42%; top:18%; left:auto; right:8%; position:absolute; }

/* ============================================================
   INTERACTIVE MAP (Mapbox GL, rebranded)
   ============================================================ */
.ar-map-wrap{ position:relative; border:1px solid var(--line-strong); background:#241a0e; overflow:hidden; }
#ar-map{ width:100%; height:clamp(440px,56vw,640px); background:#241a0e; }
/* gentle warmth + crispness over the rebranded dark-gold tiles (markers stay crisp — they are DOM) */
#ar-map .mapboxgl-canvas-container canvas{ filter:saturate(1.08) contrast(1.04); }
.ar-marker{
  display:flex; align-items:center; justify-content:center;
  width:30px; height:30px; border-radius:50%; color:#fff; font-size:12px;
  border:2px solid rgba(255,255,255,.9); box-shadow:0 4px 14px rgba(0,0,0,.3);
  cursor:pointer; transition:transform .25s var(--ease);
}
.ar-marker:hover{ transform:scale(1.14); z-index:3; }
.ar-marker--apt{
  width:54px; height:54px; font-size:22px; color:var(--ink);
  background:var(--gold-grad); border:2px solid #fff;
  box-shadow:0 8px 24px rgba(140,107,61,.55);
}
/* Higher specificity (.mapboxgl-popup …) so our dark card beats mapbox-gl.css,
   which loads after the theme stylesheet and otherwise forces a white popup. */
.mapboxgl-popup .mapboxgl-popup-content{
  background:var(--ink); color:var(--text-on-ink); border-radius:0;
  padding:.95rem 1.2rem; border:1px solid var(--line-ink);
  box-shadow:0 18px 44px -18px rgba(0,0,0,.7);
}
.mapboxgl-popup.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{ border-bottom-color:var(--ink); }
.mapboxgl-popup.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{ border-top-color:var(--ink); }
.mapboxgl-popup.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{ border-right-color:var(--ink); }
.mapboxgl-popup.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{ border-left-color:var(--ink); }
.ar-pop__cat{ display:block; font-size:.62rem; letter-spacing:.22em; text-transform:uppercase; color:var(--gold-light); margin-bottom:.32rem; }
.ar-pop strong{ font-family:var(--serif); font-weight:600; font-size:1.16rem; color:var(--champagne); line-height:1.15; }
.ar-map-legend{
  position:absolute; top:18px; left:18px; z-index:5;
  background:rgba(21,17,12,.9); backdrop-filter:blur(8px);
  border:1px solid var(--line-ink); padding:1.1rem 1.35rem; color:var(--text-on-ink);
}
.ar-map-legend__title{ display:block; font-size:.62rem; letter-spacing:.24em; text-transform:uppercase; color:var(--gold-light); margin-bottom:.85rem; }
.ar-legend-item{ display:flex; align-items:center; gap:.7rem; font-size:.78rem; color:var(--text-on-ink-soft); margin-bottom:.55rem; }
.ar-legend-item:last-child{ margin-bottom:0; }
.ar-legend-dot{ width:12px; height:12px; border-radius:50%; flex-shrink:0; }
.ar-legend-dot--apt{ background:var(--gold-grad); box-shadow:0 0 0 2px rgba(241,219,168,.35); }
.mapboxgl-ctrl-group{ border-radius:0 !important; }
.mapboxgl-ctrl-bottom-left, .mapboxgl-ctrl-bottom-right{ z-index:4; }

/* Location — clean address line (no oversized icon) */
.loc-address{ display:flex; align-items:center; justify-content:center; gap:.85rem; margin-top:1.8rem; font-size:.74rem; letter-spacing:.22em; text-transform:uppercase; color:var(--gold-deep); }
.loc-address__ic{ width:18px; height:18px; flex-shrink:0; color:var(--gold-deep); }
.loc-address__ic svg{ width:100%; height:100%; stroke:currentColor; fill:none; stroke-width:1.4; }

/* Location — borderless points-of-interest grid */
.poi-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(1.6rem,3vw,2.8rem); }
/* Centered 3-up variant for the location landing pages (3 items, not 4) */
.poi-grid--3{ grid-template-columns:repeat(3,1fr); max-width:1000px; margin-inline:auto; }
.poi__ic{ width:38px; height:38px; color:var(--gold-deep); margin-bottom:1.1rem; }
.poi__ic svg{ width:100%; height:100%; stroke:currentColor; fill:none; stroke-width:1.2; }
.poi h4{ font-family:var(--serif); font-weight:500; font-size:1.35rem; line-height:1.15; margin-bottom:.55rem; }
.poi p{ font-size:.9rem; color:var(--text-soft); margin:0; line-height:1.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1100px){
  .res-grid{ grid-template-columns:repeat(2,1fr); }
  .amenities{ grid-template-columns:repeat(2,1fr); }
  .footer__top{ grid-template-columns:1fr 1fr; row-gap:3rem; }
  .footer__brand{ grid-column:1 / -1; }
}
@media (max-width:920px){
  :root{ --header-h:74px; }
  .brand img, .is-fixed .brand img{ height:54px; }
  .nav{ grid-template-columns:auto 1fr auto; }
  .nav__menu{ display:none; }
  .nav__cta{ display:none; }
  .burger{ display:block; }
  .brand{ justify-self:start; }
  .split{ grid-template-columns:1fr; gap:2.5rem; }
  .split--reverse .split__media{ order:0; }
  .factbar__grid{ grid-template-columns:repeat(2,1fr); }
  .fact:nth-child(odd){ border-left:0; }
  .fact:nth-child(n+3){ border-top:1px solid var(--line-ink); }
  .res-thumbs{ grid-template-columns:repeat(3,1fr); }
  .contact-grid{ grid-template-columns:1fr; }
  .gallery-grid{ grid-auto-rows:220px; }
  .poi-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:680px){
  :root{ --section:clamp(3.5rem,12vw,5rem); }
  .res-grid, .res-grid--3{ grid-template-columns:1fr; }
  .amenities{ grid-template-columns:1fr; }
  .statbar{ grid-template-columns:1fr; }
  .statbox{ border-left:0; border-top:1px solid var(--line); }
  .statbox:first-child{ border-top:0; }
  .features-cols{ columns:1; }
  .form__row{ grid-template-columns:1fr; }
  .footer__top{ grid-template-columns:1fr; text-align:center; }
  .footer__brand img{ margin-inline:auto; }
  .footer__tag{ margin-inline:auto; }
  .footer__socials{ justify-content:center; }
  .footer__bottom{ justify-content:center; text-align:center; }
  .res-cta{ flex-direction:column; align-items:stretch; text-align:center; }
  .res-cta__actions{ justify-content:center; }
  .factbar__grid{ grid-template-columns:1fr 1fr; }
  .gallery-grid .g, .gallery-grid .g.wide, .gallery-grid .g.big{ grid-column:span 6; }
  .gallery-grid .g.big{ grid-row:span 1; }
  .res-thumbs{ grid-template-columns:repeat(2,1fr); }
  .hero__title{ font-size:clamp(2.8rem,13vw,4rem); }
  /* lift hero content up from the bottom on phones */
  .hero{ align-items:center; }
  .hero__inner{ padding-bottom:1.5rem; }
  .explore-grid{ grid-template-columns:1fr 1fr; grid-auto-rows:minmax(170px,1fr); height:auto; }
  .explore-tile--lg{ grid-column:span 2; grid-row:span 1; min-height:240px; }
  .explore-tile--wide{ grid-column:span 2; grid-row:span 1; }
  /* gallery → tidy 2-up on mobile */
  .gallery-grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:clamp(140px,40vw,180px); }
  .gallery-grid .g{ grid-column:span 1 !important; grid-row:span 1 !important; }
  /* map legend → compact */
  .ar-map-legend{ top:10px; left:10px; right:10px; padding:.8rem 1rem; }
  .ar-legend-item{ font-size:.72rem; }
  #ar-map{ height:clamp(380px,90vw,460px); }
}

/* ------------------------------------------------------------------
 * Location landing pages (local SEO)
 * ------------------------------------------------------------------ */
.page-hero__cta{ display:flex; flex-wrap:wrap; gap:.6rem; align-items:center; }
.page-hero__cta .btn{ margin:0 !important; }
.loc-links{
  font-family:var(--font-display,'Cormorant Garamond',serif);
  font-size:clamp(1.1rem,2vw,1.4rem);
  line-height:1.9;
}
.loc-links a{
  color:var(--gold-light,#D8B679);
  text-decoration:none;
  border-bottom:1px solid transparent;
  transition:border-color .25s ease;
}
.loc-links a:hover{ border-bottom-color:var(--gold-light,#D8B679); }

/* ------------------------------------------------------------------
 * Unit gallery carousel (single residence)
 * ------------------------------------------------------------------ */
.ar-carousel{ position:relative; margin-top:clamp(-3rem,-4vw,-4rem); z-index:3; }
.ar-carousel__track{
  display:flex; gap:clamp(.7rem,1.2vw,1.1rem);
  overflow-x:auto; scroll-snap-type:x mandatory;
  scrollbar-width:none; -ms-overflow-style:none;
  overscroll-behavior-x:contain;
}
.ar-carousel__track::-webkit-scrollbar{ display:none; }
.ar-carousel__slide{
  flex:0 0 calc((100% - 2 * clamp(.7rem,1.2vw,1.1rem)) / 3);
  scroll-snap-align:start;
  aspect-ratio:4/3; position:relative; overflow:hidden;
  border:1px solid var(--line); background:var(--cream);
  cursor:zoom-in; display:block;
}
.ar-carousel__slide img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition:transform .9s var(--ease-out);
}
.ar-carousel__slide:hover img{ transform:scale(1.07); }
.ar-carousel__arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:4;
  width:48px; height:48px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--ink); color:var(--champagne);
  border:1px solid var(--line-ink); cursor:pointer;
  transition:background .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
  box-shadow:0 6px 18px rgba(21,17,12,.28);
}
.ar-carousel__arrow svg{ width:20px; height:20px; }
.ar-carousel__arrow:hover{ background:var(--ink-3); }
.ar-carousel__arrow--prev{ left:-14px; }
.ar-carousel__arrow--next{ right:-14px; }
.ar-carousel__arrow[disabled]{ opacity:.25; cursor:default; pointer-events:none; }

/* ------------------------------------------------------------------
 * Floor plan cards (3D render + 2D plan side by side)
 * ------------------------------------------------------------------ */
.fp-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));
  gap:clamp(1rem,2vw,1.6rem); align-items:stretch;
}
.fp-card{ margin:0; border:1px solid var(--line); background:#fff; display:flex; flex-direction:column; }
.fp-card__img{
  display:flex; align-items:center; justify-content:center;
  aspect-ratio:4/5; padding:clamp(.8rem,1.5vw,1.4rem);
  cursor:zoom-in; background:#fff;
}
.fp-card__img img{ max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; }
.fp-card figcaption{
  padding:.9rem 1.2rem; border-top:1px solid var(--line);
  background:var(--paper); text-align:center;
  font-size:.68rem; letter-spacing:.24em; text-transform:uppercase; color:var(--text-soft);
}

/* ------------------------------------------------------------------
 * Lightbox
 * ------------------------------------------------------------------ */
html.lb-open, html.lb-open body{ overflow:hidden; }
.ar-lightbox{
  position:fixed; inset:0; z-index:12000;
  background:rgba(21,17,12,.96);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .35s var(--ease);
}
.ar-lightbox.is-open{ opacity:1; }
.ar-lightbox__stage{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; padding:clamp(3.4rem,7vw,5rem) clamp(3.6rem,9vw,6.5rem); }
.ar-lightbox__img{ max-width:100%; max-height:100%; object-fit:contain; box-shadow:0 30px 80px rgba(0,0,0,.5); background:#fff; }
.ar-lightbox__caption{
  position:absolute; left:50%; bottom:clamp(.9rem,2vw,1.4rem); transform:translateX(-50%);
  max-width:86vw; text-align:center; color:var(--gold-light);
  font-size:.68rem; letter-spacing:.22em; text-transform:uppercase; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.ar-lightbox__count{
  position:absolute; top:clamp(.9rem,2vw,1.4rem); left:clamp(1rem,2.4vw,1.8rem);
  color:var(--text-on-ink-soft); font-size:.68rem; letter-spacing:.24em;
}
.ar-lightbox__btn{
  position:absolute; z-index:2; width:48px; height:48px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.06); color:var(--champagne);
  border:1px solid var(--line-ink); cursor:pointer;
  transition:background .3s var(--ease);
}
.ar-lightbox__btn:hover{ background:rgba(255,255,255,.14); }
.ar-lightbox__btn svg{ width:20px; height:20px; }
.ar-lightbox__btn--close{ top:clamp(.9rem,2vw,1.4rem); right:clamp(1rem,2.4vw,1.8rem); }
.ar-lightbox__btn--prev{ left:clamp(.5rem,1.6vw,1.4rem); top:50%; transform:translateY(-50%); }
.ar-lightbox__btn--next{ right:clamp(.5rem,1.6vw,1.4rem); top:50%; transform:translateY(-50%); }

@media (max-width: 900px){
  .ar-carousel__slide{ flex-basis:calc((100% - clamp(.7rem,1.2vw,1.1rem)) / 2); }
}
@media (max-width: 640px){
  .ar-carousel__slide{ flex-basis:82%; }
  .ar-carousel__arrow{ width:44px; height:44px; }
  .ar-carousel__arrow--prev{ left:.4rem; }
  .ar-carousel__arrow--next{ right:.4rem; }
  .fp-card__img{ aspect-ratio:auto; min-height:260px; }
  .ar-lightbox__stage{ padding:3.2rem .6rem 3.6rem; }
  .ar-lightbox__btn--prev{ top:auto; bottom:.6rem; left:.8rem; transform:none; }
  .ar-lightbox__btn--next{ top:auto; bottom:.6rem; right:.8rem; transform:none; }
}

/* ------------------------------------------------------------------
 * Homepage hero carousel — slow leftward pan, crossfade between slides
 * ------------------------------------------------------------------ */
.hero-carousel{ position:absolute; inset:0; overflow:hidden; }
.hero-slide{ position:absolute; inset:0; opacity:0; transition:opacity 1.6s var(--ease); }
.hero-slide img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transform:scale(1.14) translateX(3%); will-change:transform;
}
.hero-slide.is-active{ opacity:1; z-index:2; }
.hero-slide.is-leaving{ opacity:0; z-index:1; }
.hero-slide.is-active img,
.hero-slide.is-leaving img{ animation:heroPan 10s linear forwards; }
@keyframes heroPan{
  from{ transform:scale(1.14) translateX(3%); }
  to{   transform:scale(1.14) translateX(-3%); }
}
@media (prefers-reduced-motion: reduce){
  .hero-slide img,
  .hero-slide.is-active img,
  .hero-slide.is-leaving img{ animation:none; transform:scale(1.05); }
}
