:root {
  --cin-night: #030914;
  --cin-navy: #0c2340;
  --cin-deep: #081830;
  --cin-blue: #6cace4;
  --cin-blue-white: #dff3ff;
  --cin-gold: #b8892b;
  --cin-champagne: #d5ad63;
  --cin-champagne-white: #f6dc9a;
  --cin-silver: #d1d1ce;
  --cin-paper: #f2f1ed;
  --cin-progress: 0;
  --ai-reveal: 0;
  --ai-ignition: 0;
  --human-reveal: 0;
  --human-lift: 0;
  --gate-open: 0;
  --checkpoint-flare: 0;
  --diagram-resolve: 0;
}

.loop-home {
  background: var(--cin-night);
}

.cinematic-hero {
  position: relative;
  height: 520svh;
  color: #fff;
  background: var(--cin-night);
}

.cinematic-checkpoint {
  position: absolute;
  top: var(--checkpoint);
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.cinematic-pin {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 64% 48%, rgba(45, 88, 132, .17), transparent 40%),
    var(--cin-night);
}

.cinematic-atmosphere,
.cinematic-field,
.cinematic-grain,
.cinematic-vignette,
.cinematic-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cinematic-atmosphere {
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.cinematic-field {
  z-index: 1;
  inset: -6%;
  width: auto;
  height: auto;
  opacity: .72;
  transform: translate3d(-12px, 8px, 0) scale(1.025);
  transform-origin: 50% 48%;
  will-change: transform, opacity;
}

.cinematic-field::before,
.cinematic-field::after {
  content: "";
  position: absolute;
  inset: -8%;
  pointer-events: none;
}

.cinematic-field::before {
  background:
    radial-gradient(circle at 21% 52%, rgba(108, 172, 228, .2), transparent 25%),
    radial-gradient(circle at 53% 43%, rgba(32, 73, 116, .16), transparent 42%);
}

.cinematic-field::after {
  opacity: calc(.12 + var(--human-reveal) * .88);
  background:
    radial-gradient(circle at 84% 52%, rgba(213, 173, 99, .18), transparent 24%),
    radial-gradient(circle at 73% 48%, rgba(209, 209, 206, .08), transparent 33%);
}

.cinematic-field svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.field-flow,
.field-contours,
.field-fibres {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.field-flow {
  stroke: rgba(108, 172, 228, .23);
  stroke-width: 1.15;
}

.field-flow path:nth-child(2) {
  opacity: .72;
}

.field-flow path:nth-child(3) {
  opacity: .46;
}

.field-flow path:nth-child(4) {
  opacity: .58;
}

.field-contours {
  stroke-width: .9;
  stroke-dasharray: 1.5 8;
}

.field-contours--ai {
  stroke: rgba(108, 172, 228, .27);
}

.field-contours--human {
  stroke: rgba(213, 173, 99, .3);
  opacity: calc(.24 + var(--human-reveal) * .76);
}

.field-fibres {
  stroke: rgba(209, 209, 206, .09);
  stroke-width: .75;
  stroke-dasharray: 18 26;
}

.cinematic-grain {
  z-index: 2;
  opacity: .095;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  background-size: 210px 210px;
}

.cinematic-vignette {
  z-index: 3;
  box-shadow:
    inset 0 0 16vw 3vw rgba(0, 3, 9, .72),
    inset 0 -15vh 22vh rgba(0, 3, 9, .46);
}

.cinematic-grid {
  z-index: 0;
  opacity: calc(.13 * (1 - var(--cin-progress) * .62));
  background-image:
    linear-gradient(rgba(108, 172, 228, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 172, 228, .055) 1px, transparent 1px);
  background-size: 104px 104px;
  -webkit-mask-image: radial-gradient(circle at 60% 52%, #000, transparent 68%);
  mask-image: radial-gradient(circle at 60% 52%, #000, transparent 68%);
}

.cinematic-ai-signature {
  position: absolute;
  z-index: 1;
  top: 61%;
  left: 46%;
  width: clamp(440px, 67vw, 1000px);
  aspect-ratio: 1692 / 930;
  overflow: hidden;
  opacity: calc(var(--ai-reveal) * .42);
  transform: translate3d(-50%, -50%, 0) scale(calc(.96 + var(--ai-reveal) * .04));
  transform-origin: 39% 55%;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at 39% 55%, #000 18%, rgba(0, 0, 0, .86) 45%, transparent 78%);
  mask-image: radial-gradient(ellipse at 39% 55%, #000 18%, rgba(0, 0, 0, .86) 45%, transparent 78%);
  pointer-events: none;
  will-change: opacity, transform;
}

.cinematic-ai-signature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08) brightness(1.05);
}

/* The centerpiece is deliberately vector linework, not a modeled object. */
.cinematic-diagram {
  position: absolute;
  z-index: 2;
  inset: 58px 0 0;
  overflow: hidden;
  pointer-events: none;
}

.cinematic-diagram-world {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1180px, 91vw);
  aspect-ratio: 12 / 7;
  transform: translate3d(-43%, -48%, 0) scale(.88);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

#loopDiagram {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.diagram-register path {
  fill: none;
  stroke: rgba(188, 202, 216, .42);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.silicon-field {
  color: var(--cin-blue);
  opacity: 0;
  pointer-events: none;
  transform-box: fill-box;
  transform-origin: center;
}

.silicon-frame,
.silicon-die,
.silicon-tiles rect,
.silicon-bus {
  fill: none;
  stroke: currentColor;
  vector-effect: non-scaling-stroke;
}

.silicon-frame {
  stroke-width: .8;
  stroke-dasharray: 2 9;
  opacity: .38;
}

.silicon-die {
  fill: rgba(108, 172, 228, .035);
  stroke-width: 1.15;
  opacity: .72;
}

.silicon-tiles rect {
  fill: rgba(108, 172, 228, calc(.035 + var(--ai-ignition) * .065));
  stroke-width: .65;
  opacity: calc(.42 + var(--ai-ignition) * .42);
}

.silicon-bus {
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 0 100;
  opacity: 0;
}

.silicon-contacts circle {
  fill: currentColor;
  opacity: calc(.28 + var(--ai-ignition) * .48);
  filter: url("#nodeGlow");
}

.diagram-route-underlay,
.diagram-route-bed,
.diagram-route-live,
.diagram-route-return,
.diagram-route-wake,
.diagram-route-lead {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.diagram-route-underlay {
  stroke: rgba(2, 7, 16, .86);
  stroke-width: 5.2;
  stroke-linecap: round;
  opacity: calc(.9 - var(--diagram-resolve) * .65);
}

.diagram-route-bed {
  stroke: url("#routeTone");
  stroke-width: 1.75;
  stroke-linecap: round;
  opacity: .86;
}

.diagram-route-live,
.diagram-route-return {
  stroke-linecap: round;
  stroke-width: 2.45;
  opacity: .58;
}

.diagram-route-live {
  stroke: var(--cin-blue-white);
  stroke-dasharray: 0 100;
}

.diagram-route-return {
  stroke: var(--cin-champagne-white);
  stroke-dasharray: 0 100;
}

.diagram-route-wake {
  stroke: var(--cin-blue-white);
  stroke-linecap: round;
  stroke-dasharray: 0 100;
  opacity: 0;
}

.diagram-route-wake--long {
  stroke-width: 1.6;
}

.diagram-route-wake--mid {
  stroke-width: 3;
  filter: url("#signalGlow");
}

.diagram-route-wake--hot {
  stroke-width: 5.2;
  filter: url("#signalGlow");
}

.diagram-route-lead {
  stroke: var(--cin-blue-white);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-dasharray: 0 100;
  opacity: 0;
  filter: url("#signalGlow");
}

.diagram-calibrations path {
  fill: none;
  stroke-width: 1.15;
  stroke-linecap: square;
  opacity: .58;
  vector-effect: non-scaling-stroke;
}

.diagram-calibrations .calibration-cool {
  stroke: var(--cin-blue-white);
}

.diagram-calibrations .calibration-warm {
  stroke: var(--cin-champagne-white);
}

.diagram-node,
.diagram-gate {
  color: #8dc7f1;
  opacity: calc(1 - var(--diagram-resolve) * .72);
}

.diagram-gate {
  color: #e2bd76;
}

.node-halo,
.node-boundary,
.node-core,
.node-brackets,
.gate-line {
  vector-effect: non-scaling-stroke;
}

.node-halo {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-dasharray: 2 6;
  opacity: .52;
}

.node-boundary {
  fill: rgba(3, 9, 20, .88);
  stroke: currentColor;
  stroke-width: 2.2;
  opacity: 1;
}

.node-core {
  fill: currentColor;
  filter: url("#nodeGlow");
}

.diagram-gate .node-core {
  transform: scale(calc(1 + var(--checkpoint-flare) * .55));
  transform-box: fill-box;
  transform-origin: center;
}

.diagram-node--ai .node-core {
  transform: scale(calc(1 + var(--ai-ignition) * .68));
  transform-box: fill-box;
  transform-origin: center;
}

.diagram-node--ai .node-halo {
  opacity: calc(.52 + var(--ai-ignition) * .34);
}

.ai-origin-state {
  color: var(--cin-blue-white);
  opacity: 0;
  pointer-events: none;
}

.origin-ring,
.origin-aperture {
  fill: none;
  stroke: currentColor;
  vector-effect: non-scaling-stroke;
}

.origin-ring {
  stroke-width: 1.15;
}

.origin-ring--outer {
  stroke-dasharray: 3 8;
}

.origin-ring--inner {
  stroke-width: 1.7;
  filter: url("#signalGlow");
}

.origin-aperture {
  stroke-width: 1;
  stroke-linecap: round;
  opacity: .82;
  transform-box: fill-box;
  transform-origin: center;
}

.diagram-gate .node-halo {
  opacity: calc(.52 + var(--checkpoint-flare) * .34);
}

.node-brackets {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  opacity: .84;
}

.gate-line {
  fill: none;
  stroke: #e2bd76;
  stroke-width: 1.25;
  stroke-dasharray: 2 7;
  opacity: calc(.24 + var(--gate-open) * .72);
  transform: scaleY(calc(.24 + var(--gate-open) * .76));
  transform-origin: center;
}

.node-name,
.node-role {
  fill: currentColor;
  font-family: var(--mono);
  text-transform: uppercase;
}

.node-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .23em;
}

.node-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .25em;
  opacity: .92;
}

.diagram-signal {
  color: var(--cin-blue-white);
}

.signal-aura {
  fill: currentColor;
  opacity: .16;
}

.signal-shell {
  fill: rgba(3, 9, 20, .9);
  stroke: currentColor;
  stroke-width: 1.65;
  opacity: .98;
  vector-effect: non-scaling-stroke;
}

.signal-core {
  fill: #f4f9ff;
}

.signal-hotspot {
  fill: #fbfdff;
}

.signal-flare {
  fill: none;
  stroke: currentColor;
  stroke-width: .9;
  stroke-linecap: round;
  opacity: 0;
  filter: url("#signalGlow");
  vector-effect: non-scaling-stroke;
}

.signal-payload-label {
  color: var(--cin-blue-white);
  opacity: 0;
  pointer-events: none;
}

.signal-payload-label--direction {
  color: var(--cin-champagne-white);
}

.signal-payload-label path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  opacity: .82;
  vector-effect: non-scaling-stroke;
}

.signal-payload-label text,
.judgment-label {
  fill: currentColor;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  paint-order: stroke fill;
  stroke: rgba(3, 9, 20, .92);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.judgment-state {
  color: var(--cin-champagne-white);
  opacity: 0;
  pointer-events: none;
}

.judgment-ring,
.judgment-mark {
  fill: none;
  stroke: currentColor;
  vector-effect: non-scaling-stroke;
}

.judgment-ring {
  fill: rgba(3, 9, 20, .36);
  stroke-width: 1.5;
  stroke-dasharray: 2 6;
}

.judgment-mark {
  stroke-width: 1.4;
  opacity: .78;
}

.cinematic-system-meta {
  position: absolute;
  z-index: 8;
  top: 102px;
  right: clamp(24px, 4vw, 68px);
  display: grid;
  grid-template-columns: auto auto;
  gap: 7px 24px;
  color: rgba(214, 229, 245, .5);
  font: 500 12px/1.2 var(--mono);
  letter-spacing: .16em;
  text-align: right;
  text-transform: uppercase;
  pointer-events: none;
}

.cinematic-system-meta b {
  color: var(--cin-blue);
  font-weight: 600;
}

.cinematic-skip {
  color: var(--cin-navy);
  background: var(--cin-blue);
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .24), 0 0 24px rgba(108, 172, 228, .2);
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 12px 20px;
  font: 700 12px/1 var(--mono);
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.cinematic-skip:hover,
.cinematic-skip:focus-visible {
  color: var(--cin-navy);
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28), 0 0 30px rgba(108, 172, 228, .3);
  transform: translateY(-2px);
}

.cinematic-copy {
  position: absolute;
  z-index: 7;
  inset: 0;
  pointer-events: none;
}

.cinematic-beat {
  position: absolute;
  max-width: min(780px, 64vw);
  opacity: 0;
  will-change: transform, opacity;
}

.cinematic-kicker,
.cinematic-authorization {
  display: block;
  color: var(--cin-blue);
  font: 600 clamp(12px, .85vw, 12px)/1.3 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.cinematic-kicker::before {
  content: "";
  display: inline-block;
  width: 44px;
  height: 1px;
  margin: 0 13px 4px 0;
  background: currentColor;
  opacity: .7;
}

.cinematic-beat p {
  margin: 20px 0 0;
  font-family: var(--sans);
  font-size: clamp(2.7rem, 5.4vw, 6.2rem);
  font-weight: 650;
  letter-spacing: -.05em;
  line-height: .94;
  text-wrap: balance;
}

.cinematic-beat small {
  display: block;
  max-width: 37em;
  margin-top: 26px;
  color: rgba(229, 237, 247, .7);
  font: 400 clamp(.95rem, 1.3vw, 1.15rem)/1.65 var(--sans);
}

.cinematic-beat--intro {
  top: 23%;
  left: clamp(25px, 6vw, 102px);
  max-width: min(700px, 49vw);
  opacity: 1;
}

.cinematic-beat--intro p {
  font-size: clamp(3rem, 4.9vw, 5.7rem);
}

.cinematic-beat--intro small {
  max-width: 29ch;
}

.cinematic-beat--origin {
  top: 25%;
  left: clamp(25px, 7vw, 118px);
  max-width: min(800px, 61vw);
}

.cinematic-beat--origin p {
  font-size: clamp(2.9rem, 5.25vw, 5.95rem);
}

.cinematic-beat--capability {
  top: 22%;
  right: clamp(25px, 7vw, 118px);
  bottom: auto;
  max-width: min(850px, 65vw);
  text-align: right;
}

.cinematic-beat--capability .cinematic-kicker::before,
.cinematic-beat--human .cinematic-kicker::before {
  display: none;
}

.cinematic-beat--capability p {
  font-size: clamp(2.7rem, 4.55vw, 5.25rem);
}

.cinematic-beat--threshold {
  top: 25%;
  left: clamp(25px, 7vw, 118px);
  max-width: min(900px, 69vw);
}

.cinematic-beat--threshold p {
  max-width: 11em;
  font-size: clamp(3.6rem, 6.7vw, 7.75rem);
  line-height: .91;
}

.cinematic-beat--human {
  top: 28%;
  left: clamp(25px, 7vw, 118px);
  max-width: min(620px, 44vw);
  text-align: left;
}

.cinematic-beat--human .cinematic-kicker {
  color: var(--cin-champagne);
}

.cinematic-beat--human .cinematic-kicker::before {
  display: inline-block;
}

.cinematic-beat--human p {
  font-size: clamp(3.2rem, 5.7vw, 6.4rem);
}

.cinematic-papal-quote {
  max-width: 42em !important;
  padding-left: 18px;
  border-left: 1px solid rgba(213, 173, 99, .5);
  color: rgba(242, 241, 237, .8) !important;
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-size: clamp(.9rem, 1.12vw, 1.05rem) !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

.cinematic-papal-quote cite {
  display: block;
  margin-top: 11px;
  color: var(--cin-champagne);
  font: 600 clamp(0.75rem, .68vw, 0.75rem)/1.4 var(--mono);
  font-style: normal;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cinematic-papal-quote cite i {
  font-style: italic;
}

.cinematic-beat--resolve {
  top: 17%;
  left: clamp(25px, 7vw, 118px);
  width: min(800px, 59vw);
  max-width: none;
  pointer-events: none;
}

.cinematic-beat--resolve.is-live {
  pointer-events: auto;
}

.cinematic-beat--resolve h1 {
  margin: 18px 0 20px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(5rem, 11vw, 11rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: .035em;
  line-height: .82;
  white-space: nowrap;
}

.cinematic-claim {
  margin: 0 !important;
  max-width: 16em;
  color: #fff;
  font-family: var(--sans) !important;
  font-size: clamp(1.45rem, 2.65vw, 2.85rem) !important;
  font-weight: 600 !important;
  letter-spacing: -.035em !important;
  line-height: 1.08 !important;
}

.cinematic-claim > span {
  display: block;
}

.cinematic-claim-human {
  margin-top: .12em;
  color: var(--cin-champagne-white);
  font-family: var(--sans);
  font-size: 1em;
  font-weight: 600;
  letter-spacing: -.035em;
}

.cinematic-location {
  margin-top: 22px;
  color: rgba(209, 209, 206, .68);
  font: 500 clamp(0.75rem, .85vw, .78rem)/1.5 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cinematic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.cinematic-actions .loop-btn {
  min-width: 0;
}

.cinematic-authorization {
  position: absolute;
  z-index: 9;
  right: clamp(26px, 7vw, 118px);
  bottom: 12vh;
  padding: 12px 15px;
  border-top: 1px solid rgba(213, 173, 99, .58);
  border-bottom: 1px solid rgba(213, 173, 99, .2);
  background: rgba(3, 9, 20, .48);
  color: var(--cin-champagne-white);
  opacity: 0;
  backdrop-filter: blur(12px);
  will-change: opacity, transform;
}

.cinematic-authorization::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 10px 1px 0;
  border-radius: 50%;
  background: var(--cin-champagne);
  box-shadow: 0 0 14px var(--cin-champagne);
}

.cinematic-x-signature {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: clamp(34px, 7vw, 118px);
  width: clamp(118px, 14vw, 218px);
  aspect-ratio: 1;
  overflow: hidden;
  opacity: calc(var(--human-reveal) * .22);
  transform: translate3d(0, -50%, 0) scale(calc(.94 + var(--human-lift) * .06));
  transform-origin: 50% 50%;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle, #000 27%, rgba(0, 0, 0, .72) 48%, transparent 74%);
  mask-image: radial-gradient(circle, #000 27%, rgba(0, 0, 0, .72) 48%, transparent 74%);
  pointer-events: none;
  will-change: opacity, transform;
}

.cinematic-x-signature img {
  position: absolute;
  top: -10%;
  left: -47%;
  width: auto;
  height: 120%;
  max-width: none;
  filter: grayscale(1) contrast(1.22) brightness(1.45);
}

.cinematic-progress {
  position: absolute;
  z-index: 8;
  right: clamp(24px, 4vw, 68px);
  bottom: 35px;
  left: clamp(24px, 4vw, 68px);
  height: 1px;
  background: rgba(209, 209, 206, .16);
  pointer-events: none;
}

.cinematic-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cin-blue), var(--cin-champagne));
  transform: scaleX(var(--cin-progress));
  transform-origin: left;
  box-shadow: 0 0 12px rgba(108, 172, 228, .35);
}

.cinematic-scroll-actions {
  position: absolute;
  z-index: 12;
  left: clamp(24px, 4vw, 68px);
  right: clamp(24px, 4vw, 68px);
  bottom: 53px;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: opacity;
}

.cinematic-scroll-cue {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  color: rgba(255, 255, 255, .9);
  font: 700 16px/1.2 var(--mono);
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.cinematic-scroll-cue::after {
  content: "\2193";
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(108, 172, 228, .62);
  border-radius: 50%;
  color: var(--cin-blue);
  font: 700 21px/1 var(--mono);
  box-shadow: 0 0 0 0 rgba(108, 172, 228, .28);
  animation: cinematic-scroll-pulse 1.8s ease-in-out infinite;
}

.cinematic-skip {
  margin-left: auto;
}

@keyframes cinematic-scroll-pulse {
  0%, 100% {
    opacity: .72;
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(108, 172, 228, .26);
  }
  50% {
    opacity: 1;
    transform: translateY(5px);
    box-shadow: 0 0 0 8px rgba(108, 172, 228, 0);
  }
}

/* The final invitation carries the cinematic palette into the page close. */
.loop-home #join {
  padding: clamp(92px, 12vh, 132px) 0;
  overflow: hidden;
  background: var(--cin-paper);
  color: var(--cin-navy);
}

.loop-home #join::before {
  content: "04 / YOUR PLACE";
  position: absolute;
  top: 36px;
  left: clamp(22px, 4vw, 64px);
  color: rgba(12, 35, 64, .5);
  font: 600 12px/1 var(--mono);
  letter-spacing: .22em;
}

.loop-home #join::after {
  display: none;
}

.loop-home #join .wrap {
  display: block;
  max-width: 960px;
  text-align: center;
}

.loop-home #join .eyebrow {
  color: var(--rmblue);
}

.loop-home #join h2 {
  max-width: 12em;
  margin: 18px auto 0;
  color: var(--cin-navy);
  font-family: var(--sans);
  font-size: clamp(2.65rem, 4.3vw, 4.65rem);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: .95;
}

.loop-home #join > .wrap > p:not(.eyebrow) {
  max-width: 44em;
  margin: 26px auto 0;
  color: rgba(32, 36, 43, .72);
  line-height: 1.75;
}

.loop-home #join .page-actions {
  justify-content: center;
  margin-top: 32px;
}

.loop-home #join .loop-btn.light {
  background: var(--cin-navy);
  color: #fff;
}

.loop-home #join .loop-btn.ghost {
  border-color: rgba(12, 35, 64, .35);
  color: var(--cin-navy);
  background: transparent;
}

.loop-home #join.breathe::before {
  display: none;
}

.loop-home footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

@media (max-width: 900px) {
  .cinematic-hero {
    height: 455svh;
  }

  .cinematic-pin {
    min-height: 560px;
  }

  .cinematic-system-meta,
  .cinematic-progress {
    display: none;
  }

  .cinematic-diagram-world {
    top: 58%;
    width: 124vw;
    transform: translate3d(-50%, -50%, 0) scale(.84);
  }

  .node-name {
    font-size: 22px;
  }

  .node-role {
    font-size: 12px;
  }

  .cinematic-beat,
  .cinematic-beat--intro,
  .cinematic-beat--origin,
  .cinematic-beat--capability,
  .cinematic-beat--threshold,
  .cinematic-beat--human,
  .cinematic-beat--resolve {
    right: 22px;
    left: 22px;
    width: auto;
    max-width: none;
    text-align: left;
  }

  .cinematic-beat--intro {
    top: calc(76px + env(safe-area-inset-top, 0px));
  }

  .cinematic-beat--origin {
    top: 21%;
  }

  .cinematic-beat--capability {
    top: 21%;
    bottom: auto;
  }

  .cinematic-beat--capability .cinematic-kicker::before {
    display: inline-block;
  }

  .cinematic-beat--threshold {
    top: 21%;
  }

  .cinematic-beat--human {
    top: 19%;
    left: 22px;
  }

  .cinematic-beat--resolve {
    top: 13%;
  }

  .cinematic-beat p,
  .cinematic-beat--intro p,
  .cinematic-beat--origin p,
  .cinematic-beat--capability p {
    font-size: clamp(2.55rem, 10.7vw, 4.9rem);
  }

  .cinematic-beat--threshold p {
    font-size: clamp(3.4rem, 14.5vw, 6.3rem);
  }

  .cinematic-beat--human p {
    font-size: clamp(3rem, 12vw, 5.4rem);
  }

  .cinematic-beat--human small {
    margin-left: 0;
  }

  .cinematic-x-signature {
    top: 61%;
    right: 12px;
    width: clamp(112px, 28vw, 166px);
  }

  .cinematic-ai-signature {
    top: 64%;
    left: 43%;
    width: 105vw;
  }

  .cinematic-authorization {
    right: 22px;
    bottom: 11vh;
    font-size: 12px;
  }

  .cinematic-beat--resolve h1 {
    margin-top: 14px;
    font-size: clamp(4.2rem, 21vw, 7.5rem);
    white-space: normal;
  }

  .cinematic-claim {
    max-width: 15em;
    font-size: clamp(1.4rem, 5.8vw, 2.1rem) !important;
  }

  .cinematic-location {
    max-width: 28em;
    font-size: .75rem;
  }

  .cinematic-actions {
    gap: 8px;
    margin-top: 20px;
  }

  .cinematic-actions .loop-btn {
    padding: 10px 13px;
    font-size: .75rem;
  }

  .cinematic-scroll-actions {
    left: 22px;
    right: 22px;
    bottom: 18px;
    align-items: center;
    flex-direction: column;
    gap: 12px;
  }

  .cinematic-scroll-cue {
    position: static;
    font-size: 14px;
    transform: none;
  }

  .cinematic-skip {
    margin-left: 0;
  }

  .loop-home #join .wrap {
    display: block;
  }

  .loop-home #join h2 {
    margin-top: 18px;
  }

  .loop-home #join > .wrap > p:not(.eyebrow) {
    max-width: 44em;
  }
}

@media (max-width: 560px) {
  .cinematic-diagram-world {
    top: 60%;
    width: 154vw;
  }

  .cinematic-ai-signature {
    top: 66%;
    left: 40%;
    width: 140vw;
  }

  .cinematic-beat--resolve {
    top: 12%;
  }

  .cinematic-actions {
    max-width: 330px;
  }

  .loop-home #join h2 {
    font-size: clamp(2.65rem, 11.5vw, 4.25rem);
  }
}

/* Fail soft to the existing resolved composition if the diagram markup is incomplete. */
html.cinematic-fallback .cinematic-hero {
  height: 100svh;
}

html.cinematic-fallback .cinematic-beat:not(.cinematic-beat--resolve),
html.cinematic-fallback .cinematic-authorization,
html.cinematic-fallback .cinematic-ai-signature,
html.cinematic-fallback .cinematic-x-signature,
html.cinematic-fallback .cinematic-scroll-actions,
html.cinematic-fallback .cinematic-progress {
  display: none;
}

html.cinematic-fallback .cinematic-diagram-world {
  opacity: .45;
  transform: translate3d(-34%, -48%, 0) scale(.72) !important;
}

html.cinematic-fallback .cinematic-beat--resolve {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .cinematic-hero {
    height: 100svh;
  }

  .cinematic-beat:not(.cinematic-beat--resolve),
  .cinematic-authorization,
  .cinematic-ai-signature,
  .cinematic-x-signature,
  .cinematic-scroll-actions,
  .cinematic-progress {
    display: none;
  }

  .cinematic-diagram-world {
    opacity: .45;
    transform: translate3d(-34%, -48%, 0) scale(.72) !important;
  }

  .cinematic-beat--resolve {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
  }
}

@media print {
  .cinematic-scroll-actions {
    display: none !important;
  }
}

@media (forced-colors: active) {
  .cinematic-atmosphere,
  .cinematic-ai-signature,
  .cinematic-x-signature {
    display: none;
  }

  .cinematic-beat--resolve {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Story-checkpoint anchor positions (formerly inline style attributes on the
   #story-* spans in index.html; moved here so pages carry no style attrs). */
#story-origin{--checkpoint:19.5%}
#story-threshold{--checkpoint:43.5%}
#story-human{--checkpoint:53%}
#story-resolve{--checkpoint:76%}
