/*
  Smarketing Media cinematic home
  z-index bands: 0–9 world, 10–19 shade/frame, 20–29 narrative,
  30–39 navigation/controls, 40+ loading and modal surfaces.
*/

:root {
  --cinema-ink: #070a12;
  --cinema-paper: #f4f6fb;
  --cinema-blue: #2257ff;
  --cinema-cyan: #57ccff;
  --cinema-tint: #11204a;
  --cinema-line: rgba(169, 188, 232, 0.2);
  --cinema-shadow: 0 2.2rem 8rem rgba(0, 0, 0, 0.46);
  --cinema-radius: 1.1rem;
  --scene-pad: clamp(1.15rem, 4vw, 4rem);
  --p: 0;
  --intro-opacity: 1;
  --intro-y: 0;
  --intro-y-pos: 0px;
  --hero-scale: 1;
  --hero-opacity: 1;
  --gate-open: 0;
  --gate-left-x: 0%;
  --gate-right-x: 0%;
  --gate-opacity: 1;
  --panel-a-opacity: 0;
  --panel-a-y: 1;
  --panel-a-y-pos: 24px;
  --panel-b-opacity: 0;
  --panel-b-y: 1;
  --panel-b-y-pos: 24px;
  --shade-opacity: 0.12;
  --world-scale: 1;
  --world-blur: 0;
  --world-blur-px: 0px;
  --world-brightness: 1;
  --catalog-opacity: 0;
  --catalog-y: 1;
  --catalog-y-pos: 36px;
  --progress-width: 0%;
  --frame-opacity: 0.54;
  --pointer-far-x: 0px;
  --pointer-far-y: 0px;
  --pointer-mid-x: 0px;
  --pointer-mid-y: 0px;
  --pointer-near-x: 0px;
  --pointer-near-y: 0px;
}

.cinematic-home {
  background: var(--cinema-ink);
}

.cinematic-home .site-header {
  position: fixed;
  z-index: 35;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.cinematic-home .site-header.is-scrolled {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 18, 0.74);
  backdrop-filter: blur(18px);
}

.scene-loader {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  color: #b7c0d5;
  background: var(--cinema-ink);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.loader-mark {
  color: var(--cinema-blue);
  font-size: 4rem;
  font-weight: 650;
  line-height: 1;
  animation: loaderPulse 1.3s ease-in-out infinite;
}

.is-ready .scene-loader {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.cinematic-scroll {
  position: relative;
  height: 4800px;
  background: var(--cinema-ink);
  contain: paint;
}

.cinematic-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  background: var(--cinema-ink);
}

.world,
.layer,
.cinematic-shade,
.cinematic-grain {
  position: absolute;
  inset: 0;
}

.world {
  z-index: 0;
  overflow: hidden;
  transform: scale(var(--world-scale));
  transform-origin: 54% 54%;
  filter: blur(var(--world-blur-px)) brightness(var(--world-brightness));
  will-change: transform, filter;
}

.background-plate {
  z-index: 0;
  inset: -12%;
  background:
    radial-gradient(circle at 69% 48%, rgba(34, 87, 255, 0.28), transparent 19%),
    radial-gradient(circle at 33% 56%, rgba(87, 204, 255, 0.1), transparent 28%),
    linear-gradient(132deg, #05070d 0%, #0a101f 44%, #070914 100%);
  transform: translate3d(var(--pointer-far-x), var(--pointer-far-y), 0) scale(1.08);
  transform-origin: center;
}

.distant-grid {
  z-index: 1;
  inset: -18%;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(129, 154, 212, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 154, 212, 0.12) 1px, transparent 1px);
  background-size: clamp(3.4rem, 6vw, 6rem) clamp(3.4rem, 6vw, 6rem);
  mask-image: radial-gradient(ellipse at center, black 9%, transparent 70%);
  transform: perspective(900px) rotateX(66deg) translate3d(var(--pointer-far-x), calc(18% + var(--pointer-far-y)), -60px) scale(1.55);
  transform-origin: 50% 66%;
}

.decision-landscape {
  z-index: 2;
  inset: 8% -9% -16%;
  transform: translate3d(var(--pointer-mid-x), var(--pointer-mid-y), 0) scale(1.03);
  transform-origin: 50% 70%;
}

.horizon-line {
  position: absolute;
  top: 58%;
  left: 3%;
  width: 94%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(87, 204, 255, 0.46), rgba(34, 87, 255, 0.78), transparent);
  box-shadow: 0 0 2rem rgba(34, 87, 255, 0.48);
}

.axis {
  position: absolute;
  top: 58%;
  left: 50%;
  width: 74%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(135, 163, 225, 0.42), transparent);
  transform-origin: 0 50%;
}

.axis-one { transform: rotate(22deg); }
.axis-two { transform: rotate(158deg); }
.axis-three { transform: rotate(-34deg); }

.decision-node {
  position: absolute;
  width: 0.54rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: var(--cinema-blue);
  box-shadow: 0 0 0 0.7rem rgba(34, 87, 255, 0.08), 0 0 2rem rgba(34, 87, 255, 0.78);
}

.decision-node::after {
  content: "";
  position: absolute;
  inset: -1rem;
  border: 1px solid rgba(87, 204, 255, 0.24);
  border-radius: 50%;
  animation: nodePing 3.4s ease-out infinite;
}

.node-one { top: 31%; left: 16%; }
.node-two { top: 26%; right: 17%; }
.node-three { bottom: 16%; left: 27%; }
.node-four { right: 21%; bottom: 11%; }
.node-two::after { animation-delay: -0.9s; }
.node-three::after { animation-delay: -1.8s; }
.node-four::after { animation-delay: -2.7s; }

.hero-object {
  z-index: 4;
  inset: 50% auto auto 67%;
  width: clamp(22rem, 42vw, 43rem);
  aspect-ratio: 1;
  opacity: var(--hero-opacity);
  transform: translate3d(calc(-50% + var(--pointer-near-x)), calc(-50% + var(--pointer-near-y)), 0) scale(var(--hero-scale));
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.hero-at {
  position: absolute;
  z-index: 2;
  inset: 25%;
  display: grid;
  place-items: center;
  color: var(--cinema-blue);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(8rem, 15vw, 15rem);
  font-weight: 680;
  line-height: 1;
  letter-spacing: -0.12em;
  text-indent: -0.07em;
  text-shadow: 0 0 2.2rem rgba(34, 87, 255, 0.34);
}

.hero-halo,
.orbit-track {
  position: absolute;
  border-radius: 50%;
}

.halo-outer {
  inset: 3%;
  border: 1px solid rgba(150, 173, 226, 0.22);
  background: radial-gradient(circle, rgba(34, 87, 255, 0.12), transparent 66%);
  box-shadow: inset 0 0 5rem rgba(34, 87, 255, 0.06), 0 0 7rem rgba(34, 87, 255, 0.05);
}

.halo-inner {
  inset: 20%;
  border: 1px solid rgba(34, 87, 255, 0.65);
  background: rgba(7, 10, 18, 0.42);
  backdrop-filter: blur(4px);
}

.orbit-track {
  z-index: 3;
  border: 1px solid rgba(170, 191, 237, 0.26);
  animation: cinemaOrbit 18s linear infinite;
}

.orbit-track i {
  position: absolute;
  width: 0.48rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cinema-cyan);
  box-shadow: 0 0 1.3rem var(--cinema-cyan);
}

.orbit-track-one { inset: 8%; }
.orbit-track-one i { top: 14%; left: 9%; }
.orbit-track-two { inset: 15%; transform: rotate(62deg); animation-duration: 13s; animation-direction: reverse; }
.orbit-track-two i { right: 2%; bottom: 28%; }
.orbit-track-three { inset: 2% 24%; transform: rotate(-54deg); animation-duration: 22s; }
.orbit-track-three i { left: 3%; bottom: 31%; }

.foreground-gate {
  z-index: 6;
  width: 51%;
  overflow: hidden;
  opacity: var(--gate-opacity);
  background:
    linear-gradient(115deg, rgba(19, 29, 55, 0.92), rgba(7, 10, 18, 0.72)),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 100% 5.4rem;
  box-shadow: 0 0 6rem rgba(0, 0, 0, 0.45);
  will-change: transform, opacity;
}

.gate-left {
  right: auto;
  clip-path: polygon(0 0, 100% 0, 82% 50%, 100% 100%, 0 100%);
  transform: translate3d(var(--gate-left-x), 0, 0);
}

.gate-right {
  left: auto;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 18% 50%);
  transform: translate3d(var(--gate-right-x), 0, 0);
}

.gate-edge {
  position: absolute;
  top: -10%;
  bottom: -10%;
  width: 1px;
  background: linear-gradient(transparent, rgba(87, 204, 255, 0.92), transparent);
  box-shadow: 0 0 2rem var(--cinema-blue);
}

.gate-left .gate-edge { right: 8.8%; transform: rotate(10deg); }
.gate-right .gate-edge { left: 8.8%; transform: rotate(-10deg); }

.gate-trace {
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(132, 158, 217, 0.42));
}

.gate-left .gate-trace { right: 7%; transform-origin: right; }
.gate-right .gate-trace { left: 7%; transform: rotate(180deg); transform-origin: left; }
.trace-one { rotate: 24deg; }
.trace-two { rotate: -24deg; }

.foreground-gate span {
  position: absolute;
  bottom: 8%;
  color: rgba(255, 255, 255, 0.26);
  font-size: 0.55rem;
  letter-spacing: 0.24em;
}

.gate-left span { left: 8%; }
.gate-right span { right: 8%; }

.edge-frame {
  z-index: 8;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, calc(var(--frame-opacity) * 0.22));
  clip-path: polygon(0 0, 9% 0, 9% 1px, 91% 1px, 91% 0, 100% 0, 100% 100%, 91% 100%, 91% calc(100% - 1px), 9% calc(100% - 1px), 9% 100%, 0 100%);
  pointer-events: none;
}

.cinematic-shade {
  z-index: 12;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.7), transparent 52%),
    rgba(5, 8, 20, var(--shade-opacity));
  pointer-events: none;
}

.cinematic-grain {
  z-index: 13;
  opacity: 0.045;
  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='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  pointer-events: none;
}

.stage-meter {
  position: absolute;
  z-index: 30;
  right: var(--scene-pad);
  bottom: max(1.4rem, env(safe-area-inset-bottom));
  width: min(16rem, 28vw);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
}

.stage-meter i {
  flex: 1;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.stage-meter b {
  width: var(--progress-width);
  height: 100%;
  display: block;
  background: var(--cinema-cyan);
  box-shadow: 0 0 1rem var(--cinema-blue);
}

.cinematic-copy,
.narrative-panel,
.catalog-scene {
  position: absolute;
  z-index: 22;
}

.intro-copy {
  top: 50%;
  left: var(--scene-pad);
  width: min(47rem, 54vw);
  opacity: var(--intro-opacity);
  transform: translate3d(0, calc(-50% + var(--intro-y-pos)), 0);
  pointer-events: none;
  will-change: transform, opacity;
}

.cinematic-home .intro-copy::before { content: none; }

.intro-copy > * { pointer-events: auto; }
.intro-copy .eyebrow { color: #a9b5cf; }

.intro-copy h1 {
  max-width: 46rem;
  margin: 1.2rem 0 1.6rem;
  font-size: clamp(3.9rem, 6.9vw, 8.2rem);
  font-weight: 510;
  line-height: 0.89;
  letter-spacing: -0.064em;
  text-wrap: balance;
}

.intro-copy h1 em {
  display: block;
  color: var(--cinema-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.intro-copy > p:last-of-type {
  max-width: 35rem;
  margin: 0;
  color: #aeb8cc;
  font-size: clamp(0.96rem, 1.25vw, 1.15rem);
  line-height: 1.7;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 0;
  border: 0;
  color: #fff;
  background: none;
  font: inherit;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}

.scroll-cue i {
  width: 2.4rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--cinema-cyan);
  font-style: normal;
  transition: transform 0.25s ease, background 0.25s ease;
}

.scroll-cue:hover i,
.scroll-cue:focus-visible i { transform: translateY(0.25rem); background: rgba(34, 87, 255, 0.18); }

.narrative-panel {
  top: 50%;
  left: 50%;
  width: min(44rem, calc(100vw - var(--scene-pad) - var(--scene-pad)));
  padding: clamp(1.7rem, 3.5vw, 3.4rem);
  border: 1px solid rgba(149, 177, 236, 0.24);
  border-radius: var(--cinema-radius);
  background: rgba(8, 12, 23, 0.76);
  box-shadow: var(--cinema-shadow);
  backdrop-filter: blur(16px);
  pointer-events: none;
}

.narrative-panel.is-active { pointer-events: auto; }

.panel-a {
  opacity: var(--panel-a-opacity);
  transform: translate3d(-50%, calc(-50% + var(--panel-a-y-pos)), 0);
}

.panel-b {
  left: auto;
  right: var(--scene-pad);
  width: min(39rem, 47vw);
  opacity: var(--panel-b-opacity);
  transform: translate3d(0, calc(-50% + var(--panel-b-y-pos)), 0);
  background: rgba(9, 13, 26, 0.81);
}

.panel-b .panel-link { pointer-events: auto; }

.panel-index {
  margin: 0 0 1.2rem;
  color: var(--cinema-cyan);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.narrative-panel h2,
.catalog-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4.6vw, 5.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.narrative-panel > p:not(.panel-index) {
  max-width: 35rem;
  margin: 1.5rem 0 0;
  color: #b4bed2;
  line-height: 1.68;
}

.panel-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 2rem 0 0;
  background: rgba(255, 255, 255, 0.14);
}

.panel-facts div { padding: 1rem; background: rgba(7, 10, 18, 0.9); }
.panel-facts dt { color: #7d8aa5; font-size: 0.56rem; letter-spacing: 0.13em; text-transform: uppercase; }
.panel-facts dd { margin: 0.55rem 0 0; font-size: 0.85rem; }

.panel-link {
  display: inline-flex;
  gap: 0.8rem;
  margin-top: 1.8rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(87, 204, 255, 0.55);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.catalog-scene {
  inset: 7.4rem var(--scene-pad) 2.8rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(1rem, 2vw, 1.8rem);
  opacity: var(--catalog-opacity);
  transform: translate3d(0, var(--catalog-y-pos), 0);
  pointer-events: none;
  will-change: transform, opacity;
}

.catalog-scene.is-interactive { pointer-events: auto; }

.catalog-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2rem;
  align-items: end;
}

.catalog-heading h2 { font-size: clamp(2.7rem, 4.5vw, 5.1rem); }
.catalog-heading > p { max-width: 22rem; margin: 0; color: #aeb8cc; line-height: 1.55; }

.catalog-viewport {
  min-width: 0;
  overflow: hidden;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
  cursor: grab;
  outline: none;
}

.catalog-viewport.is-dragging { cursor: grabbing; user-select: none; }
.catalog-viewport:focus-visible { outline: 2px solid var(--cinema-cyan); outline-offset: 0.35rem; border-radius: 0.15rem; }

.catalog-track {
  display: flex;
  gap: clamp(0.8rem, 1.4vw, 1.3rem);
  height: 100%;
  margin: 0;
  padding: 0 0.2rem 0.35rem;
  list-style: none;
  transition: transform 0.64s cubic-bezier(0.2, 0.75, 0.2, 1);
  will-change: transform;
}

.catalog-viewport.is-dragging .catalog-track { transition: none; }

.catalog-card {
  flex: 0 0 clamp(17rem, 30vw, 28rem);
  height: 100%;
  min-height: 21rem;
}

.catalog-card a {
  position: relative;
  isolation: isolate;
  height: 100%;
  min-height: 21rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.35rem, 2.5vw, 2.3rem);
  border: 1px solid rgba(12, 23, 53, 0.11);
  border-radius: calc(var(--cinema-radius) * 0.7);
  color: #0a1020;
  background: rgba(244, 246, 251, 0.96);
  box-shadow: 0 1.2rem 4rem rgba(0, 0, 0, 0.24);
  text-decoration: none;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.catalog-card a:hover,
.catalog-card a:focus-visible { transform: translateY(-0.45rem); border-color: rgba(34, 87, 255, 0.7); outline: none; }
.catalog-card a:focus-visible { box-shadow: 0 0 0 3px var(--cinema-cyan), 0 1.2rem 4rem rgba(0, 0, 0, 0.24); }
.catalog-card-inverse a { color: #fff; background: rgba(34, 87, 255, 0.95); }

.card-number {
  color: #536079;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

.catalog-card-inverse .card-number { color: rgba(255, 255, 255, 0.7); }

.catalog-card strong {
  position: relative;
  z-index: 2;
  margin-top: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 3.5vw, 3.8rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.catalog-card strong + span {
  position: relative;
  z-index: 2;
  max-width: 22rem;
  margin-top: 1.15rem;
  color: #4c576d;
  font-size: 0.86rem;
  line-height: 1.5;
}

.catalog-card-inverse strong + span { color: rgba(255, 255, 255, 0.76); }

.catalog-card b {
  position: relative;
  z-index: 2;
  margin-top: 1.3rem;
  color: var(--cinema-blue);
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.catalog-card-inverse b { color: #fff; }

.card-signal {
  position: absolute;
  z-index: 0;
  top: 12%;
  right: 9%;
  width: 48%;
  aspect-ratio: 1;
  opacity: 0.58;
}

.card-signal i { position: absolute; display: block; }
.card-signal:not(.card-signal-rings, .card-signal-path, .card-signal-core) i { top: 50%; left: 50%; width: 78%; height: 1px; background: rgba(34, 87, 255, 0.35); transform-origin: 0; }
.card-signal:not(.card-signal-rings, .card-signal-path, .card-signal-core) i:nth-child(1) { transform: rotate(20deg); }
.card-signal:not(.card-signal-rings, .card-signal-path, .card-signal-core) i:nth-child(2) { transform: rotate(140deg); }
.card-signal:not(.card-signal-rings, .card-signal-path, .card-signal-core) i:nth-child(3) { transform: rotate(260deg); }

.card-signal-rings i { inset: calc(var(--i, 0) * 13%); border: 1px solid rgba(34, 87, 255, 0.42); border-radius: 50%; }
.card-signal-rings i:nth-child(2) { --i: 1; }
.card-signal-rings i:nth-child(3) { --i: 2; }
.card-signal-path i { width: 0.48rem; aspect-ratio: 1; border-radius: 50%; background: var(--cinema-blue); box-shadow: 0 0 0 0.65rem rgba(34, 87, 255, 0.08); }
.card-signal-path i:nth-child(1) { top: 10%; left: 12%; }
.card-signal-path i:nth-child(2) { top: 47%; right: 8%; }
.card-signal-path i:nth-child(3) { bottom: 5%; left: 31%; }
.card-signal-core { border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; }
.card-signal-core i { border: 1px solid rgba(255, 255, 255, 0.26); border-radius: 50%; }
.card-signal-core i:nth-child(1) { inset: 16%; }
.card-signal-core i:nth-child(2) { inset: 34%; background: #fff; }
.card-signal-core i:nth-child(3) { top: 8%; left: 46%; width: 0.45rem; aspect-ratio: 1; background: var(--cinema-cyan); box-shadow: 0 0 1rem var(--cinema-cyan); }

.catalog-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.8rem;
}

.catalog-controls button {
  width: 2.75rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 12, 22, 0.68);
  cursor: pointer;
}

.catalog-controls button:hover,
.catalog-controls button:focus-visible { border-color: var(--cinema-cyan); background: rgba(34, 87, 255, 0.36); outline: none; }
.catalog-controls button:disabled { opacity: 0.28; cursor: default; }
.catalog-controls p { min-width: 8.6rem; margin: 0; color: #8f9ab1; font-size: 0.58rem; letter-spacing: 0.12em; text-align: center; text-transform: uppercase; }

.after-scene {
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(7rem, 12vw, 12rem);
  padding-bottom: clamp(7rem, 12vw, 12rem);
  background: var(--cinema-ink);
}

.after-scene h2 {
  margin: 1rem 0 2.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 8vw, 9.2rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.daa-home-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--cinema-ink);
  background: #dce6f4;
}

.daa-home-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.32;
  background-image: linear-gradient(rgba(10,13,21,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(10,13,21,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(105deg, black, transparent 76%);
}

.daa-home-grid {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(22rem,.9fr);
  gap: clamp(3rem,8vw,9rem);
  align-items: center;
  padding-top: clamp(7rem,11vw,11rem);
  padding-bottom: clamp(7rem,11vw,11rem);
}

.daa-home-copy { max-width: 58rem; }
.daa-home-copy .eyebrow { color: #53627a; }
.daa-home-copy h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.8rem,7.5vw,8.5rem); font-weight: 400; line-height: .9; letter-spacing: -.06em; }
.daa-home-copy h2 em { color: var(--cinema-blue); font-weight: 400; }
.daa-home-copy > p:not(.eyebrow) { max-width: 43rem; margin: 2rem 0; color: #4e5c70; font-size: clamp(1rem,1.4vw,1.22rem); line-height: 1.72; }
.daa-home-copy .text-link { color: var(--cinema-ink); }

.daa-home-signal { position: relative; width: min(36vw,31rem); aspect-ratio: 1; justify-self: center; overflow: hidden; border: 1px solid rgba(10,13,21,.18); border-radius: 50%; background: rgba(255,255,255,.2); box-shadow: 0 2rem 7rem rgba(44,66,98,.16); }
.daa-home-core { position: absolute; z-index: 2; inset: 35%; display: grid; place-items: center; border: 1px solid rgba(34,87,255,.44); border-radius: 50%; color: #fff; background: #14233c; box-shadow: 0 0 3rem rgba(34,87,255,.3); font-size: clamp(1.7rem,3vw,3.2rem); font-weight: 620; letter-spacing: -.06em; }
.daa-home-orbit { position: absolute; display: block; border: 1px solid rgba(34,87,255,.25); border-radius: 50%; animation: cinemaOrbit 18s linear infinite; }
.daa-home-orbit::before { content: ""; position: absolute; top: 8%; left: 18%; width: .55rem; aspect-ratio: 1; border-radius: 50%; background: var(--cinema-blue); box-shadow: 0 0 1.2rem rgba(34,87,255,.8); }
.daa-home-orbit.orbit-a { inset: 8%; }
.daa-home-orbit.orbit-b { inset: 20%; border-style: dashed; animation-direction: reverse; animation-duration: 13s; }
.daa-home-orbit.orbit-c { inset: 3% 25%; transform: rotate(58deg); animation-duration: 22s; }
.daa-home-node { position: absolute; width: .68rem; aspect-ratio: 1; border-radius: 50%; background: #14233c; box-shadow: 0 0 0 .65rem rgba(20,35,60,.08); }
.daa-home-node.node-a { top: 15%; left: 27%; }
.daa-home-node.node-b { top: 33%; right: 10%; background: var(--cinema-blue); }
.daa-home-node.node-c { right: 25%; bottom: 11%; }
.daa-home-node.node-d { left: 9%; bottom: 31%; background: #65c9f4; }

@keyframes cinemaOrbit { to { rotate: 360deg; } }
@keyframes nodePing { 0% { opacity: 0.7; scale: 0.3; } 75%, 100% { opacity: 0; scale: 1.35; } }
@keyframes loaderPulse { 50% { opacity: 0.44; transform: scale(0.94); } }

@media (max-width: 1024px) {
  .cinematic-scroll { height: 4300px; }
  .hero-object { left: 70%; width: clamp(24rem, 54vw, 37rem); }
  .intro-copy { width: min(43rem, 60vw); }
  .panel-b { width: min(36rem, 56vw); }
  .catalog-scene { top: 6.6rem; }
  .catalog-heading { grid-template-columns: 1fr; gap: 0.7rem; }
  .catalog-heading > p { display: none; }
}

@media (max-width: 860px) {
  .cinematic-home .site-header { position: fixed; }
  .cinematic-scroll { height: 3900px; }
  .cinematic-stage { min-height: 100dvh; }
  .world { transform-origin: 62% 55%; }
  .hero-object { top: 43%; left: 94%; width: 30rem; opacity: calc(var(--hero-opacity) * 0.72); }
  .foreground-gate { width: 55%; }
  .gate-left { clip-path: polygon(0 0, 100% 0, 82% 50%, 100% 100%, 0 100%); }
  .gate-right { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 18% 50%); }
  .intro-copy { top: 52%; width: calc(100% - var(--scene-pad) - var(--scene-pad)); }
  .intro-copy h1 { max-width: 38rem; font-size: clamp(3.35rem, 13.8vw, 6.5rem); }
  .intro-copy > p:last-of-type { max-width: 30rem; }
  .narrative-panel { width: calc(100% - var(--scene-pad) - var(--scene-pad)); }
  .panel-b { right: var(--scene-pad); width: calc(100% - var(--scene-pad) - var(--scene-pad)); }
  .panel-facts { grid-template-columns: 1fr; }
  .panel-facts div { display: flex; justify-content: space-between; gap: 1rem; }
  .panel-facts dd { margin: 0; text-align: right; }
  .catalog-scene { inset: 6.4rem var(--scene-pad) 1.4rem; }
  .catalog-heading h2 { font-size: clamp(2.4rem, 8vw, 4rem); }
  .catalog-card { flex-basis: min(78vw, 24rem); }
  .catalog-controls { justify-content: space-between; }
  .catalog-controls p { order: 2; }
  .catalog-controls [data-rail-prev] { order: 1; }
  .catalog-controls [data-rail-next] { order: 3; }
  .stage-meter { display: none; }
  .after-scene { min-height: 76vh; }
  .daa-home-grid { min-height: auto; grid-template-columns: 1fr; gap: 4rem; }
  .daa-home-signal { width: min(78vw,26rem); }
}

@media (max-width: 480px) {
  :root { --scene-pad: 1.1rem; }
  .cinematic-scroll { height: 3500px; }
  .edge-frame { inset: 0.65rem; }
  .hero-object { top: 35%; left: 105%; width: 25rem; }
  .intro-copy { top: 53%; }
  .intro-copy h1 { font-size: clamp(3.05rem, 15vw, 4.65rem); }
  .intro-copy > p:last-of-type { font-size: 0.92rem; line-height: 1.56; }
  .scroll-cue { margin-top: 1.4rem; }
  .narrative-panel { padding: 1.4rem; }
  .narrative-panel h2 { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .narrative-panel > p:not(.panel-index) { font-size: 0.9rem; line-height: 1.55; }
  .panel-facts { margin-top: 1.35rem; }
  .panel-facts div { padding: 0.75rem; }
  .panel-link { margin-top: 1.25rem; }
  .catalog-scene { top: 5.9rem; gap: 0.8rem; }
  .catalog-heading .panel-index { margin-bottom: 0.6rem; }
  .catalog-heading h2 { font-size: clamp(2.15rem, 9vw, 3.1rem); }
  .catalog-card { flex-basis: calc(100vw - 3.7rem); min-height: 19rem; }
  .catalog-card a { min-height: 19rem; padding: 1.25rem; }
  .catalog-card strong { font-size: 2.5rem; }
  .catalog-card strong + span { font-size: 0.8rem; }
  .catalog-controls button { width: 2.5rem; }
  .after-scene h2 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .daa-home-copy h2 { font-size: clamp(3.5rem,15vw,5.1rem); }
  .daa-home-signal { width: 82vw; }
}

@media (max-height: 620px) {
  .cinematic-home .site-header { min-height: 4.5rem; padding-top: 0.7rem; padding-bottom: 0.7rem; }
  .cinematic-home .brand { width: 9rem; }
  .intro-copy { top: 54%; }
  .intro-copy h1 { margin: 0.65rem 0 0.8rem; font-size: clamp(2.7rem, 7.2vw, 4.4rem); line-height: 0.88; }
  .intro-copy > p:last-of-type { max-width: 31rem; font-size: 0.82rem; line-height: 1.42; }
  .scroll-cue { margin-top: 0.8rem; }
  .narrative-panel {
    max-height: calc(100svh - 5.5rem);
    overflow-y: auto;
    padding: 1.15rem;
    scrollbar-width: thin;
  }
  .narrative-panel h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
  .narrative-panel > p:not(.panel-index) { margin-top: 0.75rem; font-size: 0.78rem; line-height: 1.42; }
  .panel-index { margin-bottom: 0.65rem; }
  .panel-facts { grid-template-columns: repeat(3, 1fr); margin-top: 0.8rem; }
  .panel-facts div { display: block; padding: 0.65rem; }
  .panel-facts dd { margin-top: 0.35rem; text-align: left; font-size: 0.72rem; }
  .panel-link { margin-top: 0.8rem; }
  .catalog-scene { inset: 4.7rem var(--scene-pad) 0.65rem; gap: 0.55rem; }
  .catalog-heading .panel-index { margin-bottom: 0.25rem; }
  .catalog-heading h2 { font-size: clamp(1.85rem, 4vw, 2.8rem); }
  .catalog-card,
  .catalog-card a { min-height: 14rem; }
  .catalog-card a { padding: 1rem; }
  .catalog-card strong { font-size: 2rem; }
  .catalog-card strong + span { margin-top: 0.6rem; font-size: 0.72rem; }
  .catalog-card b { margin-top: 0.65rem; }
  .catalog-controls button { width: 2.15rem; }
}

@media (pointer: coarse) {
  .catalog-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-x pan-y; }
  .catalog-viewport::-webkit-scrollbar { display: none; }
  .catalog-track { transform: none !important; transition: none; }
  .catalog-card { scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-loader { display: none; }
  .cinematic-scroll { height: auto; contain: none; }
  .cinematic-stage {
    position: relative;
    min-height: auto;
    display: grid;
    gap: 1rem;
    padding: 8rem var(--scene-pad) 4rem;
    overflow: hidden;
  }
  .world { position: absolute; inset: 0; transform: none; filter: none; }
  .hero-object { top: 17rem; left: 82%; width: 25rem; transform: translate(-50%, -50%); opacity: 0.48; }
  .foreground-gate { display: none; }
  .cinematic-shade { background: linear-gradient(90deg, rgba(5, 7, 13, 0.78), rgba(5, 7, 13, 0.35)); }
  .intro-copy,
  .narrative-panel,
  .catalog-scene {
    position: relative;
    inset: auto;
    width: 100%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .intro-copy { min-height: calc(100svh - 12rem); display: flex; flex-direction: column; justify-content: center; }
  .narrative-panel { left: auto; max-width: 46rem; margin-top: 2rem; }
  .panel-b { right: auto; justify-self: end; }
  .catalog-scene { min-height: 46rem; margin-top: 3rem; display: grid; }
  .catalog-viewport { overflow-x: auto; }
  .catalog-track { transform: none !important; }
  .stage-meter { display: none; }
  .orbit-track,
  .decision-node::after { animation: none; }
}
