/* Storyboard: a director's board. Ink-black viewfinder hero, cool light-table
   sections, one camera-arrow orange. Condensed display type, mono timecodes. */
:root {
  --ink: #0c0d11;
  --ink-2: #15171d;
  --line: #2a2d36;
  --paper: #f3f4f6;
  --paper-2: #e7e9ed;
  --text: #14161b;
  --muted: #5a606b;
  --soft: #aab0bb;
  --arrow: #ff4d1f;
  --arrow-deep: #d93a10;
  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.6 var(--body); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--arrow-deep); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--arrow); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .98; margin: 0; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
h2 { font-size: clamp(40px, 5.2vw, 68px); }
h3 { font-size: 26px; line-height: 1.05; }
p { margin: 0; }
code, pre { font-family: var(--mono); font-size: .86em; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: 12px; top: -56px; background: var(--arrow); color: var(--ink); padding: 10px 16px; font-weight: 700; z-index: 20; }
.skip:focus { top: 12px; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.band { background: var(--paper-2); border-block: 1px solid #d3d6dc; }
.tc { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* top bar */
.top { background: var(--ink); color: #fff; border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 700; font-size: 15px; color: #fff; text-decoration: none; letter-spacing: -.01em; }
.rec { width: 11px; height: 11px; border-radius: 50%; background: var(--arrow); box-shadow: 0 0 0 4px rgba(255, 77, 31, .22); animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.nav { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { color: var(--soft); text-decoration: none; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.nav a:hover { color: #fff; }

/* hero */
.hero { position: relative; background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background:
    linear-gradient(90deg, transparent calc(33.333% - .5px), var(--line) calc(33.333% - .5px), var(--line) calc(33.333% + .5px), transparent calc(33.333% + .5px)),
    linear-gradient(90deg, transparent calc(66.666% - .5px), var(--line) calc(66.666% - .5px), var(--line) calc(66.666% + .5px), transparent calc(66.666% + .5px)),
    linear-gradient(0deg, transparent calc(33.333% - .5px), var(--line) calc(33.333% - .5px), var(--line) calc(33.333% + .5px), transparent calc(33.333% + .5px)),
    linear-gradient(0deg, transparent calc(66.666% - .5px), var(--line) calc(66.666% - .5px), var(--line) calc(66.666% + .5px), transparent calc(66.666% + .5px));
}
.vf { position: absolute; inset: 22px; z-index: -1; pointer-events: none;
  --c: rgba(255, 255, 255, .55);
  background:
    linear-gradient(var(--c), var(--c)) top left / 34px 2px no-repeat, linear-gradient(var(--c), var(--c)) top left / 2px 34px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 34px 2px no-repeat, linear-gradient(var(--c), var(--c)) top right / 2px 34px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 34px 2px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 2px 34px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 34px 2px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 2px 34px no-repeat;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.eyebrow { color: var(--arrow); }
.hero h1 { font-size: clamp(46px, 5.7vw, 80px); margin-top: 18px; color: #fff; }
.hero h1 em { font-style: normal; color: var(--arrow); }
.lede { font-size: 19px; color: #c4c9d2; margin-top: 24px; max-width: 46ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-block; background: var(--arrow); color: var(--ink); text-decoration: none; padding: 14px 24px; font-weight: 700; font-size: 16px; border: 2px solid var(--arrow); border-radius: 3px; }
.btn:hover { background: #fff; border-color: #fff; }
.btn-quiet { background: transparent; color: #fff; border-color: #4a4f5b; }
.btn-quiet:hover { background: transparent; border-color: #fff; color: #fff; }
.one-liner { margin-top: 26px; }
.one-liner code { display: inline-block; background: var(--ink-2); border: 1px solid var(--line); color: #e9ebef; padding: 9px 13px; border-radius: 3px; overflow-wrap: anywhere; }
.one-liner code::before { content: "$ "; color: var(--arrow); }

.hero-art { position: relative; aspect-ratio: 1.12 / 1; }
.sheet { position: absolute; display: block; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 60px rgba(0, 0, 0, .55); transition: transform .25s ease; }
.sheet img { width: 100%; }
.sheet-a { width: 74%; left: 0; top: 0; transform: rotate(-3.2deg); z-index: 1; }
.sheet-b { width: 68%; right: 0; top: 24%; transform: rotate(2.6deg); z-index: 2; }
.sheet-c { width: 54%; left: 9%; bottom: 0; transform: rotate(-1.2deg); z-index: 3; }
.sheet:hover { transform: rotate(0) translateY(-6px); z-index: 4; }

/* sections */
section { padding: clamp(60px, 8vw, 104px) 0; }
.label { color: var(--arrow-deep); display: block; margin-bottom: 14px; }
.section-lede { color: var(--muted); margin-top: 16px; max-width: 58ch; font-size: 18px; }

.facts { background: var(--paper-2); border-block: 1px solid #d3d6dc; padding: 0; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.facts li { padding: 30px 22px 34px; border-inline-start: 1px solid #cdd1d8; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.facts li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 27px; line-height: 1; color: var(--text); margin-bottom: 8px; }
.facts b::before { content: attr(data-n); display: block; font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .14em; color: var(--arrow-deep); margin-bottom: 12px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; list-style: none; padding: 0; }
.step { position: relative; background: #fff; border: 1px solid #d3d6dc; padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 14px; }
.step::before, .step::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--arrow); }
.step::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.step::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.step .n { font-family: var(--display); font-weight: 900; font-size: 64px; line-height: .8; color: var(--arrow); }
.step p { color: var(--muted); font-size: 16px; }
.quote { margin: 0; font-family: var(--mono); font-size: 13.5px; line-height: 1.55; background: var(--ink); color: #e6e8ec; padding: 16px 18px; border-radius: 3px; white-space: pre-wrap; overflow-wrap: anywhere; }
.quote .k { color: var(--arrow); }
.step img { border: 1px solid #d3d6dc; }

.themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; margin-top: 44px; }
.themes figure { margin: 0; }
.themes a.shot { display: block; background: #fff; box-shadow: 0 1px 2px rgba(10, 12, 18, .12), 0 16px 36px rgba(10, 12, 18, .16); transition: transform .2s ease, box-shadow .2s ease; }
.themes a.shot:hover { transform: translateY(-5px); box-shadow: 0 1px 2px rgba(10, 12, 18, .12), 0 26px 48px rgba(10, 12, 18, .22); }
.themes figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.themes figcaption b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1; color: var(--text); margin-bottom: 4px; }
.make { border: 2px dashed #b4b9c2; padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 12px; color: var(--muted); font-size: 15.5px; min-height: 200px; }
.make b { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1; color: var(--text); }

.dark { background: var(--ink); color: #fff; }
.dark .label { color: var(--arrow); }
.dark .section-lede { color: #b4bac4; }
.examples { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 0; }
.ex { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr) auto; gap: 34px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.ex:last-child { border-bottom: 1px solid var(--line); }
.ex a.thumb { display: block; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); background: #fff; transition: transform .2s ease; }
.ex a.thumb:hover { transform: translateY(-4px); }
.ex h3 { font-size: 34px; color: #fff; }
.ex p { color: #b4bac4; margin-top: 8px; max-width: 50ch; font-size: 16px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.meta li { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid #3b404c; color: #d6dae1; padding: 4px 9px; border-radius: 2px; }
.meta li:first-child { border-color: var(--arrow); color: var(--arrow); }
.ex .open { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #fff; text-decoration: none; border-bottom: 2px solid var(--arrow); padding-bottom: 3px; white-space: nowrap; }
.ex .open:hover { color: var(--arrow); }

.install { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.install > div { min-width: 0; }
.install h3 { font-size: 24px; }
.install pre { margin: 12px 0 0; background: var(--ink); color: #eef0f3; padding: 18px; border-radius: 3px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; border-left: 4px solid var(--arrow); }
.note { color: var(--muted); margin-top: 22px; font-size: 15px; }

.foot { background: var(--ink); color: var(--soft); padding: 48px 0 60px; font-size: 15px; }
.foot a { color: #fff; }
.foot-row { display: grid; gap: 12px; }
.foot .wordmark { margin-bottom: 4px; }

.lost { min-height: 62vh; display: flex; align-items: center; background: var(--ink); color: #fff; }
.lost h1 { font-size: clamp(54px, 9vw, 120px); margin-top: 14px; }
.lost .lede { color: #c4c9d2; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-art { max-width: 640px; width: 100%; margin: 0 auto; }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { border-inline-start: 0; border-top: 1px solid #cdd1d8; padding-inline-start: 0; }
  .facts li:first-child { border-top: 0; }
  .steps, .install { grid-template-columns: minmax(0, 1fr); }
  .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ex a.thumb { max-width: 520px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav { gap: 16px; }
  .vf { inset: 10px; }
  .themes { grid-template-columns: minmax(0, 1fr); }
  .facts ul { grid-template-columns: minmax(0, 1fr); }
  .lede { font-size: 17.5px; }
}
