/* Shared editorial pages and cross-document navigation. */
@view-transition {
  navigation: auto;
}
@keyframes leave-page {
  to {
    filter: brightness(0.78);
    transform: translateY(-14px) scale(0.988);
  }
}
@keyframes enter-page {
  from {
    clip-path: inset(100% 0 0 round 18px);
    transform: translateY(10px);
  }
  to {
    clip-path: inset(0 round 0);
    transform: none;
  }
}
::view-transition-old(root) {
  animation: leave-page 0.52s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
::view-transition-new(root) {
  animation: enter-page 0.52s cubic-bezier(0.23, 0.75, 0.2, 1) both;
  mix-blend-mode: normal;
}
::view-transition-group(signal-cover),
::view-transition-group(vision-cover) {
  animation-duration: 0.55s;
  animation-timing-function: cubic-bezier(0.2, 0.78, 0.25, 1);
}
.signal-cover {
  view-transition-name: signal-cover;
}
.vision-cover {
  view-transition-name: vision-cover;
}
.nav {
  gap: clamp(14px, 2vw, 32px);
}
.nav [aria-current] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #515b88;
}
html {
  scrollbar-gutter: stable;
}
html:has(dialog[open]) {
  overflow: hidden;
}
.next-page {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px 20px;
  padding: clamp(24px, 2.8vw, 46px) 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.next-page .kicker {
  grid-column: 1/-1;
}
.next-page strong {
  font-size: clamp(40px, 6.4vw, 100px);
  line-height: 1.03;
  letter-spacing: -0.065em;
  font-weight: 500;
}
.next-action {
  align-self: center;
  font: 13px var(--mono);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.next-page:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--blue);
  transform: scaleX(var(--next-fill, 0));
  transform-origin: left;
}
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .next-page:hover .next-action {
    font-size: 0;
  }
  .next-page:hover .next-action:after {
    content: "Click or scroll here to open";
    font-size: 12px;
  }
}
footer .foot {
  border-top: 1px solid var(--line);
}
.chapter-head {
  padding: var(--section-space) 0 clamp(24px, 2.7vw, 44px);
}
.chapter-head h1,
.bench-hero h1 {
  font-size: clamp(55px, 7.9vw, 136px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.078em;
}
.heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.8fr);
  align-items: end;
  gap: clamp(24px, 6vw, 100px);
  margin-top: 25px;
}
.heading-row p,
.bench-copy > p:last-child {
  font-size: clamp(17px, 1.45vw, 24px);
  line-height: 1.48;
  letter-spacing: -0.022em;
  color: var(--muted);
  max-width: 470px;
}
.heading-row .pill {
  margin-top: 20px;
}
.chapter-head em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #4252b3;
}
.back-index {
  display: block;
  width: fit-content;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-bottom: 18px;
}
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 5vw, 86px);
  padding: var(--section-space) 0;
  align-items: start;
}
.reading {
  display: grid;
  justify-items: start;
  gap: 19px;
}
.reading p,
.chapter-steps article > p:not(.kicker) {
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 590px;
}
.reading .lead-copy {
  font-size: clamp(24px, 2.3vw, 37px);
  line-height: 1.22;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.reading code {
  font-size: 0.88em;
  background: #e7e9f0;
  border-radius: 4px;
  padding: 0.08em 0.24em;
}
.action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.bench-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(450px, 43vw, 750px);
  overflow: hidden;
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: clamp(28px, 5vw, 85px);
  background: #e1e3e7;
}
.bench-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bench-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #eeeff4f0 0%,
    #eeeff4dc 30%,
    #eeeff455 52%,
    transparent 74%
  );
}
.bench-copy {
  max-width: 58%;
}
.bench-copy h1 {
  font-size: clamp(54px, 6.5vw, 102px);
  margin: 24px 0;
}
.bench-copy > p:last-child {
  max-width: 390px;
  color: #353842;
  font-size: clamp(16px, 1.3vw, 20px);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 55px);
  padding: 0 0 var(--section-space);
}
.study-card {
  display: block;
  min-width: 0;
}
.study-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 1.32;
  background: #101116;
}
.study-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.25, 1);
}
.vision-cover img {
  object-fit: contain;
}
.study-card:hover img,
.study-card:focus-visible img {
  transform: scale(1.045);
}
.cover-open {
  position: absolute;
  bottom: 17px;
  right: 17px;
  border: 1px solid #ffffff6b;
  color: white;
  background: #15182baf;
  border-radius: 50px;
  font: 12px var(--mono);
  padding: 9px 12px;
}
.study-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.study-caption h2 {
  font-size: clamp(28px, 2.9vw, 49px);
  letter-spacing: -0.055em;
}
.study-caption > span {
  font-size: 14px;
  color: var(--muted);
}
/* The hero stays in view as the reel passes over it. Transforms apply to
   inner layers so the scroll measurements always use normal layout bounds. */
.opening-sequence {
  position: relative;
  isolation: isolate;
}
.has-motion .opening-shot {
  position: sticky;
  top: var(--pin-top, 8px);
  z-index: 0;
}
.has-motion .opening-shot .hero {
  transform: translateY(var(--hero-rise, 0px)) scale(var(--retreat-scale, 1));
  transform-origin: 50% 18%;
}
.has-motion .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #0a0c18;
  opacity: var(--shade, 0);
  pointer-events: none;
}
.has-motion .under-hero {
  opacity: var(--hint-opacity, 1);
}
.opening-sequence .reel-wrap {
  position: relative;
  z-index: 1;
  transform: none;
  margin-top: clamp(4px, 0.7vw, 12px);
}
.reel-screen {
  background: #111728;
  color: #fff;
  overflow: hidden;
  border-radius: var(--screen-radius, 18px);
  clip-path: inset(0 var(--screen-inset, 0%) round var(--screen-radius, 18px));
}
.reel-screen .reel-card {
  min-height: clamp(330px, 58svh, 620px);
  border-radius: 0;
  align-items: end;
  padding: clamp(32px, 5vw, 90px);
  background: #111a37;
}
.reel-screen .reel-card:before {
  background: linear-gradient(0deg, #0d132ce8, transparent 65%);
  z-index: -1;
}
.reel-screen .reel-card > img {
  object-position: 60% 50%;
}
.signal-ribbon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}
.has-motion .reel-card:has(.signal-ribbon) img {
  opacity: 0.1;
}
.reel-screen .reel-copy strong {
  font-size: clamp(44px, 6.3vw, 107px);
}
.reel-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px clamp(22px, 4.6vw, 80px);
  gap: 16px;
  border-top: 1px solid #fff3;
  font: 13px var(--mono);
  color: #d8ddee;
}
.reel-caption a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.handoff {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: clamp(350px, 34vw, 550px);
  margin-block: var(--panel-gap);
  padding: clamp(28px, 4.5vw, 72px);
  border-radius: 18px;
  background: #242a33 url("/assets/handoff-poster.webp") 65% center / cover;
  color: white;
}
.handoff-footage,
.handoff::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.handoff-footage {
  z-index: -2;
  object-fit: cover;
  object-position: 65% center;
}
.handoff::before {
  content: "";
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(14, 17, 25, 0.91),
    rgba(20, 24, 34, 0.74) 34%,
    rgba(18, 21, 29, 0.2) 64%,
    transparent 90%
  );
}
.handoff-copy {
  max-width: 28rem;
}
.handoff-copy .kicker {
  color: #eef0ff;
}
.handoff-copy .kicker span {
  background: #a6b7ff;
}
.handoff-copy h2 {
  margin: 16px 0 14px;
  font-size: clamp(44px, 5.5vw, 86px);
  line-height: 0.97;
}
.handoff-copy > p:not(.kicker) {
  max-width: 24rem;
  color: #f2f3f8;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
}
.handoff-actions {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.handoff-download {
  background: #fff;
  color: #181b22;
}
.handoff-download:hover {
  background: #eef1ff;
}
.handoff-actions .text-link {
  border-color: #c6cbd6;
}
.footage-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  background: #151923c9;
  border: 1px solid #ffffff70;
  border-radius: 50%;
}
.footage-toggle .icon {
  width: 16px;
  height: 16px;
}
.footage-toggle .show-pause,
.footage-toggle.playing .show-play {
  display: none;
}
.footage-toggle.playing .show-pause {
  display: block;
}
.sample-dialog {
  width: min(960px, 94vw);
  max-width: 94vw;
  padding: 0;
  background: white;
}
.sample-dialog .file-desk {
  border: 0;
  border-radius: 0;
}
.sample-dialog .file-reader {
  max-height: min(50dvh, 465px);
}
.sample-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 18px;
}
.sample-tools .pill {
  min-height: 40px;
}
@media (max-width: 680px) {
  .handoff {
    min-height: clamp(360px, 103vw, 480px);
    padding: clamp(20px, 5vw, 28px);
    align-items: end;
  }
  .handoff::before {
    background: linear-gradient(
      0deg,
      rgba(12, 16, 24, 0.97),
      rgba(16, 20, 30, 0.78) 46%,
      rgba(18, 24, 36, 0.18) 78%,
      transparent
    );
  }
  .handoff .kicker + h2 {
    margin: 12px 0;
  }
  .handoff-actions {
    gap: 10px 14px;
    margin-top: 16px;
  }
  .handoff-actions .pill {
    min-height: 43px;
    padding-inline: 16px;
  }
}
.chapter-walk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  align-items: start;
  gap: clamp(25px, 7vw, 120px);
  padding-bottom: var(--section-space);
}
.chapter-pin {
  position: sticky;
  top: clamp(12px, 7vh, 80px);
}
.chapter-steps article {
  min-height: clamp(205px, 31svh, 320px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
}
.chapter-steps h2 {
  font-size: clamp(35px, 4vw, 65px);
}
.chapter-steps article .pill {
  margin-top: 5px;
}
.process-stage,
.vision-stage {
  position: relative;
  isolation: isolate;
  border-radius: 16px;
  aspect-ratio: 1.05;
  max-height: 78svh;
  overflow: hidden;
}
.process-stage {
  background: radial-gradient(
    ellipse at 28% 10%,
    #657eff 0%,
    #334fd7 38%,
    #14276d 100%
  );
  perspective: 1000px;
}
.process-sheet {
  position: absolute;
  top: 16%;
  left: 26%;
  width: 49%;
  height: 66%;
  border-radius: 3px;
  box-shadow: 1px 12px 20px #0f1e504a;
  transition:
    transform 0.75s cubic-bezier(0.2, 0.75, 0.25, 1),
    background 0.6s;
}
.sheet-back {
  background: #8ea2ff;
  transform: rotate(-17deg) translate(-13%, 1%);
}
.sheet-mid {
  background: #d1d9ff;
  transform: rotate(7deg) translate(9%, 0);
}
.sheet-front {
  background: linear-gradient(120deg, #fff, #e9edf9);
  padding: 9% 5% 4%;
  transform: rotate(-3deg) translate(-3%, -3%);
}
.sheet-label {
  display: block;
  font: clamp(13px, 1.3vw, 20px) var(--mono);
  color: #263450;
  letter-spacing: -0.035em;
}
.sheet-front i {
  width: 93%;
  height: 2px;
  background: #a4adc3;
  display: block;
  margin-top: 6%;
}
.sheet-front i:nth-of-type(2) {
  width: 70%;
}
.sheet-diagram {
  width: 71%;
  height: 26%;
  margin-top: 13%;
  border: 1px solid #8795b1;
  background:
    repeating-linear-gradient(90deg, transparent 0 18%, #c7d1e4 18% 19%),
    repeating-linear-gradient(0deg, transparent 0 23%, #c7d1e4 23% 24%);
}
[data-step="1"] .sheet-front {
  transform: translate(8%, -4%) rotate(9deg);
}
[data-step="1"] .sheet-back {
  transform: translate(-24%, 8%) rotate(-25deg);
}
[data-step="2"] .sheet-front {
  transform: translate(-12%, -9%) rotate(-12deg);
}
[data-step="2"] .sheet-mid {
  transform: translate(20%, 7%) rotate(15deg);
}
[data-step="3"] .sheet-front {
  transform: rotate(-1deg) translate(0, -1%);
}
[data-step="3"] .sheet-mid {
  transform: rotate(1deg) translate(2%, 2%);
}
[data-step="3"] .sheet-back {
  transform: rotate(3deg) translate(4%, 4%);
}
.vision-stage {
  background: #0b0c0e;
  display: grid;
  place-items: center;
  container-type: size;
}
.assembly-drawing {
  position: relative;
  aspect-ratio: 1402 / 1122;
}
.vision-stage .assembly-drawing {
  position: absolute;
  width: min(100%, 124.96cqh);
}
.inspect-image .assembly-drawing {
  width: min(100%, 52.48dvh, 437px);
}
.assembly-drawing img {
  display: block;
  width: 100%;
  height: 100%;
}
.vision-stage .pill {
  align-self: end;
  margin-bottom: 16px;
  background: white;
  color: var(--ink);
  position: relative;
  z-index: 1;
  min-height: 40px;
  font-size: 14px;
}
.focus-ring {
  position: absolute;
  width: 17%;
  aspect-ratio: 1;
  border: 1px solid #c6d5ff;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #3456ff50;
  left: 55%;
  top: 17%;
  transform: translate(-50%, -50%);
  transition:
    left 0.7s,
    top 0.7s,
    width 0.7s;
}
.vision-stage[data-step="1"] .focus-ring {
  left: 48%;
  top: 45%;
  width: 22%;
}
.vision-stage[data-step="2"] .focus-ring {
  left: 47%;
  top: 63%;
  width: 14%;
}
.vision-stage[data-step="3"] .focus-ring {
  left: 49%;
  top: 82%;
  width: 25%;
}
@media (prefers-reduced-motion: reduce) {
  .focus-ring,
  .part-indicator {
    transition: none;
  }
}
.signal-lab {
  margin: 0;
  padding: clamp(22px, 3.4vw, 58px);
  border-radius: 16px;
  background: radial-gradient(ellipse at top right, #263762, #13192a 62%);
  color: #eff3ff;
}
.signal-lab figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.signal-lab .kicker {
  color: #c3cdfc;
}
.signal-lab h2 {
  font-size: clamp(27px, 3.2vw, 51px);
  margin-top: 10px;
}
.legend {
  display: flex;
  gap: 16px;
  font: 13px var(--mono);
}
.legend span:before {
  content: "";
  display: inline-block;
  width: 12px;
  border-bottom: 2px dashed #abb7d3;
  vertical-align: middle;
  margin-right: 6px;
}
.legend span + span:before {
  border-style: solid;
  border-color: #91acff;
}
.signal-lab canvas {
  width: 100%;
  height: clamp(180px, 26vw, 395px);
  display: block;
  margin: 20px 0;
}
.signal-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid #ffffff36;
}
.signal-controls label,
.signal-controls p {
  font-size: 15px;
  color: #c9d1e8;
}
.signal-controls output,
.signal-controls strong {
  margin-left: 6px;
  color: white;
}
.signal-controls input {
  accent-color: #91acff;
  max-width: 100%;
}
.signal-controls p {
  margin-left: auto;
}
.delivery-hero {
  margin-top: 0;
}
.delivery-hero h1 {
  margin: 16px 0;
  font-size: clamp(48px, 6vw, 94px);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.07em;
}
.delivery-hero .handoff-copy {
  max-width: 36rem;
}
#sample-files {
  scroll-margin-top: 16px;
}
.file-desk {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.file-title,
.file-title > div,
.doc-meta,
.sample-run,
.delivery-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.file-title {
  min-height: 62px;
  padding: 16px clamp(18px, 2.4vw, 36px);
  border-bottom: 1px solid var(--line);
}
.file-title > div {
  justify-content: flex-start;
}
.file-title h2 {
  font-size: 25px;
  font-weight: 580;
  letter-spacing: -0.055em;
}
.file-title > span,
.doc-meta code {
  font: 12px var(--mono);
  color: #575e6d;
}
.folder-glyph {
  position: relative;
  width: 22px;
  height: 15px;
  border: 2px solid #405cd9;
  border-radius: 3px;
  background: #e5ebff;
}
.folder-glyph::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -5px;
  width: 10px;
  height: 4px;
  border: 2px solid #405cd9;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  background: #e5ebff;
}
.desk-shell {
  display: grid;
  grid-template-columns: minmax(190px, 23%) minmax(0, 1fr);
}
.doc-list {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 12px;
  background: #f5f6f9;
  border-right: 1px solid var(--line);
}
.doc-list button {
  color: #222632;
  text-align: left;
  padding: 8px 14px;
  min-height: 48px;
  border-radius: 7px;
  display: grid;
  gap: 3px;
  border: 1px solid transparent;
}
.doc-list button:hover {
  background: #e9edf5;
}
.doc-list button[aria-pressed="true"] {
  background: #e4eaff;
  border-color: #c1ccfc;
  color: #243da0;
}
.doc-list button span {
  font-weight: 600;
  font-size: 14px;
}
.doc-list small {
  font: 11px var(--mono);
  color: #596175;
}
.doc-picker {
  display: none;
}
.file-reader {
  min-width: 0;
  padding: clamp(18px, 2.5vw, 38px);
  max-height: 465px;
  overflow: auto;
  overscroll-behavior: auto;
  scrollbar-gutter: stable;
  outline-offset: -3px;
}
.doc-meta {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 6px;
}
.doc-meta span {
  color: #35499c;
  font-weight: 620;
  font-size: 14px;
}
.doc-content h3 {
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 540;
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.doc-content h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 20px 0 6px;
  letter-spacing: -0.02em;
}
.doc-content p {
  font-size: 15px;
  line-height: 1.55;
  color: #474d59;
  max-width: 70ch;
  margin-top: 8px;
}
.doc-content pre {
  background: #181d29;
  color: #e2e8fc;
  border-radius: 8px;
  font: 13px/1.6 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 14px 16px;
  margin: 10px 0 0;
}
.doc-content table {
  width: 100%;
  border-collapse: collapse;
  font: 14px var(--mono);
}
.doc-content :is(td, th) {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
.doc-content th {
  color: #424c69;
  background: #f1f3f9;
  font-weight: 600;
}
.sample-run {
  padding: 14px 4px;
  flex-wrap: wrap;
}
.sample-run p,
.delivery-parts-copy > p:not(.kicker),
.delivery-next p {
  color: var(--muted);
  line-height: 1.5;
}
.sample-run .text-link,
.delivery-parts-copy .text-link,
.sample-tools .text-link {
  border-color: #83899a;
}
.delivery-parts {
  margin-block: var(--panel-gap);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #eceef3;
  border-radius: 16px;
  overflow: hidden;
}
.delivery-parts-image {
  display: grid;
  background: #0d0e11;
}
.delivery-parts-image img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
  align-self: center;
}
.delivery-parts-copy {
  padding: clamp(24px, 3.5vw, 54px);
  align-self: center;
}
.delivery-parts-copy h2 {
  font-size: clamp(37px, 4vw, 65px);
  margin: 14px 0;
}
.delivery-parts-copy > p:not(.kicker) {
  max-width: 36ch;
  margin: 0 0 18px;
}
.delivery-parts-copy .text-link {
  display: table;
  margin-top: 14px;
}
.delivery-next {
  padding: var(--section-space) 0;
  gap: 22px;
}
.delivery-next h2 {
  font-size: clamp(30px, 3.5vw, 54px);
  margin-bottom: 10px;
}
.delivery-next p {
  max-width: 61ch;
}
.delivery-next .pill {
  flex-shrink: 0;
}
@media (max-width: 680px) {
  .delivery-hero h1 {
    font-size: clamp(42px, 11vw, 67px);
    margin: 12px 0;
  }
  .delivery-parts {
    grid-template-columns: 1fr;
  }
  .delivery-parts-image img {
    height: clamp(190px, 56vw, 295px);
  }
  .delivery-next {
    align-items: start;
    flex-direction: column;
  }
  .file-title {
    padding: 14px;
    min-height: 54px;
  }
  .file-title h2 {
    font-size: 21px;
  }
  .file-title > span {
    font-size: 11px;
  }
  .file-reader {
    min-height: 215px;
    max-height: 58svh;
  }
  .doc-list {
    display: none;
  }
  .doc-picker {
    display: grid;
    gap: 7px;
    padding: 12px 15px;
    color: #4e5975;
    background: #f2f4fa;
    font: 12px var(--mono);
  }
  .doc-picker select {
    width: 100%;
    min-width: 0;
    background: white;
    border: 1px solid #b9c1d2;
    border-radius: 7px;
    color: var(--ink);
    padding: 8px;
    min-height: 42px;
    font:
      15px Arial,
      sans-serif;
  }
  .sample-run {
    gap: 8px;
  }
}
.faq-index {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(25px, 7vw, 120px);
  padding: 0 0 var(--section-space);
}
.topic-nav {
  align-self: start;
  position: sticky;
  top: 25px;
  display: grid;
  gap: 14px;
}
.topic-nav a {
  width: fit-content;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.faq-group {
  scroll-margin-top: 25px;
}
.faq-group + .faq-group {
  margin-top: var(--section-space);
}
.faq-group h2 {
  font-size: clamp(29px, 3vw, 48px);
  margin-bottom: 22px;
}
@media (prefers-reduced-motion: no-preference) {
  :is(
    .editorial,
    .study-card,
    .chapter-steps article,
    .section-copy,
    .file-desk,
    .faq-group,
    .steps article,
    .next-page
  ) {
    transition:
      opacity 0.55s ease,
      translate 0.7s cubic-bezier(0.16, 0.75, 0.24, 1);
  }
  .await-reveal {
    opacity: 0;
    translate: 0 26px;
  }
  .await-reveal:focus-within,
  .await-reveal:target {
    opacity: 1;
    translate: none;
  }
}
@media (max-width: 950px) {
  .study-caption {
    display: grid;
    gap: 7px;
  }
  .nav {
    gap: 16px;
  }
  .mast {
    gap: 12px;
  }
  .nav-work {
    padding-inline: 14px;
  }
}
@media (max-width: 760px) {
  .heading-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .heading-row p {
    max-width: 530px;
  }
  .chapter-head {
    padding-inline: 0;
  }
  .editorial {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .gallery {
    gap: 17px;
  }
  .study-caption > span {
    font-size: 13px;
  }
  .chapter-walk {
    column-gap: 24px;
  }
  .desk-shell {
    grid-template-columns: minmax(170px, 0.78fr) minmax(0, 1.65fr);
  }
}
@media (max-width: 680px) {
  .chapter-head {
    padding-block: 22px 24px;
  }
  .chapter-head h1,
  .bench-hero h1 {
    font-size: clamp(48px, 11.6vw, 78px);
  }
  .bench-hero {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #e4e6ed;
    align-items: stretch;
    min-height: 0;
  }
  .bench-hero:before {
    display: none;
  }
  .bench-copy {
    max-width: 100%;
    padding: 25px 24px 30px;
    order: -1;
  }
  .bench-copy h1 {
    margin: 16px 0;
  }
  .bench-photo {
    position: static;
    aspect-ratio: 1.75;
    height: auto;
    z-index: 0;
  }
  .gallery {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .study-card:nth-child(2) {
    padding: 0;
  }
  .study-cover,
  .study-card:nth-child(2) .study-cover {
    aspect-ratio: 1.46;
  }
  .study-caption {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  .chapter-walk {
    display: block;
  }
  .chapter-pin {
    position: sticky;
    top: 0;
    z-index: 2;
    padding-block: 8px;
    background: var(--paper);
  }
  .process-stage,
  .vision-stage {
    aspect-ratio: auto;
    height: clamp(180px, 32svh, 280px);
  }
  .process-sheet {
    left: 34%;
    width: 32%;
  }
  .sheet-front {
    padding: 6% 3% 2%;
  }
  .chapter-steps article {
    min-height: 0;
    padding: 23px 0;
    gap: 13px;
  }
  .reel-screen .reel-card {
    min-height: clamp(275px, 44svh, 390px);
    justify-content: end;
    align-items: start;
    padding: 24px;
  }
  .reel-screen .reel-copy strong {
    font-size: clamp(40px, 10.3vw, 60px);
  }
  .reel-caption {
    font-size: 11px;
    padding: 14px 16px;
  }
  .next-page {
    padding: 35px 0;
  }
  .next-page strong {
    font-size: clamp(36px, 8.4vw, 56px);
  }
  .next-action {
    font-size: 12px;
  }
  .legend {
    gap: 8px;
    font-size: 11px;
  }
  .signal-lab figcaption {
    align-items: end;
    flex-wrap: wrap;
  }
  .signal-controls {
    gap: 8px 14px;
  }
  .signal-controls p {
    margin-left: 0;
  }
  .desk-shell {
    grid-template-columns: 1fr;
  }
  .faq-index {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .topic-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
  }
  .mast:has(#logout:not([hidden])) .nav-work {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .has-motion .opening-shot {
    position: relative;
    top: auto;
  }
  .has-motion .opening-shot .hero,
  .reel-screen,
  .reel-copy,
  .reel-screen .play-pill {
    transform: none;
  }
  .has-motion .hero::after {
    display: none;
  }
  .await-reveal {
    opacity: 1;
    translate: none;
  }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation-duration: 0.001ms !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chapter-pin {
    position: static;
  }
  .next-action:after {
    display: none;
  }
}
