@font-face {
  font-family: "General Sans";
  src: url("assets/fonts/GeneralSans-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}

@font-face {
  font-family: "Graph Technical";
  src: url("assets/work/technical-mono.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f2f0eb;
  --ink: #182327;
  --secondary: #455154;
  --rule: #bfc5c1;
  --brass: #e6be71;
  --brass-ink: #856028;
  --study-stage: #eeede6;
  --graphite: #1c2d31;
  --rail: clamp(20px, 4.45vw, 82px);
  --space: clamp(52px, 5.5vw, 90px);
  --measure: 1600px;
  color: var(--ink);
  background: var(--paper);
  font: 400 100% / 1.5 "General Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body, figure, h1, h2, h3, p { margin: 0; }
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brass-ink); outline-offset: 4px; }
::selection { background: var(--brass); color: var(--ink); }
.wrap { width: min(calc(100% - 2 * var(--rail)), var(--measure)); margin-inline: auto; }
.skip { position: fixed; transform: translateY(-160%); z-index: 8; inset: 8px auto auto 8px; padding: 10px 16px; background: white; }
.skip:focus { transform: none; }

.mast { min-height: clamp(68px, 5.15vw, 84px); display: flex; align-items: center; gap: clamp(24px, 3.2vw, 56px); border-bottom: 1px solid var(--rule); }
.brand { flex: none; display: inline-flex; align-items: center; min-height: 44px; }

.mast nav { display: flex; align-items: center; gap: clamp(20px, 2.35vw, 42px); margin-left: auto; }
.mast a, .footer-base a { font-size: .95rem; }
.mast .brand { font-size: clamp(21px, 1.8vw, 29px); font-weight: 500; letter-spacing: -.045em; }
.mast nav a { display: inline-flex; align-items: center; min-height: 44px; }
.mast nav a:hover { color: var(--brass-ink); }
.contact-link, .pilot-contact { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; line-height: 1.2; font-weight: 550; }
.contact-link .icon, .pilot-contact .icon { color: var(--brass); transition: transform .2s; }
.contact-link:hover .icon, .pilot-contact:hover .icon { transform: translate(2px,-2px); }
.contact-link { padding: 0 17px; color: var(--paper); background: var(--ink); }
.contact-link:hover { background: #344144; }

h1, h2, h3 { font-weight: 510; }
h1, h2 { letter-spacing: -.048em; line-height: 1.035; }
h1 { font-size: clamp(50px, 5.1vw, 88px); }
h2 { font-size: clamp(37px, 3.45vw, 61px); }
h3 { font-size: clamp(21px, 1.65vw, 28px); line-height: 1.18; letter-spacing: -.028em; }
p { color: var(--secondary); font-size: clamp(16px, 1.18vw, 19px); line-height: 1.5; text-wrap: pretty; }
.opening { display: grid; grid-template-areas: "title lead" "film film"; grid-template-columns: minmax(0, 1.85fr) minmax(280px, .84fr); align-items: end; column-gap: 4.5%; row-gap: clamp(25px, 2.5vw, 42px); padding-top: clamp(30px, 3.35vw, 57px); }
.opening h1 { grid-area: title; }
.opening figure { grid-area: film; min-width: 0; margin-inline: calc(50% - 50vw); }
.offer-description { grid-area: lead; max-width: 43ch; line-height: 1.43; }
.feature-window { position: relative; isolation: isolate; overflow: hidden; height: clamp(37.5vw, calc(100svh - clamp(68px, 5.15vw, 84px) - clamp(30px, 3.35vw, 57px) - clamp(50px, 5.3vw, 91px) - clamp(25px, 2.5vw, 42px)), 47.2vw); background: #536264; clip-path: inset(0 var(--film-inset, 0px)); }
.feature-window > picture, .cover-image, .cover-film, .inspection-plate { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature-window > picture, .cover-film, .inspection-plate { transform: translateY(var(--film-drift, 0px)); }
.cover-poster { z-index: 1; pointer-events: none; }
.feature-window.has-film-frame .cover-poster { visibility: hidden; }
.inspection-plate { z-index: 2; background: var(--paper); pointer-events: none; }
.inspection-plate picture, .inspection-plate img { position: absolute; inset: 0; width: 100%; height: 100%; }
.inspection-plate img { object-fit: contain; }
.inspection-plate img:not([src]) { visibility: hidden; }
.cover-image, .cover-film { object-fit: cover; }
.cover-film { z-index: 0; }
.film-caption { z-index: 3; position: absolute; bottom: clamp(16px, 2vw, 34px); left: max(var(--rail), calc((100% - var(--measure)) / 2)); display: flex; align-items: center; gap: 0; padding: 6px; color: #fff; background: #162327ed; }
.film-description { padding-inline: 10px 16px; }
.inspect-kit, .inspect-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-left: 1px solid #ffffff40; min-height: 44px; padding: 0 11px; background: transparent; color: var(--paper); font: 500 14px/1.2 "General Sans", sans-serif; }
.inspect-kit span, .inspect-link span { color: var(--brass); font-size: 18px; font-weight: 400; }
.inspect-kit:hover, .inspect-link:hover { background: #ffffff18; }
.feature-window.is-inspecting .playback, .feature-window.is-inspecting .film-position { display: none; }
.film-caption strong, .film-caption div > span { display: block; }
.film-caption strong { font-size: 15px; font-weight: 550; line-height: 1.3; }
.film-caption .film-format { font: 500 12px/1.4 "Graph Technical", ui-monospace, monospace; color: #d0d9d7; }
.film-position { position: absolute; bottom: 0; inset-inline: 0; height: 2px; background: var(--brass); transform-origin: left; transform: scaleX(0); }
.playback { display: grid; place-items: center; border: 0; border-left: 1px solid #ffffff40; width: 44px; height: 44px; padding: 0; color: white; background: transparent; }
.playback:hover { background: #ffffff18; }

.keep { white-space: nowrap; }
.intelligence { background: var(--study-stage); }
.work-story { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); align-items: center; }
.story-copy { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; align-self: stretch; padding-block: clamp(44px, 5.6vw, 96px); padding-right: clamp(25px, 4vw, 80px); color: var(--paper); }
.story-copy::before { content: ""; position: absolute; inset: 0 0 0 -50vw; z-index: -1; background: var(--graphite); }
.story-copy h2 { max-width: 13ch; text-wrap: balance; font-size: clamp(37px, 3.9vw, 68px); }
.story-copy p { max-width: 36ch; margin-top: 18px; color: #d6dedd; }
.story-copy p + p { font-size: clamp(15px, 1.08vw, 17px); margin-top: 20px; padding-top: 17px; border-top: 1px solid #576567; }
graph-pick-study { display: block; width: calc(100% - clamp(30px, 5vw, 84px)); max-width: 800px; justify-self: end; margin-block: clamp(22px, 2.7vw, 45px); }
graph-pick-study:not(:defined) { padding-bottom: 44px; }
graph-pick-study > img { width: 100%; height: auto; }

@property --industry-dwell {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
.applications { --industry-dwell: 1; padding-block: clamp(36px, 4.5vw, 76px); }
.applications.is-timed { --industry-dwell: 0; }
.application-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 28px; }
.application-head h2 { font-size: clamp(33px, 2.9vw, 49px); text-wrap: balance; }
.application-intro { grid-column: 1; max-width: 63ch; }
.carousel-controls { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: clamp(18px, 2.4vw, 42px); margin-top: clamp(12px, 1.5vw, 24px); }
.industry-index { display: grid; grid-template-columns: repeat(5, minmax(max-content, 1fr)); gap: clamp(12px, 1.4vw, 25px); flex: 1; }
.industry-index button { position: relative; -webkit-tap-highlight-color: #ae85432b; min-height: 46px; padding: 4px 0 0; border: 0; background: transparent; color: var(--secondary); font: 510 clamp(15px, 1.15vw, 19px)/1.2 "General Sans", Arial, sans-serif; letter-spacing: -.025em; white-space: nowrap; text-align: left; }
.industry-index button::before, .industry-meter { position: absolute; top: 1px; left: 0; width: 100%; height: 2px; }
.industry-index button::before { content: ""; background: var(--rule); }
.industry-meter { background: var(--brass-ink); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.industry-index button[aria-pressed="true"] { color: var(--ink); font-weight: 620; }
.industry-index button[aria-pressed="true"] .industry-meter,
.industry-list li[aria-current="true"] h3::after { transform: scaleX(var(--industry-dwell)); }
.industry-index button:hover { color: var(--ink); }
.industry-index button:focus-visible { outline-offset: 2px; }
.case-arrows { display: flex; gap: 6px; padding-block: 3px; }
.case-arrows button { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; border-radius: 50%; }
.case-arrows button:not(:disabled):hover { background: var(--ink); color: var(--paper); }
.case-arrows button:disabled { opacity: .34; cursor: default; }
@media (forced-colors: active) {
  .industry-index button[aria-pressed="true"] { text-decoration: underline; }
}
.industry-list { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 39%, 560px); gap: clamp(20px, 2.4vw, 42px); padding: 0 0 4px; margin: clamp(18px, 2.4vw, 36px) 0 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.industry-list.is-enhanced { overflow: hidden; touch-action: pan-y pinch-zoom; }
.industry-list::-webkit-scrollbar { display: none; }
.industry-list li { min-width: 0; }
.industry-list img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.industry-list h3 { position: relative; font-size: clamp(22px, 1.65vw, 28px); margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--rule); }
.industry-list h3::after { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--brass-ink); transform: scaleX(0); transform-origin: left center; }
.industry-list p { max-width: 38ch; margin-top: 4px; }

.case-tasks { display: grid; overflow: clip; }
.case-tasks span { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(5px); transition: opacity .3s, transform .38s; }
.case-tasks span.current { visibility: visible; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .case-tasks { display: block; }
  .case-tasks span { display: block; visibility: visible; opacity: 1; transform: none; margin-bottom: .35em; }
}
.industry-list .other-job { display: grid; align-items: center; align-self: stretch; padding: clamp(20px, 3vw, 48px); background: #e7e7df; }
.other-job h3 { margin: 0; font-size: clamp(28px, 2.5vw, 41px); line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.other-job p { margin-top: 14px; }
.other-job .task-inquiry { margin: 19px 0 0; }
.pilot { border-block: 1px solid var(--rule); }
.pilot-layout { display: grid; grid-template-columns: 1.16fr .84fr; gap: clamp(26px, 5.9vw, 105px); align-items: center; padding-block: clamp(16px, 2vw, 36px); }
.kit-study { position: relative; aspect-ratio: 4 / 3; width: 100%; }
.kit-print, .kit-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

.pilot-copy { min-width: 0; padding-block: 20px; }
.pilot-terms, .pilot-decision { max-width: 49ch; }
.pilot-copy h2 { margin-bottom: 20px; }
.pilot-price { color: var(--brass-ink); white-space: nowrap; }
.pilot-terms { margin: 0; }
.pilot-terms > div { padding-block: 14px; border-top: 1px solid var(--rule); }
.pilot-terms dt { font-size: clamp(17px, 1.25vw, 21px); font-weight: 570; line-height: 1.35; }
.pilot-terms dd { margin: 5px 0 0; max-width: 44ch; color: var(--secondary); line-height: 1.48; }
.pilot-decision { font-size: 15px; color: var(--ink); }
.pilot-actions { display: flex; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.pilot-contact { background: var(--ink); color: var(--paper); padding: 12px 19px; margin-right: 16px; }
.pilot-contact:hover { background: #344144; }
.email-option { display: inline-flex; align-items: center; }
.email-address { font-size: 14px; user-select: all; }
.copy-address { display: grid; place-items: center; min-width: 34px; height: 44px; color: var(--secondary); border: none; background: transparent; }
.copy-address:hover { color: var(--brass-ink); }
.copy-status { flex-basis: 100%; font-size: 13px; color: var(--secondary); }
.has-rail { scrollbar-width: none; }
.has-rail::-webkit-scrollbar { display: none; }
.scroll-rail { position: fixed; z-index: 6; right: 2px; top: 50%; height: clamp(110px, 19vh, 190px); width: 22px; transform: translateY(-50%); cursor: default; touch-action: none; user-select: none; }
.scroll-track { position: absolute; inset: 0 7px 0 auto; width: 1px; background: #a7afaa; }
.scroll-thumb { position: absolute; top: 0; right: -1.5px; width: 4px; height: var(--thumb-size, 32px); transform: translateY(var(--thumb-y, 0px)); border-radius: 2px; background: #66726d; }
.scroll-track::before, .scroll-track::after { content: ""; position: absolute; right: -2px; width: 5px; height: 1px; background: #8d9892; }
.scroll-track::after { bottom: 0; }
.scroll-rail:hover .scroll-thumb, .scroll-rail:focus-visible .scroll-thumb, .scroll-rail.dragging .scroll-thumb { background: var(--brass-ink); }
.mobile-reading { display: none; }

.support { display: flex; align-items: center; flex-wrap: wrap; gap: 12px clamp(26px, 4.1vw, 70px); padding-block: 25px; border-bottom: 1px solid var(--rule); }
.support > span { font-size: 15px; color: var(--secondary); }
.support a { display: flex; align-items: center; min-height: 44px; }
.support img { height: auto; filter: grayscale(1); opacity: .62; transition: opacity .22s ease; }
.support a:is(:hover,:focus-visible) img { opacity: .84; }
.support img[src$="speedrun.avif"] { width: clamp(108px, 10vw, 146px); }
.support img[src$="long-journey.webp"] { width: clamp(122px, 11.5vw, 163px); }
.support img[src$="nvidia-inception-mono.svg"] { width: 102px; }
.footer-base { background: var(--ink); color: var(--paper); }
.footer-signature { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: clamp(30px, 3.5vw, 58px); }
.footer-signature .brand img { width: clamp(65px, 7vw, 98px); height: auto; }

a, button { transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease; }
.icon { width: 20px; height: 20px; display: inline-block; flex: none; vertical-align: middle; }
.inspect-kit .icon, .inspect-link .icon { width: 17px; height: 17px; color: var(--brass); }
.inspect-kit[aria-expanded="false"] .inspect-close, .inspect-kit[aria-expanded="true"] .inspect-open,
.playback[data-playing="true"] .play-icon, .playback:not([data-playing="true"]) .pause-icon { display: none; }
.playback .icon, .copy-address .icon { width: 18px; height: 18px; }
.footer-base .brand:hover { opacity: .75; }

@media (max-width: 900px) {
  .mast { gap: 24px; }
  .mast nav { gap: 14px; }
  .opening { grid-template-columns: minmax(0, 1.45fr) minmax(235px, .85fr); column-gap: 22px; }
}

@media (max-width: 700px) {
  :root { --rail: clamp(22px, 6vw, 32px); --space: 48px; }
  html { scroll-padding-top: 14px; }
  .mast { min-height: 60px; justify-content: space-between; gap: 12px; }
  .mast nav { display: none; }
  .mast .contact-link { padding: 0; font-size: 14px; gap: 6px; color: var(--ink); background: transparent; white-space: nowrap; }
  .mast .contact-link .icon { color: var(--brass-ink); }
  .mast .brand { font-size: clamp(19px, 5vw, 23px); }
  .opening { grid-template-areas: "title" "lead" "film"; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: clamp(29px, 7vw, 42px); }
  .opening h1 { font-size: clamp(42px, 10.75vw, 60px); line-height: 1.02; max-width: 14ch; }
  .opening figure { margin-inline: calc(-1 * var(--rail)); }
  .offer-description { max-width: 42ch; font-size: 16px; line-height: 1.45; margin-block: 14px 24px; }
  .feature-window { height: clamp(75vw, calc(100svh - 285px), min(111.1vw, 65svh)); }
  .cover-image, .cover-film { object-position: 58% 50%; }
  .film-caption { left: max(10px, calc(var(--rail) - 6px)); bottom: 14px; padding: 3px; }
  .film-description { padding-inline: 7px 10px; }
  .inspect-kit, .inspect-link { gap: 5px; padding-inline: 9px; font-size: 13px; }
  .is-inspecting .film-description { display: none; }
  .is-inspecting .inspect-kit { border-left: 0; }
  .film-caption strong { font-size: 14px; }
  .work-story { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .story-copy { padding: 37px 0 30px; }
  .story-copy::before { inset-inline: calc(-1 * var(--rail)); }
  .work-story h2, .application-head h2, .pilot-copy h2 { font-size: clamp(32px, 7.9vw, 40px); line-height: 1.075; }
  .story-copy h2 { max-width: 18ch; }
  .story-copy p { max-width: 43ch; margin-top: 13px; }
  .story-copy p + p { margin-top: 13px; padding-top: 12px; }
  graph-pick-study { width: 100%; max-width: 540px; justify-self: center; margin-block: 12px 14px; }
  .applications { display: grid; grid-template-columns: minmax(0, 1fr); padding-block: 39px 38px; }
  .application-head { display: contents; }
  .application-head h2 { grid-row: 1; }
  .application-intro { grid-row: 2; margin-top: 10px; }
  .industry-list { grid-row: 4; grid-auto-columns: 100%; gap: 20px; margin-top: 12px; }
  .industry-list img { max-height: 290px; }
  .industry-list h3 { margin-top: 8px; }
  .industry-list p { margin-top: 5px; }
  .carousel-controls { grid-column: 1; grid-row: 3; display: block; margin-top: 18px; }
  .industry-index { grid-template-columns: repeat(3, minmax(max-content, 1fr)); gap: 4px clamp(10px, 3.6vw, 19px); }
  .industry-index button { min-width: 44px; min-height: 44px; font-size: clamp(14px, 4vw, 17px); }
  .case-arrows { display: none; }
  .pilot-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 38px 43px; }
  .pilot-copy { display: contents; }
  .pilot-copy h2 { grid-row: 1; margin-bottom: 12px; }
  .pilot-terms { grid-row: 3; }
  .kit-study { grid-row: 2; margin: 0 auto 13px; max-width: 365px; width: 100%; }
  .pilot-copy p { max-width: 55ch; }
  .pilot-copy p + p { margin-top: 0; }
  .pilot-actions { display: grid; grid-template-columns: max-content max-content; justify-content: start; margin-top: 20px; }
  .pilot-contact { grid-column: 1 / -1; justify-self: start; margin: 0 0 5px; }
  .copy-status { grid-column: 1 / -1; }
  .support { display: grid; grid-template-columns: 1fr 1.16fr .82fr; gap: 3px 15px; padding-block: 19px; }
  .support > span { grid-column: 1 / -1; }
  .support a { min-width: 0; }
  .footer-signature { display: grid; gap: 8px; padding-block: 20px 23px; }
  .footer-base .brand img { width: 62px; }
  .scroll-rail { display: none; }
  .mobile-reading { display: block; position: fixed; z-index: 5; inset: 0 0 auto; height: 3px; background: var(--brass-ink); transform-origin: left; transform: scaleX(var(--read, 0)); pointer-events: none; }
}

@media (max-width: 350px) {
  .industry-index { column-gap: 6px; }
  .other-job .task-inquiry { padding-inline: 12px; gap: 9px; font-size: 15px; white-space: nowrap; }
}

@media (max-height: 540px) and (orientation: landscape) and (min-width: 701px) {
  .mast { min-height: 50px; }
  .opening { padding-top: 15px; row-gap: 15px; }
  h1 { font-size: clamp(39px, 4.25vw, 60px); }
  .feature-window { height: clamp(35vw, 72svh, 42vw); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}
@media (forced-colors: active) {
  html.has-rail { scrollbar-width: auto; }
  html.has-rail::-webkit-scrollbar { display: block; }
  .scroll-control { display: none; }
}
