@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/instrument-serif-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url('/fonts/instrument-serif-latin-400-italic.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/inter-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/inter-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/inter-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2')}
:root {
  --ground: #0B0D12;
  --ground-deep: #07090D;
  --panel: #10131A;
  --panel-hi: #12151C;
  --line: #2A2F3A;
  --text: #ECE8DF;
  --text-soft: #D4CFC4;
  --muted: #B4AFA3;
  --accent: #E3A15B;
  --accent-soft: #E9B57A;
  --accent-hover: #F6D9B4;
  --glow: #1A1F2B;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
a { color: var(--accent-soft); }
a:hover { color: var(--accent-hover); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--accent); color: var(--ground); padding: 10px 16px; z-index: 10; }

.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.label.accent { color: var(--accent); }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
.lede { color: var(--text-soft); }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
section { border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.pad { padding-top: 80px; padding-bottom: 80px; }
.stack { display: flex; flex-direction: column; gap: 40px; }

/* story strip */
.strip { border-bottom: 1px solid var(--line); background: var(--ground-deep); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 0 28px; align-items: center; padding-top: 0; padding-bottom: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.strip span, .strip a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.strip .title { color: var(--muted); }
.strip a { color: var(--text); text-decoration: none; }
.strip a:hover { color: var(--accent-hover); }
.strip .soon { color: var(--muted); }
.strip .here { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }

/* header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
.brand { font-family: var(--serif); font-size: 30px; line-height: 1.2; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-head nav { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: 15px; font-weight: 500; }
.site-head nav a { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }
.site-head nav a:hover { color: var(--accent-hover); }

/* hero */
.hero { background: radial-gradient(900px 520px at 78% 40%, var(--glow) 0%, var(--ground) 70%); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
.hero-copy { flex: 999 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 8.5vw, 112px); line-height: 0.95; letter-spacing: -0.02em; text-wrap: balance; }
.hero h1 em { color: var(--accent); }
.hero p { font-size: 20px; max-width: 510px; color: var(--text-soft); }
.hero-art { flex: 1 1 420px; min-width: 0; max-width: 560px; }
.hero-art svg { width: 100%; height: auto; display: block; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; background: var(--accent); color: var(--ground); font-weight: 600; font-size: 16px; text-decoration: none; border-radius: 2px; }
.btn:hover { background: var(--accent-hover); color: var(--ground); }
.btn.ghost { min-height: 50px; padding: 0 20px; background: transparent; border: 1px solid var(--text); color: var(--text); font-size: 15px; }
.btn.ghost:hover { border-color: var(--accent-hover); color: var(--accent-hover); background: transparent; }
.textlink { display: inline-flex; align-items: center; min-height: 54px; font-size: 16px; font-weight: 500; }

/* grids */
.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell { background: var(--ground); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.cell svg { width: 44px; height: 44px; }
.cell h3, .card h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.cell p { font-size: 16px; color: var(--text-soft); }
.cell .try { margin-top: auto; padding-top: 6px; font-size: 15px; color: var(--muted); }
strong { color: var(--text); font-weight: 600; }

.band { background: var(--panel); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 24px; }
.card { background: var(--ground); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 32px; }
.card p { font-size: 16px; color: var(--text-soft); }
.card .btn { margin-top: auto; }
.card .spacer { flex: 1; min-height: 4px; }

/* link list */
.split { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.split .head { flex: 1 1 320px; min-width: 0; }
.linklist { flex: 999 1 480px; min-width: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.linklist li { border-bottom: 1px solid var(--line); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; align-items: baseline; }
.linklist a { font-family: var(--serif); font-size: 28px; line-height: 1.2; }
.linklist span { color: var(--text-soft); font-size: 16px; }

/* story */
.story { background: var(--ground-deep); }
.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.part { background: var(--ground-deep); padding: 26px 22px; display: flex; flex-direction: column; gap: 8px; min-height: 140px; color: var(--text); text-decoration: none; }
a.part:hover { background: var(--panel); color: var(--text); }
.part .num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.part .name { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.part .what { font-size: 15px; color: var(--text-soft); }
.part.here { background: var(--panel-hi); box-shadow: inset 0 3px 0 var(--accent); }
.part.here .num { color: var(--accent); }

/* shop */
.shop .wrap { display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
.shop .head { flex: 999 1 420px; min-width: 0; }

/* footer */
footer .wrap { display: flex; flex-wrap: wrap; gap: 32px 64px; padding-top: 44px; padding-bottom: 60px; font-size: 15px; color: var(--text-soft); }
footer .about { flex: 999 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
footer .about p { max-width: 540px; }
footer .brand { font-size: 26px; }
footer nav { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .pad { padding-top: 56px; padding-bottom: 56px; }
  .hero .wrap { padding-top: 44px; padding-bottom: 44px; gap: 28px; }
  .hero p { font-size: 18px; }
  .cell, .card { padding: 24px; }
  .strip .wrap { display: flex; flex-wrap: wrap; gap: 0 16px; justify-content: flex-start; font-size: 11px; letter-spacing: 0.06em; }
  .strip .title { flex-basis: 100%; }
  .strip a, .strip .soon, .strip .here { white-space: nowrap; }
  .site-head nav { gap: 0 4px; }
  .shop .wrap { padding-top: 56px; padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* flagship: scale + meter */
.cell.focus { background: var(--panel-hi); box-shadow: inset 0 3px 0 var(--accent); }
.bignum { font-family: var(--serif); font-size: 64px; line-height: 1; }
.bignum sup { font-size: 32px; }
.bignum span { font-size: 28px; }
.meter { flex: 999 1 480px; min-width: 0; background: var(--ground); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.readout { display: flex; flex-wrap: wrap; gap: 8px 40px; align-items: baseline; justify-content: space-between; }
.readout > div { display: flex; flex-direction: column; }
.readout .k { font-family: var(--serif); font-size: 96px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.readout .w { font-family: var(--serif); font-size: 44px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.readout .w sup { font-size: 24px; }
.track { position: relative; height: 62px; }
.track .rail, .track .fill { position: absolute; left: 0; top: 28px; height: 4px; }
.track .rail { right: 0; background: var(--line); }
.track .fill { background: var(--accent); width: 24.3%; }
.track .us { position: absolute; left: 24.3%; top: 16px; width: 2px; height: 28px; background: var(--text); }
.track .us-label { position: absolute; left: 24.3%; top: -4px; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.track .tick { position: absolute; top: 44px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.track .tick.mid { transform: translateX(-50%); }
.track .tick.end { right: 0; }
.control { display: flex; flex-direction: column; gap: 8px; }
.control label { font-size: 15px; font-weight: 500; }
.control input { width: 100%; height: 44px; accent-color: var(--accent); }
.verdict { font-size: 16px; color: var(--text-soft); min-height: 52px; }
@media (max-width: 640px) { .meter { padding: 24px; } .readout .k { font-size: 72px; } .readout .w { font-size: 34px; } .bignum { font-size: 52px; } }

/* shop: shirt designs */
.designs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 24px; }
.design { display: flex; flex-direction: column; gap: 12px; }
.design .tee { background: var(--ground); border: 1px solid var(--line); padding: 0; overflow: hidden; }
.design .tee svg, .hero-art .teebig svg, .design .tee img, .hero-art .teebig img { width: 100%; height: auto; display: block; }
.design h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; }
.design p { font-size: 15px; color: var(--text-soft); }
.designs { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
@media (max-width: 640px) {
  .designs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .design { gap: 8px; }
  .design h3 { font-size: 15px; line-height: 1.25; }
  .design p { font-size: 13px; line-height: 1.4; }
}


/* progress report: stats + timeline */
.cells.four { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.stat { font-family: var(--serif); font-size: 60px; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 22px; color: var(--text-soft); white-space: nowrap; }
.years { counter-reset: none; }
.years li { justify-content: flex-start; flex-wrap: nowrap; gap: 28px; align-items: baseline; }
.years .year { font-family: var(--serif); font-size: 34px; line-height: 1.1; color: var(--accent); flex: 0 0 84px; font-variant-numeric: tabular-nums; }
.years .event { color: var(--text-soft); font-size: 17px; }
.parts { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
@media (max-width: 640px) { .stat { font-size: 50px; } .years li { gap: 18px; } .years .year { font-size: 28px; flex-basis: 66px; } }

/* ---- theme: atomic (mid-century space race) ---- */
@font-face{font-family:'Jost';font-weight:400;font-display:swap;src:url('/fonts/jost-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Jost';font-weight:500;font-display:swap;src:url('/fonts/jost-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Jost';font-weight:600;font-display:swap;src:url('/fonts/jost-latin-600-normal.woff2') format('woff2')}
body.atomic { --ground:#0D1320; --ground-deep:#090E18; --panel:#121A2A; --panel-hi:#17213A; --line:#2B3650; --text:#F3EBDD; --text-soft:#D9CFBD; --muted:#B3AA98; --ink:#1A2233; --paper:#F1E7D3; --geo:'Jost','Futura','Century Gothic',system-ui,sans-serif; }
.atomic h1, .atomic h2, .atomic h3, .atomic .brand, .atomic .part .name, .atomic .linklist a, .atomic .bignum, .atomic .stat, .atomic .readout .k, .atomic .readout .w, .atomic .years .year { font-family: var(--geo); font-weight: 500; letter-spacing: -0.015em; }
.atomic .hero h1 { font-size: clamp(46px, 7.2vw, 92px); line-height: 1; letter-spacing: -0.03em; }
.atomic .hero h1 em { font-family: var(--serif); font-size: 1.12em; letter-spacing: -0.01em; }
.atomic h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; }
.atomic .cell h3 { font-size: 25px; } .atomic .card h3 { font-size: 27px; } .atomic .part .name { font-size: 25px; } .atomic .linklist a { font-size: 24px; }
.atomic .label { font-family: var(--geo); font-weight: 600; font-size: 13px; letter-spacing: 0.2em; }
.atomic .strip .wrap { font-family: var(--geo); font-weight: 500; font-size: 13px; letter-spacing: 0.16em; }
.atomic .head .label::before { content: ''; display: inline-block; width: 15px; height: 15px; margin-right: 10px; vertical-align: -2px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cline x1='2.0' y1='20.0' x2='38.0' y2='20.0' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='10.9' y1='16.2' x2='29.1' y2='23.8' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='7.3' y1='7.3' x2='32.7' y2='32.7' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='16.2' y1='10.9' x2='23.8' y2='29.1' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='20.0' y1='2.0' x2='20.0' y2='38.0' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='23.8' y1='10.9' x2='16.2' y2='29.1' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='32.7' y1='7.3' x2='7.3' y2='32.7' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='29.1' y1='16.2' x2='10.9' y2='23.8' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='20' cy='20' r='1.6' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cline x1='2.0' y1='20.0' x2='38.0' y2='20.0' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='10.9' y1='16.2' x2='29.1' y2='23.8' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='7.3' y1='7.3' x2='32.7' y2='32.7' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='16.2' y1='10.9' x2='23.8' y2='29.1' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='20.0' y1='2.0' x2='20.0' y2='38.0' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='23.8' y1='10.9' x2='16.2' y2='29.1' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='32.7' y1='7.3' x2='7.3' y2='32.7' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='29.1' y1='16.2' x2='10.9' y2='23.8' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='20' cy='20' r='1.6' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat; }
.atomic .btn { border-radius: 999px; font-family: var(--geo); font-weight: 600; letter-spacing: 0.04em; font-size: 16px; }
.atomic .hero { position: relative; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cline x1='34.0' y1='70.0' x2='86.0' y2='70.0' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='46.8' y1='64.5' x2='73.2' y2='75.5' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='41.6' y1='51.6' x2='78.4' y2='88.4' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='54.5' y1='56.8' x2='65.5' y2='83.2' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='60.0' y1='44.0' x2='60.0' y2='96.0' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='65.5' y1='56.8' x2='54.5' y2='83.2' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='78.4' y1='51.6' x2='41.6' y2='88.4' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='73.2' y1='64.5' x2='46.8' y2='75.5' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='60' cy='70' r='2.3' fill='%2334405E'/%3E%3Cline x1='214.0' y1='190.0' x2='246.0' y2='190.0' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='221.9' y1='186.6' x2='238.1' y2='193.4' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='218.7' y1='178.7' x2='241.3' y2='201.3' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='226.6' y1='181.9' x2='233.4' y2='198.1' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='230.0' y1='174.0' x2='230.0' y2='206.0' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='233.4' y1='181.9' x2='226.6' y2='198.1' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='241.3' y1='178.7' x2='218.7' y2='201.3' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='238.1' y1='186.6' x2='221.9' y2='193.4' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='230' cy='190' r='1.6' fill='%2334405E'/%3E%3Cline x1='130.0' y1='280.0' x2='150.0' y2='280.0' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='134.9' y1='277.9' x2='145.1' y2='282.1' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='132.9' y1='272.9' x2='147.1' y2='287.1' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='137.9' y1='274.9' x2='142.1' y2='285.1' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='140.0' y1='270.0' x2='140.0' y2='290.0' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='142.1' y1='274.9' x2='137.9' y2='285.1' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='147.1' y1='272.9' x2='132.9' y2='287.1' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='145.1' y1='277.9' x2='134.9' y2='282.1' stroke='%2334405E' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='140' cy='280' r='1.6' fill='%2334405E'/%3E%3Ccircle cx='270' cy='60' r='2.5' fill='%2334405E'/%3E%3Ccircle cx='40' cy='210' r='2' fill='%2334405E'/%3E%3C/svg%3E") 0 0/320px 320px, radial-gradient(900px 520px at 78% 40%, var(--glow) 0%, var(--ground) 70%); }
.atomic .hero::after { content: ''; position: absolute; left: 50%; bottom: -27px; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; background: var(--ground) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23F3EBDD' stroke-width='1.6'%3E%3Cellipse cx='30' cy='30' rx='24' ry='9'/%3E%3Cellipse cx='30' cy='30' rx='24' ry='9' transform='rotate%2860 30 30%29'/%3E%3Cellipse cx='30' cy='30' rx='24' ry='9' transform='rotate%28120 30 30%29'/%3E%3C/g%3E%3Ccircle cx='30' cy='30' r='4' fill='%23F3EBDD'/%3E%3C/svg%3E") center/38px no-repeat; border: 1px solid var(--line); z-index: 2; }
.atomic .hero-art { position: relative; }
.atomic .hero-art::before { content: ''; position: absolute; inset: -4% -2%; background: var(--accent); opacity: 0.13; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 520'%3E%3Cpath d='M 60 330 Q 90 60 380 70 Q 520 80 530 190 Q 400 130 300 220 Q 210 300 200 470 Q 70 470 60 330 Z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 520'%3E%3Cpath d='M 60 330 Q 90 60 380 70 Q 520 80 530 190 Q 400 130 300 220 Q 210 300 200 470 Q 70 470 60 330 Z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat; }
.atomic .hero-art svg { position: relative; }
.atomic .cells, .atomic .parts { border-radius: 18px; overflow: hidden; }
.atomic .card, .atomic .meter { border-radius: 18px; }
/* cream "print ad" bands */
.atomic .band { background: var(--paper); color: var(--ink); border-bottom-color: var(--ink); }
.atomic .band h2, .atomic .band h3, .atomic .band strong { color: var(--ink); }
.atomic .band .lede, .atomic .band .card p, .atomic .band .event { color: #3A4256; }
.atomic .band .label, .atomic .band .label.accent { color: #4A4F5C; }
.atomic .band .card { background: #FBF6EA; border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--accent); }
.atomic .band .btn.ghost { border-color: var(--ink); color: var(--ink); }
.atomic .band .btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.atomic .band .linklist, .atomic .band .linklist li { border-color: #C9BDA3; }
.atomic .band .years .year { color: var(--ink); }
.atomic .band .meter { color: var(--text); border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--accent); }
.atomic .band .meter .label { color: var(--muted); }
.atomic .part.here, .atomic .cell.focus { box-shadow: inset 0 4px 0 var(--accent); }
@media (max-width: 640px) { .atomic .strip .wrap { font-size: 11.5px; letter-spacing: 0.1em; } }

@media (max-width: 640px) {
  .atomic .strip .wrap { display: flex; flex-wrap: wrap; gap: 0 16px; justify-content: flex-start; font-size: 12px; letter-spacing: 0.08em; }
  .atomic .strip a, .atomic .strip .soon, .atomic .strip .here { flex: 0 0 calc((100% - 32px) / 3); white-space: nowrap; }
}

/* Long-form pages, legal pages, FAQ */
.prose { max-width: 740px; padding: 64px 0 96px; }
.prose h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; margin: 12px 0 16px; letter-spacing: -0.03em; }
.prose .dek { font-size: 22px; line-height: 1.45; color: var(--text-soft); margin: 0 0 36px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 42px 0 14px; }
.prose p { font-size: 18px; line-height: 1.65; color: var(--text-soft); margin: 0 0 18px; }
.prose a { color: var(--accent-soft); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-hover); }
.crumb { font-family: var(--geo); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 28px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent-soft); }
.faq { margin: 48px 0 24px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--geo); font-weight: 500; font-size: 20px; list-style: none; padding: 4px 32px 4px 0; position: relative; min-height: 44px; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 24px; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 12px 0 0; }
.related { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.related ul, .guide-index { list-style: none; padding: 0; margin: 16px 0 0; }
.related li, .guide-index li { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.guide-index li { display: flex; flex-direction: column; gap: 6px; }
.guide-index li span, .related li { color: var(--text-soft); }
.guide-index a, .related a { color: var(--accent-soft); }
.article .card h3 a { color: inherit; text-decoration: none; }
.article .card h3 a:hover { color: var(--accent-hover); }
#guides .card h3 a { color: inherit; text-decoration: none; }
#guides .card h3 a:hover { color: var(--accent); }


/* visual explainers, fact boxes, reading rails, shirts plug, gear */
.explainer { margin: 28px 0 32px; background: var(--panel); border: 1px solid var(--line); }
.explainer img { width: 100%; height: auto; display: block; background: var(--panel); }
.explainer figcaption { padding: 12px 16px 14px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.explainer .credit { display: inline; }
.explainer .credit a { color: var(--accent-soft); }

.factbox { margin: 28px 0 32px; padding: 20px 22px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); display: flex; flex-direction: column; gap: 16px; }
.factbox .fact .label { margin-bottom: 6px; }
.factbox p { margin: 0; color: var(--text-soft); font-size: 16px; }

.reading { margin: 48px 0 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.reading h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 16px; }
.prose .reading .linklist, .prose .linklist { list-style: none; padding: 0; margin: 0; }
.prose .reading li, aside.reading li { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.prose .reading li:last-child, aside.reading li:last-child { border-bottom: 1px solid var(--line); }

.shirts-plug { margin: 48px 0 8px; padding: 28px 28px 32px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.shirts-plug h2 { font-size: clamp(28px, 3.4vw, 40px); }
.shirts-plug p { color: var(--text-soft); max-width: 640px; margin: 0 0 8px; }
section#shirts-plug, aside.shirts-plug { scroll-margin-top: 16px; }
#main > .shirts-plug, section.shirts-home .shirts-plug { margin: 0; border: 0; background: transparent; padding: 0; }
/* homepage shirts as a section wrapper is the aside itself after story; give it section chrome */
#main > aside.shirts-plug { display: block; border-bottom: 1px solid var(--line); margin: 0; padding: 80px 24px; max-width: 1200px; margin-left: auto; margin-right: auto; }

#gear .linklist, #merch .linklist { list-style: none; padding: 0; margin: 0; max-width: 740px; }
#gear .linklist, #merch .linklist li { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
#gear .linklist, #merch .linklist li:last-child { border-bottom: 1px solid var(--line); }
#gear .linklist, #merch .linklist span { color: var(--text-soft); }

@media (max-width: 640px) {
  .explainer { margin: 20px -8px 24px; }
  .factbox { padding: 16px; }
  .shirts-plug { padding: 22px 18px 24px; }
  #main > aside.shirts-plug { padding: 48px 24px; }
}
