/* ============================================================
   PAGE: NARRATIVE FRAMES
   10-section editorial methodology page.
   Sections: Hero, Bridge, Mechanism, Anatomy, Taxonomy,
             Method, Changes, Explorer, Research, CTA
   ============================================================ */

html {
  scroll-behavior: smooth;
}

/* --- Annotation colours (Frame Anatomy) --- */
:root {
  --nf-blue:    #4A90D9;
  --nf-orange:  #E67E22;
  --nf-gold:    #D4A017;
}


/* ============================================================
   1. HERO
   ============================================================ */
.nf-hero {
  background: var(--color-blue);
  color: var(--color-white);
  min-height: 80vh;
  display: flex;
  flex-direction: column;
}

.nf-hero__body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(6rem, 10vw, 10rem) var(--site-gutter) clamp(4rem, 8vw, 8rem);
}

.nf-hero__content {
  max-width: 820px;
}

.nf-hero__eyebrow {
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  font-size: clamp(0.75rem, 0.9vw, 0.85rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin-bottom: var(--space-sm);
  opacity: 0;
  transform: translateY(1.5rem);
  animation: nfFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.nf-hero__title {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  opacity: 0;
  transform: translateY(1.5rem);
  animation: nfFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.nf-hero__title em {
  font-style: italic;
}

.nf-hero__dot {
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  background: var(--color-yellow);
  border-radius: 50%;
  margin-left: 0.15em;
  vertical-align: baseline;
  position: relative;
  top: -0.08em;
}

.nf-hero__subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.06rem, 1.5vw, 1.3rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  opacity: 0;
  transform: translateY(1.5rem);
  animation: nfFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

/* Hero CTA group */
.nf-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  opacity: 0;
  transform: translateY(1.5rem);
  animation: nfFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.nf-hero__btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  padding: 0.7em 1.8em;
  background: var(--color-yellow);
  color: var(--color-black);
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nf-hero__btn:hover {
  transform: scale(1.06);
}

.nf-hero__link {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 0.15em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nf-hero__link:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
}

.nf-hero__credential {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 0.95vw, 0.88rem);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(1.5rem);
  animation: nfFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}

@keyframes nfFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ============================================================
   2. BRIDGE (The Language Gap)
   ============================================================ */
.nf-bridge {
  background: var(--color-white);
  color: var(--color-black);
  padding: clamp(4rem, 8vw, 8rem) var(--site-gutter);
}

.nf-bridge__inner {
  max-width: 780px;
  margin: 0 auto;
}

.nf-bridge__heading {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
}

.nf-bridge__body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--grey-700);
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.nf-bridge__intro {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.7;
  color: var(--grey-700);
  margin-bottom: 1.2em;
}

.nf-bridge__intro:last-of-type {
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

/* --- Bridge diagram (crossfade images) --- */
.nf-bridge__diagram {
  position: relative;
  max-width: 720px;
  margin: 0 auto clamp(2rem, 3vw, 3rem);
}

.nf-bridge__diagram img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
}

.nf-bridge__diagram-after {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.nf-bridge__diagram.is-revealed .nf-bridge__diagram-after {
  opacity: 1;
}

.nf-bridge__caption {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  color: var(--grey-600);
  text-align: center;
  margin-top: var(--space-sm);
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

/* --- Stat beats --- */
.nf-bridge__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 0;
  text-align: center;
  border-bottom: 3px solid var(--color-yellow);
}

.nf-bridge__stat {
  display: flex;
  flex-direction: column;
}

.nf-bridge__stat-number {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-yellow);
}

.nf-bridge__stat-label,
.nf-bridge__stat-text {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  line-height: 1.55;
  color: var(--grey-700);
  margin: var(--space-xs) auto 0;
}

/* --- Kicker --- */
.nf-bridge__kicker {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.3;
  color: var(--color-black);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding-top: clamp(2rem, 3.5vw, 3rem);
  border-top: 3px solid var(--color-yellow);
}


/* ============================================================
   3. MECHANISM
   ============================================================ */
.nf-mechanism {
  background: var(--color-white);
  color: var(--color-black);
  padding: clamp(4rem, 8vw, 8rem) var(--site-gutter);
}

.nf-mechanism__inner {
  max-width: 780px;
  margin: 0 auto;
}

.nf-mechanism__heading {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
}

.nf-mechanism__body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--grey-700);
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

/* Four properties grid — breaks out wider than the body text column */
.nf-mechanism__properties {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  width: min(1100px, calc(100vw - (var(--site-gutter) * 2)));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.nf-mechanism__property {
  min-width: 0;
}

.nf-mechanism__property {
  padding: clamp(1.2rem, 2vw, 1.5rem);
  background: var(--grey-100);
  border-radius: 0.75rem;
}

.nf-mechanism__property-label {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  margin-bottom: 0.3rem;
}

.nf-mechanism__property-desc {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.05vw, 0.95rem);
  line-height: 1.55;
  color: var(--grey-700);
}

/* Pivot line */
.nf-mechanism__pivot {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.35;
  color: var(--color-black);
  text-align: center;
  max-width: 760px;
  margin: clamp(3.6rem, 6vw, 5.4rem) auto 0;
  padding: 0;
  border-top: none;
}


/* ============================================================
   4. FRAME ANATOMY (kept verbatim from existing)
   ============================================================ */
.nf-anatomy {
  background: var(--grey-100);
  color: var(--color-black);
  padding: clamp(4rem, 8vw, 8rem) var(--site-gutter);
}

.nf-anatomy__inner {
  max-width: 860px;
  margin: 0 auto;
}

.nf-anatomy__heading {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

.nf-anatomy__lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--grey-700);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* --- The exhibit --- */
.nf-anatomy__exhibit {
  background: var(--color-white);
  border-radius: 1.2rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: clamp(2rem, 3vw, 2.5rem);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* The quote */
.nf-anatomy__quote {
  font-family: 'Courier New', Courier, monospace;
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 2.2;
  color: var(--color-black);
  margin: 0;
  padding: 0;
  border: none;
}

.nf-anatomy__quote p {
  margin: 0 0 1.2em 0;
}

.nf-anatomy__quote p:last-child {
  margin-bottom: 0;
}

/* --- Annotation marks --- */
.nf-mark {
  position: relative;
  padding-bottom: 4px;
}

/* The animated underline */
.nf-mark::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 1.5px;
  background: transparent;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background-color 0s linear 0.6s;
}

/* Colour assignments */
.nf-mark--metaphor::after  { background: var(--nf-blue); }
.nf-mark--entailment::after { background: var(--nf-orange); }
.nf-mark--analogy::after    { background: var(--nf-gold); }

/* Active states -- draw in with staggered delay via --mark-i */
.nf-anatomy__exhibit[data-step="1"] .nf-mark--metaphor::after,
.nf-anatomy__exhibit[data-step="2"] .nf-mark--metaphor::after,
.nf-anatomy__exhibit[data-step="3"] .nf-mark--metaphor::after {
  transform: scaleX(1);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94)
              calc(var(--mark-i, 0) * 0.12s);
}

.nf-anatomy__exhibit[data-step="2"] .nf-mark--entailment::after,
.nf-anatomy__exhibit[data-step="3"] .nf-mark--entailment::after {
  transform: scaleX(1);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94)
              calc(var(--mark-i, 0) * 0.15s);
}

.nf-anatomy__exhibit[data-step="3"] .nf-mark--analogy::after {
  transform: scaleX(1);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94)
              calc(var(--mark-i, 0) * 0.12s);
}

/* --- Legend --- */
.nf-anatomy__legend {
  display: flex;
  gap: 2rem;
  margin-top: clamp(1.5rem, 2.5vw, 2rem);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nf-anatomy__exhibit[data-step="1"] ~ .nf-anatomy__legend,
.nf-anatomy__exhibit[data-step="2"] ~ .nf-anatomy__legend,
.nf-anatomy__exhibit[data-step="3"] ~ .nf-anatomy__legend,
.nf-anatomy__exhibit[data-step="1"] .nf-anatomy__legend,
.nf-anatomy__exhibit[data-step="2"] .nf-anatomy__legend,
.nf-anatomy__exhibit[data-step="3"] .nf-anatomy__legend {
  opacity: 1;
}

.nf-anatomy__legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: 0.85rem;
  color: var(--grey-600);
}

.nf-anatomy__legend-swatch {
  width: 24px;
  height: 3px;
  border-radius: 2px;
}

.nf-anatomy__legend-swatch--metaphor  { background: var(--nf-blue); }
.nf-anatomy__legend-swatch--entailment { background: var(--nf-orange); }
.nf-anatomy__legend-swatch--analogy    { background: var(--nf-gold); }

/* --- Mobile step buttons --- */
.nf-anatomy__steps {
  display: none;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.nf-anatomy__step-btn {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: 0.82rem;
  padding: 0.45em 1.1em;
  border-radius: 50px;
  border: 1.5px solid var(--grey-300);
  background: transparent;
  color: var(--grey-600);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nf-anatomy__step-btn.is-active {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.nf-anatomy__step-btn:hover:not(.is-active) {
  border-color: var(--grey-500);
}

/* --- Explanation text --- */
.nf-anatomy__explanations {
  position: relative;
  min-height: 5rem;
}

.nf-anatomy__explanation {
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.nf-anatomy__explanation.is-visible {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}

.nf-anatomy__explanation p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--grey-700);
  margin: 0;
}

/* Closing line after anatomy explanations */
.nf-anatomy__closing {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--grey-700);
  margin-top: clamp(1.5rem, 2.5vw, 2rem);
}


/* ============================================================
   5. TAXONOMY
   ============================================================ */
.nf-taxonomy {
  background: var(--color-white);
  color: var(--color-black);
  padding: clamp(4rem, 8vw, 8rem) var(--site-gutter);
  overflow: visible;
  max-height: none;
}

/* Remove the old fade-out pseudo-element */
.nf-taxonomy::after {
  display: none;
}

.nf-taxonomy__inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
}

.nf-taxonomy__heading {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-sm);
  text-align: center;
}

.nf-taxonomy__lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--grey-700);
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* --- Frame card carousel (playing-card horizontal swipe) --- */
.nf-taxonomy__carousel {
  --proximity-radius: 25;        /* px */
  --proximity-curve: smoothstep;
  --approach-time: 50;           /* ms */
  --settle-time: 400;            /* ms */
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  margin: clamp(2rem, 3vw, 3rem) auto;
  padding: 1rem 0;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.nf-taxonomy__carousel:active {
  cursor: grabbing;
}

.nf-taxonomy__carousel:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 4px;
  border-radius: 0.5rem;
}

/* @property declarations let --state-scale and --state-rotate animate via
   CSS transitions (state-class changes), while --mx / --my / --active stay
   un-typed so JS-driven per-frame updates do NOT trigger transitions. */
@property --state-scale  { syntax: '<number>'; initial-value: 1;     inherits: false; }
@property --state-rotate { syntax: '<angle>';  initial-value: 0deg;  inherits: false; }

.nf-taxonomy__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  /* Perspective lives on the track so each card tilts inside a shared
     vanishing point, not its own. */
  perspective: 1400px;
}

.nf-taxonomy__track.is-dragging {
  transition: none;
}

.nf-taxonomy__card {
  /* --- locked tunable defaults (12) --- */
  --tilt-max: 9.5;          /* deg */
  --lift: 16;               /* px */
  --content-parallax: 12;   /* px */
  --glow-strength: 0.27;
  --glow-size: 54;          /* % */
  --iri-strength: 0.09;
  --iri-saturation: 0.64;
  --iri-band: 35;           /* % */
  --rim-strength: 0.40;
  --noise-opacity: 0.15;
  --noise-scale: 1.65;
  --shadow-strength: 0.41;

  /* --- runtime state (set by JS, but with rest defaults so first paint is sane) --- */
  --mx: 0.5;
  --my: 0.5;
  --mxp: 50%;
  --myp: 50%;
  --active: 0;

  /* --- per-variant colour, set by .nf-taxonomy__card--<frame> below --- */
  --bg-from: #B6272E;
  --bg-to:   #8e1e23;

  /* --- state transition properties: set by .is-*  classes,
         transitioned smoothly via @property declarations above. --- */
  --state-scale: 0.88;
  --state-rotate: 0deg;

  flex: 0 0 280px;
  min-height: 400px;
  padding: clamp(2rem, 3vw, 2.5rem);
  border-radius: 1rem;
  text-decoration: none;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  position: relative;
  transform-style: preserve-3d;
  background: linear-gradient(160deg, var(--bg-from) 0%, var(--bg-to) 100%);
  transition: --state-scale  0.5s cubic-bezier(0.16, 1, 0.3, 1),
              --state-rotate 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity        0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.5;
  pointer-events: none;
  /* Composite transform: state (scale + rotate) on the outside, holo tilt
     (rotateY/X + translateZ) on the inside. Custom properties without
     @property declarations animate per-frame without CSS transitions. */
  transform:
    scale(var(--state-scale))
    rotate(var(--state-rotate))
    rotateY(calc((var(--mx) - 0.5) * 2 * var(--tilt-max) * 1deg * var(--active)))
    rotateX(calc((0.5 - var(--my)) * 2 * var(--tilt-max) * 1deg * var(--active)))
    translateZ(calc(var(--lift) * var(--active) * 1px));
  box-shadow:
    0 calc(8px + 16px * var(--active))
    calc(20px + 32px * var(--active))
    rgba(0, 0, 0, calc(0.18 + var(--shadow-strength) * 0.5 * var(--active)));
}

.nf-taxonomy__card.is-active {
  --state-scale: 1;
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}

.nf-taxonomy__card.is-adjacent {
  --state-scale: 0.88;
  opacity: 0.5;
  z-index: 2;
  pointer-events: auto;
}

.nf-taxonomy__card.is-hidden {
  --state-scale: 0.88;
  opacity: 0;
  z-index: 1;
}

.nf-taxonomy__card.is-edge-left,
.nf-taxonomy__card.is-edge-right {
  opacity: 0.45;
  z-index: 1;
  pointer-events: none;
}
.nf-taxonomy__card.is-edge-left  { --state-scale: 0.78; --state-rotate: -6deg; }
.nf-taxonomy__card.is-edge-right { --state-scale: 0.78; --state-rotate:  6deg; }

/* Hover lift is now handled by the holo tilt's translateZ (--lift * --active);
   no separate transform-based hover rule needed. Keep the box-shadow boost. */
.nf-taxonomy__card.is-active:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* Card colour variants */
.nf-taxonomy__card--war           { --bg-from: #B6272E; --bg-to: #8e1e23; }
.nf-taxonomy__card--journey       { --bg-from: #00A1DE; --bg-to: #0078a8; }
.nf-taxonomy__card--machine       { --bg-from: #003643; --bg-to: #00222b; }
.nf-taxonomy__card--natural-world { --bg-from: #86A624; --bg-to: #67801b; }
.nf-taxonomy__card--mythical      { --bg-from: #7F2B6E; --bg-to: #5a1d4f; }

.nf-taxonomy__card-tilt {
  /* The tilt transform now lives on .nf-taxonomy__card itself so the whole
     coloured card shape rotates as a unit. This wrapper stays as a passive
     fill so the absolute-positioned overlays inside have a containing
     block, but it does no transform of its own. */
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.nf-taxonomy__card-tilt > * {
  pointer-events: auto;
}

.nf-taxonomy__card-iri {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: color-dodge;
  opacity: calc(var(--iri-strength) * var(--active));
  background:
    conic-gradient(
      from calc(var(--mx) * 360deg) at var(--mxp) var(--myp),
      hsl(0   calc(var(--iri-saturation) * 100%) 60%) 0%,
      hsl(50  calc(var(--iri-saturation) * 100%) 60%) 16%,
      hsl(120 calc(var(--iri-saturation) * 100%) 55%) 33%,
      hsl(180 calc(var(--iri-saturation) * 100%) 55%) 50%,
      hsl(220 calc(var(--iri-saturation) * 100%) 60%) 66%,
      hsl(290 calc(var(--iri-saturation) * 100%) 60%) 83%,
      hsl(360 calc(var(--iri-saturation) * 100%) 60%) 100%
    );
  -webkit-mask: radial-gradient(
    circle at var(--mxp) var(--myp),
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.95) calc(var(--iri-band) * 0.3 * 1%),
    rgba(0,0,0,0.4) calc(var(--iri-band) * 1%),
    rgba(0,0,0,0) calc(var(--iri-band) * 1.6 * 1%)
  );
          mask: radial-gradient(
    circle at var(--mxp) var(--myp),
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.95) calc(var(--iri-band) * 0.3 * 1%),
    rgba(0,0,0,0.4) calc(var(--iri-band) * 1%),
    rgba(0,0,0,0) calc(var(--iri-band) * 1.6 * 1%)
  );
}

.nf-taxonomy__card-spec {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: calc(var(--active));
  background: radial-gradient(
    circle at var(--mxp) var(--myp),
    rgba(255, 255, 255, calc(var(--glow-strength) * 1.2)) 0%,
    rgba(255, 255, 255, calc(var(--glow-strength) * 0.5)) calc(var(--glow-size) * 0.4 * 1%),
    rgba(255, 255, 255, 0) calc(var(--glow-size) * 1.2 * 1%)
  );
}

.nf-taxonomy__card-rim {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: calc(var(--rim-strength) * var(--active));
  background: linear-gradient(
    calc((var(--mx) - 0.5) * 180deg + 90deg),
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,0) 65%,
    rgba(0,0,0,0.10) 100%
  );
}

.nf-taxonomy__card-noise {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: calc(160px / var(--noise-scale)) calc(160px / var(--noise-scale));
}

.nf-taxonomy__card-content {
  position: absolute;
  inset: 0;
  padding: clamp(2rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  z-index: 5;
  transform: translateZ(calc(var(--content-parallax) * var(--active) * 1px));
  /* No CSS transition - JS lerps --active each frame. */
}

.nf-taxonomy__card-name {
  display: block;
  height: auto;
  max-width: 100%;
  max-height: 1.5rem;
  width: auto;
  margin-bottom: 0.75rem;
  object-fit: contain;
  object-position: left;
  letter-spacing: 0.02em;
}

.nf-taxonomy__card-desc {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 1rem;
  flex: 1;
}

.nf-taxonomy__card-example {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.88rem, 1vw, 0.95rem);
  opacity: 0.65;
  margin-bottom: 1.5rem;
}

.nf-taxonomy__card-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  font-size: clamp(0.82rem, 0.95vw, 0.9rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.7;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0.15em;
  margin-top: auto;
}

.nf-taxonomy__card.is-active:hover .nf-taxonomy__card-link {
  opacity: 1;
  border-bottom-color: rgba(255, 255, 255, 0.8);
}

/* --- Pill strip (always visible, fading to white) --- */
.nf-taxonomy__pills-wrap {
  position: relative;
  max-height: clamp(180px, 20vw, 240px);
  overflow: hidden;
  margin-top: clamp(3rem, 5vw, 5rem);
}

.nf-taxonomy__pills-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent 0%, var(--color-white) 100%);
  pointer-events: none;
  z-index: 1;
}

.nf-taxonomy__pills {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 1vw, 0.75rem);
  align-items: center;
}

.nf-taxonomy__pills img {
  height: clamp(32px, 4vw, 44px);
  width: auto;
  display: block;
}

/* --- CTA button --- */
.nf-taxonomy__cta {
  text-align: center;
  margin-top: clamp(2rem, 3vw, 3rem);
}

.nf-taxonomy__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 2.2em;
  background: var(--color-yellow);
  color: var(--color-black);
  border: none;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nf-taxonomy__cta-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(245, 197, 24, 0.35);
}

.nf-taxonomy__cta-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .nf-taxonomy__track,
  .nf-taxonomy__card {
    transition: none;
  }
}


/* ============================================================
   6. METHOD
   ============================================================ */
.nf-method {
  background: var(--color-navy);
  color: var(--color-white);
  padding: clamp(4rem, 8vw, 8rem) var(--site-gutter);
}

.nf-method__inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
}

.nf-method__heading {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-sm);
}

.nf-method__lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

/* --- Cards --- */
.nf-method__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  margin-bottom: clamp(2rem, 3vw, 3rem);
}

.nf-method__card {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 1.2rem;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  position: relative;
  transition: background 0.3s ease;
}

.nf-method__card:hover {
  background: rgba(255, 255, 255, 0.11);
}

.nf-method__card-number {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-yellow);
  margin-bottom: var(--space-sm);
}

.nf-method__card-title {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  margin-bottom: 0.75rem;
}

.nf-method__card-body {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
}

.nf-method__card-deliverable {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.02vw, 0.92rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nf-method__footer {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(255, 255, 255, 0.65);
}


/* ============================================================
   7. WHAT THIS CHANGES
   ============================================================ */

/* --- Top: dark statements --- */
.nf-changes__statements {
  background: var(--color-blue);
  color: var(--color-white);
  padding: clamp(4rem, 8vw, 8rem) var(--site-gutter);
}

.nf-changes__statements-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3.5vw, 3rem);
}

.nf-changes__statement {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-align: center;
}

/* --- Bottom: comparison table --- */
.nf-changes__comparison {
  background: var(--color-white);
  color: var(--color-black);
  padding: clamp(3rem, 6vw, 5rem) var(--site-gutter);
  position: relative;
}

.nf-changes__comparison::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-blue), var(--color-white));
  pointer-events: none;
}

.nf-changes__comparison-inner {
  max-width: 860px;
  margin: 0 auto;
}

.nf-changes__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: clamp(2rem, 3vw, 3rem);
}

.nf-changes__table th {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(0.82rem, 0.95vw, 0.9rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  padding: 0 0 var(--space-sm) 0;
  border-bottom: 2px solid var(--grey-200);
  color: var(--grey-600);
}

.nf-changes__table th:first-child {
  width: 48%;
  padding-right: var(--space-md);
}

.nf-changes__table td {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.6;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--grey-200);
  vertical-align: top;
}

.nf-changes__table td:first-child {
  color: var(--grey-600);
  padding-right: var(--space-md);
}

.nf-changes__table td:last-child {
  color: var(--color-black);
  font-weight: var(--font-weight-medium);
}

.nf-changes__closing {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}


/* ============================================================
   8. EXPLORER CTA
   ============================================================ */
.nf-explorer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: clamp(4rem, 8vw, 7rem) var(--site-gutter);
  position: relative;
  overflow: hidden;
}

.nf-explorer::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -15%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(20, 54, 188, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.nf-explorer::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 50%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(245, 197, 24, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.nf-explorer__inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.nf-explorer__eyebrow {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 0.9vw, 0.85rem);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin-bottom: 0.75rem;
}

.nf-explorer__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.nf-explorer__body {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  line-height: 1.65;
  max-width: 600px;
  opacity: 0.8;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

/* Pills sample */
.nf-explorer__preview {
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.nf-explorer__pills-sample {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.6rem;
  max-width: 800px;
  margin: 0 auto clamp(1.5rem, 2.5vw, 2rem);
}

.nf-explorer__pills-sample a {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.nf-explorer__pills-sample img {
  height: clamp(36px, 5vw, 52px);
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nf-explorer__pills-sample a:hover img,
.nf-explorer__pills-sample a:focus-visible img {
  opacity: 1;
  transform: scale(1.08);
}

/* Stats row */
.nf-explorer__stats {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.nf-explorer__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.nf-explorer__stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-yellow);
}

.nf-explorer__stat-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.55;
}

/* CTA button */
.nf-explorer__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 2.2em;
  background: var(--color-yellow);
  color: var(--color-black);
  border: none;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s ease;
}

.nf-explorer__btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(245, 197, 24, 0.35);
}

.nf-explorer__btn-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}


/* ============================================================
   9. RESEARCH
   ============================================================ */
.nf-research {
  background: var(--color-white);
  color: var(--color-black);
  padding: clamp(4rem, 8vw, 8rem) var(--site-gutter);
  position: relative;
  overflow: hidden;
}

.nf-research__inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.nf-research__text {
  max-width: 620px;
}

.nf-research__text > * + .nf-research__body {
  margin-top: 1em;
}

.nf-research__heading {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-sm);
}

.nf-research__body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--color-black);
}

/* --- Pill buttons --- */
.nf-research__pills {
  display: flex;
  gap: 0.8em;
  flex-wrap: wrap;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 0;
}

.nf-research__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(0.85rem, 1vw, 1rem);
  padding: 0.7em 1.6em;
  background-color: var(--color-yellow);
  color: var(--color-black);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

a.nf-research__pill:hover {
  transform: scale(1.06);
}

/* Arrow chevron inside pill */
.nf-research__pill-arrow {
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  border-top: 2.5px solid var(--color-black);
  border-right: 2.5px solid var(--color-black);
  transform: rotate(45deg);
  position: relative;
  top: -0.05em;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

a.nf-research__pill:hover .nf-research__pill-arrow {
  transform: rotate(45deg) translateX(2px) translateY(-2px);
}

/* --- Photo (full-bleed background) --- */
.nf-research__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  border-radius: 0;
  max-width: none;
  overflow: hidden;
}

.nf-research__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 900px) {
  .nf-research {
    padding: 0 0 clamp(3rem, 7vw, 4.5rem);
  }
  .nf-research::before {
    display: none;
  }
  .nf-research__photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
  }
  .nf-research__photo img {
    object-position: center center;
  }
  .nf-research__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: clamp(2rem, 6vw, 2.8rem) var(--site-gutter) 0;
  }
  .nf-research__text {
    max-width: 100%;
  }
  .nf-research__pills {
    margin-top: clamp(1.5rem, 4vw, 2rem);
  }
}


/* ============================================================
   10. FINAL CTA
   ============================================================ */
.nf-cta {
  background: var(--color-blue);
  color: var(--color-white);
  padding: clamp(4rem, 8vw, 7rem) var(--site-gutter);
  text-align: center;
}

.nf-cta__inner {
  max-width: 880px;
  margin: 0 auto;
}

.nf-cta__heading {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-sm);
}

.nf-cta__body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.nf-cta__btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  padding: 0.7em 1.8em;
  background: var(--color-yellow);
  color: var(--color-black);
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nf-cta__btn:hover {
  transform: scale(1.06);
}

.nf-cta__link {
  display: block;
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.15em;
  display: inline-block;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nf-cta__link:hover {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.45);
}


/* ============================================================
   RESPONSIVE: TABLET / MOBILE (768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Hero */
  .nf-hero {
    min-height: auto;
  }

  .nf-hero__body {
    padding-top: clamp(5rem, 14vw, 7rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
  }

  .nf-hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  /* Bridge: show after image immediately on mobile */
  .nf-bridge__diagram-after {
    opacity: 1;
  }

  /* Stats: stack to single column */
  .nf-bridge__stats {
    grid-template-columns: 1fr;
  }

  /* Mechanism: single column properties */
  .nf-mechanism__properties {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Anatomy: show step buttons, disable scroll */
  .nf-anatomy__steps {
    display: flex;
  }

  .nf-anatomy__legend {
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Method: stack cards */
  .nf-method__cards {
    grid-template-columns: 1fr;
  }

  /* Changes: comparison table as stacked cards */
  .nf-changes__table,
  .nf-changes__table thead,
  .nf-changes__table tbody,
  .nf-changes__table tr,
  .nf-changes__table th,
  .nf-changes__table td {
    display: block;
  }

  .nf-changes__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .nf-changes__table tr {
    background: var(--grey-100);
    border-radius: 0.75rem;
    padding: var(--space-sm);
    margin-bottom: var(--space-sm);
  }

  .nf-changes__table td {
    border-bottom: none;
    padding: 0.25rem 0;
  }

  .nf-changes__table td:first-child {
    padding-right: 0;
    font-size: clamp(0.85rem, 1vw, 0.92rem);
    margin-bottom: 0.25rem;
  }

  .nf-changes__table td:first-child::before {
    content: 'Instead of: ';
    font-weight: var(--font-weight-semibold);
    color: var(--grey-500);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 0.15rem;
  }

  .nf-changes__table td:last-child::before {
    content: 'We: ';
    font-weight: var(--font-weight-semibold);
    color: var(--color-blue);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 0.15rem;
  }

  /* Explorer stats */
  .nf-explorer__stats {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .nf-anatomy__quote {
    font-size: 0.95rem;
    line-height: 2;
  }

  .nf-anatomy__exhibit {
    padding: 1.5rem;
  }

  .nf-bridge__stat-number {
    font-size: clamp(3rem, 14vw, 5rem);
  }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

  /* Hero entrance */
  .nf-hero__eyebrow,
  .nf-hero__title,
  .nf-hero__subtitle,
  .nf-hero__actions,
  .nf-hero__credential {
    animation: none;
    opacity: 1;
    transform: none;
  }

  /* Bridge crossfade: show completed state */
  .nf-bridge__diagram-after {
    opacity: 1;
    transition: none;
  }

  /* Annotation marks */
  .nf-mark::after {
    transition: none;
  }

  /* Anatomy explanations */
  .nf-anatomy__explanation {
    transition: none;
  }

  .nf-anatomy__legend {
    transition: none;
  }
}
