/* The Vita Modern — "The Weekly Organizer"
   Ground #FAFAFA, ink #141414. Lids by format: gummy coral, capsule mint, softgel butter,
   tablet sky, liquid lilac, powder chalk (speckled), guides ink.
   Fonts: Unbounded (display, sparingly), Onest (body), Martian Mono (utility). */

@font-face { font-family: "Onest"; src: url(/assets/fonts/onest.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url(/assets/fonts/unbounded.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url(/assets/fonts/martianmono.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --ground: #FAFAFA;
  --panel: #FFFFFF;
  --ink: #141414;
  --ink-2: #333333;
  --muted: #5B5B5B;
  --line: #D9D9D9;
  --line-soft: #EBEBEB;
  --well: #F1F1EF;
  --mint: #BFE3D0;
  --lilac: #D9CCF2;
  --butter: #F5E29B;
  --sky: #BFD9F2;
  --coral: #F4B6A6;
  --chalk: #E7E4DC;
  --ok: #1E6B45;
  --err: #A1321F;
  --lid: var(--chalk);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, Consolas, "Courier New", monospace;
  --r-case: 26px;
  --r-well: 16px;
  --shadow-well: inset 0 2px 0 rgba(20, 20, 20, .06), inset 0 -1px 0 rgba(255, 255, 255, .9);
}

/* ---- format lids ---- */
.fmt-gummy { --lid: var(--coral); }
.fmt-capsule { --lid: var(--mint); }
.fmt-softgel { --lid: var(--butter); }
.fmt-tablet { --lid: var(--sky); }
.fmt-liquid { --lid: var(--lilac); }
.fmt-powder { --lid: var(--chalk); }
.fmt-read { --lid: var(--ink); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.62; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px var(--butter); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .82em; background: var(--well); padding: .1em .4em; border-radius: 6px; overflow-wrap: anywhere; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6em; }

/* ---- lid chip ---- */
.lid, .chip { display: inline-flex; align-items: center; gap: .45em; font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1; padding: .55em .9em; border-radius: 999px; }
.lid { background: var(--lid); color: var(--ink); border: 1.5px solid var(--ink); }
.lid::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--ink); }
.fmt-read .lid, .lid.fmt-read { color: #fff; }
.lid.fmt-read::before { background: #fff; }
.chip { background: var(--panel); border: 1.5px solid var(--line); color: var(--ink-2); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 .95rem/1 var(--body); padding: .95em 1.4em; border-radius: 999px; border: 2px solid var(--ink); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-ghost { background: var(--panel); color: var(--ink); }
.btn-accent { background: var(--ink); color: #fff; box-shadow: 0 5px 0 var(--coral); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--coral); }
.btn-primary:hover, .btn-ghost:hover { transform: translateY(-1px); }
.btn-block { display: flex; width: 100%; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }

/* ---- header ---- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 250, .96); border-bottom: 2px solid var(--ink); }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.wordmark { font-family: var(--display); font-weight: 500; font-size: 1.02rem; letter-spacing: -.02em; white-space: nowrap; }
.wordmark b { font-weight: 800; }
.nav { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 500; font-size: .93rem; padding: .5em .85em; border-radius: 999px; border: 1.5px solid transparent; }
.nav a:hover { border-color: var(--ink); }
.nav a[aria-current="page"] { background: var(--mint); border-color: var(--ink); }
.nav-toggle { display: none; margin-left: auto; font: 600 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--panel); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: .7em 1em; cursor: pointer; }

/* ---- sections ---- */
.section { padding: 72px 0; }
.section-alt { background: var(--panel); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0; }
.section-lede { max-width: 720px; color: var(--ink-2); }
.section-foot { margin-top: 28px; font-weight: 600; }

/* ---- hero ---- */
.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 .45em; }
.hero-title .hl { background: linear-gradient(transparent 58%, var(--butter) 58%, var(--butter) 92%, transparent 92%); padding: 0 .08em; }
.hero-lede { font-size: 1.1rem; color: var(--ink-2); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted); }
.hero-facts b { color: var(--ink); }

/* ---- the organizer (hero case) ---- */
.organizer { position: relative; background: var(--panel); border: 2.5px solid var(--ink); border-radius: var(--r-case); padding: 18px 16px 16px; box-shadow: 0 10px 0 -2px var(--ink); }
.org-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 4px 12px; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.org-top strong { color: var(--ink); }
.org-cells { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.org-cells li { min-width: 0; }
.org-cell { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); border-radius: 14px; background: var(--well); box-shadow: var(--shadow-well); overflow: hidden; border: 1.5px solid var(--ink); transition: transform .18s ease; }
.org-cell:hover { transform: translateY(-4px); }
.org-lid { background: var(--lid); border-bottom: 1.5px solid var(--ink); padding: 16px 4px 10px; text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 1.9vw, 1.45rem); letter-spacing: -.02em; position: relative; }
.org-lid::after { content: ""; display: block; width: 36%; height: 3px; margin: 6px auto 0; border-radius: 3px; background: rgba(20, 20, 20, .35); }
.fmt-read .org-lid { color: #fff; }
.fmt-read .org-lid::after { background: rgba(255, 255, 255, .5); }
.fmt-powder .org-lid, .fmt-powder .tray-lid, .fmt-powder .facts-lid { background-image: radial-gradient(rgba(20, 20, 20, .16) 1px, transparent 1.3px); background-size: 7px 7px; }
.org-body { min-height: 118px; padding: 12px 6px 14px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; flex: 1; }
.org-name { font-size: .78rem; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.org-count { font-family: var(--mono); font-size: .6rem; color: var(--muted); letter-spacing: .04em; }
.org-dots { display: flex; gap: 3px; flex-wrap: wrap; justify-content: center; margin-top: auto; }
.org-dots i { width: 9px; height: 9px; background: var(--lid); border: 1.5px solid var(--ink); border-radius: 50%; }
.fmt-capsule .org-dots i { width: 14px; border-radius: 6px; }
.fmt-gummy .org-dots i { border-radius: 3px; }
.fmt-softgel .org-dots i { width: 12px; border-radius: 50%; }
.org-cap { margin: 14px 4px 0; font-size: .82rem; color: var(--muted); }

/* ---- trays (catalog) ---- */
.trays { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tray { grid-column: span var(--span, 1); min-width: 0; background: var(--panel); border: 2.5px solid var(--ink); border-radius: var(--r-case); overflow: hidden; display: flex; flex-direction: column; }
.tray.span-1 { --span: 1; }
.tray.span-2 { --span: 2; }
.tray.span-4 { --span: 4; }
.tray-lid { background: var(--lid); border-bottom: 2.5px solid var(--ink); padding: 16px 18px 14px; position: relative; }
.tray-lid::before { content: ""; position: absolute; left: 50%; top: 7px; width: 44px; height: 4px; margin-left: -22px; border-radius: 4px; background: rgba(20, 20, 20, .28); }
.tray-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tray-name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; margin: 4px 0 2px; }
.tray-no { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; white-space: nowrap; }
.tray-note { margin: 4px 0 0; font-size: .86rem; line-height: 1.45; color: var(--ink-2); }
.fmt-read .tray-lid, .fmt-read .tray-note, .fmt-read .tray-no { color: #fff; }
.fmt-read .tray-lid::before { background: rgba(255, 255, 255, .45); }
.wells { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: repeat(var(--span, 1), minmax(0, 1fr)); gap: 12px; flex: 1; }
.wells li { min-width: 0; display: flex; }
.well { display: flex; flex-direction: column; width: 100%; text-decoration: none; color: var(--ink); background: var(--well); border-radius: var(--r-well); box-shadow: var(--shadow-well); padding: 12px; transition: background .18s ease; }
.well:hover { background: color-mix(in srgb, var(--lid) 35%, var(--well)); }
.well-photo { background: #fff; border-radius: 12px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 14px; margin-bottom: 12px; }
.well-photo img { max-height: 100%; width: auto; object-fit: contain; }
.well-body { display: flex; flex-direction: column; flex: 1; }
.well-title { font-size: 1rem; font-weight: 700; line-height: 1.25; margin: 0 0 6px; }
.well-sub { font-size: .86rem; line-height: 1.45; color: var(--ink-2); margin: 0 0 10px; }
.well-meta { margin-top: auto; display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.well-meta .go { color: var(--ink); font-weight: 600; }
.read-list { list-style: none; margin: 0; padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.read-list a { display: block; background: var(--well); box-shadow: var(--shadow-well); border-radius: 12px; padding: 10px 12px; font-size: .88rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
.read-list a:hover { background: var(--butter); }

/* ---- guides (articles) ---- */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.guide { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--panel); border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; transition: transform .18s ease; }
.guide:hover { transform: translateY(-3px); }
.guide-cover { border-bottom: 2px solid var(--ink); background: var(--well); }
.guide-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.guide-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.guide-title { font-size: 1.15rem; margin: 0; }
.guide-dek { font-size: .92rem; color: var(--ink-2); margin: 0; }

/* ---- how / method grid ---- */
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin: 24px 0; }
.how-item { background: var(--panel); border: 2px solid var(--ink); border-radius: 20px; padding: 0 20px 18px; overflow: hidden; min-width: 0; }
.how-item::before { content: ""; display: block; height: 14px; margin: 0 -20px 16px; background: var(--lid); border-bottom: 2px solid var(--ink); }
.how-item h3 { font-size: 1.05rem; }
.how-item p { font-size: .93rem; color: var(--ink-2); margin: 0; }

/* ---- newsletter ---- */
.brief { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--mint); border: 2.5px solid var(--ink); border-radius: var(--r-case); padding: 36px; }
.brief h2 { font-family: var(--display); font-size: 1.7rem; letter-spacing: -.03em; }
.nl-form { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-form input[type=email] { flex: 1 1 220px; min-width: 0; font: inherit; padding: .85em 1.1em; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); }
.nl-form button { font: 600 .95rem/1 var(--body); padding: .95em 1.4em; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; }
.nl-msg { min-height: 1.4em; margin-top: 8px; font-weight: 600; }
.nl-note { font-size: .8rem; color: var(--ink-2); margin: 8px 0 0; }

/* ---- breadcrumbs ---- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; color: var(--muted); padding: 24px 0 8px; }
.crumbs a { color: var(--ink-2); }

/* ---- product entry ---- */
.entry-head { padding: 12px 0 26px; border-bottom: 2px solid var(--ink); margin-bottom: 30px; }
.entry-title { font-size: clamp(1.8rem, 3.8vw, 2.6rem); letter-spacing: -.025em; margin: 14px 0 12px; max-width: 900px; }
.entry-deck { font-size: 1.12rem; color: var(--ink-2); max-width: 780px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--mono); font-size: .68rem; color: var(--muted); }
.entry-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 44px; align-items: start; padding-bottom: 72px; }
.entry-main, .entry-aside { min-width: 0; }
.entry-main h2 { font-size: 1.45rem; margin-top: 1.9em; }
.entry-main > h2:first-child { margin-top: 0; }
.entry-aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
.tldr { background: var(--panel); border: 2px solid var(--ink); border-radius: 20px; padding: 20px 22px 8px; }
.tldr h2 { font-size: 1.05rem; font-family: var(--mono); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px !important; }

/* week strip: one labeled serving per day, drawn in the product's format */
.week { margin: 26px 0 8px; }
.week-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 10px; }
.week-head h2 { font-size: 1.05rem !important; margin: 0 !important; }
.week-head p { margin: 0; font-family: var(--mono); font-size: .68rem; color: var(--muted); }
.week-strip { list-style: none; margin: 0; padding: 10px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; background: var(--panel); border: 2px solid var(--ink); border-radius: 20px; }
.week-strip li { min-width: 0; background: var(--well); box-shadow: var(--shadow-well); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.week-strip .d { display: block; background: var(--lid); border-bottom: 1.5px solid var(--ink); text-align: center; font-family: var(--mono); font-size: .6rem; font-weight: 600; letter-spacing: .06em; padding: 5px 0; }
.week-strip .units { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; align-content: center; padding: 10px 4px; min-height: 52px; }
.week-strip .u { display: block; width: 14px; height: 14px; background: var(--lid); border: 1.5px solid var(--ink); border-radius: 50%; }
.week-strip.fmt-gummy .u { border-radius: 35%; width: 15px; height: 13px; }
.week-strip.fmt-capsule .u { width: 20px; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--lid) 50%, #fff 50%); }
.week-strip.fmt-softgel .u { width: 18px; height: 12px; border-radius: 50%; }
.week-strip.fmt-tablet .u { width: 15px; height: 15px; border-radius: 50%; background: linear-gradient(90deg, var(--lid) 44%, var(--ink) 44% 56%, var(--lid) 56%); }
.week-strip.fmt-liquid .u { width: 11px; height: 15px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.week-strip.fmt-powder .u { width: 20px; height: 11px; border-radius: 3px 3px 10px 10px; }
.week-note { font-size: .82rem; color: var(--muted); margin: 8px 2px 0; }

/* checklist */
.checklist { list-style: none; margin: 0 0 1.2em; padding: 0; }
.checklist li { position: relative; padding: 0 0 12px 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .25em; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 50%; background: var(--panel); }
.checklist.all-done li::before, .checklist li.is-done::before { background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.5' fill='none' stroke='%23141414' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* tables */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0 24px; border: 2px solid var(--ink); border-radius: 16px; background: var(--panel); }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.data-table th, .data-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.data-table thead th { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; background: var(--well); border-bottom: 2px solid var(--ink); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td.num { font-family: var(--mono); font-size: .8rem; white-space: nowrap; }

/* callouts */
.callout { border: 2px solid var(--ink); border-radius: 18px; padding: 16px 20px 4px; margin: 24px 0; background: var(--panel); position: relative; }
.callout-label { display: inline-block; font-family: var(--mono); font-size: .64rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--sky); border: 1.5px solid var(--ink); border-radius: 999px; padding: .45em .8em; margin-bottom: 10px; }
.callout-watch .callout-label { background: var(--coral); }
.callout-key .callout-label { background: var(--mint); }
.callout-note .callout-label { background: var(--lilac); }

/* numbered steps */
.steps { list-style: none; counter-reset: s; margin: 16px 0 24px; padding: 0; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 18px 56px; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border: 2px solid var(--ink); border-radius: 50%; background: var(--butter); font-family: var(--mono); font-weight: 600; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--line); }
.steps h3 { font-size: 1.05rem; margin: 6px 0 4px; }
.steps p { margin: 0; }
.step-time { font-family: var(--mono); font-size: .66rem; font-weight: 500; color: var(--muted); margin-left: 6px; }

/* sources + disclosure */
.sources { font-size: .86rem; color: var(--ink-2); padding-left: 1.4em; }
.sources li { margin-bottom: 8px; overflow-wrap: anywhere; }
.disclosure { font-size: .82rem; color: var(--muted); }

/* format facts panel (aside) */
.facts { background: var(--panel); border: 2.5px solid var(--ink); border-radius: var(--r-case); overflow: hidden; }
.facts-lid { background: var(--lid); border-bottom: 2.5px solid var(--ink); padding: 16px 18px 12px; position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.facts-lid::before { content: ""; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(20, 20, 20, .28); }
.facts-title { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; margin: 0; }
.facts-lid .lid { background: #fff; }
.facts-photo { margin: 14px 14px 0; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-soft); padding: 16px; display: flex; justify-content: center; }
.facts-photo img { max-height: 300px; width: auto; }
.fs-nophoto { min-height: 160px; align-items: center; font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.facts-table { width: calc(100% - 28px); margin: 12px 14px 14px; border-collapse: collapse; font-size: .86rem; }
.facts-table th, .facts-table td { padding: 9px 0; border-bottom: 1px dashed var(--line); text-align: left; vertical-align: top; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }
.facts-table th { font-family: var(--mono); font-size: .62rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); width: 38%; padding-right: 10px; }
.facts-table tr.is-key td { font-weight: 700; }
.cta-box { background: var(--panel); border: 2px solid var(--ink); border-radius: 20px; padding: 18px; }
.cta-box .disclosure { margin: 12px 0 0; }
.aside-block { background: var(--panel); border: 2px solid var(--line); border-radius: 20px; padding: 16px 18px 8px; }
.aside-block h2, .toc h2 { font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.related { list-style: none; margin: 0; padding: 0; }
.related li { margin-bottom: 10px; }
.related a { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; }
.related a > span:last-child { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.related small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.related .lid { flex: none; margin-top: 2px; font-size: .58rem; }

/* ---- article ---- */
.article-head { padding: 12px 0 24px; max-width: 880px; }
.article-title { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.03em; margin: 14px 0 12px; }
.article-dek { font-size: 1.15rem; color: var(--ink-2); }
.article-byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: .68rem; color: var(--muted); }
.article-byline span:first-child { color: var(--ink); font-weight: 600; }
.article-cover { margin: 0 0 36px; border: 2.5px solid var(--ink); border-radius: var(--r-case); overflow: hidden; background: var(--panel); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; padding-bottom: 72px; }
.prose { min-width: 0; max-width: 740px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose ul:not(.checklist), .prose ol:not(.steps):not(.sources) { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.toc { position: sticky; top: 90px; background: var(--panel); border: 2px solid var(--ink); border-radius: 20px; padding: 18px; min-width: 0; }
.toc ol { margin: 0 0 16px; padding-left: 1.2em; font-size: .88rem; }
.toc li { margin-bottom: 6px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc-related { border-top: 1.5px dashed var(--line); padding-top: 14px; }

/* ---- docs ---- */
.doc-head { padding: 12px 0 22px; border-bottom: 2px solid var(--ink); margin-bottom: 28px; }
.doc-head h1 { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -.035em; margin: 6px 0 12px; }
.doc-head p { color: var(--ink-2); font-size: 1.05rem; }
.doc-meta { font-family: var(--mono); font-size: .66rem; color: var(--muted); letter-spacing: .03em; }
.doc { padding-bottom: 72px; }
.doc h2 { font-size: 1.35rem; margin-top: 1.8em; }
.doc ul:not(.checklist):not(.sources) { padding-left: 1.3em; }
.doc li { margin-bottom: 8px; }
.doc-card { background: var(--panel); border: 2.5px solid var(--ink); border-radius: 20px; padding: 18px 22px; margin: 20px 0; overflow: hidden; position: relative; }
.doc-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--mint); border-right: 2px solid var(--ink); }
.doc-card dl { margin: 0 0 0 10px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; }
.doc-card dt { font-family: var(--mono); font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: .3em; }
.doc-card dd { margin: 0; overflow-wrap: anywhere; }

/* ---- 404 ---- */
.nf { padding: 64px 20px 88px; max-width: 760px; }
.nf .big { font-family: var(--display); font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; margin: 0 0 .1em; }
.nf h1 { font-size: 1.9rem; }

/* ---- footer ---- */
.site-footer { background: var(--ink); color: #EDEDED; padding: 56px 0 28px; margin-top: 0; }
.site-footer a, .site-footer .linklike { color: #fff; }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid > * { min-width: 0; }
.footer-grid h5 { font-family: var(--mono); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--butter); margin: 0 0 12px; }
.footer-grid a, .footer-grid .linklike { display: block; font-size: .9rem; text-decoration: none; margin-bottom: 8px; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand .brand-mark rect:first-child { stroke: #fff; }
.footer-brand .brand-mark path { stroke: #fff; }
.footer-brand p { font-size: .9rem; color: #CFCFCF; }
.footer-contact { font-style: normal; font-size: .9rem; line-height: 1.6; }
.footer-contact strong { display: block; }
.footer-contact a { display: inline; overflow-wrap: anywhere; }
.footer-bottom { max-width: 1200px; margin: 36px auto 0; padding: 20px 20px 0; border-top: 1px solid #3A3A3A; font-size: .8rem; color: #BDBDBD; }
.footer-bottom p { margin: 0 0 8px; }

/* ---- cookie banner ---- */
#cookieBanner { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 640px; margin: 0 auto; background: var(--panel); border: 2.5px solid var(--ink); border-radius: 22px; padding: 16px 18px; box-shadow: 0 8px 0 -2px var(--ink); font-size: .88rem; }
#cookieBanner.show { display: block; }
#cookieBanner p { margin: 0 0 12px; }
.cookie-banner-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-banner-actions button { font: 600 .9rem/1 var(--body); padding: .8em 1.3em; border-radius: 999px; border: 2px solid var(--ink); cursor: pointer; }
#cbReject { background: var(--panel); color: var(--ink); }
#cbAccept { background: var(--ink); color: #fff; }

/* ---- responsive ---- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .trays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tray.span-4 { --span: 2; }
  .entry-grid, .article-grid { grid-template-columns: minmax(0, 1fr); }
  .entry-aside, .toc { position: static; }
  .entry-aside { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .org-body { min-height: 0; }
  body { font-size: 16px; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ground); border-bottom: 2px solid var(--ink); flex-direction: column; padding: 10px 16px 16px; gap: 4px; }
  .nav.is-open { display: flex; }
  .topbar-inner { position: relative; padding: 10px 16px; }
  .wrap, .wrap-narrow { padding: 0 16px; }
  .section { padding: 52px 0; }
  .org-cells { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .organizer { padding: 14px 10px 12px; }
  .trays { grid-template-columns: minmax(0, 1fr); }
  .tray.span-1, .tray.span-2, .tray.span-4 { --span: 1; }
  .tray.span-2 .wells, .tray.span-4 .wells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .well { padding: 10px; }
  .well-sub { display: none; }
  .tray.span-1 .well { flex-direction: row; align-items: center; gap: 14px; }
  .tray.span-1 .well-photo { width: 42%; flex: none; margin: 0; padding: 10px; }
  .tray.span-1 .well-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
  .tray.span-1 .well-sub { display: block; }
  .brief { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .week-strip { gap: 4px; padding: 6px; }
  .week-strip .units { padding: 8px 2px; }
  .nf { padding: 40px 16px 64px; }
}
@media (max-width: 380px) {
  .wordmark { font-size: .9rem; }
  .org-name { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
