/* LegacyData by Kamyab — public site. Design system: docs/DESIGN.md */

/* ---------- Fonts ---------- */
@font-face { font-family: "LD Rupee"; src: url(/fonts/rupee.woff2) format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+20B9; }
@font-face { font-family: "Newsreader"; src: url(/fonts/newsreader-roman.woff2) format("woff2"); font-weight: 350 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(/fonts/newsreader-italic.woff2) format("woff2"); font-weight: 350 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(/fonts/hanken-grotesk.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(/fonts/plex-mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --paper: #F4EFE6; --paper-2: #EBE4D6; --card: #FBF8F2;
  --ink: #1C1915; --ink-2: #4A443B; --muted: #6A6256; --line: #D9D0BF; --line-2: #C7BCA7;
  --archive: #1F3A2E; --archive-2: #2E5442; --on-archive: #F4EFE6; --on-archive-2: #C9D3C8; --archive-line: #3B5A4B;
  --clay: #A4512F; --brass: #B89A5E; --amber: #7A5F22; --urgent: #8E2B1C;

  --serif: "LD Rupee", "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "LD Rupee", "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "LD Rupee", "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.875rem; --step-0: 1.0625rem; --step-1: 1.25rem; --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  --step-4: clamp(2.125rem, 1.5rem + 2.6vw, 3.25rem);
  --step-5: clamp(2.375rem, 1.3rem + 4.6vw, 4.75rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: clamp(72px, 11vw, 152px);
  --gutter: clamp(20px, 4vw, 48px);
  --wrap: 1240px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-paper: 0 1px 0 rgba(28, 25, 21, .04), 0 18px 40px -24px rgba(28, 25, 21, .35);
  --header-h: 68px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.6 var(--sans); font-feature-settings: "kern"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 450; line-height: 1.1; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--archive); }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--clay); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--archive); color: var(--paper); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: var(--s-3) var(--s-4); }
.skip:focus { top: var(--s-4); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.band { background: var(--paper-2); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.grid { display: grid; gap: var(--s-6) var(--s-6); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid > * { grid-column: 1 / -1; }
.stack-lg > * + * { margin-top: var(--s-6); }
.measure { max-width: 64ch; }

/* ---------- Type helpers ---------- */
.label { font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.label--ink { color: var(--ink); }
.eyebrow { display: flex; align-items: center; gap: var(--s-3); font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-5); }
.eyebrow::after { content: ""; flex: 0 1 72px; height: 1px; background: currentColor; opacity: .5; }
.display { font-size: var(--step-5); line-height: 1.03; letter-spacing: -0.022em; font-weight: 420; }
.h-xl { font-size: var(--step-4); }
.h-lg { font-size: var(--step-3); }
.h-md { font-size: var(--step-2); line-height: 1.2; }
.h-sm { font-size: var(--step-1); line-height: 1.3; font-weight: 500; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.serif { font-family: var(--serif); }
.num { font-family: var(--serif); font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Buttons & links ---------- */
.btn { --bg: var(--archive); --fg: var(--on-archive); display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 50px; padding: 0 var(--s-5); background: var(--bg); color: var(--fg); border: 1px solid var(--bg); border-radius: var(--radius); font: 600 1rem/1.2 var(--sans); letter-spacing: 0.005em; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .12s var(--ease); white-space: nowrap; }
.btn:hover { --bg: var(--archive-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); }
.btn--light { --bg: var(--paper); --fg: var(--archive); }
.btn--light:hover { --bg: #fff; }
.btn--ghost-light { --bg: transparent; --fg: var(--on-archive); border-color: rgba(244, 239, 230, .55); }
.btn--ghost-light:hover { --bg: var(--paper); --fg: var(--archive); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }
.arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; padding-block: var(--s-2); }
.arrow::after { content: "→"; font-family: var(--sans); transition: transform .2s var(--ease); }
.arrow:hover::after { transform: translateX(4px); }
.arrow:hover { text-decoration: underline; text-decoration-color: var(--clay); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); height: var(--header-h); }
.brand { display: inline-flex; align-items: baseline; gap: var(--s-2); text-decoration: none; color: var(--ink); }
.brand__name { font: 500 1.4rem/1 var(--serif); letter-spacing: -0.02em; }
.brand__name em { font-style: italic; color: var(--archive); }
.brand__by { font: 500 0.6875rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav { display: none; }
.nav a { text-decoration: none; font-size: 0.9375rem; color: var(--ink-2); padding: var(--s-2) 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: none; }
.menu { position: relative; }
.menu > summary { list-style: none; display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-3); border: 1px solid var(--ink); border-radius: var(--radius); cursor: pointer; font: 600 0.9375rem/1 var(--sans); }
.menu > summary::-webkit-details-marker { display: none; }
.menu__icon { width: 16px; height: 10px; position: relative; }
.menu__icon::before, .menu__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s var(--ease); }
.menu__icon::before { top: 1px; } .menu__icon::after { bottom: 1px; }
.menu[open] .menu__icon::before { transform: translateY(3.5px) rotate(45deg); }
.menu[open] .menu__icon::after { transform: translateY(-3.5px) rotate(-45deg); }
.menu__panel { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: var(--s-4) var(--gutter) var(--s-6); max-height: calc(100dvh - var(--header-h)); overflow: auto; }
.menu__panel a { display: block; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); font: 450 1.375rem/1.2 var(--serif); text-decoration: none; }
.menu__panel .btn { margin-top: var(--s-5); width: 100%; font: 600 1rem/1.2 var(--sans); border-bottom: 0; padding-block: 0; }
@media (min-width: 1000px) {
  .nav { display: flex; gap: var(--s-6); }
  .header-cta { display: inline-flex; min-height: 42px; padding: 0 var(--s-4); font-size: 0.9375rem; }
  .menu { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D8D1C4; padding-block: var(--s-9) var(--s-7); font-size: 0.9375rem; }
.site-footer a { color: #F1EBDF; text-decoration-color: rgba(241, 235, 223, .35); }
.site-footer a:hover { text-decoration-color: var(--brass); }
.site-footer .brand { color: #F4EFE6; }
.site-footer .brand__name em { color: var(--brass); }
.site-footer .brand__by { color: #A79F91; }
.footer-grid { display: grid; gap: var(--s-7) var(--s-6); grid-template-columns: 1fr; }
.footer-col h2 { font: 500 0.75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #A79F91; margin-bottom: var(--s-4); }
.footer-col li { list-style: none; margin-bottom: var(--s-2); }
.footer-tag { font: 400 var(--step-2)/1.25 var(--serif); color: #F4EFE6; max-width: 22ch; margin-top: var(--s-5); }
.footer-tag em { color: var(--brass); }
.footer-base { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid #3A352E; color: #A79F91; font-size: 0.8125rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Figure ---------- */
.fig { margin: 0; }
.fig picture, .fig img { width: 100%; }
.fig img { background: var(--paper-2); }
.fig figcaption { display: flex; gap: var(--s-3); margin-top: var(--s-3); font: 500 0.75rem/1.5 var(--mono); letter-spacing: .04em; color: var(--muted); }
.fig figcaption b { font-weight: 500; color: var(--ink); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

/* ---------- Ledger (numbered rows; replaces card grids) ---------- */
.ledger { list-style: none; border-top: 1px solid var(--ink); }
.ledger > li { display: grid; grid-template-columns: 3rem 1fr; gap: var(--s-2) var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); transition: background-color .25s var(--ease); }
.ledger__n { font: 500 0.75rem/1.9 var(--mono); letter-spacing: .08em; color: var(--muted); }
.ledger__t { font: 450 var(--step-2)/1.2 var(--serif); }
.ledger__d { grid-column: 2; color: var(--ink-2); }
.ledger--link > li { display: block; padding: 0; }
.ledger--link a { display: grid; grid-template-columns: 3rem 1fr auto; gap: var(--s-2) var(--s-4); align-items: baseline; padding: var(--s-5) var(--s-2) var(--s-5) 0; text-decoration: none; }
.ledger--link a:hover { background: rgba(31, 58, 46, .04); }
.ledger--link a:hover .ledger__t { text-decoration: underline; text-decoration-color: var(--clay); text-decoration-thickness: 1px; text-underline-offset: .15em; }
.ledger--link a::after { content: "→"; color: var(--muted); transition: transform .2s var(--ease); }
.ledger--link a:hover::after { transform: translateX(4px); color: var(--ink); }

/* ---------- Price list ---------- */
.prices { list-style: none; border-top: 1px solid var(--ink); }
.prices > li { display: grid; gap: var(--s-2) var(--s-6); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.prices__name { font: 450 var(--step-2)/1.2 var(--serif); }
.prices__sum { color: var(--ink-2); max-width: 52ch; }
.prices__from { font: 450 var(--step-2)/1.2 var(--serif); white-space: nowrap; }
.prices__from small { display: block; font: 500 0.6875rem/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prices__inc { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); margin-top: var(--s-3); font-size: var(--step--1); color: var(--ink-2); }
.prices__inc li::before { content: "— "; color: var(--muted); }
@media (min-width: 760px) { .prices > li { grid-template-columns: 1fr 1.4fr auto; align-items: baseline; } }

/* ---------- Sheet (specimen paper record) ---------- */
.sheet { background: var(--card); box-shadow: var(--shadow-paper); border: 1px solid #E6DECF; border-radius: 3px; padding: var(--s-6); position: relative; color: var(--ink); }
.sheet__head { display: flex; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.stamp { position: absolute; top: var(--s-5); right: var(--s-5); font: 500 0.6875rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--clay); border: 1px solid currentColor; padding: 6px 8px; transform: rotate(4deg); }
.log { list-style: none; margin-top: var(--s-4); }
.log li { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--s-3); padding: var(--s-2) 0; border-bottom: 1px dashed var(--line); font-size: 0.875rem; }
.log time, .log .k { font: 500 0.6875rem/1.9 var(--mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.log b { font: 500 0.75rem/1.6 var(--mono); letter-spacing: .06em; }

/* ---------- Vault (dark archival section) ---------- */
.vault { background: var(--archive); color: var(--on-archive); }
.vault .eyebrow, .vault .label, .vault .muted { color: var(--on-archive-2); }
.vault h2 em, .vault h3 em { color: var(--brass); }
.vault .lede { color: var(--on-archive-2); }
.vault a:not(.btn) { color: var(--on-archive); text-decoration-color: rgba(244,239,230,.4); }
.vault :focus-visible { outline-color: var(--brass); }
.vault .rule { border-top-color: var(--archive-line); }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-block: clamp(48px, 8vw, 112px) clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-head .display { font-size: var(--step-4); max-width: 20ch; }
.page-head .lede { margin-top: var(--s-5); max-width: 56ch; }
@media (min-width: 960px) {
  .page-head .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--s-9); align-items: end; }
  .page-head .wrap > * { grid-column: 1 / -1; }
  .page-head .wrap > .display { grid-column: 1; }
  .page-head .wrap > .lede { grid-column: 2; margin-top: 0; padding-bottom: .4em; }
  .page-head .wrap > :not(nav):not(.label):not(.display):not(.lede) { margin-top: var(--s-6); }
}
.crumbs { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; font: 500 0.75rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-6); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--line-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   HOME
   ========================================================= */
.hero { padding-block: clamp(32px, 6vw, 88px) clamp(56px, 8vw, 120px); }
.hero__label { margin-bottom: var(--s-5); }
.hero__title { font-size: var(--step-5); line-height: 1.03; letter-spacing: -0.024em; font-weight: 420; max-width: 21ch; }
.hero__title em { font-style: italic; color: var(--archive); }
.hero__body { display: grid; gap: var(--s-7); margin-top: clamp(28px, 4vw, 56px); }
.hero__lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 40ch; }
.hero__actions { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.hero__actions .btn { width: 100%; }
.hero__tert { margin-top: var(--s-2); }
.hero__promise { list-style: none; margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); display: grid; gap: var(--s-2); font-size: 0.9375rem; color: var(--ink-2); }
.hero__promise li { display: flex; gap: var(--s-3); align-items: baseline; }
.hero__promise li::before { content: ""; flex: none; width: 10px; height: 6px; border-left: 1.5px solid var(--archive); border-bottom: 1.5px solid var(--archive); transform: rotate(-45deg) translateY(-3px); }
.hero__by { margin-top: var(--s-5); }
.hero__by a { color: inherit; }
.hero__fig { position: relative; }
.hero__fig .fig__frame { overflow: hidden; }
.hero__fig img { will-change: transform; }
.js .hero__fig img { transform: scale(1.04); }
@media (min-width: 560px) { .hero__actions { display: flex; flex-wrap: wrap; } .hero__actions .btn { width: auto; } }
@media (min-width: 960px) {
  .hero__body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: start; }
  .hero__fig { margin-right: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2)); }
  .hero__fig figcaption { padding-right: var(--gutter); }
}

/* Archive drift (device timeline → one archive) */
.drift { position: relative; }
.drift__intro { display: grid; gap: var(--s-5); margin-bottom: var(--s-7); }
.drift__devices { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); position: relative; z-index: 2; }
.device { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 3px; padding: var(--s-4); min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .4s var(--ease), transform .4s var(--ease); }
.device__no { position: absolute; top: var(--s-3); right: var(--s-3); font: 500 0.625rem/1 var(--mono); letter-spacing: .08em; color: var(--muted); }
.device svg { width: 40px; height: 40px; color: var(--ink-2); }
.device__year { font: 500 0.75rem/1 var(--mono); letter-spacing: .08em; color: var(--clay); }
.device__name { font: 450 1.1875rem/1.2 var(--serif); margin-top: var(--s-2); }
.device__meta { font: 500 0.6875rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: var(--s-1); }
.device:last-child:nth-child(odd) { grid-column: 1 / -1; }
.drift__files { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.file { position: absolute; left: 0; top: 0; width: 18px; height: 22px; border-radius: 1px; background: var(--card); border: 1px solid var(--ink-2); opacity: 0; will-change: transform, opacity; }
.file::before { content: ""; position: absolute; left: 3px; right: 3px; top: 5px; height: 1px; background: currentColor; box-shadow: 0 4px 0 currentColor, 0 8px 0 currentColor; color: var(--line-2); }
.file--photo { background: #E9DCC4; }
.file--photo::before { left: 3px; right: 3px; top: auto; bottom: 3px; height: 8px; background: var(--archive-2); box-shadow: none; clip-path: polygon(0 100%, 35% 30%, 60% 70%, 80% 45%, 100% 100%); }
.file--video { background: var(--ink-2); border-color: var(--ink); }
.file--video::before { left: 6px; top: 6px; right: auto; width: 0; height: 0; background: none; box-shadow: none; border-left: 7px solid var(--card); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.drift.is-running .file { animation: drift var(--dur, 3.2s) var(--delay, 0s) cubic-bezier(.45, .05, .25, 1) 1 both; }
@keyframes drift {
  0% { opacity: 0; transform: translate(var(--x0), var(--y0)) rotate(var(--r, -6deg)) scale(.9); }
  12% { opacity: 1; }
  78% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x1), var(--y1)) rotate(0deg) scale(.6); }
}
.archive-tray { position: relative; z-index: 1; margin-top: var(--s-7); background: var(--archive); color: var(--on-archive); border-radius: 3px; padding: var(--s-5) var(--s-5); display: grid; gap: var(--s-4); align-items: center; }
.archive-tray__label { font: 500 0.6875rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-archive-2); }
.archive-tray__title { font: 450 var(--step-3)/1.1 var(--serif); position: relative; min-height: 1.2em; }
.archive-tray__title span { display: block; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.archive-tray__title .t2 { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); color: var(--on-archive); }
.archive-tray__title .t2 em { font-style: italic; color: var(--brass); }
.drift.is-preserved .archive-tray__title .t1 { opacity: 0; transform: translateY(-10px); }
.drift.is-preserved .archive-tray__title .t2 { opacity: 1; transform: none; }
.archive-tray__folders { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; }
.archive-tray__folders li { font: 500 0.6875rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 10px; border: 1px solid var(--archive-line); border-radius: 2px; color: var(--on-archive-2); transition: border-color .4s, color .4s; }
.drift.is-preserved .archive-tray__folders li { border-color: rgba(184, 154, 94, .6); color: var(--on-archive); }
.tick { width: 22px; height: 22px; flex: none; }
.tick path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .6s var(--ease) .1s; }
.is-preserved .tick path, .is-done .tick path, html:not(.js) .tick path { stroke-dashoffset: 0; }
@media (min-width: 760px) {
  .drift__devices { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .device:last-child:nth-child(odd) { grid-column: auto; }
  .device { min-height: 168px; }
  .drift__intro { grid-template-columns: 7fr 5fr; align-items: end; }
  .archive-tray { grid-template-columns: 1fr auto; padding: var(--s-6) var(--s-7); }
  .drift__devices::after { content: ""; position: absolute; left: 10%; right: 10%; top: 50%; height: 1px; background: var(--line); z-index: -1; }
}

/* Problem */
.problem { display: grid; gap: var(--s-7); }
.problem__items { list-style: none; border-top: 1px solid var(--ink); }
.problem__items li { display: grid; grid-template-columns: 5.5rem 1fr; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.problem__items .label { color: var(--clay); }
.problem__items span:last-child { font: 400 1.0625rem/1.4 var(--serif); }
.problem__kicker { font: 420 var(--step-4)/1.05 var(--serif); letter-spacing: -0.02em; max-width: 14ch; }
.problem__kicker em { color: var(--archive); }
@media (min-width: 960px) {
  .problem { grid-template-columns: 6fr 5fr; gap: var(--s-8); align-items: start; }
  .problem__fig { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* Emotional value */
.memories { display: grid; gap: var(--s-7); align-items: center; }
.memories__list { font: 400 clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem)/1.35 var(--serif); letter-spacing: -0.01em; color: var(--ink); }
.memories__list span { white-space: nowrap; }
.memories__list i { color: var(--archive); }
.memories__list .sep { color: var(--line-2); margin: 0 .25em; }
@media (min-width: 960px) { .memories { grid-template-columns: 5fr 6fr; gap: var(--s-9); } .memories__fig { order: -1; } }

/* Process */
.process { display: grid; gap: var(--s-7); }
.process__aside { align-self: start; }
.steps { list-style: none; position: relative; counter-reset: step; }
.steps::before, .steps::after { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 1px; background: var(--line-2); }
.steps::after { background: var(--archive); transform-origin: top; transform: scaleY(var(--progress, 0)); transition: transform .2s linear; }
html:not(.js) .steps::after { transform: scaleY(1); }
.step { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: var(--s-2) var(--s-5); padding: 0 0 var(--s-7); }
.step:last-child { padding-bottom: 0; }
.step__dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); display: grid; place-items: center; font: 500 0.75rem/1 var(--mono); color: var(--muted); transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s; }
.step__dot .tick { position: absolute; width: 16px; height: 16px; color: var(--on-archive); opacity: 0; transition: opacity .3s; }
.step__dot .tick path { stroke-width: 2.4; }
.step__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2) var(--s-4); }
.step__name { font: 450 var(--step-3)/1.1 var(--serif); }
.step__status { font: 500 0.6875rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 2px; color: var(--muted); }
.step__status::before { content: "Pending"; }
.step__body { grid-column: 2; color: var(--ink-2); max-width: 52ch; }
.step__body p + p { margin-top: var(--s-2); }
.step.is-active .step__dot { border-color: var(--archive); color: var(--archive); }
.step.is-active .step__status { border-color: var(--amber); color: var(--amber); }
.step.is-active .step__status::before { content: "In progress"; }
.step.is-done .step__dot, html:not(.js) .step .step__dot { background: var(--archive); border-color: var(--archive); color: transparent; }
.step.is-done .step__dot .tick, html:not(.js) .step .step__dot .tick { opacity: 1; }
.step.is-done .step__status, html:not(.js) .step .step__status { border-color: var(--archive); color: var(--archive); }
.step.is-done .step__status::before, html:not(.js) .step .step__status::before { content: "Verified ✓"; }
@media (min-width: 960px) {
  .process { grid-template-columns: 4fr 7fr; gap: var(--s-9); }
  .process__aside { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* Trust (centrepiece) */
.trust { display: grid; gap: var(--s-8); }
.trust__head { display: grid; gap: var(--s-5); }
.clauses { list-style: none; counter-reset: clause; border-top: 1px solid var(--archive-line); }
.clauses li { display: grid; grid-template-columns: 2.75rem 1fr; gap: var(--s-1) var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--archive-line); }
.clauses li::before { counter-increment: clause; content: counter(clause, decimal-leading-zero); font: 500 0.75rem/2 var(--mono); letter-spacing: .08em; color: var(--brass); grid-row: span 2; }
.clauses b { font: 450 1.3125rem/1.3 var(--serif); font-weight: 450; color: var(--on-archive); }
.clauses span { color: var(--on-archive-2); font-size: 0.9375rem; }
.trust__side { display: grid; gap: var(--s-6); align-content: start; }
.trust__side .fig figcaption { color: var(--on-archive-2); }
.trust__side .fig figcaption b { color: var(--on-archive); }
.vault .sheet { color: var(--ink); }
.vault .sheet .label, .vault .sheet .muted { color: var(--muted); }
.vault .sheet a { color: var(--ink); }
@media (min-width: 960px) {
  .trust { grid-template-columns: 7fr 5fr; gap: var(--s-9); }
  .trust__head { grid-column: 1 / -1; grid-template-columns: 7fr 5fr; gap: var(--s-9); align-items: end; }
  .clauses { columns: 2; column-gap: var(--s-7); border-top: 0; }
  .clauses li { break-inside: avoid; border-top: 1px solid var(--archive-line); border-bottom: 0; }
}

/* Why ₹25,000 — work chain */
.price { display: grid; gap: var(--s-7); }
.price__figure { font: 400 clamp(3.5rem, 2rem + 6vw, 6.5rem)/0.95 var(--serif); letter-spacing: -0.035em; color: var(--archive); }
.price__figure small { display: block; font: 500 0.75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-3); }
.chain { list-style: none; counter-reset: chain; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
.chain li { counter-increment: chain; display: grid; grid-template-columns: 2.5rem 1fr; gap: 0 var(--s-3); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.chain li::before { content: counter(chain, decimal-leading-zero); font: 500 0.75rem/1.9 var(--mono); color: var(--muted); grid-row: span 2; }
.chain b { font: 450 1.25rem/1.3 var(--serif); font-weight: 450; }
.chain span { color: var(--ink-2); font-size: 0.9375rem; }
@media (min-width: 700px) { .chain { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); } }
@media (min-width: 1100px) { .chain { grid-template-columns: repeat(3, 1fr); } .price { grid-template-columns: 4fr 8fr; gap: var(--s-9); } }

/* DIY / education funnel */
.diy { display: grid; gap: var(--s-7); }
.diy__alt { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--ink-2); max-width: 44ch; }
@media (min-width: 960px) { .diy { grid-template-columns: 5fr 7fr; gap: var(--s-9); } }

/* Services teaser */
.split { display: grid; gap: var(--s-6) var(--s-9); }
@media (min-width: 960px) { .split { grid-template-columns: 4fr 8fr; } .split--even { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: var(--s-5); padding: var(--s-5) 0; cursor: pointer; font: 450 var(--step-1)/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: .45em; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq summary:hover { color: var(--archive); }
.faq__a { padding: 0 0 var(--s-5); color: var(--ink-2); max-width: 62ch; }

/* Final CTA */
.final { display: grid; gap: var(--s-7); align-items: end; }
.final__title { font: 420 var(--step-5)/1.03 var(--serif); letter-spacing: -0.024em; max-width: 14ch; }
.final__contact { list-style: none; display: grid; gap: var(--s-3); font-size: 0.9375rem; color: var(--on-archive-2); }
.final__contact a { font: 450 1.25rem/1.3 var(--serif); color: var(--on-archive); text-decoration: none; }
.final__contact a:hover { text-decoration: underline; }
@media (min-width: 960px) { .final { grid-template-columns: 7fr 5fr; gap: var(--s-9); } }

/* Mobile sticky CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: var(--s-2); padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom)); background: rgba(244, 239, 230, .97); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
.sticky-cta.is-shown { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 48px; }
.sticky-cta .btn--ghost { flex: 0 0 auto; padding: 0 var(--s-4); }
@media (min-width: 1000px) { .sticky-cta { display: none; } }

/* =========================================================
   FORMS
   ========================================================= */
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field > label, .field > .field__label, fieldset > legend { font-weight: 600; font-size: 0.9375rem; }
.field__hint { font-size: 0.875rem; color: var(--muted); }
.field__opt { font-weight: 400; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); font-size: 1rem; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
textarea.input { min-height: 120px; resize: vertical; }
.input:hover { border-color: var(--ink-2); }
.input:focus { outline: none; border-color: var(--archive); box-shadow: 0 0 0 3px rgba(31, 58, 46, .18); }
.input[aria-invalid="true"] { border-color: var(--urgent); }
.field__error { color: var(--urgent); font-size: 0.875rem; font-weight: 600; }
.form-error { border-left: 3px solid var(--urgent); background: #F6E6DE; padding: var(--s-4); color: var(--ink); }
.row-2 { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); align-items: start; font-size: 0.9375rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--archive); }
.choices { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; min-height: 48px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card); font-size: 0.9375rem; transition: border-color .15s, background-color .15s, color .15s; }
.choice input:hover + span { border-color: var(--ink-2); }
.choice input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.choice input:checked + span { background: var(--archive); border-color: var(--archive); color: var(--on-archive); }
.choices--stack { flex-direction: column; }
.choices--stack .choice span { width: 100%; }
.stepper { justify-self: start; display: inline-grid; grid-template-columns: 50px 72px 50px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card); margin-top: var(--s-3); }
.stepper button { border: 0; background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--archive); min-height: 50px; }
.stepper button:hover { background: var(--paper-2); }
.stepper input { border: 0; border-inline: 1px solid var(--line); text-align: center; background: transparent; font: 450 1.375rem/1 var(--serif); width: 100%; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cf-turnstile { min-height: 65px; }

/* =========================================================
   ASSESSMENT
   ========================================================= */
.quiz { display: grid; gap: var(--s-7); }
.quiz__progress { position: sticky; top: var(--header-h); z-index: 5; background: var(--paper); padding-block: var(--s-3); }
.quiz__bar { height: 3px; background: var(--line); position: relative; overflow: hidden; }
.quiz__bar span { position: absolute; inset: 0; background: var(--archive); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .4s var(--ease); }
.quiz__meta { display: flex; justify-content: space-between; margin-top: var(--s-2); }
.qstep { border-top: 1px solid var(--line); padding-top: var(--s-6); }
.qstep + .qstep { margin-top: var(--s-7); }
.js .qstep__n { display: none; }
.qstep__n { font: 500 0.75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.qstep__title { font: 450 var(--step-3)/1.15 var(--serif); margin-top: var(--s-3); max-width: 26ch; }
.qstep__intro { color: var(--ink-2); margin-top: var(--s-3); max-width: 52ch; }
.q { margin-top: var(--s-6); }
.q legend, .q > label { font: 600 1.0625rem/1.4 var(--sans); }
.counts { display: grid; gap: var(--s-5); grid-template-columns: 1fr; margin-top: var(--s-5); }
@media (min-width: 560px) { .counts { grid-template-columns: 1fr 1fr; } }
.quiz__nav { display: flex; gap: var(--s-3); justify-content: space-between; margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.js .quiz--stepped .qstep { display: none; border-top: 0; padding-top: 0; margin-top: 0; }
.js .quiz--stepped .qstep.is-current { display: block; animation: qin .45s var(--ease); }
html:not(.js) .quiz__nav [data-prev], html:not(.js) .quiz__nav [data-next], html:not(.js) .quiz__progress { display: none; }
.js .quiz--stepped [data-submit] { display: none; }
.js .quiz--stepped.is-last [data-submit] { display: inline-flex; }
.js .quiz--stepped.is-last [data-next] { display: none; }
@keyframes qin { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.quiz__side { display: none; }
@media (min-width: 1000px) {
  .quiz { grid-template-columns: 7fr 4fr; gap: var(--s-9); }
  .quiz__side { display: block; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

.result { display: grid; gap: var(--s-7); }
.result__level { display: inline-flex; align-items: center; gap: var(--s-3); font: 500 0.8125rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 10px 12px; border: 1.5px solid currentColor; border-radius: 2px; }
.result__level::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lvl-LOW { color: var(--archive); } .lvl-MODERATE { color: var(--amber); } .lvl-HIGH { color: var(--clay); } .lvl-URGENT { color: var(--urgent); }
.gauge { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; max-width: 420px; }
.gauge span { height: 6px; background: var(--line); }
.gauge span.on { background: currentColor; }
.gauge__labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; max-width: 420px; margin-top: var(--s-2); font: 500 0.625rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.result__headline { font: 420 var(--step-4)/1.08 var(--serif); letter-spacing: -0.02em; max-width: 22ch; }
.findings { list-style: none; border-top: 1px solid var(--ink); }
.findings li { display: grid; grid-template-columns: 2.5rem 1fr; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.findings li::before { content: attr(data-n); font: 500 0.75rem/1.9 var(--mono); color: var(--muted); }
.paths { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.paths li { display: grid; gap: var(--s-3); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.paths__k { font: 500 0.75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--clay); }
.paths__t { font: 450 var(--step-2)/1.2 var(--serif); }
.paths li.is-rec { position: relative; }
.paths li.is-rec .paths__k::after { content: " · Suggested for you"; color: var(--archive); }
@media (min-width: 900px) {
  .paths { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .paths li { border: 0; border-top: 1px solid var(--ink); padding-right: var(--s-6); align-content: start; }
  .paths li + li { border-left: 1px solid var(--line); padding-left: var(--s-6); }
  .paths li.is-rec { border-top: 3px solid var(--archive); }
}
.result__capture { background: var(--paper-2); padding: clamp(24px, 4vw, 48px); border-radius: 3px; }

/* Thank-you */
.thanks { display: grid; gap: var(--s-7); }
.thanks__ref { font: 450 clamp(2rem, 1.2rem + 3vw, 3.25rem)/1 var(--mono); letter-spacing: .02em; color: var(--archive); }
.next-steps { list-style: none; counter-reset: ns; border-top: 1px solid var(--ink); }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 2.5rem 1fr; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.next-steps li::before { content: counter(ns, decimal-leading-zero); font: 500 0.75rem/1.9 var(--mono); color: var(--muted); }
@media (min-width: 960px) { .thanks { grid-template-columns: 7fr 5fr; gap: var(--s-9); } }

/* =========================================================
   PROSE (guides, policies)
   ========================================================= */
.prose { font: 400 1.1875rem/1.65 var(--serif); color: var(--ink); max-width: 66ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--step-3); margin-top: 2.2em; line-height: 1.15; }
.prose h3 { font-size: var(--step-1); font-weight: 600; margin-top: 1.8em; font-family: var(--sans); letter-spacing: 0; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--muted); }
.prose strong { font-weight: 600; }
.prose a { color: var(--archive); text-decoration-thickness: 1px; }
.prose blockquote { margin-inline: 0; padding-left: var(--s-5); border-left: 2px solid var(--clay); font-style: italic; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font: 400 0.9375rem/1.5 var(--sans); }
.prose th, .prose td { text-align: left; padding: var(--s-3) var(--s-3) var(--s-3) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 500 0.75rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.prose aside.note, .note { font: 400 0.9375rem/1.6 var(--sans); background: var(--paper-2); border-left: 3px solid var(--archive); padding: var(--s-4) var(--s-5); color: var(--ink-2); }
.article { display: grid; gap: var(--s-7); }
.article__aside { display: grid; gap: var(--s-6); align-content: start; }
@media (min-width: 1040px) { .article { grid-template-columns: minmax(0, 66ch) minmax(0, 1fr); gap: var(--s-9); justify-content: space-between; } .article__aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.offer { border-top: 3px solid var(--archive); padding-top: var(--s-5); }
.offer__t { font: 450 var(--step-2)/1.2 var(--serif); margin-top: var(--s-2); }

/* Checklist */
.checklist { list-style: none; counter-reset: ck; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border: 1.5px solid var(--ink-2); border-radius: 2px; }

/* 404 */
.lost { min-height: 60vh; display: grid; align-content: center; gap: var(--s-5); }
.lost__code { font: 500 0.75rem/1 var(--mono); letter-spacing: .14em; color: var(--clay); text-transform: uppercase; }

/* =========================================================
   INFO PAGES (how it works, services, trust)
   ========================================================= */


/* Availability notice */
.notice { border: 1px solid var(--ink); background: var(--card); padding: var(--s-5) var(--s-6); max-width: 68ch; }
.notice .label { color: var(--clay); margin-bottom: var(--s-2); }
.notice p:last-child { font: 450 var(--step-1)/1.4 var(--serif); }

/* Step detail ledger (how it works) */
.detail { list-style: none; counter-reset: detail; border-top: 1px solid var(--ink); }
.detail > li { counter-increment: detail; display: grid; gap: var(--s-4) var(--s-7); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.detail__name { font: 450 var(--step-3)/1.1 var(--serif); }
.detail__name::before { content: counter(detail, decimal-leading-zero); display: block; font: 500 0.75rem/1.9 var(--mono); letter-spacing: .08em; color: var(--muted); margin-bottom: var(--s-1); }
.detail__cols { display: grid; gap: var(--s-5) var(--s-6); }
.detail__cols dt { font: 500 0.6875rem/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-1); }
.detail__cols dl, .detail__cols dd { margin: 0; }
.detail__cols dd { color: var(--ink-2); font-size: 0.9375rem; }
@media (min-width: 960px) {
  .detail > li { grid-template-columns: 3fr 9fr; }
  .detail__cols { grid-template-columns: repeat(3, 1fr); }
}

/* Plain bullet list in editorial style (what to bring, stored / never stored) */
.dashes { list-style: none; border-top: 1px solid var(--ink); }
.dashes li { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); color: var(--ink-2); display: grid; grid-template-columns: 1.5rem 1fr; gap: var(--s-2); }
.dashes li::before { content: "—"; color: var(--muted); }
.dashes--never li::before { content: "×"; color: var(--clay); font-weight: 600; }
.dashes--yes li::before { content: "·"; color: var(--archive); font-weight: 700; }
.dashes__h { font: 450 var(--step-2)/1.2 var(--serif); margin-bottom: var(--s-4); }

/* Two-column prose blocks */
.cols-2 { display: grid; gap: var(--s-7) var(--s-9); }
@media (min-width: 960px) { .cols-2 { grid-template-columns: 1fr 1fr; } }
.stack > * + * { margin-top: var(--s-5); }
.prose-s { color: var(--ink-2); max-width: 60ch; }
.prose-s + .prose-s { margin-top: var(--s-4); }

/* Ledger with a serif title and body inside rows (non-link) */
.ledger__d a { text-underline-offset: .15em; }

/* Pending merge into site.css — guides, policies, checklist pages */

/* Compact link list in the article aside (no number column) */
.ledger--link.related a { grid-template-columns: 1fr auto; padding-left: 0; }

/* Previous / next guide pager */
.pager { padding-block: var(--s-7); }
.pager .wrap { padding-top: var(--s-6); border-top: 1px solid var(--line); }
.pager .ledger__t { text-decoration: none; }
.pager .ledger__t:hover { text-decoration: underline; text-decoration-color: var(--clay); text-decoration-thickness: 1px; text-underline-offset: .15em; }

/* Checklist page */
.checklist-doc__intro { max-width: 62ch; color: var(--ink-2); }
.checklist-doc section + section { margin-top: var(--s-8); }
.checklist-doc h2 { font-size: var(--step-3); line-height: 1.15; margin-top: var(--s-2); }
.checklist-doc .checklist-doc__lede { color: var(--ink-2); max-width: 62ch; margin-top: var(--s-2); margin-bottom: var(--s-4); }
.checklist-doc .checklist { border-top: 1px solid var(--ink); max-width: 72ch; }
.checklist-doc section { break-inside: avoid-page; }

/* Policy index / on-this-page list */
.toc { list-style: none; counter-reset: toc; border-top: 1px solid var(--ink); max-width: 66ch; }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 3rem 1fr; padding: var(--s-2) 0; border-bottom: 1px solid var(--line); }
.toc li::before { content: counter(toc, decimal-leading-zero); font: 500 0.75rem/2 var(--mono); letter-spacing: .08em; color: var(--muted); }

@media print {
  .pager, .toc { display: none !important; }
  .checklist-doc h2 { font-size: 15pt; margin-top: 0; }
  .checklist-doc section + section { margin-top: 6mm; }
  .checklist-doc .checklist li { padding: 1.6mm 0; font-size: 10.5pt; }
  .checklist-doc .checklist-doc__lede { font-size: 10.5pt; margin-bottom: 2mm; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .file { display: none; }
  .hero__fig img { transform: none !important; }
}

/* ---------- Print (checklist, policies, guides) ---------- */
@media print {
  @page { margin: 16mm 14mm; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .site-footer, .sticky-cta, .no-print, .article__aside, .crumbs { display: none !important; }
  .page-head { padding: 0 0 8mm; border-bottom: 1px solid #000; }
  .section { padding-block: 6mm; }
  .wrap { max-width: none; padding: 0; }
  a { text-decoration: none; color: #000; }
  .prose { max-width: none; font-size: 11pt; }
  .checklist li { break-inside: avoid; padding: 2.2mm 0; }
  .checklist li::before { border-color: #000; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  h2 { break-after: avoid; }
}
