:root {
  color-scheme: dark;
  --night: #090e16;
  --ink: #18202a;
  --ice: #edf6fa;
  --cyan: #9bdff0;
  --muted: #adbdc9;
  font-family: "Pretendard Variable", Pretendard, "Noto Sans JP", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--night); color: var(--ice); font-size: 16px; line-height: 1.6; word-break: keep-all; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #b4eafa; outline-offset: 4px; }
::selection { background: #9bdff0; color: #0a1520; }
.page-width { width: min(100% - 112px, 1480px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 120; left: 16px; top: -100px; padding: 12px 16px; background: #fff; color: #132434; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 84px; padding: 0 56px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(240,248,252,.22); color: #fff; transition: background-color .35s, border-color .35s; }
.site-header.is-scrolled { background: rgba(6,12,20,.96); border-color: rgba(240,248,252,.15); }
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 18px; font-weight: 800; letter-spacing: .12em; line-height: 1; }
.brand-mark { display: block; width: 40px; height: 40px; flex: none; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(25px,3vw,50px); font-size: 14px; font-weight: 600; }
.site-nav a:not(.nav-status) { position: relative; }
.site-nav a:not(.nav-status)::after { content: ""; position: absolute; inset: auto 0 -7px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.site-nav a:not(.nav-status):hover::after, .site-nav a:not(.nav-status):focus-visible::after { transform: scaleX(1); }
.nav-status { border: 1px solid rgba(255,255,255,.55); padding: 11px 16px; }
.nav-status span { margin-left: 10px; }
.menu-toggle { display: none; }

.film-hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #080d13; }
.hero-film, .hero-veil, .hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-film { z-index: 0; object-fit: cover; object-position: center; }
.hero-veil { z-index: 1; background: rgba(2,7,13,.34); }
.hero-lines { z-index: 1; display: flex; justify-content: space-evenly; }
.hero-lines span { width: 1px; background: rgba(219,244,255,.08); }
.hero-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(181,237,247,.28); box-shadow: 0 0 17px rgba(111,214,237,.45); animation: scene-scan 9s linear infinite; }
.hero-copy { position: relative; z-index: 2; padding-top: 170px; padding-bottom: 150px; }
.micro-label, .eyebrow, .section-index, .hero-footer, .film-meta, .scene-marker, .terminal-top, .terminal-routing, .terminal-constraints, .workflow-top, .workflow-identity small, .workflow-identity > span, .workflow-step small, .workflow-foot, .handoff-stage, .report-top, .report-label, .report-disclaimer, .chapter-rail { font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace; }
.micro-label { display: flex; align-items: center; gap: 13px; margin: 0 0 32px; font-size: 12px; font-weight: 700; letter-spacing: .17em; }
.signal-dot { width: 8px; height: 8px; border-radius: 50%; background: #a0e8f6; box-shadow: 0 0 18px #71ddeb; }
.micro-line { width: 38px; height: 1px; background: rgba(255,255,255,.5); }
.hero-copy h1 { max-width: 1250px; margin: 0; font-size: clamp(64px,7.5vw,125px); font-weight: 680; letter-spacing: -.085em; line-height: 1.09; }
.hero-copy h1 em, .mission-copy h2 em, .scene-text h2 em, .convergence h2 em, .result-copy h2 em, .control-scene h2 em, .closing-content h2 em { font-style: normal; color: #d3e8f2; }
.hero-lead { max-width: 570px; margin: 30px 0 36px; color: #e0e8ec; font-size: clamp(17px,1.4vw,21px); line-height: 1.7; }
.hero-enter { display: inline-flex; align-items: center; justify-content: space-between; gap: 60px; min-height: 60px; border: 1px solid #e6f2f8; padding: 15px 18px; background: #edf5f8; color: #10202d; font-size: 16px; font-weight: 700; transition: background-color .25s, transform .25s; }
.hero-enter:hover { background: #b7e2ed; transform: translateY(-3px); }
.hero-enter .arrow { font-size: 23px; line-height: 1; }
.hero-footer { position: absolute; z-index: 2; bottom: 0; left: 0; right: 0; min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.36); color: #d4e1e7; font-size: 11px; letter-spacing: .12em; }
.hero-footer b { margin-left: 12px; font-size: 20px; font-weight: 400; }
.chapter-rail { position: fixed; z-index: 50; right: 22px; top: 50%; display: flex; align-items: center; flex-direction: column; gap: 16px; transform: translateY(-50%); color: #d3eaf2; mix-blend-mode: difference; pointer-events: none; font-size: 10px; letter-spacing: .15em; }
.rail-label { writing-mode: vertical-rl; }
.rail-track { display: block; width: 1px; height: 130px; background: rgba(217,232,240,.4); }
.rail-track i { display: block; width: 1px; height: 0; background: #fff; }
.rail-count { writing-mode: vertical-rl; }

.section-index { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(230,245,252,.54); padding-top: 12px; color: #d8e6ec; font-size: 11px; letter-spacing: .14em; }
.eyebrow { margin: 0 0 24px; color: #a8dfea; font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.mission-sequence { position: relative; height: 150svh; background: #0b1420; }
.mission-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.mission-background, .mission-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.mission-background { z-index: 0; object-fit: cover; object-position: center; opacity: .55; transform: scale(1.09); }
.mission-shade { z-index: 1; background: rgba(3,10,17,.58); }
.mission-inner { position: relative; z-index: 2; min-height: 100%; display: flex; flex-direction: column; padding-top: 124px; padding-bottom: 30px; }
.mission-layout { flex: 1; display: grid; grid-template-columns: minmax(0,1fr) minmax(480px,.85fr); align-items: center; gap: 5vw; }
.mission-copy h2 { margin: 0; font-size: clamp(55px,5.5vw,94px); font-weight: 680; letter-spacing: -.075em; line-height: 1.12; }
.mission-copy > p:last-child { max-width: 510px; margin: 31px 0 0; color: #d4e0e6; font-size: 18px; line-height: 1.75; }
.mission-terminal { border: 1px solid rgba(195,230,242,.7); background: rgba(4,12,20,.91); padding: 24px 26px 28px; box-shadow: 0 30px 100px rgba(0,0,0,.36); opacity: 0; transform: translateY(55px); transition: opacity .7s, transform .8s cubic-bezier(.2,.8,.2,1); }
.mission-sequence.is-visible .mission-terminal { opacity: 1; transform: translateY(0); }
.terminal-top { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(188,221,231,.24); padding-bottom: 18px; color: #a8cbd6; font-size: 10px; letter-spacing: .12em; }
.terminal-top span:last-child { margin-left: auto; font-size: 17px; }
.terminal-led { width: 7px; height: 7px; border-radius: 50%; background: #a6e6ed; box-shadow: 0 0 12px #6be2f4; }
.terminal-prompt { margin: 34px 0 18px; color: #9fb9c8; font-size: 14px; }
.terminal-command { min-height: 125px; margin: 0; color: #f2f8fa; font-size: clamp(27px,2.6vw,42px); font-weight: 600; letter-spacing: -.05em; line-height: 1.35; }
.cursor { display: inline-block; width: 2px; height: .8em; margin-left: 5px; background: #aee8ee; vertical-align: -.08em; animation: cursor 1s steps(1) infinite; }
.terminal-constraints { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; color: #c3d5df; font-size: 11px; letter-spacing: .04em; }
.terminal-constraints span { border: 1px solid rgba(187,215,227,.42); padding: 6px 8px; }
.terminal-routing { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 39px; border-top: 1px solid rgba(188,221,231,.24); padding-top: 22px; color: #c0d8e2; font-size: 10px; letter-spacing: .1em; }
.routing-track { display: block; width: 100%; height: 1px; background: #456171; }
.routing-track i { display: block; width: 30%; height: 2px; background: #b5eaf2; box-shadow: 0 0 11px #7ed6e6; animation: route 2.6s ease-in-out infinite alternate; }
.scene-disclaimer { margin: 0; color: #afc5d0; font-size: 12px; }

.demo-lab { position: relative; overflow: hidden; background: radial-gradient(ellipse at 70% 32%,#173448 0%,#091a29 47%,#06111d 88%); }
.demo-lab::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(139,217,232,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(139,217,232,.16) 1px,transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(0deg,transparent,#000 30%,transparent); }
.demo-inner { position: relative; padding-top: 130px; padding-bottom: 120px; }
.demo-heading { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(270px,.7fr); align-items: end; gap: 6vw; margin-top: 75px; }
.demo-heading h2 { margin: 0; font-size: clamp(58px,6.4vw,105px); line-height: 1.1; font-weight: 680; letter-spacing: -.075em; }
.demo-heading h2 em { font-style: normal; color: #d3e8f2; }
.demo-heading > p { max-width: 420px; margin: 0 0 8px; color: #b9cdd8; font-size: 18px; line-height: 1.7; }
.demo-shell { display: grid; grid-template-columns: minmax(310px,.75fr) minmax(0,1.25fr); margin-top: 65px; border: 1px solid rgba(175,222,235,.5); background: rgba(6,18,29,.9); box-shadow: 0 40px 100px rgba(0,2,8,.42); }
.demo-input { display: flex; flex-direction: column; padding: 30px; border-right: 1px solid rgba(175,222,235,.26); background: linear-gradient(150deg,rgba(39,74,88,.28),rgba(5,14,23,.2) 55%); }
.demo-panel-top, .demo-console-top, .demo-artifact-head, .demo-console-bottom, .demo-options, .demo-boundaries, .demo-output-pair, .demo-disclaimer { font-family: "IBM Plex Mono",ui-monospace,monospace; }
.demo-panel-top, .demo-console-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; border-bottom: 1px solid rgba(177,222,234,.3); color: #a9cbd6; font-size: 10px; letter-spacing: .1em; }
.demo-question { margin: 32px 0 16px; font-size: 18px; font-weight: 650; }
.demo-options { display: grid; gap: 9px; }
.demo-options button { display: flex; align-items: center; justify-content: space-between; min-height: 58px; border: 1px solid rgba(182,217,229,.35); padding: 12px 16px; background: rgba(6,21,32,.7); color: #d4e2e9; cursor: pointer; font-size: 13px; text-align: left; transition: border-color .2s,background-color .2s; }
.demo-options button:hover, .demo-options button[aria-pressed="true"] { border-color: #b8e6ef; background: rgba(87,166,185,.18); color: #fff; }
.demo-options button span { color: #a9e5ef; font-size: 18px; }
.demo-input blockquote { margin: 28px 0 10px; color: #f5fbfc; font-size: clamp(27px,2.5vw,37px); font-weight: 600; letter-spacing: -.055em; line-height: 1.38; }
.demo-boundaries { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 28px; }
.demo-boundaries span { border: 1px solid rgba(177,222,234,.25); padding: 5px 7px; color: #b9cdd8; font-size: 10px; }
.demo-start { display: flex; align-items: center; justify-content: space-between; min-height: 58px; margin-top: auto; border: 1px solid #ecf8fa; padding: 13px 17px; background: #e8f5f8; color: #0b2030; cursor: pointer; font-size: 16px; font-weight: 700; }
.demo-start:hover { background: #bce8ee; }
.demo-start span { font-size: 21px; }
.demo-local-note { margin: 16px 0 0; color: #a9c5d0; font-size: 12px; line-height: 1.6; }
.demo-console { min-width: 0; padding: 30px; }
.demo-console-top span:last-child { color: #b5ecf0; }
.demo-active-goal { display: none; }
.demo-steps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin: 24px 0; padding: 0; list-style: none; }
.demo-steps li { min-width: 0; }
.demo-steps button { display: grid; align-content: center; gap: 7px; width: 100%; min-height: 76px; border: 1px solid rgba(177,222,234,.25); padding: 9px 11px; background: rgba(12,35,49,.7); color: #bdcdd5; cursor: pointer; text-align: left; transition: border-color .22s,background-color .22s; }
.demo-steps button:hover, .demo-steps button[aria-current="step"] { border-color: #a6e2ec; background: rgba(92,177,196,.2); color: #fff; }
.demo-steps button span { color: #97d9e6; font: 11px "IBM Plex Mono",ui-monospace,monospace; }
.demo-steps button strong { font-size: 14px; font-weight: 600; white-space: nowrap; }
.demo-artifact { position: relative; min-height: 315px; border: 1px solid rgba(177,222,234,.28); padding: 25px 26px; background: radial-gradient(circle at 85% 8%,rgba(89,192,209,.12),transparent 36%),rgba(2,13,23,.82); }
.demo-artifact::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 35%; height: 2px; background: #a5e6ed; box-shadow: 0 0 17px #60d1df; transition: width .55s; }
.demo-console[data-step="4"] .demo-artifact::before { width: 100%; }
.demo-artifact-head { display: flex; justify-content: space-between; gap: 12px; color: #a8dfea; font-size: 10px; letter-spacing: .12em; }
.demo-artifact h3 { margin: 25px 0 6px; color: #f3fbfd; font-size: clamp(25px,2.4vw,36px); font-weight: 640; letter-spacing: -.055em; line-height: 1.28; }
.demo-artifact > p:not(.demo-artifact-note) { min-height: 48px; margin: 0; color: #bdd0d9; font-size: 15px; line-height: 1.6; }
.demo-output-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 25px; }
.demo-output-pair > div { display: grid; align-content: start; gap: 8px; min-height: 87px; border: 1px solid rgba(177,222,234,.25); padding: 13px; background: rgba(17,48,63,.45); }
.demo-output-pair span { color: #95d7e6; font-size: 10px; letter-spacing: .08em; }
.demo-output-pair strong { color: #eef7f9; font: 600 15px/1.4 "Pretendard Variable",Pretendard,system-ui,sans-serif; letter-spacing: -.025em; }
.demo-artifact-note { margin: 17px 0 0; color: #95b9c7; font-size: 11px; }
.demo-console-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; color: #99b8c5; font-size: 10px; letter-spacing: .1em; }
.demo-console-bottom button { border: 0; padding: 10px 0; background: none; color: #d8f0f3; cursor: pointer; font: 600 14px "Pretendard Variable",Pretendard,system-ui,sans-serif; }
.demo-console-bottom button:hover { color: #84d9e7; }
.demo-console-bottom button span { padding-left: 12px; }
.demo-follow { --mission-accent: #a9e5ef; display: grid; grid-template-columns: 240px 1fr 40px; align-items: center; gap: 20px; min-height: 100px; margin-top: 18px; border: 1px solid rgba(175,222,235,.5); padding: 20px 28px; background: linear-gradient(100deg,rgba(12,42,58,.94),rgba(4,19,31,.98)); color: #f1f8fa; text-decoration: none; transition: border-color .25s,background-color .25s; }
.demo-follow:hover, .demo-follow:focus-visible { border-color: var(--mission-accent); background: #143349; }
.demo-follow > span:first-child { color: var(--mission-accent); font: 11px "IBM Plex Mono",ui-monospace,monospace; letter-spacing: .08em; }
.demo-follow strong { font-size: clamp(22px,2.5vw,31px); font-weight: 650; letter-spacing: -.05em; }
.demo-follow > span:last-child { color: var(--mission-accent); font-size: 30px; text-align: right; }
html[data-story-mission="event"] .demo-follow { --mission-accent: #ffd09a; }
html[data-story-mission="event"] .demo-options button[aria-pressed="true"], html[data-story-mission="event"] .workflow-board, html[data-story-mission="event"] .handoff-stage { border-color: rgba(255,208,154,.7); }
html[data-story-mission="event"] .workflow-top [data-story], html[data-story-mission="event"] .handoff-stage-top [data-story], html[data-story-mission="event"] .report-top [data-story] { color: #ffd09a; }
.demo-disclaimer { margin: 17px 0 0; color: #9bb5c2; font-size: 10px; letter-spacing: .03em; }

.agent-scene { position: relative; height: 155svh; background: #0c1119; }
.scene-frame { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.scene-background, .scene-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-background { z-index: 0; object-fit: cover; transform: scale(1.14); will-change: transform; }
.scene-shade { z-index: 1; background: rgba(3,9,16,.57); }
.scene-research .scene-shade { background: rgba(3,9,16,.49); }
.scene-content .scene-shade { background: rgba(3,9,16,.52); }
.scene-inner { position: relative; z-index: 2; height: 100%; padding-top: 125px; }
.scene-text { position: absolute; z-index: 3; left: 0; top: 30%; width: min(50%, 720px); opacity: 0; transform: translateY(85px); transition: opacity .75s, transform .9s cubic-bezier(.2,.8,.2,1); }
.agent-scene.is-visible .scene-text { opacity: 1; transform: translateY(0); }
.scene-text h2 { margin: 0; font-size: clamp(64px,7.2vw,112px); font-weight: 690; letter-spacing: -.085em; line-height: 1.06; }
.scene-intro { max-width: 485px; margin: 30px 0 29px; color: #e1e9ec; font-size: clamp(16px,1.3vw,19px); line-height: 1.65; }
.workflow-board { position: absolute; z-index: 2; right: 0; top: 23%; width: min(43%, 595px); border: 1px solid rgba(195,230,242,.7); background: rgba(5,17,27,.94); box-shadow: 0 28px 90px rgba(0,0,0,.35); opacity: 0; transform: translateY(65px) perspective(1100px) rotateY(-7deg); transition: opacity .75s .12s, transform .9s .12s cubic-bezier(.2,.8,.2,1); }
.agent-scene.is-visible .workflow-board { opacity: 1; transform: translateY(0) perspective(1100px) rotateY(0); }
.workflow-top { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid rgba(177,222,234,.3); padding: 11px 18px; color: #a7d9e6; font-size: 10px; letter-spacing: .09em; }
.workflow-identity { display: flex; align-items: center; gap: 15px; padding: 18px; }
.workflow-identity img { width: 58px; height: 58px; object-fit: cover; filter: grayscale(.35); }
.workflow-identity div { display: flex; flex-direction: column; gap: 1px; }
.workflow-identity small { color: #a3cfdb; font-size: 10px; letter-spacing: .08em; }
.workflow-identity strong { font-size: 21px; line-height: 1.3; }
.workflow-identity > span { margin-left: auto; border: 1px solid rgba(169,223,236,.6); padding: 4px 8px; color: #bcecf4; font-size: 10px; }
.role-motion { position: relative; display: flex; align-items: center; min-height: 66px; margin: 0 18px 14px; border: 1px solid rgba(154,216,231,.24); padding: 12px 16px; overflow: hidden; background: rgba(20,57,72,.36); color: #99e2ed; font: 10px "IBM Plex Mono",ui-monospace,monospace; letter-spacing: .1em; }
.role-motion-orchestrator { gap: 17px; }
.role-motion-orchestrator .motion-node { display: grid; place-items: center; flex: 0 0 29px; height: 29px; border: 1px solid #a8ecf3; box-shadow: 0 0 17px rgba(104,218,234,.26); }
.role-motion-orchestrator .motion-node img { width: 24px; height: 24px; object-fit: contain; }
.role-motion-orchestrator .motion-path { display: grid; flex: 1; gap: 13px; }
.role-motion-orchestrator .motion-path i { position: relative; height: 1px; background: rgba(148,219,232,.45); }
.role-motion-orchestrator .motion-path i::after { content: ""; position: absolute; top: -2px; left: 0; width: 18px; height: 5px; background: #a7f2f6; box-shadow: 0 0 12px #83ddea; }
.role-motion-orchestrator .motion-targets { display: grid; gap: 7px; min-width: 74px; }
.role-motion-orchestrator .motion-targets b { font-weight: 500; }
.role-motion-research { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.motion-caption { grid-column: 1 / -1; color: #c5e8ef; }
.role-motion-research .motion-track { position: relative; height: 7px; border: 1px solid rgba(155,221,232,.5); background: repeating-linear-gradient(90deg,rgba(156,226,234,.16) 0 1px,transparent 1px 12px); }
.role-motion-research .motion-track i { display: block; width: 18%; height: 100%; background: #b8f4f5; box-shadow: 0 0 14px #6de2e8; }
.role-motion-research .motion-sources { display: flex; gap: 4px; }
.role-motion-research .motion-sources b { display: grid; place-items: center; width: 22px; height: 18px; border: 1px solid rgba(155,221,232,.45); font-size: 9px; font-weight: 500; }
.role-motion-content { display: grid; grid-template-columns: 1fr 9px; gap: 8px; }
.role-motion-content .motion-lines { display: grid; gap: 5px; }
.role-motion-content .motion-lines i { display: block; height: 3px; background: #aeeaf1; transform-origin: left; }
.role-motion-content .motion-lines i:nth-child(2) { width: 80%; }
.role-motion-content .motion-lines i:nth-child(3) { width: 57%; }
.role-motion-content .motion-caret { align-self: end; height: 17px; background: #b8f4f5; }
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .agent-scene.is-active .role-motion-orchestrator .motion-path i::after { animation: role-route 2.8s ease-in-out infinite; }
  .agent-scene.is-active .role-motion-orchestrator .motion-path i:nth-child(2)::after { animation-delay: .6s; }
  .agent-scene.is-active .role-motion-research .motion-track i { animation: role-scan 3.2s ease-in-out infinite alternate; }
  .agent-scene.is-active .role-motion-research .motion-sources b { animation: role-source 3.2s steps(1) infinite; }
  .agent-scene.is-active .role-motion-research .motion-sources b:nth-child(2) { animation-delay: .9s; }
  .agent-scene.is-active .role-motion-research .motion-sources b:nth-child(3) { animation-delay: 1.8s; }
  .agent-scene.is-active .role-motion-content .motion-lines i { animation: role-write 3s ease-in-out infinite; }
  .agent-scene.is-active .role-motion-content .motion-lines i:nth-child(2) { animation-delay: .35s; }
  .agent-scene.is-active .role-motion-content .motion-lines i:nth-child(3) { animation-delay: .7s; }
  .agent-scene.is-active .role-motion-content .motion-caret { animation: cursor .7s steps(1) infinite; }
}
@keyframes role-route { 0%,10% { transform: translateX(0); opacity: 0; } 30%,70% { opacity: 1; } 90%,100% { transform: translateX(240px); opacity: 0; } }
@keyframes role-scan { from { transform: translateX(0); } to { transform: translateX(450%); } }
@keyframes role-source { 0%,60% { background: transparent; } 65%,100% { background: rgba(142,232,240,.35); } }
@keyframes role-write { 0%,12% { transform: scaleX(0); } 60%,90% { transform: scaleX(1); } 100% { transform: scaleX(.2); } }
.workflow-steps { margin: 0 18px; padding: 0; list-style: none; border-top: 1px solid rgba(177,222,234,.3); }
.workflow-step { display: grid; grid-template-columns: 88px 1fr; column-gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(177,222,234,.2); opacity: 0; transform: translateX(28px); transition: opacity .55s, transform .65s cubic-bezier(.2,.8,.2,1); }
.agent-scene.is-visible .workflow-step { opacity: 1; transform: translateX(0); }
.agent-scene.is-visible .workflow-step:nth-child(1) { transition-delay: .32s; }
.agent-scene.is-visible .workflow-step:nth-child(2) { transition-delay: .52s; }
.agent-scene.is-visible .workflow-step:nth-child(3) { transition-delay: .72s; }
.workflow-step small { grid-row: span 2; align-self: start; padding-top: 3px; color: #a3cfdb; font-size: 12px; }
.workflow-step strong { color: #f0f9fb; font-size: clamp(16px,1.35vw,20px); font-weight: 650; line-height: 1.35; }
.workflow-step span { color: #aec4ce; font-size: 13px; line-height: 1.5; }
.workflow-foot { margin: 0; padding: 12px 18px 15px; color: #a4bdca; font-size: 12px; letter-spacing: .04em; }
.scene-marker { position: absolute; right: 0; bottom: 43px; color: #b5d7e1; font-size: 11px; letter-spacing: .14em; }
.scene-content .scene-text { left: auto; right: 0; text-align: right; }
.scene-content .scene-intro { margin-left: auto; }
.scene-content .workflow-board { right: auto; left: 0; transform: translateY(65px) perspective(1100px) rotateY(7deg); }
.scene-content.is-visible .workflow-board { transform: translateY(0) perspective(1100px) rotateY(0); }
.scene-content .scene-marker { right: auto; left: 0; }

.convergence { position: relative; display: flex; align-items: center; min-height: 100svh; overflow: hidden; background: radial-gradient(ellipse at 50% 66%, #122d3c 0%, #071622 46%, #06101b 82%); }
.convergence-inner { padding-top: 120px; padding-bottom: 120px; }
.convergence .section-index { margin-bottom: 58px; }
.convergence h2 { margin: 0; font-size: clamp(60px,7.4vw,118px); font-weight: 680; letter-spacing: -.082em; line-height: 1.1; text-align: center; opacity: 0; transform: translateY(60px); transition: opacity .8s, transform .8s; }
.convergence.is-visible h2 { opacity: 1; transform: translateY(0); }
.convergence > .convergence-inner > p { max-width: 620px; margin: 25px auto 0; color: #b5c9d3; font-size: 18px; text-align: center; }
.handoff-stage { position: relative; margin-top: 68px; border: 1px solid rgba(169,222,235,.42); background: linear-gradient(140deg,rgba(22,54,70,.72),rgba(3,13,24,.93) 40%,rgba(14,37,51,.75)); box-shadow: 0 40px 110px rgba(0,4,12,.5), inset 0 0 90px rgba(80,174,201,.06); opacity: 0; transform: translateY(60px) perspective(1200px) rotateX(7deg); transition: opacity .85s .16s, transform 1s .16s cubic-bezier(.18,.7,.2,1); }
.convergence.is-visible .handoff-stage { opacity: 1; transform: translateY(0) perspective(1200px) rotateX(0); }
.handoff-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .28; background-image: linear-gradient(rgba(162,220,236,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(162,220,236,.13) 1px,transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent); }
.handoff-stage-top, .handoff-stage-bottom { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 48px; padding: 0 25px; color: #9dbbc8; font-size: 10px; letter-spacing: .12em; }
.handoff-stage-top { border-bottom: 1px solid rgba(169,222,235,.22); }
.handoff-stage-top > span:last-child { display: inline-flex; align-items: center; gap: 9px; color: #bcecf3; }
.handoff-stage-top i { width: 6px; height: 6px; border-radius: 50%; background: #bcecf3; box-shadow: 0 0 11px #8cdded; }
.handoff-stage-bottom { border-top: 1px solid rgba(169,222,235,.22); font-size: 9px; }
.handoff-graph { position: relative; height: 370px; }
.office-digital-twin { position: relative; display: none; height: min(54vw, 570px); min-height: 440px; overflow: hidden; background: #07131e; }
.handoff-stage.has-3d .office-digital-twin { display: block; }
.handoff-stage.has-3d .handoff-graph { display: none; }
.office-photo { position: absolute; inset: -3%; background-position: center; background-size: cover; background-repeat: no-repeat; transform: translate3d(var(--photo-x,0px),var(--photo-y,0px),0) scale(1.035); will-change: transform; }
.handoff-stage.has-3d .office-photo { background-image: url("./assets/office-twin.webp"); }
.office-canvas { position: relative; display: block; width: 100%; height: 100%; }
.office-digital-twin::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,rgba(3,12,20,.77),transparent 38%),linear-gradient(0deg,rgba(3,12,20,.75),transparent 29%); }
.office-scene-title, .office-scene-status, .office-stations { position: absolute; z-index: 1; pointer-events: none; }
.office-scene-title { left: 4%; top: 8%; display: grid; gap: 13px; max-width: 370px; }
.office-scene-title span, .office-scene-status, .office-stations { color: #b5d3de; font: 10px "IBM Plex Mono",ui-monospace,monospace; letter-spacing: .13em; }
.office-scene-title strong { color: #f4fbff; font: 620 clamp(27px,3.1vw,49px)/1.17 "Pretendard Variable",Pretendard,system-ui,sans-serif; letter-spacing: -.065em; text-shadow: 0 2px 22px #05101a; }
.office-scene-status { right: 4%; top: 9%; display: flex; align-items: center; gap: 9px; }
.office-scene-status i { width: 6px; height: 6px; border-radius: 50%; background: #a5eced; box-shadow: 0 0 14px #67d8e4; }
.office-scene-status span { opacity: .5; }
.office-stations { left: 4%; right: 4%; bottom: 7%; display: flex; gap: 8px; }
.office-stations span { display: inline-flex; align-items: center; gap: 12px; min-width: 150px; padding: 12px 14px; border: 1px solid rgba(145,209,225,.32); background: rgba(6,22,34,.72); backdrop-filter: blur(8px); }
.office-stations b { color: #b9f1f2; font-weight: 500; }
.handoff-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.handoff-lines path { fill: none; stroke: #7fc7d9; stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .64; stroke-dasharray: 800; stroke-dashoffset: 800; transition: stroke-dashoffset 1.6s .46s ease-out; }
.convergence.is-visible .handoff-lines path { stroke-dashoffset: 0; }
.handoff-lines path:nth-child(2n) { stroke: #a2abc9; transition-delay: .62s; }
.handoff-node { position: absolute; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 1px solid rgba(170,220,231,.55); padding: 13px 15px; background: rgba(8,25,38,.92); color: #f0f9fb; opacity: 0; transform: translateY(22px) scale(.95); transition: opacity .55s, transform .65s cubic-bezier(.18,.7,.2,1); }
.convergence.is-visible .handoff-node { opacity: 1; transform: translateY(0) scale(1); }
.handoff-node small { color: #9bd9e7; font-size: 9px; letter-spacing: .12em; }
.handoff-node strong { font: 650 clamp(14px,1.45vw,22px) "Pretendard Variable",Pretendard,system-ui,sans-serif; letter-spacing: -.035em; line-height: 1.25; }
.handoff-node > span:not(.handoff-core-mark) { color: #a8c1cc; font-size: 10px; }
.handoff-source { left: 2%; top: 118px; width: 16%; min-height: 134px; transition-delay: .2s; }
.handoff-core { left: 25%; top: 117px; width: 11%; height: 136px; align-items: center; padding: 0; border-radius: 50%; background: radial-gradient(circle,#1f5b70,#0b293b 62%,#0a1b2b); box-shadow: 0 0 0 12px rgba(154,223,236,.04),0 0 54px rgba(106,210,230,.3); transition-delay: .38s; }
.handoff-core-mark { font-size: 47px; font-weight: 500; line-height: 1; }
.handoff-core small { color: #d9f6f9; font-size: 9px; }
.handoff-lanes { position: absolute; left: 46%; top: 32px; width: 18%; display: grid; gap: 134px; }
.handoff-lane { position: relative; min-height: 86px; background: rgba(12,37,52,.95); }
.handoff-lane:nth-child(1) { transition-delay: .56s; }
.handoff-lane:nth-child(2) { transition-delay: .69s; }
.handoff-review { left: 69%; top: 118px; width: 14%; min-height: 134px; border-color: #aebfda; background: rgba(25,39,58,.96); transition-delay: .82s; }
.handoff-result { left: 86%; top: 118px; width: 12%; min-height: 134px; border-color: #b2eaf3; background: linear-gradient(135deg,#123d51,#0a283a); box-shadow: 0 0 40px rgba(118,211,230,.14); transition-delay: 1s; }

.result-scene { min-height: 100svh; display: flex; align-items: center; background: #e8edf0; color: var(--ink); overflow: hidden; }
.result-inner { padding-top: 130px; padding-bottom: 110px; }
.result-scene .section-index { border-color: #7d8e99; color: #405765; }
.result-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.55fr); gap: 6vw; align-items: end; padding-top: 70px; }
.result-copy .eyebrow { color: #38657c; }
.result-copy h2 { margin: 0; font-size: clamp(57px,5.6vw,90px); letter-spacing: -.08em; line-height: 1.13; }
.result-copy h2 em { color: #345b6e; }
.result-context p { max-width: 460px; margin: 0; color: #4c5c66; font-size: 19px; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 40px; margin-top: 35px; border-bottom: 1px solid #244a61; padding-bottom: 8px; color: #244a61; font-size: 15px; font-weight: 700; }
.result-report { margin-top: 55px; border: 1px solid #a7b6bf; background: #fff; box-shadow: 0 35px 85px rgba(20,40,53,.14); opacity: 0; transform: translateY(55px); transition: opacity .7s, transform .85s cubic-bezier(.2,.8,.2,1); }
.result-scene.is-visible .result-report { opacity: 1; transform: translateY(0); }
.report-top { display: flex; justify-content: space-between; gap: 20px; padding: 13px 28px; background: #1c3442; color: #e1f3f7; font-size: 11px; letter-spacing: .08em; }
.report-sequence { margin: 0; padding: 0; list-style: none; }
.report-step { display: grid; grid-template-columns: 145px minmax(0,1fr) 40px; gap: 30px; align-items: center; min-height: 106px; border-bottom: 1px solid #d3dfe4; padding: 18px 28px; opacity: 0; transform: translateY(28px); transition: opacity .55s, transform .65s cubic-bezier(.2,.8,.2,1); }
.result-scene.is-visible .report-step { opacity: 1; transform: translateY(0); }
.result-scene.is-visible .report-step:nth-child(1) { transition-delay: .2s; }
.result-scene.is-visible .report-step:nth-child(2) { transition-delay: .37s; }
.result-scene.is-visible .report-step:nth-child(3) { transition-delay: .54s; }
.result-scene.is-visible .report-step:nth-child(4) { transition-delay: .71s; }
.report-conclusion { min-height: 140px; background: #edf4f6; }
.report-label { color: #315b70; font-size: 13px; font-weight: 700; }
.report-step strong { display: block; color: #132839; font-size: clamp(22px,2.1vw,32px); font-weight: 670; letter-spacing: -.045em; line-height: 1.35; }
.report-conclusion strong { font-size: clamp(27px,2.8vw,42px); }
.report-step p { margin: 6px 0 0; color: #4a6471; font-size: 15px; line-height: 1.55; }
.report-mark { color: #527d90; font-size: 22px; text-align: right; }
.report-disclaimer { margin: 0; padding: 12px 28px 15px; color: #596f7a; font-size: 12px; }

.control-scene { min-height: 100svh; padding: 135px 0 160px; background: #0a1622; }
.control-scene .section-index { margin-bottom: 90px; }
.control-scene h2 { margin: 0 0 85px; font-size: clamp(63px,7.2vw,115px); font-weight: 680; letter-spacing: -.082em; line-height: 1.08; }
.control-bands { border-top: 1px solid #567081; }
.control-bands article { display: grid; grid-template-columns: 120px 1fr minmax(220px,.7fr); gap: 30px; align-items: center; min-height: 132px; border-bottom: 1px solid #567081; opacity: .2; transform: translateX(-40px); transition: opacity .7s, transform .7s; }
.control-scene.is-visible .control-bands article { opacity: 1; transform: translateX(0); }
.control-scene.is-visible .control-bands article:nth-child(2) { transition-delay: .16s; }
.control-scene.is-visible .control-bands article:nth-child(3) { transition-delay: .32s; }
.control-bands article > span { color: #94c5d4; font: 11px "IBM Plex Mono",ui-monospace,monospace; letter-spacing: .14em; }
.control-bands h3 { margin: 0; font-size: clamp(25px,2.6vw,41px); font-weight: 560; letter-spacing: -.055em; }
.control-bands p { margin: 0; color: #b8cbd5; font-size: 15px; }

.closing-scene { position: relative; isolation: isolate; min-height: 88svh; display: flex; align-items: center; overflow: hidden; background: #09121e; }
.closing-scene > img, .closing-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing-scene > img { z-index: 0; object-fit: cover; object-position: right center; transform: scale(1.07); }
.closing-shade { z-index: 1; background: rgba(3,10,18,.66); }
.closing-content { position: relative; z-index: 2; padding-top: 100px; padding-bottom: 100px; }
.closing-content h2 { margin: 0; font-size: clamp(64px,7.4vw,118px); letter-spacing: -.08em; line-height: 1.08; }
.closing-content > p:not(.eyebrow) { max-width: 540px; margin: 35px 0; color: #d6e1e5; font-size: 18px; }
.site-footer { background: #060d15; }
.footer-inner { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-inner p { margin: 0; color: #a7bac6; }
.footer-inner > span { color: #829daa; font-size: 13px; }

@keyframes scene-scan { from { transform: translateY(0); } to { transform: translateY(100svh); } }
@keyframes cursor { 50% { opacity: 0; } }
@keyframes route { from { transform: translateX(0); } to { transform: translateX(235%); } }

@media (max-width: 1100px) {
  .page-width { width: min(100% - 70px,1480px); }
  .site-header { padding-inline: 35px; }
  .hero-copy h1 { font-size: clamp(58px,8vw,98px); }
  .mission-layout { grid-template-columns: minmax(0,1fr) minmax(380px,.95fr); gap: 3vw; }
  .mission-copy h2 { font-size: 64px; }
  .scene-text h2 { font-size: clamp(60px,7.5vw,90px); }
  .workflow-board { width: 45%; }
}
@media (max-width: 1050px) {
  .office-digital-twin { display: none !important; }
  .handoff-stage.has-3d .handoff-graph { display: grid; }
  .handoff-graph { height: auto; display: grid; gap: 17px; padding: 24px; }
  .handoff-graph::before { content: ""; position: absolute; left: 50%; top: 30px; bottom: 30px; width: 1px; background: linear-gradient(#78c5d8,#a3bad2,#78c5d8); }
  .handoff-lines { display: none; }
  .handoff-node, .handoff-source, .handoff-core, .handoff-review, .handoff-result { position: relative; left: auto; top: auto; width: 100%; min-height: 80px; }
  .handoff-core { height: 80px; flex-direction: row; justify-content: flex-start; gap: 19px; border-radius: 0; padding: 12px 18px; }
  .handoff-core-mark { font-size: 38px; }
  .handoff-core small { font-size: 11px; }
  .handoff-lanes { position: relative; left: auto; top: auto; width: 100%; display: grid; gap: 10px; padding-left: 22px; }
  .handoff-lane { min-height: 70px; }
}
@media (max-width: 900px) {
  .page-width { width: min(100% - 48px,1480px); }
  .site-header { height: 72px; padding-inline: 24px; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.55); background: rgba(4,12,20,.6); color: #fff; }
  .menu-toggle span { width: 20px; height: 1px; background: currentColor; transition: transform .3s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 20px 24px 30px; border-bottom: 1px solid #536b7b; background: #08121d; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid rgba(216,237,246,.2); }
  .site-nav a:not(.nav-status)::after { display: none; }
  .nav-status { margin-top: 18px; padding-inline: 14px !important; }
  .chapter-rail { display: none; }
  .mission-sequence { height: auto; }
  .mission-sticky { position: relative; height: auto; min-height: 980px; }
  .mission-inner { padding-top: 110px; padding-bottom: 50px; }
  .mission-layout { grid-template-columns: 1fr; gap: 65px; padding: 80px 0; }
  .mission-copy h2 { font-size: clamp(55px,8vw,80px); }
  .mission-terminal { max-width: 620px; }
  .agent-scene { height: auto; min-height: 100svh; }
  .scene-frame { position: relative; height: auto; min-height: 100svh; }
  .scene-inner { min-height: 100svh; height: auto; padding-bottom: 90px; }
  .scene-text, .scene-content .scene-text { position: relative; top: auto; left: auto; right: auto; width: min(100%, 700px); margin: 80px 0 45px; text-align: left; }
  .scene-text h2 { font-size: clamp(57px,8vw,78px); }
  .scene-content .scene-intro { margin-left: 0; }
  .workflow-board, .scene-content .workflow-board { position: relative; top: auto; left: auto; right: auto; width: min(100%, 680px); margin: 0 0 0 auto; }
  .scene-content .workflow-board { margin: 0 auto 0 0; }
  .result-heading { grid-template-columns: 1fr; gap: 25px; }
  .result-copy h2 { max-width: 800px; }
  .result-context p { max-width: 600px; }
  .control-bands article { grid-template-columns: 90px 1fr; gap: 15px; padding: 22px 0; }
  .control-bands p { grid-column: 2; }
}
@media (max-width: 600px) {
  .page-width { width: min(100% - 36px,1480px); }
  .site-header { padding-inline: 18px; height: 64px; }
  .site-nav { top: 64px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; }
  .film-hero { min-height: 100svh; }
  .hero-film { object-position: 66% center; }
  .hero-veil { background: rgba(2,7,13,.50); }
  .hero-copy { padding-top: 145px; padding-bottom: 150px; }
  .micro-label { font-size: 9px; gap: 8px; letter-spacing: .1em; margin-bottom: 25px; }
  .micro-line { width: 18px; }
  .hero-copy h1 { font-size: clamp(43px,11vw,63px); letter-spacing: -.08em; line-height: 1.15; }
  .hero-lead { max-width: 320px; margin: 23px 0 27px; font-size: 15px; }
  .hero-enter { min-height: 54px; gap: 34px; font-size: 14px; }
  .hero-footer { min-height: 72px; font-size: 9px; letter-spacing: .06em; }
  .hero-footer .film-meta { display: none; }
  .hero-footer > span:last-child { white-space: nowrap; }
  .hero-footer b { margin-left: 3px; }
  .section-index { font-size: 9px; letter-spacing: .08em; }
  .mission-sticky { min-height: 890px; }
  .mission-inner { padding-top: 88px; }
  .mission-layout { padding: 70px 0 30px; gap: 48px; }
  .mission-copy h2 { font-size: clamp(42px,10vw,58px); }
  .mission-copy > p:last-child { font-size: 15px; }
  .mission-terminal { padding: 18px; }
  .terminal-command { min-height: 95px; font-size: 27px; }
  .terminal-routing { margin-top: 30px; }
  .scene-inner { min-height: 0; padding-top: 88px; padding-bottom: 85px; }
  .scene-background { object-position: 67% center; }
  .scene-shade, .scene-research .scene-shade, .scene-content .scene-shade { background: rgba(3,9,16,.62); }
  .scene-text, .scene-content .scene-text { margin-top: 75px; }
  .scene-text h2 { font-size: clamp(47px,11vw,64px); line-height: 1.12; }
  .scene-intro { max-width: 330px; margin: 20px 0; font-size: 15px; }
  .workflow-board, .scene-content .workflow-board { margin-inline: 0; }
  .workflow-top { font-size: 8px; padding: 10px 12px; }
  .workflow-identity { padding: 13px; gap: 11px; }
  .workflow-identity img { width: 46px; height: 46px; }
  .workflow-identity strong { font-size: 17px; }
  .workflow-identity small, .workflow-identity > span { font-size: 9px; }
  .workflow-steps { margin-inline: 13px; }
  .workflow-step { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .workflow-step small { grid-row: auto; }
  .workflow-step strong { font-size: 16px; }
  .workflow-step span { font-size: 13px; }
  .workflow-foot { padding: 12px 13px; font-size: 12px; }
  .scene-marker { right: auto; left: 0; bottom: 33px; font-size: 9px; }
  .convergence { min-height: 100svh; }
  .convergence-inner { padding-top: 100px; padding-bottom: 100px; }
  .convergence .section-index { margin-bottom: 54px; }
  .convergence h2 { font-size: clamp(43px,10vw,57px); }
  .convergence > .convergence-inner > p { font-size: 15px; }
  .handoff-stage { margin-top: 48px; }
  .handoff-stage-top, .handoff-stage-bottom { padding: 0 12px; font-size: 8px; letter-spacing: .04em; }
  .handoff-stage-bottom span:first-child { display: none; }
  .handoff-graph { gap: 12px; padding: 16px; }
  .handoff-node strong { font-size: 18px; }
  .handoff-lanes { padding-left: 14px; }
  .result-inner { padding-top: 90px; padding-bottom: 100px; }
  .result-heading { padding-top: 80px; }
  .result-copy h2 { font-size: clamp(45px,10vw,58px); }
  .result-context p { font-size: 16px; }
  .result-report { margin-top: 42px; }
  .report-top { flex-direction: column; gap: 2px; padding: 12px 17px; font-size: 10px; }
  .report-step { grid-template-columns: 1fr 22px; gap: 4px 8px; min-height: 128px; padding: 18px 17px; }
  .report-label { grid-column: 1; font-size: 12px; }
  .report-step > div { grid-column: 1; }
  .report-step strong { font-size: 19px; }
  .report-conclusion strong { font-size: 23px; }
  .report-step p { font-size: 13px; }
  .report-mark { grid-column: 2; grid-row: 1 / 3; font-size: 18px; }
  .report-disclaimer { padding: 13px 17px; font-size: 12px; }
  .control-scene { padding: 90px 0 110px; }
  .control-scene .section-index { margin-bottom: 90px; }
  .control-scene h2 { margin-bottom: 60px; font-size: clamp(48px,11vw,65px); }
  .control-bands article { grid-template-columns: 1fr; gap: 4px; min-height: 120px; }
  .control-bands p { grid-column: 1; }
  .control-bands h3 { font-size: 29px; }
  .closing-scene { min-height: 760px; }
  .closing-content h2 { font-size: clamp(49px,11vw,66px); }
  .closing-content > p:not(.eyebrow) { font-size: 16px; }
  .footer-inner { flex-wrap: wrap; min-height: 175px; padding-block: 35px; }
}
@media (prefers-reduced-motion: reduce) {
  .role-motion, .role-motion * { animation: none !important; }
  .office-digital-twin { display: none !important; }
  .handoff-stage.has-3d .handoff-graph { display: block; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .mission-terminal, .scene-text, .workflow-board, .workflow-step, .convergence h2, .handoff-stage, .handoff-node, .result-report, .report-step, .control-bands article { opacity: 1 !important; transform: none !important; }
  .handoff-lines path { stroke-dashoffset: 0 !important; }
}

:root:not(.has-motion) .mission-terminal, :root:not(.has-motion) .scene-text, :root:not(.has-motion) .workflow-board, :root:not(.has-motion) .workflow-step, :root:not(.has-motion) .convergence h2, :root:not(.has-motion) .handoff-stage, :root:not(.has-motion) .handoff-node, :root:not(.has-motion) .result-report, :root:not(.has-motion) .report-step, :root:not(.has-motion) .control-bands article { opacity: 1; transform: none; }
:root:not(.has-motion) .handoff-lines path { stroke-dashoffset: 0; }

@media (max-width: 900px) {
  .demo-inner { padding-top: 100px; padding-bottom: 100px; }
  .demo-heading { grid-template-columns: 1fr; gap: 22px; margin-top: 55px; }
  .demo-heading > p { max-width: 650px; }
  .demo-shell { grid-template-columns: 1fr; margin-top: 42px; }
  .demo-input { border-right: 0; border-bottom: 1px solid rgba(175,222,235,.26); }
  .demo-follow { grid-template-columns: 1fr 40px; gap: 8px 14px; }
  .demo-follow > span:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .demo-inner { padding-top: 88px; padding-bottom: 80px; }
  .demo-heading { gap: 14px; margin-top: 32px; }
  .demo-heading h2 { font-size: clamp(40px,9.8vw,52px); }
  .demo-heading > p { font-size: 15px; }
  .demo-shell { margin-top: 28px; }
  .demo-input, .demo-console { padding: 16px; }
  .demo-console { scroll-margin-top: 70px; }
  .demo-panel-top, .demo-console-top { font-size: 11px; letter-spacing: .04em; }
  .demo-question { margin: 18px 0 10px; font-size: 17px; }
  .demo-options { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .demo-options button { min-height: 56px; padding: 9px; font-size: 13px; }
  .demo-input blockquote { margin: 18px 0 6px; font-size: 24px; }
  .demo-boundaries { gap: 5px; margin: 6px 0 16px; }
  .demo-start { min-height: 52px; }
  .demo-local-note { margin-top: 12px; }
  .demo-active-goal { display: block; margin: 12px 0 0; color: #d7edf2; font-size: 13px; line-height: 1.4; }
  .demo-steps { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; margin: 12px 0; }
  .demo-steps button { min-height: 62px; gap: 3px; padding: 6px 3px; text-align: center; }
  .demo-steps button strong { font-size: 12px; line-height: 1.2; white-space: normal; word-break: keep-all; }
  .demo-artifact { min-height: 0; padding: 17px; }
  .demo-artifact-head { font-size: 11px; letter-spacing: .04em; }
  .demo-artifact h3 { margin-top: 17px; font-size: 23px; }
  .demo-artifact > p:not(.demo-artifact-note) { min-height: 0; font-size: 14px; }
  .demo-output-pair { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: 17px; }
  .demo-output-pair > div { min-height: 88px; padding: 10px; }
  .demo-output-pair span { font-size: 11px; }
  .demo-output-pair strong { font-size: 14px; }
  .demo-artifact-note { font-size: 12px; line-height: 1.5; }
  .demo-console-bottom > span { display: none; }
  .demo-console-bottom button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; border: 1px solid rgba(177,222,234,.35); padding: 0 14px; background: rgba(41,90,109,.24); text-align: left; }
  .demo-follow { min-height: 106px; padding: 18px; }
  .demo-follow strong { font-size: 22px; }
  .demo-disclaimer { font-size: 12px; line-height: 1.6; }
}

/* The film is optional: the first paint is a responsive office poster and a live routing drawing. */
.hero-poster { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-poster img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-film { opacity: 0; transition: opacity .85s cubic-bezier(.2,.8,.2,1); }
.film-hero.has-film .hero-film { opacity: 1; }
.hero-routing { position: absolute; z-index: 2; right: 4.5vw; top: 17%; width: min(36vw, 520px); border: 1px solid rgba(200,237,247,.36); background: rgba(3,12,22,.56); color: #def8ff; pointer-events: none; transform: perspective(950px) rotateY(-12deg); transform-origin: right center; box-shadow: 0 28px 100px rgba(0,5,14,.22); animation: routing-arrive 1.4s cubic-bezier(.18,.7,.2,1) both; }
.hero-routing-top, .hero-routing-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; font: 10px "IBM Plex Mono",ui-monospace,monospace; letter-spacing: .14em; }
.hero-routing-top { border-bottom: 1px solid rgba(200,237,247,.22); }
.hero-routing-top i { width: 7px; height: 7px; border-radius: 50%; background: #b4edf5; box-shadow: 0 0 14px #82ddeb; animation: routing-beacon 2.4s ease-in-out infinite; }
.hero-routing-bottom { border-top: 1px solid rgba(200,237,247,.22); color: #afcbd7; font-size: 8px; }
.hero-routing svg { display: block; width: 100%; overflow: visible; }
.route-line, .route-packet { fill: none; stroke-width: 1.4; }
.route-line { stroke: rgba(177,229,242,.34); }
.route-packet { stroke: #bceef6; stroke-width: 2; stroke-dasharray: 6 45; animation: routing-flow 2.4s linear infinite; }
.route-delay-one { animation-delay: -.8s; }
.route-delay-two { animation-delay: -1.6s; }
.routing-ring { fill: none; stroke: rgba(194,238,247,.65); stroke-width: 1.5; animation: routing-beacon 3s ease-in-out infinite; }
.routing-core { fill: rgba(18,54,70,.92); stroke: #bceef6; stroke-width: 1.5; }
.routing-mark { filter: drop-shadow(0 0 7px rgba(255,123,0,.35)); }
.routing-end { fill: #bceef6; animation: routing-beacon 2.4s ease-in-out infinite; }
.routing-label { fill: #e4f8fc; font: 10px "IBM Plex Mono",ui-monospace,monospace; letter-spacing: .06em; }
@keyframes routing-arrive { from { opacity: 0; transform: perspective(950px) rotateY(-22deg) translateY(30px); } to { opacity: 1; transform: perspective(950px) rotateY(-12deg) translateY(0); } }
@keyframes routing-flow { to { stroke-dashoffset: -102; } }
@keyframes routing-beacon { 50% { opacity: .43; } }
@media (max-width: 900px) {
  .hero-routing { top: 11%; right: 20px; width: min(42vw, 320px); }
  .hero-routing-top, .hero-routing-bottom { padding: 8px 10px; font-size: 7px; }
  .hero-routing-bottom { font-size: 6px; }
  .scene-background { will-change: auto; }
}
@media (max-width: 600px) {
  .hero-poster img, .hero-film { object-position: center; }
  .hero-routing { top: 100px; right: 14px; width: 235px; background: rgba(3,12,22,.34); opacity: .86; }
  .hero-routing svg { height: 145px; }
  .hero-routing-top, .hero-routing-bottom { padding: 7px 10px; }
}

/* One signal travels through the film, mission, agent work, and final report. */
.site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: linear-gradient(90deg,#64bacd,#bff6f3); transform: scaleX(var(--story-progress,0)); transform-origin: left; box-shadow: 0 0 16px rgba(112,220,235,.75); pointer-events: none; }
.site-header::before { content: ""; position: absolute; left: var(--story-position,0%); bottom: -3px; width: 6px; height: 6px; border-radius: 50%; background: #d7ffff; box-shadow: 0 0 18px #8ceaf0; pointer-events: none; }
.mission-sticky::after, .demo-lab::after, .scene-frame::after, .convergence::after, .result-scene::after, .control-scene::after { content: ""; position: absolute; z-index: 5; inset: auto 0 0; height: 2px; background: linear-gradient(90deg,#62b6ca,#b9f2f0 70%,transparent); transform: scaleX(var(--chapter-progress,0)); transform-origin: left; box-shadow: 0 0 17px rgba(132,227,238,.58); pointer-events: none; }
.result-scene, .control-scene { position: relative; }
.workflow-step.is-current { background: linear-gradient(90deg,rgba(120,216,233,.14),transparent 80%); box-shadow: inset 2px 0 #a8e9f1; }
.report-step.is-current { background: #f0f8fa; box-shadow: inset 3px 0 #67bbce; }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .site-header::before, .site-header::after, .mission-sticky::after, .demo-lab::after, .scene-frame::after, .convergence::after, .result-scene::after, .control-scene::after { display: none; }
  .workflow-step.is-current, .report-step.is-current { background: none; box-shadow: none; }
}

@media (max-width: 600px) {
  .micro-label, .section-index, .scene-marker { font-size: 11px; letter-spacing: .04em; }
  .hero-footer { font-size: 10px; }
  .workflow-top, .workflow-identity small, .workflow-identity > span { font-size: 11px; letter-spacing: .02em; }
  .workflow-foot { font-size: 13px; }
  .handoff-stage-top, .handoff-stage-bottom { flex-wrap: wrap; min-height: 0; padding: 9px 12px; color: #d2e7ee; font-size: 10px; line-height: 1.45; letter-spacing: .02em; }
  .handoff-node small { font-size: 11px; }
  .handoff-node > span:not(.handoff-core-mark) { color: #c5d7df; font-size: 12px; }
  .report-top { font-size: 12px; }
  .report-label { font-size: 14px; }
  .report-step p { color: #3e5865; font-size: 15px; }
  .report-disclaimer { font-size: 13px; }
  .demo-panel-top, .demo-console-top, .demo-artifact-head { color: #c4e3eb; font-size: 11px; }
  .demo-options button { font-size: 14px; }
  .demo-disclaimer { color: #c1d3dc; font-size: 12px; }
  .hero-lines::after { display: none; }
  .route-packet, .routing-ring, .routing-end, .hero-routing-top i, .cursor, .routing-track i { animation: none; }
  .mission-terminal, .scene-text, .workflow-board, .workflow-step, .handoff-stage, .handoff-node, .result-report, .report-step, .control-bands article { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* A single goal opens the office: a brief, non-interactive N-shaped aperture. */
.hero-intro { position: absolute; z-index: 2; inset: 0; overflow: hidden; pointer-events: none; animation: hero-intro-exit .25s 2.4s both; }
.hero-intro-aperture, .hero-intro-routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-intro-aperture { z-index: 0; animation: hero-intro-aperture-clear .62s 1.12s ease-out both; }
.hero-intro-glyph { font: 800 520px Arial, sans-serif; }
.hero-intro-outline { filter: drop-shadow(0 0 6px rgba(115,226,241,.75)); }
.hero-intro-routes { z-index: 1; fill: none; stroke: #a4eaf2; stroke-width: 1.3; animation: hero-intro-route-exit .25s 1.62s both; }
.hero-intro-routes path { stroke-dasharray: 520; stroke-dashoffset: 520; animation: hero-intro-route 1s .25s cubic-bezier(.2,.7,.2,1) both; }
.hero-intro-routes path:nth-child(2) { animation-delay: .42s; }
.hero-intro-routes path:nth-child(3) { animation-delay: .59s; }
.hero-intro-routes circle { fill: #a4eaf2; stroke: none; filter: drop-shadow(0 0 7px #6dd9e9); opacity: 0; animation: hero-intro-node .3s .95s both; }
.hero-intro-routes circle:nth-last-child(2) { animation-delay: 1.12s; }
.hero-intro-routes circle:last-child { animation-delay: 1.29s; }
.hero-intro-index, .hero-intro-role, .hero-intro-outro { position: absolute; z-index: 2; color: #d7f1f6; font: 11px "IBM Plex Mono",ui-monospace,monospace; letter-spacing: .17em; text-shadow: 0 0 16px rgba(99,210,230,.4); }
.hero-intro-index { top: 15%; left: 4.5vw; animation: hero-intro-label 1.7s .1s both; }
.hero-intro-role { left: 82%; white-space: nowrap; animation: hero-intro-label 1.2s .7s both; }
.hero-intro-role-one { top: 19%; }
.hero-intro-role-two { top: 49%; animation-delay: .86s; }
.hero-intro-role-three { top: 79%; animation-delay: 1.02s; }
.hero-intro-outro { bottom: 8%; left: 4.5vw; display: flex; align-items: center; gap: 13px; animation: hero-intro-label 1.7s .65s both; }
.hero-intro-outro i { width: 27px; height: 1px; background: currentColor; opacity: .65; }
.film-hero .hero-copy { animation: hero-intro-copy .68s 1.87s backwards; }
.film-hero .hero-footer { animation: hero-intro-copy .55s 2.05s backwards; }
.film-hero .hero-routing { animation-delay: 1.86s; }
.film-hero:focus-within .hero-intro, html.save-data .hero-intro { display: none; }
.film-hero:focus-within .hero-copy, .film-hero:focus-within .hero-footer, html.save-data .hero-copy, html.save-data .hero-footer { animation: none; }
html.save-data .hero-routing { animation-delay: 0s; }
@keyframes hero-intro-aperture-clear { from { opacity: 1; } to { opacity: 0; } }
@keyframes hero-intro-exit { from { opacity: 1; visibility: visible; } to { opacity: 0; visibility: hidden; } }
@keyframes hero-intro-route { from { stroke-dashoffset: 520; opacity: .3; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes hero-intro-route-exit { from { opacity: 1; } to { opacity: 0; } }
@keyframes hero-intro-node { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-intro-label { 0%,20% { opacity: 0; transform: translateY(12px); } 40%,70% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes hero-intro-copy { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  .hero-intro-glyph { font-size: 400px; }
  .hero-intro-routes, .hero-intro-role { display: none; }
  .hero-intro-index { top: 13%; left: 18px; font-size: 9px; }
  .hero-intro-outro { bottom: 13%; left: 18px; gap: 7px; font-size: 8px; letter-spacing: .08em; }
  .hero-intro-outro i { width: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-intro { display: none !important; }
  .film-hero .hero-copy, .film-hero .hero-footer, .film-hero .hero-routing { animation: none !important; }
  .film-hero .hero-routing { opacity: 1; }
}
