:root {
  color-scheme: dark;
  --bg: #08090b;
  --surface: #191b1e;
  --ink: #f4f4f2;
  --muted: #adafb5;
  --line: #33363b;
  --accent: #9acaff;
  --gutter: 56px;
  --font-mono: "IBM Plex Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 "Inter", sans-serif; -webkit-font-smoothing: antialiased; }
body.lightbox-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button:disabled { cursor: default; }
::selection { background: #385c84; color: white; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(46px, 7.8vw, 112px); letter-spacing: -.055em; }
h2 { font-size: clamp(34px, 4.1vw, 60px); letter-spacing: -.04em; }
h3 { font-size: 23px; letter-spacing: -.02em; }
.wrap { width: calc(100% - var(--gutter) * 2); max-width: 1440px; margin-inline: auto; }
.mono, .eyebrow { font-family: "IBM Plex Mono", monospace; }
.eyebrow { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: var(--gutter); padding: 12px 18px; background: var(--ink); color: var(--bg); transform: translateY(-170%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 600; line-height: 1; padding-block: 8px; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 2px; background: var(--ink); color: var(--bg); font-size: 11px; letter-spacing: -.05em; }
.nav-links { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); font-size: 12px; }
.nav-links a { padding-block: 12px; }
.nav-links a:hover, .site-footer a:hover { color: var(--accent); }
.case-hero { padding-top: clamp(38px, 6vw, 86px); }
.hero-kicker { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-bottom: 25px; }
.case-number { color: var(--accent); }
.hero-heading { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: end; }
.hero-deck { max-width: 470px; padding-bottom: 6px; }
.hero-deck h2 { font-size: clamp(23px, 2.25vw, 32px); letter-spacing: -.035em; line-height: 1.18; }
.hero-deck p { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.case-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-block: 32px 38px; margin-top: 33px; border-top: 1px solid var(--line); }
.case-summary dt { font-size: 11px; font-family: "IBM Plex Mono", monospace; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.case-summary dd { font-size: 14px; color: #d2d3d6; line-height: 1.65; max-width: 43ch; }
.image-open { display: block; position: relative; padding: 0; width: 100%; border: 0; background: transparent; cursor: zoom-in; }
.image-open img { width: 100%; height: auto; object-fit: contain; }
.image-open:is(.media-cad, .media-plot, .media-diagram, .media-document) { padding: var(--media-padding, clamp(28px, 3vw, 38px)); background: #fff; }
.image-open.media-dark { background: #15191d; }
.image-open.media-light { background: #fff; }
.image-open:is(.media-cad, .media-plot, .media-diagram, .media-document) .image-affordance { width: 22px; height: 22px; right: 4px; bottom: 4px; font-size: 16px; }
.image-open picture { display: block; width: 100%; height: 100%; }
.cover-button { aspect-ratio: 3 / 2; background: var(--bg); }
.cover-button img { object-fit: contain; }
.cover-button.surface-light { background: #fff; }
.cover-button.surface-light img { object-fit: contain; }
.image-affordance { position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; display: grid; place-items: center; background: #101113e8; border: 1px solid #ffffff40; border-radius: 50%; font-size: 22px; line-height: 1; transition: background .18s, transform .18s; }
.image-open:hover .image-affordance { transform: scale(1.1); background: #2d4260; }
.cover-caption { display: flex; justify-content: space-between; gap: 22px; padding-top: 13px; padding-bottom: 38px; color: var(--muted); font-size: 12px; }
.cover-caption .eyebrow { flex-shrink: 0; }
.case-preview-layout { display: grid; grid-template-columns: minmax(0, 640px) minmax(240px, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; max-width: 1110px; margin-inline: auto; padding-block: 16px 32px; }
.case-preview-figure { min-width: 0; }
.case-animation-host { position: relative; padding-bottom: 62px; }
.case-animation-host .card-media { position: relative; width: 100%; aspect-ratio: 640 / 427; background: #090c10; }
.case-animation-host .card-media > img { width: 100%; height: 100%; object-fit: cover; }
.case-animation-host .card-explode-ui { opacity: 1; }
.case-animation-host .card-explode-label { top: 12px; left: 12px; font-size: 11px; }
.case-animation-host .card-explode-controls { bottom: -62px; left: 0; right: 0; width: 100%; min-width: 0; min-height: 62px; padding: 8px 16px; border: 1px solid var(--line); background: var(--surface); }
.case-animation-host:is([data-explode-mode="assembling"], [data-explode-mode="flow"]) .card-explode-controls { left: 0; width: 100%; }
.case-animation-host .card-explode-controls::before { display: block; font-size: 11px; text-shadow: none; }
.case-animation-host .card-explode-controls input { min-height: 44px; }
.case-preview-figure .cover-caption { display: block; padding-bottom: 0; }
.case-preview-figure .cover-caption .eyebrow { display: block; font-size: 9px; margin-top: 7px; }
.preview-introduction { padding-bottom: 56px; }
.preview-introduction h2 { font-size: clamp(30px, 3vw, 43px); margin-block: 18px 20px; }
.preview-introduction > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.75; max-width: 35ch; }
.preview-introduction .text-link { margin-top: 22px; }
.preview-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.project-downloads { margin-top: 28px; }
.project-downloads .text-link { margin-top: 12px; }
.chapter.chapter-text-only { grid-template-columns: 1fr; }
.chapter-text-only .chapter-copy { max-width: 760px; }
.chapter-nav { position: sticky; top: 77px; z-index: 9; border-block: 1px solid var(--line); background: var(--bg); }
.chapter-nav-inner { display: flex; gap: clamp(20px, 3.5vw, 55px); align-items: center; overflow-x: auto; scrollbar-width: none; }
.chapter-nav-inner::-webkit-scrollbar { display: none; }
.chapter-nav a { flex-shrink: 0; position: relative; font-size: 12px; color: var(--muted); min-height: 49px; display: flex; align-items: center; gap: 8px; }
.chapter-nav a[aria-current="location"], .chapter-nav a:hover { color: var(--ink); }
.chapter-nav a[aria-current="location"]::after { content: ""; height: 2px; background: var(--accent); position: absolute; bottom: 0; left: 0; right: 0; }
.chapter-nav a:focus-visible { outline-offset: -3px; }
.chapter-nav .mono { font-size: 10px; color: var(--accent); }
.chapter { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: clamp(38px, 7vw, 108px); align-items: center; padding-block: clamp(56px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.chapter-copy .eyebrow { margin-bottom: 24px; }
.chapter-copy h2 { white-space: pre-line; margin-bottom: 27px; }
.chapter-copy > p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 48ch; }
.chapter-copy > p + p { margin-top: 16px; }
.chapter-figure, .gallery-item {
  --media-padding: 0px;
  --media-limit: min(50svh, 440px, max(160px, calc(100svh - 360px)));
  min-width: 0;
  width: 100%;
  max-width: calc(var(--media-limit) * var(--media-ratio, 1.5) + 2 * var(--media-padding));
  justify-self: center;
}
.chapter-figure:is(.media-cad, .media-plot, .media-diagram, .media-document),
.gallery-item:is(.media-cad, .media-plot, .media-diagram, .media-document) { --media-padding: clamp(28px, 3vw, 38px); }
.gallery-item { --media-limit: min(40svh, 340px); }
.chapter-figure figcaption { margin-top: 16px; font-size: 12px; color: var(--muted); max-width: 58ch; }
.evidence-type { display: block; font-family: "IBM Plex Mono", monospace; text-transform: uppercase; font-size: 10px; letter-spacing: .07em; color: var(--accent); margin-bottom: 7px; }
.evidence-section { padding-top: clamp(70px, 8vw, 116px); padding-bottom: 70px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 36px; }
.section-heading .eyebrow { margin-bottom: 15px; }
.section-heading > p { color: var(--muted); font-size: 13px; max-width: 29ch; }
.gallery-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 22px; row-gap: 32px; align-items: start; }
.gallery-item { min-width: 0; grid-column: span 2; }
.gallery-item:is(.media-cad, .media-plot, .media-diagram, .media-document) { grid-column: span 3; }
.gallery-browse { padding: 0; border: 0; border-bottom: 1px solid #606874; background: transparent; }
.gallery-item figcaption { display: flex; gap: 12px; margin-top: 12px; font-size: 12px; line-height: 1.5; }
.gallery-item figcaption .mono { color: var(--muted); font-size: 10px; margin-top: 2px; }
.record-section { padding-top: 42px; padding-bottom: clamp(72px, 8vw, 116px); }
.record-intro { color: var(--muted); max-width: 74ch; font-size: 14px; margin-bottom: 28px; }
.record-layout { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 86px); }
.tool-list { display: flex; gap: 8px; flex-wrap: wrap; padding: 0; list-style: none; margin: 20px 0 0; }
.tool-list li { border: 1px solid var(--line); padding: 5px 9px; font-size: 11px; color: var(--muted); }
.source-spec { margin-top: 24px; font-size: 13px; }
.source-spec > div { margin-bottom: 12px; }
.source-spec dt { color: var(--muted); font-size: 11px; }
.source-details { min-width: 0; }
.source-details details { border-top: 1px solid var(--line); }
.source-details details:last-child { border-bottom: 1px solid var(--line); }
.source-details summary { padding: 22px 34px 22px 0; cursor: pointer; font-size: 17px; position: relative; list-style: none; font-weight: 500; }
.source-details summary::-webkit-details-marker { display: none; }
.source-details summary::after { content: "+"; position: absolute; right: 4px; font-size: 22px; font-weight: 400; color: var(--muted); top: 17px; }
.source-details details[open] summary::after { content: "−"; }
.source-details details[open] summary { color: var(--accent); }
.source-detail-body { padding: 0 10px 26px 0; font-size: 14px; color: var(--muted); line-height: 1.8; }
.source-detail-body ul { padding-left: 20px; margin-block: 14px 0; }
.source-detail-body li + li { margin-top: 12px; }
.documented-specs { margin: 0; }
.documented-specs > div + div { margin-top: 20px; }
.documented-specs dt { color: var(--ink); font-size: 12px; margin-bottom: 4px; }
.documented-specs dd { max-width: 66ch; }
.bom-section { padding-bottom: 60px; }
.bom-details { border-block: 1px solid var(--line); }
.bom-details > summary { display: flex; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; padding: 22px 0; font-size: 16px; }
.bom-details > summary::-webkit-details-marker { display: none; }
.bom-details > summary span { font-size: 22px; line-height: 1; transition: transform .2s; }
.bom-details[open] > summary span { transform: rotate(45deg); }
.bom-details[open] > summary { color: var(--accent); }
.bom-table-wrap { overflow-x: auto; margin-bottom: 26px; }
.bom-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; line-height: 1.6; }
.bom-table caption { text-align: left; font-size: 12px; color: var(--muted); margin-bottom: 20px; max-width: 85ch; }
.bom-table th, .bom-table td { padding: 14px 18px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.bom-table thead th { font-size: 11px; font-weight: 500; color: var(--muted); }
.bom-table tbody th { width: 7%; font: 11px/1.9 var(--font-mono); color: var(--muted); }
.bom-table td:nth-child(2) { width: 65%; }
.bom-table td:nth-child(3) { width: 8%; font-family: var(--font-mono); }
.bom-table td:last-child { padding-right: 0; min-width: 105px; color: var(--muted); font-size: 12px; }
.bom-table strong { font-weight: 500; }
.bom-table td span { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.next-section { background: #1a1c20; padding-block: clamp(44px, 6vw, 84px); }
.next-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 45px; align-items: center; }
.next-link { display: block; }
.next-link .eyebrow { display: block; margin-bottom: 18px; }
.next-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: "Inter Tight", sans-serif; font-size: clamp(35px, 4.3vw, 64px); line-height: 1.1; letter-spacing: -.045em; }
.next-title span { transition: transform .2s; font-family: "Inter", sans-serif; font-weight: 400; font-size: 36px; color: var(--accent); }
.next-link:hover .next-title span { transform: translateX(6px); }
.studio-invitation { padding-left: 40px; border-left: 1px solid #41454c; }
.studio-invitation p { font-size: 14px; color: var(--muted); margin-block: 10px 18px; max-width: 33ch; }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; border-bottom: 1px solid #606874; font-size: 13px; }
.text-link:hover { color: var(--accent); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 32px; font-size: 11px; color: var(--muted); }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
.site-footer span span { padding-inline: 10px; }
.case-loading { min-height: 72vh; padding-top: 80px; padding-bottom: 80px; }
.case-loading h1 { margin-block: 28px; }
.case-loading p { color: var(--muted); }
.case-options { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 35px; }
.case-options a { display: block; padding-block: 12px; border-bottom: 1px solid var(--line); }
.image-unavailable { display: grid; place-items: center; aspect-ratio: inherit; min-height: 120px; background: var(--surface); color: var(--muted); padding: 24px; font-size: 13px; }
.lightbox { width: min(1500px, calc(100% - 48px)); max-width: none; height: min(950px, calc(100dvh - 48px)); max-height: none; border: 1px solid #42464d; padding: 20px 24px 14px; background: #15171a; color: var(--ink); overflow: hidden; }
.lightbox::backdrop { background: #050607ed; }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 12px; }
.lightbox-toolbar, .lightbox-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lightbox-toolbar h2 { font-family: "Inter", sans-serif; font-size: 15px; font-weight: 400; letter-spacing: 0; line-height: 1.4; }
.icon-button { width: 44px; min-width: 44px; height: 44px; display: inline-grid; place-items: center; background: transparent; border: 1px solid #4a4f59; border-radius: 50%; font-size: 21px; line-height: 1; }
.icon-button:hover { background: #303742; }
#lightbox-close { font-size: 30px; }
.lightbox-stage { display: flex; align-items: center; justify-content: center; min-height: 0; }
.lightbox-stage:not([data-media-kind="photo"]) { padding: clamp(18px, 3vw, 32px); }
.lightbox-stage[data-media-surface="light"] { background: #fff; }
.lightbox-stage[data-media-surface="dark"] { background: #15191d; }
.lightbox-stage img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-stage .image-unavailable { width: 100%; }
.lightbox-bottom { font-size: 12px; }
.lightbox-actions { display: flex; align-items: center; gap: 12px; }
.lightbox-actions a { margin-right: 12px; min-height: 44px; display: flex; align-items: center; gap: 8px; }
.lightbox-help { font-size: 10px; color: var(--muted); text-align: center; }
@media (max-width: 1000px) {
  .hero-heading { grid-template-columns: 1fr; gap: 22px; }
  .hero-deck { max-width: 650px; }
  .hero-deck p { max-width: 60ch; }
  .case-preview-layout { grid-template-columns: minmax(0, 640px); justify-content: center; gap: 30px; }
  .preview-introduction { padding-bottom: 0; }
  .preview-introduction > p:not(.eyebrow) { max-width: 65ch; }
  .preview-introduction h2 { margin-block: 13px 16px; }
  .chapter { grid-template-columns: 1fr 1fr; gap: 34px; }
  .chapter-copy h2 { font-size: 38px; }
  .chapter-copy > p:not(.eyebrow) { font-size: 14px; }
  .next-inner { grid-template-columns: 1.25fr 1fr; gap: 30px; }
}
@media (max-width: 700px) {
  :root { --gutter: 22px; }
  html { scroll-padding-top: 120px; }
  .site-nav { min-height: 64px; }
  .brand-name { display: none; }
  .nav-links { font-size: 12px; gap: 22px; }
  .hero-kicker { font-size: 9px; gap: 12px; margin-bottom: 20px; }
  .hero-deck h2 { font-size: 24px; }
  .hero-deck p { font-size: 14px; }
  .case-summary { grid-template-columns: 1fr; gap: 19px; padding-block: 23px 30px; margin-top: 24px; }
  .case-summary > div { display: grid; grid-template-columns: 75px 1fr; gap: 14px; }
  .case-summary dt { font-size: 10px; margin-top: 2px; }
  .case-summary dd { font-size: 13px; }
  .case-preview-layout { padding-top: 0; padding-bottom: 36px; }
  .case-animation-host .card-explode-controls { padding-inline: 12px; }
  .case-animation-host .card-explode-controls::before { display: none; }
  .preview-introduction h2 { font-size: 32px; }
  .cover-button { aspect-ratio: 3 / 2; }
  body[data-project="steering"] .cover-button { aspect-ratio: 4 / 5; }
  .cover-button img { object-fit: contain; }
  .cover-caption { display: block; font-size: 11px; padding-bottom: 28px; }
  .cover-caption .eyebrow { display: block; font-size: 9px; margin-top: 8px; }
  .chapter-nav { top: 65px; }
  .chapter-nav-inner { gap: 24px; }
  .chapter-nav a { font-size: 11px; min-height: 47px; }
  .chapter-nav .mono { display: none; }
  .chapter { grid-template-columns: 1fr; gap: 30px; padding-block: 55px; }
  .chapter-copy .eyebrow { margin-bottom: 16px; }
  .chapter-copy h2 { font-size: 38px; margin-bottom: 20px; }
  .chapter-copy > p:not(.eyebrow) { font-size: 15px; max-width: none; }
  .section-heading { display: block; margin-bottom: 27px; }
  .section-heading > p { margin-top: 18px; max-width: none; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .gallery-item { grid-column: span 1; }
  .gallery-item:is(.media-cad, .media-plot, .media-diagram, .media-document) { grid-column: span 2; }
  .gallery-item figcaption { gap: 7px; font-size: 11px; }
  .gallery-item .image-affordance { width: 28px; height: 28px; bottom: 8px; right: 8px; font-size: 18px; }
  .record-layout { grid-template-columns: 1fr; gap: 34px; }
  .record-intro { font-size: 13px; }
  .next-inner { grid-template-columns: 1fr; gap: 35px; }
  .next-title { font-size: 43px; }
  .studio-invitation { border-left: 0; border-top: 1px solid #41454c; padding-left: 0; padding-top: 30px; }
  .site-footer { display: block; padding-block: 25px; }
  .site-footer > span { display: block; font-size: 10px; }
  .lightbox { width: 100%; height: 100dvh; padding: 12px 16px; border: 0; }
  .lightbox-toolbar h2 { font-size: 13px; }
  .lightbox-actions { gap: 8px; }
  .lightbox-actions a { margin-right: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  :root { --ink: #111; --muted: #444; --line: #ccc; --accent: #234d79; }
  body { color: #111; background: white; font-size: 11pt; }
  .site-header, .chapter-nav, .next-section, .site-footer, .lightbox, .skip-link, .image-affordance { display: none !important; }
  .wrap { padding-inline: 0; }
  .case-hero { padding-top: 0; }
  .case-preview-layout { display: block; max-width: 640px; }
  .case-animation-host { padding-bottom: 0; }
  .preview-introduction { display: none; }
  .chapter { break-inside: avoid; padding-block: 30px; }
  .case-summary dd { color: #333; }
  .image-open { background: white; }
  .chapter-figure, .gallery-item { max-width: 100%; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item, .gallery-item:is(.media-cad, .media-plot, .media-diagram, .media-document) { grid-column: span 1; }
}
