/* Home — “Follow the Photon” */
.story { position: relative; }

.photon-rail { position: absolute; top: 100vh; bottom: 0; left: max(12px, calc((100vw - var(--max)) / 2 - 28px)); width: 2px; pointer-events: none; z-index: 1; }
.photon-rail__line { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(141 179 245 / 0.0), rgb(141 179 245 / 0.35) 8%, rgb(141 179 245 / 0.35) 92%, rgb(255 107 125 / 0)); transform-origin: top; }
.photon-rail__dot {
  position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 12px 4px var(--blue), 0 0 40px 10px rgb(141 179 245 / 0.45);
}
@media (max-width: 700px) { .photon-rail { display: none; } }
@media (prefers-reduced-motion: reduce) { .photon-rail__dot { display: none; } }

.chapter { position: relative; padding-block: var(--space-6); }
.chapter__inner { position: relative; z-index: 2; }
.chapter__split { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-5); align-items: center; }
.chapter__split--flip .chapter__text { order: 2; }
.chapter__text h2 { max-width: 16ch; }
.chapter__text--wide { max-width: 70ch; margin-bottom: var(--space-4); }
.chapter__text .stats { margin: var(--space-3) 0; padding: 0; list-style: none; }
.chapter__media { aspect-ratio: 16 / 11; }
.chapter__cards .media { aspect-ratio: 16 / 9; margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-3)) var(--space-3); border-radius: var(--radius-lg) var(--radius-lg) 0 0; border: 0; }
@media (max-width: 860px) {
  .chapter__split { grid-template-columns: 1fr; gap: var(--space-4); }
  .chapter__split--flip .chapter__text { order: 0; }
}

/* Hero */
.chapter--hero { min-height: min(100svh, 980px); display: grid; align-items: end; padding-block: var(--space-6) var(--space-5); overflow: hidden; }
.chapter__bg { position: absolute; inset: 0; z-index: 0; }
.chapter__bg img { width: 100%; height: 100%; object-fit: cover; }
.chapter--hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(11 18 48 / 0.1) 30%, var(--navy) 100%), linear-gradient(90deg, rgb(11 18 48 / 0.75), rgb(11 18 48 / 0) 60%); }
.chapter--hero h1 { max-width: 12ch; }
.chapter--hero .lede { margin-bottom: var(--space-3); }

/* Trusted */
.trusted-list { list-style: none; padding: 0; margin: var(--space-4) 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.trusted-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.trusted-list b { font-size: var(--step-1); }
.trusted-list span { color: var(--mist); }
@media (max-width: 700px) { .trusted-list li { grid-template-columns: 1fr; gap: 0.3rem; } }

/* Contact */

/* Cinematic opening: pinned stage, scroll-driven by cinema.js */
.cinema { position: relative; z-index: 2; height: 560svh; }
.cinema__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #05081a; }
.cinema__layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.cinema__layer img, video.cinema__layer { display: block; width: 100%; height: 100%; object-fit: cover; }
.cinema__vega img { will-change: transform; }
.cinema__qbox { opacity: 0; transform: scale(1.04); }
.cinema__vega-clip { opacity: 0; }
.cinema .cinema__badge { position: absolute; right: var(--gutter); bottom: 1.5rem; left: auto; z-index: 3; opacity: 0; visibility: hidden; }
.cinema__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(11 18 48 / 0) 40%, rgb(11 18 48 / 0.9) 100%), linear-gradient(90deg, rgb(11 18 48 / 0.7), rgb(11 18 48 / 0) 55%); }
.cinema__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cinema__panel { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: clamp(2.5rem, 9svh, 6rem); opacity: 0; visibility: hidden; }
.cinema__panel--hero { opacity: 1; visibility: visible; inset: 0; display: flex; align-items: center; padding: 88px 0 0; }
/* Home: the header floats over the cinema stage so the stage is exactly one screen. */
.home .site-header { position: fixed; left: 0; right: 0; }
.cinema__panel--hero h1 { max-width: 12ch; }
.cinema__panel--hero .lede { margin-bottom: var(--space-3); max-width: 46ch; }
.cinema__line { font: 600 var(--step-3)/1.08 var(--font); letter-spacing: -0.02em; max-width: 17ch; margin: 0; text-wrap: balance; }
.cinema__line em { font-style: normal; color: var(--laser); }
.cinema__line--star em { color: var(--blue); }
.cinema__panel--qbox h2 { max-width: 15ch; text-wrap: balance; }
.cinema__panel--qbox p { max-width: 46ch; }
.cinema__panel .wrap > :not(.cinema__line) { max-width: min(46rem, 100%); }
.cinema__anchor { position: absolute; left: 0; top: 66%; }
@media (min-width: 861px) { .cinema__panel:not(.cinema__panel--hero) .wrap { padding-right: 45%; } }
@media (max-width: 860px) {
  .cinema__panel--qbox p { font-size: 0.95rem; }
}

/* Without JS or with reduced motion: a normal, readable stack over the Vega image. */
.cinema:not(.is-live) { height: auto; }
.cinema:not(.is-live) .cinema__stage { position: relative; height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
.cinema:not(.is-live) .cinema__panel { position: relative; opacity: 1; visibility: visible; padding-block: var(--space-4); }
.cinema:not(.is-live) .cinema__panel--line,
.cinema:not(.is-live) .cinema__qbox,
.cinema:not(.is-live) .cinema__vega-clip,
.cinema:not(.is-live) .cinema__fx,
.cinema:not(.is-live) .cinema__badge { display: none; }

