@font-face { font-family: 'Instrument Serif'; src: url(fonts/InstrumentSerif.woff2) format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(fonts/InstrumentSerif-Italic.woff2) format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url(fonts/DMSans.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #0F1012;
  --panel: #1B1C20;
  --panel-deep: #17181C;
  --line: #33343A;
  --paper: #F2EDE3;
  --muted: #A9A6A0;
  --tungsten: #FF7A3D;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --gutter: clamp(16px, 6.6vw, 128px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; scrollbar-color: var(--line) var(--ink); -webkit-text-size-adjust: 100%; }
body { position: relative; background: var(--ink); color: var(--paper); font: 400 18px/1.55 var(--sans); overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
::selection { background: var(--tungsten); color: var(--ink); }
:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 5px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(3.5rem, 8.2vw, 6rem); line-height: 1.02; }
h2 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.08; }
p { text-wrap: pretty; }
.wrap { position: relative; z-index: 2; padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }
.lede { color: var(--muted); font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.45; max-width: 34em; }
.note { color: var(--muted); font-size: .875rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 10px; border: 1px solid transparent; font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn-primary { background: var(--tungsten); color: var(--ink); }
.btn-primary:hover { background: var(--paper); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { background: var(--panel); color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.btn-quiet { border-color: var(--line); color: var(--paper); }
.btn-quiet:hover { border-color: var(--paper); }

/* Nav */
.nav { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px var(--gutter); }
.brand { font: 400 1.875rem/1 var(--serif); text-decoration: none; }
.nav ul { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); list-style: none; font-size: 1rem; }
.nav ul a { text-decoration: none; }
.nav ul a:hover { color: var(--tungsten); }
.nav .nav-cta { color: var(--tungsten); font-weight: 600; }

/* Thread: the one line that runs through the page */
#thread { position: absolute; z-index: 1; top: 0; left: 0; pointer-events: none; overflow: visible; }
#thread path { fill: none; stroke: var(--tungsten); stroke-width: 2; stroke-linecap: round; }

/* Hero: a crayon colours the drawing into film, then the film plays */
.hero { position: relative; height: 100svh; min-height: 620px; }
.hero-pin { position: relative; z-index: 2; height: 100%; overflow: hidden; background: var(--ink); }
.hero-pin canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-pin video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hero-pin .nav { z-index: 5; }
.hero-copy { position: absolute; z-index: 5; top: 50%; left: 0; translate: 0 -50%; width: min(40%, 640px); padding: 0 0 0 var(--gutter); box-sizing: content-box; max-width: none; margin: 0; }
.hero-copy .id { margin-top: 28px; color: var(--tungsten); font-weight: 600; font-size: clamp(1.25rem, 1.9vw, 1.625rem); line-height: 1.3; }
.hero-copy .lede { margin-top: 14px; max-width: 26em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.anchor { position: absolute; width: 0; height: 0; }
.hero > .anchor { left: calc(var(--gutter) / 2); bottom: 0; }
.caption { position: absolute; z-index: 3; right: var(--gutter); bottom: 22px; font-size: .875rem; color: var(--paper); text-shadow: 0 1px 8px rgba(0, 0, 0, .7); text-align: right; pointer-events: none; }


/* Glue */
.familiar { padding-block: clamp(72px, 10vw, 140px); }
.familiar-list { margin-top: clamp(28px, 4vw, 56px); border-top: 1px solid var(--line); }
.familiar-list div { display: grid; grid-template-columns: 6fr 5fr; gap: 8px clamp(32px, 6vw, 96px); align-items: baseline; padding-block: clamp(20px, 2.6vw, 34px); border-bottom: 1px solid var(--line); }
.familiar-list dt { font: 400 clamp(1.75rem, 3.4vw, 3rem)/1.12 var(--serif); text-wrap: balance; }
.familiar-list dd { color: var(--muted); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.45; }
.familiar-list dd b { color: var(--tungsten); font-weight: 600; }
.glue { height: 190vh; position: relative; }
.glue-pin { position: sticky; z-index: 2; top: 0; min-height: 100svh; background: var(--ink); display: flex; align-items: center; padding-block: 72px; }
.glue-pin .wrap { width: 100%; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.glue-copy { position: relative; min-height: 15em; }
.glue-copy > div { position: absolute; inset: 0 0 auto 0; transition: opacity .5s, transform .7s var(--ease); }
.glue-copy > div + div { opacity: 0; transform: translateY(16px); }
.joined .glue-copy > div:first-child { opacity: 0; transform: translateY(-16px); }
.joined .glue-copy > div + div { opacity: 1; transform: none; }
.glue-copy p { margin-top: 20px; }
.board { position: relative; aspect-ratio: 3 / 2; }
.board svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.board path { fill: none; stroke: var(--tungsten); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.word { position: absolute; left: 0; top: 0; font: 400 clamp(1.375rem, 2.7vw, 2.375rem)/1 var(--serif); white-space: nowrap; will-change: transform; padding: 4px 8px; background: var(--ink); border-radius: 6px; }
.by-hand { position: absolute; left: 0; top: 0; font: italic 400 clamp(1.25rem, 2.4vw, 2rem)/1 var(--serif); color: var(--muted); white-space: nowrap; padding: 4px 8px; background: var(--ink); }
.argos { position: absolute; left: 0; top: 0; padding: 4px 14px; background: var(--ink); color: var(--tungsten); font: 400 clamp(2.25rem, 4.6vw, 4rem)/1 var(--serif); }

/* Followthrough */
.follow { position: relative; padding-block: clamp(40px, 5vw, 72px) 0; }
.follow > .a1 { left: calc(var(--gutter) / 2); top: 0; }
.follow > .a2 { left: calc(var(--gutter) / 2); bottom: 0; }
.apply .a3 { left: calc(var(--gutter) / 2); top: 34%; }
.follow-head { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
.follow-head p { margin-top: 18px; }
.follow-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.steps { padding-bottom: 28vh; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; transition: opacity .4s; }
.js .step { opacity: .4; }
.js .step.on { opacity: 1; }
.step h3 { font-size: clamp(2.25rem, 3.8vw, 3.5rem); line-height: 1.05; color: var(--tungsten); }
.step p { margin-top: 14px; max-width: 30em; }
.step blockquote { margin-top: 18px; padding: 16px 20px; background: var(--panel); border-radius: 12px; font-size: 1.0625rem; max-width: 30em; }
.step blockquote.you { background: none; border: 1px solid var(--line); }
.step blockquote cite { display: block; margin-bottom: 4px; color: var(--muted); font-size: .875rem; font-style: normal; font-weight: 600; }
.stage-col { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; align-self: start; gap: 12px; }
.stage { position: relative; background: var(--panel-deep); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.stage-bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; font-size: .9375rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.stage-bar span + span { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s, transform 1.2s var(--ease); }
.screen img.show { opacity: 1; transform: none; }
.mark { position: absolute; left: 16%; top: 27%; width: 14%; height: 22%; border: 2px solid var(--tungsten); border-radius: 8px; opacity: 0; transform: scale(1.3); transition: opacity .3s, transform .6s var(--ease); }
.mark span { position: absolute; left: -2px; top: calc(100% + 6px); padding: 2px 8px; border-radius: 4px; background: var(--tungsten); color: var(--ink); font-size: .8125rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.approval { position: absolute; left: 50%; bottom: 16px; width: min(92%, 440px); translate: -50% 0; padding: 14px 16px; background: rgba(15, 16, 18, .94); border: 1px solid var(--line); border-radius: 12px; font-size: .9375rem; opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .6s var(--ease); }
.approval .refs { display: flex; gap: 6px; margin-bottom: 10px; }
.approval .refs img { position: static; width: 25%; height: auto; aspect-ratio: 16 / 10; border-radius: 6px; opacity: 1; transform: none; }
.approval div:last-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.approval b { padding: 6px 14px; border-radius: 8px; background: var(--tungsten); color: var(--ink); font-size: .875rem; white-space: nowrap; }
.stage[data-at='review'] .mark, .stage[data-at='build'] .approval { opacity: 1; transform: none; }
.takes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 8px; }
.takes img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; width: 100%; opacity: .45; transition: opacity .4s; }
.stage[data-at='next'] .takes img { opacity: 1; }
.stage-col .note { padding-inline: 2px; }

/* Philosophy */
.belief { position: relative; z-index: 2; background: var(--tungsten); color: var(--ink); padding-block: clamp(80px, 13vw, 180px); }
.belief p { font: 400 clamp(2.25rem, 5.6vw, 5rem)/1.1 var(--serif); max-width: 21em; letter-spacing: -.01em; }
.belief strong { font-weight: 400; font-style: italic; }
.belief span { display: block; margin-top: 28px; font: 600 1.125rem/1.4 var(--sans); }

/* For / not */
.fit { padding-block: clamp(80px, 11vw, 160px); }
.fit-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.fit h2 + p { margin-top: 24px; }
.fit ul { list-style: none; border-top: 1px solid var(--line); }
.fit li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fit dl { border-top: 1px solid var(--line); }
.fit dl div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.fit dt { font-weight: 600; }
.fit dd { color: var(--muted); }

/* Today + pricing */
.today { background: var(--panel-deep); position: relative; padding-block: clamp(80px, 10vw, 140px); }
.today-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); }
.today h2 + p { margin-top: 20px; }
.price { display: flex; flex-direction: column; gap: 28px; }
.price h3 { font-size: clamp(3rem, 6vw, 5rem); line-height: 1; }
.price h3 + p { margin-top: 10px; color: var(--muted); max-width: 34em; }
.price ul { list-style: none; border-top: 1px solid var(--line); }
.price li { padding: 16px 0; border-bottom: 1px solid var(--line); }

/* FAQ */
.faq { padding-block: clamp(80px, 10vw, 140px); }
.faq-list { margin-top: 32px; max-width: 860px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 20px 40px 20px 0; font-size: 1.125rem; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--tungsten); border-bottom: 2px solid var(--tungsten); rotate: 45deg; transition: rotate .25s var(--ease), margin-top .25s var(--ease); }
details[open] summary::after { rotate: 225deg; margin-top: -2px; }
details p { padding-bottom: 22px; color: var(--muted); max-width: 42em; }

/* Apply */
.apply { position: relative; overflow: hidden; padding-block: clamp(80px, 11vw, 160px); }
.apply > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.apply::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 18%, rgba(15, 16, 18, .55) 100%); }
.apply-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.apply h2 + p { margin-top: 20px; }
.ask { display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 2.6vw, 36px); background: var(--panel); border-radius: 16px; }
.ask h3 { font-size: 2rem; line-height: 1.1; }
.ask ul { list-style: none; border-top: 1px solid var(--line); }
.ask li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.ask .btn { align-self: stretch; }
.ask .note[hidden] { display: none; }

/* Footer */
footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding-block: 40px; color: var(--muted); font-size: .9375rem; background: var(--ink); }
.foot { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 64px; }
.foot p + p { margin-top: 10px; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.foot a:hover { color: var(--tungsten); }

/* Legal pages */
.legal .nav { position: static; }
.legal main { position: relative; z-index: 2; padding: 40px var(--gutter) 96px; max-width: calc(44rem + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); }
.legal h2 { font-size: 2rem; margin-top: 44px; }
.legal main > p, .legal li { margin-top: 12px; color: #D8D3CA; }
.legal .note { color: var(--muted); }
.legal ul { padding-left: 1.2em; }
.legal li::marker { color: var(--tungsten); }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .nav ul li:not(:last-child) { display: none; }
  .hero-copy { top: 84px; translate: none; width: auto; right: 0; padding: 0 var(--gutter); box-sizing: border-box; }
  .hero-copy .lede { font-size: 1rem; }
  .hero-actions { margin-top: 20px; }
  .btn { min-height: 46px; padding: 0 18px; }
  .caption { left: 8px; right: 8px; bottom: 8px; padding: 6px 10px; border-radius: 6px; background: rgba(15, 16, 18, .78); text-align: left; text-shadow: none; }
  .familiar-list div { grid-template-columns: minmax(0, 1fr); }
  .glue-pin .wrap, .follow-grid, .fit-grid, .today-grid, .apply-grid, .foot { grid-template-columns: minmax(0, 1fr); }
  .glue-pin .wrap { gap: 28px; }
  .glue-copy { min-height: 13.5em; }
  .board { aspect-ratio: 1 / 1; }
  .follow-grid { gap: 0; }
  .steps { display: contents; }
  .follow-head { order: -2; min-height: 0; padding-block: 24px 16px; }
  .stage-col { order: -1; top: 0; height: auto; z-index: 3; padding-block: 12px 8px; background: var(--ink); }
  .stage-col .note, .takes { display: none; }
  .stage-bar { padding: 8px 12px; font-size: .875rem; white-space: nowrap; }
  .stage-bar span:first-child { overflow: hidden; text-overflow: ellipsis; }
  .step { min-height: 62vh; }
  .approval { font-size: .8125rem; padding: 8px 10px; bottom: 8px; }
  .approval .refs { display: none; }
  .foot ul { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

.hero .nav ul a { color: var(--paper); text-shadow: 0 1px 10px rgba(0, 0, 0, .75); }
