/* ==========================================================================
   MONEVATIONS — Design system
   Warm stone & ink. Editorial serif display + architectural grotesque +
   technical mono annotation.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Ground + surfaces */
  --paper:        #FBF9F5;
  --paper-2:      #F6F2EB;
  --bone:         #F0EAE1;
  --stone:        #DDD3C4;
  --stone-soft:   #E9E2D7;
  --sand:         #CFC3B0;

  /* Ink */
  --ink:          #1A1815;
  --ink-90:       #2A2722;
  --slate:        #5E574D;
  --muted:        #71695E;   /* 5.14:1 on paper, 4.52:1 on bone */
  --faint:        #A79E91;   /* RETIRED: 2.51:1 on paper. Do not use for text. */

  /* Accents */
  --forest:       #2D4739;
  --forest-deep:  #1E3327;
  --forest-soft:  #E2E7E1;
  --navy:         #16283A;
  --navy-soft:    #DFE4E9;
  --clay:         #8A6A4F;

  /* Lines */
  --line:         rgba(26, 24, 21, 0.13);
  --line-soft:    rgba(26, 24, 21, 0.07);
  --line-strong:  rgba(26, 24, 21, 0.26);
  --line-invert:  rgba(251, 249, 245, 0.18);

  /* Type */
  --serif:  "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:   "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono:   "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-display: clamp(2.7rem, 6.1vw, 5.1rem);
  --fs-h1:      clamp(2.2rem, 4.5vw, 3.6rem);
  --fs-h2:      clamp(1.85rem, 3.3vw, 2.85rem);
  --fs-h3:      clamp(1.3rem, 1.9vw, 1.7rem);
  --fs-h4:      clamp(1.08rem, 1.3vw, 1.22rem);
  --fs-lead:    clamp(1.08rem, 1.25vw, 1.28rem);
  --fs-body:    1.0625rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;
  --fs-label:   0.6875rem;

  /* Layout */
  --maxw:    1320px;
  --measure: 62ch;
  --gutter:  clamp(20px, 5vw, 64px);
  --rail:    clamp(0px, 9vw, 132px);

  --sp-1: 0.5rem;
  --sp-2: 0.875rem;
  --sp-3: 1.25rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 7rem;

  --sec-pad: clamp(4.5rem, 9vw, 8.5rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 76px;
}

@media (max-width: 780px) {
  :root { --header-h: 64px; }
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-weight: 380;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
svg { display: block; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -0.012em; }
h4 { font-size: var(--fs-h4); font-family: var(--sans); font-weight: 600; letter-spacing: -0.005em; line-height: 1.3; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

strong { font-weight: 600; }

::selection { background: var(--forest); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--focus, var(--forest));
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  z-index: 200;
  font-family: var(--mono);
  font-size: var(--fs-xs);
}
.skip-link:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------------------
   3. Type utilities
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--serif);
  font-size: var(--fs-display);
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin: 0;
  text-wrap: balance;
}

.italic { font-style: italic; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.58;
  color: var(--slate);
  max-width: 60ch;
  font-weight: 380;
}

.body-lg { font-size: 1.125rem; line-height: 1.68; color: var(--slate); }

.measure { max-width: var(--measure); }
.measure-sm { max-width: 48ch; }

.eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--sand);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.note {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  line-height: 1.62;
  color: var(--muted);
  letter-spacing: 0.005em;
}

.mono-label {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.disclaimer {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  line-height: 1.65;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  max-width: 68ch;
}

.text-forest { color: var(--forest); }
.text-navy { color: var(--navy); }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--sec-pad);
}
.section--bone { background: var(--bone); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--forest { background: var(--forest-deep); color: var(--paper); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--flush-top { padding-top: 0; }

.section--ink h1, .section--ink h2, .section--ink h3,
.section--forest h1, .section--forest h2, .section--forest h3 { color: var(--paper); }
.section--ink .lead, .section--forest .lead { color: rgba(251, 249, 245, 0.72); }
.section--ink .eyebrow, .section--forest .eyebrow { color: rgba(251, 249, 245, 0.62); }
.section--ink .eyebrow::before, .section--forest .eyebrow::before { background: var(--line-invert); }
.section--ink .note, .section--forest .note { color: rgba(251, 249, 245, 0.56); }

/* Drawing-sheet grid: mono index in the left rail, content in the measure. */
.sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

@media (max-width: 900px) {
  .sheet { grid-template-columns: 1fr; gap: 0; }
}

.stack-2 { display: flex; flex-direction: column; gap: var(--sp-2); }
.stack-3 { display: flex; flex-direction: column; gap: var(--sp-3); }
.stack-4 { display: flex; flex-direction: column; gap: var(--sp-4); }
.stack-5 { display: flex; flex-direction: column; gap: var(--sp-5); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: 1.15fr 1fr; }
.split--wide-right { grid-template-columns: 1fr 1.15fr; }
@media (max-width: 900px) {
  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; gap: 2.75rem; }
}

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2vw, 2rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2vw, 2rem); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 620px)  { .grid-4 { grid-template-columns: 1fr; } }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   5. Buttons + links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  font-family: var(--sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 1.02em 1.6em;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
  white-space: nowrap;
}
.btn__arrow { transition: transform 0.4s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary { background: var(--forest); color: var(--paper); }
.btn--primary:hover { background: var(--forest-deep); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--forest-deep); }

.btn--outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--stone-soft); }

.btn--ghost-light { border-color: var(--line-invert); color: var(--paper); background: transparent; }
.btn--ghost-light:hover { border-color: rgba(251,249,245,.6); background: rgba(251,249,245,.08); }

.btn--sm { padding: 0.78em 1.15em; font-size: var(--fs-xs); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow:hover { border-color: var(--forest); color: var(--forest); gap: 0.75em; }
.section--ink .link-arrow, .section--forest .link-arrow { color: var(--paper); border-color: var(--line-invert); }
.section--ink .link-arrow:hover, .section--forest .link-arrow:hover { color: var(--paper); border-color: var(--paper); }

/* --------------------------------------------------------------------------
   6. Header + navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 249, 245, 0.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark { flex: none; width: 28.6px; height: 24px; }
.brand__word {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: clamp(0.8rem, 1.8vw, 1.85rem); }
.nav__link {
  font-size: var(--fs-sm);
  font-weight: 420;
  text-decoration: none;
  color: var(--slate);
  position: relative;
  padding-block: 4px;
  transition: color 0.28s var(--ease);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-current::after { transform: scaleX(1); }
.nav__link.is-current { color: var(--ink); font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle__bars { width: 17px; height: 11px; position: relative; }
.nav-toggle__bars span {
  position: absolute; left: 0; right: 0; height: 1.3px; background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s linear;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { bottom: 0; }
body.nav-open .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.nav-open .nav-toggle__bars span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--paper);
  z-index: 80;
  padding: clamp(1.5rem, 6vw, 3rem) var(--gutter) 3rem;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out);
}
body.nav-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
body.nav-open { overflow: hidden; }

.mobile-nav__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mobile-nav__list a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.mobile-nav__list .idx { font-family: var(--mono); font-size: var(--fs-label); color: var(--muted); letter-spacing: 0.1em; }
.mobile-nav__cta { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-nav__cta .btn { width: 100%; }

/* Sticky mobile CTA bar */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(251, 249, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease-out);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { width: 100%; }
@media (min-width: 1081px) { .sticky-cta { display: none; } }
body.nav-open .sticky-cta { transform: translateY(110%); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(240,234,225,.85), rgba(251,249,245,0) 62%),
    repeating-linear-gradient(to right, var(--line-soft) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(to bottom, var(--line-soft) 0 1px, transparent 1px 84px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
.hero > .wrap { position: relative; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
}

.hero__title { margin-bottom: 1.1rem; }
.hero__title .amp { color: var(--forest); }
.hero__sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  color: var(--forest);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  line-height: 1.35;
}
.hero__copy { max-width: 46ch; color: var(--slate); font-size: 1.06rem; line-height: 1.66; }
.hero__actions { margin-top: 2rem; }

@media (max-width: 600px) {
  .hero { padding-block: 1.75rem 2.5rem; }
  .hero__title { margin-bottom: 0.85rem; }
  .hero__sub { margin-bottom: 1.1rem; }
  .hero__copy { font-size: 1rem; line-height: 1.58; }
  .hero__actions { margin-top: 1.5rem; }
  .hero__actions .btn { width: 100%; }
  .hero__grid { gap: 2.25rem; }
}

/* --------------------------------------------------------------------------
   8. Building diagram (the signature device)
   -------------------------------------------------------------------------- */
.building {
  position: relative;
  width: 100%;
  max-width: 386px;
  margin-inline: auto;
}
.building__frame { position: relative; }

.bldg-svg { width: 100%; height: auto; overflow: visible; }

.lvl { transition: transform 1s var(--ease-out); }
.lvl__fill  { fill: var(--paper); transition: fill 0.9s var(--ease); }
/* Outward extension - retained home, revealed in the Monevated state */
.ext { opacity: 0; transition: opacity 0.8s var(--ease) 0.5s; }
.building.is-split .ext { opacity: 1; }
.lvl__line  { stroke: var(--ink); stroke-width: 1.1; fill: none; }
.lvl__glass { fill: var(--stone-soft); transition: fill 0.9s var(--ease); }
.lvl__hair  { stroke: var(--line-strong); stroke-width: 0.8; fill: none; }

.building.is-split .lvl[data-lvl="4"] { transform: translateY(-26px); }
.building.is-split .lvl[data-lvl="3"] { transform: translateY(-26px); }
.building.is-split .lvl[data-lvl="4"] .lvl__fill,
.building.is-split .lvl[data-lvl="3"] .lvl__fill { fill: var(--navy-soft); }
.building.is-split .lvl[data-lvl="4"] .lvl__glass,
.building.is-split .lvl[data-lvl="3"] .lvl__glass { fill: #B9C6D2; }
.building.is-split .lvl[data-lvl="2"] .lvl__fill,
.building.is-split .lvl[data-lvl="1"] .lvl__fill,
.building.is-split .lvl[data-lvl="0"] .lvl__fill { fill: var(--forest-soft); }
.building.is-split .lvl[data-lvl="2"] .lvl__glass,
.building.is-split .lvl[data-lvl="1"] .lvl__glass { fill: #B4C4B6; }

.split-line {
  stroke: var(--forest);
  stroke-width: 1;
  stroke-dasharray: 5 4;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.35s;
}
.building.is-split .split-line { opacity: 1; }

/* Diagram labels */
.bldg-tag {
  position: absolute;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 11px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.55s var(--ease), transform 0.6s var(--ease-out);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 8px 22px -18px rgba(26,24,21,.7);
}
.building.is-split .bldg-tag { opacity: 1; transform: none; }
.building.is-split .bldg-tag--new { transition-delay: 0.45s; }
.building.is-split .bldg-tag--keep { transition-delay: 0.6s; }
.bldg-tag__k {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.bldg-tag__v {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.bldg-tag--new { top: 7%; right: -16px; border-left: 3px solid var(--navy); }
.bldg-tag--keep { bottom: 16%; left: -16px; border-left: 3px solid var(--forest); }

@media (max-width: 520px) {
  .bldg-tag { padding: 5px 8px; }
  .bldg-tag__v { font-size: 0.7rem; }
  .bldg-tag--new { right: -2px; }
  .bldg-tag--keep { left: -2px; }
}

/* Diagram caption strip */
.bldg-caption {
  margin-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}
.bldg-caption .note { margin: 0; min-width: 0; }

.diagram-toggle {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  overflow: hidden;
  background: var(--paper);
  /* `overflow: hidden` zeroes this flex item's automatic minimum size, so the
     caption row was free to squeeze it and clip "Monevated". Never shrink. */
  flex: none;
}
.diagram-toggle button {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* Trailing letter-spacing sits inside the button, so the right side needs a
     touch more room than the left to look even against the pressed fill. */
  padding: 0.6em 1.05em 0.6em 0.95em;
  white-space: nowrap;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.diagram-toggle button + button { border-left: 1px solid var(--line); }
.diagram-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* --------------------------------------------------------------------------
   9. Floor stack (scroll-driven before/after)
   -------------------------------------------------------------------------- */
.stackviz {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) { .stackviz { grid-template-columns: 1fr; } }

.floorstack {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}
.floor {
  position: relative;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 2px;
  padding: 0.95rem 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.7s var(--ease), border-color 0.7s var(--ease),
              transform 0.8s var(--ease-out), margin 0.8s var(--ease-out);
}
.floor__name {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.floor__use {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--slate);
  text-align: right;
}
.floor--cellar { padding-block: 0.7rem; background: var(--paper-2); }

.floorstack.is-after .floor[data-use="new"] {
  background: var(--navy-soft);
  border-color: rgba(22, 40, 58, 0.4);
}
.floorstack.is-after .floor[data-use="new"] .floor__use { color: var(--navy); font-weight: 600; }
.floorstack.is-after .floor[data-use="keep"] {
  background: var(--forest-soft);
  border-color: rgba(45, 71, 57, 0.35);
}
.floorstack.is-after .floor[data-use="keep"] .floor__use { color: var(--forest); font-weight: 600; }
.floorstack.is-after .floor[data-split="true"] { margin-top: 30px; }

.floor__seam {
  position: absolute;
  left: 0; right: 0; top: -16px;
  height: 1px;
  border-top: 1px dashed var(--forest);
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.5s;
}
.floorstack.is-after .floor__seam { opacity: 1; }
.floor__seam span {
  position: absolute;
  right: 0; top: -0.85em;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--bone);
  padding-inline: 6px;
}

.stack-legend { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: 1.4rem; }
.stack-legend div { display: inline-flex; align-items: center; gap: 0.55em; }
.stack-legend i {
  width: 13px; height: 13px; border-radius: 2px; display: inline-block; flex: none;
  border: 1px solid var(--line-strong);
}
.stack-legend .sw-keep { background: var(--forest-soft); border-color: rgba(45,71,57,.4); }
.stack-legend .sw-new  { background: var(--navy-soft); border-color: rgba(22,40,58,.4); }
.stack-legend span { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); }

/* Before / after column headers */
.ba-heads { display: flex; gap: 1.25rem; align-items: baseline; margin-bottom: 1.25rem; }
.ba-heads button {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0 0 5px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.ba-heads button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--forest); }

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease-out), background 0.4s var(--ease);
}
.card:hover { border-color: var(--line-strong); }
.card__num {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  color: var(--muted);
}
.card p { color: var(--slate); font-size: var(--fs-sm); line-height: 1.62; }

/* Option cards (renovate / sell / monevate) */
.option {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.45s var(--ease), background 0.45s var(--ease), transform 0.5s var(--ease-out);
}
.option:hover { transform: translateY(-3px); }
.option__k {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.option h3 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); }
.option p { color: var(--slate); font-size: var(--fs-sm); margin: 0; }
.option__viz { margin-top: auto; padding-top: 1.25rem; }
.option--feature {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  color: var(--paper);
}
.option--feature h3 { color: var(--paper); }
.option--feature p { color: rgba(251,249,245,.76); }
.option--feature .option__k { color: rgba(251,249,245,.55); }

/* Step cards */
.step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0 1.25rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  color: var(--forest);
  padding-top: 0.45em;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--slate); font-size: var(--fs-sm); margin: 0; max-width: 56ch; }

.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps-grid .stepcol {
  padding: 1.9rem clamp(1rem, 1.8vw, 1.6rem) 2rem;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.8rem;
  transition: background 0.4s var(--ease);
}
.steps-grid .stepcol:first-child { padding-left: 0; }
.steps-grid .stepcol:last-child { border-right: 0; padding-right: 0; }
.steps-grid .stepcol:hover { background: rgba(45,71,57,.035); }
.steps-grid .stepcol p { color: var(--slate); font-size: var(--fs-sm); margin: 0; }
.stepcol__icon { height: 44px; }
.stepcol__icon svg { height: 100%; width: auto; }
@media (max-width: 940px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid .stepcol { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
  .steps-grid .stepcol:last-child { border-bottom: 0; }
}

/* Value / reason cards */
.reason {
  padding: 1.75rem 0 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.reason h3 { font-size: 1.5rem; }
.reason p { color: var(--slate); font-size: var(--fs-sm); margin: 0; }
.reason__mark { color: var(--forest); }

.reasons { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0 clamp(1.25rem, 2.2vw, 2.25rem); }
@media (max-width: 1080px) { .reasons { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px)  { .reasons { grid-template-columns: 1fr; } }

/* Discipline chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.55em 0.85em;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--slate);
  background: var(--paper);
}
.section--ink .chip, .section--forest .chip {
  border-color: var(--line-invert);
  color: rgba(251,249,245,.78);
  background: transparent;
}

/* Stat / figure rows */
.figrow { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); }
.figrow > div { padding: 1.5rem 1.25rem 1.5rem 0; border-right: 1px solid var(--line); }
.figrow > div:last-child { border-right: 0; }
.figrow dt { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.figrow dd { margin: 0; font-family: var(--serif); font-size: 1.55rem; font-weight: 300; letter-spacing: -0.015em; }
@media (max-width: 720px) {
  .figrow { grid-template-columns: 1fr; }
  .figrow > div { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .figrow > div:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------------------------
   11. Brand moment
   -------------------------------------------------------------------------- */
.brandmoment {
  position: relative;
  background: var(--forest-deep);
  color: var(--paper);
  overflow: hidden;
  padding-block: clamp(5rem, 12vw, 10rem);
}
.brandmoment__bg {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
}
.brandmoment__bg svg { width: 100%; height: 100%; }
.brandmoment .wrap { position: relative; text-align: center; }
.brandmoment__line {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--paper);
}
.brandmoment__line em { font-style: italic; color: #A8C3AE; }
.brandmoment__sub {
  margin-top: 1.75rem;
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  letter-spacing: 0.02em;
  color: rgba(251,249,245,.72);
}

/* --------------------------------------------------------------------------
   12. Accordion (FAQ)
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.42rem);
  font-weight: 300;
  letter-spacing: -0.012em;
  line-height: 1.28;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.acc-btn:hover { color: var(--forest); }
.acc-icon { flex: none; width: 16px; height: 16px; margin-top: 0.45em; position: relative; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; background: var(--forest);
  transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease);
}
.acc-icon::before { left: 0; right: 0; top: 50%; height: 1.2px; transform: translateY(-50%); }
.acc-icon::after  { top: 0; bottom: 0; left: 50%; width: 1.2px; transform: translateX(-50%); }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: translateX(-50%) scaleY(0); }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.acc-panel > div { overflow: hidden; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel p { color: var(--slate); font-size: var(--fs-sm); max-width: 66ch; padding-right: 2rem; }
.acc-panel > div > *:first-child { padding-top: 0.15rem; }
.acc-panel > div > *:last-child { padding-bottom: 1.75rem; }

/* --------------------------------------------------------------------------
   13. Leadership
   -------------------------------------------------------------------------- */
.roster { border-top: 1px solid var(--line); }
.seat {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
  padding: clamp(1.9rem, 3vw, 2.75rem) 0;
  border-bottom: 1px solid var(--line);
}
.seat__who {
  font-family: var(--mono); font-size: var(--fs-label);
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--slate);
}
.seat__open {
  display: inline-block;
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 2px; padding: 4px 7px;
  margin-bottom: 0.1rem;
}
.seat__role {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  letter-spacing: -0.016em; line-height: 1.16;
  margin-top: 0.7rem; max-width: 20ch;
}
.seat__note {
  color: var(--slate); font-size: var(--fs-body);
  max-width: 54ch; padding-top: 0.35rem;
}
@media (max-width: 820px) {
  .seat { grid-template-columns: 1fr; gap: 0.9rem; }
  .seat__note { padding-top: 0; }
}

/* --------------------------------------------------------------------------
   14. Projects
   -------------------------------------------------------------------------- */
.concept {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.concept:nth-child(even) .concept__viz { order: 2; }
@media (max-width: 900px) {
  .concept { grid-template-columns: 1fr; gap: 2rem; }
  .concept:nth-child(even) .concept__viz { order: 0; }
}
.concept__viz {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}
.spec { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.spec div { display: grid; grid-template-columns: 12.5rem minmax(0,1fr); gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 0.15em; }
.spec dd { margin: 0; font-size: var(--fs-sm); color: var(--slate); }
@media (max-width: 560px) { .spec div { grid-template-columns: 1fr; gap: 0.25rem; } }

.tag-concept {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  border: 1px solid rgba(138,106,79,.35);
  background: rgba(138,106,79,.06);
  padding: 0.45em 0.7em;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.35rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.35rem; }
@media (max-width: 680px) { .form__row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req { color: var(--forest); }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: var(--fs-sm);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 0.85em 0.9em;
  width: 100%;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--forest);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45,71,57,.09);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%235E574D' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.95em center; padding-right: 2.4em; }
.field__err { font-family: var(--mono); font-size: 0.7rem; color: #8C3A2B; letter-spacing: 0.04em; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #8C3A2B; }
.field.has-error .field__err { display: block; }

.radio-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: inline-block;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.7em 1em;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.28s var(--ease);
}
.radio-pill input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.radio-pill input:focus-visible + span { outline: 2px solid var(--forest); outline-offset: 2px; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; justify-content: space-between; }
.form-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(1.5rem, 3.5vw, 3rem);
}
.form-error {
  border: 1px solid var(--line-strong);
  border-left: 3px solid #7A2E2E;
  background: var(--bone);
  border-radius: 2px;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: 1.5rem;
}
.form-error h3 { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h4); }
.form-error p { color: var(--slate); font-size: var(--fs-sm); margin-top: 0.5rem; }
/* :not(.btn) matters — a blanket link colour here repainted the button label
   forest-on-forest and made it invisible. */
.form-error a:not(.btn) { color: var(--forest); }
.form-error .btn { margin-top: 0.35rem; }
.form-error .tiny { color: var(--muted); margin-top: 0.6rem; }
.form-error__copy {
  font-family: var(--mono); font-size: var(--fs-xs); color: var(--slate);
  background: var(--paper); border: 1px solid var(--line); border-radius: 2px;
  padding: 0.8rem; margin-top: 0.9rem; white-space: pre-wrap; overflow-x: auto;
}

.form-success {
  border: 1px solid var(--forest);
  background: var(--forest-soft);
  border-radius: 2px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.form-success h3 { color: var(--forest-deep); margin-bottom: 0.5rem; }
.form-success p { color: var(--forest-deep); opacity: .85; font-size: var(--fs-sm); margin: 0; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(251,249,245,.8); padding-block: clamp(3.5rem, 6vw, 5.5rem) 2.5rem; }
.site-footer a { color: inherit; text-decoration: none; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); padding-bottom: 3rem; border-bottom: 1px solid var(--line-invert); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; gap: 2.5rem; } }

.footer-brand .brand__word { color: var(--paper); }
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.35rem;
  color: #A8C3AE;
  margin-top: 1.1rem;
  letter-spacing: -0.01em;
}
.footer-blurb { margin-top: 1.1rem; max-width: 40ch; font-size: var(--fs-sm); color: rgba(251,249,245,.58); }

.footer-col h4 { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.15em; text-transform: uppercase; color: rgba(251,249,245,.45); font-weight: 500; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: var(--fs-sm); color: rgba(251,249,245,.78); transition: color 0.28s var(--ease); }
.footer-col a:hover { color: var(--paper); }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 2rem;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p, .footer-bottom a {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(251,249,245,.62);
  margin: 0;
}
.footer-bottom a:hover { color: rgba(251,249,245,.8); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-disclaimer {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.7;
  color: rgba(251,249,245,.62);
  max-width: 92ch;
}

/* --------------------------------------------------------------------------
   17. Page heads
   -------------------------------------------------------------------------- */
.pagehead {
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4rem);
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}
.pagehead__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(2rem, 4vw, 4rem); align-items: end; }
@media (max-width: 860px) { .pagehead__grid { grid-template-columns: 1fr; gap: 1.75rem; } }
.pagehead h1 { margin-top: 1rem; }

/* --------------------------------------------------------------------------
   18. Reveal animation
   -------------------------------------------------------------------------- */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.85s var(--ease), transform 0.95s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: 0.09s; }
.js .reveal[data-d="2"] { transition-delay: 0.18s; }
.js .reveal[data-d="3"] { transition-delay: 0.27s; }
.js .reveal[data-d="4"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__video { display: none; }
}

/* --------------------------------------------------------------------------
   19. Drawing helpers
   -------------------------------------------------------------------------- */
.dwg { width: 100%; height: auto; }
.dwg .ln    { fill: none; stroke: var(--ink); stroke-width: 1.1; }
.dwg .ln-th { fill: none; stroke: var(--line-strong); stroke-width: 0.75; }
.dwg .ln-dim{ fill: none; stroke: var(--muted); stroke-width: 0.6; }
.dwg .fl-paper { fill: var(--paper); }
.dwg .fl-bone  { fill: var(--bone); }
.dwg .fl-stone { fill: var(--stone-soft); }
.dwg .fl-keep  { fill: var(--forest-soft); }
.dwg .fl-new   { fill: var(--navy-soft); }
.dwg .tx {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  fill: var(--muted);
}
.dwg .tx-keep { fill: var(--forest); }
.dwg .tx-new  { fill: var(--navy); }

.viz-frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(1rem, 2.5vw, 1.75rem);
}
.viz-frame--bone { background: var(--bone); }

/* Small print utility */
.tiny { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.05em; color: var(--muted); }

/* Pull quote */
.pullquote {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(1.65rem, 3.2vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: -0.022em;
  max-width: 22ch;
}
.pullquote em { font-style: italic; color: var(--forest); }

/* ============================================================
   DESIGN REFRESH — centered hero, doors, honest-part blocks
   ============================================================ */
:root { --paper-warm: #F6F2EB; }

/* Centered hero with the section drawing beneath it */
.hero__grid--center { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: clamp(2rem, 4vw, 3rem); }
.hero__grid--center .hero__copy { max-width: 60ch; margin-inline: auto; }
.hero__grid--center .hero__actions,
.hero__grid--center .building { max-width: 640px; margin-inline: auto; }
.hero__kicker { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Doors — the three paths, stated as costs */
.option .door__costs { margin-top: auto; padding-top: 1.1rem; font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--clay); }
.option:not(.option--feature) { background: var(--paper-warm); }
.option.option--feature .door__costs { color: rgba(251,249,245,.62); }

/* The honest part — the trade-offs, said out loud */
.honest { background: var(--paper-warm); border-top: 1px solid var(--line-soft); }
.honest__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(1.75rem, 4vw, 3.5rem); }
.honest__k { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--clay); }
.honest h3 { font-family: var(--serif); font-weight: 200; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; margin: .7rem 0 .75rem; }
.honest p { margin: 0; color: var(--slate); line-height: 1.65; }

/* Serif wordmark */
.brand__word { font-family: var(--serif); font-weight: 300; font-size: 1.34rem; letter-spacing: .02em; text-transform: none; }

/* --brass is graphic only: 3.19:1 on paper, below AA for text.
   --clay-ink is the text-safe sibling used for the mono accents. */
:root { --clay-ink: #88684D; }
.option .door__costs, .honest__k { color: var(--clay-ink); }

/* ============================================================
   BRAND MARK — three-colour building glyph from the logo
   ============================================================ */
:root { --brass: #AA8658; }
.mk-g { fill: var(--forest-deep); }
.mk-b { fill: var(--brass); }
.mk-s { fill: var(--stone); }
/* on the dark footer the deep green would disappear */
.site-footer .mk-g { fill: var(--paper); }
.site-footer .mk-s { fill: rgba(251, 249, 245, 0.55); }
.site-footer .mk-b { fill: #C89F63; }

/* ============================================================
   HERO VIDEO — decorative only.
   Every rule below is gated on .has-video, which site.js adds only once the
   footage is actually playing. If the file is missing, blocked, refused by
   autoplay policy, or suppressed for reduced motion, the hero stays exactly
   as it is without it: dark type on paper. Never style the inverted hero
   without that gate or a failed load leaves light text on a light ground.
   ============================================================ */
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; opacity: 0;
  transition: opacity 1s var(--ease);
}
.hero.has-video .hero__video { opacity: 1; }
/* the shot tracks sideways, so the loop point is a jump cut - a short dip
   across the seam reads as a change of light instead */
.hero.has-video .hero__video.at-seam { opacity: .45; transition: opacity .45s linear; }

/* the existing ::before is reused as the scrim - keeping its 84px rules over
   the footage reads as an architectural overlay rather than a plain wash */
.hero::before { z-index: 1; }
.hero > .wrap { z-index: 2; }
.hero.has-video::before {
  background:
    linear-gradient(to bottom, rgba(18,28,22,.76), rgba(18,28,22,.65) 50%, rgba(18,28,22,.74)),
    repeating-linear-gradient(to right, rgba(251,249,245,.10) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(to bottom, rgba(251,249,245,.10) 0 1px, transparent 1px 84px);
  -webkit-mask-image: none;
  mask-image: none;
}

.hero.has-video .eyebrow { color: rgba(251,249,245,.82); }
.hero.has-video .eyebrow::before { background: var(--line-invert); }
.hero.has-video .hero__title { color: var(--paper); }
.hero.has-video .text-forest { color: #AFC8B6; }
.hero.has-video .hero__sub { color: rgba(251,249,245,.84); }
.hero.has-video .hero__copy { color: rgba(251,249,245,.90); }
.hero.has-video .btn--outline { border-color: rgba(251,249,245,.55); color: var(--paper); }
.hero.has-video .btn--outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ============================================================
   Inverted surfaces: focus ring + the hero's pause control
   ============================================================ */
/* The ring is 2px solid --forest, which measures 1.7:1 on the video scrim and
   1.3:1 on the forest CTA band -- invisible exactly where the homepage's main
   actions live. Dark containers redefine the token and it inherits down. */
:root { --focus: var(--forest); }
.site-footer,
.section--forest,
.section--ink,
.hero.has-video,
.option--feature { --focus: var(--paper); }

/* WCAG 2.2.2: motion that starts on its own and runs past five seconds needs a
   control. prefers-reduced-motion is honoured too, but an OS setting is not
   the mechanism the criterion asks for. Injected by site.js only when the
   video actually plays, so it can never appear without something to pause.
   Pointer users tap the hero itself; the button is off-screen until keyboard
   focus reaches it (same pattern as .skip-link). */
.hero.has-video { cursor: pointer; }
.hero__pause {
  position: absolute;
  left: -9999px;
}
.hero__pause:focus-visible {
  left: auto;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 24px);
  z-index: 3;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(18, 28, 22, .55);
  border: 1px solid rgba(251, 249, 245, .45);
  padding: .5rem .85rem;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.hero__pause:hover { background: rgba(18, 28, 22, .8); border-color: var(--paper); }
