/* ============================================================
   SCALE DETAILING — "Detail Spec" edition
   Obsidian's locked editorial spec-sheet system (Fraunces +
   Inter + Space Mono, mono kickers, hairlines, meter card,
   light interlude bands) recolored to the Scale family:
   warm black + gold. Re-skin = edit :root only.
   v1 "Work Order" build backed up at
   ../scale-detailing-v1-workorder-backup/
   ============================================================ */

/* ── Fonts (self-hosted) ── */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/fonts/fraunces-normal-500-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/fraunces-italic-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/inter-normal-400-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/space-mono-normal-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/space-mono-normal-700.woff2') format('woff2');
}

/* ── Tokens ── */
:root {
  /* surfaces */
  --paper: #0D0B07;           /* main background, warm obsidian */
  --panel: #17130B;           /* dark card surface */
  --ivory: #F2EDE0;           /* primary text AND the light interlude bg */
  --ivory-2: #E9E2D1;
  /* text */
  --graphite: #A69C82;        /* secondary text on dark */
  --mute: #7A7159;            /* labels, mono captions on dark */
  --mute-d: #6E6650;          /* secondary text on light bands */
  --ink-on-light: #14100A;    /* primary text on light bands */
  /* lines */
  --hair: rgba(242, 237, 224, 0.10);
  --hair-2: rgba(242, 237, 224, 0.18);
  --hair-d: rgba(20, 16, 10, 0.14);
  /* brand */
  --gold: #C9A847;            /* CTAs, meter, [+] marks, figs */
  --gold-soft: #DFC06A;       /* hover, light accents on dark */
  --gold-deep: #A8872C;       /* accents on light bands */
  --on-gold: #14100A;
  --star: #ECB53F;

  /* type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-ui: 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'Space Mono', 'Menlo', monospace;

  /* layout — full-bleed: the page fills the screen and side padding scales
     with it. Long-form prose keeps its own reading measure (.lede, .article-body,
     .prose-ledger, .faq-a) so line length stays sane on wide monitors. */
  --maxw: none;
  --pad: clamp(20px, 3.6vw, 76px);
  --readw: 1180px;            /* reading column for long-form pages */
  --radius: 5px;
}

/* ── Reset / base ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  background: var(--paper);
  color: var(--ivory);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--on-gold); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { position: relative; padding: clamp(58px, 7vw, 96px) 0; }

/* light interlude band */
.band-light { background: var(--ivory); color: var(--ink-on-light); }
.band-light .lede, .band-light p { color: var(--mute-d); }
.band-light h2, .band-light h3 { color: var(--ink-on-light); }

/* slim dark band */
.band { background: var(--panel); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }

/* ── Type helpers ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; }
h1 { font-size: clamp(2.7rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: 1.4rem; line-height: 1.2; }
h1 em, h2 em, .serif-i {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
}
.band-light h2 em { color: var(--gold-deep); }

.lede {
  font-size: 1.1rem;
  color: var(--graphite);
  max-width: 54ch;
}

/* mono kicker + hairline rule (was .eyebrow) */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--hair-2); }
.band-light .eyebrow { color: var(--mute-d); }
.band-light .eyebrow::after { background: var(--hair-d); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 14px 30px;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-line { border-color: var(--hair-2); color: var(--ivory); font-weight: 600; }
.btn-line:hover { background: var(--ivory); color: var(--ink-on-light); border-color: var(--ivory); }
.band-light .btn-line { border-color: rgba(20,16,10,0.35); color: var(--ink-on-light); }
.band-light .btn-line:hover { background: var(--ink-on-light); color: var(--ivory); }
.btn-block { width: 100%; }
.link-ar {
  font-size: 0.92rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ── Masthead ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--hair);
  background: rgba(13, 11, 7, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 15px var(--pad);
  display: flex;
  align-items: center;
  gap: 28px;
}
/* Brand lockup — the real logo art (triangle + SCALE DETAILING in its own
   letterforms). Never retype the brand name in a site font next to it. */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; display: block; }
.nav-sp { flex: 1; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links > a:not(.btn) {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--graphite);
  transition: color 0.15s ease;
  padding: 8px 0;
}
.nav-links > a:not(.btn):hover, .nav-links > a[aria-current="page"] { color: var(--ivory); }
.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-height: 0;
  padding: 10px 18px;
  border-radius: 2px;
}
.nav-drop { position: relative; }
/* invisible bridge over the gap between button and menu, so the hover
   never breaks while the cursor travels down into the dropdown */
.nav-drop::after {
  content: '';
  position: absolute;
  left: -18px; right: -18px;
  top: 100%;
  height: 14px;
}
.nav-drop > button {
  background: none; border: none;
  font-size: 0.87rem; font-weight: 500;
  font-family: var(--font-ui);
  color: var(--graphite);
  display: flex; align-items: center; gap: 6px;
  padding: 8px 0;
  transition: color 0.15s ease;
}
.nav-drop > button::after { content: '▾'; font-size: 0.7em; color: var(--mute); }
.nav-drop:hover > button, .nav-drop:focus-within > button { color: var(--ivory); }
.drop-menu {
  position: absolute;
  top: calc(100% + 6px); left: -18px;
  min-width: 230px;
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: 4px;
  padding: 8px;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.25s;
  box-shadow: 0 18px 44px rgba(0,0,0,0.5);
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.drop-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 3px;
  font-size: 0.9rem;
  color: var(--graphite);
}
.drop-menu a:hover { background: rgba(242,237,224,0.05); color: var(--ivory); }

/* mono detail bar under the masthead */
.mast-detail {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
  padding: 8px var(--pad);
  border-bottom: 1px solid var(--hair);
  background: var(--paper);
}
.mast-detail b { color: var(--gold); font-weight: 400; }

/* hamburger + drawer */
.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--hair-2);
  border-radius: 3px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ivory); }
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 11, 7, 0.98);
  display: none;
  flex-direction: column;
  padding: 20px var(--pad) 40px;
  overflow-y: auto;
}
.drawer.open { display: flex; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.drawer-close {
  background: none; border: 1px solid var(--hair-2); border-radius: 3px;
  width: 44px; height: 44px; color: var(--ivory); font-size: 1.1rem;
}
.drawer-group { margin-bottom: 30px; }
.drawer-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}
.drawer a.d-link {
  display: block;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  border-bottom: 1px solid var(--hair);
}
body.drawer-locked { overflow: hidden; }

/* ── Editorial hero (home) ── */
.hero { padding: clamp(46px, 6vw, 72px) 0 clamp(54px, 7vw, 78px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
.hero .eyebrow { margin-bottom: 26px; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { font-size: 1.12rem; margin-bottom: 30px; max-width: 46ch; }
.hero-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 38px; }

/* specline (hero proof) */
.hero-proof { display: flex; border-top: 1px solid var(--hair-2); padding-top: 0; gap: 0; }
.proof-item { flex: 1; padding: 18px 18px 0 0; max-width: none; }
.proof-item + .proof-item { padding-left: 22px; border-left: 1px solid var(--hair-2); }
.proof-item .k {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  display: block;
  margin-bottom: 5px;
}
.proof-item .v {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ivory);
  line-height: 1.3;
  display: block;
}

/* hero plate: framed shot + meter card */
.plate { position: relative; }
.shot {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 4.3;
  background: var(--panel);
  border: 1px solid var(--hair);
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 11, 7, 0.55), transparent 34%);
  pointer-events: none;
}
.shot .cap {
  position: absolute;
  left: 14px; bottom: 13px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.75);
}
.shot .frameno {
  position: absolute;
  right: 14px; top: 13px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.75);
}
.meter {
  position: absolute;
  right: -24px; bottom: 44px;
  width: 250px;
  background: var(--panel);
  border: 1px solid var(--hair-2);
  border-radius: 4px;
  padding: 18px;
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.6);
}
.meter .mt { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 13px; }
.meter .ml {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.meter .mv { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1; }
.meter .mv span { font-size: 0.8rem; color: var(--gold); font-weight: 600; }
.meter .scale {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #3a3322, var(--gold));
  position: relative;
  margin-bottom: 10px;
}
.meter .scale .mk {
  position: absolute;
  top: 50%; left: 88%;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--gold);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(201, 168, 71, 0.2);
}
.meter .mfoot {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: var(--graphite);
  display: flex;
  justify-content: space-between;
}

/* ── Stat line ── */
.statline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hair-2);
  border-bottom: 1px solid var(--hair-2);
}
.statline .s { padding: 26px 26px; }
.statline .s + .s { border-left: 1px solid var(--hair); }
.statline .v {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 7px;
}
.statline .v span { color: var(--gold); }
.statline .k {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ── Service cards (the system) ── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.svc {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.svc:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -26px rgba(201, 168, 71, 0.55);
}
.svc .fig {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--mute);
  position: absolute;
  top: 18px; right: 20px;
}
.svc .ic { width: 40px; height: 40px; margin-bottom: 18px; }
.svc .ic svg {
  width: 40px; height: 40px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc h3 { margin-bottom: 8px; font-size: 1.35rem; }
.svc p { font-size: 0.9rem; color: var(--graphite); margin-bottom: 16px; }
.svc ul { list-style: none; display: grid; gap: 8px; border-top: 1px solid var(--hair); padding-top: 14px; }
.svc ul li {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--graphite);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
}
.svc ul li::before { content: '[+]'; color: var(--gold); font-weight: 700; }

/* ── Split (operators, light band) ── */
.operate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 56px);
  align-items: center;
}
.operate-grid .duo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--panel);
}
.operate-grid .duo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.operate-grid .duo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 11, 7, 0.5), transparent 34%);
}
.operate-grid .duo .tag {
  position: absolute;
  left: 14px; bottom: 13px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.75);
}
.flist { list-style: none; margin: 24px 0 30px; display: grid; gap: 15px; }
.flist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  font-size: 0.98rem;
  color: var(--mute-d);
}
.flist .ck {
  font-family: var(--font-mono);
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.8rem;
  padding-top: 3px;
}
.flist b { color: var(--ink-on-light); font-weight: 600; }

/* market strip */
.market-strip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  line-height: 2.3;
  text-align: center;
  padding: 18px var(--pad);
}
.market-strip b { color: var(--graphite); font-weight: 400; }
.market-strip .sep { color: var(--gold); padding: 0 4px; }

/* ── Inspection contrast (light band spec table) ── */
.inspect {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--hair-d);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 44px;
  background: #FBF8F0;
}
.inspect-col { padding: clamp(26px, 3.4vw, 44px); }
.inspect-col + .inspect-col { border-left: 1px solid var(--hair-d); background: var(--ink-on-light); }
.inspect-col .col-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: var(--mute-d);
  display: flex; align-items: center; gap: 10px;
}
.inspect-col.after .col-tag { color: var(--gold-soft); }
.inspect-col ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.inspect-col li { padding-left: 30px; position: relative; color: var(--mute-d); font-size: 0.97rem; }
.inspect-col li::before {
  content: '[–]';
  font-family: var(--font-mono);
  position: absolute; left: 0; top: 1px;
  font-size: 0.78rem;
  color: var(--mute-d);
}
.inspect-col.after li { color: var(--ivory-2); }
.inspect-col.after li::before { content: '[+]'; color: var(--gold-soft); }

/* ── Segment cards (area grid) ── */
.seg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}
.seg-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px;
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.seg-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -22px rgba(201, 168, 71, 0.5);
}
.seg-card .code {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 3px;
  padding: 2px 7px;
  align-self: flex-start;
}
.seg-card h3 { font-size: 1.3rem; }
.seg-card p { color: var(--graphite); font-size: 0.9rem; flex: 1; }
.seg-card .go {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.band-light .seg-card { background: #FBF8F0; border-color: var(--hair-d); }
.band-light .seg-card h3 { color: var(--ink-on-light); }
.band-light .seg-card p { color: var(--mute-d); }
.band-light .seg-card .code { color: var(--gold-deep); border-color: var(--gold-deep); }
.band-light .seg-card .go { color: var(--gold-deep); }

/* ── Portfolio mosaic ── */
.folio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(190px, 13vw, 265px);
  gap: 12px;
  margin-top: 44px;
}
.folio-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--hair);
}
.folio-card.big { grid-column: span 2; grid-row: span 2; }
.folio-card.wide { grid-column: span 2; }
.folio-card .shot2 { position: absolute; inset: 0; }
.folio-card .shot2 img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.folio-card .shot2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 11, 7, 0.62), transparent 40%);
}
.folio-card .cap2 {
  position: absolute;
  left: 14px; bottom: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.75);
}
.folio-card.typecard {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 168, 71, 0.10), transparent 55%),
    var(--panel);
}
.folio-card.typecard .tname {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--ivory);
  text-align: center;
  line-height: 1.25;
}
.folio-card.typecard .cap2 { color: var(--mute); text-shadow: none; }

/* ── Results slots ── */
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.result-card { background: var(--panel); border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; }
.result-card .drop {
  aspect-ratio: 4 / 3;
  margin: 14px;
  border: 1.5px dashed var(--hair-2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  line-height: 2;
}
.result-card .cap { padding: 0 20px 20px; font-size: 0.9rem; color: var(--graphite); }
.result-card .cap b { display: block; margin-bottom: 2px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ivory); }

/* ── Reviews (light band, serif pull quotes) ── */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.quote-card {
  border: 1px solid var(--hair-d);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #FBF8F0;
}
.quote-card .qmark { color: var(--star); letter-spacing: 3px; font-size: 0.95rem; }
.quote-card blockquote {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-on-light);
  flex: 1;
}
.quote-card .who { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--hair-d); padding-top: 14px; }
.quote-card .who b { font-size: 0.92rem; color: var(--ink-on-light); }
.quote-card .who span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute-d);
}

/* ── Process steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.step { border-top: 2px solid var(--gold); padding-top: 18px; }
.step .n {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--gold);
}
.step h4 { font-size: 1.22rem; margin-bottom: 7px; }
.step p { font-size: 0.92rem; color: var(--graphite); }

/* ── FAQ ── */
.faq-list { max-width: min(1180px, 100%); margin-top: 40px; border-top: 1px solid var(--hair-2); }
.faq-item { border-bottom: 1px solid var(--hair-2); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--ivory);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.16rem;
  text-align: left;
  padding: 22px 44px 22px 4px;
  position: relative;
  min-height: 52px;
}
.faq-q::after {
  content: '+';
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { display: none; padding: 0 4px 22px; color: var(--graphite); max-width: 70ch; font-size: 0.98rem; }
.faq-item.open .faq-a { display: block; }

/* ── Audit / quote section ── */
.audit-sec { border-top: 1px solid var(--hair); }
.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 56px);
  align-items: start;
}
.audit-copy .lede, .audit-copy p { color: var(--graphite); margin: 16px 0; max-width: 48ch; }
.audit-copy .small-note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--mute);
}
.audit-steps { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
.audit-steps li { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; color: var(--graphite); font-size: 0.96rem; }
.audit-steps strong { color: var(--ivory); font-weight: 600; }
.band-light .audit-steps li { color: var(--mute-d); }
.band-light .audit-steps strong { color: var(--ink-on-light); }
.band-light .audit-steps .n { color: var(--gold-deep); }
.seg-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 1000px; }
.audit-steps .n {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  padding-top: 2px;
  width: auto; height: auto;
  border: none;
}

/* form frame (spec panel) */
.form-card {
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: 6px;
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.wo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.wo-head .no { color: var(--mute); }
.wo-head .tag { color: var(--gold); }
.wo-body { padding: 24px 22px; }

.f-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 20px 0 9px;
}
.f-label:first-of-type { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  color: var(--graphite);
  transition: all 0.15s ease;
}
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-input, .f-select {
  width: 100%;
  min-height: 50px;
  background: var(--paper);
  border: 1px solid var(--hair-2);
  border-radius: 3px;
  color: var(--ivory);
  font-family: var(--font-ui);
  font-size: 1rem;
  padding: 12px 15px;
}
.f-input::placeholder { color: var(--mute); }
.f-input:focus, .f-select:focus { outline: none; border-color: var(--gold); }
.f-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.form-step { display: none; }
.form-step.active { display: block; }
.form-nav { display: flex; gap: 12px; margin-top: 26px; }
.form-nav .btn-back { flex: 0 0 auto; min-width: 110px; }
.form-nav .btn-next, .form-nav .btn-submit { flex: 1; }
.f-error { color: #D98B7E; font-size: 0.85rem; margin-top: 12px; display: none; }
.f-error.show { display: block; }
.f-progress { display: flex; gap: 6px; margin-bottom: 20px; }
.f-progress i { height: 3px; flex: 1; background: var(--hair-2); border-radius: 2px; }
.f-progress i.on { background: var(--gold); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ── Page hero (interior) ── */
.page-hero { padding: clamp(44px, 6vw, 72px) 0 clamp(44px, 6vw, 64px); border-bottom: 1px solid var(--hair); }
.page-hero .ticket {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 26px;
  background: none;
  border: none;
  padding: 0;
}
.page-hero .ticket::after { content: ''; flex: 1; height: 1px; background: var(--hair-2); }
.page-hero h1 { max-width: 18ch; margin-bottom: 22px; }
.page-hero .lede { margin-bottom: 30px; }

/* prose ledger */
.prose-ledger { max-width: 760px; }
.prose-ledger p { color: var(--graphite); margin-bottom: 20px; }
.prose-ledger p strong { color: var(--ivory); font-weight: 600; }
.prose-ledger .pull {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--gold-soft);
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  margin: 34px 0;
  line-height: 1.35;
}

/* ledger rows (segment middles) */
.ledger { border-top: 1px solid var(--hair-2); }
.ledger-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--hair-2);
}
.ledger-row .num {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding-top: 6px;
}
.ledger-row h3 { font-size: 1.35rem; margin-bottom: 6px; }
.ledger-row p { color: var(--graphite); font-size: 0.96rem; max-width: 62ch; }
.band-light .ledger { border-color: var(--hair-d); }
.band-light .ledger-row { border-color: var(--hair-d); }
.band-light .ledger-row .num { color: var(--gold-deep); }
.band-light .ledger-row p { color: var(--mute-d); }

.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 56px); align-items: start; }

/* spec side-card (ceramic page) */
.workorder {
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: 6px;
  overflow: hidden;
}
.band-light .workorder { box-shadow: 0 26px 50px -30px rgba(20, 16, 10, 0.35); }
.wo-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 2px;
  border-bottom: 1px dashed var(--hair);
  font-size: 0.92rem;
}
.wo-line:last-of-type { border-bottom: 0; }
.wo-line .l { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); padding-top: 4px; }
.wo-line .r { color: var(--ivory); font-weight: 600; text-align: right; }
.wo-line .r.gold { color: var(--gold-soft); }
.wo-stamp {
  margin: 18px 0 6px;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 3px;
  padding: 7px 14px;
  transform: rotate(-2deg);
}
.wo-foot { padding: 0 22px 24px; }

/* ── CTA banner ── */
.cta-banner {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 15% 0%, rgba(201, 168, 71, 0.12), transparent 55%),
    var(--panel);
  padding: clamp(36px, 5vw, 64px);
  text-align: center;
}
.cta-banner h2 { max-width: 24ch; margin: 0 auto 16px; }
.cta-banner p { color: var(--graphite); max-width: 52ch; margin: 0 auto 30px; }

/* ── Footer (light interlude) ── */
footer { background: var(--ivory); color: var(--mute-d); padding: clamp(48px, 6vw, 72px) 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: clamp(24px, 3.4vw, 44px); margin-bottom: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--hair-d); }
.foot-brand .brand img { height: 38px; }
.foot-brand p { font-size: 0.9rem; margin-top: 12px; max-width: 34ch; color: var(--mute-d); }
.foot-col h4 {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-d);
  margin-bottom: 14px;
}
.foot-col a { display: block; padding: 5px 0; color: var(--mute-d); font-size: 0.9rem; }
.foot-col a:hover { color: var(--gold-deep); }
.foot-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-base .big {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink-on-light);
}
.foot-base .cp {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute-d);
}

/* ── Reveal ── */
.rv { opacity: 0; transform: translateY(20px); transition: 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .btn, .svc, .seg-card { transition: none; }
}

/* ============================================================
   Breakpoints
   ============================================================ */
@media (max-width: 1120px) {
  .nav-links { gap: 18px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .seg-grid, .result-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .folio-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .mast-detail { display: none; }
  .hero-grid, .operate-grid, .audit-grid, .two-up { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .plate { max-width: 470px; }
  .meter { right: 10px; bottom: -24px; }
  .inspect { grid-template-columns: 1fr; }
  .inspect-col + .inspect-col { border-left: 0; border-top: 1px solid var(--hair-d); }
  .statline { grid-template-columns: 1fr 1fr; }
  .statline .s:nth-child(odd) { border-left: 0; }
  .statline .s:nth-child(n+3) { border-top: 1px solid var(--hair); }
}
@media (max-width: 620px) {
  .seg-grid, .result-grid, .quote-grid, .svc-grid, .steps { grid-template-columns: 1fr; }
  .folio-grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .folio-card.big, .folio-card.wide { grid-column: auto; grid-row: auto; }
  .f-row { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { gap: 14px; }
  .cta-banner .btn { width: 100%; }
  .form-nav { flex-direction: column-reverse; }
  .form-nav .btn-back { width: 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .hero-proof { flex-direction: column; gap: 0; }
  .proof-item { padding: 14px 0 0; }
  .proof-item + .proof-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--hair); margin-top: 14px; padding-top: 14px; }
  .ledger-row { grid-template-columns: 1fr; gap: 8px; }
  .meter { position: static; width: 100%; margin-top: 14px; }
}

/* ============================================================
   Growth guide + article + calculator (v2.1 additions)
   ============================================================ */

/* guide cards (index + home teaser) */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.guide-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 18px 36px -26px rgba(201, 168, 71, 0.55); }
.guide-card .gtag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.guide-card h3 { font-size: 1.3rem; }
.guide-card p { color: var(--graphite); font-size: 0.92rem; flex: 1; }
.guide-card .gmeta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  border-top: 1px solid var(--hair);
  padding-top: 12px;
}
.guide-card.pillar { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 28px; background: radial-gradient(ellipse at 12% 0%, rgba(201,168,71,0.10), transparent 55%), var(--panel); }
.guide-card.pillar h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); max-width: 22ch; }
.guide-card.pillar .gtag { border: 1px solid var(--gold); border-radius: 3px; padding: 3px 8px; }
.guide-card.pillar > div:first-child { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.guide-card.pillar .gmeta { border: 0; padding: 0; }

/* article page */
.article-hero { padding: clamp(44px, 6vw, 64px) 0 clamp(28px, 4vw, 40px); }
.article-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); max-width: 24ch; margin: 18px 0; }
.article-meta {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.article-meta b { color: var(--gold); font-weight: 700; }
.article-body { max-width: 740px; padding-bottom: clamp(40px, 6vw, 64px); }
.article-body p { color: var(--graphite); margin: 0 0 20px; font-size: 1.02rem; }
.article-body p strong, .article-body li strong { color: var(--ivory); font-weight: 600; }
.article-body h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  margin: clamp(36px, 5vw, 52px) 0 18px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.article-body h2 .idx { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; flex: none; }
.article-body h3 { font-size: 1.22rem; margin: 28px 0 12px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; color: var(--graphite); }
.article-body li { margin-bottom: 10px; font-size: 1rem; }
.article-body li::marker { color: var(--gold); font-family: var(--font-mono); font-size: 0.85em; }
.article-body a { color: var(--gold-soft); border-bottom: 1px solid rgba(223, 192, 106, 0.4); transition: border-color 0.15s ease; }
.article-body a:hover { border-color: var(--gold-soft); }
.article-body .pull {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--gold-soft);
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  margin: 32px 0;
  line-height: 1.35;
}
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 0.92rem; }
.article-body table th {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hair-2);
}
.article-body table td { padding: 11px 12px; border-bottom: 1px solid var(--hair); color: var(--graphite); }
/* long-form: keep the article + rail as one centered reading column so the
   740px body doesn't strand the sidebar across a wide screen */
.article-wrap { display: grid; grid-template-columns: minmax(0, 740px) 300px; gap: clamp(36px, 5vw, 64px); align-items: start; justify-content: center; max-width: var(--readw); margin: 0 auto; }
.article-hero > .wrap, .guide-intro { max-width: var(--readw); margin-left: auto; margin-right: auto; }
.article-rail { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.rail-card { background: var(--panel); border: 1px solid var(--hair); border-radius: var(--radius); padding: 22px; }
.rail-card .rk {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}
.rail-card p { color: var(--graphite); font-size: 0.88rem; margin-bottom: 16px; }
.rail-card .btn { width: 100%; min-height: 46px; font-size: 0.88rem; }
.rail-card a.rl { display: block; padding: 8px 0; font-size: 0.9rem; color: var(--graphite); border-bottom: 1px solid var(--hair); }
.rail-card a.rl:last-child { border-bottom: 0; }
.rail-card a.rl:hover { color: var(--gold-soft); }

/* calculator */
.calc { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(30px, 4vw, 56px); align-items: center; margin-top: 44px; }
.calc-controls { display: flex; flex-direction: column; gap: 26px; }
.calc-field .cl {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 12px;
}
.calc-field .cl output { color: var(--ivory); font-size: 0.9rem; letter-spacing: 0.04em; }
.calc-field input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold) var(--fill, 50%), var(--hair-2) var(--fill, 50%));
  outline: none;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 168, 71, 0.18);
  cursor: pointer;
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--gold);
  cursor: pointer;
}
.calc-out {
  background: var(--panel);
  border: 1px solid var(--hair-2);
  border-radius: 6px;
  padding: clamp(26px, 3.4vw, 40px);
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, 0.55);
}
.calc-out .co-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}
.calc-out .co-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin-bottom: 18px;
}
.calc-out .co-num span { color: var(--gold); }
.calc-out .co-rows { border-top: 1px dashed var(--hair); }
.calc-out .co-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--hair);
  font-size: 0.9rem;
}
.calc-out .co-row .l { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.calc-out .co-row .r { color: var(--ivory); font-weight: 600; }
.calc-out .co-note { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); margin-top: 16px; }

@media (max-width: 1080px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .article-wrap { grid-template-columns: 1fr; }
  .article-rail { position: static; }
}
@media (max-width: 940px) {
  .calc { grid-template-columns: 1fr; }
  .guide-card.pillar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .guide-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Wide screens — spread the tighter grids instead of stranding
   dead space beside them (site runs full-bleed, no global cap)
   ============================================================ */
@media (min-width: 1500px) {
  .seg-grid-2 { grid-template-columns: repeat(4, 1fr); max-width: none; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* wide tables scroll inside their own container (never the page) */
.tbl-scroll { overflow-x: auto; margin: 0 0 22px; -webkit-overflow-scrolling: touch; }
.tbl-scroll table { margin: 0; min-width: 480px; }
.article-wrap > * { min-width: 0; }

/* ============================================================
   v5 — sales division (careers application textarea)
   ============================================================ */
.f-textarea {
  width: 100%;
  min-height: 110px;
  background: var(--paper);
  border: 1px solid var(--hair-2);
  border-radius: 3px;
  color: var(--ivory);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.5;
  padding: 12px 15px;
  resize: vertical;
}
.f-textarea::placeholder { color: var(--mute); }
.f-textarea:focus { outline: none; border-color: var(--gold); }

/* ============================================================
   v4 "Blend" — photography layer (B hero + A bands/ticker + C proof)
   ============================================================ */

/* logo sizing per surface (art is transparent-background, no blend tricks) */
.drawer-top .brand img { height: 32px; }
@media (max-width: 400px) {
  .brand img { height: 29px; }
  .foot-brand .brand img { height: 33px; }
}

/* film grain (scoped, not site-wide) */
.grain { position: relative; }
.grain::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* gold gradient on hero italics */
.gold-grad { background: linear-gradient(105deg, #DFC06A 15%, #F4E3AE 45%, #C9A847 78%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── B: murdered-out hero ── */
.mo-hero { position: relative; overflow: hidden; padding: 0; }
.mo-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; min-height: 82vh; }
.mo-copy { position: relative; padding: clamp(56px, 7vw, 100px) 0; }
.mo-copy .wm { position: absolute; left: -30px; top: 30px; width: 340px; opacity: 0.05; mix-blend-mode: screen; pointer-events: none; }
.mo-copy h1 { font-size: clamp(2.9rem, 5.6vw, 4.9rem); margin: 20px 0 24px; max-width: 14ch; }
/* hero photo bleeds past the wrap padding to the screen edge */
.mo-plate { position: relative; height: 100%; min-height: 560px; margin-right: calc(-1 * var(--pad)); }
.mo-plate img.car { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.mo-plate::before { content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, #0D0B07 0%, rgba(13,11,7,0.6) 18%, transparent 45%),
              linear-gradient(to top, #0D0B07 2%, transparent 30%),
              linear-gradient(to bottom, #0D0B07 0%, transparent 22%); }
.mo-plate .frameno { position: absolute; top: 34px; right: 34px; z-index: 4; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; color: rgba(242,237,224,0.8); }
.mo-plate .cap { position: absolute; right: 34px; bottom: 30px; z-index: 4; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(242,237,224,0.55); text-align: right; line-height: 1.8; }
.mo-plate .meter { position: absolute; left: -20px; bottom: 74px; z-index: 5; background: rgba(23,19,11,0.9); backdrop-filter: blur(6px); }

/* ── A: marquee ticker ── */
.tick { overflow: hidden; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--panel); padding: 13px 0; }
.tick-track { display: flex; gap: 44px; width: max-content; animation: tick 36s linear infinite; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.tick-track b { color: var(--gold); font-weight: 700; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ── A: photo divider band ── */
.photo-band { position: relative; min-height: 46vh; display: flex; align-items: center; overflow: hidden; padding: clamp(60px, 8vw, 100px) 0; }
.photo-band img.bg2 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.photo-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,11,7,0.9) 8%, rgba(13,11,7,0.45) 55%, rgba(13,11,7,0.2)); }
.photo-band .wrap { position: relative; z-index: 4; }
.photo-band .bigpull { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.9rem); color: var(--ivory); max-width: 22ch; line-height: 1.25; text-shadow: 0 2px 24px rgba(0,0,0,0.6); }
.photo-band .src { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); margin-top: 18px; display: block; }

/* ── C: proof stamp on photos ── */
.ph-stamp { position: absolute; left: 18px; top: 16px; z-index: 4; font-family: var(--font-mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; border: 1.5px solid rgba(255,255,255,0.85); border-radius: 3px; padding: 7px 13px; transform: rotate(-2deg); background: rgba(13,11,7,0.35); backdrop-filter: blur(3px); }

/* ── segment page hero plates ── */
.page-hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.seg-plate { position: relative; min-height: 380px; height: 100%; border-radius: var(--radius); overflow: hidden; }
.seg-plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seg-plate::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,11,7,0.6), transparent 40%), linear-gradient(90deg, rgba(13,11,7,0.35), transparent 30%); }
.seg-plate .cap { position: absolute; left: 16px; bottom: 13px; z-index: 2; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.8); }
.seg-plate .frameno { position: absolute; right: 16px; top: 13px; z-index: 2; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.8); }

/* gloss sweep on gold buttons */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::before { content: ''; position: absolute; top: 0; bottom: 0; left: -80%; width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg); transition: left 0.55s ease; pointer-events: none; }
.btn-gold:hover::before { left: 130%; }

@media (prefers-reduced-motion: reduce) {
  .tick-track { animation: none; }
  .btn-gold::before { display: none; }
}
@media (max-width: 940px) {
  .mo-grid { grid-template-columns: 1fr; min-height: 0; }
  .mo-plate { min-height: 420px; order: -1; margin: 0 calc(-1 * var(--pad)); }
  .mo-plate::before { background: linear-gradient(to bottom, #0D0B07 0%, transparent 20%), linear-gradient(to top, #0D0B07 6%, transparent 42%); }
  .mo-plate .meter { left: var(--pad); right: var(--pad); bottom: 20px; width: auto; }
  .mo-copy { padding-top: 44px; }
  .mo-copy .wm { display: none; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .seg-plate { min-height: 300px; }
}
