/* Nullvorm studio pages: home (/) and case studies (/pi-crust, /flipside-case).
   The Flipside '86 page has its own stylesheet (flipside.css) and keeps it.
   Source Serif 4 is self-hosted (SIL OFL, see /media/fonts/OFL.txt); the sans is the
   system stack. The pages make no third-party requests and the CSP can stay strict. */

@font-face {
  font-family: "Source Serif 4";
  src: url("/media/fonts/SourceSerif4-latin-v1.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
/* Georgia, scaled to Source Serif 4's metrics, so the swap barely moves the layout. */
@font-face {
  font-family: "Source Serif 4 Fallback";
  src: local("Georgia");
  size-adjust: 100.4%;
  ascent-override: 103.2%;
  descent-override: 33.4%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light dark;

  --bg: #fbfaf7;
  --surface: #f2f0eb;
  --text: #151514;
  --muted: #5d5c58;
  --faint: #6f6d68;
  --decor: #8c8a84;
  --line: #e3e0d9;
  --line-strong: #c9c5bc;
  --accent: #0a7259;
  --frame: rgba(20, 20, 18, 0.10);
  --shadow: 0 1px 2px rgba(20, 20, 18, 0.04), 0 12px 32px -12px rgba(20, 20, 18, 0.18);

  --serif: "Source Serif 4", "Source Serif 4 Fallback", "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Text", Cambria, "Noto Serif", Georgia, serif;
  --display: "Source Serif 4", "Source Serif 4 Fallback", "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Heading", "Sitka Text", Cambria, "Noto Serif", Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --step-0: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);
  --step-3: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  --step-4: clamp(2.5rem, 1.35rem + 4.6vw, 5.25rem);

  --gutter: clamp(20px, 4.5vw, 56px);
  --cg: clamp(24px, 3vw, 48px);
  --max: 1280px;
  --radius: 10px;
  --section: clamp(72px, 4.5rem + 3.5vw, 136px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0d;
    --surface: #1a1a18;
    --text: #ecebe6;
    --muted: #a6a49e;
    --faint: #8a8882;
    --decor: #7a7873;
    --line: #262624;
    --line-strong: #3d3c39;
    --accent: #4fe0bd;
    --frame: rgba(255, 255, 255, 0.09);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--step-0)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color 0.15s ease, color 0.15s ease; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: var(--gutter); top: -100px; padding: 8px 12px; background: var(--text); color: var(--bg); text-decoration: none; border-radius: 6px; z-index: 10; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- header ---------- */

.site-header { padding-block: clamp(20px, 3vw, 32px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; padding-block: 10px; font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; text-decoration: none; }
.brand img { width: 14px; height: auto; }
.brand { white-space: nowrap; }
@media (max-width: 440px) { .site-header .wrap { gap: 12px; } .brand { gap: 8px; font-size: 0.9375rem; } .site-nav { gap: 14px; font-size: 0.875rem; } }
.site-nav { display: flex; gap: clamp(16px, 3vw, 32px); font-size: 0.9375rem; }
.site-nav a { text-decoration: none; color: var(--muted); padding-block: 10px; }
.site-nav a:hover { color: var(--text); }

/* ---------- shared type ---------- */

.eyebrow { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.display { font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 1.4rem + 3.9vw, 4.5rem); line-height: 1.04; letter-spacing: -0.022em; text-wrap: balance; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 36em; text-wrap: pretty; }
.prose { max-width: 38rem; }
.prose p + p { margin-top: 1.1em; }
.prose p { text-wrap: pretty; }
.prose code { font-family: var(--mono); font-size: 0.86em; background: var(--surface); padding: 0.1em 0.35em; border-radius: 4px; }
.num { font-family: var(--mono); font-size: 0.8125rem; color: var(--faint); letter-spacing: 0; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.section-head p { font-size: 0.875rem; color: var(--faint); }

.links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 0.9375rem; font-weight: 500; }
.links a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.4em; padding-block: 4px; }
.links a::after { content: "\2197"; font-weight: 400; color: var(--decor); transition: transform 0.15s ease, color 0.15s ease; }
.links a[href^="/"]::after { content: "\2192"; }
.links a:hover::after { color: var(--accent); transform: translate(2px, -1px); }
.links a[href^="/"]:hover::after { transform: translateX(3px); }
.links a span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: var(--line-strong); }
.links a:hover span { text-decoration-color: currentColor; }

/* a screenshot sits on a mat, so its edge reads on the page in light and dark */
.shot { display: block; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); padding: clamp(14px, 3.2vw, 44px); box-shadow: none; }
.shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.shot img { border-radius: 8px; box-shadow: var(--shadow); max-height: min(78vh, 760px); width: auto; max-width: 100%; margin-inline: auto; }
figcaption { margin-top: 14px; font-size: 0.875rem; line-height: 1.5; color: var(--muted); max-width: 40rem; text-wrap: pretty; }

/* ---------- home: intro ---------- */

.intro { padding-block: clamp(40px, 5.5vw, 88px) clamp(48px, 5vw, 80px); }
.intro .eyebrow { margin-bottom: clamp(20px, 2.5vw, 32px); display: flex; align-items: center; gap: 10px; }
.intro .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.intro .display { max-width: 13.5em; }
.intro .lede { margin-top: clamp(24px, 3vw, 40px); max-width: 33em; }

/* ---------- home: work ---------- */

.work { padding-bottom: var(--section); }
.project { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "fig" "body"; }
.project + .project { margin-top: clamp(80px, 9vw, 160px); }
.project__head .num { display: block; margin-bottom: 12px; }
.project__head h3 { font-family: var(--display); font-weight: 400; font-size: var(--step-3); line-height: 1.05; letter-spacing: -0.018em; }
.project__head .kicker { margin-top: 8px; color: var(--muted); }
.project__head { grid-area: head; }
.project__fig { grid-area: fig; }
.project__body { grid-area: body; display: grid; gap: 20px; align-content: start; }
.project__body p { max-width: 34em; text-wrap: pretty; }
.project__fig a { display: block; text-decoration: none; }
.project__fig a .shot { transition: transform 0.4s cubic-bezier(.2,.7,.2,1); }
.project__fig a:hover .shot { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .project__fig a:hover .shot { transform: none; } }

.meta { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 0.875rem; color: var(--muted); }
.meta li:not(:last-child)::after { content: "\00b7"; margin-inline: 0.6em; color: var(--decor); }

.project--text .statement { grid-area: fig; font-family: var(--serif); font-size: clamp(1.3125rem, 1.05rem + 0.9vw, 1.875rem); line-height: 1.35; letter-spacing: -0.01em; text-wrap: pretty; max-width: 22em; }

@media (min-width: 900px) {
  .project { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); row-gap: 28px; grid-template-rows: auto 1fr; grid-template-areas: none; }
  .project__head { grid-column: 1 / span 4; grid-row: 1; align-self: start; }
  .project__body { grid-column: 1 / span 4; grid-row: 2; }
  .project__fig { grid-column: 5 / -1; grid-row: 1 / span 2; }
  .project--feature .project__fig { grid-column: 6 / -1; }
  .project--flip .project__head, .project--flip .project__body { grid-column: 9 / -1; }
  .project--flip .project__fig { grid-column: 1 / span 8; }
  .project--text .statement { grid-column: 6 / -1; grid-row: 1 / span 2; align-self: start; padding-top: 30px; }
}

/* ---------- home: about + contact ---------- */

.about, .contact { padding-bottom: var(--section); }
.split { display: grid; gap: 24px; }
.split h2 { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.split > div { max-width: 38rem; }
.roles { margin-top: 1.1em; display: grid; gap: 6px; }
.roles li { padding-left: 1.4em; position: relative; }
.roles li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 0.7em; height: 1px; background: var(--decor); }
.roles + p { margin-top: 1.1em; }
.about .prose p:first-child { font-family: var(--serif); font-size: var(--step-1); line-height: 1.45; color: var(--text); }
.contact .big { font-family: var(--display); font-size: var(--step-3); line-height: 1.1; letter-spacing: -0.018em; }
.contact .big a { text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
.contact .links { margin-top: 28px; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); padding-top: 22px; border-top: 1px solid var(--line); }
  .split h2 { grid-column: 1 / span 4; padding-top: 0.45em; }
  .split > div { grid-column: 6 / -1; }
}
@media (max-width: 899px) {
  .split { padding-top: 18px; border-top: 1px solid var(--line); }
}

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 0.8125rem; color: var(--faint); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer a { color: var(--muted); }

/* ---------- case study ---------- */

.case-hero { padding-block: clamp(48px, 7vw, 120px) clamp(40px, 5vw, 72px); }
.case-hero .eyebrow { margin-bottom: 20px; }
.case-hero .eyebrow a { text-decoration: none; color: inherit; }
.case-hero .eyebrow a:hover { color: var(--text); }
.case-hero .dek { margin-top: clamp(16px, 2vw, 28px); font-family: var(--serif); font-size: var(--step-2); line-height: 1.28; letter-spacing: -0.01em; max-width: 24em; text-wrap: balance; }
.facts { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.facts dt { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.facts dd { color: var(--text); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.case-media { padding-bottom: var(--section); }

.chapter { padding-bottom: var(--section); }
.chapter__grid { display: grid; gap: 20px; }
.chapter__label { display: flex; gap: 14px; align-items: baseline; }
.chapter__label h2 { font-family: var(--display); font-weight: 400; font-size: var(--step-3); line-height: 1.05; letter-spacing: -0.018em; }
@media (min-width: 900px) {
  .chapter__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); }
  .chapter__label { grid-column: 1 / span 4; flex-direction: column; gap: 10px; }
  .chapter__body { grid-column: 6 / -1; }
  .chapter__label { position: sticky; top: 32px; align-self: start; }
}

.decisions { counter-reset: d; display: grid; gap: clamp(48px, 5vw, 72px); }
.decision > p, .decision > h3 { max-width: 38rem; }
.decision > p { text-wrap: pretty; }
.decision > p + p { margin-top: 1.1em; }
.decision h3 { font-family: var(--serif); font-weight: 600; font-size: var(--step-1); line-height: 1.3; letter-spacing: -0.005em; margin-bottom: 12px; display: flex; gap: 12px; align-items: baseline; }
.decision h3 .num { flex: none; }

.wide-fig { margin-top: clamp(40px, 5vw, 64px); position: relative; z-index: 1; background: var(--bg); }
@media (min-width: 900px) {
  .wide-fig { --extra: calc(100% / 7 * 5 + var(--cg) * 5 / 7); width: calc(100% + var(--extra)); margin-left: calc(-1 * var(--extra)); }
}
.shot--crop { display: none; }
@media (max-width: 640px) {
  .shot--full { display: none; }
  .shot--crop { display: block; }
}

/* video facade: a local poster and a play button; the player loads on click */
.facade { aspect-ratio: 16 / 9; padding: 0; background: #111; box-shadow: var(--shadow); }
.facade::after { box-shadow: inset 0 0 0 1px var(--frame); }
.facade a { display: block; position: absolute; inset: 0; color: #fff; text-decoration: none; }
.facade img { width: 100%; height: 100%; object-fit: cover; max-height: none; border-radius: 0; box-shadow: none; }
.facade__play { position: absolute; left: 50%; top: 50%; width: clamp(64px, 8vw, 88px); aspect-ratio: 1; border-radius: 50%; background: rgba(14, 14, 13, 0.62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 8px 28px rgba(0, 0, 0, 0.35); transform: translate(-50%, -50%); transition: transform 0.2s ease, background-color 0.2s ease; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.facade__play::before { content: ""; position: absolute; left: 50%; top: 50%; width: 30%; height: 34%; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translate(-38%, -50%); }
.facade__label { position: absolute; left: 16px; bottom: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(14, 14, 13, 0.62); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.01em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.facade a:hover .facade__play, .facade a:focus-visible .facade__play { transform: translate(-50%, -50%) scale(1.06); background: rgba(14, 14, 13, 0.8); }
.facade a:focus-visible { outline-offset: -4px; outline-color: #fff; }
.facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (prefers-reduced-motion: reduce) { .facade__play { transition: none; } }

/* two stills side by side; a still next to a pixel-true zoom of it */
.fig-pair, .fig-zoom { display: grid; gap: 12px; }
@media (min-width: 641px) {
  .fig-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig-zoom { grid-template-columns: minmax(0, 16fr) minmax(0, 12fr); align-items: start; }
}
.shot--pixel img { image-rendering: pixelated; }

/* colour key, sampled from the game, on the game's own purple-black */
.swatches { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.875rem; color: var(--muted); }
.swatches li { display: inline-flex; align-items: center; gap: 9px; }
.sw { width: 22px; height: 22px; border-radius: 3px; background: #160a24; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--frame); }
.sw::before { content: ""; width: 10px; height: 10px; background: var(--c); }
.sw--white { --c: #f8f7ff; }
.sw--pink { --c: #ff81d5; }
.sw--cyan { --c: #63edff; }
.sw--gold { --c: #ffe581; }

/* venue tiles */
.venues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
@media (min-width: 641px) { .venues { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .venues { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.venues img { width: 100%; border-radius: 6px; background: #111; box-shadow: var(--shadow); }
.venues span { display: flex; gap: 8px; align-items: baseline; margin-top: 9px; font-size: 0.8125rem; line-height: 1.35; color: var(--muted); }
.venues b { font-family: var(--mono); font-weight: 400; font-size: 0.75rem; color: var(--faint); }

.decisions--after { margin-top: clamp(48px, 5vw, 72px); }

/* who does what: three lanes on wide screens, a tagged list on phones */
.lanes { margin-top: clamp(32px, 4vw, 48px); }
.lanes__head { display: none; }
.lanes ol { counter-reset: step; display: grid; gap: 10px; }
.lanes li { counter-increment: step; position: relative; padding: 12px 16px 14px; border-radius: 8px; background: var(--surface); font-size: 0.9375rem; line-height: 1.5; }
.lanes li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 0.75rem; color: var(--faint); margin-bottom: 4px; }
.lanes .who { display: inline-block; margin-left: 8px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.lanes li .who { position: absolute; top: 15px; right: 18px; margin: 0; }
.lanes li.agent { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.lanes li.app { background-color: transparent; box-shadow: inset 0 0 0 1px var(--line); background-image: repeating-linear-gradient(135deg, transparent 0 6px, var(--surface) 6px 7px); }
@media (min-width: 900px) {
  .lanes__head { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
  .lanes__head span { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .lanes ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; background: linear-gradient(var(--line), var(--line)) calc(33.333% - 2px) 0 / 1px 100% no-repeat, linear-gradient(var(--line), var(--line)) calc(66.667% + 2px) 0 / 1px 100% no-repeat; }
  .lanes li.designer { grid-column: 1; }
  .lanes li.app { grid-column: 2; }
  .lanes li.agent { grid-column: 3; }
  .lanes li:nth-child(1) { grid-row: 1; }
  .lanes li:nth-child(2) { grid-row: 2; }
  .lanes li:nth-child(3) { grid-row: 3; }
  .lanes li:nth-child(4) { grid-row: 4; }
  .lanes li:nth-child(5) { grid-row: 5; }
  .lanes li:nth-child(6) { grid-row: 6; }
  .lanes li:nth-child(7) { grid-row: 7; }
  .lanes li .who { display: none; }
}
.lanes__key { margin-top: 16px; font-size: 0.8125rem; color: var(--faint); }

/* diagrams: inline SVG, coloured only through the tokens above, so they follow light and dark.
   Each diagram has a wide drawing and a tall one for phones; only one is shown. */
.diagram { border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(16px, 3vw, 40px); }
.diagram svg { display: block; width: 100%; height: auto; overflow: visible; }
.diagram .dg-tall { display: none; max-width: 420px; margin-inline: auto; }
@media (max-width: 640px) {
  .diagram .dg-wide { display: none; }
  .diagram .dg-tall { display: block; }
}
.dg-box { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1; }
.dg-box--accent { stroke: var(--accent); }
.dg-title { fill: var(--text); font-family: var(--sans); font-size: 15px; font-weight: 600; }
.dg-code { fill: var(--faint); font-family: var(--mono); font-size: 11.5px; }
.dg-text { fill: var(--muted); font-family: var(--sans); font-size: 12.5px; }
.dg-label { fill: var(--muted); font-family: var(--sans); font-size: 12px; }
.dg-accent { fill: var(--accent); font-weight: 600; }
.dg-line { fill: none; stroke: var(--decor); stroke-width: 1.5; }
.dg-line--accent { stroke: var(--accent); }
.dg-line--dash { stroke-dasharray: 5 4; }
.dg-track { fill: none; stroke: var(--line-strong); stroke-width: 2; }
.dg-node { fill: var(--bg); stroke: var(--text); stroke-width: 2; }
.dg-head { fill: var(--decor); }
.dg-head--accent { fill: var(--accent); }

/* artifacts from the repo, typeset as text */
.artifact { border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(18px, 3vw, 40px); font-size: 0.875rem; line-height: 1.55; overflow-wrap: anywhere; }
.artifact__src { font-family: var(--mono); font-size: 0.75rem; color: var(--faint); margin-bottom: 16px; }
.artifact__title { font-family: var(--mono); font-size: 0.8125rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.artifact p { max-width: 46rem; }
.artifact p + p, .artifact ul + p { margin-top: 0.9em; }
.artifact ul { margin-top: 0.6em; display: grid; gap: 4px; max-width: 46rem; }
.artifact li { padding-left: 1.2em; position: relative; }
.artifact li::before { content: ""; position: absolute; left: 0.2em; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--decor); }
.artifact code { font-family: var(--mono); font-size: 0.86em; background: var(--bg); padding: 0.05em 0.3em; border-radius: 4px; }
.artifact strong { font-weight: 600; color: var(--text); }
.artifact .gap { color: var(--faint); }
.artifact table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 0.8125rem; line-height: 1.45; }
.artifact th, .artifact td { text-align: left; vertical-align: top; padding: 9px 14px 9px 0; border-top: 1px solid var(--line); }
.artifact th { padding-top: 0; border-top: 0; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.artifact td:first-child { font-family: var(--mono); color: var(--faint); white-space: nowrap; }
.artifact td:last-child { color: var(--muted); }
@media (max-width: 640px) {
  .artifact thead { display: none; }
  .artifact table, .artifact tbody, .artifact tr, .artifact td { display: block; }
  .artifact tr { padding: 10px 0; border-top: 1px solid var(--line); }
  .artifact td { border-top: 0; padding: 0; }
  .artifact td + td { margin-top: 3px; }
  .artifact td[data-label]::before { content: attr(data-label) ": "; color: var(--faint); }
}

.next { padding-bottom: var(--section); }
.next a { display: block; text-decoration: none; border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px); }
.next .eyebrow { margin-bottom: 10px; }
.next .title { font-family: var(--display); font-size: var(--step-3); line-height: 1.05; letter-spacing: -0.018em; display: inline-flex; align-items: baseline; gap: 0.3em; }
.next .title::after { content: "\2192"; font-family: var(--sans); font-size: 0.6em; color: var(--decor); transition: transform 0.2s ease, color 0.2s ease; }
.next a:hover .title::after { transform: translateX(6px); color: var(--accent); }

@media print {
  .site-nav, .skip { display: none; }
  .shot { box-shadow: none; }
}
