:root {
  --bg: #0b0c0e;
  --band: #101216;
  --box: #12151a;
  --box-line: #2f343c;
  --head: #14171c;
  --line: #262a31;
  --line-2: #3a3f48;
  --text: #ece9e2;
  --text-2: #c9c9cc;
  --muted: #a3a5aa;
  --faint: #8b8d93;
  --code: #d8d8da;
  --accent: #ff7a29;
  --accent-hover: #ff9a5c;
  --hot-box: #17130f;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --display: 'Archivo', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--sans); overflow-x: hidden; }
a { color: var(--text); }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img, video { max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; }
h1 { font-stretch: 118%; font-size: clamp(44px, 6.4vw, 88px); line-height: 0.98; letter-spacing: -0.03em; }
h2 { font-stretch: 112%; font-size: clamp(30px, 4vw, 48px); line-height: 1.04; letter-spacing: -0.02em; }
h3 { font-stretch: 108%; font-weight: 700; font-size: 24px; letter-spacing: -0.01em; }

.skip { position: absolute; left: -9999px; top: 8px; padding: 10px 16px; background: var(--accent); color: var(--bg); border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 480px) { .wrap { padding-left: 16px; padding-right: 16px; } }
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.body { color: var(--text-2); }
.note { font-size: 13px; color: var(--faint); }
.lede { font-size: 19px; color: var(--text-2); max-width: 560px; }

/* header */
.site-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 18px; padding-bottom: 18px; }
.brand { text-decoration: none; font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.brand span { font-family: var(--sans); font-stretch: 100%; font-weight: 400; font-size: 14px; color: var(--muted); margin-left: 8px; }
.site-head nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-size: 15px; }
.site-head nav a { text-decoration: none; color: var(--text-2); padding: 10px 0; }
.site-head nav a:hover { color: var(--accent); }
.site-head nav a.pill, .btn.primary, .card.hot { background: var(--accent); color: var(--bg); }
.site-head nav a.pill { font-weight: 600; padding: 11px 20px; border-radius: 999px; }
.site-head nav a.pill:hover, .btn.primary:hover, .card.hot:hover { background: var(--accent-hover); color: var(--bg); }

/* buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.btn { text-decoration: none; border: 1px solid var(--line-2); color: var(--text); font-weight: 500; padding: 13px 26px; border-radius: 999px; }
.btn.primary { border-color: var(--accent); font-weight: 600; }

/* hero */
.hero { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-media { flex: 1 1 440px; min-width: 0; margin: 0; }

/* proof strip */
.proof { padding-top: 8px; padding-bottom: 56px; }
.stats { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { flex: 1 1 200px; min-width: 0; padding: 24px 20px 24px 0; display: flex; flex-direction: column; gap: 4px; }
.stat-v { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -0.02em; color: var(--accent); }
.stat-l { font-size: 14px; color: var(--muted); }
.proof .note { margin-top: 14px; }

/* sections */
.section { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 32px; }
.intro { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.grid { display: flex; flex-wrap: wrap; gap: 24px; }
.grid.clips { gap: 36px 24px; }
figure { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.media { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); }
figcaption { font-size: 14px; color: var(--muted); }
figcaption.clip { font-size: 15px; color: var(--text-2); }
figcaption strong { color: var(--text); font-weight: 600; }
.pair { display: flex; flex-wrap: wrap; gap: 8px; }
.pair > div { flex: 1 1 200px; min-width: 0; position: relative; }
.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.strip > div { min-width: 0; position: relative; }
.tag { position: absolute; left: 10px; top: 10px; font-family: var(--mono); font-size: 12px; background: var(--bg); color: var(--text); padding: 3px 8px; border-radius: 4px; }
.code { margin: 0; padding: 18px 20px; overflow: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font: 13px/1.55 var(--mono); color: var(--code); }

/* two-column bands */
.split { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; }
.split-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split-media { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.points li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-2); }
.points strong { color: var(--text); font-weight: 600; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); margin-top: 10px; }

/* architecture */
.arch { padding-top: 80px; gap: 36px; }
.layers { display: flex; flex-direction: column; gap: 10px; }
.layer { display: flex; flex-wrap: wrap; gap: 16px; }
.box { flex: 2 1 260px; min-width: 0; border: 1px solid var(--box-line); border-radius: 12px; background: var(--box); padding: 18px 20px; }
.box.wide { flex: 3 1 380px; }
.layer:last-of-type .box { flex: 1 1 260px; }
.box.hot { border-color: var(--accent); background: var(--hot-box); }
.box-t { font-weight: 600; }
.box-t span { font-family: var(--mono); font-size: 13px; color: var(--muted); font-weight: 400; }
.box-x { font-size: 15px; color: var(--muted); margin-top: 4px; }
.box.hot .box-x { color: var(--text-2); }
.arrow { font-family: var(--mono); font-size: 12px; color: var(--faint); padding-left: 20px; }
.layers .note { font-size: 14px; margin-top: 6px; }
.rules { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.rules h3 { margin-bottom: 8px; }
.rule { display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 16px 0; border-top: 1px solid var(--line); }
.rule-t { flex: 1 1 240px; min-width: 0; font-weight: 600; }
.rule-x { flex: 2 1 360px; min-width: 0; color: var(--text-2); }
.machines { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.machines .body { max-width: 760px; }

/* tables */
.table-wrap { border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
table.gaps { min-width: 620px; }
th { padding: 12px 18px; background: var(--head); font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: left; }
td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
td.num { font-family: var(--mono); }
td.gain { color: var(--accent); }
td.strong { font-weight: 600; }
td.muted { color: var(--muted); }
.gaps td:nth-child(2) { color: var(--text-2); }

/* roadmap */
.roadmap { padding-bottom: 80px; gap: 36px; }
.horizons { display: flex; flex-wrap: wrap; gap: 20px; }
.horizon { flex: 1 1 280px; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.horizon .eyebrow { letter-spacing: 0.1em; }

/* about + contact */
.about { padding-top: 80px; padding-bottom: 64px; }
.about .split-text { gap: 18px; }
.contact { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.card { text-decoration: none; border: 1px solid var(--line-2); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.card-k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.card-v { font-weight: 500; }
.card.hot { border-color: var(--accent); }
.card.hot .card-k { color: var(--bg); }
.card.hot .card-v { font-weight: 600; }
.contact .note { font-size: 14px; margin-top: 6px; }

/* footer */
.site-foot { padding-top: 28px; padding-bottom: 48px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: var(--faint); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.credits { max-width: 860px; line-height: 1.6; font-size: 13px; }
.credits a { color: var(--text-2); }

/* home page */
.home-hero { padding-top: 96px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 28px; }
.home-hero h1 { font-stretch: 125%; font-size: clamp(56px, 8vw, 116px); line-height: 0.95; letter-spacing: -0.01em; }
.home-cols { display: flex; flex-wrap: wrap; gap: 40px 80px; margin-top: 8px; }
.home-about { flex: 1 1 520px; display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.home-about p:first-child { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: var(--text); }
.home-about a { color: var(--accent); }
.home-about a:hover { color: var(--accent-hover); }
.career { flex: 1 1 340px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; font-size: 15px; }
.career li { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.career li:last-child { border-bottom: 0; }
.career .when { flex: 0 0 96px; font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 2px; }
.career .role { font-weight: 600; }
.career .org { color: var(--muted); }
.projects { padding-top: 56px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.project { position: relative; display: block; border-radius: 16px; overflow: hidden; text-decoration: none; border: 1px solid var(--line); }
.project img { display: block; width: 100%; aspect-ratio: 21 / 9; min-height: 340px; object-fit: cover; object-position: 50% 45%; }
.project-shade { position: absolute; inset: auto 0 0 0; height: 58%; background: linear-gradient(to bottom, rgba(11, 12, 14, 0), rgba(11, 12, 14, 0.85)); }
.project-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.project-text > div { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.project-name { font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -0.02em; color: var(--text); }
.project-blurb { font-size: 18px; line-height: 1.5; color: var(--text); }
.project-go { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: var(--bg); font-weight: 600; }
.project:hover .project-go { background: var(--accent-hover); }
@media (max-width: 640px) {
  .project img { min-height: 560px; }
  .project-text { padding: 24px; }
  .project-name { font-size: 44px; }
}
.home-contact { padding-top: 72px; display: flex; flex-wrap: wrap; gap: 12px; }
.home-contact .card { flex: 1 1 220px; }
.home-contact .card-v { font-family: var(--mono); font-size: 13px; color: var(--muted); font-weight: 400; }
.home-contact .card-k { font-family: var(--sans); font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--text); font-weight: 600; }
.home-foot { margin-top: 72px; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 480px) { .brand .opt { display: none; } }
