@font-face {
  font-family: "Racing Sans One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/racing-sans-one-regular.ttf") format("truetype");
}
@font-face {
  font-family: "Bitcount Grid Single";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/bitcount-grid-single-regular.ttf") format("truetype");
}
:root {
  color-scheme: light;
  --paper: #faf9f6;
  --footer-surface: #f2f1eb;
  --ink: #242623;
  --body: #535650;
  --muted: #70736b;
  --rule: #dedfd7;
  --accent: #805419;
  --highlight: #c1ff38;
  --reading-width: 840px;
  font-family: "Helvetica Neue", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
html { scroll-behavior: auto; scroll-padding-top: 36px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:focus-visible, button:focus-visible, .viewer-stage:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button { font: inherit; color: inherit; }
a:hover { color: var(--accent); }
.skip-link { position: absolute; top: -100px; left: 24px; padding: 12px; background: var(--paper); z-index: 10; }
.skip-link:focus { top: 12px; }
.site-header { width: 100%; min-height: 80px; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-family: "Racing Sans One", sans-serif; font-size: 21px; font-weight: 400; line-height: 1.2; text-decoration: none; letter-spacing: 0; white-space: nowrap; }
.wordmark:is(:hover, :focus-visible, :active) { color: transparent; -webkit-text-stroke: 1px #000; text-decoration: none; }
[data-theme="dark"] .wordmark:is(:hover, :focus-visible, :active) { -webkit-text-stroke-color: #f0f1eb; }
.site-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 48px; }
.site-header nav a, .site-header nav button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font-family: "Bitcount Grid Single", monospace; font-size: 17px; font-weight: 400; line-height: 1.2; letter-spacing: .025em; text-decoration: none; white-space: nowrap; cursor: pointer; }
.site-header nav a:hover, .site-header nav button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.site-header nav button:disabled { opacity: .45; cursor: not-allowed; }
main { max-width: var(--reading-width); margin: 78px auto 0; padding-bottom: 38px; }
h1 { margin: 0; font-size: 52px; font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
.case-title-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
p { font-size: 17px; line-height: 1.85; color: var(--body); margin: 0 0 19px; overflow-wrap: break-word; }
.introduction { margin: 23px 0 31px; }
strong { color: var(--ink); font-weight: 600; }
mark { color: #242623; background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath fill='%23c1ff38' fill-opacity='.88' d='M2 7 17 3 35 6 51 1 70 5 90 2 111 7 132 1 152 5 173 0 198 4 200 31 182 38 164 33 145 39 123 34 103 40 82 35 63 39 42 33 21 38 0 34Z'/%3E%3C/svg%3E"); background-size: 100% 100%; background-repeat: no-repeat; padding: .02em .1em; font-weight: 500; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
figure { margin: 26px 0 0; }
.lead-figure { margin: 0; }
.image-link { display: block; cursor: zoom-in; padding: 0; width: 100%; border: 0; background: transparent; text-align: inherit; }
.view-image { border: 0; padding: 2px 0; min-height: 28px; background: none; font-size: 12px; color: var(--muted); cursor: zoom-in; white-space: nowrap; }
.view-image:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.lead-context { font-size: 15px; margin: 23px 0 0; }
.hydra-sketch { width: min(100%, 560px); margin: 28px auto; }
.hydra-sketch img { background: transparent; }
[data-theme="dark"] .hydra-sketch img { filter: invert(1); }
.hydra-prototype-photo { width: min(100%, 560px); margin: 28px auto; }
/* Match the two original aspect ratios: equal image heights, no cropping. */
.hydra-prototype-pair { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5.955fr); align-items: start; gap: 20px; width: min(100%, 760px); margin: 28px auto 0; scroll-margin-top: 36px; }
.hydra-prototype-pair figure { width: 100%; min-width: 0; margin: 0; }
.hydra-prototype-pair img { height: auto; }
.hydra-prototype-pair figcaption { gap: 8px; }
@media (max-width: 600px) {
  .hydra-prototype-pair { gap: 12px; }
  .hydra-prototype-pair .view-image { min-height: 44px; }
}
.experience-flow { list-style: none; counter-reset: experience; padding: 0; margin: 28px 0 0; }
.experience-flow li { counter-increment: experience; position: relative; display: grid; grid-template-columns: 38px 1fr; column-gap: 16px; padding: 0 0 28px; }
.experience-flow li::before { content: counter(experience, decimal-leading-zero); grid-row: 1 / 3; font: 400 18px/32px "Bitcount Grid Single", monospace; color: var(--ink); }
.experience-flow li:not(:last-child)::after { content: "↓"; position: absolute; left: 9px; bottom: 2px; color: var(--muted); font-size: 15px; }
.experience-flow strong { font-size: 17px; line-height: 1.85; }
.experience-flow li > span { grid-column: 2; color: var(--body); font-size: 15px; line-height: 1.75; }
img { display: block; width: 100%; height: auto; background: #eeefeb; }
.case-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #12191d; }
.case-video:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.demo-player { position: relative; }
.demo-play { position: relative; width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 26px; margin: 0 0 12px; border: 0; border-radius: 0; text-align: left; background: #c1ff36; color: #171b16; font: inherit; font-size: clamp(18px, 2vw, 24px); font-weight: 650; cursor: pointer; }
.demo-play[hidden], .clip-toggle[hidden] { display: none; }
.demo-player > video + .demo-play { margin: 12px 0 0; }
.demo-play small { display: block; margin-top: 5px; font-size: 12px; font-weight: 400; }
.demo-play-icon { font-size: 32px; }
.demo-play:focus-visible, .clip-toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.operation-clip img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.operation-clip figcaption small { display: block; font-size: 11px; margin-top: 3px; }
.clip-toggle { align-self: flex-start; flex-shrink: 0; min-height: 36px; padding: 5px 12px; border: 1px solid currentColor; background: transparent; color: inherit; font: inherit; cursor: pointer; }
/* Crops are defined in the displayed asset's pixel coordinates, not viewport pixels.
   Keep the originals intact. The container and image scale as one on every screen. */
.image-crop { position: relative; overflow: hidden; }
.image-crop img { position: absolute; max-width: none; }
.scan-crop { aspect-ratio: 1486 / 831; }
.scan-crop img { width: calc(1800 / 1486 * 100%); left: calc(-314 / 1486 * 100%); top: calc(-42 / 831 * 100%); }
.unity-crop { aspect-ratio: 1920 / 1030; }
.unity-crop img { width: 100%; top: 0; left: 0; }
.quest-crop { aspect-ratio: 1076 / 1036; }
.quest-crop img { width: calc(1920 / 1076 * 100%); left: calc(-422 / 1076 * 100%); top: calc(-44 / 1036 * 100%); }
.assisted-scanning img { background: var(--paper); }
.illustration-labels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: center; font-size: 14px; color: var(--ink); margin: 0 0 20px; }
.service-flow { margin: 28px 0 0; }
.flow-chart { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: clamp(44px, 8vw, 88px); row-gap: 40px; max-width: 650px; margin: 0 auto; padding: 24px 28px 24px 40px; }
.flow-node { position: relative; z-index: 1; grid-column: 1; grid-row: var(--row); align-self: center; display: flex; flex-direction: column; justify-content: center; min-height: 66px; padding: 12px 14px; text-align: center; border: 1px solid #b2b6ac; background: var(--paper); font-size: 15px; line-height: 1.6; }
.flow-node small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--body); }
.flow-node.branch { grid-column: 2; border-color: #c7cbc1; }
.flow-node.decision { border: 0; background: transparent; min-height: 88px; padding-inline: 24px; }
.decision-shape { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; }
.decision-shape polygon { fill: #f0f3e9; stroke: #929b83; stroke-width: 1; vector-effect: non-scaling-stroke; }
.flow-connections { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.flow-connections .connector { fill: none; stroke: #62685c; stroke-width: 1.1; stroke-linejoin: round; marker-end: url(#flow-arrow); }
.flow-connections text { fill: var(--body); font-size: 12px; paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.service-flow figcaption { border-top: 1px solid var(--rule); padding-top: 12px; }
@media (max-width: 600px) {
  .flow-chart { column-gap: 32px; row-gap: 42px; padding: 16px 14px 16px 32px; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .flow-node { font-size: 14px; padding: 10px 6px; }
  .flow-node small { font-size: 12px; }
  .flow-node.decision { padding-inline: 10px; }
}
figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 11px; font-size: 12px; line-height: 1.65; color: var(--muted); }
figcaption span:last-child { flex-shrink: 0; }
section { margin-top: 70px; scroll-margin-top: 30px; }
h2 { font-size: 27px; line-height: 1.5; font-weight: 500; letter-spacing: -.035em; margin: 0 0 20px; text-wrap: balance; }
h3 { font-size: 20px; line-height: 1.55; font-weight: 550; letter-spacing: -.02em; margin: 35px 0 16px; }
section figure + p { margin-top: 27px; }
.decision-list { margin: 27px 0 18px; border-top: 1px solid var(--rule); }
.decision-list > div { display: grid; grid-template-columns: 116px 1fr; gap: 20px; border-bottom: 1px solid var(--rule); padding: 17px 0; }
dt { font-size: 15px; font-weight: 500; line-height: 1.85; }
dd { font-size: 15px; line-height: 1.85; color: var(--body); margin: 0; }
.note { font-size: 13px; line-height: 1.75; color: var(--muted); }
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.image-pair figure { margin: 0; }
.pair-caption { font-size: 12px; color: var(--muted); margin: 11px 0 0; line-height: 1.65; }
.article-footer { margin-top: 65px; }
.credits { font-size: 12px; line-height: 1.8; color: var(--muted); margin-bottom: 22px; }
.footer-panel { padding: 28px 26px; border-radius: 12px; background: var(--footer-surface); }
.footer-panel h2 { margin: 0 0 26px; font-size: 19px; line-height: 1.4; font-weight: 600; letter-spacing: 0; }
.footer-metadata, .footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-metadata { margin: 0; }
.footer-metadata dt { margin-bottom: 10px; font-size: 14px; font-weight: 500; }
.footer-metadata dd { color: var(--muted); font-size: 13px; line-height: 1.8; }
.footer-metadata time { font-variant-numeric: tabular-nums; }
.footer-links { margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--rule); }
.footer-links h3 { margin: 0; font-size: 15px; font-weight: 500; line-height: 2; letter-spacing: 0; }
.footer-links nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.footer-links nav a, .footer-link-label { font-family: "Bitcount Grid Single", monospace; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.contact-details { min-width: 0; scroll-margin-top: 32px; }
.contact-details h3 { margin-bottom: 4px; }
.contact-details a { display: flex; font-size: 13px; }
.project-pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; padding-block: 22px; border-block: 1px solid var(--rule); }
.project-pagination a { min-width: 0; min-height: 64px; display: flex; flex-direction: column; justify-content: center; gap: 8px; text-decoration: none; }
.project-pagination span { color: var(--muted); font-size: 13px; }
.project-pagination strong { font-size: 18px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.project-pagination .project-next { text-align: right; }
.project-pagination a:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.reading-order { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-top: 18px; color: var(--muted); font-family: "Bitcount Grid Single", monospace; font-size: 13px; line-height: 1.8; }
.reading-order a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.reading-order a:hover { color: var(--ink); text-decoration: underline; }
.reading-order .current { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--ink); text-underline-offset: 6px; }
@media (max-width: 960px) {
  main { margin: 65px 32px 0; max-width: none; }
  .site-header { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 600px) {
  .site-header { min-height: 72px; padding: 14px 22px 0; gap: 6px; flex-wrap: wrap; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 4px 12px; }
  .site-header nav a, .site-header nav button { font-size: 14px; }
  .wordmark { font-size: 18px; }
  main { margin: 54px 22px 0; }
  h1 { font-size: 43px; }
  .case-title-row { gap: 7px 18px; padding-bottom: 14px; }
  p { font-size: 16px; line-height: 1.9; }
  .introduction { margin: 20px 0 25px; }
  h2 { font-size: 23px; margin-bottom: 16px; }
  h3 { font-size: 19px; }
  section { margin-top: 48px; }
  .decision-list > div { grid-template-columns: 1fr; gap: 5px; }
  .decision-list dt, .decision-list dd { font-size: 14px; }
  figcaption { display: block; font-size: 12px; }
  figcaption span { display: block; }
  figcaption span + span { margin-top: 3px; }
  .image-pair { grid-template-columns: 1fr; gap: 12px; }
  .article-footer { margin-top: 45px; }
  .footer-panel { padding: 24px 20px; }
  .footer-panel h2 { margin-bottom: 22px; }
  .footer-metadata { grid-template-columns: 1fr; gap: 18px; }
  .footer-metadata dt { margin-bottom: 3px; }
  .footer-links { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; padding-top: 20px; }
  .footer-links nav { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }
  .footer-links a, .footer-link-label { min-height: 44px; }
  .contact-details { margin-top: 8px; }
}
:root[data-theme="dark"] { color-scheme: dark; --paper: #171916; --footer-surface: #22251f; --ink: #f0f1ea; --body: #c3c8bf; --muted: #a1a89a; --rule: #42473e; --accent: #c1ff38; }
:root[data-theme="dark"] mark { color: #242623; }
:root[data-theme="dark"] .decision-shape polygon { fill: #272d21; stroke: #a4af98; }
:root[data-theme="dark"] .flow-connections .connector { stroke: #a4af98; }
:root[data-theme="dark"] #flow-arrow path { stroke: #a4af98; }
:root[data-theme="dark"] .flow-node { border-color: #a4af98; }
:root[data-theme="dark"] .flow-node.branch { border-color: #77816d; }
.viewer-open { overflow: hidden; scrollbar-gutter: stable; }
.image-viewer { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
.image-viewer:focus { outline: none; }
.image-viewer::backdrop { background: rgb(12 14 11 / 86%); }
.image-viewer:has(.line-art)::backdrop { background: #242823; }
.image-viewer[open] { display: grid; place-items: center; }
.viewer-dismiss { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: none; cursor: zoom-out; padding: 0; }
.viewer-dismiss:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.viewer-canvas { position: relative; z-index: 1; display: grid; place-items: center; pointer-events: none; }
.viewer-canvas img { width: auto; height: auto; max-width: 94vw; max-height: 92dvh; background: transparent; pointer-events: auto; }
.viewer-canvas img.line-art { filter: invert(1); }
.viewer-status { position: absolute; z-index: 2; color: #fff; font-size: 14px; pointer-events: none; margin: 0; }
@media (max-width: 600px) {
  .viewer-canvas img { max-width: 94vw; max-height: 88dvh; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .skip-link, .reading-order, .project-pagination, .footer-links nav { display: none; }
  main { max-width: none; margin: 0; }
  :root, :root[data-theme="dark"] { color-scheme: light; background: white; --paper: white; --footer-surface: #f2f1eb; --ink: #242623; --body: #535650; --muted: #70736b; --rule: #dedfd7; }
  section { margin-top: 32px; }
  figure, h2, h3 { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
}
/* Product viewer is opt-in; static imagery remains usable without WebGL. */
.hydra-model { position: relative; height: min(70vw, 680px); min-height: 390px; overflow: hidden; background: #e1e6e8; margin: 30px 0 65px; }
.hydra-model .model-poster { width: 100%; height: 100%; object-fit: contain; }
.hydra-model canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.hydra-model [hidden] { display: none !important; }
.hydra-model button { min-height: 44px; min-width: 44px; padding: 10px 18px; border: 1px solid #1e2628; background: #faf9f6; color: #222; font: inherit; font-size: 15px; cursor: pointer; }
.hydra-model .model-start { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); background: #c2ff47; white-space: nowrap; }
.hydra-model .model-status { position: absolute; bottom: 10px; width: 100%; text-align: center; margin: 0; padding: 8px; color: #323a3c; font-size: 14px; pointer-events: none; }
.hydra-model .model-controls { position: absolute; bottom: 60px; left: 8px; right: 8px; display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.hydra-model .model-controls button { padding: 8px 12px; }
.hydra-model canvas:focus-visible, .hydra-model button:focus-visible { outline: 3px solid #006091; outline-offset: -4px; }
