/* ==========================================================================
   AA Dream Land — single page site
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Layout primitives (shell, section, secthead, eyebrow, ticks)
   4.  Buttons
   5.  Navigation
   6.  Hero
   7.  About + counters
   8.  Properties (filters, cards, plat strip, placeholders)
   9.  Why choose us
   10. Contact blocks
   11. Footer
   12. Utilities (to-top, progress, lightbox)
   13. Motion / reveal system
   14. Responsive
   ========================================================================== */

/* 1. TOKENS =============================================================== */
:root{
  /* Palette — sampled from the AADREAMLAND LLC logo (#D8C078 champagne gold)
     and the Lake of the Ozarks setting the parcels sit on. */
  --ink:        #0C1A20;   /* deep lake water at dusk */
  --ink-2:      #14282F;   /* raised surface on ink */
  --ink-3:      #204049;   /* hairlines on ink */
  --paper:      #EFEBE1;   /* warm limestone, keyed to the logo's warmth */
  --paper-2:    #F7F4EC;   /* raised surface on paper */
  --gold:       #D8C078;   /* logo gold — primary accent + CTA */
  --gold-deep:  #6B571E;   /* 5.9:1 on paper (was 4.6:1) */
  --gold-lite:  #EBDCAA;
  --lake:       #2E6E7E;   /* Lake of the Ozarks blue — buyer accent */
  --flag:       #E8556F;   /* map-pin pink, markers only */

  /* Text */
  --text-on-ink:   #EDE9DF;
  --text-on-ink-2: #9BAFB6;
  --text-on-paper: #14282F;
  --text-on-paper-2:#3D4F56;   /* 7.1:1 on paper (was 5.0:1) */

  /* Type — Montserrat matches the geometric sans of the wordmark */
  --display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body:    'Newsreader', Georgia, 'Times New Roman', serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Fluid type scale */
  --fs-hero:  clamp(2.6rem, 7.2vw, 6rem);
  --fs-h2:    clamp(1.85rem, 3.9vw, 3.15rem);
  --fs-h3:    clamp(1.12rem, 1.7vw, 1.4rem);
  --fs-body:  clamp(1.02rem, 1.15vw, 1.14rem);
  --fs-lead:  clamp(1.08rem, 1.5vw, 1.32rem);
  --fs-mono:  clamp(.68rem, .84vw, .78rem);

  /* Space + shape */
  --shell:     1240px;
  --gutter:    clamp(1.15rem, 4vw, 2.6rem);
  --sect-pad:  clamp(4.5rem, 10vw, 8.5rem);
  --radius:    4px;      /* survey documents don't have rounded corners */
  --radius-lg: 6px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --slow: .75s;
  --med:  .45s;
  --fast: .22s;

  --nav-h: 78px;
}

/* 2. RESET & BASE ========================================================= */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--ink);
  color:var(--text-on-ink);
  font-family:var(--body);
  font-size:var(--fs-body);
  font-weight:300;
  line-height:1.72;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
body.is-locked{ overflow:hidden; }

img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
ul,ol,dl,dd{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
::selection{ background:var(--gold); color:var(--ink); }

/* Visible keyboard focus everywhere, but not on mouse clicks */
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }

.skip-link{
  position:fixed; top:.6rem; left:.6rem; z-index:200;
  padding:.7rem 1.1rem; background:var(--gold); color:var(--ink);
  font-family:var(--mono); font-size:.75rem; text-transform:uppercase; letter-spacing:.08em;
  transform:translateY(-160%); transition:transform var(--fast) var(--ease);
}
.skip-link:focus{ transform:translateY(0); }

/* 3. LAYOUT PRIMITIVES ==================================================== */
.shell{
  width:100%; max-width:var(--shell);
  margin-inline:auto; padding-inline:var(--gutter);
}

.section{ position:relative; padding-block:var(--sect-pad); }
.section--ink{ background:var(--ink); color:var(--text-on-ink); }
.section--paper{ background:var(--paper); color:var(--text-on-paper); }

/* Hairline seam between sections — reads like a fold in a survey sheet */
.section--ink + .section--paper,
.section--paper + .section--ink{ border-top:1px solid rgba(0,0,0,.08); }

.h2{
  font-family:var(--display);
  font-size:var(--fs-h2);
  font-weight:700;
  line-height:1.04;
  letter-spacing:-.022em;
  max-width:20ch;
  text-wrap:balance;
}
.section--paper .h2{ color:var(--text-on-paper); }

.eyebrow{
  display:flex; align-items:center; gap:.6rem;
  margin-bottom:1.35rem;
  font-family:var(--mono); font-size:clamp(.8rem,1.02vw,.94rem); font-weight:700;
  text-transform:uppercase; letter-spacing:.15em;
  color:var(--gold);
}
.eyebrow__dot{
  width:8px; height:8px; flex:none;
  background:var(--gold);
  box-shadow:0 0 0 4px rgba(216,192,120,.16);
}
.section--paper .eyebrow{ color:var(--gold-deep); }
.section--paper .eyebrow__dot{ background:var(--gold-deep); }

.secthead{ margin-bottom:clamp(2.4rem,5vw,4rem); max-width:56rem; }
.secthead__lead{
  margin-top:1.4rem; max-width:52ch;
  font-size:var(--fs-lead); color:var(--text-on-ink-2);
}
.section--paper .secthead__lead{ color:var(--text-on-paper-2); }

/* Survey corner ticks — the signature framing device */
.ticks{ position:absolute; inset:0; pointer-events:none; }
.ticks i{ position:absolute; width:18px; height:18px; border:1px solid var(--gold); opacity:.5; }
.ticks i:nth-child(1){ top:0; left:0; border-right:0; border-bottom:0; }
.ticks i:nth-child(2){ top:0; right:0; border-left:0; border-bottom:0; }
.ticks i:nth-child(3){ bottom:0; left:0; border-right:0; border-top:0; }
.ticks i:nth-child(4){ bottom:0; right:0; border-left:0; border-top:0; }

/* 4. BUTTONS ============================================================== */
.btn{
  --btn-bg:transparent; --btn-fg:var(--text-on-ink); --btn-bd:currentColor;
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:.6rem;
  min-height:52px; padding:.85rem 1.6rem;
  background:var(--btn-bg); color:var(--btn-fg);
  border:1px solid var(--btn-bd); border-radius:var(--radius);
  font-family:var(--mono); font-size:.78rem; font-weight:500;
  text-transform:uppercase; letter-spacing:.1em; white-space:nowrap;
  overflow:hidden;
  transition:transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease),
             background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.btn i{ font-size:.82em; transition:transform var(--fast) var(--ease); }
.btn:hover{ transform:translateY(-2px); }
.btn:hover i{ transform:translateX(3px); }
.btn:active{ transform:translateY(0); }

.btn--gold{ --btn-bg:var(--gold); --btn-fg:var(--ink); --btn-bd:var(--gold); }
.btn--gold:hover{ --btn-bg:#E4CE93; box-shadow:0 10px 26px -10px rgba(216,192,120,.6); }

.btn--lake{ --btn-bg:var(--lake); --btn-fg:#F7F4EC; --btn-bd:var(--lake); }
.btn--lake:hover{ --btn-bg:#3B8497; box-shadow:0 10px 26px -10px rgba(46,110,126,.6); }

.btn--ghost{ --btn-bd:rgba(232,230,221,.32); }
.btn--ghost:hover{ --btn-bg:rgba(232,230,221,.08); --btn-bd:var(--text-on-ink); }

.btn--sm{ min-height:42px; padding:.55rem 1.05rem; font-size:.7rem; }
.btn--block{ width:100%; }

/* 5. NAVIGATION =========================================================== */
.progress{ position:fixed; inset:0 0 auto; height:2px; z-index:120; background:transparent; }
.progress__bar{
  display:block; height:100%; width:0;
  background:linear-gradient(90deg,var(--gold),var(--flag));
}

.nav{
  position:fixed; inset:0 0 auto; z-index:110;
  background:transparent;
  border-bottom:1px solid transparent;
  transition:background-color var(--med) var(--ease), border-color var(--med) var(--ease),
             backdrop-filter var(--med) var(--ease);
}
.nav.is-stuck{
  background:rgba(12,26,32,.9);
  border-bottom-color:var(--ink-3);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
.nav__inner{
  display:flex; align-items:center; justify-content:space-between; gap:1.5rem;
  min-height:var(--nav-h);
}

.logo{ display:flex; align-items:center; flex:none; }
.logo img{
  width:clamp(148px,19vw,188px); height:auto;
  transition:transform var(--med) var(--ease), opacity var(--fast) var(--ease);
}
.logo:hover img{ transform:scale(1.03); }
.logo--foot img{ width:248px; }   /* note 3: enlarged for visibility */

.nav__links{ display:flex; align-items:center; gap:.35rem; }
.nav__link{
  position:relative; padding:.55rem .85rem;
  font-family:var(--mono); font-size:.74rem; font-weight:500;
  text-transform:uppercase; letter-spacing:.1em;
  color:var(--text-on-ink-2);
  transition:color var(--fast) var(--ease);
}
.nav__link::after{
  content:''; position:absolute; left:.85rem; right:.85rem; bottom:.28rem;
  height:1px; background:var(--gold);
  transform:scaleX(0); transform-origin:left;
  transition:transform var(--med) var(--ease);
}
.nav__link:hover{ color:var(--text-on-ink); }
.nav__link:hover::after,
.nav__link.is-active::after{ transform:scaleX(1); }
.nav__link.is-active{ color:var(--text-on-ink); }
.nav__cta{ margin-left:.6rem; }

.burger{
  display:none; width:44px; height:44px; place-items:center; gap:5px;
  border:1px solid var(--ink-3); border-radius:var(--radius);
}
.burger span{
  display:block; width:18px; height:1.5px; background:var(--text-on-ink);
  transition:transform var(--fast) var(--ease), opacity var(--fast) var(--ease);
}
.burger.is-open span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity:0; }
.burger.is-open span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

/* 6. HERO ================================================================= */
.hero{
  position:relative; isolation:isolate;
  min-height:100svh;
  display:flex; align-items:center;
  padding-block:calc(var(--nav-h) + 3.5rem) 5.5rem;
  overflow:hidden;
  /* fallback colour while the photograph loads */
  background:linear-gradient(170deg, #0C1A20 0%, #122730 52%, #08141A 100%);
}

/* The land itself, behind everything */
.hero__photo{
  position:absolute; top:-8%; left:0; z-index:-4;
  width:100%; height:116%;      /* headroom so parallax can't expose an edge */
  object-fit:cover; object-position:center 42%;
  will-change:transform;
}

/* Scrim: without it the headline sits on sky and drops to ~2:1 contrast.
   Weighted to the left because the copy is left-aligned, so the right side
   of the photograph stays visible. */
.hero__scrim{
  position:absolute; inset:0; z-index:-3;
  background:
    linear-gradient(100deg, rgba(8,20,26,.94) 0%, rgba(8,20,26,.88) 44%,
                            rgba(8,20,26,.62) 72%, rgba(8,20,26,.46) 100%),
    linear-gradient(180deg, rgba(8,20,26,.72) 0%, transparent 26%,
                            transparent 62%, rgba(8,20,26,.80) 100%),
    radial-gradient(120% 90% at 78% 18%, rgba(216,192,120,.14), transparent 58%);
}
/* faint film grain so the flat ink doesn't band on large monitors */
.hero::after{
  content:''; position:absolute; inset:0; z-index:-1; opacity:.28;
  background-image:radial-gradient(rgba(232,230,221,.05) 1px, transparent 1px);
  background-size:5px 5px;
}

.hero__plat{
  position:absolute; inset:-8% -4%; z-index:-2;
  color:var(--gold); opacity:.13;
  will-change:transform;
}
.hero__plat svg{ width:100%; height:100%; }
.plat__contours{ opacity:.75; }
.plat__parcel{ stroke-dasharray:1400; stroke-dashoffset:1400; }
.plat__stakes circle{ opacity:0; }

.hero__markers{ position:absolute; inset:0; z-index:-1; pointer-events:none; }
.hero__title{ text-shadow:0 2px 24px rgba(8,20,26,.5); }
.marker{
  position:absolute; width:9px; height:9px; border-radius:50%;
  background:var(--flag);
  box-shadow:0 0 0 6px rgba(240,68,122,.14);
}
.marker--1{ top:22%; left:12%; animation:drift 9s var(--ease) infinite; }
.marker--2{ top:66%; left:31%; background:var(--gold);
  box-shadow:0 0 0 6px rgba(216,192,120,.14); animation:drift 11s .8s var(--ease) infinite; }
.marker--3{ top:34%; right:16%; animation:drift 13s 1.4s var(--ease) infinite; }
.marker--4{ bottom:19%; right:33%; background:var(--lake);
  box-shadow:0 0 0 6px rgba(46,110,126,.2); animation:drift 10s 2s var(--ease) infinite; }
@keyframes drift{
  0%,100%{ transform:translate3d(0,0,0); }
  50%    { transform:translate3d(6px,-16px,0); }
}

.hero__inner{ position:relative; padding-block:clamp(1.4rem,3vw,2.6rem); }

.hero__title{
  font-family:var(--display);
  font-size:var(--fs-hero);
  font-weight:800;
  line-height:.96;
  letter-spacing:-.038em;
  margin:.4rem 0 1.6rem;
  max-width:17ch;
}
.hero__title em{
  font-family:var(--body); font-style:italic; font-weight:300;
  letter-spacing:-.01em; color:var(--gold);
}
/* Masked line reveal */
.line{ display:block; overflow:hidden; padding-bottom:.06em; }
.line__in{
  display:block;
  transform:translateY(115%);
  transition:transform 1s var(--ease);
}
.line__in.is-in{ transform:translateY(0); }

.hero__lead{
  max-width:48ch; font-size:var(--fs-lead);
  color:var(--text-on-ink-2);
}
.hero__cta{ display:flex; flex-wrap:wrap; gap:.8rem; margin-top:2.2rem; }

.platstrip{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  margin-top:clamp(2.6rem,5vw,4rem);
  background:var(--ink-3);
  border:1px solid var(--ink-3);
  max-width:44rem;
}
.platstrip > div{ background:rgba(12,26,32,.72); padding:1rem 1.1rem; }
.platstrip dt{
  font-family:var(--mono); font-size:.6rem; text-transform:uppercase; letter-spacing:.14em;
  color:var(--text-on-ink-2);
}
.platstrip dd{
  font-family:var(--mono); font-size:.95rem; font-weight:500; margin-top:.35rem;
  color:var(--gold);
}

.hero__scroll{
  position:absolute; left:50%; bottom:1.6rem; transform:translateX(-50%);
  display:flex; align-items:center; gap:.6rem;
  font-family:var(--mono); font-size:.62rem; text-transform:uppercase; letter-spacing:.2em;
  color:var(--text-on-ink-2);
}
.hero__scroll span{
  width:1px; height:34px;
  background:linear-gradient(var(--gold),transparent);
  animation:pulse 2.4s var(--ease) infinite;
}
@keyframes pulse{ 0%,100%{ opacity:.3; transform:scaleY(.55); } 50%{ opacity:1; transform:scaleY(1); } }

/* 7. ABOUT + COUNTERS ===================================================== */
.about{
  display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1fr);
  gap:clamp(2.2rem,6vw,5rem); align-items:center;
}

.about__visual{ position:relative; }
.frame{
  position:absolute; inset:1.6rem -1.6rem -1.6rem 1.6rem;
  border:1px solid var(--gold-deep); opacity:.55;
}
.plate{
  position:relative; aspect-ratio:4/5; border-radius:var(--radius);
  overflow:hidden; box-shadow:0 26px 60px -34px rgba(12,26,32,.55);
}
/* About visual — the founder portrait supplied by the client */
.plate img{ width:100%; height:100%; object-fit:cover; object-position:center 18%; }
.plate__cap{
  position:absolute; inset:auto 0 0; z-index:2;
  padding:1.6rem 1.1rem .9rem;
  background:linear-gradient(180deg,transparent,rgba(12,26,32,.88));
  color:var(--text-on-ink);
}
.plate__cap strong{
  display:block; font-family:var(--display); font-size:1rem; font-weight:700; letter-spacing:-.01em;
}
.plate__cap span{
  display:block; margin-top:.2rem;
  font-family:var(--mono); font-size:.6rem; text-transform:uppercase; letter-spacing:.14em;
  color:var(--gold);
}

.about__body p + p{ margin-top:1.35rem; }
.about__body .h2{ margin-bottom:1.5rem; }
.about__body p{
  color:var(--text-on-paper-2);
  font-size:var(--fs-lead);      /* was inherited body size */
  font-weight:400;               /* was 300 — 300 serif is thin at this size */
  line-height:1.78;
}

.checks{ margin-top:2.1rem; display:grid; gap:.95rem; }
.checks li{
  display:flex; align-items:flex-start; gap:.85rem;
  font-size:1.06rem; font-weight:400; color:var(--text-on-paper);
}
.checks i{
  flex:none; display:grid; place-items:center; width:23px; height:23px; margin-top:.3rem;
  background:var(--lake); color:#F7F4EC; font-size:.68rem; border-radius:2px;
}

.stats{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px; margin-top:clamp(3rem,7vw,5.5rem);
  background:rgba(20,40,47,.16);
  border:1px solid rgba(20,40,47,.16);
}
.stat{ background:var(--paper-2); padding:clamp(1.4rem,3vw,2.2rem); text-align:left; }
.stat__num{
  display:block;
  font-family:var(--mono); font-size:clamp(1.9rem,4.4vw,3rem); font-weight:700;
  line-height:1; letter-spacing:-.04em; color:var(--gold-deep);
}
.stat__label{
  display:block; margin-top:.7rem;
  font-family:var(--mono); font-size:.66rem; text-transform:uppercase; letter-spacing:.13em;
  color:var(--text-on-paper-2);
}

/* 8. PROPERTIES =========================================================== */
.filters{ display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:2.4rem; }
.chip{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.6rem 1.05rem;
  border:1px solid var(--ink-3); border-radius:var(--radius);
  font-family:var(--mono); font-size:.72rem; text-transform:uppercase; letter-spacing:.09em;
  color:var(--text-on-ink-2);
  transition:color var(--fast) var(--ease), border-color var(--fast) var(--ease),
             background-color var(--fast) var(--ease);
}
.chip span{ font-size:.62rem; opacity:.6; }
.chip:hover{ color:var(--text-on-ink); border-color:var(--text-on-ink-2); }
.chip.is-active{ background:var(--gold); border-color:var(--gold); color:var(--ink); }
.chip.is-active span{ opacity:.7; }

.grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:clamp(1.1rem,2.4vw,1.8rem);
}

.card{
  display:flex; flex-direction:column;
  background:var(--ink-2);
  border:1px solid var(--ink-3); border-radius:var(--radius-lg);
  overflow:hidden;
  transition:transform var(--med) var(--ease), border-color var(--med) var(--ease),
             box-shadow var(--med) var(--ease);
}
.card:hover{
  transform:translateY(-6px);
  border-color:rgba(216,192,120,.5);
  box-shadow:0 30px 60px -34px rgba(0,0,0,.75);
}
.card.is-hidden{ display:none; }

.card__media{ position:relative; aspect-ratio:16/11; overflow:hidden; color:var(--gold); }
.card__img{
  position:absolute; inset:0; display:block;
  width:100%; height:100%; object-fit:cover;
  transform:scale(1.01);
  transition:transform 1.1s var(--ease);
}
.card__img img{ width:100%; height:100%; display:block; object-fit:cover; }
.card:hover .card__img{ transform:scale(1.09); }

.card__media::after{           /* keeps the badge and button legible */
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(12,26,32,.42) 0%, transparent 34%, rgba(12,26,32,.5) 100%);
}
.card__badge{
  position:absolute; top:.85rem; left:.85rem; z-index:2;
  padding:.35rem .7rem;
  background:rgba(12,26,32,.82); border:1px solid rgba(232,230,221,.18);
  font-family:var(--mono); font-size:.6rem; text-transform:uppercase; letter-spacing:.12em;
  color:var(--text-on-ink);
}
.card__zoom{
  position:absolute; top:.85rem; right:.85rem; z-index:2;
  display:grid; place-items:center; width:36px; height:36px;
  background:rgba(12,26,32,.72); border:1px solid rgba(232,230,221,.18);
  color:var(--text-on-ink); font-size:.78rem;
  opacity:0; transform:translateY(-4px);
  transition:opacity var(--fast) var(--ease), transform var(--fast) var(--ease),
             background-color var(--fast) var(--ease);
}
.card:hover .card__zoom,
.card__zoom:focus-visible{ opacity:1; transform:translateY(0); }
.card__zoom:hover{ background:var(--gold); color:var(--ink); border-color:var(--gold); }

/* the lot with no photo yet gets labelled, so nobody mistakes art for a photo */
.card__illus{
  position:absolute; bottom:.8rem; left:.85rem; z-index:2;
  padding:.3rem .6rem;
  background:rgba(12,26,32,.78); border:1px solid rgba(216,192,120,.35);
  font-family:var(--mono); font-size:.55rem; text-transform:uppercase; letter-spacing:.12em;
  color:var(--gold);
}

/* boundary line that traces the photo on hover — echoes the hero parcel */
.card__trace{
  position:absolute; inset:0; z-index:2; width:100%; height:100%;
  pointer-events:none; opacity:0;
  transition:opacity var(--med) var(--ease);
}
.card__trace rect{
  stroke-dasharray:352; stroke-dashoffset:352;
  transition:stroke-dashoffset 1.1s var(--ease);
  vector-effect:non-scaling-stroke;
}
.card:hover .card__trace{ opacity:.85; }
.card:hover .card__trace rect{ stroke-dashoffset:0; }

.card__body{ display:flex; flex-direction:column; flex:1; padding:1.4rem 1.4rem 1.5rem; }
.card__title{
  font-family:var(--display); font-size:var(--fs-h3); font-weight:700;
  line-height:1.18; letter-spacing:-.015em;
}
.card__loc{
  display:flex; align-items:center; gap:.5rem; margin-top:.5rem;
  font-family:var(--mono); font-size:.68rem; letter-spacing:.06em;
  color:var(--text-on-ink-2);
}
.card__loc i{ color:var(--flag); font-size:.72rem; }

/* the plat data strip — a listing sheet, not a marketing blurb */
.plat{
  display:grid; grid-template-columns:1fr 1fr; gap:1px;
  margin:1.2rem 0 1.4rem;
  background:var(--ink-3); border:1px solid var(--ink-3);
}
.plat > div{ background:var(--ink); padding:.6rem .75rem; }
.plat dt{
  font-family:var(--mono); font-size:.55rem; text-transform:uppercase; letter-spacing:.13em;
  color:var(--text-on-ink-2);
}
.plat dd{ font-family:var(--mono); font-size:.76rem; margin-top:.25rem; overflow-wrap:anywhere; }

.card__foot{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  margin-top:auto; padding-top:.3rem;
}
.price{
  font-family:var(--display); font-size:1.32rem; font-weight:700;
  letter-spacing:-.02em; color:var(--gold);
}

.grid__empty{
  padding:3rem 0; text-align:center; color:var(--text-on-ink-2);
}
.grid__empty[hidden]{ display:none; }
.grid__empty a{ color:var(--gold); border-bottom:1px solid currentColor; }
.grid__note{
  margin-top:2.4rem; padding-top:1.6rem;
  border-top:1px solid var(--ink-3);
  font-size:.95rem; color:var(--text-on-ink-2); max-width:52ch;
}

/* --- Placeholder parcel imagery -----------------------------------------
   Lake of the Ozarks scenes drawn in CSS: water, wooded ridge, gold sky.
   Zero image requests, nothing can render broken, and it reads as the right
   place rather than as a grey box.

   TO USE THE REAL LAND.COM PHOTOS: download each listing's photo, drop it in
   images/, then add one rule per lot and delete nothing else:
      .ph--lot1{ background-image:url('images/lot-01.jpg'); background-size:cover;
                 background-position:center; }
      .ph--lot1::before, .ph--lot1::after{ display:none; }
   ---------------------------------------------------------------------- */
.ph{
  --sky-1:#8FB6C4; --sky-2:#CFCBAA; --sky-3:#E4CE93;
  --ridge:#24413C; --ridge-2:#16302C; --water:#2E6E7E;
  overflow:hidden;   /* position comes from the host (.card__img / .lightbox__art) */
  background:linear-gradient(180deg,var(--sky-1) 0%,var(--sky-2) 48%,var(--sky-3) 100%);
}
.ph::before,.ph::after{ content:''; position:absolute; inset:0; }

/* sky variants so no two cards look stamped from the same mould */
.ph--dawn { --sky-1:#A7C2CB; --sky-2:#D8D0AE; --sky-3:#EBDCAA; }
.ph--dusk { --sky-1:#5D7F92; --sky-2:#A99C82; --sky-3:#D8C078; }

/* Lakefront — water fills the foreground */
.ph--lakefront::before{
  background:var(--ridge);
  clip-path:polygon(0 44%,18% 34%,42% 46%,66% 32%,88% 42%,100% 36%,100% 62%,0 62%);
}
.ph--lakefront::after{
  background:linear-gradient(180deg,var(--water),#1C4E5C);
  clip-path:polygon(0 60%,100% 56%,100% 100%,0 100%);
}

/* Lakeview — a band of water sits behind the ridge */
.ph--lakeview::before{
  background:linear-gradient(180deg,var(--water),#245C6B);
  clip-path:polygon(0 50%,100% 46%,100% 66%,0 70%);
}
.ph--lakeview::after{
  background:var(--ridge-2);
  clip-path:polygon(0 68%,26% 60%,54% 72%,80% 62%,100% 68%,100% 100%,0 100%);
}

/* Wooded — layered treeline, no water */
.ph--wooded::before{
  background:var(--ridge);
  clip-path:polygon(0 52%,12% 40%,26% 52%,40% 38%,56% 52%,70% 38%,86% 52%,100% 42%,100% 100%,0 100%);
}
.ph--wooded::after{
  background:var(--ridge-2);
  clip-path:polygon(0 72%,16% 62%,34% 74%,52% 62%,72% 76%,90% 64%,100% 72%,100% 100%,0 100%);
}

/* Open lot — cleared ground with a distant treeline */
.ph--open::before{
  background:var(--ridge);
  clip-path:polygon(0 58%,30% 50%,58% 60%,84% 50%,100% 56%,100% 74%,0 74%);
}
.ph--open::after{
  background:linear-gradient(180deg,#5E6B45,#42502F);
  clip-path:polygon(0 72%,100% 68%,100% 100%,0 100%);
}

/* 8b. SOLD LOTS ============================================================
   Social proof, not inventory: quieter than the live cards, no enquiry CTA
   per lot, no financing table, no outbound links that will rot once the
   Land.com listing comes down. */
.sold{
  margin-top:clamp(2.6rem,5vw,4rem);
  padding-top:clamp(2rem,4vw,2.8rem);
  border-top:1px solid var(--ink-3);
}
.sold[hidden]{ display:none; }

.sold__head{ margin-bottom:1.6rem; }
.sold__head h3{
  font-family:var(--display); font-size:clamp(1.1rem,1.9vw,1.4rem); font-weight:700;
  letter-spacing:-.015em;
}
.sold__head p{
  margin-top:.6rem; max-width:56ch; font-size:.98rem; color:var(--text-on-ink-2);
}

.sold__grid{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
  gap:clamp(.8rem,1.6vw,1.15rem);
  margin-bottom:1.6rem;
}

.sold__card{
  border:1px solid var(--ink-3); border-radius:var(--radius);
  background:rgba(12,26,32,.5); overflow:hidden;
  opacity:.82; transition:opacity var(--med) var(--ease);
}
.sold__card:hover{ opacity:1; }

.sold__media{ position:relative; aspect-ratio:16/10; overflow:hidden; }
.sold__media .ph{ position:absolute; inset:0; filter:grayscale(.7) brightness(.72); }
.sold__media img{
  width:100%; height:100%; object-fit:cover; display:block;
  filter:grayscale(.7) contrast(.92) brightness(.72);
}
.sold__stamp{
  position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%) rotate(-8deg);
  padding:.3rem 1rem;
  border:2px solid var(--gold); border-radius:2px;
  background:rgba(12,26,32,.55);
  font-family:var(--mono); font-size:.78rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.22em; color:var(--gold);
}

.sold__body{ padding:.85rem .95rem 1rem; }
.sold__body h4{
  font-family:var(--display); font-size:.95rem; font-weight:700;
  line-height:1.25; letter-spacing:-.01em;
}
.sold__meta{
  margin-top:.4rem;
  font-family:var(--mono); font-size:.62rem; letter-spacing:.05em;
  color:var(--text-on-ink-2); line-height:1.5;
}
.sold__price{
  margin-top:.55rem;
  font-family:var(--mono); font-size:.85rem; font-weight:500; color:var(--gold);
}
.sold__price small{
  font-size:.6rem; text-transform:uppercase; letter-spacing:.14em;
  color:var(--text-on-ink-2); margin-left:.35rem;
}

@media (max-width:520px){
  .sold__grid{ grid-template-columns:1fr 1fr; }
  .sold__stamp{ font-size:.62rem; padding:.25rem .7rem; letter-spacing:.16em; }
}

/* 9. WHY CHOOSE US ======================================================== */
.feats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:1px;
  background:rgba(20,40,47,.16); border:1px solid rgba(20,40,47,.16); }
.feat{
  position:relative; background:var(--paper-2);
  padding:clamp(1.6rem,3.2vw,2.4rem);
  transition:background-color var(--med) var(--ease), transform var(--med) var(--ease);
}
.feat::before{           /* amber wipe rises on hover */
  content:''; position:absolute; inset:auto 0 0; height:2px;
  background:var(--gold); transform:scaleX(0); transform-origin:left;
  transition:transform var(--med) var(--ease);
}
.feat:hover{ background:#FFFDF7; }
.feat:hover::before{ transform:scaleX(1); }
.feat__icon{
  display:grid; place-items:center; width:50px; height:50px; margin-bottom:1.3rem;
  background:var(--lake); color:#F7F4EC; font-size:1.1rem; border-radius:var(--radius);
  transition:transform var(--med) var(--ease), background-color var(--med) var(--ease);
}
.feat:hover .feat__icon{ transform:translateY(-3px) rotate(-5deg); background:var(--ink); }
.feat h3{
  font-family:var(--display); font-size:var(--fs-h3); font-weight:700;
  letter-spacing:-.015em; line-height:1.2; color:var(--text-on-paper);
}
.feat p{ margin-top:.75rem; font-size:.98rem; color:var(--text-on-paper-2); }

/* 10. CONTACT BLOCKS ====================================================== */
.contact{ display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:clamp(1.2rem,2.6vw,2rem); }

.cblock{
  position:relative; overflow:hidden;
  display:flex; flex-direction:column;
  padding:clamp(1.7rem,3.6vw,2.7rem);
  border:1px solid; border-radius:var(--radius-lg);
  transition:transform var(--med) var(--ease), box-shadow var(--med) var(--ease);
}
.cblock:hover{ transform:translateY(-5px); }
.cblock__index{
  position:absolute; top:.6rem; right:1.1rem;
  font-family:var(--mono); font-size:clamp(3.4rem,7vw,5.2rem); font-weight:700;
  line-height:1; opacity:.09; pointer-events:none;
}
.cblock__icon{
  display:grid; place-items:center; width:52px; height:52px; margin-bottom:1.4rem;
  font-size:1.15rem; border-radius:var(--radius);
}
.cblock__title{
  font-family:var(--display); font-size:clamp(1.5rem,2.8vw,2.1rem); font-weight:700;
  letter-spacing:-.025em; line-height:1.08;
}
.cblock__text{ margin-top:.9rem; max-width:42ch; }
.cblock__list{ margin-top:1.6rem; display:grid; gap:.8rem; }
.cblock__list li{
  display:flex; align-items:flex-start; gap:.7rem;
  font-family:var(--mono); font-size:.85rem; font-weight:500;
  line-height:1.5; letter-spacing:.02em;
}
.cblock__list i{ font-size:.74rem; margin-top:.28rem; }

.cblock__lines{ margin:1.7rem 0; display:grid; gap:.7rem; }
.cline{
  display:flex; align-items:center; gap:.9rem;
  padding:.9rem 1rem;
  border:1px solid; border-radius:var(--radius);
  transition:transform var(--fast) var(--ease), background-color var(--fast) var(--ease),
             border-color var(--fast) var(--ease);
}
.cline:hover{ transform:translateX(4px); }
.cline__ico{ display:grid; place-items:center; width:34px; height:34px; flex:none;
  border-radius:2px; font-size:.8rem; }
.cline__body{ display:flex; flex-direction:column; min-width:0; }
.cline__body small{
  font-family:var(--mono); font-size:.58rem; text-transform:uppercase; letter-spacing:.14em;
  opacity:.7;
}
.cline__body strong{
  font-family:var(--mono); font-size:.88rem; font-weight:500; letter-spacing:-.01em;
  overflow-wrap:anywhere;
}
.cline__go{ margin-left:auto; font-size:.68rem; opacity:.4; }
.cblock .btn{ margin-top:auto; }

/* Seller block — dark, amber, urgent */
.cblock--sell{
  background:linear-gradient(160deg,var(--ink-2),#122730);
  border-color:rgba(216,192,120,.35); color:var(--text-on-ink);
}
.cblock--sell:hover{ box-shadow:0 34px 70px -40px rgba(216,192,120,.5); }
.cblock--sell .cblock__index{ color:var(--gold); }
.cblock--sell .cblock__icon{ background:var(--gold); color:var(--ink); }
.cblock--sell .cblock__text{ color:var(--text-on-ink-2); }
.cblock--sell .cblock__list{ color:var(--text-on-ink); }
.cblock--sell .cblock__list i{ color:var(--gold); }
.cblock--sell .cline{ border-color:var(--ink-3); }
.cblock--sell .cline:hover{ background:rgba(216,192,120,.08); border-color:var(--gold); }
.cblock--sell .cline__ico{ background:rgba(216,192,120,.14); color:var(--gold); }

/* Buyer block — light, palm green, inviting */
.cblock--buy{
  background:linear-gradient(160deg,var(--paper-2),#E6E1D4);
  border-color:rgba(46,110,126,.4); color:var(--text-on-paper);
}
.cblock--buy:hover{ box-shadow:0 34px 70px -40px rgba(46,110,126,.55); }
.cblock--buy .cblock__index{ color:var(--lake); opacity:.16; }
.cblock--buy .cblock__icon{ background:var(--lake); color:#F7F4EC; }
.cblock--buy .cblock__text{ color:var(--text-on-paper-2); }
.cblock--buy .cblock__list i{ color:var(--lake); }
.cblock--buy .cline{ border-color:rgba(20,40,47,.18); background:rgba(255,255,255,.5); }
.cblock--buy .cline:hover{ background:#fff; border-color:var(--lake); }
.cblock--buy .cline__ico{ background:rgba(46,110,126,.14); color:var(--lake); }

/* 11. FOOTER ============================================================== */
.foot{ background:#08141A; border-top:1px solid var(--ink-3); padding-top:clamp(2.6rem,5vw,4rem); }
.foot__inner{
  display:grid; grid-template-columns:1.4fr .8fr 1fr; gap:2.4rem;
  padding-bottom:2.4rem;
}
.foot__brand p{
  margin-top:1.15rem; max-width:34ch;
  font-size:1.04rem; font-weight:400; line-height:1.7;
  color:var(--text-on-ink-2);
}
.foot__nav{ display:grid; gap:.6rem; align-content:start; }
.foot__nav a, .foot__contact a{
  font-family:var(--mono); font-size:.74rem; color:var(--text-on-ink-2);
  transition:color var(--fast) var(--ease);
}
.foot__nav a:hover, .foot__contact a:hover{ color:var(--gold); }
.foot__contact{ display:grid; gap:.6rem; align-content:start; justify-items:start; }

.foot__legal{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:.8rem;
  padding-block:1.4rem; border-top:1px solid var(--ink-3);
}
.foot__legal p{
  font-family:var(--mono); font-size:.63rem; letter-spacing:.07em; color:var(--text-on-ink-2);
  opacity:.75;
}

/* 12. UTILITIES =========================================================== */
.totop{
  position:fixed; right:1.1rem; bottom:1.1rem; z-index:100;
  display:grid; place-items:center; width:46px; height:46px;
  background:var(--gold); color:var(--ink); border-radius:var(--radius);
  opacity:0; transform:translateY(14px) scale(.9); pointer-events:none;
  transition:opacity var(--med) var(--ease), transform var(--med) var(--ease);
}
.totop.is-shown{ opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
.totop:hover{ background:#E4CE93; }

.lightbox{
  position:fixed; inset:0; z-index:190;
  display:grid;
  /* Explicit columns, and the figure is pinned to the middle one. Relying on
     auto-flow meant that hiding the arrows on a single-photo lot dropped the
     figure into column 1 (`auto`), which shrank it to content width. */
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center; justify-items:center;
  gap:clamp(.4rem,2vw,1.4rem);
  padding:clamp(1rem,4vw,3rem);
  background:rgba(8,18,23,.94);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  opacity:0; transition:opacity var(--med) var(--ease);
}
.lightbox[hidden]{ display:none; }
.lightbox.is-open{ opacity:1; }

.lightbox__figure{
  grid-column:2;
  margin:0; min-width:0; max-width:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
}

/* The photo scales to fit the viewport in both axes — no cropping, always centred */
.lightbox__photo{
  max-width:min(100%,1500px); max-height:82svh;
  width:auto; height:auto; object-fit:contain;
  border:1px solid var(--ink-3); border-radius:var(--radius);
  box-shadow:0 40px 90px -40px rgba(0,0,0,.8);
  transform:scale(.97); transition:transform var(--med) var(--ease);
}
/* The one lot with a drawn scene rather than a photograph */
.lightbox__art{
  position:relative;
  width:min(100%,1100px); aspect-ratio:16/9; max-height:82svh;
  border:1px solid var(--ink-3); border-radius:var(--radius);
  transform:scale(.97); transition:transform var(--med) var(--ease);
}
.lightbox.is-open .lightbox__photo,
.lightbox.is-open .lightbox__art{ transform:scale(1); }
.lightbox__photo[hidden], .lightbox__art[hidden]{ display:none; }

.lightbox__cap{
  display:flex; justify-content:space-between; gap:1rem;
  width:100%; max-width:min(100%,1500px); margin-top:.9rem;
  font-family:var(--mono); font-size:.7rem; letter-spacing:.08em; color:var(--text-on-ink-2);
}
.lightbox.is-single .lightbox__nav{ display:none; }
.lightbox__nav, .lightbox__close{
  display:grid; place-items:center; width:46px; height:46px;
  border:1px solid var(--ink-3); border-radius:var(--radius);
  color:var(--text-on-ink);
  background:rgba(12,26,32,.6);
  transition:background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.lightbox__nav{ align-self:center; }
.lightbox__nav--prev{ grid-column:1; }
.lightbox__nav--next{ grid-column:3; }
.lightbox__nav:hover, .lightbox__close:hover{ background:var(--gold); color:var(--ink); border-color:var(--gold); }
.lightbox__close{ position:absolute; top:clamp(1rem,3vw,2rem); right:clamp(1rem,3vw,2rem); z-index:2; }

/* 12b. DATA COMPONENTS (parcel financing, links, fee disclosure) ========== */

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* the APN is long, so it gets a full-width row in the plat strip */
.plat--wide{ grid-column:1 / -1; }

/* badge variants carry meaning: water frontage, standout lot, not-yet-listed */
.card__badge--water{ background:var(--lake); border-color:var(--lake); color:#F7F4EC; }
.card__badge--gold { background:var(--gold); border-color:var(--gold); color:var(--ink); }
.card__badge--new  { background:transparent; border-color:var(--gold); color:var(--gold); }

/* Owner financing disclosure — native <details>, no JS, keyboard accessible */
.fin{
  margin:0 0 1.3rem;
  border:1px solid var(--ink-3); border-radius:var(--radius);
  background:rgba(12,26,32,.5);
}
.fin summary{
  display:flex; align-items:center; justify-content:space-between; gap:.6rem;
  padding:.75rem .9rem; cursor:pointer; list-style:none;
  font-family:var(--mono); font-size:.72rem; letter-spacing:.04em;
  color:var(--text-on-ink-2);
  transition:color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.fin summary::-webkit-details-marker{ display:none; }
.fin summary:hover{ color:var(--text-on-ink); background:rgba(216,192,120,.06); }
.fin summary strong{ color:var(--gold); font-weight:500; }
.fin summary i{ font-size:.62rem; transition:transform var(--fast) var(--ease); }
.fin[open] summary i{ transform:rotate(180deg); }
.fin[open] summary{ border-bottom:1px solid var(--ink-3); }

.fin__body{ padding:.9rem; }
.fin__table{ width:100%; border-collapse:collapse; font-family:var(--mono); font-size:.72rem; }
.fin__table th, .fin__table td{ padding:.35rem 0; text-align:left; font-weight:400; }
.fin__table thead th{
  font-size:.55rem; text-transform:uppercase; letter-spacing:.13em;
  color:var(--text-on-ink-2); border-bottom:1px solid var(--ink-3); padding-bottom:.45rem;
}
.fin__table tbody th{ color:var(--text-on-ink-2); }
.fin__table td{ text-align:right; color:var(--gold); }
.fin__note{
  margin-top:.8rem; padding-top:.7rem; border-top:1px solid var(--ink-3);
  font-size:.8rem; line-height:1.5; color:var(--text-on-ink-2);
}

/* cash price with its unit label */
.price{ display:flex; flex-direction:column; line-height:1.05; }
.price small{
  font-family:var(--mono); font-size:.55rem; font-weight:400;
  text-transform:uppercase; letter-spacing:.14em;
  color:var(--text-on-ink-2); margin-top:.3rem;
}

/* external links out to Land.com and Google Maps */
.card__links{
  display:flex; flex-wrap:wrap; gap:.4rem 1.1rem;
  margin-top:1.1rem; padding-top:.9rem; border-top:1px solid var(--ink-3);
}
.lnk{
  display:inline-flex; align-items:center; gap:.45rem;
  font-family:var(--mono); font-size:.66rem; letter-spacing:.06em;
  color:var(--text-on-ink-2);
  transition:color var(--fast) var(--ease);
}
.lnk i{ font-size:.6rem; }
.lnk:hover{ color:var(--gold); }
.lnk--off{ opacity:.45; }
.lnk--off::before{ content:'\2014'; }

/* carrying-cost disclosure under the grid */
.fees{
  margin-top:clamp(2.4rem,5vw,3.5rem);
  padding:clamp(1.4rem,3vw,2rem);
  border:1px solid var(--ink-3); border-radius:var(--radius-lg);
  background:linear-gradient(160deg,var(--ink-2),rgba(12,26,32,.4));
}
.fees h3{
  font-family:var(--display); font-size:1.05rem; font-weight:700; letter-spacing:-.01em;
}
.fees dl{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:1px; margin:1.2rem 0;
  background:var(--ink-3); border:1px solid var(--ink-3);
}
.fees dl > div{ background:var(--ink); padding:.8rem .9rem; }
.fees dt{
  font-family:var(--mono); font-size:.58rem; text-transform:uppercase; letter-spacing:.13em;
  color:var(--text-on-ink-2);
}
.fees dd{ font-family:var(--mono); font-size:.88rem; margin-top:.3rem; color:var(--gold); }
.fees p{ font-size:.9rem; color:var(--text-on-ink-2); max-width:62ch; }

/* 13. MOTION / REVEAL ===================================================== */
.reveal{
  opacity:0; transform:translateY(26px);
  transition:opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.reveal.is-in{ opacity:1; transform:none; }

.hero.is-ready .plat__parcel{ animation:draw 2.4s .35s var(--ease) forwards; }
.hero.is-ready .plat__stakes circle{ animation:stake .5s forwards var(--ease); }
.hero.is-ready .plat__stakes circle:nth-child(1){ animation-delay:.9s; }
.hero.is-ready .plat__stakes circle:nth-child(2){ animation-delay:1.35s; }
.hero.is-ready .plat__stakes circle:nth-child(3){ animation-delay:1.8s; }
.hero.is-ready .plat__stakes circle:nth-child(4){ animation-delay:2.25s; }
@keyframes draw{ to{ stroke-dashoffset:0; } }
@keyframes stake{ from{ opacity:0; transform:scale(.2); } to{ opacity:1; transform:scale(1); } }

/* Anyone who asks for less motion gets a static, fully legible page */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important; animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
  .reveal{ opacity:1; transform:none; }
  .line__in{ transform:none; }
  .plat__parcel{ stroke-dashoffset:0; }
  .plat__stakes circle{ opacity:1; }
  .hero__plat, .hero__photo{ transform:none !important; }
}

/* 14. RESPONSIVE ========================================================== */
@media (max-width:1080px){
  .foot__inner{ grid-template-columns:1fr 1fr; }
  .foot__brand{ grid-column:1 / -1; }
}

@media (max-width:960px){
  :root{ --nav-h:70px; }

  /* Mobile drawer */
  .burger{ display:grid; }
  .nav__links{
    position:fixed; inset:var(--nav-h) 0 auto;
    flex-direction:column; align-items:stretch; gap:0;
    padding:1rem var(--gutter) 2rem;
    background:rgba(12,26,32,.98);
    -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
    border-bottom:1px solid var(--ink-3);
    max-height:0; overflow:hidden; opacity:0; pointer-events:none;
    transition:max-height var(--med) var(--ease), opacity var(--med) var(--ease);
  }
  .nav__links.is-open{ max-height:80svh; opacity:1; pointer-events:auto; }
  .nav__link{
    padding:1rem .2rem; font-size:.86rem;
    border-bottom:1px solid rgba(32,64,73,.5);
  }
  .nav__link::after{ left:.2rem; right:auto; width:22px; bottom:.7rem; }
  .nav__cta{ margin:1.2rem 0 0; }

  .about{ grid-template-columns:1fr; }
  .about__visual{ max-width:26rem; }
  .plate{ aspect-ratio:4/3; }
  .stats{ grid-template-columns:1fr 1fr; }
  .platstrip{ grid-template-columns:1fr 1fr; }
}

@media (max-width:640px){
  .hero{ min-height:auto; padding-block:calc(var(--nav-h) + 3rem) 4.5rem; }
  .hero__title{ max-width:none; }
  .hero__scroll{ display:none; }
  .hero__cta .btn{ width:100%; }        /* thumb-sized targets */
  .grid{ grid-template-columns:1fr; }
  .card__foot{ flex-direction:column; align-items:stretch; }
  .card__foot .btn{ width:100%; }
  .price{ font-size:1.5rem; }
  .card__zoom{ opacity:1; transform:none; }   /* no hover on touch */
  .card__trace{ display:none; }
  .foot__inner{ grid-template-columns:1fr; gap:1.8rem; }
  .lightbox{ grid-template-columns:minmax(0,1fr); }
  .lightbox__figure{ grid-column:1; }
  .lightbox__photo, .lightbox__art{ max-height:66svh; }
  .lightbox__nav{ position:absolute; bottom:1.2rem; }
  .lightbox__nav--prev{ left:1.2rem; grid-column:1; }
  .lightbox__nav--next{ right:1.2rem; grid-column:1; }
  .totop{ right:.8rem; bottom:.8rem; }
  .card__foot{ gap:.9rem; }
  .price{ flex-direction:row; align-items:baseline; gap:.5rem; }
  .price small{ margin-top:0; }
  .fees dl{ grid-template-columns:1fr 1fr; }
  .logo img{ width:142px; }
}

@media (max-width:420px){
  .logo--foot img{ width:206px; }   /* 248px is tight at 320px wide */
  .platstrip{ grid-template-columns:1fr; max-width:none; }
  .stats{ grid-template-columns:1fr; }
  .plat{ grid-template-columns:1fr; }
}

/* Large monitors: let the layout breathe rather than stretching type */
@media (min-width:1600px){
  :root{ --shell:1360px; }
}

/* Print: the plat data is what someone would actually want on paper */
@media print{
  .nav,.progress,.totop,.lightbox,.hero__scroll,.filters,.card__zoom{ display:none !important; }
  body{ background:#fff; color:#000; }
  .section--ink,.section--paper,.card,.cblock{ background:#fff !important; color:#000 !important; }
  .reveal{ opacity:1 !important; transform:none !important; }
}