html, body { background: #0f1f10; }

/* Tokens: the dealt "Forest and lime" palette, one face (Hanken Grotesk), five type steps */
:root {
  --bg: #0f1f10;
  --surface: #172b18;
  --surface-2: #1f3820;
  --ink: #ffffff;
  --muted: #a3ada3;
  --accent: #c6f19d;
  --accent-ink: #0f1f10;
  --black: #000000;
  --white: #ffffff;
  --white-step: #eef2ea;
  --white-muted: #4c574d;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(1.75rem, 0.4rem + 8vw, 8rem);
  --m: clamp(20px, 2.2vw, 32px);
  --gap: 10px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --face: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --display: "Young Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  font: 400 var(--step-body)/1.45 var(--face);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 30; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; font-weight: 500; }
.skip:focus { top: 12px; }

.frame { padding-left: var(--m); padding-right: var(--m); }
.display { font-family: var(--display); font-size: var(--step-display); font-weight: 400; line-height: 0.92; letter-spacing: -0.03em; text-wrap: balance; }
.head { font-family: var(--display); font-size: var(--step-head); font-weight: 400; line-height: 0.95; letter-spacing: -0.02em; text-wrap: balance; }
.lead { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.015em; max-width: 34ch; }

/* Buttons: square-cornered, flat, 48px tall */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 0;
  font: 500 var(--step-body)/1 var(--face); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease-out), background-color .25s ease, color .25s ease;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--white); }
.btn-ink { background: var(--bg); color: var(--white); }
.btn-ink:hover { background: var(--black); }
.btn-edge { border: 2px solid var(--bg); }
.btn-edge:hover { background: var(--bg); color: var(--accent); }

/* Header bar: wordmark, four links, one action */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 12px var(--m); background: var(--bg);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: var(--step-body); text-decoration: none; letter-spacing: -0.02em; }
.wordmark svg { width: 18px; height: 18px; fill: var(--accent); transition: transform .5s var(--ease-out); }
.wordmark:hover svg { transform: rotate(90deg); }
.bar nav { display: flex; gap: 24px; margin-left: auto; }
.bar nav a { text-decoration: none; color: var(--ink); position: relative; padding: 12px 0; }
.bar nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.bar nav a:hover::after, .bar nav a:focus-visible::after { transform: scaleX(1); }

/* Hero */
.hero { padding-top: clamp(28px, 4vh, 56px); padding-bottom: 0; min-height: calc(100svh - 72px); display: flex; flex-direction: column; }
.hero h1 { max-width: 15.5em; }
.hero-blocks { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: clamp(24px, 4vh, 44px); align-items: end; }
.hero-blocks p { grid-column: span 3; font-size: var(--step-body); line-height: 1.45; color: var(--ink); max-width: 30ch; }
.hero-blocks .lab { font-weight: 500; color: var(--accent); margin-right: 4px; }
.hero-action { grid-column: span 3; justify-self: end; }
.lit { margin-top: auto; padding-top: clamp(24px, 4vh, 48px); }
.lit-row {
  position: relative; display: flex; gap: var(--gap); height: clamp(220px, 34vh, 340px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--m);
}
.lit-row::-webkit-scrollbar, .strip::-webkit-scrollbar, .sample-row::-webkit-scrollbar { display: none; }
.lit-row li { flex: none; height: 100%; scroll-snap-align: center; }
.lit-row img { height: 100%; width: auto; transition: filter .6s ease, transform .6s var(--ease-out); }
html.js .lit-row img { filter: brightness(.72); }
html.js .lit-row li.on img, html.js .lit-row li:hover img { filter: brightness(1); }
.lit-title { padding: 12px var(--m) 0; font-size: var(--step-small); color: var(--ink); min-height: 2.2em; }
.lit-title span { display: inline-block; max-width: 420px; transform: translateX(var(--x, 0)); transition: transform .45s var(--ease-out); }

/* Fields */
.field-forest { background: var(--bg); color: var(--ink); }
.field-black { background: var(--black); color: var(--ink); }
.field-moss { background: var(--surface); color: var(--ink); }
.field-white { background: var(--white); color: var(--bg); }

/* Work: drag rows */
.work { padding: clamp(72px, 7vw, 96px) 0; }
.work-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: end; margin-bottom: 96px; }
.work-head h2 { grid-column: 1 / span 5; }
.work-head .lead { grid-column: 7 / span 6; max-width: 40ch; color: var(--ink); }
.band + .band { margin-top: clamp(96px, 12vw, 200px); }
.band-name { font-size: clamp(1.25rem, 0.9rem + 1.6vw, 2.25rem); font-weight: 500; letter-spacing: -0.02em; }
.band-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.pager { display: flex; align-items: center; gap: 4px; font-size: var(--step-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.pager span { min-width: 4.5ch; text-align: center; }
.pager button { width: 44px; height: 44px; border: 2px solid var(--surface-2); border-radius: 50%; background: none; color: var(--ink); font: inherit; font-size: 18px; cursor: pointer; transition: background .3s ease, color .3s ease; }
.pager button:hover, .pager button:focus-visible { background: var(--accent); color: var(--bg); border-color: var(--accent); }
html:not(.js) .pager { display: none; }
.strip {
  position: relative; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 13.5vw; height: clamp(300px, 42vw, 600px); cursor: grab;
}
.strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.strip li { flex: none; height: 100%; scroll-snap-align: center; }
.strip figure { height: 100%; position: relative; }
.strip img { height: 100%; width: auto; max-width: none; user-select: none; -webkit-user-drag: none; transition: transform .8s var(--ease-out), filter .6s ease; }
html.js .strip li:not(.on) img { filter: brightness(.75); }
.strip figcaption { display: none; }
html:not(.js) .strip figcaption { display: block; position: absolute; left: 0; right: 0; top: 100%; padding-top: 10px; font-size: var(--step-small); }
.facts { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 26px; min-height: 3.2em; font-size: var(--step-body); }
.facts b { grid-column: 1 / span 3; font-weight: 500; }
.facts span { grid-column: 4 / span 4; color: var(--muted); max-width: 46ch; }
.facts i { grid-column: 8 / span 2; font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.facts em { grid-column: 10 / span 3; font-style: normal; color: var(--accent); }
.facts.swap > * { animation: factIn .5s var(--ease-out) both; }
.facts.swap > *:nth-child(2) { animation-delay: .05s; }
.facts.swap > *:nth-child(3) { animation-delay: .1s; }
@keyframes factIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Two-ended rows: a name and its price */
.rows { font-size: var(--step-body); }
.rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; min-height: 40px; padding: 6px 0; }
.rows li > span { display: flex; align-items: baseline; gap: 10px; }
.rows .dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); transform: translateY(1px); transition: transform .3s var(--ease-out), background-color .3s ease; }
.rows li:hover .dot { transform: translateY(1px) scale(1.4); background: #3e7a3a; }
.rows b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }

/* Clients: names at display size, two-ended rows */
.clients { padding: clamp(96px, 10vw, 160px) 0; }
.clients .frame { position: relative; }
.clients .head { margin-bottom: 48px; }
.client-list li { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: baseline; padding: 18px 0; cursor: default; outline-offset: 6px; }
.client-list li + li { margin-top: 4px; }
.cn { grid-column: 1 / span 7; font-family: var(--display); font-size: clamp(2.5rem, 1rem + 6.4vw, 7rem); line-height: .95; letter-spacing: -0.03em; transition: color .3s ease, transform .5s var(--ease-out); transform-origin: left; }
.cr { grid-column: 8 / span 5; color: var(--white-muted); max-width: 44ch; }
.cr b { display: block; color: var(--bg); font-weight: 500; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.client-list li:hover .cn, .client-list li:focus-visible .cn { color: #2f6b2c; transform: translateX(12px); }
.client-pic { position: absolute; z-index: 2; right: var(--m); top: var(--y, 50%); width: min(34vw, 460px); margin: 0; pointer-events: none; visibility: hidden; opacity: 0; transform: translateY(-50%) scale(.94); transition: opacity .3s ease, transform .5s var(--ease-out), top .45s var(--ease-out), visibility 0s linear .3s; }
.client-pic.on { visibility: visible; opacity: 1; transform: translateY(-50%) scale(1); transition-delay: 0s; }
/* The hovered row's line gives way to its picture */
.cr { transition: opacity .25s ease; }
.client-list.showing li.lit .cr { opacity: 0; }
.client-pic img { width: 100%; height: auto; }

/* Website package: one photograph cut across a 6 x 4 board */
.package { padding: clamp(72px, 7vw, 96px) 12px; }
.board { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.board .t {
  aspect-ratio: 1; overflow: hidden; position: relative;
  grid-column: calc(var(--c) + 1); grid-row: calc(var(--r) + 1);
}
.board .t:not(.c)::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--photo); background-size: 600% 400%;
  background-position: calc(var(--c) * 20%) calc(var(--r) * 33.333%);
  transition: transform .9s var(--ease-out);
}
.board .t:not(.c):hover::before { transform: scale(1.08); }
.board .c { background: var(--surface); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.board .c h2 { font-family: var(--display); font-size: clamp(1.75rem, 1rem + 1.6vw, 2.75rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1; max-width: 8em; }
.board .c p { font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.02em; margin-top: auto; }
.board .c strong { display: block; font-family: var(--display); font-weight: 400; font-size: var(--step-head); letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px; color: var(--accent); }
.board .act { background: var(--accent); padding: 0; }
.board .act a { color: var(--accent-ink); text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 16px; font-weight: 500; font-size: var(--step-lead); letter-spacing: -0.02em; }
.board .act svg { width: 48px; height: 48px; align-self: flex-end; fill: none; stroke: currentColor; stroke-width: 2.5; transition: transform .4s var(--ease-out); }
.board .act a:hover svg { transform: translateX(6px); }
.board-phone { display: none; }

/* Sample designs: small frames, wide space */
.samples { min-height: 70svh; display: flex; align-items: center; padding: 120px 0 96px; }
.sample-row-wrap { position: relative; width: 100%; }
.sample-title { position: absolute; z-index: 2; left: var(--m); top: -52px; font-family: var(--display); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 400; letter-spacing: -0.01em; }
.sample-title span { color: var(--muted); font-weight: 400; margin-left: 6px; }
.sample-row { display: flex; gap: 5vw; overflow-x: auto; scrollbar-width: none; padding: 20px var(--m); scroll-snap-type: x proximity; }
.sample-row li { flex: none; width: 11vw; min-width: 150px; height: 24svh; min-height: 210px; scroll-snap-align: start; }
.sample-row a { display: block; height: 100%; overflow: hidden; }
.sample-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.sample-row a:hover img, .sample-row a:focus-visible img { transform: scale(1.1); }

/* Compare: plans as a large table */
.compare { padding: clamp(96px, 12vw, 200px) 0; }
.plans { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: var(--step-lead); line-height: 1.25; }
.plans th, .plans td { text-align: left; vertical-align: top; padding: 20px 20px; font-weight: 400; }
.plans thead th { vertical-align: bottom; padding-bottom: 28px; }
.plans .corner { width: 31%; padding-left: 0; }
.plans .corner .head { max-width: 6em; }
.plans .pn { display: block; font-weight: 500; font-size: var(--step-lead); letter-spacing: -0.02em; }
.plans .pp { display: block; font-family: var(--display); font-size: var(--step-head); letter-spacing: -0.02em; line-height: 1; margin-top: 10px; font-variant-numeric: tabular-nums; }
.plans .pt { display: block; font-size: var(--step-small); margin-top: 6px; color: var(--white-muted); }
.plans tbody th { font-weight: 500; padding-left: 0; }
.plans tbody tr:nth-child(odd) { background: var(--white-step); }
.plans tbody tr:nth-child(odd) th { padding-left: 16px; }
.plans tbody tr:nth-child(even) th { padding-left: 16px; }
.plans .pick { background: var(--accent); color: var(--accent-ink); }
.plans .pick .pt { color: var(--accent-ink); }
.plans tbody tr:nth-child(odd) .pick { background: #b8e88a; }
.plans .go td, .plans .go th { padding-top: 28px; padding-bottom: 28px; background: transparent; }
.plans .go .pick { background: var(--accent); }
.plans .go .btn { width: 100%; }
.fine { margin-top: 48px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; font-size: var(--step-body); color: var(--white-muted); }
.fine p { grid-column: span 6; max-width: 58ch; }
.fine a { color: var(--bg); font-weight: 500; }

/* How it works: one reading column */
.how { padding: clamp(96px, 12vw, 200px) var(--m); }
.how-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: start; }
.how-side { grid-column: 1 / span 5; }
.how-side .head { font-size: var(--step-head); margin-bottom: 40px; }
.how-side img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.read-col { grid-column: 7 / span 6; max-width: 640px; padding-top: 12px; }

.stage + .stage { margin-top: 72px; }
.stage p { font-size: 1.125rem; line-height: 1.6; color: var(--muted); }
.stage p b { color: var(--ink); font-weight: 500; }
.ev { margin-top: 20px; width: 100%; }
.crop169 { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: 50% 62%; }
.mail { background: var(--surface); color: var(--ink); padding: 20px 22px; font-size: 1rem; }
.stage .mail p.mail-sub { font-size: 1rem; color: var(--ink); font-weight: 500; margin-bottom: 12px; }
.mail li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.mail li span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); }
.mail li.tot { margin-top: 6px; padding-top: 10px; background: var(--surface-2); margin-left: -10px; margin-right: -10px; padding-left: 10px; padding-right: 10px; font-weight: 500; }
.mail li.tot span:last-child { color: var(--accent); }
.trio { display: flex; gap: 10px; }
.trio img { height: 96px; width: auto; flex: 1 1 0; min-width: 0; object-fit: cover; }

/* What we build with: three name columns */
.kit { padding: clamp(96px, 10vw, 160px) 0; }
.kit-title { font-family: var(--display); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 400; letter-spacing: -0.01em; margin-bottom: 64px; }
.kit-cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.kit-col { grid-column: span 3; }
.kit-col:nth-child(1) { grid-column: 1 / span 3; }
.kit-col:nth-child(2) { grid-column: 4 / span 3; }
.kit-col:nth-child(3) { grid-column: 7 / span 3; }
.kit-col h3 { font-size: var(--step-body); font-weight: 500; margin-bottom: 1.25em; }
.kit-col li { color: #b3bcb3; line-height: 1.25; padding: 3px 0; cursor: default; transition: color .25s ease; width: fit-content; }
.kit-col li:hover, .kit-col li:focus-visible, .kit-col li.on { color: var(--ink); }
.kit-sum { display: none; color: var(--muted); margin-top: 14px; }
.kit-say { grid-column: 10 / span 3; grid-row: 1; align-self: start; background: var(--bg); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.kit-say b { font-family: var(--display); font-weight: 400; font-size: var(--step-lead); line-height: 1.1; }
.kit-say p { color: var(--ink); }
.kit-say p.swap { animation: factIn .4s var(--ease-out) both; }

/* scan-ai */
.scanai { padding: clamp(96px, 12vw, 200px) 0; }
.scan-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: center; }
.scan-text { grid-column: 1 / span 5; }
.scan-text .head { margin-bottom: 28px; }
.scan-text > p { max-width: 46ch; color: var(--bg); }
.rows.tight { margin: 28px 0 32px; }
.scan-text .note { margin-top: 14px; font-size: var(--step-small); color: var(--white-muted); }
.scan-pics { grid-column: 7 / span 6; display: grid; grid-template-columns: 3fr 2fr; gap: 10px; align-items: end; }
.scan-pics img { width: 100%; height: auto; }
.sp-side { aspect-ratio: 2/3; object-fit: cover; }

/* Contact */
.contact { padding: clamp(72px, 7vw, 96px) 0 clamp(80px, 9vw, 140px); min-height: 80svh; }
.drift { overflow: hidden; margin-bottom: 72px; }
.drift-track { display: flex; gap: 8px; width: max-content; min-width: 100%; animation: drift 40s ease-in-out infinite alternate; }
.drift-track img { height: 180px; width: auto; object-fit: cover; }
.drift-track .r34 { aspect-ratio: 3/4; }
.drift-track .r11 { aspect-ratio: 1; }
.drift-track .r32 { aspect-ratio: 3/2; }
@keyframes drift { to { transform: translateX(min(0px, calc(100vw - 100%))); } }
.contact .head { margin-bottom: 20px; }
.contact .lead { color: var(--ink); margin-bottom: 40px; max-width: 40ch; }
.ask { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.cell { display: block; background: var(--surface-2); min-height: 96px; border: 0; border-radius: 0; color: var(--ink); font: 400 1.125rem/1.2 var(--face); transition: background-color .25s ease; }
.cell select, .cell input { width: 100%; height: 96px; background: transparent; border: 0; color: var(--ink); font: inherit; text-align: center; text-align-last: center; padding: 0 20px; appearance: none; -webkit-appearance: none; border-radius: 0; }
.cell select option { color: #000; }
.cell input::placeholder { color: var(--muted); opacity: 1; }
.cell:focus-within { background: var(--surface-2); }
.cell select:focus-visible, .cell input:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.send { background: var(--accent); color: var(--accent-ink); font-weight: 500; cursor: pointer; }
.send:hover { background: var(--white); }
.send:active { transform: scale(.99); }
.draft { margin-top: 8px; background: var(--surface-2); padding: 22px 24px; font-size: var(--step-body); }
.draft p + p { margin-top: 6px; }
.draft span { display: inline-block; min-width: 5.5em; color: var(--muted); }
.draft-body { color: var(--ink); max-width: 70ch; }
.fine-dark { margin-top: 14px; font-size: var(--step-small); color: var(--muted); }

/* Footer tiles */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; padding: 8px; background: var(--bg); }
.tile { background: var(--surface); padding: 20px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; color: var(--ink); }
.st { grid-column: 1 / span 4; }
.st-line { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.02em; max-width: 20ch; }
.legal { font-size: var(--step-small); color: var(--muted); max-width: 60ch; }
.nv { grid-column: 5 / span 3; justify-content: flex-start; gap: 6px; }
.nv a { text-decoration: none; width: fit-content; }
.nv a:hover { color: var(--accent); }
.hr { grid-column: 8 / span 2; }
.hr p { color: var(--ink); }
.em { grid-column: 10 / span 3; justify-content: flex-end; }
.em a { font-size: var(--step-lead); letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere; }
.em a:hover { color: var(--accent); }
.wm { grid-column: 1 / span 8; min-height: 320px; background: var(--white); color: var(--bg); align-items: center; justify-content: center; overflow: hidden; }
.wm span { font-family: var(--display); font-size: 10vw; font-weight: 400; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.ac { grid-column: 9 / span 4; min-height: 320px; background: var(--accent); color: var(--accent-ink); }
.ac span { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.03em; }
.ac svg { width: 64px; height: 64px; align-self: flex-end; fill: none; stroke: currentColor; stroke-width: 4; transition: transform .45s var(--ease-out); }
.ac:hover svg { transform: translate(8px, 0); }

/* Sample viewer */
.viewer { border: 0; padding: 0; background: var(--bg); color: var(--ink); width: min(980px, 100vw); max-height: 92svh; }
.viewer::backdrop { background: rgba(0, 0, 0, .8); }
.viewer form { position: sticky; top: 0; display: flex; justify-content: flex-end; padding: 12px; background: var(--bg); }
.viewer p { padding: 0 20px 12px; }

/* Entrances: hidden only when the script has run, shown in place under reduced motion */
html.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
html.js .rise.in { opacity: 1; transform: none; }
/* Pictures open from a mask instead of rising */
html.js .rise.open { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-out); transition-delay: var(--d, 0ms); }
html.js .rise.open.in { clip-path: inset(0 0 0 0); }
/* Lists arrive row by row */
html.js .kit-col li { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .6s var(--ease-out), color .25s ease; }
html.js .kit-col.in li { opacity: 1; transform: none; }
.kit-col li:nth-child(2) { transition-delay: 60ms, 60ms, 0ms; } .kit-col li:nth-child(3) { transition-delay: 120ms, 120ms, 0ms; }
.kit-col li:nth-child(4) { transition-delay: 180ms, 180ms, 0ms; } .kit-col li:nth-child(5) { transition-delay: 240ms, 240ms, 0ms; }
.kit-col li:nth-child(6) { transition-delay: 300ms, 300ms, 0ms; } .kit-col li:nth-child(7) { transition-delay: 360ms, 360ms, 0ms; }
/* The first-screen strip slides in frame by frame */
html.js .lit-row li { animation: litIn .9s var(--ease-out) both; }
.lit-row li:nth-child(2) { animation-delay: .06s; } .lit-row li:nth-child(3) { animation-delay: .12s; } .lit-row li:nth-child(4) { animation-delay: .18s; }
.lit-row li:nth-child(5) { animation-delay: .24s; } .lit-row li:nth-child(n+6) { animation-delay: .3s; }
@keyframes litIn { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
/* Scroll-linked: the footer wordmark grows into place, the step photo drifts against the column */
@supports (animation-timeline: view()) {
  .wm span { animation: wmIn linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  @keyframes wmIn { from { transform: scale(.82); opacity: .4; } to { transform: none; opacity: 1; } }
  .how-side img { animation: drift-y linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  @keyframes drift-y { from { transform: scale(1.12) translateY(-4%); } to { transform: scale(1.12) translateY(4%); } }
  .how-side figure { overflow: hidden; }
}

@media (max-width: 1020px) {
  .hero-blocks p { grid-column: span 6; }
  .hero-action { grid-column: span 6; justify-self: start; }
  .kit-col:nth-child(1) { grid-column: 1 / span 4; }
  .kit-col:nth-child(2) { grid-column: 5 / span 4; }
  .kit-col:nth-child(3) { grid-column: 9 / span 4; }
  .kit-say { grid-column: 1 / -1; grid-row: auto; margin-top: 32px; }
  .how-side { grid-column: 1 / -1; margin-bottom: 48px; }
  .how-side img { aspect-ratio: 16/9; }
  .read-col { grid-column: 1 / -1; margin: 0 auto; }
  .fine p { grid-column: 1 / -1; }
  .plans { font-size: var(--step-body); }
  .plans .corner { width: 25%; }
  .board .c h2 { font-size: 1.375rem; }
  .plans .corner .head { font-size: 2rem; }
  .scan-grid { grid-template-columns: 1fr; }
  .scan-text, .scan-pics { grid-column: 1; }
  .scan-pics { margin-top: 48px; max-width: 640px; }
}

@media (max-width: 720px) {
  .display { font-size: 2.05rem; }
  .head, .sample-title, .kit-title { font-size: 1.75rem; }
  .bar { gap: 12px; position: relative; }
  .bar nav { display: none; }
  .bar-cta { margin-left: auto; min-height: 44px; }
  .hero-blocks { grid-template-columns: 1fr; gap: 14px; }
  .hero-blocks p, .hero-action { grid-column: 1; }
  .lit-row { height: 46vh; max-height: 360px; }
  .work { padding-top: 112px; }
  .client-list li { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
  .cn, .cr { grid-column: 1; }
  .client-pic { display: none; }
  .facts em { grid-column: 1 / -1; }
  .facts i { grid-column: 2; }
  .work-head { grid-template-columns: 1fr; margin-bottom: 56px; }
  .work-head h2, .work-head .lead { grid-column: 1; }
  .strip { padding: 0 11vw; gap: 10px; height: 62vw; min-height: 220px; }
  .band + .band { margin-top: 64px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .facts b { grid-column: 1; }
  .facts i { grid-column: 2; grid-row: 1; }
  .facts span { grid-column: 1 / -1; }
  .rows li { min-height: 44px; }
  .rows li { flex-wrap: wrap; gap: 2px 12px; }
  .rows b { text-align: left; padding-left: 22px; }
  .package { padding: 64px var(--m); display: flex; flex-direction: column; }
  .board { grid-template-columns: 1fr 1fr; order: 2; margin-top: 8px; }
  .board .t:not(.c) { display: none; }
  .board .t { grid-column: auto; grid-row: auto; aspect-ratio: auto; min-height: 150px; }
  .board .t:first-child { grid-column: 1 / -1; min-height: 0; }
  .board .t:first-child h2 { font-size: 9vw; max-width: none; }
  .board .act { grid-column: 1 / -1; min-height: 96px; }
  .board .act a { flex-direction: row; align-items: center; }
  .board .c p { font-size: 1.0625rem; }
  .board-phone { display: block; order: 1; }
  .board-phone img { width: 100%; }
  .plans .go td::before { content: none; }
  .plans .go .pick { background: transparent; padding: 6px 0; }
  .plans .go td { padding: 6px 0; }
  .samples { min-height: 64svh; }
  .sample-row li { width: 34vw; min-width: 0; height: 51vw; min-height: 0; }
  .sample-row { scroll-snap-type: x mandatory; }
  .sample-title { top: -40px; }
  .plans, .plans thead, .plans tbody, .plans tr, .plans th, .plans td { display: block; width: auto; }
  .plans thead th { padding: 16px 0; }
  .plans .corner { width: auto; }
  .plans .corner .head { max-width: none; }
  .plans thead th.pick, .plans thead th:not(.corner) { padding: 16px; margin-top: 8px; background: var(--white-step); }
  .plans thead th.pick { background: var(--accent); }
  .plans tbody th { padding: 24px 0 8px !important; }
  .plans td { padding: 10px 16px; }
  .plans td::before { content: attr(data-plan); display: block; font-size: var(--step-small); font-weight: 500; }
  .plans tbody tr { background: transparent !important; }

  .stage + .stage { margin-top: 56px; }
  .trio { overflow-x: auto; }
  .trio img { height: 120px; flex: 1 1 0; }
  .kit-cols { grid-template-columns: 1fr; gap: 40px; }
  .kit-col, .kit-col:nth-child(n) { grid-column: 1; }
  .kit-col li { font-size: 1.125rem; line-height: 1.4; }
  html.js .kit-col li { opacity: 1; transform: none; }
  .kit-say { display: none; }
  .kit-sum { display: block; }
  .scan-grid { grid-template-columns: 1fr; }
  .scan-text, .scan-pics { grid-column: 1; }
  .scan-pics { margin-top: 40px; }
  .drift-track img { height: 120px; }
  .ask { grid-template-columns: 1fr; }
  .cell, .cell select, .cell input { min-height: 60px; height: 60px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
  .tile { min-height: 160px; }
  .wm, .ac { grid-column: 1 / -1; min-height: 160px; order: -2; }
  .ac { order: -1; }
  .wm span { font-size: 15vw; }
  .nv { grid-column: span 1; }
  .em { grid-column: 1 / -1; min-height: 96px; }
  .board .t.wide { grid-column: 1 / -1; }
  .hr, .st { grid-column: span 1; }
  .em a { font-size: 1.25rem; overflow-wrap: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .rise, html.js .kit-col li { opacity: 1; transform: none; }
  html.js .rise.open { clip-path: none; }
}

/* One size for every section heading on phones, below the 2.05rem headline */
@media (max-width: 720px) { h2.head, .plans .corner .head, .how-side .head, #package-title, .sample-title, .kit-title { font-size: 1.75rem; } }
.plans thead th { vertical-align: top; }
