/* ============================================================
   JK LOGICWORKS · Cold Hearth × Foundry Steel
   One forme, four inks: structure, mark and type are identical on
   every page. Only --accent moves, set by data-ink on <html>.
   v3 (2026-08-29), variation "hearth": the forge before it is lit.
   Colour continuity with the countdown page: everything sits in a
   240 to 248 hue window, cold steel rather than a dark blue theme,
   with one chroma note per page. The four inks are now a cold-forge
   family (steel, pewter, ice) with one exception: About keeps a
   single banked ember, the one coal still alive in a cold hearth.
   Layout, type and motion are unchanged from v2; colour only.
   ============================================================ */

:root {
  --ground: oklch(0.155 0.014 245);
  --card: oklch(0.20 0.016 244);
  --ink: oklch(0.94 0.009 242);
  --quiet: oklch(0.68 0.022 246);
  --hairline: oklch(0.31 0.019 242);
  --wash: oklch(0.23 0.016 244);

  /* the key body : always the same, so the mark never changes shape.
     Steel keycap, matched to the countdown page's unlit caps. */
  --key: oklch(0.25 0.017 242);
  --key-edge: oklch(0.37 0.019 242);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --ui: system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0: clamp(1.04rem, 0.99rem + 0.26vw, 1.18rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.55rem);
  --step-2: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --step-3: clamp(2.1rem, 1.7rem + 2vw, 3.2rem);
  --step-4: clamp(2.6rem, 2rem + 3.4vw, 4.4rem);

  --measure: 62ch;
  --wide: 71rem;
  --gap: clamp(1.1rem, 2.2vw, 1.9rem);
  --section-gap: clamp(2.4rem, 6vh, 4.6rem);
  --r: 0.4rem;

  /* default ink : the countdown page's one lit blue */
  --accent: oklch(0.75 0.09 242);
  --accent-ink: oklch(0.17 0.03 242);
  --accent-glow: oklch(0.40 0.07 240);

  /* scales spark opacity only, never count or motion. Warm grains on a cold
     ground read far louder than cold ones, so the banked ink halves them. */
  --spark-alpha: 1;
}

/* ---- the four inks, mixed to hold contrast on near-black --------------
   --spark is the same hue as an explicit R G B triplet, because the canvas
   needs real channel values and oklch() can't be parsed out of a computed
   style reliably. Keep the two in step if you retune an ink.
   Three cold inks and one banked one: About alone carries residual heat. */
[data-ink="steel"]  { --accent: oklch(0.75 0.09 242); --accent-ink: oklch(0.17 0.03 242); --accent-glow: oklch(0.40 0.07 240); --spark: 116 183 232; }
[data-ink="pewter"] { --accent: oklch(0.80 0.035 245); --accent-ink: oklch(0.20 0.02 245); --accent-glow: oklch(0.44 0.03 244); --spark: 174 202 233; }
[data-ink="ice"]    { --accent: oklch(0.85 0.05 230); --accent-ink: oklch(0.18 0.02 235); --accent-glow: oklch(0.42 0.045 233); --spark: 206 230 250; }
[data-ink="banked"] { --accent: oklch(0.68 0.10 50);  --accent-ink: oklch(0.17 0.03 45);  --accent-glow: oklch(0.36 0.08 48); --spark: 205 128 66; --spark-alpha: 0.5; }
* { margin: 0; box-sizing: border-box; }

html { overflow-x: hidden; }

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--step-0);
  line-height: 1.68;
  position: relative;
  min-block-size: 100vh;
  overflow-x: hidden;
}

/* soot grain : cold ash, tinted blue rather than brown */
body::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.28;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2"/><feColorMatrix values="0 0 0 0 0.3 0 0 0 0 0.34 0 0 0 0 0.4 0 0 0 0.05 0"/></filter><rect width="180" height="180" filter="url(%23n)"/></svg>');
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { max-inline-size: var(--measure); text-wrap: pretty; }

a { color: var(--accent); text-underline-offset: 0.22em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---- skip link : first focusable element on every page ---------------- */
.skip {
  position: absolute; inset-block-start: 0; inset-inline-start: 0;
  z-index: 50;
  transform: translateY(-140%);
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--ui); font-size: var(--step--1); font-weight: 700;
  text-decoration: none;
  padding: 0.7em 1.2em;
  border-end-end-radius: var(--r);
}
.skip:focus { transform: translateY(0); color: var(--accent-ink); }

.kicker {
  font-family: var(--ui); font-size: var(--step--1); font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent);
}

/* ---- the room --------------------------------------------------------
   Low glow off the bottom edge, same geometry as v2. The colour now comes
   from the cold --accent-glow, so the two stops land on the countdown's
   own hearth values: oklch(0.35 0.075 238 / 0.85) fading to
   oklch(0.24 0.045 240 / 0.4). Unlit forge, banked heat, no fire. */
.glow {
  position: fixed; inset: auto -20% -35% -20%; block-size: 70%;
  z-index: 0; pointer-events: none; filter: blur(24px);
  background: radial-gradient(55% 80% at 50% 100%,
    color-mix(in oklch, var(--accent-glow) 85%, transparent),
    color-mix(in oklch, var(--accent-glow) 40%, transparent) 55%,
    transparent 75%);
}
@media (prefers-reduced-motion: no-preference) {
  .glow { animation: hearth 11s ease-in-out infinite alternate; }
  @keyframes hearth {
    from { opacity: 0.75; transform: scaleX(1); }
    to   { opacity: 1;    transform: scaleX(1.07); }
  }
}

/* ---- the draught -----------------------------------------------------
   Every few seconds the hearth pulls air: sparks kick off the bottom edge
   (canvas, in embers.js) and the low glow swells one notch with them.
   The swell is a second, brighter copy of the same gradient crossfading in
   on top of the first, because opacity composites for free where animating
   the blur filter would repaint the whole layer every frame. It rises a
   little faster than it falls, the way a draught does. The class is only
   ever set by embers.js, which returns before it exists under reduced
   motion, so a reduced-motion reader keeps a perfectly still glow. */
.glow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 80% at 50% 100%,
    color-mix(in oklch, var(--accent-glow) 100%, transparent),
    color-mix(in oklch, var(--accent-glow) 62%, transparent) 55%,
    transparent 78%);
  opacity: 0;
  transition: opacity 1.6s ease;
}
html.stoked .glow::before { opacity: 1; transition: opacity 1.2s ease-out; }
#fx { position: fixed; inset: 0; inline-size: 100%; block-size: 100%; z-index: 0; pointer-events: none; }

/* ---- masthead & the mark --------------------------------------------- */
.masthead {
  max-inline-size: var(--wide); margin-inline: auto;
  padding: 1.05rem var(--gap);
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  position: relative; z-index: 2;
}
.wordmark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.wordmark b { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.012em; }
.keys { display: flex; gap: 3px; position: relative; }

/* ---- the lit key holds a coal ----------------------------------------
   The one lit cap keeps a little firelight around it, and firelight never
   holds still. The glow sits on the row rather than on the cap because a
   cap clips its own overflow to mask the frost pass; the row does not, so
   the light can spill the few pixels past the edge that make it read as
   light rather than as a border. The lit key is the last of the three.
   Uneven keyframe stops so it gutters instead of pulsing, and the cap
   itself never moves. Decorative: no text, aria-hidden by its parent. */
.keys::after {
  content: ""; position: absolute; pointer-events: none; z-index: -1;
  inset-block: -8px; inset-inline-end: -8px;
  inline-size: calc(1.72rem + 16px);
  border-radius: 11px;
  background: radial-gradient(50% 50% at 50% 50%,
    color-mix(in oklch, var(--accent) 62%, transparent),
    transparent 72%);
  opacity: 0.18;
}
@media (prefers-reduced-motion: no-preference) {
  .keys::after { animation: coal 7s ease-in-out infinite; }
  @keyframes coal {
    0%   { opacity: 0.08; }
    23%  { opacity: 0.35; }
    41%  { opacity: 0.13; }
    68%  { opacity: 0.29; }
    100% { opacity: 0.08; }
  }
}
.keys > span {
  inline-size: 1.72rem; block-size: 1.72rem;
  border: 1px solid var(--key-edge);
  border-block-end-width: 3px;
  border-radius: 5px;
  background: var(--key);
  color: var(--ink);
  display: grid; place-content: center;
  font-family: var(--mono); font-size: 0.8rem; font-weight: 700;
  position: relative;
}
/* No home-row bar at wordmark scale: under a tiny legend it reads as an
   accidental underline (and on light caps it garbles the J outright). */
/* L takes the page's ink */
.keys .lit { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---- the mark is a real keyboard -------------------------------------
   Caps travel on hover and press. Only transform moves; the 3px bottom
   border that gives the cap its height is never animated, so the key
   keeps its shape all the way down. Hover is for pointers that hover;
   a finger gets the press only. */
.keys > span { transition: transform 90ms ease; overflow: hidden; }
.keys > span:active { transform: translateY(2px); }
.keys .lit { cursor: pointer; }
@media (pointer: fine) {
  .keys > span:hover { transform: translateY(1px); }
  .keys > span:hover:active { transform: translateY(2px); }
}
@media (prefers-reduced-motion: reduce) {
  .keys > span, .keys > span:hover, .keys > span:active, .keys > span:hover:active { transition: none; transform: none; }
  /* the press still reads, as a shade rather than a movement */
  .keys > span:active { background: color-mix(in oklch, var(--key) 82%, black); }
  .keys .lit:active { background: color-mix(in oklch, var(--accent) 86%, black); }
}

/* ---- a rare pass of frost --------------------------------------------
   A cold sheen crosses the three key faces a couple of seconds in, while
   the eye is still at the masthead, and then only once every half minute:
   often enough that a reader who stays gets a second look at it, rare
   enough that it never becomes a tic. The travel occupies the first few
   per cent of the cycle and the rest of the thirty seconds is stillness.
   The bar lives inside each cap, so the cap edges clip it: the mask is the
   key itself. Home page only, pointers only. The staggered delays make
   three clipped bars read as one pass. */
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-ink="steel"] .keys > span::before {
    content: ""; position: absolute; inset-block: 0; inset-inline-start: 0;
    inline-size: 100%; pointer-events: none;
    background: linear-gradient(105deg, transparent 24%, oklch(0.92 0.05 232 / 0.30) 50%, transparent 76%);
    transform: translateX(-120%);
    animation: frost 30s ease-in-out 2.5s infinite;
  }
  [data-ink="steel"] .keys > span:nth-child(2)::before { animation-delay: 2.63s; }
  [data-ink="steel"] .keys > span:nth-child(3)::before { animation-delay: 2.76s; }
  @keyframes frost {
    0%   { transform: translateX(-120%); }
    4%   { transform: translateX(120%); }
    100% { transform: translateX(120%); }
  }
}

.masthead nav { margin-inline-start: auto; display: flex; gap: clamp(0.9rem, 2.5vw, 1.75rem); flex-wrap: wrap; }
.masthead nav a { font-family: var(--ui); font-size: var(--step--1); font-weight: 600; text-decoration: none; color: var(--quiet); padding: 0.3rem 0; }
.masthead nav a:hover { color: var(--accent); }
.masthead nav a[aria-current="page"] { color: var(--ink); border-block-end: 2.5px solid var(--accent); }

/* ---- skeleton --------------------------------------------------------- */
main { max-inline-size: var(--wide); margin-inline: auto; padding-inline: var(--gap); position: relative; z-index: 2; }
main > section { padding-block: calc(var(--section-gap) / 2); }
main > section + section { border-block-start: 1px solid var(--hairline); padding-block-start: calc(var(--section-gap) / 2); }

/* ---- sections rise from the ash --------------------------------------
   Gated on html.js so that without scripts every section is simply there,
   and on no-preference so that a reduced-motion reader gets the same.
   The hero is never hidden: the first paint is always full.
   The rule's own hairline goes transparent and a pseudo-element draws it
   instead, so the line can be struck from the inside edge outward.
   Only opacity and transform move. */
@media (prefers-reduced-motion: no-preference) {
  html.js main > section:not(.hero) {
    opacity: 0.001;
    transform: translateY(1.1rem);
    transition: opacity 700ms ease-out, transform 700ms ease-out;
  }
  html.js main > section:not(.hero).in { opacity: 1; transform: none; }

  html.js main > section + section { position: relative; border-block-start-color: transparent; }
  html.js main > section + section::before {
    content: ""; position: absolute;
    inset-block-start: -1px; inset-inline: 0; block-size: 1px;
    background: var(--hairline); pointer-events: none;
    transform: scaleX(0); transform-origin: left center;
    transition: transform 500ms ease-out 120ms;
  }
  html.js main > section + section.in::before { transform: scaleX(1); }
  html.js[dir="rtl"] main > section + section::before { transform-origin: right center; }

  /* a finger scrolls faster than a wheel, so the rise is shorter and quicker */
  @media (pointer: coarse) {
    html.js main > section:not(.hero) {
      transform: translateY(0.35rem);
      transition-duration: 400ms;
    }
  }
}

.center { text-align: center; display: grid; justify-items: center; gap: 1.1rem; }
.center p { margin-inline: auto; }
.sec-intro { display: grid; justify-items: center; text-align: center; gap: 0.5rem; margin-block-end: var(--gap); }

.hero { padding-block: calc(var(--section-gap) * 1.15) calc(var(--section-gap) * 0.7); }
.hero h1 { max-inline-size: 20ch; }
.hero .own { color: var(--accent); }
.hero .sub { font-size: var(--step-1); color: var(--quiet); max-inline-size: 46ch; }

.actions { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; justify-content: center; margin-block-start: 0.75rem; }
.btn {
  display: inline-block; font-family: var(--ui);
  background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font-weight: 700;
  padding: 0.72em 1.5em; border-radius: 5px;
  transition: transform 0.25s ease;
}
.btn:hover { transform: translateY(-2px); color: var(--accent-ink); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

/* ---- cards ------------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: var(--gap); }
/* A grid of exactly four squares up on two rows rather than leaving one
   card alone on a second row: auto-fit gives three-and-an-orphan at this
   measure, and an orphan reads as a mistake rather than a fourth reason. */
@media (min-width: 60rem) {
  .cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r);
  padding: 1.55rem 1.65rem; display: grid; gap: 0.5rem; align-content: start;
}
.card p { max-inline-size: none; }
.card .glyph {
  font-family: var(--ui); font-size: var(--step--1); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  padding-block-end: 0.35rem; border-block-end: 2px solid var(--accent); justify-self: start;
}
.card .role { font-family: var(--ui); font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--quiet); }

/* ---- panels ----------------------------------------------------------- */
.panel { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r); padding: clamp(1.35rem, 3vw, 2.1rem); }
.panel p { max-inline-size: 64ch; }
.panel.prose-panel { text-align: start; display: grid; justify-items: start; gap: 0.8rem; }
/* reading boxes: full width like the cards, text set as a centred statement */
.panel.prose-panel {
  text-align: center; justify-items: center;
  background: var(--card);
  padding: clamp(1.6rem, 3.6vw, 2.6rem) clamp(1.35rem, 4vw, 3rem);
}
.panel.prose-panel p { margin-inline: auto; max-inline-size: 64ch; font-size: clamp(1.08rem, 1rem + 0.3vw, 1.26rem); }
.prose-panel + .footnote { text-align: center; margin-inline: auto; }
.panel.accent {
  border-color: color-mix(in oklch, var(--accent) 45%, transparent);
  background: var(--card);
}
.panel .big { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.01em; max-inline-size: 26ch; text-wrap: balance; }
.spaced { margin-block-start: var(--gap); }

/* ---- steps : a genuine sequence, so the numbering is earned ----------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: var(--gap); counter-reset: step; padding: 0; }
.steps > li { list-style: none; display: grid; gap: 0.42rem; align-content: start; }
.steps > li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--ui); font-size: var(--step--1); font-weight: 700; letter-spacing: 0.18em;
  color: var(--accent); padding-block-end: 0.35rem; border-block-end: 2px solid var(--accent); justify-self: start;
}
.steps p { max-inline-size: none; }
.steps .meta { font-family: var(--ui); font-size: var(--step--1); color: var(--quiet); }

/* ---- right-tool twin panels ------------------------------------------- */
.test { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: var(--gap); }
.test > div { border-radius: var(--r); padding: 1.55rem 1.65rem; border: 1px solid var(--hairline); }
.test .build, .test .maybe { background: var(--card); }
.test h3 { margin-block-end: 0.6rem; }
.test ul { padding-inline-start: 1.15rem; display: grid; gap: 0.45rem; }

.footnote { font-family: var(--ui); font-size: var(--step--1); color: var(--quiet); margin-block-start: 1.25rem; max-inline-size: var(--measure); }

/* ---- footer: CTA panel, then a quiet strip of small print -------------- */
footer { max-inline-size: var(--wide); margin: var(--section-gap) auto 0; padding: 0 var(--gap) 2.2rem; position: relative; z-index: 2; }
.cta-panel {
  background: var(--card); border: 1px solid color-mix(in oklch, var(--accent) 45%, transparent); border-radius: var(--r);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  display: grid; gap: 0.55rem; justify-items: center; text-align: center;
}
.cta-panel .write { font-size: var(--step-2); font-weight: 500; line-height: 1.2; text-wrap: balance; max-inline-size: none; }
.cta-panel .go { margin-block: 0.7rem 0.1rem; }
.cta-panel .mail { font-family: var(--mono); font-size: var(--step--1); }
.cta-panel .fine { font-family: var(--ui); color: var(--quiet); font-size: var(--step--1); max-inline-size: 60ch; }

/* ---- stand near the coal ---------------------------------------------
   About is the one page with heat left in it. Reach for the panel that
   invites a note and the low glow answers, one notch, slowly. Filter
   only, so it never argues with the glow's own breathing animation, and
   safe to leave on under reduced motion: nothing here moves. */
.glow { filter: blur(24px) brightness(1) saturate(1); transition: filter 1.2s ease; }
html[data-ink="banked"]:has(.cta-panel:is(:hover, :focus-within)) .glow {
  filter: blur(24px) brightness(1.1) saturate(1.06);
}

/* ---- the panel draws one breath --------------------------------------
   The first time the CTA panel arrives, a glow swells behind it and eases
   back, once, never again: the coals answering a reader who has walked
   the length of the page. A -1 layer, so it sits behind the panel's own
   wash and shows only as a bloom around the edges; spread past the panel
   so the bloom has somewhere to go. embers.js sets .breathed, and it
   returns before that under reduced motion, so a reduced-motion reader
   simply never sees the class. */
.cta-panel { position: relative; isolation: auto; }
.cta-panel::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -14% -8% -22% -8%;
  border-radius: var(--r);
  background: radial-gradient(60% 80% at 50% 100%,
    color-mix(in oklch, var(--accent-glow) 95%, transparent),
    color-mix(in oklch, var(--accent-glow) 45%, transparent) 52%,
    transparent 76%);
  filter: blur(18px);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .cta-panel.breathed::before { animation: cta-breath 2.6s ease-out 1 both; }
  @keyframes cta-breath {
    0%   { opacity: 0;    transform: scaleY(0.94); }
    30%  { opacity: 1;    transform: scaleY(1); }
    58%  { opacity: 0.92; transform: scaleY(1); }
    100% { opacity: 0;    transform: scaleY(0.97); }
  }
}

.strip {
  margin-block-start: 1.6rem;
  padding-block-start: 1.1rem;
  border-block-start: 1px solid var(--hairline);
  font-family: var(--ui); font-size: var(--step--1); color: var(--quiet);
  text-align: center; max-inline-size: none;
}

/* the motto closes the page, under the small print */
.strip.motto { border: 0; margin-block-start: 0.35rem; padding-block-start: 0; font-family: var(--serif); font-style: italic; }

/* ============================================================
   SPLIT LAYOUT (2026-09-30): text sections sit open on the page,
   no box. Heading in a left column, text in a right column from
   900px up; stacked below that (tablet portrait and phones).
   Boxes are kept only for side-by-side cards and the contact box.
   ============================================================ */
.sec-intro { justify-items: start; text-align: start; }
:root { --split-gap: clamp(2rem, 5vw, 4.5rem); }
main > section.split { display: grid; gap: 0.9rem var(--split-gap); }
.split .sec-intro { margin-block-end: 0; gap: 0.45rem; }
.split .sec-intro h2 { font-size: var(--step-2); max-inline-size: none; }
.split .body { display: grid; gap: 0.95rem; justify-items: start; align-content: start; }
.split .body p { max-inline-size: 70ch; font-size: clamp(1.06rem, 1rem + 0.25vw, 1.2rem); line-height: 1.7; }
.split .body .footnote { font-size: var(--step--1); margin-block-start: 0.2rem; }
.split .body .btn { margin-block-start: 0.3rem; }
@media (min-width: 56.25rem) {
  main > section.split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
  /* line the heading's first line up with the text's first line */
  .split .body { padding-block-start: 0.35rem; }
  .split .sec-intro:not(:has(.kicker)) { padding-block-start: 0; }
}
@media (max-width: 56.24rem) {
  .split .sec-intro h2 { max-inline-size: none; }
}

@media (min-width: 56.25rem) { .split .body p { max-inline-size: none; } }

/* phones: the four nav links sit on one row under the wordmark */
@media (max-width: 30rem) {
  .masthead { row-gap: 0.6rem; }
  .masthead nav { margin-inline-start: 0; inline-size: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 0.6rem; }
  .masthead nav a { white-space: nowrap; }
}


/* lists in the right-hand column read like the paragraphs */
.split .body ul { padding-inline-start: 1.15rem; display: grid; gap: 0.45rem; }
.split .body li { font-size: clamp(1.06rem, 1rem + 0.25vw, 1.2rem); line-height: 1.7; }

/* a quiet closing note inside a card (the stage summaries) */
.card .meta { font-family: var(--ui); font-size: var(--step--1); color: var(--quiet); margin-block-start: 0.2rem; }

/* ============================================================
   SITE v7 (2026-10-01): additions only; nothing above this block
   was changed. Only what the sections accepted in the review need.
   ============================================================ */

/* a closing note under a card grid (home: the recognition section) */
.after-cards { margin-block-start: var(--gap); display: grid; gap: 0.7rem; }
.after-cards p { font-size: clamp(1.06rem, 1rem + 0.25vw, 1.2rem); line-height: 1.7; }

/* The address under the button is plain text, for anyone whose mailto
   opens nothing. One click selects the whole of it. */
.cta-panel .mail { color: var(--ink); user-select: all; -webkit-user-select: all; }
.cta-panel .fine + .fine { margin-block-start: -0.2rem; }
