@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-var-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-var-italic.woff2) format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Archivo-var.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/IBMPlexMono-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/IBMPlexMono-500-normal.woff2) format('woff2');
}

/* ==========================================================================
   THE INTENTIONAL BUILDER — design system
   Palette: brand navy #0B1D36 / drafting paper / brand gold #D4A247
   Type: Playfair Display (display) · Archivo (text/UI) · IBM Plex Mono (annotations)
   ========================================================================== */

:root {
  --ink: #0b1d36;
  --ink-2: #102544;
  --ink-3: #16304f;
  --paper: #f4f1e8;
  --paper-2: #eae6da;
  --brass: #d4a247;
  --brass-bright: #e4b65f;
  --paper-dim: #a2adc2;
  --ink-dim: #59647a;
  --line-ink: rgba(11, 29, 54, 0.16);
  --line-paper: rgba(244, 241, 232, 0.14);
  --font-display: 'Playfair Display', georgia, serif;
  --font-text: 'Archivo', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --nav-h: 4.5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--brass); color: var(--ink); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brass); color: var(--ink); padding: 0.75rem 1.25rem;
  font-family: var(--font-mono); text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- layout ---------- */

.container { width: min(74rem, 100% - 3rem); margin-inline: auto; }
.container--wide { width: min(86rem, 100% - 3rem); }
.container--narrow { width: min(56rem, 100% - 3rem); }

.section { position: relative; padding: clamp(5rem, 11vw, 9.5rem) 0; }
.section--paper { background: var(--paper); color: var(--ink); }
.section--ink { background: var(--ink); color: var(--paper); }

section { scroll-margin-top: var(--nav-h); }

/* ---------- typography ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: 1.75rem;
  text-wrap: balance;
}
.display em, .hero__title em, .final__title em, .motto__line em {
  font-style: italic;
  font-weight: 500;
  color: var(--brass);
}
.section--paper .display em { color: #8f6c22; }

.lede {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.55;
  max-width: 44rem;
  color: var(--ink);
}
.lede--onink { color: var(--paper); }

.eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500;
  color: #8f6c22;
  margin-bottom: 2.25rem;
}
.eyebrow--onink { color: var(--brass-bright); }
.eyebrow__rule { display: inline-block; width: 3rem; height: 1px; background: currentColor; opacity: 0.6; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  text-decoration: none; cursor: pointer;
  padding: 1rem 1.75rem; border: 1px solid transparent;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 1.2rem 2.4rem; font-size: 0.8125rem; }

.btn--brass { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.btn--brass:hover { background: var(--brass-bright); border-color: var(--brass-bright); }

.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(244, 241, 232, 0.35); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass-bright); }

.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink:hover { background: var(--ink-3); }

.btn--ghost-dark { color: var(--ink); border-color: rgba(11, 29, 54, 0.3); }
.btn--ghost-dark:hover { border-color: var(--ink); color: var(--ink); }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- nav ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem;
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
  color: var(--paper);
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.nav.is-scrolled {
  background: rgba(11, 29, 54, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(244, 241, 232, 0.08);
}
.nav__brand {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--paper); text-decoration: none; margin-right: auto;
}
.nav__mark { width: 2rem; height: 2rem; color: var(--brass); flex: none; }
.nav__wordmark {
  font-family: var(--font-display); font-weight: 550; font-size: 1.05rem; letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav__links { display: flex; gap: 1.9rem; }
.nav__links a {
  color: var(--paper); text-decoration: none;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  font-family: var(--font-mono);
  opacity: 0.75; transition: opacity 0.2s, color 0.2s;
}
.nav__links a:hover { opacity: 1; color: var(--brass-bright); }
.nav__cta { padding: 0.7rem 1.3rem; }
.nav__burger { display: none; }

@media (max-width: 1080px) {
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: center; justify-content: center; gap: 2.2rem;
    background: rgba(11, 29, 54, 0.97);
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
  }
  .nav__links a { font-size: 1.05rem; }
  .nav.menu-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__cta { display: none; }
  .nav__burger {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 0.5rem;
  }
  .nav__burger span { width: 24px; height: 2px; background: var(--paper); transition: transform 0.3s, opacity 0.3s; }
  .nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 480px) { .nav__wordmark { font-size: 0.95rem; } }

/* ---------- hero ---------- */

.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background: radial-gradient(115% 90% at 70% 20%, #11294e 0%, var(--ink) 58%);
  color: var(--paper); overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
/* Zoom-out built to never re-rasterize: the image is laid out 7% oversized
   and the animation only ever scales it DOWN (1 → 1/1.07), so both engines
   raster the layer once at full layout resolution and every frame is pure
   GPU minification. Scaling up instead (1.07 → 1) makes Chrome re-raster
   mid-animation for sharpness — each re-raster is a visible hitch.
   The -4.34%/-3.15% offsets place the oversized box so the framing is
   pixel-identical to a 100% image at both ends of the travel.
   Keep this element filter-free: Firefox runs transform animations on the
   main thread (choppy) when the animated element also has a CSS filter. */
.hero__bg img {
  position: absolute;
  width: 107%; height: 107%;
  max-width: none;
  left: -4.34%; top: -3.15%;
  object-fit: cover; object-position: 66% 42%;
  transform-origin: 62% 45%;
  will-change: transform;
  animation: heroSettle 16s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes heroSettle { from { transform: scale(1); } to { transform: scale(0.93458); } }
/* Firefox: Gecko declines to run transform animations of viewport-sized
   layers on its compositor (async-animation size limits), so the zoom falls
   back to the main thread and judders no matter how it's authored. Serve
   Firefox the finished frame with a soft fade-in instead — opacity animates
   on Gecko's compositor at any layer size. Blink/WebKit keep the zoom. */
@supports (-moz-appearance: none) {
  .hero__bg img {
    animation: heroFadeIn 1.8s ease-out both;
    transform: scale(0.93458);
  }
}
@keyframes heroFadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero__bg img { animation: none; transform: scale(0.93458); }
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(97deg, rgba(8, 17, 33, 0.87) 0%, rgba(8, 17, 33, 0.62) 38%, rgba(8, 17, 33, 0.18) 66%, rgba(8, 17, 33, 0.3) 100%),
    linear-gradient(rgba(8, 17, 33, 0.55) 0%, rgba(8, 17, 33, 0) 26%, rgba(8, 17, 33, 0) 72%, rgba(8, 17, 33, 0.5) 100%);
}
@media (max-width: 900px) {
  .hero__bg img { object-position: 70% 45%; }
  .hero__scrim {
    background:
      linear-gradient(rgba(8, 17, 33, 0.82) 0%, rgba(8, 17, 33, 0.55) 45%, rgba(8, 17, 33, 0.35) 70%, rgba(8, 17, 33, 0.6) 100%);
  }
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 241, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 232, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(80% 80% at 50% 45%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 45%, black 30%, transparent 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: min(74rem, 100% - 3rem); margin-inline: auto;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
  max-width: 74rem;
}
.hero__eyebrow { color: var(--brass-bright); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.9rem, 8.2vw, 6.8rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 1.9rem;
}
.hero__line { display: block; overflow: hidden; }
.hero__line > * { display: inline; }
.hero__sub {
  max-width: 37rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: #c3ccdc;
  margin-bottom: 2.6rem;
}
.hero__sub strong { color: var(--paper); font-weight: 600; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__annot {
  position: absolute; bottom: 2rem; z-index: 2;
  color: rgba(244, 241, 232, 0.4);
}
.hero__annot--left { left: clamp(1.25rem, 3vw, 2.5rem); }
.hero__annot--right { right: clamp(1.25rem, 3vw, 2.5rem); }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: rgba(244, 241, 232, 0.55); text-decoration: none;
}
.hero__scroll-line { width: 1px; height: 3rem; background: linear-gradient(var(--brass), transparent); animation: scrollPulse 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes scrollPulse { 0%, 100% { transform: scaleY(0.4); opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }
@media (max-width: 900px) { .hero__annot { display: none; } }

/* ---------- shared: framed images, callouts ---------- */

.frame-img { position: relative; border: 1px solid var(--line-ink); padding: 0.75rem; background: var(--paper); }
.frame-img--onink { border-color: var(--line-paper); background: var(--ink-2); }
.frame-img img { filter: saturate(0.94); }
/* clips the scroll-parallax travel so the image never slides over the mat or caption */
.frame-img__clip { overflow: hidden; }
/* open reservation for a photo not yet supplied (about page portrait) */
.portrait-slot {
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(0deg, rgba(244, 241, 232, 0.05) 0 1px, transparent 1px 2.5rem),
    repeating-linear-gradient(90deg, rgba(244, 241, 232, 0.05) 0 1px, transparent 1px 2.5rem),
    var(--ink-3);
  border: 1px dashed rgba(244, 241, 232, 0.28);
  color: var(--paper-dim);
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  line-height: 2;
}
.frame-img__cap {
  display: block; padding-top: 0.8rem; color: var(--ink-dim);
  font-size: 0.625rem;
}
.frame-img__cap--onink { color: var(--paper-dim); }

.callout {
  border-left: 2px solid var(--brass);
  padding: 0.4rem 0 0.4rem 1.6rem;
  margin: 2.4rem 0 0;
}
.callout p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 560; line-height: 1.3;
}
.callout em { font-style: italic; color: #8f6c22; }
.callout--onink em { color: var(--brass-bright); }
.callout cite { display: block; margin-top: 0.9rem; font-style: normal; color: var(--ink-dim); font-size: 0.625rem; }
.callout--onink cite { color: var(--paper-dim); }
.callout--center {
  border-left: 0; border-top: 2px solid var(--brass);
  max-width: 46rem; margin: 4.5rem auto 0; padding: 2rem 0 0; text-align: center;
}

/* ---------- 01 dilemma ---------- */

.dilemma__cols {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start; margin-top: 1.5rem;
}
.dilemma__copy p + p { margin-top: 1.2rem; }
.dilemma__copy .lede { margin-bottom: 1.4rem; }
.dilemma__truths { list-style: none; margin: 2rem 0; border-top: 1px solid var(--line-ink); }
.dilemma__truths li {
  display: flex; align-items: baseline; gap: 1.2rem;
  padding: 1.05rem 0.25rem; border-bottom: 1px solid var(--line-ink);
  font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 560;
}
.dilemma__num { color: #8f6c22; font-size: 0.6875rem; }
.dilemma__media { position: sticky; top: calc(var(--nav-h) + 2rem); }
@media (max-width: 900px) {
  .dilemma__cols { grid-template-columns: 1fr; }
  .dilemma__media { position: static; order: -1; }
}

/* ---------- 02 motto ---------- */

.motto { overflow: hidden; }
.motto__stack { display: flex; flex-direction: column; gap: clamp(0.4rem, 1.5vw, 1.2rem); margin: 2rem 0 3rem; }
.motto__line {
  font-family: var(--font-display);
  font-weight: 520;
  font-size: clamp(2rem, 6.4vw, 5.4rem);
  line-height: 1.04; letter-spacing: -0.02em;
  text-wrap: balance;
}
.motto__line--outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 232, 0.55);
}
.motto__note { max-width: 38rem; color: var(--paper-dim); font-size: 1.05rem; }
.motto__note em { color: var(--brass-bright); font-style: italic; }

/* ---------- 03 framework / cbos ---------- */

.framework__lede { margin-bottom: 3.5rem; }
.cbos {
  display: grid; grid-template-columns: minmax(20rem, 26rem) 1fr;
  border: 1px solid var(--line-ink); background: var(--paper);
}
.cbos__list { display: flex; flex-direction: column; border-right: 1px solid var(--line-ink); }
.cbos__item {
  display: flex; align-items: center; gap: 1.1rem; text-align: left;
  padding: 1.15rem 1.4rem; background: none; border: 0; border-bottom: 1px solid var(--line-ink);
  cursor: pointer; color: var(--ink);
  font-family: var(--font-text); font-size: 0.95rem; font-weight: 500;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.cbos__item:last-child { border-bottom: 0; }
.cbos__item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--brass); transform: scaleY(0); transition: transform 0.25s var(--ease-out);
}
.cbos__item:hover { background: var(--paper-2); }
.cbos__item.is-active { background: var(--ink); color: var(--paper); }
.cbos__item.is-active::before { transform: scaleY(1); }
.cbos__num { color: #8f6c22; font-size: 0.625rem; }
.cbos__item.is-active .cbos__num { color: var(--brass-bright); }

.cbos__detail { position: relative; padding: clamp(1.8rem, 3.5vw, 3.2rem); min-height: 22rem; }
.cbos__panel h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; margin: 0.9rem 0 1.1rem;
}
.cbos__panel p + p { margin-top: 1rem; }
.cbos__stage { color: #8f6c22; }
.cbos__protect {
  margin-top: 1.6rem; padding: 1.05rem 1.2rem;
  background: var(--paper-2); border-left: 2px solid var(--brass);
  font-size: 0.95rem;
}
.cbos__protect .mono { color: #8f6c22; margin-right: 0.5rem; }

@media (max-width: 900px) {
  .cbos { grid-template-columns: 1fr; }
  .cbos__list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line-ink); scrollbar-width: none; }
  .cbos__list::-webkit-scrollbar { display: none; }
  .cbos__item { flex: none; border-bottom: 0; border-right: 1px solid var(--line-ink); padding: 1rem 1.1rem; }
  .cbos__item .cbos__name { white-space: nowrap; font-size: 0.85rem; }
  .cbos__item::before { width: 100%; height: 3px; top: auto; }
  .cbos__detail { min-height: 0; }
}

/* ---------- 04 book ---------- */

.book__cols {
  display: grid; grid-template-columns: 0.9fr 1.25fr;
  gap: clamp(3rem, 6vw, 6rem); align-items: center;
}
.book__showcase { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.book__annot { color: rgba(244, 241, 232, 0.66); text-align: center; font-size: 0.625rem; }

.book3d { perspective: 1400px; }
.book3d__inner {
  position: relative; width: min(19rem, 68vw); aspect-ratio: 0.68;
  transform-style: preserve-3d;
  transform: rotateY(-24deg) rotateX(4deg);
  transition: transform 0.6s var(--ease-out);
}
.book3d:hover .book3d__inner { transform: rotateY(-12deg) rotateX(2deg); }
.book3d__cover {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, #142c50 0%, var(--ink) 55%, #091830 100%);
  border: 1px solid rgba(228, 182, 95, 0.35);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2.2rem 1.6rem;
  transform: translateZ(1.55rem);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
}
.book3d__cover-rule { width: 2.6rem; height: 1px; background: var(--brass); margin-bottom: 1.1rem; }
.book3d__kicker { color: var(--brass-bright); font-size: 0.5rem; letter-spacing: 0.3em; margin-bottom: 1.4rem; }
.book3d__title {
  font-family: var(--font-display); font-variation-settings: 'opsz' 144;
  font-size: clamp(1.7rem, 4.5vw, 2.3rem); font-weight: 550; line-height: 1.05;
  color: var(--paper); margin-bottom: 1rem;
}
.book3d__subtitle { font-size: 0.66rem; line-height: 1.5; color: var(--paper-dim); max-width: 13rem; letter-spacing: 0.04em; }
.book3d__mark { width: 2.1rem; height: 2.1rem; color: var(--brass); margin-top: auto; margin-bottom: 0.9rem; }
.book3d__author { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--paper); }
.book3d__spine {
  position: absolute; top: 0; bottom: 0; left: 0; width: 3.1rem;
  background: linear-gradient(#10233f, #071120);
  border: 1px solid rgba(228, 182, 95, 0.25);
  transform: rotateY(-90deg) translateZ(1.55rem);
  display: flex; align-items: center; justify-content: center;
}
.book3d__spine span {
  writing-mode: vertical-rl; font-family: var(--font-mono);
  font-size: 0.55rem; letter-spacing: 0.3em; color: var(--brass-bright);
}
.book3d__pages {
  position: absolute; top: 0.35rem; bottom: 0.35rem; right: 0; width: 3rem;
  background: repeating-linear-gradient(90deg, #d8d0bd 0 2px, #c4bca8 2px 4px);
  transform: rotateY(90deg) translateZ(calc(100% - 1.5rem));
  transform-origin: right;
}

.book__installhead { color: var(--brass-bright); margin: 2.2rem 0 1.3rem; }
.install-grid {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px;
  background: var(--line-paper); border: 1px solid var(--line-paper);
}
.install-grid li { background: var(--ink); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.3rem; }
.install-grid strong { font-size: 0.92rem; font-weight: 600; color: var(--paper); }
.install-grid span { font-size: 0.8rem; line-height: 1.45; color: var(--paper-dim); }
.book__ctas { display: flex; align-items: center; gap: 1.4rem; margin-top: 2.4rem; flex-wrap: wrap; }
.book__formats { color: var(--paper-dim); }

@media (max-width: 1080px) { .install-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .book__cols { grid-template-columns: 1fr; }
  .book__showcase { order: -1; }
}
@media (max-width: 560px) { .install-grid { grid-template-columns: 1fr; } }

/* ---------- 05 assessment ---------- */

.assess .display { margin-bottom: 1.4rem; }
.assess .lede { margin-bottom: 3rem; }
.assess__card {
  border: 1px solid var(--line-ink); background: var(--paper);
  box-shadow: 0 30px 60px rgba(11, 29, 54, 0.08);
}
.assess__progressbar { height: 3px; background: var(--paper-2); }
.assess__progressfill { height: 100%; width: 0%; background: var(--brass); transition: width 0.4s var(--ease-out); }
.assess__body, .assess__result { padding: clamp(1.8rem, 4vw, 3.2rem); }
.assess__count { color: var(--ink-dim); margin-bottom: 0.4rem; }
.assess__area { color: #8f6c22; margin-bottom: 1.4rem; }
.assess__q {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.2;
  min-height: 3.2em; margin-bottom: 2rem; text-wrap: balance;
}
.assess__scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6rem; }
.assess__opt {
  border: 1px solid var(--line-ink); background: var(--paper);
  padding: 1rem 0.4rem 0.85rem; cursor: pointer; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.assess__opt span { font-family: var(--font-display); font-size: 1.5rem; font-weight: 550; line-height: 1; }
.assess__opt small { font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); min-height: 1.5em; }
.assess__opt:hover { border-color: var(--brass); background: #fbf9f2; transform: translateY(-2px); }
.assess__opt.is-picked { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.assess__back { background: none; border: 0; color: var(--ink-dim); cursor: pointer; margin-top: 1.6rem; padding: 0.4rem 0; }
.assess__back:hover { color: var(--ink); }

.assess__result { text-align: center; }
.assess__score { font-family: var(--font-display); font-variation-settings: 'opsz' 144; font-size: clamp(4rem, 10vw, 6.5rem); font-weight: 550; line-height: 1; margin: 0.6rem 0 1.6rem; }
.assess__outof { font-size: 0.35em; color: var(--ink-dim); margin-left: 0.3rem; }
.assess__bands { display: flex; max-width: 30rem; margin: 0 auto 2.2rem; border: 1px solid var(--line-ink); }
.assess__band { flex: 1; padding: 0.7rem 0.4rem; font-size: 0.72rem; color: var(--ink-dim); display: flex; flex-direction: column; gap: 0.2rem; border-right: 1px solid var(--line-ink); }
.assess__band:last-child { border-right: 0; }
.assess__band .mono { font-size: 0.6rem; }
.assess__band.is-hit { background: var(--ink); color: var(--paper); }
.assess__band.is-hit .mono { color: var(--brass-bright); }
.assess__verdict { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 520; margin-bottom: 0.9rem; text-wrap: balance; }
.assess__explain { max-width: 34rem; margin: 0 auto 2rem; color: #414b5e; }
.assess__areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.9rem; max-width: 34rem; margin: 0 auto 2.4rem; }
.assess__areabar { display: flex; flex-direction: column; gap: 0.4rem; align-items: center; }
.assess__areabar .mono { font-size: 0.52rem; color: var(--ink-dim); }
.assess__areatrack { width: 100%; height: 4.4rem; background: var(--paper-2); position: relative; }
.assess__areafill { position: absolute; bottom: 0; left: 0; right: 0; background: var(--brass); transition: height 0.8s var(--ease-out); }
.assess__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.assess__foot { text-align: center; margin-top: 1.6rem; color: var(--ink-dim); font-size: 0.6rem; }
@media (max-width: 560px) {
  .assess__opt small { display: none; }
  .assess__areas { grid-template-columns: repeat(5, 1fr); gap: 0.4rem; }
}

/* ---------- 06 author ---------- */

.author__cols { display: grid; grid-template-columns: 0.85fr 1.3fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.author__p { margin-top: 1.2rem; color: #c3ccdc; }
.author__roles { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 2rem 0; }
.author__roles li {
  padding: 0.55rem 0.95rem; border: 1px solid var(--line-paper);
  color: var(--paper-dim); font-size: 0.62rem;
}
.author__belief { margin-top: 2.2rem; font-size: 1.15rem; color: var(--paper); }
.author__belief em { font-family: var(--font-display); font-style: italic; color: var(--brass-bright); font-size: 1.2em; }
@media (max-width: 900px) {
  .author__cols { grid-template-columns: 1fr; }
  .author__media { max-width: 26rem; }
}

/* ---------- 07 work ---------- */

.work .lede { margin-bottom: 3.5rem; }
.work__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.work-card {
  border: 1px solid var(--line-ink); background: var(--paper); color: var(--ink);
  padding: 2.2rem 1.9rem; display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(11, 29, 54, 0.12); }
.work-card--feature { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.work-card__step { color: #8f6c22; }
.work-card--feature .work-card__step { color: var(--brass-bright); }
.work-card h3 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 520; }
.work-card p { font-size: 0.95rem; }
.work-card--feature p { color: #c3ccdc; }
.work-card__list { list-style: none; margin: 0.4rem 0 1.4rem; flex: 1; }
.work-card__list li { padding: 0.55rem 0; border-bottom: 1px solid var(--line-ink); font-size: 0.88rem; }
.work-card--feature .work-card__list li { border-color: var(--line-paper); color: var(--paper); }
.work-card__list li:last-child { border-bottom: 0; }
.work-card .btn { align-self: flex-start; }
@media (max-width: 980px) { .work__cards { grid-template-columns: 1fr; max-width: 34rem; } }

/* ---------- final cta ---------- */

.final { position: relative; overflow: hidden; text-align: center; }
.final__bg { position: absolute; inset: 0; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; opacity: 0.42; filter: saturate(0.92); }
.final__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(11, 29, 54, 0.92) 0%, rgba(11, 29, 54, 0.55) 45%, rgba(11, 29, 54, 0.78) 100%);
}
.final__inner { position: relative; z-index: 2; }
.final__kicker { color: var(--brass-bright); margin-bottom: 1.6rem; }
.final__title {
  font-family: var(--font-display); font-variation-settings: 'opsz' 144;
  font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 520; line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
}
.final__title span { display: inline-block; }
.final__sub { max-width: 36rem; margin: 0 auto 2.8rem; color: var(--paper-dim); font-size: 1.1rem; }
.final__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */

.footer { background: #081527; color: var(--paper); padding: 4rem 0 3rem; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: start; }
.footer__brand { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__brand > p { font-family: var(--font-display); font-size: 1.2rem; font-weight: 550; }
.footer__motto { color: var(--brass); font-size: 0.6rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__nav a { color: var(--paper-dim); text-decoration: none; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer__nav a:hover { color: var(--brass-bright); }
.footer__legal { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid var(--line-paper); color: #93a0b6; font-size: 0.6rem; }
.footer__built {
  grid-column: 1 / -1;
  display: inline-flex; align-items: center; gap: 0.9rem;
  justify-self: start;
  margin-top: 0.4rem;
  text-decoration: none;
  color: #93a0b6;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.footer__built img { width: 140px; height: auto; display: block; opacity: 0.85; transition: opacity 0.25s var(--ease-out); }
.footer__built:hover { color: var(--paper-dim); }
.footer__built:hover img { opacity: 1; }
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; } }

/* ---------- reveal helpers (GSAP adds .is-inview via classes; initial states set only when JS present) ---------- */

.js .reveal-lines .rl-line { display: block; overflow: hidden; }
.js .reveal-lines .rl-inner { display: block; transform: translateY(110%); }

/* paper grain */
.section--paper::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0 0.07 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--paper > .container { position: relative; z-index: 1; }

/* ---------- interior page hero ---------- */

.page-hero {
  position: relative; background: radial-gradient(115% 90% at 70% 10%, #11294e 0%, var(--ink) 60%);
  color: var(--paper); padding: calc(var(--nav-h) + clamp(3.5rem, 8vw, 6.5rem)) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.page-hero .hero__grid { position: absolute; inset: 0; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero .display { margin-bottom: 1.2rem; }
.page-hero__sub { max-width: 42rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #c3ccdc; }

/* ---------- brand logo in nav/footer ---------- */

.nav__logo { height: 2.4rem; width: auto; flex: none; }
.footer__logo { height: 3.4rem; width: auto; align-self: flex-start; margin-bottom: 0.4rem; }
.footer__cred { color: var(--brass-bright); font-size: 0.66rem; }

/* ---------- resource library ---------- */

.res-note {
  display: flex; gap: 0.9rem; align-items: baseline;
  border: 1px solid var(--line-ink); background: var(--paper-2);
  padding: 1.1rem 1.3rem; margin: 0 0 3rem; font-size: 0.95rem;
}
.res-note .mono { color: #8f6c22; flex: none; }
.res-group { margin-top: 3.5rem; }
.res-group__head {
  display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.4rem;
  border-bottom: 2px solid var(--ink); padding-bottom: 0.7rem;
}
.res-group__head h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 520; }
.res-group__head .mono { color: #8f6c22; }
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.res-card { background: var(--paper); border: 1px solid var(--line-ink); padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; transition: border-color 0.2s, transform 0.2s; }
.res-card:hover { background: #fbf9f2; border-color: var(--brass); transform: translateY(-2px); }
.res-card__id { color: #8f6c22; font-size: 0.6rem; }
.res-card__title { font-weight: 600; font-size: 0.98rem; line-height: 1.35; }
.res-card__desc { font-size: 0.85rem; line-height: 1.5; color: #414b5e; flex: 1; }
.res-card__dl {
  align-self: flex-start; font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brass);
  padding-bottom: 0.15rem;
}
.res-card__dl:hover { color: #8f6c22; }
@media (max-width: 980px) { .res-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .res-grid { grid-template-columns: 1fr; } .res-note { flex-direction: column; gap: 0.5rem; } }

/* ---------- topic / format cards (speaking) ---------- */

.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; }
.topic-card {
  border: 1px solid var(--line-ink); background: var(--paper); padding: 2rem 1.9rem;
  border-top: 3px solid var(--brass);
}
.topic-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 520; margin: 0.5rem 0 0.8rem; }
.topic-card p { font-size: 0.95rem; }
.topic-card .mono { color: #8f6c22; }
@media (max-width: 800px) { .topic-grid { grid-template-columns: 1fr; } }

/* ---------- forms (contact) ---------- */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form__field { display: flex; flex-direction: column; gap: 0.45rem; }
.form__field--full { grid-column: 1 / -1; }
.form__field label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: #414b5e; }
.form__field input, .form__field select, .form__field textarea {
  font-family: var(--font-text); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid rgba(11, 29, 54, 0.3);
  padding: 0.85rem 1rem; border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%230B1D36'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.form__field textarea { min-height: 8.5rem; resize: vertical; }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--brass); }
.form__submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.form__note { font-size: 0.82rem; color: #59647a; }
.form__success {
  grid-column: 1 / -1; border-left: 2px solid var(--brass); background: var(--paper-2);
  padding: 1.4rem 1.6rem; font-size: 1rem;
}
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- assessment banner / cross-links ---------- */

.xband {
  border: 1px solid var(--line-ink); background: var(--ink); color: var(--paper);
  padding: clamp(2rem, 4vw, 3rem); display: flex; align-items: center; gap: 2rem;
  justify-content: space-between; flex-wrap: wrap; margin-top: 4rem;
}
.xband h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 520; max-width: 30rem; }
.xband p { color: var(--paper-dim); font-size: 0.95rem; max-width: 30rem; }

/* ---------- nav current page ---------- */

.nav__links a[aria-current="page"] { opacity: 1; color: var(--brass-bright); }

/* two-col who-for lists */
.who-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; }
.who-col { border: 1px solid var(--line-ink); padding: 1.9rem 1.8rem; background: var(--paper); }
.who-col--not { background: var(--paper-2); }
.who-col h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 520; margin-bottom: 1rem; }
.who-col ul { list-style: none; }
.who-col li { padding: 0.6rem 0; border-bottom: 1px solid var(--line-ink); font-size: 0.95rem; }
.who-col li:last-child { border-bottom: 0; }
@media (max-width: 800px) { .who-cols { grid-template-columns: 1fr; } }

/* ---------- resource library gate ----------
   Courtesy gate on /resources: the library is included with the book and
   with coaching; the assessment above it stays free. */

.gate {
  max-width: 46rem;
  margin-inline: auto;
  border: 1px solid var(--line-ink);
  background: var(--paper-2);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
}
.gate::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
}
.gate .eyebrow { margin-bottom: 1.25rem; }
.gate__title {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
}
.gate__title em { font-style: italic; font-weight: 500; color: #8f6c22; }
.gate__text { font-size: 0.98rem; color: #414b5e; max-width: 56ch; margin-bottom: 1.6rem; }
.gate__form { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.gate__input {
  flex: 1 1 14rem;
  font-family: var(--font-text);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(11, 29, 54, 0.3);
  padding: 0.9rem 1.1rem;
  min-width: 0;
}
.gate__input:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--brass); }
.gate__error { color: #8a3b2e; font-size: 0.62rem; letter-spacing: 0.1em; margin-top: 0.9rem; }
.gate__note { font-size: 0.85rem; color: var(--ink-dim); margin-top: 1.4rem; }
.gate__note a { color: #8f6c22; }

/* ---------- home self-assessment (R-001, 5-point scale) ----------
   Dark drafting-card quiz that sits inside a paper section on the home page.
   Distinct from the resources-page embed (.assess__*), which uses the
   compact scale row and vertical area bars. */

/* the whole quiz section is sized to fit a desktop screen without scrolling */
#assessment.section { padding: clamp(2.5rem, 4.5vw, 4rem) 0; }
#assessment .eyebrow { margin-bottom: 1.25rem; }
#assessment .display { font-size: clamp(1.8rem, 2.9vw, 2.6rem); margin-bottom: 0.9rem; }
#assessment .lede { font-size: clamp(1rem, 1.4vw, 1.1rem); }

.sa-shell {
  max-width: 52rem;
  margin-inline: auto;
  background: linear-gradient(170deg, var(--ink-3), var(--ink-2));
  border: 1px solid rgba(212, 162, 71, 0.24);
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}
.sa-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
}

.sa-progress {
  height: 4px;
  background: rgba(244, 241, 232, 0.12);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.sa-progress .sa-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brass), var(--brass-bright));
  transition: width 0.45s var(--ease-out);
}

.sa-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.8rem; }
.sa-area {
  font-family: var(--font-mono);
  font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  color: var(--brass-bright);
}
.sa-count {
  font-family: var(--font-mono);
  font-size: 0.6875rem; letter-spacing: 0.14em;
  color: var(--paper-dim);
  font-variant-numeric: tabular-nums;
}

.sa-q {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.4;
  color: var(--paper);
  min-height: 2.9em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.sa-opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.7rem; }
.sa-opt {
  font-family: var(--font-text);
  padding: 0.85rem 0.5rem;
  background: rgba(11, 29, 54, 0.55);
  border: 1px solid rgba(244, 241, 232, 0.18);
  color: var(--paper);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.sa-opt:hover { border-color: var(--brass); background: rgba(212, 162, 71, 0.09); transform: translateY(-2px); }
.sa-opt .v {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.4rem; font-weight: 500;
  color: var(--brass);
  margin-bottom: 0.25rem;
}
.sa-opt .t { font-size: 0.72rem; line-height: 1.35; color: var(--paper-dim); }

.sa-back {
  margin-top: 1.2rem;
  background: none; border: none; cursor: pointer;
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5em;
  transition: color 0.25s var(--ease-out);
}
.sa-back:hover { color: var(--brass-bright); }
.sa-back[disabled] { opacity: 0; pointer-events: none; }

.sa-result { text-align: center; }
.sa-result .sa-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-bright);
}
.sa-ring { position: relative; width: 190px; height: 190px; margin: 1.4rem auto 1.6rem; }
.sa-ring svg { transform: rotate(-90deg); }
.sa-ring .track { stroke: rgba(244, 241, 232, 0.14); }
.sa-ring .meter { stroke: var(--brass); stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(212, 162, 71, 0.45)); }
.sa-ring .val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sa-ring .val strong { font-family: var(--font-display); font-size: 3rem; font-weight: 560; color: var(--paper); line-height: 1; }
.sa-ring .val span { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--paper-dim); letter-spacing: 0.2em; margin-top: 0.5rem; }

.sa-band {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.5;
  color: var(--paper);
  max-width: 54ch;
  margin: 0 auto 2.4rem;
}

.sa-areas { display: grid; gap: 0.85rem; max-width: 520px; margin: 0 auto 2.4rem; text-align: left; }
.sa-areabar .lbl {
  display: flex; justify-content: space-between;
  font-size: 0.82rem; letter-spacing: 0.04em;
  color: var(--paper-dim);
  margin-bottom: 0.35rem;
}
.sa-areabar .lbl b { font-family: var(--font-mono); font-weight: 500; color: var(--brass); font-variant-numeric: tabular-nums; }
.sa-areabar .rail { height: 6px; background: rgba(244, 241, 232, 0.12); border-radius: 100px; overflow: hidden; }
.sa-areabar .fill {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--brass), var(--brass-bright));
  border-radius: inherit;
}
.sa-areabar.weakest .lbl { color: var(--brass-bright); }

.sa-note { font-size: 0.9rem; color: var(--paper-dim); max-width: 52ch; margin: 0 auto 2rem; }
.sa-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.sa-restart {
  background: none; border: none; cursor: pointer;
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin-top: 1.6rem;
  transition: color 0.25s var(--ease-out);
}
.sa-restart:hover { color: var(--brass-bright); }

.sa-foot {
  text-align: center;
  margin-top: 1.2rem;
  color: var(--ink-dim);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}
.sa-foot a { color: inherit; }
.sa-foot a:hover { color: #8f6c22; }

@media (max-width: 760px) {
  .sa-opts { grid-template-columns: 1fr; }
  .sa-opt { display: flex; align-items: baseline; justify-content: flex-start; gap: 0.8rem; text-align: left; padding: 0.85rem 1.1rem; }
  .sa-opt .v { margin-bottom: 0; font-size: 1.15rem; }
  .sa-opt .t { font-size: 0.8rem; }
  .sa-q { min-height: 0; }
}
