/* ---------- 10HOUSE design system ---------- */
:root {
  /* palette — quiet luxury, editorial. Green-tinted neutrals. */
  --bg: #eee7d6;
  --bg-warm: #e4dcc7;
  --paper: #f7f1e2;
  --ink: #0e2018;
  --ink-2: #2b4338;
  --ink-3: #5c7165;
  --rule: rgba(28, 61, 46, 0.18);
  --rule-soft: rgba(28, 61, 46, 0.09);

  --forest: #1c3d2e;
  --forest-deep: #102619;
  --forest-soft: #2a5641;
  --forest-pale: #c9d4ca;

  --gold: #b89556;
  --gold-soft: #d9bd86;
  --champagne: #e8d9b3;

  /* type */
  --serif: "Cormorant Garamond", "Cardo", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* rhythm */
  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1440px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 700ms cubic-bezier(.22,.61,.36,1), color 700ms cubic-bezier(.22,.61,.36,1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* intentional, user-requested infinite carousels — keep running */
  .prop-track,
  .values-marquee {
    animation-duration: var(--mq-dur, 55s) !important;
    animation-iteration-count: infinite !important;
  }
  /* never leave scroll-reveal content stuck invisible */
  .reveal { opacity: 1 !important; transform: none !important; }
}

img { max-width: 100%; display: block; }

/* ---------- typography primitives ---------- */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; }
.serif-it { font-family: var(--serif); font-style: italic; font-weight: 400; }
.mono { font-family: var(--mono); font-weight: 400; }

.eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow .dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  vertical-align: 2px;
  margin: 0 10px 0 0;
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 7.2vw, 112px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h2 em { color: var(--gold); }
.dark-block .display em, .dark-block .h2 em { color: var(--gold-soft); }
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.35;
  color: var(--ink-2);
  max-width: 38ch;
  text-wrap: pretty;
}
.body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: color 480ms cubic-bezier(.22,.61,.36,1), border-color 480ms cubic-bezier(.22,.61,.36,1), transform 200ms cubic-bezier(.22,.61,.36,1);
  text-decoration: none;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 540ms cubic-bezier(.22,.61,.36,1);
  z-index: -1;
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: scaleX(1); }
.btn:active { transform: scale(0.985); }
.btn .arr { width: 18px; height: 1px; background: currentColor; position: relative; transition: width 480ms cubic-bezier(.22,.61,.36,1); }
.btn .arr::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arr { width: 28px; }

.btn.on-dark { border-color: var(--gold-soft); color: var(--paper); }
.btn.on-dark::before { background: var(--gold-soft); }
.btn.on-dark:hover { color: var(--forest-deep); border-color: var(--gold-soft); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  transition: border-color 360ms, color 360ms;
  cursor: pointer;
}
.link:hover { border-bottom-color: var(--ink); color: var(--ink); }
.link .arr { width: 14px; height: 1px; background: currentColor; position: relative; transition: width 480ms cubic-bezier(.22,.61,.36,1); }
.link .arr::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 6px; height: 6px;
  border-right: 1px solid currentColor; border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.link:hover .arr { width: 24px; }

/* ---------- placeholder imagery ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--paper);
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.05) 0 2px,
      transparent 2px 14px
    ),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.18));
  pointer-events: none;
}
.ph .ph-tag {
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(232, 217, 179, 0.85);
  padding: 4px 8px;
  border: 1px solid rgba(232, 217, 179, 0.35);
  background: rgba(20, 43, 33, 0.4);
  backdrop-filter: blur(2px);
}
.ph .ph-num {
  position: absolute;
  right: 16px; top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(232, 217, 179, 0.7);
}
.ph.real::before { display: none; }
.ph.real .ph-tag {
  background: rgba(14, 32, 24, 0.7);
  border-color: rgba(232, 217, 179, 0.5);
}
.ph.warm { background: #6b5436; }
.ph.cool { background: #1c3d2e; }
.ph.stone { background: #4a4839; }
.ph.sand { background: #8a7757; }
.ph.sea { background: linear-gradient(180deg, #2a5641 0%, #1c3d2e 60%, #142b21 100%); }
.ph.night { background: #0c1410; }
.ph.forest { background: linear-gradient(180deg, #2a5641 0%, #1c3d2e 70%, #142b21 100%); }
.ph.moss { background: #324a3a; }

/* ---------- divider line ---------- */
.rule { height: 1px; background: var(--rule); width: 100%; }
.rule-soft { height: 1px; background: var(--rule-soft); width: 100%; }

/* ornamental gold rule: ──── ◇ ──── */
.orn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  color: var(--gold);
}
.orn::before, .orn::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 40%, var(--gold) 60%, transparent);
  opacity: 0.55;
}
.orn .diamond {
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}
.orn.short::before, .orn.short::after { max-width: 80px; }
.dark-block .orn { color: var(--gold-soft); }
.dark-block .orn::before, .dark-block .orn::after {
  background: linear-gradient(90deg, transparent, var(--gold-soft) 40%, var(--gold-soft) 60%, transparent);
}
.dark-block .orn .diamond { background: var(--gold-soft); }

/* ---------- reveal anim ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 850ms cubic-bezier(.22,.61,.36,1), transform 850ms cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- numbered label (ornamental) ---------- */
.num-label {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  position: relative;
  padding-left: 18px;
}
.num-label::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 2px; height: 22px;
  background: var(--forest);
}
.num-label .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  font-weight: 400;
}
.dark-block .num-label::before, .mid-block .num-label::before { background: var(--gold-soft); }

/* ─────────────────────────────────────────────
   Editorial primitives — masthead, folios, drop cap, marginalia
   ───────────────────────────────────────────── */

/* (masthead removed — caused header overlap & irrelevant info) */
.hd { top: 0; }

/* Big roman numeral plate */
.plate {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(140px, 22vw, 320px);
  line-height: 0.78;
  color: transparent;
  -webkit-text-stroke: 1px var(--forest-soft);
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
  opacity: 0.55;
}
.plate.solid {
  color: var(--forest);
  -webkit-text-stroke: 0;
  opacity: 0.07;
}
.dark-block .plate, .mid-block .plate {
  -webkit-text-stroke: 1px var(--gold-soft);
  opacity: 0.35;
}

/* Folio (page-number style marker) */
.folio {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.folio .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
}
.folio .tick {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  vertical-align: 4px;
}

/* Drop cap */
.dropcap::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 5.4em;
  line-height: 0.82;
  float: left;
  margin: 6px 14px -4px 0;
  color: var(--gold);
}

/* Marginalia: small annotation off to the side */
.margin-note {
  position: relative;
  padding-left: 18px;
  border-left: 1px solid var(--gold);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 32ch;
}
.margin-note em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-2);
  display: block;
  margin-top: 6px;
}
.dark-block .margin-note, .mid-block .margin-note { color: rgba(232,217,179,0.7); border-left-color: var(--gold-soft); }
.dark-block .margin-note em, .mid-block .margin-note em { color: rgba(247,241,226,0.9); }

/* Full-width brand watermark */
.watermark {
  position: absolute;
  bottom: -2vw;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: 32vw;
  line-height: 0.78;
  color: var(--forest-deep);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.watermark i {
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* Editorial caption under photos */
.cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cap .plate-no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold);
}

/* Vertical text (occasional use) */
.vrt {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- page transition ---------- */
.page {
  animation: pageIn 700ms cubic-bezier(.22,.61,.36,1) both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.leaving-wrap .page {
  animation: pageOut 240ms cubic-bezier(.4,0,1,1) both;
}
@keyframes pageOut {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: translateY(-6px); }
}

/* ---------- scroll progress (gold thin line at top) ---------- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--gold);
  width: 0%;
  z-index: 60;
  transition: width 120ms linear, opacity 400ms;
  pointer-events: none;
  opacity: 0.85;
}

/* ---------- header ---------- */
.hd {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition:
    background 700ms cubic-bezier(.22,.61,.36,1),
    color 700ms cubic-bezier(.22,.61,.36,1),
    border-color 700ms cubic-bezier(.22,.61,.36,1),
    padding 500ms cubic-bezier(.22,.61,.36,1);
  border-bottom: 1px solid transparent;
}
.hd.compact { padding-top: 14px; padding-bottom: 14px; }
.hd.on-light {
  background: rgba(244, 239, 229, 0.84);
  backdrop-filter: blur(14px) saturate(1.05);
  border-bottom-color: rgba(184, 149, 86, 0.22);
}
.hd.on-dark {
  background: rgba(20, 43, 33, 0.55);
  backdrop-filter: blur(14px) saturate(1.05);
  color: var(--paper);
  border-bottom-color: rgba(232, 217, 179, 0.18);
}

.hd .brand {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer;
  letter-spacing: 0.04em;
}
.hd .brand .brand-logo {
  height: 24px;
  width: auto;
  display: block;
  transition: height 500ms cubic-bezier(.22,.61,.36,1), filter 500ms;
}
.hd.compact .brand .brand-logo { height: 20px; }
/* Invert gold to paper for visibility on dark hero (no-bg svg has gold mark only) */
.hd.on-dark .brand .brand-logo {
  /* gold #b89556 already reads on dark green — keep it natural */
}

.hd nav {
  display: flex;
  gap: 36px;
  justify-content: center;
}
.hd nav a {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.78;
  transition: opacity 300ms;
  position: relative;
  padding: 6px 0;
}
.hd nav a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
  transition: left 480ms cubic-bezier(.22,.61,.36,1), right 480ms cubic-bezier(.22,.61,.36,1), opacity 360ms;
  opacity: 0;
}
.hd nav a:hover { opacity: 1; }
.hd nav a:hover::after, .hd nav a.active::after {
  left: 0; right: 0; opacity: 1;
}

.hd .right {
  display: flex; justify-content: flex-end; align-items: center; gap: 18px;
}
.hd .priv {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border: 1px solid currentColor;
  cursor: pointer;
  transition: all 360ms;
  text-decoration: none;
  color: inherit;
  background: transparent;
}
.hd .priv:hover { background: currentColor; }
.hd .priv:hover span { color: var(--bg); }
.hd.on-dark .priv:hover span { color: var(--forest-deep); }

.hd .priv .pulse {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  position: relative;
}
.hd .priv .pulse::after {
  content: ""; position: absolute; inset: -4px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

@media (max-width: 880px) {
  .hd nav { display: none; }
  .hd { grid-template-columns: 1fr auto; }
  .hd .right .priv span.long { display: none; }
}

/* ---------- footer ---------- */
.ft {
  background: var(--forest-deep);
  color: var(--paper);
  padding: 90px var(--gutter) 36px;
}
.ft a { color: inherit; text-decoration: none; }
.ft-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (max-width: 780px) {
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
.ft h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 16px;
  font-weight: 500;
}
.ft ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ft ul a { opacity: 0.78; font-size: 13.5px; cursor: pointer; transition: opacity 300ms, color 300ms; }
.ft ul a:hover { opacity: 1; color: var(--gold-soft); }
.ft-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(232, 217, 179, 0.16);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 241, 226, 0.55);
  max-width: var(--maxw);
  margin-left: auto; margin-right: auto;
  gap: 24px;
}
.ft-bottom > :nth-child(1) { text-align: left; }
.ft-bottom > :nth-child(2) { text-align: center; }
.ft-bottom > :nth-child(3) { text-align: right; }
.ft-bottom .creci { color: var(--gold-soft); }

/* ---------- property cards ---------- */
/* property card hover lift */
.prop {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 600ms cubic-bezier(.22,.61,.36,1);
}
.prop:hover { transform: translateY(-4px); }
.prop .img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.prop .img-wrap .ph {
  position: absolute; inset: 0;
  transition: transform 1400ms cubic-bezier(.22,.61,.36,1);
}
.prop:hover .img-wrap .ph { transform: scale(1.04); }
.prop .img-wrap .ph .ph-tag,
.prop .img-wrap .ph .ph-num { display: none; }
.prop .img-wrap .overlay {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  display: flex; justify-content: space-between; align-items: end;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.prop .info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prop .info .ref {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.prop .info .title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.prop .info .meta {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  display: flex; gap: 14px;
}
.prop .info .meta span:nth-child(2n) { color: var(--gold); }
.prop .info .price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  margin-top: 4px;
}
.prop .info .title { transition: color 360ms; }
.prop:hover .info .title { color: var(--gold); }
.prop .img-wrap .overlay > :nth-child(2) { color: var(--gold-soft); }

/* horizontal scroll row */
.row-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: 28px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.row-scroll > * { scroll-snap-align: start; }
.row-scroll::-webkit-scrollbar { height: 4px; }
.row-scroll::-webkit-scrollbar-thumb { background: var(--rule); }

/* infinite auto-scrolling property marquee */
.prop-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.prop-track {
  display: flex;
  width: max-content;
  animation: prop-marquee 55s linear infinite;
}
.prop-track > .prop {
  flex: 0 0 340px;
  width: 340px;
  margin-right: 28px;
}
.prop-marquee:hover .prop-track { animation-play-state: paused; }
@keyframes prop-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* neighborhood card */
.nb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}
.nb .ph { position: absolute; inset: 0; transition: transform 1600ms cubic-bezier(.22,.61,.36,1); }
.nb .ph .ph-tag { display: none; }
.nb .ph .ph-num { color: rgba(232, 217, 179, 0.55); }
.nb:hover .ph { transform: scale(1.05); }
.nb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,38,25,0) 28%, rgba(8,18,12,0.55) 62%, rgba(8,18,12,0.95) 100%);
}
.nb .label {
  position: absolute;
  left: 22px; right: 22px; bottom: 22px;
  z-index: 2;
  color: var(--paper);
  display: flex; justify-content: space-between; align-items: end;
}
.nb .label .name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1;
  text-shadow: 0 2px 22px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.7);
}
.nb .label .sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 1;
  color: var(--gold);
  margin-top: 10px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.7);
}
.nb .label .stat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* dark section blocks */
.dark-block {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(184,149,86,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(42,86,65,0.4) 0%, transparent 70%),
    var(--forest-deep);
  color: var(--paper);
  position: relative;
}
.dark-block .body { color: rgba(247, 241, 226, 0.72); }
.dark-block .lede { color: rgba(247, 241, 226, 0.86); }
.dark-block .num-label { color: rgba(232, 217, 179, 0.7); }
.dark-block .num-label .n { color: var(--gold-soft); }
.dark-block .eyebrow { color: rgba(232, 217, 179, 0.7); }
.dark-block .rule { background: rgba(232, 217, 179, 0.18); }

/* soft green block — quieter green moment between cream sections */
.soft-block {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(28, 61, 46, 0.06) 50%, var(--bg) 100%);
  position: relative;
}
.soft-block::before, .soft-block::after {
  content: "";
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--forest-soft) 30%, var(--forest-soft) 70%, transparent);
  opacity: 0.35;
}
.soft-block::before { top: 0; }
.soft-block::after { bottom: 0; }

/* mid-green block — deeper presence */
.mid-block {
  background: var(--forest);
  color: var(--paper);
}
.mid-block .body, .mid-block .lede { color: rgba(247, 241, 226, 0.86); }
.mid-block .num-label { color: rgba(232, 217, 179, 0.78); }
.mid-block .num-label .n { color: var(--gold-soft); }
.mid-block .eyebrow { color: rgba(232, 217, 179, 0.78); }

/* ---------- contact / modal sheet ---------- */
.sheet-backdrop {
  position: fixed; inset: 0;
  z-index: 80;
  background: rgba(20, 20, 15, 0.55);
  backdrop-filter: blur(8px);
  animation: fadeIn 400ms cubic-bezier(.22,.61,.36,1) both;
}
.sheet {
  position: fixed;
  top: 0; right: 0;
  bottom: 0;
  width: min(560px, 100vw);
  background: var(--paper);
  z-index: 90;
  overflow-y: auto;
  padding: 64px clamp(24px, 4vw, 48px);
  animation: sheetIn 520ms cubic-bezier(.22,.61,.36,1) both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetIn { from { transform: translateX(100%); } to { transform: none; } }

.sheet .close {
  position: absolute;
  top: 22px; right: 22px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: all 300ms;
}
.sheet .close:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sheet .close::before, .sheet .close::after {
  content: ""; position: absolute;
  width: 14px; height: 1px; background: currentColor;
}
.sheet .close::before { transform: rotate(45deg); }
.sheet .close::after { transform: rotate(-45deg); }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 300;
  border: none;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  padding: 12px 0;
  color: var(--ink);
  outline: none;
  border-radius: 0;
  transition: border-color 480ms cubic-bezier(.22,.61,.36,1), padding 280ms;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-bottom-color: var(--gold);
}
.field input:focus, .field select:focus { padding-bottom: 14px; }
.field textarea { resize: vertical; min-height: 90px; }

/* ---------- selection style ---------- */
::selection { background: var(--gold); color: var(--ink); }

/* ---------- chip filters ---------- */
.chip {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  color: var(--ink-2);
  transition: all 300ms;
  border-radius: 0;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* loader scrim while booting */
#boot {
  position: fixed; inset: 0;
  background: var(--forest-deep);
  display: grid; place-items: center;
  z-index: 999;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.02em;
  transition: opacity 700ms;
}
#boot.hide { opacity: 0; pointer-events: none; }
#boot .b-inner { text-align: center; }
#boot .b-mark {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.3em;
  color: var(--gold-soft); margin-bottom: 14px; text-transform: uppercase;
}
#boot .b-line {
  width: 64px; height: 1px;
  background: var(--gold-soft);
  margin: 18px auto 0;
  position: relative;
  overflow: hidden;
}
#boot .b-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--paper);
  animation: loadBar 1.6s ease-in-out infinite;
}
@keyframes loadBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
