/* VECTIN site: light editorial layout with large type, big rounded media and scroll-driven reveals. */
@import url("./tokens.css");

@font-face {
  font-family: Geist;
  src: url("./assets/fonts/geist.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .24em; }
button { color: inherit; font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
img, video { display: block; max-width: 100%; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(48px, 8vw, 120px); line-height: 1.12; }
h2 { font-size: clamp(38px, 5.6vw, 84px); line-height: 1.16; }
h3 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.2; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1200px); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 20; background: var(--white); padding: 12px 16px; transform: translateY(-130%); }
.skip:focus { transform: none; }

/* header */
.header { position: fixed; top: 12px; left: 0; right: 0; z-index: 10; width: min(calc(100% - 2 * var(--gutter)), 1180px); margin-inline: auto; border-radius: 18px; background: #ffffffc2; backdrop-filter: blur(22px) saturate(160%); border: 1px solid #ffffffb3; box-shadow: 0 8px 28px #19202826, inset 0 1px 0 #ffffffb3; transition: transform .35s var(--ease), opacity .25s ease; }
.header.is-tucked:not(:focus-within) { transform: translateY(calc(-100% - 24px)); opacity: 0; pointer-events: none; }
.header .nav { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 24px; padding-inline: 20px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; transition: opacity .3s ease; }
#navigation { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 24px); font-size: 15px; font-weight: 500; color: var(--sub); }
#navigation a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; text-decoration: none; transition: color .2s ease; }
#navigation a:hover, #navigation a[aria-current="page"] { color: var(--ink); }
#navigation .nav-contact { padding-inline: 18px; margin-left: 8px; border-radius: 12px; background: var(--blue); color: var(--white); font-weight: 600; }
#navigation .nav-contact:hover { background: var(--blue-press); color: var(--white); }
.menu { min-height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 10px; padding-inline: 14px; }
.detail-page main { padding-top: 92px; }

/* shared blocks */
.block { padding-block: var(--section); }
.gray { background: var(--gray); }
.center { text-align: center; }
.center .lead, .center .button { margin-inline: auto; }
.lead { margin-top: 28px; max-width: 34ch; font-size: clamp(19px, 2vw, 26px); line-height: 1.5; color: var(--sub); text-wrap: pretty; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 30px; margin-top: 40px; border-radius: 16px; background: var(--blue); color: var(--white); font-size: 17px; font-weight: 600; text-decoration: none; transition: background .2s ease, transform .2s var(--ease); }
.button:hover { background: var(--blue-press); }
.button:active { transform: scale(.97); }
.dark { background: var(--dark); color: var(--white); }
.dark .lead, .dark figcaption, .dark .recording p, .dark .course p { color: #b0b8c1; }
.sheet { position: relative; border-radius: 48px 48px 0 0; margin-top: -48px; }

/* media cards */
.media { width: min(calc(100% - 2 * var(--gutter)), 1200px); margin: clamp(56px, 8vw, 110px) auto 0; aspect-ratio: 16 / 9; overflow: clip; border-radius: var(--radius); background: #000; }
.media video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.media.inline { width: 100%; margin: 0; aspect-ratio: auto; position: relative; }
.media.inline video { height: auto; aspect-ratio: 8 / 3; object-fit: contain; }
.media figcaption { padding: 12px 20px 16px; font-size: 14px; color: #b0b8c1; background: #000; }
.step-body .media.inline { margin-bottom: 20px; border-radius: 24px; }

/* hero */
.hero { position: relative; isolation: isolate; overflow: clip; min-height: 100svh; display: grid; align-content: center; padding-block: 120px 80px; text-align: center; }
.hero-logo { margin: 0 auto 40px; width: clamp(130px, 14vw, 180px); height: auto; }
.hero .lead { margin-inline: auto; }

/* technology */
.technology .center { padding-bottom: clamp(24px, 4vw, 56px); }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); align-items: start; padding-block: clamp(32px, 8vh, 96px); }
.step-title { position: sticky; top: 24vh; }
.step-icon { width: clamp(64px, 8vw, 96px); height: auto; margin-bottom: 28px; }
.step-title h3 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.12; }
.step-body { padding-block: 18vh 12vh; }
.module-list > div { padding: 32px; border-radius: 28px; background: var(--white); }
.module-list > div + div { margin-top: 16px; }
.module-list dt { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.module-list dd { color: var(--sub); }

/* research */
.research .recordings { margin-top: clamp(96px, 12vw, 180px); }
.recording { padding-block: clamp(40px, 6vw, 88px); }
.recording-copy { display: grid; gap: 16px; margin-bottom: 36px; max-width: 40ch; }
.recording p { color: #b0b8c1; }
.course { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); align-items: center; margin-top: clamp(72px, 9vw, 140px); }
.course img { width: min(100%, 420px); height: auto; border-radius: 24px; background: var(--white); padding: 16px; }
.course figcaption { padding-block: 12px; font-size: 14px; }
.course p { margin-top: 16px; max-width: 36ch; }
.research-result { margin-top: clamp(96px, 12vw, 180px); }
.research-result h3 { font-size: clamp(110px, 22vw, 300px); line-height: 1; letter-spacing: -.07em; color: var(--blue); font-variant-numeric: tabular-nums; }
.research-result .unit { font-size: .34em; letter-spacing: -.03em; }
.research-result .lead { max-width: 40ch; }

/* next, careers, contact */
.next-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--gutter); align-items: center; }
.photo { overflow: clip; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.contact { padding-bottom: clamp(120px, 14vw, 200px); background: var(--dark); color: var(--white); }
.contact-links { display: flex; justify-content: center; gap: 20px; margin-top: 40px; }
.contact-link { display: inline-flex; align-items: center; min-height: 56px; padding: 8px; transition: transform .3s var(--ease); }
.contact-link:hover { transform: scale(1.08); }

/* footer */
.footer { background: var(--dark); color: #b0b8c1; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: var(--gutter); padding-block: clamp(56px, 8vw, 110px); border-top: 1px solid #ffffff1f; }
.footer-purpose { font-size: clamp(26px, 3.2vw, 46px); line-height: 1.2; letter-spacing: -.04em; font-weight: 700; color: var(--white); }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.footer-links a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 20px 28px; font-size: 14px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.credit-page { padding-block: 40px var(--section); }
.credit-page h1 { margin-bottom: 48px; }
.credit-list { max-width: 72ch; }
.credit-list > div { padding-block: 20px; border-top: 1px solid var(--line); }
.credit-list dd { margin-top: 8px; color: var(--sub); }

/* motion */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.hero h1.rise .w { display: inline-block; animation: word-rise .9s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 100ms); }
@keyframes word-rise { from { opacity: 0; transform: translateY(.5em); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .grow { animation: grow linear both; animation-timeline: view(); animation-range: entry 5% cover 38%; }
    @keyframes grow { from { transform: scale(.82); border-radius: 56px; } to { transform: scale(1); border-radius: var(--radius); } }
    :is(main h2, main h3:not(.no-split), .footer-purpose):not(.rise) .w { animation: word-lit linear both; animation-timeline: view(); animation-range: entry calc(6% + var(--i) * 3%) entry calc(44% + var(--i) * 3%); }
    @keyframes word-lit { from { opacity: .18; } to { opacity: 1; } }
  }
}

@media (max-width: 820px) {
  .header .nav { flex-wrap: wrap; gap: 4px 16px; min-height: 56px; padding-inline: 14px; }
  .menu:not([hidden]) { display: inline-block; }
  .menu:not([hidden])[aria-expanded="false"] + #navigation { display: none; }
  #navigation { width: 100%; flex-wrap: wrap; padding-bottom: 12px; }
  .step, .next-grid, .course, .footer-main { grid-template-columns: minmax(0, 1fr); }
  .step-title { position: static; }
  .step-body { padding-block: 0; }
  .app-grid { grid-template-columns: minmax(0, 1fr); }
  .app { min-height: 280px; gap: 40px; }
  .sheet { border-radius: 32px 32px 0 0; margin-top: -32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
.detail-page .sheet { margin-top: 0; border-radius: 0; }

/* about: type only */
.about h2 { font-size: clamp(44px, 7.2vw, 108px); line-height: 1.12; max-width: 14ch; }
.about .lead { max-width: 38ch; color: var(--ink); }
.about .lead + .lead { color: var(--sub); margin-top: 20px; }

/* mission film: pinned, expands to full screen, overlay walks through describe -> plan -> fly */
.pin { background: var(--white); --e: 1; }
.pin-stage { position: relative; height: min(100svh, 860px); background: var(--white); overflow: clip; }
.film-frame { position: absolute; inset: 0; background: #000; overflow: clip; color: var(--white); }
.pin-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, #0009 0%, #0000 42%, #000a 100%); }
.film-copy { position: absolute; left: max(var(--gutter), 11vw); top: 20svh; right: var(--gutter); }
.film-copy h2 { max-width: 20ch; }
.film-copy .lead { color: #e5e8eb; max-width: 30ch; font-size: clamp(17px, 1.6vw, 22px); margin-top: 20px; }
.film-route, .prompt, .film-steps { display: none; }
.pin.live { height: 520svh; }
.pin.live .pin-stage { position: sticky; top: 0; height: 100svh; }
.pin.live .film-frame { clip-path: inset(calc((1 - var(--e)) * 14svh) calc((1 - var(--e)) * 10vw) round calc(8px + (1 - var(--e)) * 40px)); }
.pin.live .film-route { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.pin.live .prompt { display: flex; align-items: center; position: absolute; left: max(var(--gutter), 11vw); bottom: 26svh; max-width: min(560px, 80vw); min-height: 60px; padding: 14px 22px; border-radius: 18px; background: #ffffffeb; color: var(--ink); font-size: clamp(16px, 1.5vw, 20px); font-weight: 500; letter-spacing: -.01em; opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .5s var(--ease); }
.pin.live .prompt i { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pin.live[data-phase="1"] .prompt, .pin.live[data-phase="2"] .prompt, .pin.live[data-phase="3"] .prompt { opacity: 1; transform: none; }
.pin.live[data-phase="3"] .prompt i { display: none; }
.pin.live .film-steps { display: flex; gap: 12px; position: absolute; left: max(var(--gutter), 11vw); bottom: 11svh; margin: 0; padding: 0; list-style: none; counter-reset: s; flex-wrap: wrap; }
.film-steps li { counter-increment: s; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: #ffffff26; backdrop-filter: blur(10px); font-size: 15px; font-weight: 600; opacity: .55; transition: opacity .3s ease, background .3s ease, color .3s ease; }
.film-steps li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #ffffff40; font-size: 13px; }
.pin[data-phase="1"] .film-steps li:nth-child(1), .pin[data-phase="2"] .film-steps li:nth-child(2), .pin[data-phase="3"] .film-steps li:nth-child(3) { opacity: 1; background: var(--white); color: var(--ink); }
.pin[data-phase="1"] .film-steps li:nth-child(1)::before, .pin[data-phase="2"] .film-steps li:nth-child(2)::before, .pin[data-phase="3"] .film-steps li:nth-child(3)::before { background: var(--blue); color: var(--white); }
.film-route path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 0)); filter: drop-shadow(0 2px 8px #0008); }
.route-dot { fill: var(--white); opacity: 0; transition: opacity .3s ease; }
.pin[data-phase="3"] .route-dot { opacity: 1; }
.route-drone { opacity: 0; transition: opacity .3s ease; }
.route-drone circle:first-child { fill: #3182f6cc; stroke: #fff; stroke-width: 3; }
.route-drone circle:last-child { fill: #fff; }
.pin[data-phase="3"] .route-drone { opacity: 1; }

/* applications: pinned horizontal track */
.hscroll { background: var(--white); }
.hscroll-stage { padding-block: var(--section); }
.hscroll-track { display: flex; gap: 20px; margin-top: clamp(48px, 6vw, 88px); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
.app { flex: none; display: grid; align-content: space-between; gap: 72px; width: min(80vw, 480px); min-height: clamp(380px, 52svh, 520px); padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); background: var(--gray); }
.app:nth-child(2) { background: #e8f1fe; }
.app:nth-child(3) { background: #eceef1; }
.app:nth-child(4) { background: var(--ink); color: var(--white); }
.app:nth-child(4) p { color: #b0b8c1; }
.app:nth-child(4) .app-icon { filter: invert(1); }
.app-icon { width: 56px; height: 56px; }
.app h3 { font-size: clamp(32px, 3.6vw, 50px); }
.app p { margin-top: 16px; max-width: 28ch; color: var(--sub); }
.hscroll.live { height: 320svh; }
.hscroll.live .hscroll-stage { grid-template-columns: minmax(0, 1fr); position: sticky; top: 0; height: 100svh; display: grid; align-content: center; padding-block: 0; overflow: clip; }
.hscroll.live .hscroll-track { overflow: visible; width: max-content; margin-top: clamp(32px, 6svh, 72px); transform: translateX(calc(var(--x, 0) * -1px)); }

/* onboard pipeline: pinned, steps advance with scroll */
.onboard { background: var(--white); }
.onboard-intro { padding-block: var(--section) clamp(32px, 5vw, 72px); }
.loop-stage { padding-block: clamp(32px, 5vw, 72px); }
.loop-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--gutter); align-items: center; }
.loop-panel { padding-block: 28px; border-top: 1px solid var(--line); }
.loop-count { font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; }
.loop-panel h3 { margin-top: 8px; font-size: clamp(36px, 4.8vw, 68px); }
.loop-desc { margin-top: 16px; max-width: 36ch; font-size: clamp(18px, 1.7vw, 22px); color: var(--sub); }
.loop-specs { margin-top: 28px; display: grid; gap: 0; max-width: 520px; }
.loop-specs > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding-block: 10px; border-top: 1px solid var(--line); font-size: 15px; }
.loop-specs dt { color: var(--mute); }
.loop-specs dd { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.loop-tag { display: inline-block; margin-top: 24px; padding: 6px 14px; border-radius: 999px; background: var(--gray); font-size: 14px; font-weight: 600; color: var(--sub); }
.loop-tag.tag-open { background: #e8f1fe; color: var(--blue-press); }
.loop-diagram { display: grid; gap: 20px; }
.loop-budget { display: flex; align-items: baseline; gap: 10px; font-size: 15px; color: var(--mute); }
.loop-budget b { font-size: 28px; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.loop-nodes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.loop-nodes li { position: relative; padding: 18px 22px; border-radius: 18px; background: var(--gray); font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--mute); transition: background .35s ease, color .35s ease, transform .5s var(--ease); }
.loop-nodes li.done { color: var(--ink); }
.loop-nodes li.on { background: var(--ink); color: var(--white); transform: translateX(12px); }
.loop-nodes li.on::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--blue); }
.onboard .numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); padding-block: clamp(64px, 9vw, 140px) var(--section); }
.numbers b { display: block; font-size: clamp(44px, 6vw, 88px); line-height: 1.05; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.numbers span { display: block; margin-top: 12px; max-width: 28ch; color: var(--sub); }
.onboard.live { height: auto; }
.onboard.live .loop-stage { height: 640svh; padding: 0; position: relative; }
.onboard.live .loop-grid { position: sticky; top: 0; height: 100svh; align-content: center; }
.onboard.live .loop-panels { display: grid; }
.onboard.live .loop-panel { grid-area: 1 / 1; border-top: 0; opacity: 0; transform: translateY(24px); visibility: hidden; transition: opacity .4s ease, transform .6s var(--ease), visibility 0s .4s; }
.onboard.live .loop-panel.on { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
@media (max-width: 820px) {
  .loop-grid, .onboard .numbers { grid-template-columns: minmax(0, 1fr); }
  .onboard.live .loop-grid { align-content: start; padding-top: 14svh; gap: 20px; }
  .loop-nodes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .loop-nodes li { padding: 12px; font-size: 14px; }
  .loop-nodes li.on { transform: none; }
  .loop-specs > div { grid-template-columns: 110px minmax(0, 1fr); }
}

/* airframe profile */
.fleet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: var(--gutter); align-items: center; padding-top: clamp(80px, 10vw, 150px); }
.fleet h3 { font-size: clamp(36px, 4.8vw, 68px); }
.fleet .lead { max-width: 36ch; font-size: clamp(18px, 1.7vw, 22px); }
.fleet-note { margin-top: 20px; max-width: 36ch; font-size: 15px; color: var(--mute); }
.profile { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--ink); color: var(--white); }
.profile-name { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.profile dl { margin-top: 20px; }
.profile dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding-block: 12px; border-top: 1px solid #ffffff1f; font-size: 15px; }
.profile dt { color: #8b95a1; }
.profile dd { font-variant-numeric: tabular-nums; }
.profile-foot { margin-top: 20px; font-size: 14px; color: #b0b8c1; }
@media (max-width: 820px) { .fleet { grid-template-columns: minmax(0, 1fr); } .profile dl > div { grid-template-columns: 120px minmax(0, 1fr); } }

/* global support */
.global { background: var(--white); overflow: clip; padding-bottom: calc(var(--section) * .7); }
.global h2 { font-size: clamp(40px, 6.4vw, 96px); max-width: 16ch; }
.global .lead { max-width: 38ch; color: var(--ink); }
.global-note { margin-top: 16px; font-size: 16px; color: var(--mute); }
.marquee-wrap { margin-top: clamp(56px, 8vw, 110px); display: grid; gap: 8px; }
.marquee { display: flex; gap: .5em; width: max-content; font-size: clamp(56px, 10vw, 150px); font-weight: 700; letter-spacing: -.05em; line-height: 1.15; color: #dfe3e8; transform: translateX(calc(var(--m, 0) * 1px)); white-space: nowrap; }
.marquee span:nth-child(even) { color: var(--ink); }
.marquee span::after { content: "·"; margin-left: .5em; color: #dfe3e8; }

.marquee.sm { font-size: clamp(36px, 5.4vw, 80px); }
.technology .marquee-wrap, .research .marquee-wrap { margin-top: clamp(40px, 6vw, 88px); }
.technology .marquee { color: #d3d8de; }
.technology .marquee span::after { color: #d3d8de; }
.dark .marquee, .dark .marquee span::after { color: #2b2f37; }
.dark .marquee span:nth-child(even) { color: var(--white); }
#careers { overflow: clip; }
#careers .marquee-wrap { margin-top: clamp(56px, 8vw, 110px); }

/* hero glow rising from the bottom edge */
.hero::before, .hero::after { content: ""; position: absolute; left: 50%; z-index: -1; pointer-events: none; transform: translateX(-50%); animation: glow-in 2.2s var(--ease) .3s both; }
.hero::before { bottom: -38%; width: 150%; height: 70%; background: radial-gradient(50% 100% at 50% 100%, #3182f64d 0%, #3182f626 40%, transparent 72%); filter: blur(28px); }
.hero::after { bottom: -6%; width: 62%; height: 22%; background: radial-gradient(50% 100% at 50% 100%, #ffffffcc 0%, #6aa8ff66 38%, transparent 72%); filter: blur(22px); }
@keyframes glow-in { from { opacity: 0; transform: translateX(-50%) translateY(40px); } }
@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after { animation: none; } }

/* research reel: videos swap on one pinned stage */
.reel .recordings { display: grid; }
.reel.live { height: 360svh; }
.reel.live .reel-stage { position: sticky; top: 0; height: 100svh; display: grid; align-content: center; gap: 28px; }
.reel.live .recordings { position: relative; height: min(64svh, 560px); }
.reel.live .recording { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: var(--gutter); align-items: center; padding: 0; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.reel.live .recording.on { opacity: 1; transform: none; pointer-events: auto; }
.reel.live .recording-copy { margin: 0; }
.reel.live .recording h3 { font-size: clamp(32px, 4.4vw, 64px); }
.reel.live .recording .media { margin: 0; }
.reel-chips { display: none; list-style: none; padding: 0; margin: 0; gap: 8px; justify-content: center; }
.reel.live .reel-chips { display: flex; }
.reel-chips li { padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #8b95a1; background: #ffffff14; transition: all .3s var(--ease); }
.reel-chips li.on { color: var(--ink); background: var(--white); }
@media (max-width: 820px) { .reel.live .recording { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 20px; } .reel.live .recordings { height: min(70svh, 520px); } }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--gutter); align-items: center; }
.about h2 { font-size: clamp(40px, 5.6vw, 88px); }
.about-photo { aspect-ratio: 4 / 5; }
.about-photo img { object-position: 30% center; }
@media (max-width: 820px) { .about-grid { grid-template-columns: minmax(0, 1fr); } .about-photo { aspect-ratio: 4 / 3; } }

/* mobile: shorter pinned scenes, smaller marquee type, chips that fit */
@media (max-width: 820px) {
  .pin.live { height: 380svh; }
  .onboard.live .loop-stage { height: 440svh; }
  .reel.live { height: 260svh; }
  .hscroll.live { height: 240svh; }
  .marquee { font-size: 15vw; }
  .marquee.sm { font-size: 9vw; }
  .pin.live .film-steps { right: var(--gutter); left: var(--gutter); gap: 6px; bottom: 9svh; }
  .film-steps li { padding: 8px 12px 8px 8px; gap: 6px; font-size: 12.5px; }
  .film-steps li::before { width: 20px; height: 20px; font-size: 11px; }
  .pin.live .prompt { left: var(--gutter); right: var(--gutter); max-width: none; bottom: 22svh; }
  .reel.live .recordings { height: 380px; }
  .reel.live .recording { align-content: start; }
}
@media (max-width: 820px) {
  .marquee span { max-width: 78vw; white-space: normal; line-height: 1.05; align-self: center; }
  .pin.live .film-route { height: 66%; }
}

.detail-content { width: min(100% - var(--gutter) * 2, 1000px); margin-inline: auto; padding-block: clamp(48px, 8vw, 104px) 96px; }
.detail-intro h1 { font-size: clamp(42px, 7.5vw, 90px); letter-spacing: -.065em; line-height: 1.02; margin: 0 0 18px; }
.detail-intro .lead { max-width: 38em; color: var(--sub); }
.detail-cover, .detail-figure video { display: block; width: 100%; max-height: 450px; object-fit: cover; border-radius: clamp(12px, 3vw, 24px); }
.detail-cover, .detail-figure { margin: 36px 0 0; }
.detail-figure figcaption { color: var(--sub); margin-top: 8px; }
.detail-topics, .detail-contact { margin: clamp(36px, 6vw, 72px) 0 32px; }
.detail-topics h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.045em; margin-bottom: 20px; }
.detail-topics dl { margin: 0; border-top: 1px solid var(--line); }
.detail-topics dl > div { display: grid; grid-template-columns: minmax(0, 1fr) 2fr; gap: 24px; border-bottom: 1px solid var(--line); padding-block: 20px; }
.detail-topics dt { font-weight: 650; }
.detail-topics dd { margin: 0; color: var(--sub); }
.detail-note { max-width: 62ch; color: var(--sub); margin-bottom: 26px; }
.detail-contact { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.detail-contact a { display: grid; gap: 4px; padding-block: 20px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 650; }
.detail-contact a:hover { color: var(--blue-press); }
.detail-contact span { color: var(--sub); font-weight: 400; }
@media (max-width: 560px) {
  .detail-topics dl > div { grid-template-columns: 1fr; gap: 4px; }
}
