/* Home page: the portfolio told as a short story in chapters (prologue, five chapters, epilogue),
   built from the same parts as the case studies, About and Contact: Hanken Grotesk, white page, charcoal ink, red accent */
:root {
  --ink: #1b1a17;
  --ink-2: #57544c;
  --paper: #ffffff;
  --soft: #f4f3ef;
  --line: rgba(27, 26, 23, 0.14);
  --accent: #D92D20;
  --f: "Hanken Grotesk", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
body { background: var(--paper); color: var(--ink); font-family: var(--f); font-size: 17px; line-height: 1.55; }
a { color: inherit; }
em { font-style: italic; }
h1 em, h2 em, h3 em, h4 em { font-style: normal; }   /* headings stay upright; colour does the contrast */
img { display: block; max-width: 100%; height: auto; }

/* header */
.h-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); pointer-events: none; }
.pill {
  pointer-events: auto; text-decoration: none; font-weight: 600; font-size: 13px; letter-spacing: 0.02em;
  padding: 8px 15px; border-radius: 999px; background: rgba(255, 255, 255, 0.88); color: var(--ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--line);
}
.h-crumb { font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.pill-line { background: var(--ink); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16); }   /* the faint edge keeps it visible over dark sections */
.pill:hover { background: var(--ink); color: #fff; }
.pill-line:hover { background: var(--accent); }
.pill:focus-visible, main a:focus-visible, main button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* reading progress: a red pencil line across the top */
.s-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.s-progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* shared story parts */
section { padding: clamp(80px, 11vw, 150px) var(--gutter); }
.s-label { font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.s-chap { display: flex; align-items: baseline; gap: 12px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.s-chap span { font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.s-h2 { font-weight: 500; font-size: clamp(40px, 5.4vw, 84px); line-height: 0.98; letter-spacing: -0.045em; margin-top: 16px; }
.s-h2 span { color: #6b675f; }
.s-btn { display: inline-block; font-weight: 600; font-size: 15px; line-height: 1; text-decoration: none; padding: 16px 24px; border-radius: 999px; background: var(--accent); color: #fff; transition: background 0.2s ease, color 0.2s ease; }
.s-btn span { display: inline-block; transition: transform 0.3s ease; }
.s-btn:hover { background: #B8231A; }
.s-btn:hover span { transform: translateX(4px); }
.s-btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.s-btn-line:hover { background: var(--ink); color: #fff; }

/* ---------- prologue: the name, revealed by a pencil-drawn me pushing a door out of the way ---------- */
.s-prologue { position: relative; min-height: 100svh; padding: 0 var(--gutter); display: grid; place-items: center; overflow: hidden; }
.s-hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2.4vh, 26px); padding: 90px 0 70px; }
.s-name { font-weight: 500; font-size: clamp(64px, 14vw, 250px); line-height: 0.88; letter-spacing: -0.055em; color: var(--accent); white-space: nowrap; }
.s-name .ln { display: block; overflow: hidden; padding: 0 0.04em 0.08em; }
.s-name .ln > span { display: inline-block; }
.s-role { max-width: 34rem; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.45; color: #3a3833; text-wrap: balance; }
.s-cue { position: absolute; left: 50%; bottom: clamp(18px, 3vh, 32px); transform: translateX(-50%); font-weight: 600; font-size: 14px; display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.s-cue span { display: inline-block; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* while the door is up, the chrome waits */
.h-header, .mnav, .snav, .s-progress { transition: opacity 0.6s ease 0.1s; }
.is-intro .h-header, .is-intro .mnav, .is-intro .snav, .is-intro .s-progress, .is-intro .s-role, .is-intro .s-cue { opacity: 0; }
.s-role, .s-cue { transition: opacity 0.7s ease; }
.s-role { transition-delay: 0.12s; }
.s-cue { transition-delay: 0.3s; }

.s-intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #0e0e0d; color: #fff; }
.s-intro[hidden] { display: none; }
.s-load { display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 3vh, 30px); padding: 0 var(--gutter); text-align: center; }
.s-morph { width: clamp(110px, 17vh, 190px); height: auto; overflow: visible; }
.s-morph path { fill: #fff; }
.s-morph .s-morph-hole { fill: #0e0e0d; }
/* the six steps: each types in when its shape arrives; the current one is red */
.s-tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; max-width: 46rem; font-weight: 600; font-size: clamp(11px, 1vw, 14px); letter-spacing: 0.24em; text-transform: uppercase; }
.s-tags li { position: relative; color: rgba(255, 255, 255, 0.38); transition: color 0.3s ease; }
.s-tags li::before { content: attr(data-t); visibility: hidden; }   /* holds the width so the row never shifts */
.s-tags li span { position: absolute; left: 0; top: 0; white-space: nowrap; }
.s-tags li.on { color: #ff4b3e; }
.s-tags li.on span::after { content: ""; display: inline-block; width: 0.5em; height: 1em; margin-left: 0.15em; vertical-align: -0.12em; background: currentColor; animation: caret 0.9s steps(1) infinite; }
.s-tags.all li { color: rgba(255, 255, 255, 0.72); }
@keyframes caret { 50% { opacity: 0; } }
.s-skip { position: absolute; right: 24px; bottom: 24px; font: 600 13px/1 var(--f); color: rgba(255, 255, 255, 0.7); background: transparent; border: 0; padding: 10px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); cursor: pointer; }
.s-skip:hover { color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.s-skip:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- 01 the sketch ---------- */
.s-sketch { border-top: 1px solid var(--line); }
.s-sketch-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 110px); align-items: center; min-height: calc(100svh - 2 * clamp(80px, 11vw, 150px)); }
.s-photo { position: relative; border-radius: 22px; overflow: hidden; background: var(--soft); aspect-ratio: 1091 / 1364; width: min(100%, calc(74svh * 1091 / 1364)); justify-self: start; }   /* sized by height too, so the portrait keeps its shape */
.s-photo img { width: 100%; height: 100%; object-fit: cover; }
.motion .s-photo img { filter: grayscale(1) contrast(1.3) brightness(1.05); }   /* home.js warms it to colour as you read */
.s-photo figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.92); font-weight: 600; font-size: 13px; }
.s-year { font-weight: 600; font-size: 22px; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.s-sketch-copy { display: flex; flex-direction: column; gap: 0.8em; }
.s-sketch-copy .s-chap { margin-bottom: 0.6em; }
.s-read { font-weight: 500; font-size: clamp(26px, 3vw, 46px); line-height: 1.24; letter-spacing: -0.03em; }
.s-read .w { color: #d3d0c8; transition: color 0.2s linear; }   /* home.js inks each word as you scroll */
.s-read .w.on { color: var(--ink); }
.s-read-soft .w.on { color: #6b675f; }

/* ---------- 02 the craft ---------- */
.s-craft { background: var(--soft); }
.s-head { margin-bottom: clamp(36px, 5vw, 64px); }
.s-stack { display: flex; flex-direction: column; gap: 5vh; }
.s-card {
  position: sticky; top: calc(96px + var(--i) * 22px); height: min(68svh, 600px);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(20px, 3vw, 48px);
  padding: clamp(22px, 3vw, 44px); border-radius: 24px; background: var(--cb); color: var(--cf);
  transform-origin: 50% 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
}
.s-card-text { display: flex; flex-direction: column; }
.s-card-no { font-weight: 600; font-size: 13px; color: var(--ca); font-variant-numeric: tabular-nums; }
.s-card h3 { margin-top: auto; font-weight: 500; font-size: clamp(34px, 4vw, 64px); line-height: 0.98; letter-spacing: -0.045em; }
.s-card-text > p:not(.s-card-no) { margin-top: 16px; max-width: 26rem; font-size: 17px; opacity: 0.8; }
.s-card-link { margin-top: 24px; align-self: flex-start; font-weight: 600; font-size: 15px; text-decoration: none; padding-bottom: 3px; border-bottom: 1.5px solid var(--ca); }
.s-card-link span { display: inline-block; transition: transform 0.3s ease; }
.s-card-link:hover span { transform: translateX(4px); }
.s-card-media { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; }
.s-card-media img { width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 16px; }   /* the whole picture, whatever the card's shape */
.s-card-posts { display: flex; justify-content: center; align-items: center; gap: 0; background: transparent; }
.s-card-posts img { width: auto; height: 84%; max-width: 36%; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); }
.s-card-posts img:nth-child(1) { transform: rotate(-7deg) translate(18%, 4%); }
.s-card-posts img:nth-child(2) { position: relative; z-index: 1; transform: translateY(-4%); }
.s-card-posts img:nth-child(3) { transform: rotate(7deg) translate(-18%, 4%); }

/* ---------- 03 the work ---------- */
.s-work { --wb: #16253F; --wf: #ffffff; --wa: #ff6b66; padding: 0; background: var(--wb); color: var(--wf); transition: background-color 0.6s ease, color 0.6s ease; overflow: hidden; }
.s-work-pin { height: 100svh; display: flex; flex-direction: column; padding: 96px 0 clamp(24px, 4vh, 44px); }
.s-work-top { display: flex; align-items: baseline; gap: 24px; padding: 0 var(--gutter); }
.s-work .s-chap span { color: var(--wa); transition: color 0.6s ease; }
.s-count { margin-left: auto; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; opacity: 0.7; }
.s-count-now { opacity: 1; }
.s-all { font-weight: 600; font-size: 15px; text-decoration: none; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px currentColor; transition: background 0.2s ease, color 0.2s ease; }
.s-all:hover { background: var(--wf); color: var(--wb); }
.s-track { flex: 1; min-height: 0; display: flex; gap: clamp(20px, 3vw, 48px); padding: clamp(24px, 4vh, 44px) var(--gutter) 0; width: max-content; will-change: transform; }
.s-panel { width: min(86vw, 1280px); height: 100%; display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr); gap: clamp(20px, 3vw, 48px); align-items: stretch; text-decoration: none; color: inherit; }
.s-panel-text { display: flex; flex-direction: column; padding-bottom: 6px; }
.s-panel-meta { font-weight: 500; font-size: 14px; opacity: 0.75; }
.s-panel h3 { margin-top: auto; font-weight: 500; font-size: clamp(40px, 5vw, 84px); line-height: 0.95; letter-spacing: -0.05em; }
.s-panel-text > p:not(.s-panel-meta) { margin-top: 16px; font-size: 17px; opacity: 0.82; max-width: 26rem; }
.s-link { margin-top: 24px; align-self: flex-start; font-weight: 600; font-size: 15px; padding-bottom: 3px; border-bottom: 1.5px solid currentColor; }
.s-link span { display: inline-block; transition: transform 0.3s ease; }
.s-panel:hover .s-link span { transform: translateX(5px); }
.s-panel-media { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; }
.s-panel-media img { width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 20px; transition: transform 0.9s var(--ease); }   /* never cropped */
.s-panel:hover .s-panel-media img { transform: scale(1.03); }

/* ---------- 04 the method ---------- */
.s-method { padding: 0 var(--gutter); }
.s-method-pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 4vh, 40px); padding: 96px 0 56px; }
.s-steps { position: relative; display: grid; gap: 56px; }
.motion .s-steps { gap: 0; }
.motion .s-step { grid-area: 1 / 1; }   /* steps share one spot and swap as you scroll */
.s-step { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 8px clamp(24px, 5vw, 80px); align-items: end; }
.s-step-no { grid-column: 1 / -1; font-weight: 600; font-size: 14px; color: var(--accent); font-variant-numeric: tabular-nums; }
.s-step h3 { font-weight: 500; font-size: clamp(72px, 15vw, 260px); line-height: 0.86; letter-spacing: -0.06em; margin-left: -0.04em; }
.s-step > p:last-child { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.42; color: var(--ink-2); max-width: 30rem; padding-bottom: 0.6em; }
.motion .s-step { opacity: 0; transform: translateY(40px); transition: opacity 0.45s ease, transform 0.6s var(--ease); pointer-events: none; }
.motion .s-step.is-on { opacity: 1; transform: none; pointer-events: auto; }
.motion .s-step.is-past { transform: translateY(-40px); }
.s-bars { display: none; }
.motion .s-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.s-bars span { height: 3px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.s-bars span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- 05 so far ---------- */
.s-sofar { background: var(--soft); padding: 0 var(--gutter); }
.s-sofar-pin { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: center; padding: 110px 0 60px; }
.s-sofar-left { display: flex; flex-direction: column; gap: 24px; }
.s-big-year { font-weight: 500; font-size: clamp(110px, 19vw, 330px); line-height: 0.82; letter-spacing: -0.07em; margin-left: -0.05em; font-variant-numeric: tabular-nums; }
.s-sofar-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.s-stops { list-style: none; border-top: 1px solid var(--ink); }
.s-stops li { display: grid; grid-template-columns: 4.2rem 1fr; column-gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); transition: color 0.35s ease; }
.motion .s-stops li { color: #b3afa6; }
.s-stops b { grid-row: span 2; font-weight: 600; font-size: 17px; font-variant-numeric: tabular-nums; }
.s-stops span { font-weight: 600; font-size: 17px; }
.s-stops em { font-style: normal; font-size: 14px; }
.motion .s-stops li.on { color: var(--ink); }
.s-stops li.on b, .s-stops b { color: var(--accent); }
.motion .s-stops li:not(.on) b { color: inherit; }
.s-stops em { color: var(--ink-2); }
.motion .s-stops li:not(.on) em { color: inherit; }

/* ---------------- Contact: the dark closing block ---------------- */
.contact {
  --c-ink: #141412; --c-line: rgba(255, 255, 255, 0.14); --c-dim: rgba(255, 255, 255, 0.58);
  position: relative; overflow: hidden; background: var(--c-ink); color: #fff;
  min-height: 100svh; padding: clamp(120px, 16vh, 180px) var(--gutter) 28px;
  display: flex; flex-direction: column; gap: clamp(56px, 8vw, 110px);
}
.ct-eyebrow { font-weight: 500; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-dim); margin-bottom: 22px; }
.ct-title { font-weight: 500; font-size: clamp(52px, 8.4vw, 132px); line-height: 0.94; letter-spacing: -0.05em; }
.ct-title em { color: rgba(255, 255, 255, 0.5); }
.ct-mark { position: relative; display: inline-block; color: #fff; }
.ct-mark svg { position: absolute; left: -2%; bottom: -0.1em; width: 104%; height: 0.24em; overflow: visible; }
.ct-mark path { fill: none; stroke: #D92D20; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 1.2s cubic-bezier(0.6, 0, 0.2, 1) 0.2s; }
.contact.is-in .ct-mark path { stroke-dashoffset: 0; }

.ct-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: end; }
.ct-label { font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-dim); }
.ct-email {
  display: inline-flex; align-items: flex-start; gap: 0.12em; margin-top: 14px; color: #fff; text-decoration: none;
  font-weight: 500; font-size: clamp(30px, 4.6vw, 76px); line-height: 1.05; letter-spacing: -0.04em;
  background: linear-gradient(#D92D20, #D92D20) 0 100% / 0 3px no-repeat; padding-bottom: 8px; transition: background-size 0.5s cubic-bezier(0.6, 0, 0.2, 1);
}
.ct-email:hover, .ct-email:focus-visible { background-size: 100% 3px; }
.ct-arrow { font-size: 0.55em; color: #D92D20; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ct-email:hover .ct-arrow { transform: translate(4px, -4px); }
.ct-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ct-btn {
  font: 600 15px/1 var(--f); cursor: pointer; text-decoration: none; color: #fff; border: 0;
  padding: 16px 24px; border-radius: 999px; background: #D92D20; transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.ct-btn span { display: inline-block; transition: transform 0.3s ease; }
.ct-btn:hover { background: #B8231A; }
.ct-btn:hover span { transform: translateX(4px); }
.ct-btn-line { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.ct-btn-line:hover { background: #fff; color: var(--c-ink); box-shadow: none; }
.ct-btn-line.is-done { background: #fff; color: var(--c-ink); }
.contact :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.ct-facts { display: flex; flex-direction: column; }
.ct-fact { display: grid; grid-template-columns: 8.5rem 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--c-line); }
.ct-fact:last-child { border-bottom: 1px solid var(--c-line); }
.ct-fact .ct-label { padding-top: 4px; }
.ct-fact dd { font-size: 17px; font-weight: 500; }
.ct-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ecf7a; margin-right: 10px; vertical-align: 2px; }
.ct-clock { color: var(--c-dim); font-variant-numeric: tabular-nums; white-space: nowrap; margin-left: 6px; }
.ct-links { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.ct-links a { color: #fff; text-decoration: none; transition: color 0.2s ease; }
.ct-links a:hover { color: #ff6b5e; }

.ct-foot { margin-top: auto; }
.ct-wordmark {
  font-weight: 600; font-size: 15.5vw; line-height: 0.8; letter-spacing: -0.065em; white-space: nowrap;
  margin: 0 0 0 -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
  user-select: none;
}
.ct-fine { display: flex; flex-wrap: wrap; gap: 10px 36px; padding-top: 22px; margin-top: 18px; border-top: 1px solid var(--c-line); font-size: 14px; color: var(--c-dim); }
.ct-top { color: #fff; text-decoration: none; font-weight: 600; }
.ct-top:hover { color: #ff6b5e; }

@media (max-width: 820px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-fact { grid-template-columns: 7rem 1fr; }
  .ct-email { font-size: clamp(24px, 7.6vw, 40px); }
  .ct-wordmark { font-size: 17vw; }
  .ct-fine { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-mark path { transition: none; stroke-dashoffset: 0; }
  .ct-email, .ct-arrow, .ct-btn, .ct-btn span { transition: none; }
}

.contact { padding: clamp(120px, 16vh, 180px) var(--gutter) 28px; }

/* grain */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.8s steps(4) infinite;
}
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* ---------- phones: same story, simpler staging ---------- */
@media (max-width: 820px) {
  .h-crumb { display: none; }
  .s-name { font-size: 17vw; }
  .s-cue { left: var(--gutter); transform: none; }   /* clear of the chapter button */
  .s-tags { gap: 8px 18px; letter-spacing: 0.18em; }
  .s-sketch-inner { grid-template-columns: 1fr; min-height: 0; }
  .s-photo { width: min(100%, calc(46svh * 1091 / 1364)); }
  .s-card { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); height: min(78svh, 640px); top: calc(80px + var(--i) * 14px); }
  .s-card h3 { margin-top: 10px; }
  .s-card-text > p:not(.s-card-no) { font-size: 15px; margin-top: 8px; }
  .s-card-link { margin-top: 12px; }
  /* the reel becomes a stack of brand-coloured panels */
  .s-work { background: var(--paper); color: var(--ink); }
  .s-work-pin { height: auto; padding: clamp(80px, 11vw, 150px) 0; }
  .s-work .s-chap span { color: var(--accent); }
  .s-work-top { flex-wrap: wrap; }
  .s-count { display: none; }
  .s-all { margin-left: auto; }
  .s-track { width: auto; flex-direction: column; padding: 28px var(--gutter) 0; transform: none !important; }
  .s-panel { width: auto; height: auto; grid-template-columns: 1fr; padding: 20px; border-radius: 22px; background: var(--pb); color: var(--pf); }
  .s-panel-media { order: -1; }
  .s-panel-media img { width: 100%; }
  .s-panel h3 { margin-top: 12px; font-size: 40px; }
  .s-step { grid-template-columns: 1fr; }
  .s-sofar-pin { grid-template-columns: 1fr; padding: 90px 0 60px; }
  .s-big-year { font-size: 30vw; }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .s-cue span { animation: none; }
  .s-intro { display: none; }
  .s-work, .s-stops li, .s-read .w { transition: none; }
}
