/* Monk Motion: paper, ink and one tally-light red. */
:root {
  --paper: oklch(95.5% 0.014 85);
  --paper-deep: oklch(91.5% 0.02 85);
  --ink: oklch(21% 0.02 55);
  --ink-2: oklch(38% 0.022 58);
  --line: oklch(21% 0.02 55 / 0.17);
  --tally: oklch(63% 0.205 35);
  --tally-deep: oklch(51% 0.185 33);
  --dark: oklch(17.5% 0.016 55);
  --dark-2: oklch(24% 0.018 55);
  --on-dark: oklch(93.5% 0.016 85);
  --on-dark-2: oklch(74% 0.022 80);
  --line-dark: oklch(93.5% 0.016 85 / 0.16);

  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", sans-serif;

  --pad: clamp(1.1rem, 4.2vw, 4.5rem);
  --gap: clamp(0.75rem, 1.6vw, 1.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .12 0 0 0 0 .09 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.95rem + 0.22vw, 1.125rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--tally); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--pad); top: -4rem; z-index: 50; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; }
.skip:focus { top: 0.6rem; }

.disp {
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  line-height: 0.9;
}

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem var(--pad);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mark {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--display); font-stretch: 75%; font-weight: 800; text-transform: uppercase;
  font-size: 1.3rem; letter-spacing: 0; text-decoration: none; white-space: nowrap;
}
.tally { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--tally); }
.top nav { display: flex; gap: clamp(0.9rem, 2.4vw, 2.2rem); font-size: 0.95rem; font-weight: 500; }
.top nav a { text-decoration: none; padding: 0.35rem 0; background: linear-gradient(var(--tally), var(--tally)) 0 100% / 0 2px no-repeat; transition: background-size 0.35s var(--ease); }
.top nav a:hover { background-size: 100% 2px; }

/* ---------- hero ---------- */
.hero { padding: clamp(2.2rem, 6vw, 5.5rem) var(--pad) clamp(2rem, 4vw, 3.5rem); }
.eyebrow { font-weight: 600; font-size: 0.95rem; margin-bottom: clamp(1rem, 2.5vw, 2rem); display: flex; align-items: center; gap: 0.7em; }
.eyebrow::before { content: ""; width: 2.2em; height: 2px; background: var(--ink); }
.hero h1 { font-size: clamp(3.3rem, 14.4vw, 19rem); line-height: 0.84; }
.hero .ln { display: block; }
.hero .ln > span { display: inline-block; padding-block: 0.04em; }
.pick { position: relative; display: inline-block; }
.pick svg { position: absolute; left: -5%; top: -9%; width: 110%; max-width: none; height: 118%; overflow: visible; pointer-events: none; }
.pick path { fill: none; stroke: var(--tally); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 34rem) auto; justify-content: space-between; align-items: end;
  gap: 1.5rem 3rem; margin-top: clamp(1.6rem, 3.5vw, 3rem);
}
.lede { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.5rem); line-height: 1.38; font-weight: 500; text-wrap: pretty; }
.cta { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.45em; background: var(--ink); color: var(--paper);
  font-weight: 600; text-decoration: none; transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--tally-deep); }
.btn:active { transform: translateY(1px); }
.link { font-weight: 600; text-decoration: none; padding-bottom: 0.2em; border-bottom: 2px solid var(--ink); transition: border-color 0.25s; }
.link:hover { border-color: var(--tally); }

/* hero load-in */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .ln > span { clip-path: inset(0 0 100% 0); transform: translateY(35%); animation: rise 1.05s var(--ease) forwards; }
  .js .hero .ln:nth-child(2) > span { animation-delay: 0.09s; }
  .js .eyebrow, .js .hero-foot { opacity: 0; animation: fade 0.9s var(--ease) 0.45s forwards; }
  .js .pick path { stroke-dashoffset: 1; animation: draw 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.95s forwards; }
  @keyframes rise { to { clip-path: inset(-30% -12% -30% -12%); transform: none; } }
  @keyframes fade { to { opacity: 1; } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* ---------- frames (shared) ---------- */
.frame { position: relative; display: block; overflow: hidden; background: var(--dark); }
.frame.port { aspect-ratio: 9 / 16; }
.frame.land { aspect-ratio: 16 / 9; }
.frame img, .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame video { opacity: 0; transition: opacity 0.3s; }
.frame.playing video { opacity: 1; }
.shot { display: block; align-self: start; text-align: left; color: inherit; text-decoration: none; }
.shot .frame { transition: transform 0.5s var(--ease); }
.shot:hover .frame, .shot:focus-visible .frame { transform: translateY(-4px); }
.cap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.15rem 0.6rem; align-items: baseline; margin-top: 0.6rem; font-size: 0.86rem; line-height: 1.3; }
.cap .no { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--tally-deep); }
.cap .t { font-weight: 600; }
.cap .d { font-variant-numeric: tabular-nums; }
.cap .k { grid-column: 2 / 4; color: var(--ink-2); }

/* ---------- filmstrip ---------- */
.strip { position: relative; padding-bottom: clamp(2.5rem, 6vw, 5rem); --h: clamp(250px, 44vh, 470px); }
.strip-view { overflow: hidden; border-block: 1px solid var(--line); padding-block: var(--gap); }
.strip-track { display: flex; width: max-content; }
.strip-set { display: flex; align-items: flex-start; gap: var(--gap); padding-right: var(--gap); }
.strip .shot { flex: none; }
.strip .frame.port { height: var(--h); width: calc(var(--h) * 0.5625); }
.strip .frame.land { height: var(--h); width: calc(var(--h) * 1.7778); }
.strip .cap { grid-template-columns: auto minmax(0, 1fr); max-width: calc(var(--h) * 0.5625); }
.strip .shot.is-land .cap { max-width: none; }
.strip .cap .d, .strip .cap .k { display: none; }
.strip-toggle { position: absolute; right: var(--pad); bottom: clamp(0.8rem, 2.4vw, 2.2rem); font-size: 0.86rem; font-weight: 600; padding: 0.3rem 0; border-bottom: 2px solid var(--ink); }
.strip-toggle:hover { border-color: var(--tally); }
@media (prefers-reduced-motion: no-preference) {
  .strip-track.run { animation: slide var(--t, 80s) linear infinite; }
  .strip:hover .strip-track, .strip:focus-within .strip-track, .strip.paused .strip-track { animation-play-state: paused; }
  @keyframes slide { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .strip-view { overflow-x: auto; }
  .strip-toggle { display: none; }
}

/* ---------- section heads ---------- */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 1.2rem 3rem; flex-wrap: wrap; padding: clamp(3rem, 7vw, 6.5rem) var(--pad) clamp(1.6rem, 3.5vw, 3rem); }
.sec-head h2 { font-size: clamp(2.8rem, 8.6vw, 9rem); }
.sec-head p { max-width: 24rem; font-weight: 500; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); line-height: 1.35; }

/* ---------- services ---------- */
.svc {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); align-items: start;
  margin-inline: var(--pad); padding-block: clamp(2.4rem, 6vw, 5.5rem); border-top: 1px solid var(--line);
}
.svc.flip .svc-text { order: 2; }
.svc-text { position: sticky; top: 5.5rem; }
.svc-no { display: block; font-family: var(--display); font-stretch: 75%; font-weight: 300; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 0.9; color: var(--tally-deep); margin-bottom: 0.25em; font-variant-numeric: tabular-nums; }
.svc h3 { font-size: clamp(2rem, 4.3vw, 4rem); margin-bottom: 0.45em; text-wrap: balance; }
.svc-text > p { font-size: clamp(1.08rem, 1rem + 0.45vw, 1.35rem); line-height: 1.4; font-weight: 500; max-width: 30rem; text-wrap: pretty; }
.svc-text ul { margin-top: 1.5rem; max-width: 30rem; border-top: 1px solid var(--line); }
.svc-text li { padding: 0.62rem 0 0.62rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; }
.svc-text ul li::before { content: ""; position: absolute; left: 0; top: 1.33em; width: 0.8rem; height: 2px; background: var(--tally); }
.flow { display: flex; flex-wrap: wrap; gap: 0.5rem 0; margin-top: 1.6rem; counter-reset: f; font-weight: 600; font-size: 0.95rem; }
.flow li { counter-increment: f; padding: 0; border: 0; display: flex; align-items: center; }
.flow li::before { content: counter(f); display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; margin-right: 0.5em; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 0.82em; font-variant-numeric: tabular-nums; }
.flow li:not(:last-child)::after { content: ""; width: 1.6rem; height: 2px; background: var(--ink); margin-inline: 0.7rem; }

.svc-media { display: grid; gap: var(--gap); min-width: 0; }
.svc-media .cap .k { display: none; }
.svc-media.stairs { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.svc-media.stairs > :nth-child(2) { margin-top: clamp(1.5rem, 4vw, 4rem); }
.svc-media.stairs > :nth-child(3) { margin-top: clamp(3rem, 8vw, 8rem); }
.svc-media.stairs.up > :nth-child(1) { margin-top: clamp(3rem, 8vw, 8rem); }
.svc-media.stairs.up > :nth-child(3) { margin-top: 0; }
.svc-media.duo-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-media.duo-wide > :nth-child(3) { grid-column: 1 / -1; }
.svc-media.wide-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-media.wide-duo > :nth-child(1) { grid-column: 1 / -1; }

/* voice A/B */
.ab { background: var(--dark); color: var(--on-dark); padding: clamp(1.2rem, 3vw, 2.6rem); }
.ab-head { display: flex; align-items: center; gap: 1rem; margin-bottom: clamp(1.2rem, 2.6vw, 2rem); }
.ab-play { flex: none; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--tally); color: var(--dark); display: grid; place-items: center; transition: transform 0.25s var(--ease), background-color 0.25s; }
.ab-play:hover { transform: scale(1.06); }
.ab-play svg { width: 1.5rem; height: 1.5rem; fill: currentColor; grid-area: 1 / 1; }
.ab-play .i-pause, .ab.on .ab-play .i-play { display: none; }
.ab.on .ab-play .i-pause { display: block; }
.ab-title { font-family: var(--display); font-stretch: 75%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.2rem, 2.2vw, 1.7rem); line-height: 1; }
.ab-rows { display: grid; gap: 0.5rem; }
.ab-row {
  display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) auto; align-items: center; gap: 0.4rem 1rem;
  padding: 0.9rem 1rem; cursor: pointer; border: 1px solid var(--line-dark); color: var(--on-dark-2);
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}
.ab-row input { position: absolute; opacity: 0; pointer-events: none; }
.ab-row:has(input:checked) { border-color: var(--tally); color: var(--on-dark); background: var(--dark-2); }
.ab-row:has(input:focus-visible) { outline: 3px solid var(--tally); outline-offset: 3px; }
.ab-name { font-weight: 700; }
.ab-lufs { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.wave { position: relative; display: block; height: 3.4rem; --p: 0%; }
.wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave .w-base { fill: currentColor; opacity: 0.42; }
.wave .w-prog { fill: var(--tally); clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ab-row:has(input:checked) .w-base { opacity: 0.8; }
.ab-note { margin-top: 1rem; font-size: 0.88rem; color: var(--on-dark-2); }

/* ---------- work ---------- */
.work { background: var(--dark); color: var(--on-dark); margin-top: clamp(1rem, 3vw, 3rem); padding-bottom: clamp(3rem, 8vw, 7rem); }
.work .sec-head { align-items: end; }
.filters { display: flex; flex-wrap: wrap; gap: 0.3rem clamp(1rem, 2.2vw, 2rem); }
.filters button {
  font-family: var(--display); font-stretch: 75%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.25rem, 2.4vw, 2rem); line-height: 1.1; color: var(--on-dark-2); padding: 0.25rem 0;
  background: linear-gradient(var(--tally), var(--tally)) 0 100% / 0 3px no-repeat; transition: color 0.25s, background-size 0.35s var(--ease);
}
.filters button sup { font-family: var(--body); font-weight: 600; font-size: 0.42em; margin-left: 0.3em; vertical-align: top; position: relative; top: 0.25em; font-variant-numeric: tabular-nums; }
.filters button:hover { color: var(--on-dark); }
.filters button[aria-pressed="true"] { color: var(--on-dark); background-size: 100% 3px; }
.grid-land, .grid-port { display: grid; gap: clamp(1.6rem, 3vw, 2.8rem) var(--gap); padding-inline: var(--pad); }
.grid-land { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); margin-bottom: clamp(1.6rem, 3vw, 2.8rem); }
.land-side { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(1.4rem, 2.6vw, 2.4rem); min-width: 0; }
.land-side > .shot { align-self: stretch; }
.land-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.land-pair:not(:has(.shot:not([hidden]))) { display: none; }
.grid-port { grid-template-columns: repeat(auto-fill, minmax(clamp(140px, 17vw, 240px), 1fr)); }
.work .cap .no { color: var(--tally); }
.work .cap .k, .work .cap .d { color: var(--on-dark-2); }
.work .frame { background: var(--dark-2); }
.shot[hidden] { display: none; }
.grid-land:not(:has(.shot:not([hidden]))) { display: none; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap) clamp(1.2rem, 3vw, 3rem); padding: 0 var(--pad) clamp(3rem, 8vw, 7rem); }
.steps li { border-top: 2px solid var(--ink); padding-top: 1rem; }
.step-no { font-family: var(--display); font-stretch: 75%; font-weight: 300; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; color: var(--tally-deep); display: block; }
.steps h3 { font-family: var(--display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1; margin: 0.3em 0 0.4em; }
.steps p { max-width: 22rem; }

/* ---------- contact ---------- */
.contact { background: var(--tally); color: var(--dark); padding: clamp(3.5rem, 9vw, 8.5rem) var(--pad); }
.contact h2 { font-size: clamp(3rem, 10.4vw, 12.5rem); line-height: 0.84; text-wrap: balance; max-width: 12ch; }
.contact p { margin: clamp(1.2rem, 2.5vw, 2rem) 0 clamp(1.5rem, 3vw, 2.4rem); font-size: clamp(1.1rem, 1rem + 0.6vw, 1.5rem); font-weight: 500; max-width: 30rem; line-height: 1.35; }
.btn-ink { background: var(--dark); color: var(--on-dark); }
.btn-ink:hover { background: var(--paper); color: var(--ink); }

/* ---------- footer ---------- */
.foot { background: var(--dark); color: var(--on-dark-2); padding: 1.6rem var(--pad); display: flex; flex-wrap: wrap; gap: 0.6rem 2.5rem; justify-content: space-between; align-items: baseline; font-size: 0.86rem; }
.foot-mark { font-family: var(--display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 1.15rem; color: var(--on-dark); }
.foot-contact { font-variant-numeric: tabular-nums; }
.foot-contact a, .contact .link { white-space: nowrap; }
.foot a { color: var(--on-dark); border-bottom: 1px solid var(--line-dark); padding-bottom: 0.1em; transition: border-color 0.25s; }
.foot a:hover { border-color: var(--tally); }
.foot-note { flex-basis: 100%; order: 2; max-width: 68ch; margin-top: 0.4rem; font-size: 0.8rem; line-height: 1.5; color: var(--on-dark-2); }

/* ---------- viewer ---------- */
#viewer { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: var(--dark); color: var(--on-dark); overflow: hidden; }
#viewer::backdrop { background: var(--dark); }
.v-wrap { --stage-h: 100dvh; --vpt: clamp(1rem, 3vw, 2.8rem); --vpb: var(--vpt); position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 26rem); grid-template-rows: minmax(0, 1fr); height: 100%; }
.v-stage { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; min-width: 0; min-height: 0; overflow: hidden; padding: var(--vpt) clamp(1rem, 3vw, 2.8rem) var(--vpb); background: oklch(13% 0.012 55); }
.v-stage video { background: oklch(10% 0.01 55); }
.v-stage video.port { height: calc(var(--stage-h) - var(--vpt) - var(--vpb)); width: auto; max-width: 100%; aspect-ratio: 9 / 16; }
.v-stage video.land { width: 100%; height: auto; max-height: calc(var(--stage-h) - var(--vpt) - var(--vpb)); aspect-ratio: 16 / 9; }
.v-meta { display: flex; flex-direction: column; padding: clamp(3.6rem, 6vw, 5rem) clamp(1.2rem, 2.4vw, 2.4rem) clamp(1.2rem, 2.4vw, 2.4rem); overflow-y: auto; border-left: 1px solid var(--line-dark); }
.v-kind { font-weight: 600; color: var(--tally); margin-bottom: 0.7rem; }
.v-meta h3 { font-size: clamp(2rem, 3.4vw, 3.3rem); margin-bottom: 0.45em; text-wrap: balance; }
.v-desc { color: var(--on-dark); line-height: 1.45; text-wrap: pretty; }
#vDid { margin-top: 1.4rem; border-top: 1px solid var(--line-dark); }
#vDid li { padding: 0.55rem 0 0.55rem 1.5rem; border-bottom: 1px solid var(--line-dark); position: relative; color: var(--on-dark-2); }
#vDid li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 0.75rem; height: 2px; background: var(--tally); }
.v-nav { margin-top: auto; padding-top: 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; }
.v-nav button { padding: 0.5rem 0; border-bottom: 2px solid var(--on-dark); transition: border-color 0.25s; }
.v-nav button:hover { border-color: var(--tally); }
#vCount { font-variant-numeric: tabular-nums; color: var(--on-dark-2); }
.v-close { position: absolute; top: 0.8rem; right: 0.8rem; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--dark-2); transition: background-color 0.25s; }
.v-close:hover { background: var(--tally); color: var(--dark); }
.v-close svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  #viewer[open] { animation: fade 0.3s var(--ease); }
  #viewer[open] .v-meta > * { animation: metaIn 0.6s var(--ease) both; }
  #viewer[open] .v-meta > :nth-child(2) { animation-delay: 0.04s; }
  #viewer[open] .v-meta > :nth-child(3) { animation-delay: 0.08s; }
  #viewer[open] .v-meta > :nth-child(4) { animation-delay: 0.12s; }
  @keyframes metaIn { from { opacity: 0; transform: translateY(12px); } }
}

/* ---------- scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
  .steps li:nth-child(2) { transition-delay: 0.07s; }
  .steps li:nth-child(3) { transition-delay: 0.14s; }
  .steps li:nth-child(4) { transition-delay: 0.21s; }
}

/* ---------- narrower screens ---------- */
@media (max-width: 860px) {
  .grid-land { grid-template-columns: minmax(0, 1fr); }
  .svc { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .svc.flip .svc-text { order: 0; }
  .svc-text { position: static; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .v-wrap { --stage-h: 66dvh; --vpt: 3.6rem; --vpb: 1rem; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: start; height: auto; min-height: 100%; }
  #viewer { overflow-y: auto; }
  .v-meta { border-left: 0; border-top: 1px solid var(--line-dark); padding-top: 1.4rem; overflow: visible; }
  .v-stage { padding-inline: 1rem; }
}
@media (max-width: 520px) {
  .top nav .opt { display: none; }
  .flow { flex-direction: column; gap: 0.55rem; }
  .flow li:not(:last-child)::after { display: none; }
  .mark { font-size: 1.15rem; }
  .hero h1 { font-size: clamp(3.3rem, 16.5vw, 6rem); }
  .grid-port { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .ab-row { grid-template-columns: minmax(0, 1fr) auto; }
  .ab-row .wave { grid-column: 1 / -1; grid-row: 2; }
  .svc-media.stairs > :nth-child(2) { margin-top: 1rem; }
  .svc-media.stairs > :nth-child(3) { margin-top: 2rem; }
  .svc-media.stairs.up > :nth-child(1) { margin-top: 2rem; }
  .svc-media.stairs .cap .d { display: none; }
  .svc-media.stairs .cap { grid-template-columns: auto minmax(0, 1fr); font-size: 0.78rem; }
}
