/* KIDAT — editorial grid: 12 columns, hairline rules, zero radius; black and white interface, colour only inside photographs. */
:root {
  --paper: #ffffff;
  --paper-2: #f2f2ee;
  --ink: #0b0b0b;
  --ink-2: #50504a;
  --ink-3: #85857d;
  --hair: #d8d8d2;
  --inv-bg: #0b0b0b;
  --inv-fg: #f6f6f2;
  --display: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --gut: clamp(16px, 4vw, 56px);
  --gap: clamp(12px, 2vw, 32px);
  --sec: clamp(72px, 11vw, 168px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b0b0b; --paper-2: #161615; --ink: #f6f6f2; --ink-2: #b6b6ae; --ink-3: #7e7e77;
    --hair: #2d2d2a; --inv-bg: #f6f6f2; --inv-fg: #0b0b0b; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b0b0b; --paper-2: #161615; --ink: #f6f6f2; --ink-2: #b6b6ae; --ink-3: #7e7e77;
  --hair: #2d2d2a; --inv-bg: #f6f6f2; --inv-fg: #0b0b0b; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- type ---------- */
.d1, .d2, .d3 { font-family: var(--display); font-weight: 300; text-wrap: balance; letter-spacing: -.022em; }
.d1 { font-size: clamp(46px, 10.4vw, 168px); line-height: .9; }
.d2 { font-size: clamp(34px, 5.4vw, 84px); line-height: .98; }
.d3 { font-size: clamp(24px, 2.7vw, 40px); line-height: 1.12; letter-spacing: -.012em; }
.d1 em, .d2 em, .d3 em { font-style: italic; font-weight: 300; }
.lede { font-family: var(--display); font-size: clamp(21px, 2.1vw, 30px); line-height: 1.3; font-weight: 300; max-width: 34em; }
.meta { font-family: var(--mono); font-size: 11.5px; line-height: 1.5; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.meta b { font-weight: 500; color: var(--ink); }
.body { max-width: 62ch; }
.body p + p { margin-top: 1em; }
.muted { color: var(--ink-2); }
.req {
  display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  border: 1px dashed var(--ink-3); color: var(--ink-2); padding: 2px 7px; line-height: 1.5; vertical-align: .08em;
}

/* ---------- layout ---------- */
.wrap { max-width: 1520px; margin-inline: auto; padding-inline: var(--gut); }
.g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(28px, 4vw, 56px); }
.g > * { min-width: 0; grid-column: var(--c, 1 / -1); }
.sec { padding-block: var(--sec); }
.sec-t { padding-block: clamp(48px, 7vw, 104px); }
.rule { border-top: 1px solid var(--ink); }
.hair { border-top: 1px solid var(--hair); }
.alt { background: var(--paper-2); }
.inv { background: var(--inv-bg); color: var(--inv-fg); }
.inv .meta, .inv .muted { color: inherit; opacity: .72; }
.inv .req { color: inherit; border-color: currentColor; opacity: .8; }
.stack { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 28px); }
.stack-l { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 56px); }
.row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.sec-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; padding-block: 14px; border-top: 1px solid var(--ink); margin-bottom: clamp(28px, 4vw, 64px); }
@media (max-width: 820px) { .g > * { grid-column: 1 / -1; } }

/* ---------- header ---------- */
.hd { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--paper); border-bottom: 1px solid var(--ink); }
.hd-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.logo { font-family: var(--sans); font-weight: 800; font-size: 21px; letter-spacing: .2em; text-decoration: none; margin-right: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a, .dd summary { font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; cursor: pointer; padding-block: 6px; background-image: linear-gradient(var(--ink), var(--ink)); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"], .dd summary:hover { background-size: 100% 1px; }
.dd { position: relative; }
.dd summary { list-style: none; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary::after { content: ' +'; }
.dd[open] summary::after { content: ' \2212'; }
.dd-p { position: absolute; top: calc(100% + 17px); left: -16px; min-width: 330px; background: var(--paper); border: 1px solid var(--ink); border-top: 0; padding: 8px 16px 12px; display: flex; flex-direction: column; }
.dd-p a { padding-block: 10px; border-top: 1px solid var(--hair); }
.dd-p a:first-child { border-top: 0; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; background: var(--inv-bg); color: var(--inv-fg); border: 1px solid var(--inv-bg); padding: 14px 22px; cursor: pointer; transition: background .25s, color .25s; }
.btn::after { content: '\2192'; transition: transform .3s var(--ease); }
.btn:hover { background: transparent; color: var(--ink); }
.btn:hover::after { transform: translateX(5px); }
.btn-o { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-o:hover { background: var(--inv-bg); color: var(--inv-fg); }
.btn-s { padding: 9px 14px; }
.inv .btn { background: var(--inv-fg); color: var(--inv-bg); border-color: var(--inv-fg); }
.inv .btn:hover { background: transparent; color: var(--inv-fg); }
.lnk { font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.lnk::after { content: ' \2192'; }
.menu-b { display: none; background: none; border: 0; padding: 8px 0; font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; }
.menu { position: fixed; inset: 0; z-index: 39; background: var(--paper); padding: calc(84px + env(safe-area-inset-top, 0px)) var(--gut) 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 28px; }
.menu-l a { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(38px, 11vw, 64px); line-height: 1.08; letter-spacing: -.02em; text-decoration: none; border-top: 1px solid var(--hair); padding-block: 8px; }
.menu-s { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 980px) {
  .nav, .hd .btn { display: none; }
  .menu-b { display: block; }
}

/* ---------- figures and sample media ---------- */
.fig { position: relative; }
.fig .ph { overflow: hidden; background: var(--paper-2); aspect-ratio: var(--r, 4 / 5); max-width: 100%; }
.fig img, .fig video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
a.fig, .fig a { text-decoration: none; display: block; }
a.fig:hover img { transform: scale(1.035); }
.fig figcaption, .cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-top: 10px; }
.bleed { margin-inline: calc(var(--gut) * -1); }
.film { position: relative; }
.film button { position: absolute; left: 16px; bottom: 16px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 8vw, 120px); }
.hero-m { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-bottom: clamp(28px, 5vw, 72px); }
.hero-t { position: relative; z-index: 2; }
.hero-f { margin-top: clamp(-120px, -7vw, -24px); }
@keyframes rise { from { clip-path: inset(0 0 100% 0); transform: translateY(.18em); } to { clip-path: inset(-10% 0 -10% 0); transform: none; } }
@keyframes shut { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.rise > span { display: block; animation: rise 1s var(--ease) both; }
.rise > span:nth-child(2) { animation-delay: .09s; }
.rise > span:nth-child(3) { animation-delay: .18s; }
.rise > span:nth-child(4) { animation-delay: .27s; }
.shut .ph { animation: shut 1.2s var(--ease) .2s both; }
.ph-h { padding-block: clamp(36px, 6vw, 96px) clamp(32px, 5vw, 72px); }

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 1px solid var(--ink); }
.facts > div { padding: 14px 16px 18px 0; border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; gap: 6px; }
.facts dd { font-family: var(--display); font-size: clamp(20px, 1.9vw, 27px); line-height: 1.15; font-weight: 300; }

/* ---------- lists ---------- */
.idx { border-top: 1px solid var(--ink); }
.idx > li, .idx > a { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: 8px 20px; align-items: baseline; padding-block: 16px; border-bottom: 1px solid var(--hair); text-decoration: none; }
.idx .t { font-family: var(--display); font-weight: 300; font-size: clamp(21px, 2.1vw, 31px); line-height: 1.15; }
.idx > a { transition: padding .35s var(--ease); }
.idx > a:hover { padding-left: 14px; }
@media (max-width: 640px) { .idx > li, .idx > a { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.run { font-family: var(--display); font-weight: 300; font-size: clamp(27px, 4.1vw, 62px); line-height: 1.1; letter-spacing: -.015em; }
.run span:nth-child(even) { font-style: italic; color: var(--ink-2); }
.run span:not(:last-child)::after { content: ' / '; font-style: normal; color: var(--ink-3); }
.letters > li { display: grid; grid-template-columns: clamp(64px, 9vw, 140px) minmax(0, 1fr); align-items: baseline; border-top: 1px solid var(--hair); padding-block: 10px; }
.letters > li:first-child { border-top: 1px solid var(--ink); }
.letters b { font-family: var(--display); font-weight: 300; font-size: clamp(54px, 7.4vw, 116px); line-height: .95; }
.letters span { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(24px, 2.6vw, 38px); }

/* ---------- process sequence ---------- */
.proc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gap) clamp(24px, 6vw, 104px); }
.proc-v { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); align-self: start; }
.proc-v .ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.proc-v img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease); }
.proc-v img.on { clip-path: inset(0); }
.proc-s > li { min-height: 68vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; border-top: 1px solid var(--hair); padding-block: 40px; opacity: .32; transition: opacity .5s; }
.proc-s > li.on { opacity: 1; }
.proc-s > li:first-child { border-top: 1px solid var(--ink); }
.proc-s .fig { display: none; }
@media (max-width: 820px), (prefers-reduced-motion: reduce) {
  .proc { grid-template-columns: minmax(0, 1fr); }
  .proc-v { display: none; }
  .proc-s > li { min-height: 0; opacity: 1; }
  .proc-s .fig { display: block; }
}

/* ---------- sketch to garment ---------- */
.ba { position: relative; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; background: var(--paper-2); --p: 38%; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .top { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba .ln { position: absolute; top: 0; bottom: 0; left: var(--p); width: 1px; background: #fff; mix-blend-mode: difference; pointer-events: none; }
.ba .kn { position: absolute; top: 50%; left: var(--p); transform: translate(-50%, -50%); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; background: #0b0b0b; color: #fff; padding: 7px 10px; pointer-events: none; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- chain ---------- */
.chain { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); border-top: 1px solid currentColor; }
.chain li { padding: 14px 12px 22px 0; border-bottom: 1px solid currentColor; display: flex; flex-direction: column; gap: 22px; }
.chain li b { font-family: var(--display); font-weight: 300; font-size: clamp(22px, 2.2vw, 32px); }
.chain li:not(:last-child) b::after { content: ' \2192'; opacity: .5; }

/* ---------- work ---------- */
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 5vw, 80px) var(--gap); align-items: end; }
.work > * { grid-column: span 4; min-width: 0; }
.work > :nth-child(6n+1) { grid-column: span 7; }
.work > :nth-child(6n+2) { grid-column: span 5; }
.work > :nth-child(6n+6) { grid-column: 4 / span 6; }
@media (max-width: 820px) { .work > * { grid-column: 1 / -1 !important; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: transparent; border: 1px solid var(--hair); padding: 8px 12px; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--inv-bg); color: var(--inv-fg); border-color: var(--inv-bg); }
.scroller { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.scroller > * { flex: 0 0 min(78vw, 440px); scroll-snap-align: start; }
.scroller.wide > * { flex-basis: min(86vw, 620px); }

/* ---------- accordion, subnav, tabs ---------- */
.acc { border-top: 1px solid var(--ink); }
.acc details { border-bottom: 1px solid var(--hair); }
.acc summary { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) auto; gap: 8px 20px; align-items: baseline; padding-block: 20px; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-family: var(--mono); font-size: 18px; }
.acc details[open] summary::after { content: '\2212'; }
.acc .t { font-family: var(--display); font-weight: 300; font-size: clamp(22px, 2.4vw, 36px); line-height: 1.15; }
.acc .in { padding: 0 0 28px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px var(--gap); }
.acc.faq summary { grid-template-columns: minmax(0, 1fr) auto; }
.acc.faq .in { display: block; max-width: 62ch; }
@media (max-width: 640px) { .acc summary { grid-template-columns: minmax(0, 1fr) auto; } .acc summary .meta { grid-column: 1 / -1; } }
.sub { position: sticky; top: calc(61px + env(safe-area-inset-top, 0px)); z-index: 30; background: var(--paper); border-bottom: 1px solid var(--hair); }
.sub .wrap { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.sub a { flex: none; font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; padding-block: 13px; color: var(--ink-2); border-bottom: 1px solid transparent; }
.sub a.on, .sub a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.tabs { display: flex; gap: 0; border: 1px solid var(--ink); width: max-content; max-width: 100%; }
.tabs button { font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; background: transparent; border: 0; padding: 12px 20px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--inv-bg); color: var(--inv-fg); }
.steps { counter-reset: s; border-top: 1px solid var(--ink); }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 6px 20px; padding-block: 18px; border-bottom: 1px solid var(--hair); }
.steps > li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 12px; letter-spacing: .09em; color: var(--ink-2); padding-top: .5em; }
.steps .t { font-family: var(--display); font-weight: 300; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; }

/* ---------- forms ---------- */
.form { display: flex; flex-direction: column; gap: 22px; max-width: 560px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld input, .fld select, .fld textarea { background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 10px 0; font-family: var(--display); font-size: 22px; font-weight: 300; width: 100%; }
.fld textarea { min-height: 96px; resize: vertical; }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: 0; border-bottom-width: 3px; }
.note { border: 1px solid var(--ink); padding: 16px 18px; }

/* ---------- article ---------- */
.art { max-width: 66ch; font-size: 19px; line-height: 1.62; }
.art p + p, .art h2 + p { margin-top: 1em; }
.art h2 { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; margin-top: 1.8em; }
.art p:first-of-type::first-letter { font-family: var(--display); font-size: 4.2em; line-height: .82; float: left; padding: .06em .1em 0 0; font-weight: 300; }

/* ---------- footer ---------- */
.ft { border-top: 1px solid var(--ink); padding-block: clamp(48px, 7vw, 104px) calc(40px + env(safe-area-inset-bottom, 0px)); }
.ft-l a { display: block; text-decoration: none; padding-block: 3px; }
.ft-l a:hover { text-decoration: underline; }
.bar { display: none; }
@media (max-width: 820px) {
  .bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--inv-bg); color: var(--inv-fg); padding: 0 var(--gut) env(safe-area-inset-bottom, 0px); border-top: 1px solid var(--paper); }
  .bar a { flex: 1; text-align: center; text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding-block: 15px; }
  .bar a + a { border-left: 1px solid currentColor; }
  .ft { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ================= motion layer ================= */
/* Page-to-page: old page lifts away, new page is drawn down like a curtain. */
@view-transition { navigation: auto; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-18px); } }
@keyframes vt-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
::view-transition-old(root) { animation: vt-out .4s cubic-bezier(.2, .7, .1, 1) both; }
::view-transition-new(root) { animation: vt-in .7s cubic-bezier(.2, .7, .1, 1) both; }

/* "Making the invisible visible": the outlined word fills with ink. */
.ghost { color: transparent; -webkit-text-stroke: 1px var(--ink); animation: fillin 1.5s var(--ease) 1.2s both; }
@keyframes fillin { to { color: var(--ink); -webkit-text-stroke-color: transparent; } }

/* Pattern draft that draws itself */
.draft { position: relative; aspect-ratio: 4 / 5; max-width: 100%; background: var(--paper-2); color: var(--ink); }
.draft svg { display: block; width: 100%; height: 100%; }
.draft text { font-family: var(--mono); font-size: 15px; letter-spacing: .08em; fill: currentColor; }
.draft .l { fill: none; stroke: currentColor; stroke-dasharray: 1; stroke-dashoffset: 1; animation: dr var(--d, 1.2s) var(--ease) var(--t, 0s) forwards; }
.draft .f { opacity: 0; animation: fd .7s ease var(--t, 0s) forwards; }
.draft .w { fill: currentColor; opacity: 0; animation: wash 1.4s ease var(--t, 0s) forwards; }
@keyframes dr { to { stroke-dashoffset: 0; } }
@keyframes fd { to { opacity: 1; } }
@keyframes wash { to { opacity: .1; } }
.draft button { position: absolute; right: 12px; top: 12px; background: transparent; border: 1px solid var(--ink); padding: 6px 10px; cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.draft button:hover { background: var(--inv-bg); color: var(--inv-fg); }

/* Kinetic line, moved by the scroll position rather than a timer */
.kin-w { overflow: hidden; margin-inline: calc(var(--gut) * -1); border-block: 1px solid var(--ink); padding-block: clamp(10px, 1.6vw, 24px); }
.kin { white-space: nowrap; font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(64px, 13vw, 216px); line-height: 1; letter-spacing: -.02em; width: max-content; }

/* Rules draw themselves; images settle as they enter. Static where scroll timelines are unsupported. */
.sec-h { border-top: 0; position: relative; }
.sec-h::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: currentColor; transform-origin: 0 50%; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sec-h::before { animation: rule linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .fig:not(.shut) .ph img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
    .kin { animation: kin linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .letters > li b { animation: slide linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .run { animation: fadeup linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  }
}
@keyframes rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes settle { from { scale: 1.18; } to { scale: 1; } }
@keyframes kin { from { transform: translateX(6%); } to { transform: translateX(-42%); } }
@keyframes slide { from { transform: translateX(-.35em); } to { transform: none; } }
@keyframes fadeup { from { transform: translateY(40px); } to { transform: none; } }

/* Contextual cursor (desktop, fine pointer only) */
.cur { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--inv-bg); color: var(--inv-fg); padding: 8px 12px; opacity: 0; transition: opacity .2s; will-change: transform; }
.cur.on { opacity: 1; }
.scroller.drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.clean .req { display: none; }
.toggle { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
@media (prefers-reduced-motion: reduce) {
  .ghost { color: var(--ink); -webkit-text-stroke: 0; }
  .draft .l { stroke-dashoffset: 0; }
  .draft .f { opacity: 1; }
  .draft .w { opacity: .1; }
}

/* ================= journey components ================= */
.paths .t { font-size: clamp(26px, 3.5vw, 54px); }
.year, .ladder { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(28px, 4vw, 56px) var(--gap); border-top: 1px solid currentColor; padding-top: 18px; }
.year > li, .ladder > * { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ladder > li > div { margin-top: auto; padding-top: 8px; }
#year, #parents { scroll-margin-top: 90px; }
