:root {
  --ink: #1d2430;
  --paper: #f3ede1;
  --rust: #b4441f;
  --night: #0b0b0d;
  --console: #0e1116;
  --green: #4ade80;
  --amber: #f59e0b;
  --gutter: max(16px, 8vw);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-snap-type: y proximity; }
body {
  font-family: "Poppins", -apple-system, "Helvetica Neue", sans-serif;
  background: var(--night);
  color: #f4f4f5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overflow-wrap: break-word;
}
img { max-width: 100%; }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.slide {
  min-height: 100vh;
  min-height: 100svh;
  padding: 9vh var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
}
.kicker { font: 12px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 20px; }

html.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
html.js .rv.in { opacity: 1; transform: none; }

html.js .exploded.build .lay { opacity: 0; transform: translateY(46px); transition: opacity .55s ease, transform .7s cubic-bezier(.2,.75,.25,1); transition-delay: calc(.3s + var(--k) * .14s); }
html.js .rv.in .exploded.build .lay { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; } .d2 { transition-delay: .24s; } .d3 { transition-delay: .38s; }

#dots { position: fixed; left: 30px; top: 50%; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; gap: 16px; max-height: 92vh; }
#dots:empty { display: none; }
#dots a { position: relative; display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; }
#dots i { width: 12px; height: 12px; border-radius: 50%; background: rgba(128,128,128,.6); box-shadow: 0 0 0 1px rgba(128,128,128,.25); display: block; transition: all .3s; flex: none; }
#dots a.on i { background: var(--amber); transform: scale(1.35); box-shadow: 0 0 0 4px rgba(245,158,11,.22); }
#dots span { position: absolute; left: 28px; top: 50%; transform: translateY(-50%); font: 10px ui-monospace, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: #d4d4d8; background: rgba(11,11,13,.86); padding: 3px 7px; border-radius: 4px; opacity: 0; transition: opacity .2s; max-width: 28ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
#dots a:hover span, #dots a:focus-visible span { opacity: 1; }
#dots b { display: none; gap: 3px; align-items: center; }
#dots a.on b { display: flex; }
#dots u { display: block; width: 7px; height: 4px; border-radius: 2px; background: rgba(128,128,128,.45); }
#dots u.on { background: var(--amber); }
#dots u:only-child { display: none; }
#dots a:hover b, #dots a:focus-visible b { visibility: hidden; }

.A .cta.why-btn, .A .cta.why-more { background: var(--ink); color: #f3ede1; }
.why { max-width: 40em; }
.A h2.why-title { font-size: clamp(34px, 4.2vw, 60px); max-width: 22ch; margin-bottom: 32px; }
.why-text { font-family: "DM Serif Display", "Iowan Old Style", Georgia, serif; font-size: clamp(18px, 1.8vw, 28px); line-height: 1.5; color: #2a3240; }
p.sources { margin-top: 10px; font: 12px ui-monospace, Menlo, monospace; letter-spacing: .08em; color: #8b95a5; }
p.sources a { color: #c4cad4; margin-right: 6px; }

.scroll-cue { position: absolute; left: var(--gutter); bottom: 5vh; display: inline-flex; align-items: center; gap: 12px; font: 12px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.scroll-cue i { width: 34px; height: 34px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; flex: none; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 42%; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translate(-50%, -50%) rotate(45deg); }
@media (prefers-reduced-motion: no-preference) { .scroll-cue i { animation: cue 1.8s ease-in-out infinite; } }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

.chap { display: none; position: fixed; left: 0; right: 0; top: 0; height: 36px; align-items: center; padding: 0 22px; z-index: 19; font: 10px ui-monospace, Menlo, monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--bar-ink, #a1a1aa); background: color-mix(in srgb, var(--bar, #0b0b0d) 85%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--bar-line, rgba(255,255,255,.06)); pointer-events: none; }

.chap[data-m="A"] { --bar: #f3ede1; --bar-ink: #b4441f; --bar-line: rgba(29,36,48,.12); }
.chap[data-m="B"] { --bar: #0b0b0d; --bar-ink: #a1a1aa; }
.chap[data-m="C"] { --bar: #0e1116; --bar-ink: #4ade80; }

.A { background: var(--paper); color: var(--ink);
     background-image: linear-gradient(rgba(29,36,48,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(29,36,48,.06) 1px, transparent 1px); background-size: 24px 24px; }
.A .kicker { color: var(--rust); }
.A h1 { font-family: "DM Serif Display", "Iowan Old Style", Georgia, serif; font-weight: 500; font-size: clamp(34px, 3.8vw, 72px); line-height: 1.02; letter-spacing: -.01em; }
.A h1 .ln { display: block; }

.A .hero-name { font-family: "DM Serif Display", "Iowan Old Style", Georgia, serif; font-size: clamp(18px, 1.6vw, 24px); color: var(--ink); margin-bottom: 14px; }
.A h2 { font-family: "DM Serif Display", "Iowan Old Style", Georgia, serif; font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
.A h2.h-md { font-size: clamp(32px, 4.2vw, 58px); }
.A h2.h-md.lines { font-size: clamp(26px, 2.7vw, 50px); line-height: 1.12; }
.A h2.lines .ln { display: block; }
.A p.big { font-family: "DM Serif Display", "Iowan Old Style", Georgia, serif; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; max-width: 40ch; color: #3a4352; margin-top: 24px; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4vw; align-items: center; }

.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 720 / 700; max-height: 80vh; object-fit: cover; object-position: center top; display: block; border: 1.5px solid var(--ink); }
.tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; }
.tl div { border-top: 2px solid var(--ink); padding-top: 14px; font-family: Georgia, serif; font-size: 17px; line-height: 1.4; }
.tl-big { margin-top: 8px; }
.tl-big div { font-size: clamp(19px, 1.75vw, 26px); line-height: 1.35; border-top-width: 3px; padding-top: 16px; }
.tl span { display: block; font: 11px ui-monospace, Menlo, monospace; color: var(--rust); letter-spacing: .14em; margin-bottom: 8px; }
.tl-big span { font-size: 13px; margin-bottom: 10px; }
.A h2.origin-title { font-size: clamp(34px, 4.2vw, 60px); max-width: 24ch; margin-bottom: 40px; }

.origin-story { max-width: 36em; }
.origin-story p { font-family: "DM Serif Display", "Iowan Old Style", Georgia, serif; font-size: clamp(16px, 1.7vw, 26px); line-height: 1.5; color: #2a3240; }
.origin-story p + p { margin-top: 1em; }
.origin-map { margin: 0; }
.origin-map img { display: block; width: 100%; max-height: 82vh; object-fit: contain; }
.origin-map .legend { display: flex; justify-content: center; gap: 22px; margin-top: 10px; font: 11px ui-monospace, Menlo, monospace; letter-spacing: .06em; color: var(--ink); }
.origin-map .legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; }
.origin-map .legend .lived::before { background: var(--rust); }
.origin-map .legend .worked::before { border: 2px solid var(--rust); width: 6px; height: 6px; background: var(--paper); }
.origin-map canvas.globe { display: block; margin: 0 auto; cursor: grab; touch-action: pan-y; }
.origin-map canvas.globe:active { cursor: grabbing; }
.origin-map canvas.globe:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; border-radius: 50%; }
.origin-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5vw; align-items: center; }
.origin-grid > * { min-width: 0; }
.origin-photos { position: relative; height: 74vh; margin: 0; }
.origin-photos img { position: absolute; object-fit: cover; display: block; border: 1.5px solid var(--ink); }
.origin-photos .op1 { top: 0; right: 0; width: 74%; height: 84%; }
.origin-photos .op2 { left: 0; bottom: 0; width: 46%; height: 48%; box-shadow: 6px 8px 0 rgba(29,36,48,.14); }

.arc { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 22px; margin-top: 44px; position: relative; padding-top: 22px; }
.arc::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; border-top: 1.5px dashed var(--rust); }
.arc li { position: relative; }
.arc li::before { content: ""; position: absolute; top: -22px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--rust); }
.arc li:last-child::before { background: var(--rust); }
.arc-label { display: block; font: 11px ui-monospace, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.arc-num { display: block; font: 500 clamp(26px, 2.4vw, 36px) "DM Serif Display", "Iowan Old Style", Georgia, serif; letter-spacing: -.01em; margin-top: 6px; line-height: 1.05; }
.arc-since { display: block; font: 10.5px ui-monospace, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: #6b7280; margin-top: 2px; }
.arc-text { font: 13.5px/1.45 Georgia, serif; color: #3a4352; margin-top: 8px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 6vw; align-items: center; }
.split > * { min-width: 0; }
.mpoints { list-style: none; margin-top: 22px; border-top: 1.5px solid var(--ink); max-width: 30em; }
.mpoints li { font-family: "DM Serif Display", "Iowan Old Style", Georgia, serif; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.35; padding: 9px 0; border-bottom: 1px solid rgba(29,36,48,.18); }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 12px; }
.logos img { height: 18px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0); opacity: .62; }
.logos .wm { font: 700 11px/1 ui-monospace, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; opacity: .62; }
.lnote { margin-top: 8px; font: 11px/1.4 Georgia, serif; font-style: italic; color: #6b7280; }
.mcap { margin-top: 24px; font-family: "DM Serif Display", "Iowan Old Style", Georgia, serif; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: #3a4352; max-width: 34ch; }
.teams { margin-top: 28px; font: 12px ui-monospace, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: #3a4352; line-height: 2; }
.cut svg { display: block; width: 100%; height: auto; }
.cut svg.exploded.cut-h { max-height: 84vh; }

.cutaway.cut-v { display: none; }
.exploded.cut-v { display: none; }
.toB { background: linear-gradient(var(--paper), var(--night)); min-height: 36vh; }

.B { background: var(--night); color: #f4f4f5; }
.B .kicker { color: #a1a1aa; }
.B h2 { font-size: clamp(40px, 5.4vw, 80px); line-height: 1; letter-spacing: -.025em; font-weight: 750; }

.B h2.gradient { max-width: 24ch; font-size: clamp(40px, 6.2vw, 96px); }
.work-label { margin-top: 40px; font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #a1a1aa; }

.gradient .g2 { display: block; width: fit-content; margin-top: .08em; color: var(--amber); }
.B .sub { color: #a1a1aa; font-size: 19px; max-width: 48ch; margin-top: 20px; line-height: 1.5; }
.proj { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4.5vw; align-items: center; }
.proj.flip { grid-template-columns: 1.2fr .8fr; }
.proj.solo { grid-template-columns: 1fr; max-width: 60ch; }
.proj > * { min-width: 0; }
.num { font-size: clamp(64px, 7vw, 120px); font-weight: 800; letter-spacing: -.045em; line-height: .9; white-space: nowrap; }
.num.long { font-size: clamp(40px, 4.2vw, 68px); letter-spacing: -.035em; }
.num .unit { font-size: clamp(20px, 1.8vw, 28px); font-weight: 650; letter-spacing: -.01em; margin-left: .35em; }

.proj h2 { font-size: clamp(26px, 2.5vw, 38px); letter-spacing: -.015em; margin-top: 16px; line-height: 1.12; max-width: 24ch; text-wrap: balance; }
.proj .lede { color: #c4c4cc; font-size: 16.5px; line-height: 1.55; margin-top: 12px; max-width: 40ch; }
.proj .result { color: #ececf1; font-size: 15.5px; line-height: 1.5; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); max-width: 40ch; }
.proj .result strong { color: #fff; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chips span { font: 11px ui-monospace, Menlo, monospace; color: #d4d4d8; border: 1px solid #3f3f46; padding: 4px 9px; border-radius: 999px; }

.plist { list-style: none; margin-top: 18px; max-width: 48ch; font: 12px/1.7 ui-monospace, Menlo, monospace; color: #a1a1aa; }
.plist li { position: relative; padding-left: 1.4em; }
.plist li::before { content: "+"; position: absolute; left: 0; color: #71717a; }
.open { display: inline-block; align-self: flex-start; margin-top: 22px; color: #0b0b0d; background: #f4f4f5; padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; }
.stage { position: relative; height: 70vh; }
.shot { position: absolute; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.07); background: #111; }
.shot.contain { background: #fff; }

.shot.frame { aspect-ratio: 16 / 10; height: auto; background: #15161a; }
.shot img { width: 100%; height: 100%; object-position: center; display: block; }

.plate { position: absolute; inset: 0; border-radius: 16px; background: var(--paper); color: var(--ink); background-image: linear-gradient(rgba(29,36,48,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(29,36,48,.07) 1px, transparent 1px); background-size: 20px 20px; display: flex; align-items: center; justify-content: center; padding: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.plate svg { display: block; width: 100%; height: 100%; }
.glow-indigo  { --gc: rgba(30,58,138,.5); }
.glow-amber   { --gc: rgba(180,83,9,.45); }
.glow-magenta { --gc: rgba(112,26,117,.5); }
.glow-green   { --gc: rgba(6,95,70,.5); }
.glow-teal    { --gc: rgba(14,116,144,.5); }
.glow-rose    { --gc: rgba(190,18,60,.42); }
.B[class*="glow-"] { background: radial-gradient(900px 520px at 85% 10%, var(--gc), transparent 60%), var(--night); }
.B.flip[class*="glow-"] { background: radial-gradient(900px 520px at 15% 10%, var(--gc), transparent 60%), var(--night); }

.toC { background: linear-gradient(var(--night), var(--console)); min-height: 26vh; }
.C { background: var(--console); color: #d7dde6; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.C .kicker { color: var(--green); }
.C h2 { font-family: "Poppins", -apple-system, "Helvetica Neue", sans-serif; color: #fff; font-size: clamp(34px, 4.4vw, 62px); letter-spacing: -.02em; line-height: 1.05; max-width: 22ch; }
.C .mtext { margin-top: 24px; max-width: 60ch; line-height: 1.6; font-size: 15px; }
.numbers { margin-top: 36px; }
.numbers.with-chart { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4vw; align-items: center; }
.numbers > * { min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.with-chart .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kpi { border: 1px solid #232a35; background: #121720; border-radius: 10px; padding: 20px 22px; line-height: 1.5; font-size: 13px; }
.kpi strong { display: block; color: #fff; font: 700 clamp(30px, 3.2vw, 48px) "Poppins", -apple-system, sans-serif; letter-spacing: -.02em; margin-bottom: 6px; white-space: nowrap; }
.chart { border: 1px solid #232a35; background: #121720; border-radius: 10px; padding: 22px 20px 14px; }
.chart svg { display: block; width: 100%; height: auto; }
.notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 12px; }
.notes div { border: 1px solid #232a35; background: #121720; border-radius: 10px; padding: 18px; font-size: 13px; line-height: 1.5; }
.notes b { display: block; color: #fff; font-family: "Poppins", -apple-system, sans-serif; font-size: 16px; margin-bottom: 6px; }
.notes span { color: var(--green); }
.notes p { margin: 0; font-family: "Poppins", -apple-system, sans-serif; font-size: 15px; line-height: 1.45; }
.notes .fn-p { color: #c4cad4; }
.notes .fn-g { margin-top: 10px; color: var(--green); }
.notes .fn-g i { font-style: normal; font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8b95a5; margin-right: 10px; }
.C h2 + .notes { margin-top: 36px; }
.split.mach { grid-template-columns: 1fr 1fr; gap: 5vw; }

.tree { font: 15px/2 ui-monospace, "SF Mono", Menlo, monospace; color: #d7dde6; background: #121720; border: 1px solid #232a35; border-radius: 10px; padding: 26px 28px; white-space: pre; overflow-x: auto; max-width: 100%; }
.t-root { color: #fff; font-weight: 700; }
.t-br { color: #4a5669; }
.t-dir { color: var(--green); }
.t-num { color: #fff; font-weight: 700; }
.t-note { color: #8b95a5; }
.cnote { margin-top: 18px; font: 12px ui-monospace, Menlo, monospace; letter-spacing: .06em; color: #8b95a5; }
.C h2.close { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; max-width: 38ch; letter-spacing: -.015em; }
.cta { display: inline-block; align-self: flex-start; margin-top: 30px; color: #0e1116; background: #e4e4e7; border-radius: 999px; padding: 13px 22px; text-decoration: none; font: 600 14px "Poppins", -apple-system, sans-serif; }
.contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 30px; }
.contacts .cta { margin-top: 0; }
.contacts .sep { color: #8b95a5; font: 14px "Poppins", -apple-system, sans-serif; }
.contact-line { margin-top: 30px; max-width: 60ch; font-size: 15px; line-height: 1.6; color: var(--green); }
.contact-line::before { content: "> "; color: #6b7686; }

.A h2.contact-title { font-size: clamp(28px, 3vw, 44px); line-height: 1.15; max-width: 26ch; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 5vw; margin-top: 34px; align-items: start; }
.contact-form { display: grid; gap: 14px; max-width: 560px; }
.contact-form label { display: grid; gap: 6px; font: 11px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: #5b6472; }
.contact-form input, .contact-form textarea { font: 17px "DM Serif Display", "Iowan Old Style", Georgia, serif; letter-spacing: 0; text-transform: none; color: var(--ink); background: rgba(255, 255, 255, .55); border: 1px solid rgba(29, 36, 48, .28); border-radius: 8px; padding: 12px 14px; width: 100%; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--rust); outline-offset: 1px; border-color: transparent; }
.A .contact-form .cta { background: var(--ink); color: #f3ede1; }
.contact-form .cta { margin-top: 4px; border: 0; cursor: pointer; justify-self: start; padding-inline: 34px; }
.contact-form .hp { display: none; }
.contact-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-links li { border-top: 1px solid rgba(29, 36, 48, .16); padding-top: 16px; display: grid; gap: 4px; }
.contact-links a { color: var(--ink); font: 500 26px "DM Serif Display", "Iowan Old Style", Georgia, serif; text-decoration: none; }
.contact-links a::after { content: " \2192"; color: var(--rust); }
.contact-links a:hover, .contact-links a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.contact-links span { font: 12px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .06em; color: #5b6472; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.hero-actions { flex-wrap: wrap; }
.hero-actions .cta { margin-top: 0; }
.A .cta.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.A .cta.ghost:hover, .A .cta.ghost:focus-visible { background: var(--ink); color: #f3ede1; }
.icon-link { display: inline-flex; color: var(--ink); line-height: 0; border-radius: 6px; }
.icon-link svg { width: 40px; height: 40px; fill: currentColor; }
.icon-link:hover, .icon-link:focus-visible { color: var(--rust); }
.page-foot { margin-top: 56px; padding-top: 18px; border-top: 1px solid rgba(29, 36, 48, .16); font: 12px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: #5b6472; }
.thanks-page { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 max(6vw, 16px); max-width: 760px; }
.thanks-page h1 { font-family: "DM Serif Display", "Iowan Old Style", Georgia, serif; font-weight: 500; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; margin: 0; }
.thanks-page p { margin-top: 18px; font-size: 18px; line-height: 1.5; }
.thanks-page .cta { background: var(--ink); color: #f3ede1; }

@media (min-width: 1024px) {
  .slide { padding-right: max(8vw, 120px); padding-left: max(8vw, 120px); }
  .scroll-cue { left: max(8vw, 120px); }
}

@media (max-width: 1023px) {
  .cutaway.cut-h { display: none; }
  .cutaway.cut-v { display: block; }
  .exploded.cut-h { display: none; }
  .exploded.cut-v { display: block; }
  .arc { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers.with-chart { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; scroll-behavior: auto; }
  html.js .rv, html.js .rv.in { opacity: 1; transform: none; transition: none; }
  html.js .exploded.build .lay { opacity: 1; transform: none; transition: none; }
  #dots i, #dots span { transition: none; }
  .scroll-cue i { animation: none; }
}

@media (max-width: 767px) {
  .slide { padding: 64px var(--gutter) 56px; }
  .hero, .split, .proj, .proj.flip { grid-template-columns: 1fr; gap: 32px; }
  .proj.solo { max-width: none; }
  .proj > .txt { order: -1; }
  .portrait img { max-height: 60vh; }
  .A h1 { font-size: clamp(36px, 9vw, 56px); }
  .origin-grid { grid-template-columns: 1fr; gap: 32px; }
  .origin-photos { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .origin-photos img { position: static; width: 100%; height: 42vh; }
  .tl, .kpis, .with-chart .kpis, .notes, .split.mach { grid-template-columns: 1fr; }
  .tl { gap: 22px; }
  .arc { grid-template-columns: 1fr; gap: 18px; padding-top: 0; padding-left: 26px; }
  .arc::before { top: 0; bottom: 0; left: 5px; right: auto; border-top: 0; border-left: 1.5px dashed var(--rust); }
  .arc li::before { top: 4px; left: -26px; }
  .stage { display: flex; flex-direction: column; gap: 14px; height: auto; }
  .shot { position: static !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 10; }
  
  .stage:not(.case-stage) .shot:nth-child(n+2) { display: none; }
  .plate { position: static; padding: 14px; }
  .plate svg { height: auto; }
  .B h2, .B h2.gradient { font-size: clamp(34px, 11vw, 48px); }
  .origin-story p { font-size: 18px; }
  .num { font-size: clamp(56px, 20vw, 88px); }
  .num.long { font-size: clamp(40px, 13vw, 60px); }
  .tree { font-size: 12px; padding: 18px 16px; }
  #dots { left: 6px; gap: 9px; }
  .kicker { font-size: 11px; letter-spacing: .13em; }
  #dots i { width: 7px; height: 7px; }
  .scroll-cue { position: static; margin-top: 28px; }
  #dots a.on i { transform: scale(1.3); }
  #dots span, #dots b { display: none !important; }
  .chap { padding: 0 16px; height: 34px; }
  .toB { min-height: 20vh; } .toC { min-height: 16vh; }
}

.history-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: 5vw; align-items: center; }
.history-grid > * { min-width: 0; }
.A h2.history-title { font-size: clamp(34px, 4.2vw, 60px); max-width: 12ch; margin-bottom: 28px; }
.h-edu { font-family: "DM Serif Display", "Iowan Old Style", Georgia, serif; font-size: 17px; line-height: 1.5; color: #2a3240; max-width: 26ch; }
.history { list-style: none; margin: 0; padding: 0; }
.history li { display: grid; grid-template-columns: 8.5em 1fr; column-gap: 18px; padding: 9px 0; border-top: 1px solid rgba(29,36,48,.16); }
.history li:last-child { border-bottom: 1px solid rgba(29,36,48,.16); }
.history .h-years { grid-row: span 2; font: 13px ui-monospace, Menlo, monospace; color: #5b6472; padding-top: 3px; }
.history .h-org { font-weight: 600; color: var(--ink); font-size: 16px; }
.history .h-role { grid-column: 2; color: #2a3240; font-size: 15px; }
.history .h-org + .h-role { margin-top: 1px; }
.history .h-note { grid-column: 2; margin: 3px 0 0; font-family: "DM Serif Display", "Iowan Old Style", Georgia, serif; font-size: 15px; line-height: 1.4; color: #4a5260; max-width: 52ch; }
@media (max-width: 767px) {
  .history-grid { grid-template-columns: 1fr; gap: 24px; }
  .history li { grid-template-columns: 1fr; }
  .history .h-years { grid-row: auto; }
  .history .h-role, .history .h-note { grid-column: 1; }
}
.history-grid .logos { margin-top: 28px; max-width: 30ch; }

.hero p.big { max-width: none; font-size: clamp(18px, 1.65vw, 28px); text-wrap: pretty; }

.history li.h-sub { border-top: 0; padding-top: 2px; }
.history li.h-sub .h-org, .history li.h-sub .h-role, .history li.h-sub .h-note { padding-left: 14px; border-left: 1px solid rgba(29,36,48,.22); }
.history li.h-sub .h-org { font-size: 15px; }

@media (min-width: 768px) { .history-grid { grid-template-columns: .62fr 1.5fr; gap: 4vw; } }
.history li { padding: 6px 0; }
.history .h-org { font-size: 15px; }
.history .h-role { font-size: 14px; }
.history .h-note { font-size: 14px; line-height: 1.35; max-width: none; margin-top: 2px; }

@media (min-width: 768px) {
  .slide.history-slide { padding-top: 4vh; padding-bottom: 4vh; }
}
@media (min-width: 768px) and (max-height: 820px) {
  .history li { padding: 4px 0; }
  .history .h-note { font-size: 13.5px; line-height: 1.3; }
  .A h2.history-title { margin-bottom: 16px; }
}

@media (min-width: 768px) {
  .stage.trio { height: auto; aspect-ratio: 1 / .92; width: min(100%, calc(74vh / .92)); margin-inline: auto; }
  .stage.trio .shot { aspect-ratio: 16 / 10; height: auto; }
  .stage.trio .shot:nth-child(1) { left: 0; top: 0; width: 62%; }
  .stage.trio .shot:nth-child(2) { right: 0; top: 50%; transform: translateY(-50%); width: 60%; }
  .stage.trio .shot:nth-child(3) { left: 5%; bottom: 0; width: 56%; }
  .stage.trio.duo { aspect-ratio: 1 / .8; }
  .stage.trio.duo .shot:nth-child(1) { width: 66%; }
  .stage.trio.duo .shot:nth-child(2) { top: auto; bottom: 0; transform: none; width: 64%; }
}

@media (min-width: 768px) and (max-height: 820px) {
  .slide { padding-top: 6vh; padding-bottom: 6vh; }
  .num { font-size: clamp(56px, 6vw, 96px); }
  .proj h2 { font-size: clamp(24px, 2.2vw, 34px); margin-top: 12px; }
  .proj .lede { font-size: 15px; margin-top: 10px; }
  .proj .result { font-size: 14px; margin-top: 10px; padding-top: 10px; }
  .open { margin-top: 16px; }
  .origin-story p { font-size: clamp(16px, 1.5vw, 21px); }
}

.stage.trio .shot img { width: 100%; height: 100%; object-fit: contain; }
.stage.trio .shot img.crop { object-fit: cover; }

.A h1 { font-size: clamp(38px, 4.3vw, 76px); line-height: 1.04; text-wrap: balance; }

@media (min-width: 768px) { .hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.A h2, .case h1, .case h2 { text-wrap: balance; }
.A h2.origin-title, .A h2.contact-title, .A h2.work-title { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.1; max-width: 24ch; }
.A h2.origin-title { margin-bottom: 32px; }
.A p.big, .origin-story p { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; text-wrap: pretty; }
.A p.big { color: #2a3240; }

.kicker, .scroll-cue, .contact-form label, .page-foot { font-size: 12px; letter-spacing: .12em; }
.origin-map .legend { font-size: 12px; letter-spacing: .04em; }
.contact-links span { letter-spacing: .04em; }

.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 24px; }

.hero { align-items: start; }
.hero-actions { margin-top: 32px; gap: 16px; }

.contact-grid { margin-top: 32px; }
.contact-form { gap: 16px; }
.contact-form label { gap: 8px; }
.contact-links { gap: 24px; }
.contact-links li { padding-top: 16px; }
.page-foot { margin-top: 64px; padding-top: 16px; }

@media (max-width: 480px) {
  
  .A h1 { font-size: 36px; }
  .hero-actions { flex-wrap: nowrap; gap: 8px; }
  .hero-actions .cta { padding: 12px 14px; font-size: 13.5px; white-space: nowrap; }
  .hero-actions .icon-link svg { width: 36px; height: 36px; }
}

.slide:has(> .work-top) { justify-content: flex-start; }
.work-top { margin-bottom: 48px; }
.work-top .home { font: 12px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; }
.work-top .home:focus-visible { outline-color: var(--rust); }
.work-top h1 { margin-top: 32px; font: 500 clamp(38px, 4.3vw, 76px)/1.04 "DM Serif Display", "Iowan Old Style", Georgia, serif; letter-spacing: -.01em; }

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); }
body { font-family: "Poppins", -apple-system, "Helvetica Neue", sans-serif; }
.A p.big, .origin-story p { font-family: "Poppins", -apple-system, sans-serif; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.7; }
.cta, .contact-form input, .contact-form textarea { font-family: "Poppins", -apple-system, sans-serif; }
.cta { font-weight: 500; }
.contact-form input, .contact-form textarea { font-size: 16px; }
.thanks-page p { font-family: "Poppins", -apple-system, sans-serif; font-size: 17px; line-height: 1.7; }

@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); }
.A h1, .A h2, .work-top h1, .thanks-page h1, .contact-links a, .arc-num { font-weight: 400; }
.A h1, .work-top h1 { letter-spacing: -.015em; }
.mpoints li { font-family: "Poppins", -apple-system, sans-serif; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; }

.hero > div:first-child { container-type: inline-size; }
.A h1 { font-size: min(76px, 9cqi); text-wrap: nowrap; }
.A h1 .ln { white-space: nowrap; }

@media (max-width: 480px) { .A h2.origin-title, .A h2.contact-title, .work-top h1 { font-size: 24px; } }

.shot.video { position: absolute; overflow: hidden; background: #000; }
.stage.trio .shot.video { aspect-ratio: 16 / 10; }
.shot.video iframe { position: absolute; border: 0; pointer-events: none; } 
@media (max-width: 767px) { .shot.video { position: relative !important; width: 100%; aspect-ratio: 16 / 10; } }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    
    .slide.B { view-timeline: --case block; }
    .slide.B .stage .shot {
      animation: shot-glide linear both;
      animation-timeline: --case;
      animation-range: entry 10% cover 45%;
    }
    .slide.B .stage .shot:nth-child(2) { animation-range: entry 25% cover 55%; }
    .slide.B .stage .shot:nth-child(3) { animation-range: entry 35% cover 60%; }
  }
  @supports not (animation-timeline: view()) {
    html.js .slide.B .stage .shot { opacity: 0; transition: opacity 1s ease; }
    html.js .slide.B .stage .shot:nth-child(2) { transition-delay: .18s; }
    html.js .slide.B .stage .shot:nth-child(3) { transition-delay: .32s; }
    html.js .slide.B .stage.in .shot { opacity: 1; }
  }
}
@keyframes shot-glide {
  from { opacity: 0; }
  to { opacity: 1; }
}

.exploded .lay-link { cursor: pointer; }
.exploded .lay-link text { transition: fill .15s; }
.exploded .lay-link:hover text, .exploded .lay-link:focus-visible text { fill: var(--rust); }
.exploded .lay-link:hover .layer path:last-of-type { filter: brightness(1.08); }
.exploded .lay-link:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

@media (min-width: 768px) {
  .split.machine-split { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: 4vw; }
  
  .machine-split .cut svg.exploded.cut-h { max-height: max(360px, calc(100svh - 340px)); }
}

.B h2, .B h2.gradient, .C h2, .C h2.close {
  font-family: "DM Serif Display", "Iowan Old Style", Georgia, serif;
  font-weight: 400; letter-spacing: -.01em; text-wrap: balance;
}
.B h2 { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.08; } 
.C h2 { line-height: 1.08; }
.num { font-family: "DM Serif Display", "Iowan Old Style", Georgia, serif; font-weight: 400; letter-spacing: -.02em; line-height: .95; }
.num .unit { font-family: "Poppins", -apple-system, sans-serif; font-weight: 500; letter-spacing: 0; }
@media (max-width: 767px) { .B h2 { font-size: clamp(30px, 9vw, 42px); } }

.stage.stage-embed { position: relative; height: auto; aspect-ratio: 16 / 10; width: 100%; }
.stage-embed .shot.embed { position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: 10px; background: #0a0a0c; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.stage-embed .shot.embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 767px) { .stage-embed .shot.embed { position: absolute !important; } }

@media (max-width: 767px) {
  .stage:not(.case-stage):has(.shot.video) .shot:not(.video) { display: none; }
  .stage:not(.case-stage):has(.shot.video) .shot.video { display: block; }
}

.num:has(.unit) { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .3em; row-gap: .15em; }
.num .unit { margin-left: 0; white-space: nowrap; }

.num .num-note { flex-basis: 100%; }
