/* ==========================================================================
   Krotos — claude-next styling layer
   Goal: cinematic editorial direction (cf. Capital Maritime / FIND-style refs)
   while keeping brand: dark + neon-lime + Space Grotesk.
   ========================================================================== */

/* ----- 1. Fonts (reuse production weights from /assets/fonts) -------------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-SemiBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ----- 2. Tokens ----------------------------------------------------------- */
:root {
  --cn-ink: #04060a;
  --cn-ink-2: #0a0d13;
  --cn-ink-3: #11151d;
  --cn-paper: #efece4;
  --cn-paper-2: #d8d4c8;
  --cn-text: #f5f7fb;
  --cn-text-soft: #b6bdc8;
  --cn-text-mute: #6f7785;
  --cn-line: rgba(255, 255, 255, 0.10);
  --cn-line-soft: rgba(255, 255, 255, 0.06);
  --cn-accent: #caff39;
  --cn-accent-deep: #a8e017;
  --cn-warm: #f7a34b;
  --cn-cool: #8ac9ff;

  --cn-radius-sm: 14px;
  --cn-radius-md: 22px;
  --cn-radius-lg: 36px;

  --cn-shell-pad: clamp(20px, 4vw, 56px);
  --cn-max: 1440px;
  --cn-section-pad: clamp(96px, 14vh, 180px);

  --cn-ease: cubic-bezier(.2, .7, .2, 1);
  --cn-ease-soft: cubic-bezier(.4, .14, .26, 1);

  --cn-display-tight: -0.045em;
  --cn-display-mega: -0.055em;
}

/* ----- 3. Base ------------------------------------------------------------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--cn-ink);
  overflow-x: clip;
}

body[data-experience="claude-next"] {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--cn-text);
  background: var(--cn-ink);
  /* Cinematic atmospheric base — single mesh, low opacity */
  background-image:
    radial-gradient(ellipse 80% 60% at 8% 0%, rgba(202, 255, 57, 0.06), transparent 60%),
    radial-gradient(ellipse 70% 50% at 92% 12%, rgba(138, 201, 255, 0.05), transparent 60%),
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(247, 163, 75, 0.04), transparent 60%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Subtle film-grain layer — brings warmth without color shift */
body[data-experience="claude-next"]::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 2px);
  mix-blend-mode: overlay;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

:focus-visible {
  outline: 2px solid var(--cn-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection {
  background: var(--cn-accent);
  color: var(--cn-ink);
}

/* ----- 4. Reveal animation ------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 800ms var(--cn-ease) var(--reveal-delay, 0ms),
    transform 800ms var(--cn-ease) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- 5. Navigation ------------------------------------------------------- */
.cn-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px var(--cn-shell-pad);
  background: linear-gradient(180deg, rgba(4, 6, 10, 0.78), rgba(4, 6, 10, 0.30));
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: padding 240ms var(--cn-ease), border-color 240ms var(--cn-ease), background 240ms var(--cn-ease);
}

body[data-cn-scrolled="true"] .cn-nav {
  padding-block: 12px;
  border-bottom-color: var(--cn-line-soft);
  background: linear-gradient(180deg, rgba(4, 6, 10, 0.92), rgba(4, 6, 10, 0.74));
}

.cn-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  color: var(--cn-text);
}

.cn-brand__mark {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 32%, var(--cn-accent), var(--cn-accent-deep) 50%, #6a8b0d 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 4px rgba(202, 255, 57, 0.08),
    0 6px 22px rgba(202, 255, 57, 0.18);
}

.cn-brand__mark::after {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: var(--cn-ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.cn-nav__links {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 0.94rem;
  color: var(--cn-text-soft);
}

.cn-nav__links a {
  position: relative;
  padding: 8px 2px;
  transition: color 200ms var(--cn-ease);
}

.cn-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1.5px;
  background: var(--cn-accent);
  transition: right 280ms var(--cn-ease);
}

.cn-nav__links a:hover {
  color: var(--cn-text);
}

.cn-nav__links a:hover::after {
  right: 0;
}

.cn-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 18px;
  border: 1px solid var(--cn-line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cn-text);
  background: rgba(255, 255, 255, 0.04);
  transition: background 240ms var(--cn-ease), border-color 240ms var(--cn-ease), transform 240ms var(--cn-ease);
}

.cn-nav__cta:hover {
  background: var(--cn-accent);
  border-color: var(--cn-accent);
  color: var(--cn-ink);
  transform: translateY(-1px);
}

.cn-nav__cta svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----- 6. Buttons ---------------------------------------------------------- */
.cn-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px 16px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  transition:
    background 240ms var(--cn-ease),
    color 240ms var(--cn-ease),
    border-color 240ms var(--cn-ease),
    transform 240ms var(--cn-ease),
    box-shadow 240ms var(--cn-ease);
  cursor: pointer;
}

.cn-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 320ms var(--cn-ease);
}

.cn-button:hover svg {
  transform: translateX(4px);
}

.cn-button--primary {
  background: var(--cn-accent);
  color: var(--cn-ink);
  box-shadow:
    0 0 0 1px rgba(202, 255, 57, 0.22),
    0 24px 60px rgba(202, 255, 57, 0.18);
}

.cn-button--primary:hover {
  background: #d8ff5b;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(202, 255, 57, 0.32),
    0 28px 70px rgba(202, 255, 57, 0.28);
}

.cn-button--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--cn-text);
  border-color: var(--cn-line);
}

.cn-button--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.20);
  transform: translateY(-2px);
}

.cn-button--xl {
  padding: 22px 28px 22px 30px;
  font-size: 1.08rem;
}

/* ----- 7. Typography helpers ---------------------------------------------- */
.cn-eyebrow {
  margin: 0 0 22px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cn-text-mute);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cn-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--cn-accent);
}

.cn-eyebrow--accent {
  color: var(--cn-accent);
}

.cn-eyebrow--inverse {
  color: var(--cn-paper);
}

.cn-section-title {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: var(--cn-display-tight);
  text-wrap: balance;
}

.cn-section-title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}

.cn-section-title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6%;
  height: 0.18em;
  background: var(--cn-accent);
  z-index: -1;
  opacity: 0.86;
}

.cn-section-lede {
  max-width: 56ch;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.62;
  color: var(--cn-text-soft);
  text-wrap: pretty;
}

/* ----- 8. Hero ------------------------------------------------------------- */
.cn-hero {
  position: relative;
  padding: clamp(28px, 4vh, 56px) var(--cn-shell-pad) clamp(40px, 6vh, 80px);
  isolation: isolate;
  overflow: hidden;
  max-width: var(--cn-max);
  margin: 0 auto;
}

.cn-hero::before {
  /* very wide horizon glow that anchors the body model */
  content: "";
  position: absolute;
  inset: 30% -10% -30% -10%;
  background:
    radial-gradient(ellipse 70% 50% at 70% 30%, rgba(202, 255, 57, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(138, 201, 255, 0.06), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.cn-hero__head {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(24px, 3vh, 40px);
}

.cn-hero__title {
  margin: 0;
  display: grid;
  gap: 0;
  font-size: clamp(2.8rem, 7.2vw, 7.4rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: var(--cn-display-mega);
  text-wrap: balance;
}

.cn-hero__line {
  display: block;
}

.cn-hero__line:nth-child(1) { --reveal-delay: 80ms; }
.cn-hero__line:nth-child(2) { --reveal-delay: 200ms; }
.cn-hero__line:nth-child(3) { --reveal-delay: 320ms; }

.cn-hero__line em {
  font-style: normal;
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.cn-hero__line em::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 6%;
  height: 0.14em;
  background: var(--cn-accent);
  z-index: -1;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 900ms var(--cn-ease) calc(var(--reveal-delay, 0ms) + 240ms);
}

.cn-hero__line.is-visible em::after,
[data-reveal].is-visible .cn-hero__line em::after {
  transform: scaleX(1);
}

.cn-hero__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

.cn-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  align-self: end;
}

.cn-hero__lede {
  --reveal-delay: 480ms;
  max-width: 32rem;
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.55;
  color: var(--cn-text-soft);
  text-wrap: pretty;
}

.cn-hero__actions {
  --reveal-delay: 600ms;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.cn-hero__note {
  --reveal-delay: 760ms;
  margin: 28px 0 0;
  padding-left: 16px;
  border-left: 1px solid var(--cn-line);
  max-width: 30rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--cn-text-mute);
}

/* Hero stage (3D model + atmospheric frame) */
.cn-hero__stage {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: clamp(320px, 44vh, 460px);
}

.cn-hero__stage-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 44vh, 460px);
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 90% at 50% 110%, rgba(202, 255, 57, 0.18), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(15, 20, 28, 0.92), rgba(7, 9, 13, 0.96) 60%, var(--cn-ink) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -50px 80px rgba(202, 255, 57, 0.05),
    0 40px 100px rgba(0, 0, 0, 0.42);
}

.cn-hero__stage-frame::after {
  /* faint horizontal grid ticks for editorial feel */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 25% 100%;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.45;
}

.cn-hero__poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.cn-hero__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.32;
  filter: contrast(1.05) saturate(0.7);
}

.cn-hero__model {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.cn-hero__stage-eyebrow {
  position: absolute;
  left: 24px;
  top: 22px;
  z-index: 4;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cn-hero__stage-eyebrow span { color: var(--cn-text-mute); }
.cn-hero__stage-eyebrow em {
  font-style: normal;
  color: var(--cn-accent);
  position: relative;
  padding-left: 14px;
}

.cn-hero__stage-eyebrow em::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}

/* Hero timeline (chapter preview at bottom of stage frame) */
.cn-hero__timeline {
  position: absolute;
  inset: auto 24px 22px 24px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  padding-top: 16px;
}

.cn-hero__timeline-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 1px;
  background: linear-gradient(90deg, var(--cn-accent), rgba(202, 255, 57, 0.3) 33%, rgba(255, 255, 255, 0.08) 33%);
}

.cn-hero__timeline-step {
  position: relative;
  display: grid;
  gap: 4px;
  padding-bottom: 22px;
  text-align: left;
}

.cn-hero__timeline-step::before {
  /* Tick line going down to rail */
  content: "";
  position: absolute;
  left: 0;
  bottom: 11px;
  width: 1px;
  height: 7px;
  background: rgba(255, 255, 255, 0.18);
}

.cn-hero__timeline-step.is-active::before {
  background: var(--cn-accent);
  box-shadow: 0 0 6px rgba(202, 255, 57, 0.6);
}

.cn-hero__timeline-dot {
  position: absolute;
  left: -4px;
  bottom: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--cn-ink);
}

.cn-hero__timeline-step.is-active .cn-hero__timeline-dot {
  background: var(--cn-accent);
  border-color: var(--cn-accent);
  box-shadow:
    0 0 0 4px rgba(202, 255, 57, 0.14),
    0 0 12px rgba(202, 255, 57, 0.5);
}

.cn-hero__timeline-num {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cn-text-mute);
}

.cn-hero__timeline-step.is-active .cn-hero__timeline-num {
  color: var(--cn-accent);
}

.cn-hero__timeline-label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cn-text-soft);
}

.cn-hero__timeline-step.is-active .cn-hero__timeline-label {
  color: var(--cn-text);
}

/* ----- 9. Marquee ---------------------------------------------------------- */
.cn-marquee {
  position: relative;
  margin-top: clamp(28px, 4vh, 48px);
  padding: 18px 0;
  border-top: 1px solid var(--cn-line-soft);
  border-bottom: 1px solid var(--cn-line-soft);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.cn-marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  letter-spacing: 0.04em;
  color: var(--cn-text-soft);
  animation: cn-marquee 36s linear infinite;
  padding-right: 28px;
}

.cn-marquee__track span {
  font-weight: 700;
}

.cn-marquee__track i {
  font-style: normal;
  color: var(--cn-accent);
  opacity: 0.6;
}

@keyframes cn-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ----- 9b. Hero scroll hint (top-right vertical chevron) ------------------- */
.cn-hero__scrollhint {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cn-text-soft);
}

.cn-hero__scrollhint svg {
  width: 11px;
  height: 16px;
  fill: none;
  stroke: var(--cn-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: cn-scrollhint-bob 2s ease-in-out infinite;
}

@keyframes cn-scrollhint-bob {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(3px); opacity: 1; }
}

/* ----- 10a. Body Atlas — scroll-driven 3D scrollytelling ------------------ */
.cn-atlas {
  position: relative;
  /* Total scroll budget for 3 scenes. Sticky inner is 100vh; 3.2x = 2.2 viewports of camera scrub */
  height: 320vh;
  padding-inline: var(--cn-shell-pad);
  max-width: var(--cn-max);
  margin: 0 auto;
  padding-bottom: clamp(56px, 8vh, 96px);
}

.cn-atlas__sticky {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  height: calc(100svh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: stretch;
  padding-block: clamp(20px, 3vh, 40px);
}

.cn-atlas__copy {
  position: relative;
  display: grid;
  align-content: center;
  gap: clamp(28px, 4vh, 48px);
  min-width: 0;
}

.cn-atlas__head {
  display: grid;
  gap: 16px;
  max-width: 28rem;
}

.cn-atlas__head .cn-section-title {
  font-size: clamp(2.4rem, 5.4vw, 5.4rem);
  letter-spacing: var(--cn-display-mega);
}

.cn-atlas__head .cn-section-lede {
  margin-top: 4px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.cn-atlas__scenes {
  position: relative;
  display: grid;
  min-height: 200px;
}

.cn-atlas__scene {
  grid-area: 1 / 1;
  display: grid;
  gap: 14px;
  align-content: start;
  max-width: 32rem;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 700ms var(--cn-ease),
    transform 700ms var(--cn-ease);
  pointer-events: none;
}

.cn-atlas__scene.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cn-atlas__step {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cn-accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cn-atlas__step::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.cn-atlas__scene h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cn-atlas__scene p {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.6;
  color: var(--cn-text-soft);
  max-width: 30rem;
}

/* Stage column with model */
.cn-atlas__stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.cn-atlas__stage-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 90% at 50% 110%, rgba(202, 255, 57, 0.20), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(15, 20, 28, 0.94), rgba(7, 9, 13, 0.96) 60%, var(--cn-ink) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -60px 100px rgba(202, 255, 57, 0.06),
    0 40px 100px rgba(0, 0, 0, 0.42);
  /* Entry fade-in driven by [data-cn-atlas]'s --entry custom property (set by JS) */
  --entry: 0;
  opacity: calc(0.55 + var(--entry) * 0.45);
  transform: scale(calc(0.985 + var(--entry) * 0.015));
  transition: none; /* progress is direct, no easing on JS-driven property */
}

.cn-atlas__stage-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 25% 100%;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.42;
}

.cn-atlas__poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 0;
}

.cn-atlas__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.18;
  filter: contrast(1.05) saturate(0.6);
}

.cn-atlas__model {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
}

/* Annotation marker — instrumentation-overlay aesthetic
   Structure: [dot] [leader-line] [label]
   The element's left/top point at the body region; label sits to the right. */
.cn-atlas__pin {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--cn-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    left 700ms var(--cn-ease),
    top 700ms var(--cn-ease),
    opacity 500ms var(--cn-ease);
  pointer-events: none;
  left: 50%;
  top: 36%;
  transform: translate(-6px, -50%); /* anchor-point is the dot, label flows right */
}

.cn-atlas__pin-dot {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cn-accent);
  box-shadow:
    0 0 0 1px rgba(202, 255, 57, 0.65),
    0 0 0 5px rgba(202, 255, 57, 0.10),
    0 0 14px rgba(202, 255, 57, 0.55);
  flex: 0 0 auto;
}

.cn-atlas__pin-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid var(--cn-accent);
  border-radius: 50%;
  animation: cn-atlas-pulse 2.6s ease-out infinite;
  opacity: 0.6;
}

@keyframes cn-atlas-pulse {
  0% { transform: scale(0.6); opacity: 0.85; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Thin leader-line connecting dot to label */
.cn-atlas__pin-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--cn-accent), rgba(202, 255, 57, 0.35));
  flex: 0 0 auto;
  position: relative;
}

.cn-atlas__pin-line::after {
  /* tiny tick at label end */
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 1px;
  height: 5px;
  background: var(--cn-accent);
}

.cn-atlas__pin-label {
  /* lift label slightly so leader-line center-aligns with dot baseline */
  display: inline-block;
}

/* Chapter rail (right edge) */
.cn-atlas__rail {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 4;
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--cn-line);
  border-radius: var(--cn-radius-sm);
  background: rgba(4, 6, 10, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cn-atlas__rail li {
  display: grid;
  grid-template-columns: 22px auto;
  gap: 10px;
  align-items: center;
  color: var(--cn-text-mute);
  transition: color 360ms var(--cn-ease);
}

.cn-atlas__rail li b {
  font-weight: 700;
  font-size: 0.7rem;
  color: inherit;
  opacity: 0.7;
}

.cn-atlas__rail li.is-active {
  color: var(--cn-accent);
}

.cn-atlas__rail li.is-active b {
  opacity: 1;
}

/* Progress bar at bottom of stage */
.cn-atlas__progress {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 14px;
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  z-index: 4;
}

.cn-atlas__progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, transparent, var(--cn-accent));
  transition: width 200ms linear;
}

/* ----- 10. Flow stages ----------------------------------------------------- */
.cn-flow {
  padding: var(--cn-section-pad) var(--cn-shell-pad);
  max-width: var(--cn-max);
  margin: 0 auto;
}

.cn-flow__head {
  display: grid;
  gap: 0;
  max-width: 60rem;
  margin-bottom: clamp(48px, 7vh, 96px);
}

.cn-stages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(32px, 5vh, 60px);
  counter-reset: cn-stage;
}

.cn-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding-block: clamp(18px, 3vh, 28px);
  border-top: 1px solid var(--cn-line);
}

.cn-stage:last-child { border-bottom: 1px solid var(--cn-line); }

.cn-stage__numwrap {
  display: grid;
  gap: 10px;
  align-self: start;
}

.cn-stage__num {
  font-size: clamp(0.84rem, 1vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cn-text-mute);
}

.cn-stage__verb {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: var(--cn-display-tight);
  color: var(--cn-text);
  position: relative;
  display: inline-block;
}

.cn-stage__verb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6%;
  height: 0.10em;
  background: var(--cn-accent);
  opacity: 0.78;
}

.cn-stage__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--cn-radius-md);
  overflow: hidden;
  background: var(--cn-ink-2);
  box-shadow:
    inset 0 0 0 1px var(--cn-line-soft),
    0 30px 80px rgba(0, 0, 0, 0.42);
}

.cn-stage__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.78) brightness(0.78);
  transition: transform 800ms var(--cn-ease), filter 800ms var(--cn-ease);
}

.cn-stage:hover .cn-stage__media img {
  transform: scale(1.03);
  filter: contrast(1.1) saturate(0.95) brightness(0.85);
}

.cn-stage__chev {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.52;
}

.cn-stage__chev svg {
  width: 56%;
  height: 56%;
  fill: none;
  stroke: var(--cn-accent);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 16px rgba(202, 255, 57, 0.4));
}

.cn-stage__copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.32rem, 1.7vw, 1.7rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.cn-stage__copy p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--cn-text-soft);
}

/* ----- 11. Proof — full-bleed cinematic -------------------------------------- */
.cn-proof {
  position: relative;
  margin-top: 0;
  isolation: isolate;
}

.cn-proof__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.cn-proof__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 24%;
  filter: brightness(0.5) contrast(1.12) saturate(0.72);
  transform: scale(1.03);
  transition: transform 1500ms var(--cn-ease-soft);
}

.cn-proof:hover .cn-proof__media img {
  transform: scale(1.08);
}

.cn-proof::before {
  /* dark gradient for legibility, lime kiss top-right */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 6, 10, 0.6) 0%, rgba(4, 6, 10, 0.45) 30%, rgba(4, 6, 10, 0.85) 100%),
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(202, 255, 57, 0.16), transparent 60%);
}

.cn-proof__overlay {
  position: relative;
  z-index: 2;
  max-width: var(--cn-max);
  margin: 0 auto;
  padding: clamp(120px, 22vh, 220px) var(--cn-shell-pad);
  display: grid;
  gap: clamp(24px, 4vh, 48px);
}

.cn-proof__copy {
  max-width: 32rem;
}

.cn-proof__title {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: var(--cn-display-tight);
  text-wrap: balance;
}

.cn-proof__lede {
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.62;
  color: var(--cn-text-soft);
  max-width: 38rem;
}

.cn-proof__note {
  position: relative;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--cn-line);
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--cn-text-soft);
  letter-spacing: 0.005em;
}

.cn-proof__note em {
  font-style: normal;
  font-weight: 700;
  color: var(--cn-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin-right: 10px;
}

/* ----- 12. Status runway --------------------------------------------------- */
.cn-status {
  background: var(--cn-paper);
  color: var(--cn-ink);
  padding: var(--cn-section-pad) var(--cn-shell-pad);
}

.cn-status__head {
  max-width: var(--cn-max);
  margin: 0 auto clamp(48px, 7vh, 96px);
}

.cn-status .cn-eyebrow {
  color: var(--cn-ink);
  opacity: 0.6;
}

.cn-status .cn-eyebrow::before {
  background: var(--cn-ink);
}

.cn-status .cn-section-title {
  color: var(--cn-ink);
}

.cn-status .cn-section-title em::after {
  background: var(--cn-accent-deep);
}

.cn-runway {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--cn-max);
  display: grid;
}

.cn-runway__row {
  display: grid;
  grid-template-columns: 100px minmax(0, 0.55fr) minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vh, 44px) 0;
  border-top: 1px solid rgba(4, 6, 10, 0.14);
  position: relative;
  transition: background 280ms var(--cn-ease);
}

.cn-runway__row:last-child {
  border-bottom: 1px solid rgba(4, 6, 10, 0.14);
}

.cn-runway__row:hover {
  background: rgba(4, 6, 10, 0.04);
}

.cn-runway__step {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cn-ink);
  opacity: 0.55;
}

.cn-runway__verb {
  margin: 0;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: var(--cn-display-tight);
  color: var(--cn-ink);
}

.cn-runway__verb u {
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.cn-runway__verb u::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7%;
  height: 5px;
  background: var(--cn-ink);
  border-radius: 99px;
}

.cn-runway__copy {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.18vw, 1.1rem);
  line-height: 1.6;
  color: rgba(4, 6, 10, 0.78);
}

.cn-runway__arrow {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(4, 6, 10, 0.16);
  border-radius: 999px;
  background: transparent;
  color: var(--cn-ink);
  transition: background 240ms var(--cn-ease), color 240ms var(--cn-ease), transform 240ms var(--cn-ease), border-color 240ms var(--cn-ease);
}

.cn-runway__arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 320ms var(--cn-ease);
}

.cn-runway__arrow:hover {
  background: var(--cn-ink);
  color: var(--cn-paper);
  border-color: var(--cn-ink);
  transform: translateX(4px);
}

.cn-runway__arrow:hover svg {
  transform: translateX(2px);
}

/* ----- 13. FAQ ------------------------------------------------------------- */
.cn-faq {
  padding: var(--cn-section-pad) var(--cn-shell-pad);
  max-width: var(--cn-max);
  margin: 0 auto;
}

.cn-faq__head {
  margin-bottom: clamp(40px, 6vh, 72px);
  max-width: 50rem;
}

.cn-faq__list {
  display: grid;
  border-top: 1px solid var(--cn-line);
}

.cn-faq__item {
  border-bottom: 1px solid var(--cn-line);
  transition: background 240ms var(--cn-ease);
}

.cn-faq__item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.cn-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cn-text);
  transition: color 240ms var(--cn-ease);
}

.cn-faq__item summary::-webkit-details-marker { display: none; }

.cn-faq__item summary i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--cn-line);
  border-radius: 50%;
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--cn-text-soft);
  transition: transform 320ms var(--cn-ease), border-color 240ms var(--cn-ease), background 240ms var(--cn-ease), color 240ms var(--cn-ease);
  flex: 0 0 auto;
}

.cn-faq__item[open] summary i {
  transform: rotate(45deg);
  background: var(--cn-accent);
  border-color: var(--cn-accent);
  color: var(--cn-ink);
}

.cn-faq__item p {
  margin: 0 0 26px;
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.66;
  color: var(--cn-text-soft);
}

.cn-faq__item p a {
  color: var(--cn-accent);
  border-bottom: 1px solid currentColor;
}

/* ----- 14. Access ---------------------------------------------------------- */
.cn-access {
  padding: var(--cn-section-pad) var(--cn-shell-pad);
  position: relative;
  isolation: isolate;
}

.cn-access::before {
  content: "";
  position: absolute;
  inset: 12% 4%;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(202, 255, 57, 0.08), transparent 60%);
  filter: blur(60px);
}

.cn-access__inner {
  max-width: 64rem;
  margin: 0 auto;
  text-align: left;
}

.cn-access__title {
  margin: 0;
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: var(--cn-display-mega);
  text-wrap: balance;
}

.cn-access__title em {
  font-style: normal;
  position: relative;
  display: inline-block;
}

.cn-access__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  height: 0.16em;
  background: var(--cn-accent);
  z-index: -1;
}

.cn-access__lede {
  margin: 32px 0 0;
  max-width: 48rem;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.6;
  color: var(--cn-text-soft);
  text-wrap: pretty;
}

.cn-access__actions {
  margin-top: clamp(36px, 6vh, 56px);
  display: grid;
  gap: 18px;
  justify-items: start;
}

.cn-access__hint {
  margin: 0;
  max-width: 32rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--cn-text-mute);
}

/* ----- 15. Footer ---------------------------------------------------------- */
.cn-footer {
  position: relative;
  padding: clamp(56px, 9vh, 96px) var(--cn-shell-pad) 24px;
  border-top: 1px solid var(--cn-line-soft);
  overflow: hidden;
}

.cn-footer__top {
  position: relative;
  z-index: 2;
  max-width: var(--cn-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(40px, 6vh, 72px);
}

.cn-footer__col {
  display: grid;
  gap: 12px;
  align-content: start;
  font-size: 0.96rem;
  color: var(--cn-text-soft);
}

.cn-footer__col--brand p {
  margin: 14px 0 0;
  max-width: 22rem;
  line-height: 1.6;
}

.cn-footer__col a {
  color: var(--cn-text-soft);
  transition: color 240ms var(--cn-ease);
}

.cn-footer__col a:hover {
  color: var(--cn-accent);
}

.cn-footer__label {
  margin: 0 0 4px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cn-text-mute);
}

.cn-footer__wordmark {
  position: relative;
  z-index: 1;
  margin-top: clamp(32px, 5vh, 64px);
  font-size: clamp(6rem, 26vw, 22rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.075em;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, rgba(202, 255, 57, 0.22), rgba(202, 255, 57, 0.025) 70%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  user-select: none;
}

/* ----- 16. Responsive ------------------------------------------------------ */
@media (max-width: 1100px) {
  .cn-nav__links { display: none; }
  .cn-hero__body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cn-hero__stage { min-height: clamp(380px, 60vh, 560px); }
  .cn-hero__stage-frame { min-height: clamp(380px, 60vh, 560px); }
  .cn-stage {
    grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.8fr) minmax(0, 1fr);
  }
  .cn-runway__row {
    grid-template-columns: 80px minmax(0, 1fr) auto;
  }
  .cn-runway__copy {
    grid-column: 2 / 4;
  }
  /* Atlas: tighter ratios on tablet */
  .cn-atlas {
    height: 300vh;
  }
  .cn-atlas__sticky {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(20px, 3vw, 40px);
  }
  .cn-atlas__head .cn-section-title {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
  }
}

@media (max-width: 860px) {
  /* Atlas mobile: stage sticks at top across full section, copy scrolls below */
  .cn-atlas {
    height: 220vh;
    padding-bottom: clamp(32px, 5vh, 56px);
  }
  .cn-atlas__sticky {
    grid-template-columns: 1fr;
    grid-template-rows: 40vh 1fr;
    height: 100%;
    position: relative;
    gap: 22px;
    padding-block: 12px;
    align-items: stretch;
  }
  .cn-atlas__stage {
    position: sticky;
    top: 78px;
    height: 40vh;
    height: 40svh;
    min-height: 300px;
    order: 1;
    grid-row: 1;
    align-self: start;
  }
  .cn-atlas__copy {
    order: 2;
    grid-row: 2;
    align-content: start;
    gap: 20px;
    padding-bottom: 24vh;
  }
  .cn-atlas__head .cn-section-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .cn-atlas__scenes {
    min-height: 160px;
  }
  .cn-atlas__scene h3 {
    font-size: clamp(1.5rem, 5.5vw, 2.1rem);
  }
  .cn-atlas__rail {
    right: 14px;
    bottom: 14px;
    padding: 8px 10px;
    font-size: 0.66rem;
  }
  .cn-atlas__rail li b {
    font-size: 0.62rem;
  }

  /* Hero timeline tighter on mobile */
  .cn-hero__timeline {
    inset: auto 18px 18px 18px;
  }
  .cn-hero__timeline-label {
    font-size: 0.82rem;
  }
  .cn-hero__stage-eyebrow {
    left: 18px;
    top: 18px;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
  }
  .cn-hero__scrollhint {
    top: 18px;
    right: 18px;
    font-size: 0.62rem;
  }
}

@media (max-width: 760px) {
  .cn-nav {
    grid-template-columns: auto auto;
    gap: 12px;
  }
  .cn-nav__cta span { display: none; }
  .cn-nav__cta { padding: 10px; }
  .cn-nav__cta svg { width: 16px; height: 16px; }

  .cn-hero {
    padding-top: 24px;
  }

  .cn-hero__title {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .cn-hero__note { max-width: 100%; }

  .cn-hero__stage,
  .cn-hero__stage-frame {
    min-height: clamp(320px, 56vw, 460px);
  }

  .cn-stage {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cn-stage__numwrap {
    flex-direction: row;
    display: flex;
    align-items: baseline;
    gap: 16px;
  }

  .cn-stage__verb {
    font-size: clamp(2.4rem, 13vw, 3.8rem);
  }

  .cn-stage__media {
    aspect-ratio: 16 / 10;
  }

  .cn-runway__row {
    grid-template-columns: 1fr auto;
    gap: 12px 16px;
    align-items: start;
  }

  .cn-runway__step {
    grid-column: 1 / 2;
    align-self: center;
  }

  .cn-runway__arrow {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: center;
    width: 48px;
    height: 48px;
  }

  .cn-runway__verb {
    grid-column: 1 / 3;
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .cn-runway__copy { grid-column: 1 / 3; }

  .cn-faq__item summary { font-size: 1.05rem; padding: 22px 0; }

  .cn-access__title { font-size: clamp(2.4rem, 11vw, 3.6rem); }

  .cn-footer__top { grid-template-columns: 1fr; gap: 24px; }

  .cn-footer__wordmark { font-size: clamp(4rem, 28vw, 7rem); }
}

/* ----- 17. Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .cn-marquee__track {
    animation-play-state: paused;
  }
  .cn-hero__line.is-visible em::after,
  [data-reveal].is-visible .cn-hero__line em::after {
    transform: scaleX(1);
  }
}
