/* A quieter frame for Nock's original luminous, orb-led story. */
:root { --ink-2: #b4bfba; --ink-3: #82958b; }
html { scroll-padding-top: 64px; }
html, body { overflow-x: clip; }
.scene-ready .stick { position: fixed; inset: 0; visibility: hidden; }
.scene-ready .stick::before { content: none !important; }
.scene-ready .mk .w { clip-path: inset(-30% -8% -30% -8%); transition: none; }
.reading-shade { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; }
.no-webgl .rail, .no-webgl .scroll-cue { display: none; }
.agent-voice-play { position: fixed; left: 0; top: 0; z-index: 7; border: 1px solid #b8d9ec30; border-radius: 30px; padding: 11px 17px; background: #071016df; color: #d3e0ed; font: 10px/1.4 'Broken Mono', monospace; letter-spacing: .035em; cursor: pointer; backdrop-filter: blur(12px); box-shadow: 0 4px 22px #0005; }
.agent-voice-play[hidden] { display: none; }
.agent-voice-play:hover, .agent-voice-play[aria-pressed="true"] { border-color: #aabff38a; color: white; background: #142334; }
button { font: inherit; }
button:focus-visible, a:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid var(--mint); outline-offset: 5px;
}
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 100; padding: 12px 18px; color: #06100c; background: var(--mint); border-radius: 20px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.dock { gap: 2px; padding: 5px; }
.dock-item { border: 0; background: none; cursor: pointer; }
.dock-item[aria-current="location"] { color: var(--mint); background: #9fe3c310; }
.dock-try { color: #d5ffeb; gap: 14px; background: #9fe3c316; border: 1px solid #b8f8da55; box-shadow: 0 0 18px #8fe3be38, 0 0 38px #74cba725, inset 0 0 12px #b9f5d810; text-shadow: 0 0 12px #acffd180; }
.dock-try:hover, .dock-try:focus-visible { background: #9fe3c327; box-shadow: 0 0 22px #8fe3be59, 0 0 48px #74cba733; }
.notch { pointer-events: auto; cursor: pointer; }
.notch::before { content: ''; position: absolute; inset: -12px -35px -24px; border-radius: 0 0 50% 50%; background: radial-gradient(ellipse at 50% 42%, #b4ffdc70 0%, #72dfb13b 36%, #839aed18 59%, transparent 74%); filter: blur(16px); pointer-events: none; }
.notch:focus-visible { border-radius: 0 0 18px 18px; }
.copy { max-width: min(44vw, 490px); }
h2.mk { font-size: clamp(38px, 4.1vw, 60px); line-height: 1.1; text-wrap: balance; margin-bottom: 27px; }
#worker h2.mk { font-size: clamp(36px, 3.5vw, 54px); }
.lede { font-size: clamp(14px, 1.05vw, 16px); line-height: 1.85; max-width: 43ch; }
.kicker { color: #9aaba2; margin-bottom: 24px; font-size: 10px; letter-spacing: .19em; }
.says { margin-top: 28px; }
.says li { gap: 10px; padding: 13px 0; border-bottom: 1px solid #c2e4d011; font-size: 12px; line-height: 1.6; }
.says span { font-size: 9px; letter-spacing: .1em; }
.holdkey { margin-top: 26px; gap: 16px; }
.holdkey .cap { width: 94px; height: 48px; }
.holdkey .label { font-size: 11px; max-width: 230px; line-height: 1.8; }
.holdkey .label b { font-size: 12px; }
.task-choice { display: inline-flex; padding: 4px; margin-top: 27px; gap: 4px; border: 1px solid #c2e4d022; border-radius: 999px; background: #08120ed9; }
.task-choice button { padding: 11px 17px; border: 0; border-radius: 999px; cursor: pointer; background: transparent; color: #a0b1a8; font-size: 11px; transition: color .2s, background .2s; }
.task-choice button:hover { color: #f7f2e6; }
.task-choice button[aria-pressed="true"] { background: #bde9d5; color: #091910; box-shadow: inset 0 1px #ffffff60; }
.task-choice button span { margin-left: 8px; }
.task-summary { margin-top: 25px; max-width: 40ch; min-height: 106px; }
.task-summary p { margin: 0; font-size: 12px; line-height: 1.8; }
#task-prompt { color: #e1ede6; }
#task-explanation { margin-top: 9px; color: #92a99c; font-size: 11px; }
.task-note { margin: 16px 0 0; color: #82958b; font-size: 9px; letter-spacing: .04em; }
.paper-hint { margin-top: 15px; font-size: 9px; }
.app-labels { display: flex; gap: 21px; margin-top: 28px; padding-top: 21px; border-top: 1px solid #c2e4d01c; max-width: 330px; color: #dce9e1; font-size: 12px; }
.app-labels span::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; margin-right: 8px; vertical-align: 2px; background: #a9d5bf; }
.sphere-hint { font-size: 9px; line-height: 1.8; }
.desktop-note { color: #8faaa0; font-size: 10px; line-height: 1.8; margin: 0; }
.finale-foot { gap: 17px; }
.finale .lede { line-height: 1.7; }
.legal { font-size: 9px; }
.sound { top: 76px; }
.films-link { color: var(--mint); font-size: 11px; text-decoration: none; padding: 7px 12px; }
.films-link span { margin-left: 15px; }
.video-stories { position: relative; z-index: 8; background: #050908; padding: 150px var(--gutter) 45px; min-height: 100svh; border-top: 1px solid #9fe3c316; }
.films-origin { height: 0; pointer-events: none; }
.films-underlay .video-stories {
  z-index: 1; animation: nock-gallery-reveal 1s linear both;
  animation-timeline: scroll(root block);
  animation-range: var(--films-start) var(--films-end);
  will-change: transform;
}
@keyframes nock-gallery-reveal {
  from { transform: translate3d(0, calc(-1 * var(--films-height)), 0); clip-path: inset(var(--films-height) 0 0); }
  to { transform: translate3d(0, 0, 0); clip-path: inset(0); }
}
@keyframes nock-foreground-lift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, calc(-1 * var(--films-height)), 0); }
}
.films-underlay .scene { z-index: 2; }
.films-underlay #gl, .films-underlay .fallback-orb, .films-underlay .reading-shade,
.films-underlay.scene-ready .stick {
  animation: nock-foreground-lift 1s linear both;
  animation-timeline: scroll(root block);
  animation-range: var(--films-start) var(--films-end);
  will-change: transform;
}
.films-revealing .rail, .films-revealing .scroll-cue { visibility: hidden; }
.films-heading, .film-grid, .films-footer { max-width: 1376px; margin-inline: auto; }
.films-heading { margin-bottom: 58px; }
.films-heading h2 { font: clamp(38px, 4.6vw, 68px)/1.09 var(--marker); letter-spacing: -.025em; margin: 0 0 22px; }
.films-heading em { color: var(--mint); font-style: normal; }
.films-heading > p:last-child { color: #a2b5aa; font-size: 13px; line-height: 1.8; }
.film-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.film-card { min-width: 0; }
.film-cover { position: relative; aspect-ratio: 4 / 3; border: 1px solid #bfe1cf24; overflow: hidden; border-radius: 18px; background: radial-gradient(ellipse at 60% 20%, #254e4155, transparent 72%), #0b1210; }
.film-cover-build { background: radial-gradient(ellipse at 65% 12%, #42366366, transparent 74%), #101017; }
.film-cover-apps { background: radial-gradient(ellipse at 60% 20%, #23425177, transparent 72%), #090f13; }
.film-number { position: absolute; left: 22px; top: 21px; color: #b4c2ba; font-size: 9px; letter-spacing: .14em; }
.film-cover-line { position: absolute; left: 22px; bottom: 51px; font: clamp(25px, 2.5vw, 38px)/1.1 var(--marker); color: #f3f1e8; }
.film-cover-line em { font-style: normal; color: #a9dac2; }
.film-cover-build .film-cover-line em { color: #c0b6ed; }
.film-cover-apps .film-cover-line em { color: #a1cedf; }
.film-state { position: absolute; left: 22px; bottom: 22px; color: #90a298; font-size: 9px; }
.film-notch { position: absolute; top: 17%; left: 22%; right: 12%; height: 24%; border: 1px solid #a3ddc334; border-top: 0; border-radius: 0 0 22px 22px; background: #000d; display: flex; align-items: center; justify-content: center; gap: 16px; box-shadow: 0 13px 36px #a1efca12; transform: rotate(-5deg); }
.film-drop { width: 37px; height: 45px; display: block; background-size: contain; background-position: center; background-repeat: no-repeat; filter: drop-shadow(0 0 10px #a4e5c960); }
.film-wave { display: flex; align-items: center; gap: 4px; height: 30px; }
.film-wave i { width: 3px; height: 10px; border-radius: 5px; background: #b8e9d1; }
.film-wave i:nth-child(3n) { height: 25px; }
.film-wave i:nth-child(3n + 1) { height: 18px; }
.film-window { position: absolute; top: 17%; right: 16%; width: 48%; height: 34%; border: 1px solid #c4bbdf35; border-radius: 8px; background: #171723; transform: rotate(8deg); padding: 11px; box-shadow: 0 8px 30px #0005; }
.film-window > span { display: block; font-size: 6px; color: #a297c1; letter-spacing: .08em; }
.film-window b { position: absolute; right: 12px; top: 23px; font: 30px/1 monospace; color: #c8b9ef; }
.film-window i { display: block; margin-top: 10px; height: 3px; background: #b5a1e759; width: 35%; border-radius: 3px; }
.film-window i:last-child { width: 52%; }
.film-orbit { position: absolute; top: 12%; right: 15%; width: 42%; aspect-ratio: 1; border: 1px solid #afd7eb20; border-radius: 50%; transform: rotate(-12deg); }
.film-orbit > span:not(.film-drop) { position: absolute; width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; font-size: 8px; color: #d3e9f1; border: 1px solid #afcce95c; background: radial-gradient(circle at 25% 15%, #a8cfd267, #10252c 56%); box-shadow: 0 0 19px #9abdd615; }
.film-orbit > span:nth-child(1) { top: -12px; left: 12px; }
.film-orbit > span:nth-child(2) { right: -15px; top: 32%; }
.film-orbit > span:nth-child(3) { left: -8px; bottom: -6px; }
.film-orbit .film-drop { position: absolute; left: 36%; top: 29%; transform: rotate(12deg); }
.film-card h3 { margin: 23px 0 11px; color: #e5ebe6; font-size: 14px; line-height: 1.5; font-weight: 400; }
.film-card > p { margin: 0; color: #96a89d; font-size: 11px; line-height: 1.9; max-width: 34ch; }
.films-footer { display: flex; justify-content: space-between; gap: 24px; padding-top: 70px; margin-top: 60px; border-top: 1px solid #c2e4d017; }
.films-footer a, .films-footer button { background: none; border: 0; padding: 8px 0; color: #b3cbbb; font-size: 11px; text-decoration: none; cursor: pointer; }
.reading-films .rail, .reading-films .scroll-cue, .reading-films .sound { visibility: hidden; }
.reading-films .stick { visibility: hidden !important; }
.film-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; color: #05100b; }
.film-play > span { position: absolute; bottom: 20px; right: 20px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #d3f4e2; }
.film-play:hover > span { background: white; }
.film-player { width: min(1000px, 94vw); max-height: 92svh; margin: auto; padding: 20px; border-radius: 16px; border: 1px solid #bde9d534; background: #080e0c; color: #e7f0eb; }
.film-player::backdrop { background: #000c; backdrop-filter: blur(16px); }
.film-player-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.film-player h2 { font: 13px/1.6 var(--mono); margin: 0; }
.film-player button { color: #c2decf; background: none; border: 0; padding: 10px; font-size: 11px; cursor: pointer; }
.film-player video { display: block; width: 100%; max-height: 72svh; aspect-ratio: 16/9; background: #000; border-radius: 8px; }
.film-error { color: #d0c4b2; font-size: 12px; line-height: 1.7; }
@media (max-width: 720px) {
  .video-stories { padding-top: 130px; }
  .film-grid { grid-template-columns: 1fr; gap: 35px; }
  .films-heading { margin-bottom: 35px; }
  .film-cover { aspect-ratio: 16/10; }
  .film-cover-line { font-size: 32px; }
  .film-card h3 { margin-top: 17px; }
  .film-card > p { max-width: 39ch; }
  .films-footer { padding-top: 30px; margin-top: 45px; }
}
.no-webgl .task-summary { min-height: 0; }
@media (max-width: 1360px) {
  .dock-item[href="#talk"], .dock-item[href="#worker"], .dock-item[href="#connect"] { display: none; }
}
@media (min-width: 1400px) { .copy { max-width: 530px; } .says li { font-size: 13px; } }
@media (max-width: 860px), (max-aspect-ratio: 5/6) {
  .reading-shade { opacity: 1; background: linear-gradient(transparent 34%, rgba(5,7,8,.28) 53%, rgba(5,7,8,.78) 84%, rgba(5,7,8,.88)); }
  .copy { max-width: 520px; }
  .stick { padding-bottom: 8svh; }
  h2.mk { font-size: clamp(31px, 7.8vw, 43px); margin-bottom: 18px; }
  #worker h2.mk { font-size: clamp(29px, 7.6vw, 40px); }
  .lede { font-size: 13px; line-height: 1.75; }
  .kicker { margin-bottom: 14px; font-size: 9px; }
  .says { margin-top: 17px; }
  .says li { padding: 9px 0; font-size: 11px; }
  .task-choice { margin-top: 18px; }
  .task-choice button { padding: 10px 13px; font-size: 10px; }
  .task-summary { margin-top: 17px; min-height: 89px; }
  .task-summary p { font-size: 11px; }
  #task-explanation { font-size: 10px; }
  .task-note { margin-top: 9px; }
  .paper-hint { display: none !important; }
  .app-labels { margin-top: 20px; padding-top: 17px; font-size: 11px; }
  .sphere-hint { margin-top: 16px; }
  .hero-foot { gap: 16px; bottom: 5svh; }
  .hero-sub { font-size: 12px; max-width: 42ch; }
  .hero-cta .actions { gap: 8px; }
  .hero-cta .btn { padding: 0 16px; font-size: 11px; height: 42px; }
  .hint { font-size: 10px; margin-top: 12px; }
  .linklike { font-size: 10px; }
  .hero-tag { font-size: 10px; }
  .finale .panel.finale-copy { padding-top: 14svh; padding-bottom: 6svh; }
  .finale .lede { font-size: 12px; }
  .finale .btn { font-size: 11px; padding: 0 17px; }
}
@media (max-width: 720px) {
  .agent-voice-play { font-size: 9px; padding: 8px 11px; }
  .dock-item { font-size: 10px; padding: 0 10px; height: 32px; }
  .dock-try { gap: 8px; }
  .bar { padding-top: 37px; }
  .sound { top: 84px; bottom: auto; right: var(--gutter); height: 28px; }
  .brand { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue i { animation: none; }
}
