/* GENERATED by build.js from assets/css/src/. Do not edit; edit the modules. */

/* ==========================================================================
   00 · TOKENS
   The only file allowed to contain raw colors, sizes and durations.
   Everything else reads these custom properties. See DESIGN.md.
   ========================================================================== */

:root {
  /* ---- Palette (raw values, never used directly by components) ---- */
  --c-ink: #0b0b0c;          /* page background, matte black */
  --c-ink-2: #121213;        /* sunken surface: ticker, embeds */
  --c-ink-3: #19191b;        /* raised surface: notes */
  --c-navy: #101827;         /* pressed state for ink buttons (from the logo) */
  --c-bone: #ece5d3;         /* primary text, light panels (the lighthouse cream) */
  --c-bone-2: #d9d1bd;       /* secondary text on ink */
  --c-muted: #9c978b;        /* tertiary text on ink (6.8:1) */
  --c-faint: #8a857a;        /* meta labels on ink, the floor (5.4:1) */
  --c-gold: #c9a14a;         /* the one accent (8.1:1 on ink) */
  --c-gold-deep: #7a5c1c;    /* accent on bone (4.95:1) */
  --c-bone-ink-2: #3d3a33;   /* body text on bone (9.0:1) */
  --c-bone-ink-3: #5c574c;   /* labels on bone (5.7:1) */
  --c-gold-ink-2: #2b2415;   /* body text on gold (6.4:1) */
  --c-success: #8fbf8a;      /* reserved: confirmations */
  --c-error: #e08a7a;        /* reserved: failures */
  --c-ink-glass: rgba(11, 11, 12, 0.92); /* scrolled nav */

  /* ---- Roles (components use these; surfaces re-map them) ---- */
  --bg: var(--c-ink);
  --fg: var(--c-bone);                       /* headings, key text */
  --fg-2: var(--c-bone-2);                   /* ledes, supporting text */
  --fg-3: var(--c-muted);                    /* body copy in components */
  --fg-meta: var(--c-faint);                 /* dates, mono labels */
  --accent: var(--c-gold);
  --rule: rgba(236, 229, 211, 0.12);         /* hairlines */
  --rule-strong: rgba(236, 229, 211, 0.28);  /* section-opening rules, outlines */
  --btn-primary-bg: var(--c-bone);
  --btn-primary-fg: var(--c-ink);
  --btn-primary-hover: var(--c-gold);
  --focus: var(--c-gold);

  /* ---- Type ---- */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-numeral: clamp(8rem, 26vw, 16rem);         /* 404 numeral */
  --fs-display-xxl: clamp(3rem, 10vw, 9rem);      /* footer sign-off */
  --fs-display-xl: clamp(3.2rem, 9.2vw, 8.6rem);   /* home hero h1 */
  --fs-display-l: clamp(3rem, 7.4vw, 6.6rem);      /* page h1 */
  --fs-display-m: clamp(2.4rem, 5.4vw, 4.8rem);    /* section h2, panel h2 */
  --fs-display-ms: clamp(2rem, 3.6vw, 3.2rem);     /* stats, archive titles, contact address */
  --fs-display-s: clamp(1.7rem, 2.6vw, 2.2rem);    /* card titles, ticker, small panel titles */
  --fs-display-xs: 1.3rem;                         /* brand lockups, sign-offs */
  --fs-standfirst: clamp(1.3rem, 2.2vw, 1.75rem);  /* first paragraph of a story */
  --fs-body-l: clamp(1.15rem, 1.6vw, 1.35rem);     /* ledes, post dek */
  --fs-body-m: 1.1875rem;                          /* long-form reading (19px) */
  --fs-body: 1.0625rem;                            /* default (17px) */
  --fs-body-s: 0.9375rem;                          /* footer, notes (15px) */
  --fs-ui: 0.8125rem;                              /* uppercase buttons and nav (13px) */
  --fs-label: 0.75rem;                             /* mono labels (12px) */

  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 800;
  --fstretch-display: 75%;

  --lh-display: 0.92;
  --lh-tight: 1.05;
  --lh-snug: 1.3;
  --lh-body: 1.6;
  --lh-read: 1.75;

  --tr-display: -0.01em;
  --tr-ui: 0.08em;
  --tr-label: 0.12em;

  /* ---- Space (4px base) ---- */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 40px;
  --s-8: 56px;
  --s-9: 72px;
  --s-10: 96px;
  --s-11: 128px;

  /* Rhythm (fluid, built from the scale) */
  --gutter: var(--s-5);
  --nav-h: 80px;
  --page-top: calc(var(--nav-h) + clamp(var(--s-8), 7vw, var(--s-10)));
  --section-l: clamp(var(--s-10), 10vw, var(--s-11));
  --section-m: clamp(var(--s-9), 8vw, var(--s-10));
  --panel-pad: clamp(var(--s-6), 6vw, var(--s-9));
  --stack-head: clamp(var(--s-7), 5vw, var(--s-8));  /* section head to content */

  /* ---- Layout ---- */
  --w-page: 1240px;
  --w-read: 680px;
  --w-measure: 46ch;

  /* ---- Shape: squared system ---- */
  --r-0: 0;      /* rules, grids, cards: never rounded */
  --r-1: 4px;    /* anything you press or anything that is a solid panel */
  --hairline: 1px;
  --bar: 2px;    /* active nav underline, card hover bar */
  --bar-l: 4px;  /* pull-quote bar */
  --shadow-book: 18px 22px 0 rgba(11, 11, 12, 0.14); /* the only shadow: a flat offset under the book */

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-1: 200ms;   /* color, border */
  --dur-2: 300ms;   /* small movement */
  --dur-3: 500ms;   /* accent bar growth */
  --dur-reveal: 800ms;
  --dur-ticker: 40s;
  --lift: -2px;     /* hover lift for buttons */
}

/* ---- Surfaces: drop a component on bone or gold and it re-themes ---- */
.surface-bone {
  --bg: var(--c-bone);
  --fg: var(--c-ink);
  --fg-2: var(--c-bone-ink-2);
  --fg-3: var(--c-bone-ink-2);
  --fg-meta: var(--c-bone-ink-3);
  --accent: var(--c-gold-deep);
  --rule: rgba(11, 11, 12, 0.14);
  --rule-strong: rgba(11, 11, 12, 0.4);
  --btn-primary-bg: var(--c-ink);
  --btn-primary-fg: var(--c-bone);
  --btn-primary-hover: var(--c-navy);
  --focus: var(--c-ink);
  background: var(--bg);
  color: var(--fg-2);
}
.surface-gold {
  --bg: var(--c-gold);
  --fg: var(--c-ink);
  --fg-2: var(--c-gold-ink-2);
  --fg-3: var(--c-gold-ink-2);
  --fg-meta: var(--c-gold-ink-2);
  --accent: var(--c-ink);
  --rule: rgba(11, 11, 12, 0.2);
  --rule-strong: rgba(11, 11, 12, 0.45);
  --btn-primary-bg: var(--c-ink);
  --btn-primary-fg: var(--c-bone);
  --btn-primary-hover: var(--c-navy);
  --focus: var(--c-ink);
  background: var(--bg);
  color: var(--fg-2);
}

/* ==========================================================================
   01 · BASE  — reset, page, links, focus, grain
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg-2);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Matte grain: the "matte" in ink & matte. Keep it under 6% opacity. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
::selection { background: var(--c-gold); color: var(--c-ink); }
:focus-visible { outline: var(--bar) solid var(--focus); outline-offset: 3px; }
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 200;
  padding: var(--s-3) var(--s-4); background: var(--c-bone); color: var(--c-ink); font-weight: var(--fw-bold);
}
.skip-link:focus { top: var(--s-4); }

/* ==========================================================================
   02 · TYPE  — headings, display style, labels, accents
   One family (Archivo) carries everything; width and weight do the work.
   Display = Archivo 800, 75% width, uppercase. Body = Archivo 400, 100%.
   ========================================================================== */

h1, h2, h3, h4 { margin: 0; color: var(--fg); font-family: var(--font-display); }

/* The display voice. Use the class on anything that should shout. */
h1, h2, .display {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-stretch: var(--fstretch-display);
  text-transform: uppercase;
  letter-spacing: var(--tr-display);
  line-height: var(--lh-display);
  color: var(--fg);
}
h1 { font-size: var(--fs-display-l); }
h2 { font-size: var(--fs-display-m); }
h3 { font-size: var(--fs-display-s); font-weight: var(--fw-black); font-stretch: var(--fstretch-display); text-transform: uppercase; line-height: var(--lh-tight); letter-spacing: var(--tr-display); }

.display-xl { font-size: var(--fs-display-xl); }
.display-l  { font-size: var(--fs-display-l); }
.display-m  { font-size: var(--fs-display-m); }
.display-ms { font-size: var(--fs-display-ms); line-height: var(--lh-tight); }
.display-s  { font-size: var(--fs-display-s); line-height: var(--lh-tight); }

/* One accent word per headline, max. */
.accent { color: var(--accent); font-style: normal; }
/* Inverted block highlight, for accents on gold where color alone can't carry it. */
.mark {
  background: var(--fg); color: var(--bg); padding: 0 0.12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.lede { font-size: var(--fs-body-l); line-height: 1.5; color: var(--fg-2); max-width: 44ch; }

/* Mono label. Optional <b> index number in the accent color: <span class="eyebrow"><b>01</b> What this is</span> */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--font-mono); font-size: var(--fs-label); font-weight: var(--fw-regular);
  letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--fg-meta);
}
.eyebrow b { color: var(--accent); font-weight: var(--fw-regular); }

.link-accent { color: var(--accent); font-weight: var(--fw-semibold); }
.link-accent:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   03 · LAYOUT  — containers and section rhythm
   ========================================================================== */

.wrap { width: min(var(--w-page), 100% - 2 * var(--gutter)); margin-inline: auto; }
.prose-wrap { width: min(var(--w-read), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Sections: pick one size, never set padding inline. */
.section { padding-block: var(--section-l); }
.section--tight { padding-block: var(--section-m); }
.section--flush-top { padding-top: 0; }

/* ==========================================================================
   10 · BUTTON  — .btn + .btn--primary | .btn--secondary
   One primary per section. Primary re-themes itself on bone and gold surfaces.
   <a class="btn btn--primary" href="…">Watch on YouTube</a>
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  min-height: 52px; padding: 0 var(--s-5);
  border: var(--hairline) solid transparent; border-radius: var(--r-1);
  font-family: var(--font-body); font-size: var(--fs-ui); font-weight: var(--fw-bold);
  letter-spacing: var(--tr-ui); text-transform: uppercase; line-height: 1; white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1), transform var(--dur-2) var(--ease-out);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(var(--lift)); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.btn--primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.btn--primary:hover { background: var(--btn-primary-hover); }

.btn--secondary { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.btn--secondary:hover { border-color: var(--fg); }
.btn--secondary.is-done { border-color: var(--accent); color: var(--accent); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ==========================================================================
   11 · TAG  — squared label with a gold square. Page/section openers.
   <span class="tag">Career strategy for engineers</span>
   ========================================================================== */

.tag {
  display: inline-flex; align-items: center; gap: var(--s-3);
  padding: var(--s-2) var(--s-3); border: var(--hairline) solid var(--rule-strong);
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tr-label);
  text-transform: uppercase; color: var(--fg); line-height: 1.2;
}
.tag::before { content: ""; width: 7px; height: 7px; background: var(--accent); flex: none; }

/* ==========================================================================
   20 · NAV  — fixed bar, solid after scroll, sheet menu under 800px
   ========================================================================== */

.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: var(--hairline) solid transparent;
  transition: background var(--dur-2), border-color var(--dur-2);
}
.site-nav.scrolled { background: var(--c-ink-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }

.brand {
  display: inline-flex; align-items: center; gap: var(--s-3); min-height: 44px;
  font-family: var(--font-display); font-weight: var(--fw-black); font-stretch: 80%;
  font-size: var(--fs-body); text-transform: uppercase; letter-spacing: 0.02em; color: var(--fg);
}
.brand img { width: 42px; height: 42px; }

.nav-links { display: flex; align-items: center; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  font-size: var(--fs-ui); font-weight: var(--fw-semibold); letter-spacing: var(--tr-ui); text-transform: uppercase;
  color: var(--fg-3); transition: color var(--dur-1);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: var(--s-1); height: var(--bar); background: var(--accent);
}
.nav-links .nav-cta { margin-left: var(--s-3); padding: 0 var(--s-4); background: var(--btn-primary-bg); color: var(--btn-primary-fg); border-radius: var(--r-1); }
.nav-links .nav-cta:hover { background: var(--btn-primary-hover); color: var(--btn-primary-fg); }

.nav-toggle { display: none; min-width: 44px; min-height: 44px; background: none; border: 0; color: var(--fg); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 800px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--s-2) var(--gutter) var(--s-5); background: var(--c-ink); border-bottom: var(--hairline) solid var(--rule);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2), visibility var(--dur-2);
  }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { display: flex; min-height: 56px; padding: 0 var(--s-1); font-size: var(--fs-body); border-bottom: var(--hairline) solid var(--rule); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--accent); }
  .nav-links .nav-cta { margin: var(--s-4) 0 0; justify-content: center; border: 0; }
}

/* ==========================================================================
   21 · HERO  — home only. Giant headline, seal right, ruled foot with lede + CTAs.
   .page-hero is the shorter opener for every other page.
   ========================================================================== */

.hero { padding-top: var(--page-top); border-bottom: var(--hairline) solid var(--rule); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 300px; gap: var(--s-7); align-items: end; }
.hero h1 { margin-top: var(--s-5); font-size: var(--fs-display-xl); }
.hero-foot {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-7); align-items: end;
  margin-top: var(--s-8); padding: var(--s-6) 0 var(--s-9); border-top: var(--hairline) solid var(--rule);
}
.seal { justify-self: end; width: 100%; max-width: 300px; aspect-ratio: 1; }
.seal img { width: 100%; height: 100%; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .seal { order: -1; justify-self: start; max-width: 112px; }
  .hero-foot { grid-template-columns: 1fr; gap: var(--s-5); margin-top: var(--s-7); }
}

.page-hero { padding: var(--page-top) 0 var(--s-8); border-bottom: var(--hairline) solid var(--rule); }
.page-hero h1 { margin: var(--s-5) 0 var(--s-6); max-width: 14ch; }

/* ==========================================================================
   22 · TICKER  — topic strip. Decorative: always aria-hidden, content doubled.
   ========================================================================== */

.ticker { overflow: hidden; background: var(--c-ink-2); border-bottom: var(--hairline) solid var(--rule); }
.ticker-track { display: flex; width: max-content; animation: tick var(--dur-ticker) linear infinite; }
.ticker span {
  display: inline-flex; align-items: center; gap: var(--s-5); padding: var(--s-5) var(--s-5) var(--s-5) 0; white-space: nowrap;
  font-family: var(--font-display); font-weight: var(--fw-black); font-stretch: var(--fstretch-display);
  font-size: var(--fs-display-s); text-transform: uppercase; color: var(--fg); line-height: 1;
}
.ticker span::after { content: ""; width: 10px; height: 10px; background: var(--accent); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ==========================================================================
   23 · STATS  — four facts in a ruled row. Real numbers only.
   ========================================================================== */

.stats { border-bottom: var(--hairline) solid var(--rule); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: var(--s-7) var(--s-6); border-left: var(--hairline) solid var(--rule); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: block; margin-bottom: var(--s-3);
  font-family: var(--font-display); font-weight: var(--fw-black); font-stretch: var(--fstretch-display);
  font-size: var(--fs-display-ms); text-transform: uppercase; color: var(--fg); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat span { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--fg-3); }
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: var(--s-5) 0 var(--s-5) var(--s-5); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: var(--hairline) solid var(--rule); }
}

/* ==========================================================================
   30 · SECTION HEAD  — eyebrow + h2 left, supporting line right (bottom-aligned)
   ========================================================================== */

.section-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-8); align-items: end; margin-bottom: var(--stack-head); }
.section-head h2 { margin-top: var(--s-5); }
.section-head p { color: var(--fg-2); max-width: var(--w-measure); font-size: var(--fs-body); }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: var(--s-5); } }

/* ==========================================================================
   31 · PILLARS  — ruled 2×2 grid of numbered points. Not boxed cards.
   <div class="pillars"><article class="pillar"><span class="pillar-num">01</span><h3>…</h3><p>…</p></article>…</div>
   ========================================================================== */

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); border-top: var(--hairline) solid var(--rule-strong); }
.pillar { position: relative; padding: var(--s-7) var(--s-7) var(--s-7) 0; border-bottom: var(--hairline) solid var(--rule); }
.pillar:nth-child(even) { padding: var(--s-7) 0 var(--s-7) var(--s-7); border-left: var(--hairline) solid var(--rule); }
.pillar-num { display: block; margin-bottom: var(--s-7); font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tr-label); color: var(--accent); }
.pillar h3 { margin-bottom: var(--s-4); max-width: 16ch; }
.pillar p { color: var(--fg-3); max-width: var(--w-measure); }
.pillar::after { content: ""; position: absolute; left: 0; top: calc(-1 * var(--hairline)); width: 0; height: var(--bar); background: var(--accent); transition: width var(--dur-3) var(--ease-out); }
.pillar:nth-child(even)::after { left: var(--s-7); }
.pillar:hover::after { width: var(--s-9); }
@media (max-width: 800px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(even) { padding: var(--s-6) 0; border-left: 0; }
  .pillar:nth-child(even)::after { left: 0; }
}

/* ==========================================================================
   32 · POST CARD  — generated by build.js. Two layouts:
   .post-list (3-up, home)  ·  .post-list.archive (rows, /blog/)
   ========================================================================== */

.post-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--hairline) solid var(--rule-strong); }
.post-card { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-6) var(--s-6) var(--s-7) 0; min-height: 300px; border-bottom: var(--hairline) solid var(--rule); }
.post-card + .post-card { padding-left: var(--s-6); border-left: var(--hairline) solid var(--rule); }
.post-card h3 { transition: color var(--dur-1); overflow-wrap: anywhere; }
.post-card p { color: var(--fg-3); flex: 1; }
.post-card .more { display: inline-flex; align-items: center; gap: var(--s-3); font-size: var(--fs-ui); font-weight: var(--fw-bold); letter-spacing: var(--tr-ui); text-transform: uppercase; color: var(--fg); }
.post-card .more::after { content: "→"; transition: transform var(--dur-2) var(--ease-out); }
.post-card:hover h3 { color: var(--accent); }
.post-card:hover .more::after { transform: translateX(5px); }

.post-meta { display: flex; flex-wrap: wrap; gap: var(--s-4); font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tr-ui); text-transform: uppercase; color: var(--fg-meta); }
.post-meta .tag-name { color: var(--accent); }

.archive { grid-template-columns: 1fr; }
.archive .post-card, .archive .post-card + .post-card { flex-direction: row; align-items: baseline; gap: var(--s-7); min-height: 0; padding: var(--s-7) 0; border-left: 0; }
.archive .post-meta { width: 170px; flex: none; flex-direction: column; gap: var(--s-1); }
.archive .post-body { flex: 1; display: grid; gap: var(--s-3); }
.archive h3 { font-size: var(--fs-display-ms); }
.archive p { max-width: 60ch; }

@media (max-width: 960px) {
  .post-list { grid-template-columns: 1fr; }
  .post-card, .post-card + .post-card { padding: var(--s-6) 0; border-left: 0; min-height: 0; }
  .archive .post-card, .archive .post-card + .post-card { flex-direction: column; gap: var(--s-3); }
  .archive .post-meta { flex-direction: row; width: auto; }
}

.empty-state { padding: var(--s-8) 0; border-top: var(--hairline) solid var(--rule-strong); color: var(--fg-3); font-size: var(--fs-body-l); max-width: 60ch; }

/* ==========================================================================
   33 · PANEL  — the solid color blocks. Pair with a surface:
   .panel.surface-bone (book)  ·  .panel.surface-gold (ask, post-end)
   Max one bone and one gold panel per page.
   ========================================================================== */

.panel { padding: var(--panel-pad); border-radius: var(--r-1); }
.panel h2 { margin: var(--s-5) 0; }
.panel p { max-width: var(--w-measure); font-size: var(--fs-body-l); line-height: 1.5; margin-bottom: var(--s-6); }

/* Book: cover + copy */
.book { display: grid; grid-template-columns: 280px 1fr; gap: var(--s-9); align-items: center; }
.book-cover { aspect-ratio: 2 / 3; overflow: hidden; box-shadow: var(--shadow-book); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover.placeholder { display: flex; flex-direction: column; justify-content: space-between; padding: var(--s-6) var(--s-5); background: var(--c-ink); }
.book-cover.placeholder .t { font-family: var(--font-display); font-weight: var(--fw-black); font-stretch: var(--fstretch-display); text-transform: uppercase; font-size: var(--fs-display-s); line-height: 0.95; color: var(--c-bone); }
.book-cover.placeholder .t em { font-style: normal; color: var(--c-gold); }
.book-cover.placeholder .a { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--c-gold); }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; gap: var(--s-7); } .book-cover { width: 200px; } }

/* Ask: headline left, copy + action right */
.ask { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-8); align-items: end; }
.ask h2 { margin-bottom: 0; }
@media (max-width: 900px) { .ask { grid-template-columns: 1fr; gap: var(--s-2); } }

/* Post end: smaller gold panel at the end of every post */
.post-end { margin-top: var(--s-8); }
.post-end h3 { margin-bottom: var(--s-3); }
.post-end p { font-size: var(--fs-body); margin-bottom: var(--s-5); }

/* ==========================================================================
   34 · ABOUT  — sticky fact sidebar + long-form story
   ========================================================================== */

.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: var(--s-9); align-items: start; }
.about-aside { position: sticky; top: calc(var(--nav-h) + var(--s-7)); }
.about-aside img { width: 100%; max-width: 220px; }
.facts { display: grid; gap: var(--s-4); margin: var(--s-6) 0 0; padding-top: var(--s-5); border-top: var(--hairline) solid var(--rule); }
.facts dt { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--fg-meta); }
.facts dd { margin: var(--s-1) 0 0; color: var(--fg); font-weight: var(--fw-semibold); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: var(--s-7); } .about-aside { position: static; } .about-aside img { max-width: 120px; } }

/* Long-form reading block. First paragraph is the standfirst. */
.story { max-width: var(--w-read); font-size: var(--fs-body-m); line-height: var(--lh-read); color: var(--fg-2); }
.story p + p { margin-top: 1.4em; }
.story p:first-child { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--fs-standfirst); line-height: var(--lh-snug); color: var(--fg); letter-spacing: var(--tr-display); }
.story strong { color: var(--fg); font-weight: var(--fw-bold); }
.story .accent { font-weight: var(--fw-bold); }
.signoff { margin-top: var(--s-7); padding-top: var(--s-6); border-top: var(--hairline) solid var(--rule); }
.signoff b { display: block; font-family: var(--font-display); font-weight: var(--fw-black); font-stretch: 80%; text-transform: uppercase; font-size: var(--fs-display-xs); color: var(--fg); }
.signoff span { color: var(--fg-3); font-size: var(--fs-body-s); }

/* ==========================================================================
   35 · CONTACT  — big address + numbered checklist + note
   ========================================================================== */

.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; border-top: var(--hairline) solid var(--rule-strong); }
.mail-card { padding: var(--s-8) var(--s-8) var(--s-8) 0; }
.mail-card .addr {
  display: block; margin: var(--s-5) 0 var(--s-6);
  font-family: var(--font-display); font-weight: var(--fw-black); font-stretch: var(--fstretch-display);
  font-size: var(--fs-display-ms); text-transform: uppercase; line-height: 1; color: var(--fg);
  overflow-wrap: break-word; transition: color var(--dur-1);
}
.mail-card .addr:hover { color: var(--accent); }
.mail-card p { color: var(--fg-3); max-width: var(--w-measure); margin-bottom: var(--s-6); }

.checklist { padding: var(--s-8) 0 var(--s-8) var(--s-8); border-left: var(--hairline) solid var(--rule); }
.checklist h2 { font-size: var(--fs-display-s); line-height: var(--lh-tight); margin-bottom: var(--s-5); }
.checklist ol { list-style: none; padding: 0; margin: 0; counter-reset: c; }
.checklist li { counter-increment: c; display: grid; grid-template-columns: 44px 1fr; gap: var(--s-2); padding: var(--s-4) 0; border-top: var(--hairline) solid var(--rule); color: var(--fg-3); }
.checklist li::before { content: counter(c, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--fs-label); color: var(--accent); padding-top: var(--s-1); }
.checklist li b { display: block; margin-bottom: var(--s-1); color: var(--fg); font-weight: var(--fw-bold); }

/* Note: a quiet raised box with a mono label. No accent stripe. */
.note { margin-top: var(--s-5); padding: var(--s-5); background: var(--c-ink-3); color: var(--fg-3); font-size: var(--fs-body-s); }
.note .eyebrow { display: flex; margin-bottom: var(--s-2); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .mail-card { padding: var(--s-7) 0; }
  .checklist { padding: var(--s-7) 0; border-left: 0; border-top: var(--hairline) solid var(--rule); }
}

/* ==========================================================================
   36 · POST  — header, reading column, pull quote, embeds
   ========================================================================== */

.post-header { padding: var(--page-top) 0 var(--s-8); margin-bottom: var(--s-8); border-bottom: var(--hairline) solid var(--rule); }
.post-header .post-meta { margin-bottom: var(--s-5); }
.post-header h1 { font-size: var(--fs-display-l); overflow-wrap: anywhere; }
.post-header .dek { margin-top: var(--s-5); font-size: var(--fs-body-l); color: var(--fg-2); }

.post-content { padding-bottom: var(--s-7); font-size: var(--fs-body-m); line-height: var(--lh-read); color: var(--fg-2); }
.post-content p + p { margin-top: 1.35em; }
.post-content h2 { font-size: var(--fs-display-s); line-height: var(--lh-tight); margin: 1.6em 0 0.6em; }
.post-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-content blockquote {
  margin: 2em 0; padding: 0;
  font-family: var(--font-display); font-weight: var(--fw-black); font-stretch: 80%; text-transform: uppercase;
  font-size: var(--fs-display-s); line-height: var(--lh-tight); color: var(--fg);
}
.post-content blockquote::before { content: ""; display: block; width: var(--s-8); height: var(--bar-l); margin-bottom: var(--s-5); background: var(--accent); }

.embed { margin: 2.2em 0; overflow: hidden; border: var(--hairline) solid var(--rule); border-radius: var(--r-1); background: var(--c-ink-2); }
.embed iframe { display: block; width: 100%; border: 0; }
.embed--video { aspect-ratio: 16 / 9; }
.embed--video iframe { height: 100%; }
.embed-placeholder {
  display: grid; place-items: center; gap: var(--s-3); height: 100%; min-height: 152px; padding: var(--s-5); text-align: center;
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--fg-meta);
}
.embed-placeholder svg { width: 44px; height: 44px; color: var(--accent); }

/* ==========================================================================
   37 · FOOTER  — sign-off line, brand, two link columns, legal strip
   ========================================================================== */

.site-footer { margin-top: var(--s-7); padding: var(--s-10) 0 var(--s-6); border-top: var(--hairline) solid var(--rule); }
.foot-big { margin-bottom: var(--s-8); font-size: var(--fs-display-xxl); line-height: 0.9; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--s-7); padding-top: var(--s-7); border-top: var(--hairline) solid var(--rule); }
.foot-brand p { margin-top: var(--s-4); max-width: 34ch; color: var(--fg-3); font-size: var(--fs-body-s); }
.foot-col h2 { margin-bottom: var(--s-3); font-family: var(--font-mono); font-size: var(--fs-label); font-weight: var(--fw-regular); font-stretch: 100%; letter-spacing: var(--tr-label); color: var(--fg-meta); line-height: 1.4; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--fg-2); font-size: var(--fs-body-s); transition: color var(--dur-1); }
.foot-col a:hover { color: var(--accent); }
.socials { display: flex; gap: var(--s-2); margin-top: var(--s-5); }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: var(--hairline) solid var(--rule-strong); border-radius: var(--r-1); color: var(--fg-2); transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1); }
.socials a:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-8); padding-top: var(--s-5); border-top: var(--hairline) solid var(--rule); font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tr-ui); text-transform: uppercase; color: var(--fg-meta); }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ==========================================================================
   38 · 404
   ========================================================================== */

.notfound { min-height: 100vh; display: grid; place-items: center; padding: var(--s-11) var(--gutter); text-align: center; }
.notfound .big { font-family: var(--font-display); font-weight: var(--fw-black); font-stretch: var(--fstretch-display); font-size: var(--fs-numeral); line-height: 0.85; color: var(--accent); }
.notfound h2 { margin-top: var(--s-4); font-size: var(--fs-display-ms); }
.notfound p { max-width: 40ch; margin: var(--s-5) auto var(--s-6); color: var(--fg-3); }
.notfound .btn-row { justify-content: center; }

/* ==========================================================================
   80 · STYLEGUIDE  — only used on /styleguide/
   ========================================================================== */

.sg-section { padding-block: var(--section-m); border-top: var(--hairline) solid var(--rule); }
.sg-section > .wrap > h2 { margin: var(--s-4) 0 var(--s-7); font-size: var(--fs-display-ms); }
.sg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s-5); }
.sg-swatch { border: var(--hairline) solid var(--rule); }
.sg-swatch i { display: block; height: 96px; background: var(--sw); }
.sg-swatch div { padding: var(--s-3); font-family: var(--font-mono); font-size: var(--fs-label); color: var(--fg-3); }
.sg-swatch b { display: block; color: var(--fg); font-weight: var(--fw-regular); }
.sg-row { display: grid; grid-template-columns: 200px 1fr; gap: var(--s-5); align-items: baseline; padding: var(--s-4) 0; border-bottom: var(--hairline) solid var(--rule); }
.sg-row > code { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--fg-meta); }
.sg-bar { display: block; height: var(--s-4); width: var(--w); background: var(--accent); }
.sg-surfaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.sg-surface { padding: var(--s-6); border: var(--hairline) solid var(--rule); border-radius: var(--r-1); }
.sg-surface h3 { margin-bottom: var(--s-3); }
.sg-surface p { margin-bottom: var(--s-5); color: var(--fg-2); }
@media (max-width: 900px) { .sg-surfaces { grid-template-columns: 1fr; } .sg-row { grid-template-columns: 1fr; gap: var(--s-2); } }

/* ==========================================================================
   90 · UTILITIES
   ========================================================================== */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   99 · MOTION  — reveals (JS-gated) and reduced-motion overrides
   Motion vocabulary: fade-up on enter, color on hover, 2px lift on buttons,
   accent bar growth on pillars, the ticker. Nothing else moves.
   ========================================================================== */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

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