/* =========================================================================
   FILE: /assets/css/site.css
   Foressa Mountain Town — CEBOOM Digital Showroom

   Palette and type are derived from the developer's own brand system:
   the deep forest green and parchment of the July 2025 brochure, its gold
   script accent, and a high-contrast serif paired with a humanist sans.
   ========================================================================= */

/* ---------- Tokens ------------------------------------------------------ */
:root {
  --forest:      #0E3B2B;
  --forest-deep: #082018;
  --forest-mid:  #14503A;
  --moss:        #2C6B4E;
  --parchment:   #EFE8CD;
  --parchment-2: #F8F4E7;
  --paper:       #FFFDF7;
  --bark:        #3A3527;
  --gold:        #9C7A34;
  --gold-lite:   #D9C48A;
  --ink:         #23211C;
  --muted:       #6B6555;
  --muted-lite:  #A79F87;
  --line:        rgba(58, 53, 39, .16);
  --line-dark:   rgba(239, 232, 205, .18);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --sect: clamp(3.5rem, 8vw, 7rem);
  --radius: 3px;
  --shadow: 0 1px 2px rgba(10, 32, 24, .06), 0 8px 28px rgba(10, 32, 24, .07);
}

/* ---------- Reset ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2.1vw, 1.5rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.15em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--forest); color: #fff; padding: .8rem 1.2rem;
}
.skip:focus { left: 0; }

/* ---------- Layout ------------------------------------------------------ */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 800px); margin-inline: auto; }
.section { padding-block: var(--sect); }
.section--parch { background: var(--parchment-2); }
.section--parch-deep { background: var(--parchment); }
.section--forest { background: var(--forest); color: var(--parchment); }
.section--forest h2, .section--forest h3 { color: var(--paper); }
.section--forest a { color: var(--gold-lite); }

.eyebrow {
  font-family: var(--body);
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 .9rem;
}
.section--forest .eyebrow { color: var(--gold-lite); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 62ch; }
.section--forest .lede { color: rgba(239, 232, 205, .82); }
.tight { max-width: 68ch; }

/* Section divider: the brochure's branch line, reduced to one mark. */
.rule { display: flex; align-items: center; gap: .75rem; margin: 0 0 2.5rem; }
.rule::before, .rule::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.rule::before { flex: 0 0 0; }
.rule i { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex: none; }

/* ---------- Utility bar ------------------------------------------------- */
.utility { background: var(--forest-deep); color: var(--parchment); font-size: .82rem; }
.utility__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.utility a { color: var(--parchment); text-decoration: none; }
.utility a:hover { color: var(--gold-lite); }
.utility__wa strong { color: var(--gold-lite); }
.utility__walabel { opacity: .75; }

/* ---------- Header ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 247, .95);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__in { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { flex: none; margin-right: auto; }
.brand img { width: 148px; height: auto; }

.nav { display: flex; gap: clamp(.55rem, 1.3vw, 1.1rem); align-items: center; }
.nav a {
  font-size: .81rem; font-weight: 600; letter-spacing: .04em;
  color: var(--bark); text-decoration: none; padding: .4rem 0;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--forest); border-bottom-color: var(--gold); }

.burger { display: none; background: none; border: 1px solid var(--line); padding: .55rem .6rem; border-radius: var(--radius); cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--forest); margin: 4px 0; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--body); font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  padding: .85rem 1.5rem; border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: #856727; border-color: #856727; color: #fff; }
.btn--forest { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.btn--forest:hover { background: var(--forest-mid); border-color: var(--forest-mid); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--forest); }
.btn--ghost:hover { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.btn--ghost-light { background: transparent; border-color: rgba(239, 232, 205, .55); color: var(--parchment); }
.btn--ghost-light:hover { background: var(--parchment); color: var(--forest); border-color: var(--parchment); }
.btn--sm { padding: .55rem 1rem; font-size: .82rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Hero -------------------------------------------------------- */
.hero { position: relative; background: var(--forest-deep); color: var(--parchment); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(8, 32, 24, .93) 0%, rgba(8, 32, 24, .78) 42%, rgba(8, 32, 24, .28) 100%),
    linear-gradient(to top, rgba(8, 32, 24, .85) 0%, rgba(8, 32, 24, 0) 55%);
}
.hero__in { position: relative; padding-block: clamp(4.5rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem); max-width: 54rem; }
.hero__mark { width: 190px; margin-bottom: 1.75rem; }
.hero h1 { color: var(--paper); margin-bottom: .48em; font-size: clamp(2.55rem, 6vw, 4.6rem); max-width: 16ch; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--gold-lite); }
.hero__sub { font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: rgba(239, 232, 205, .9); max-width: 56ch; }
.hero__actions { margin-top: 2rem; }
.hero__note { font-size: .82rem; color: rgba(239, 232, 205, .6); margin-top: 1.5rem; }

.hero__stats {
  position: relative; border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__stat { padding: 1.4rem 1.25rem 1.6rem; border-left: 1px solid var(--line-dark); }
.hero__stat:first-child { border-left: 0; padding-left: 0; }
.hero__stat b { display: block; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 500; color: var(--gold-lite); line-height: 1; }
.hero__stat span { display: block; font-size: .78rem; letter-spacing: .05em; color: rgba(239, 232, 205, .75); margin-top: .5rem; }

/* ---------- Premium section intro / Life at Foressa -------------------- */
.section-intro { max-width: 780px; margin-bottom: 2rem; }
.facts--premium { box-shadow: var(--shadow); }

.life { background: var(--paper); }
.life__head {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  gap: clamp(1.5rem, 5vw, 5rem); align-items: end; margin-bottom: 2.25rem;
}
.life__head h2 { max-width: 13ch; }
.life__head .lede { margin: 0; }
.life-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(185px, 13vw);
  gap: .8rem;
}
.life-grid__item {
  grid-column: span 4; position: relative; overflow: hidden; border: 0; padding: 0;
  background: var(--forest-deep); cursor: zoom-in; border-radius: var(--radius); text-align: left;
}
.life-grid__item--feature { grid-column: span 7; grid-row: span 2; }
.life-grid__item--feature + .life-grid__item { grid-column: span 5; }
.life-grid__item--wide { grid-column: span 8; }
.life-grid__item picture, .life-grid__item img { width: 100%; height: 100%; }
.life-grid__item img { object-fit: cover; transition: transform .45s ease, filter .3s ease; }
.life-grid__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(8,32,24,.76), rgba(8,32,24,0) 58%);
}
.life-grid__item:hover img { transform: scale(1.025); filter: saturate(1.05); }
.life-grid__label {
  position: absolute; z-index: 2; left: 1rem; right: 1rem; bottom: .9rem;
  color: var(--paper); display: flex; flex-direction: column; pointer-events: none;
  text-shadow: 0 1px 18px rgba(0,0,0,.35);
}
.life-grid__label b { font-family: var(--display); font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 500; }
.life-grid__label small { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-lite); }
.life__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  margin-top: 1.5rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); background: var(--parchment-2);
}
.life__cta p { margin: 0; max-width: 72ch; color: var(--muted); font-size: .94rem; }
.life__cta .btn { flex: none; }

/* ---------- Watch Foressa / video embeds ------------------------------- */
.watch { overflow: hidden; }
.watch__head {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  gap: clamp(1.5rem, 5vw, 5rem); align-items: end; margin-bottom: 2.25rem;
}
.watch__head h2 { color: var(--paper); max-width: 13ch; }
.watch__head .lede { margin: 0; color: rgba(239,232,205,.76); }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.video-card { background: rgba(255,255,255,.055); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.video-frame { aspect-ratio: 16 / 9; background: #071b14; }
.video-frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-card__body { padding: 1.2rem 1.25rem 1.35rem; }
.video-card__body h3 { color: var(--paper); margin-bottom: .45rem; }
.video-card__body p:last-child { color: rgba(239,232,205,.72); margin: 0; font-size: .94rem; }
.watch__archive {
  display: grid; grid-template-columns: minmax(240px, .8fr) repeat(2, minmax(0, 1fr));
  gap: 1rem; margin-top: 2rem; align-items: stretch;
}
.watch__archive-copy { border-top: 1px solid var(--line-dark); padding: 1.25rem 1.25rem 0 0; }
.watch__archive-copy h3 { color: var(--paper); }
.watch__archive-copy p:last-child { color: rgba(239,232,205,.66); font-size: .9rem; margin-bottom: 0; }
.archive-photo {
  position: relative; min-height: 220px; overflow: hidden; border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 0; background: var(--forest-deep); cursor: zoom-in; text-align: left;
}
.archive-photo picture, .archive-photo img { width: 100%; height: 100%; }
.archive-photo img { object-fit: cover; transition: transform .4s ease; }
.archive-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,23,17,.82), rgba(5,23,17,0) 58%); pointer-events: none; }
.archive-photo:hover img { transform: scale(1.025); }
.archive-photo > span { position: absolute; z-index: 2; left: 1rem; right: 1rem; bottom: .85rem; color: var(--paper); font-family: var(--display); font-size: 1.08rem; }
.archive-photo small { display: block; margin-top: .2rem; font-family: var(--body); font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-lite); }
.watch__actions { margin-top: 2rem; }

/* ---------- Zoomable plans / lightbox ---------------------------------- */
.plan-viewer { margin: 2.25rem 0; }
.zoomable {
  display: block; position: relative; width: 100%; border: 0; padding: 0; margin: 0;
  background: var(--parchment-2); cursor: zoom-in; border-radius: var(--radius); overflow: hidden;
}
.zoomable picture, .zoomable img { width: 100%; }
.zoomable__hint {
  position: absolute; right: .9rem; bottom: .9rem; z-index: 2;
  background: rgba(8,32,24,.9); color: var(--paper); border: 1px solid rgba(239,232,205,.35);
  padding: .55rem .8rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(4,15,11,.96); color: var(--paper);
  display: grid; grid-template-rows: minmax(0,1fr) auto; place-items: center; padding: clamp(1rem, 3vw, 2.5rem);
}
.lightbox__stage { max-width: min(94vw, 1700px); max-height: 84vh; overflow: auto; display: grid; place-items: center; }
.lightbox__img { max-width: none; width: auto; height: auto; min-width: min(100%, 900px); object-fit: contain; }
.lightbox__close {
  position: fixed; top: max(1rem, env(safe-area-inset-top)); right: 1rem; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(8,32,24,.78); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox__caption { margin: .8rem 0 0; color: rgba(239,232,205,.75); font-size: .82rem; text-align: center; }

/* ---------- Notice / disclosure ---------------------------------------- */
.notice {
  border: 1px solid var(--line); border-left: 3px solid var(--gold);
  background: var(--parchment-2); padding: 1.1rem 1.25rem; border-radius: var(--radius);
  font-size: .9rem; color: var(--muted);
}
.notice strong { color: var(--bark); }
.notice p:last-child { margin-bottom: 0; }
.notice--dark { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); border-left-color: var(--gold-lite); color: rgba(239, 232, 205, .82); }
.notice--dark strong { color: var(--paper); }

/* ---------- Split band -------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 4.5rem); }
.split--flip .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius); }
.figcap { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-lite); margin-top: .6rem; }


/* ---------- Lot-specific topographic plan ------------------------------ */
.lotdetail__split { align-items: start; }
.lotplan { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 1.2rem; }
.lotplan h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: .3rem 0 .6rem; }
.lotplan__intro { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; }
.lotplan__viewer { background: #f5f4ef; border: 1px solid var(--line); }
.lotplan__viewer picture, .lotplan__viewer img { width: 100%; height: auto; }
.lotplan__viewer img { object-fit: contain; background: #f5f4ef; }
.lotplan__actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1rem; }
.lotplan__notice { margin-top: 1rem; }
.lotplan__missing { margin-bottom: 1.25rem; }
.lotplan__context { margin-top: 1.5rem; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.lotplan__context > picture img { object-fit: contain; background: var(--parchment-2); }

/* ---------- Fact grid --------------------------------------------------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts > div { background: var(--paper); padding: 1.4rem 1.35rem; }
.facts dt { font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-lite); margin-bottom: .45rem; }
.facts dd { margin: 0; font-family: var(--display); font-size: 1.35rem; color: var(--forest); line-height: 1.25; }
.facts dd small { display: block; font-family: var(--body); font-size: .82rem; color: var(--muted); margin-top: .3rem; }

/* ---------- Cards ------------------------------------------------------- */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden;
}
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card__eyebrow { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.card h3 { margin-bottom: .4rem; }
.card p { font-size: .93rem; color: var(--muted); }
.card__spec { font-size: .84rem; color: var(--bark); border-top: 1px solid var(--line); padding-top: .85rem; margin-top: auto; }
.card__link { margin-top: 1rem; font-weight: 700; font-size: .88rem; text-decoration: none; color: var(--forest); }
.card__link:hover { color: var(--gold); }

/* ---------- Lot type cards --------------------------------------------- */
.lottype { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.5rem; }
.lottype__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.lottype__card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.lottype__key { background: var(--parchment); padding: .5rem; }
.lottype__key img { aspect-ratio: auto; object-fit: contain; }
.lottype__body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.lottype__area { font-family: var(--display); font-size: 1.5rem; color: var(--gold); line-height: 1; margin: 0 0 .15rem; }
.lottype__unit { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-lite); margin-bottom: .9rem; }
.lottype__fit { font-size: .91rem; color: var(--bark); margin: .25rem 0 .75rem; font-weight: 600; }
.lottype__headline { font-size: .86rem; color: var(--muted); margin: 0; flex: 1; }

/* ---------- Lot finder (signature) ------------------------------------- */
.finder__bar {
  position: sticky; top: 68px; z-index: 40;
  background: var(--parchment-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem; margin-bottom: 1.75rem;
  display: grid; gap: .85rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  align-items: end;
}
.finder__f label { display: block; font-size: .7rem; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; font-weight: 700; }
.finder__f select {
  width: 100%; font: inherit; font-size: .9rem; padding: .6rem .7rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink);
}
.finder__count { grid-column: 1 / -1; font-size: .86rem; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.finder__count b { color: var(--forest); font-family: var(--display); font-size: 1.1rem; }
.finder__reset { background: none; border: 0; color: var(--gold); font-weight: 700; font-size: .84rem; cursor: pointer; text-decoration: underline; padding: 0; }

.lotgrid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); }
.lot {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.2rem; display: flex; flex-direction: column;
  transition: border-color .18s, box-shadow .18s;
}
.lot:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.lot__top { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; margin-bottom: .2rem; }
.lot__tags { display: flex; gap: .35rem; align-items: flex-end; flex-direction: column; }
.lot__id { font-family: var(--display); font-size: 1.22rem; color: var(--forest); line-height: 1.15; margin: 0; }
.lot__street { font-size: .85rem; color: var(--muted); margin: .15rem 0 .9rem; }
.tag { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .5rem; border-radius: 2px; white-space: nowrap; }
.tag--rfo { background: var(--forest); color: var(--parchment); }
.tag--term { background: var(--parchment); color: var(--bark); border: 1px solid var(--line); }
.tag--plan { background: #f3e7c8; color: #6b4f16; border: 1px solid #d9c38d; }

/* Area bar: each lot's size against the largest lot on the sheet. */
.lot__bar { height: 5px; background: var(--parchment); border-radius: 3px; overflow: hidden; margin: 0 0 .35rem; }
.lot__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--moss), var(--gold)); }
.lot__barlabel { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted-lite); margin-bottom: 1rem; }

.lot__price { font-family: var(--display); font-size: 1.55rem; color: var(--bark); line-height: 1; }
.lot__pricesub { font-size: .78rem; color: var(--muted); margin-top: .3rem; }
.lot__meta { list-style: none; padding: 0; margin: 1rem 0 1.1rem; font-size: .84rem; border-top: 1px solid var(--line); }
.lot__meta li { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem 0; border-bottom: 1px solid var(--line); }
.lot__meta span { color: var(--muted); }
.lot__meta b { font-weight: 600; color: var(--bark); font-variant-numeric: tabular-nums; }
.lot__actions { margin-top: auto; display: grid; gap: .5rem; grid-template-columns: 1fr auto; }

.emptystate { padding: 3rem 1rem; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Tables ------------------------------------------------------ */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.dtable { font-size: .9rem; min-width: 640px; }
.dtable th, .dtable td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.dtable thead th { background: var(--parchment); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bark); font-weight: 700; }
.dtable tbody tr:last-child td { border-bottom: 0; }
.dtable td.num, .dtable th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Distances --------------------------------------------------- */
.dist { list-style: none; padding: 0; margin: 0; column-gap: 3rem; }
.dist li { display: flex; justify-content: space-between; gap: 1rem; padding: .62rem 0; border-bottom: 1px solid var(--line-dark); font-size: .95rem; }
.dist b { font-variant-numeric: tabular-nums; color: var(--gold-lite); font-weight: 600; white-space: nowrap; }

/* ---------- Steps ------------------------------------------------------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { counter-increment: s; padding-top: 1.1rem; border-top: 2px solid var(--gold); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--display); font-size: .95rem; color: var(--gold); margin-bottom: .45rem; }
.steps h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.steps p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Updates timeline ------------------------------------------- */
.updates { display: grid; gap: 1.25rem; }
.update { display: grid; grid-template-columns: 190px 1fr; gap: 1.5rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.update__when { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-lite); }
.update__tag { display: inline-block; margin-top: .5rem; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.update h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.update p { margin: 0; color: var(--muted); font-size: .95rem; }
.updates__past { margin-top: 2.5rem; }
.updates__past h3 { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--body); color: var(--muted-lite); }

/* ---------- FAQ --------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--display); font-size: 1.1rem; color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--gold); font-family: var(--body); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 2.5rem 1.35rem 0; color: var(--muted); font-size: .96rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Related ----------------------------------------------------- */
.related { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.related__card { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; background: rgba(255, 255, 255, .04); }
.related__basis { font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--gold-lite); margin-bottom: .7rem; }
.related__card h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.related__meta { font-size: .8rem; color: rgba(239, 232, 205, .6); margin-bottom: .8rem; }
.related__card p { font-size: .9rem; color: rgba(239, 232, 205, .8); flex: 1; }
.related__card a { font-weight: 700; font-size: .88rem; text-decoration: none; }
.related__card a:hover { text-decoration: underline; }

/* ---------- Form -------------------------------------------------------- */
.inquiry { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.75rem, 5vw, 4rem); align-items: start; }
.inquiry__side .contactline { display: flex; flex-direction: column; gap: .9rem; margin: 1.75rem 0; }
.contactline a {
  display: flex; flex-direction: column; padding: .9rem 1.1rem; border: 1px solid var(--line-dark);
  border-radius: var(--radius); text-decoration: none; background: rgba(255, 255, 255, .04);
}
.contactline a:hover { border-color: var(--gold-lite); }
.contactline span { font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; color: rgba(239, 232, 205, .6); }
.contactline b { font-size: 1.02rem; color: var(--gold-lite); }

.form { background: var(--paper); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); color: var(--ink); }
.form h3 { margin-bottom: .3rem; }
.form__grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--bark); margin-bottom: .4rem; }
.field .req { color: var(--gold); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; padding: .78rem .85rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--parchment-2); color: var(--ink); width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--gold); }
.field .err { color: #9B2C24; font-size: .8rem; margin-top: .35rem; font-weight: 600; }
.field--error input, .field--error select, .field--error textarea { border-color: #9B2C24; background: #fdf5f4; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; flex: none; margin-top: .2rem; accent-color: var(--forest); }
.formnote { font-size: .8rem; color: var(--muted); margin: 1rem 0 0; }
.formalert {
  background: #fdf5f4; border: 1px solid #e6c3bf; border-left: 3px solid #9B2C24;
  color: #7a231d; padding: .95rem 1.1rem; border-radius: var(--radius); font-size: .9rem; margin-bottom: 1.25rem;
}
.selected-lot {
  background: var(--parchment); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  padding: .9rem 1.1rem; border-radius: var(--radius); font-size: .88rem; margin-bottom: 1.25rem;
}
.selected-lot b { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--forest); }

/* ---------- Breadcrumbs ------------------------------------------------- */
.crumbs { font-size: .82rem; color: var(--muted); padding: 1.1rem 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--forest); text-decoration: underline; }
.crumbs span { margin: 0 .45rem; color: var(--muted-lite); }

/* ---------- Page header (sub pages) ------------------------------------ */
.pagehead { background: var(--forest); color: var(--parchment); padding-block: clamp(2rem, 5vw, 3.5rem); }
.pagehead h1 { color: var(--paper); font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
.pagehead .lede { color: rgba(239, 232, 205, .84); }
.pagehead .crumbs, .pagehead .crumbs a { color: rgba(239, 232, 205, .62); }

/* ---------- Footer ------------------------------------------------------ */
.site-footer { background: var(--forest-deep); color: rgba(239, 232, 205, .78); padding-block: clamp(3rem, 6vw, 4.5rem) 6.5rem; font-size: .9rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 2.5rem; }
.site-footer h3 { font-family: var(--body); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-lite); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: rgba(239, 232, 205, .8); text-decoration: none; }
.site-footer a:hover { color: var(--gold-lite); text-decoration: underline; }
.site-footer__brand img { width: 168px; margin-bottom: 1.2rem; }
.site-footer__brand p { font-size: .88rem; max-width: 34ch; }
.site-footer__lic { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .76rem; color: rgba(239, 232, 205, .55); }
.site-footer__addr { font-size: .82rem; color: rgba(239, 232, 205, .6); margin: .8rem 0 0; }
.site-footer__legal { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line-dark); font-size: .78rem; color: rgba(239, 232, 205, .55); }
.site-footer__legal p { max-width: 100ch; }

/* ---------- Sticky mobile bar ------------------------------------------ */
.mobar { display: none; }

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 1080px) {
  .nav a { font-size: .76rem; }
  .brand img { width: 130px; }
}

@media (max-width: 900px) {
  .burger { display: block; order: 3; }
  .site-header__cta { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px);
    background: var(--forest); flex-direction: column; align-items: stretch;
    gap: 0; padding: 5.5rem 1.75rem 2rem; transform: translateX(100%);
    transition: transform .28s ease; overflow-y: auto; z-index: 90;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { color: var(--parchment); font-size: 1.02rem; padding: .95rem 0; border-bottom: 1px solid var(--line-dark); }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--gold-lite); border-bottom-color: var(--line-dark); }
  body.nav-open { overflow: hidden; }
  .navscrim { position: fixed; inset: 0; background: rgba(8, 32, 24, .55); z-index: 80; }

  .split, .split--flip .split__media { grid-template-columns: 1fr; order: 0; }
  .inquiry { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .update { grid-template-columns: 1fr; gap: .5rem; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__stat { border-top: 1px solid var(--line-dark); }
  .hero__stat:nth-child(-n+2) { border-top: 0; }
  .finder__bar { position: static; }
  .life__head { grid-template-columns: 1fr; }
  .watch__head { grid-template-columns: 1fr; }
  .watch__archive { grid-template-columns: 1fr 1fr; }
  .watch__archive-copy { grid-column: 1 / -1; padding-right: 0; }
  .life-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .life-grid__item, .life-grid__item--feature, .life-grid__item--feature + .life-grid__item, .life-grid__item--wide { grid-column: span 1; grid-row: span 1; }
  .life-grid__item--feature { grid-column: span 2; grid-row: span 2; }
  .life__cta { align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .utility__walabel { display: none; }
  .form__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .lot__actions { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 auto; }
  .hero__mark { width: 150px; }
  .hero__in { padding-top: 4rem; }
  .life-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; gap: .65rem; }
  .life-grid__item, .life-grid__item--feature, .life-grid__item--feature + .life-grid__item, .life-grid__item--wide { grid-column: 1; grid-row: span 1; }
  .life-grid__item--feature { grid-row: span 2; }
  .life__cta { flex-direction: column; }
  .video-grid { grid-template-columns: 1fr; }
  .watch__archive { grid-template-columns: 1fr; }
  .watch__archive-copy { grid-column: auto; }
  .archive-photo { min-height: 230px; }
  .lightbox { padding: .75rem; }
  .lightbox__stage { max-width: 100%; max-height: 82vh; }
  .lightbox__img { min-width: 0; max-width: 100%; }

  .mobar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: var(--forest-deep); border-top: 1px solid var(--line-dark);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobar__a {
    display: flex; flex-direction: column; align-items: center; gap: .15rem;
    padding: .6rem .25rem .65rem; font-size: .68rem; font-weight: 700; letter-spacing: .05em;
    color: rgba(239, 232, 205, .85); text-decoration: none; text-transform: uppercase;
  }
  .mobar__a span { font-size: 1.05rem; line-height: 1; }
  .mobar__a--cta { background: var(--gold); color: #fff; }
}

/* ---------- Print & motion --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
@media print {
  .utility, .site-header, .mobar, .site-footer, .finder__bar, .btn { display: none !important; }
  body { background: #fff; font-size: 12px; }
}

/* =========================================================================
   Late additions — state and utility rules
   ========================================================================= */

/* The hidden attribute must win over the component's own display value.
   Without this, filtering the lot finder would hide nothing, because
   .lot sets display:flex and [hidden] only sets display:none. */
[hidden] { display: none !important; }

/* Screen-reader-only text (table captions, extra context for assistive tech). */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* Groups inside the lot finder. */
.finder__group + .finder__group { margin-top: .5rem; }
.finder__group h2 { margin-bottom: .25rem; }

.utility__back { display: inline-flex; align-items: center; gap: .4rem; }
