/* ============================================================
   ELLIE Strategy D — "The Machine That Feels"
   Walsh / Sagmeister / Carson
   ============================================================ */

/* --- Custom Properties --- */
:root {
  /* Palette — base darkness */
  --bg: #0a0a0a;
  --text: #f0ece4;
  --text-muted: rgba(240, 236, 228, 0.45);
  --text-dim: rgba(240, 236, 228, 0.2);

  /* Color eruptions */
  --coral: #e85d3a;
  --coral-dark: #c44a2e;
  --gold: #d4a24c;
  --gold-muted: rgba(212, 162, 76, 0.6);
  --teal: #2dd4a8;
  --teal-muted: rgba(45, 212, 168, 0.5);
  --cta-red: #c4424b;
  --warm-bg: #f0ece4;
  --warm-text: #1a1a18;

  /* Typography */
  --font-clash: 'Clash Display', 'Satoshi', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Zodiak', Georgia, serif;
  --font-body: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;
  --font-hand: 'Caveat', cursive;

  /* Scale */
  --text-mega: clamp(4.5rem, 12vw, 12rem);
  --text-hero: clamp(3rem, 7vw, 7rem);
  --text-display: clamp(2.5rem, 5vw, 5rem);
  --text-statement: clamp(1.8rem, 3vw, 3.2rem);
  --text-large: clamp(1.4rem, 2vw, 2rem);
  --text-body: clamp(1rem, 1.2vw, 1.2rem);
  --text-caption: clamp(0.75rem, 0.9vw, 0.85rem);

  /* Spacing */
  --gutter: clamp(1.5rem, 5vw, 6rem);
  --content-max: 68ch;
  --content-narrow: 52ch;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --- Reset overrides --- */
html {
  scroll-behavior: auto !important;
  overflow-x: hidden;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(232, 93, 58, 0.3);
  color: var(--text);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transition: background 0.6s var(--ease-out);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav > * { pointer-events: auto; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
}

.nav-logo span {
  font-family: var(--font-clash);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-logo__img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-cta {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
}

.nav-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-cta a {
  display: inline-block;
  padding: 0.5rem 1.4rem;
  background: var(--coral);
  color: var(--bg);
  border: none;
  border-radius: 0;
  text-decoration: none;
  font-family: var(--font-clash);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease-out), transform 0.2s var(--ease-out);
}

.nav-cta a:hover {
  background: #ff6b47;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text);
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 0.2s;
}

.nav-hamburger span::before,
.nav-hamburger span::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: absolute;
  left: 0;
  transition: transform 0.3s var(--ease-out);
}

.nav-hamburger span::before { top: -7px; }
.nav-hamburger span::after { top: 7px; }

.nav-hamburger.open span { background: transparent; }
.nav-hamburger.open span::before { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span::after { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-overlay a {
  font-family: var(--font-clash);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease-out);
}

.mobile-overlay a:hover { opacity: 1; }

@media (max-width: 639px) {
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.1) 30%,
    rgba(10, 10, 10, 0.2) 60%,
    rgba(10, 10, 10, 0.85) 100%
  );
}

/* Hero text — MASSIVE, Carson-scale */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--gutter);
  width: 100%;
}

.hero__title {
  font-family: var(--font-clash);
  font-size: clamp(4rem, 14vw, 16rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  mix-blend-mode: difference;
}

.hero__title .accent-dot {
  color: var(--coral);
  mix-blend-mode: normal;
}

.hero__scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 50px;
  overflow: hidden;
}

.hero__scroll-cue::after {
  content: '';
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--text));
  animation: scrollPulse 2s var(--ease-out) infinite;
}

@keyframes scrollPulse {
  0% { transform: translateY(-100%); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* ============================================================
   SECTIONS — base block system
   ============================================================ */
.block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: clamp(4rem, 8vh, 8rem) var(--gutter);
  transition: background-color 0.8s var(--ease-in-out), color 0.8s var(--ease-in-out);
}

.block--full { min-height: 70vh; }
.block--tall { min-height: 60vh; }
.block--compact { min-height: auto; padding: clamp(3rem, 6vh, 6rem) var(--gutter); }

.block__inner {
  max-width: var(--content-max);
  width: 100%;
}

.block__inner--narrow { max-width: var(--content-narrow); }

.block__inner--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============================================================
   COLOR ERUPTIONS
   ============================================================ */
.eruption-coral {
  background-color: var(--coral);
  color: var(--text);
}

.eruption-coral .text-body { color: rgba(240, 236, 228, 0.85); }

.eruption-gold {
  background-color: var(--gold);
  color: var(--bg);
}

.eruption-gold .text-body { color: rgba(10, 10, 10, 0.75); }
.eruption-gold .text-display,
.eruption-gold .text-clash { color: var(--bg); }

.eruption-teal {
  background-color: var(--teal);
  color: var(--bg);
}

.eruption-teal .text-body { color: rgba(10, 10, 10, 0.75); }
.eruption-teal .text-display,
.eruption-teal .text-clash { color: var(--bg); }

/* The Origin inversion — warm paper */
.eruption-warm {
  background-color: var(--warm-bg);
  color: var(--warm-text);
}

.eruption-warm .text-body { color: rgba(26, 26, 24, 0.7); }
.eruption-warm .text-hand { color: var(--warm-text); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

/* Clash Display — bold, geometric, Carson-energy headlines */
.text-clash {
  font-family: var(--font-clash);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.text-clash--mega {
  font-size: var(--text-mega);
  line-height: 0.85;
}

.text-clash--hero {
  font-size: var(--text-hero);
  line-height: 0.9;
}

.text-clash--display {
  font-size: var(--text-display);
  line-height: 0.95;
}

/* Zodiak — editorial, philosophical */
.text-display {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.text-statement {
  font-family: var(--font-display);
  font-size: var(--text-statement);
  font-weight: 400;
  line-height: 1.25;
}

.text-large {
  font-family: var(--font-display);
  font-size: var(--text-large);
  font-weight: 400;
  line-height: 1.35;
}

.text-body {
  font-size: var(--text-body);
  line-height: 1.75;
  color: rgba(240, 236, 228, 0.75);
}

/* Handwritten — Sagmeister confessional */
.text-hand {
  font-family: var(--font-hand);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* Stat number */
.stat-number {
  font-family: var(--font-clash);
  font-size: clamp(5rem, 16vw, 18rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: var(--text-body);
  color: var(--text-muted);
  margin-top: 0.5rem;
  letter-spacing: 0.03em;
}

/* Color accents on text */
.accent-coral { color: var(--coral); }
.accent-gold { color: var(--gold); }
.accent-teal { color: var(--teal); }

/* Carson treatment: word that breaks expectation */
.type-shrink {
  display: inline;
  transition: font-size 0.6s var(--ease-out);
}

/* Sagmeister italic emphasis */
.zodiak-italic {
  font-family: var(--font-display);
  font-style: italic;
}

/* ============================================================
   VISUAL SECTIONS (Image + Text compositions)
   ============================================================ */
.visual-block {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Full-bleed image with text overlay — Carson collision */
.visual-block__img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  display: block;
}

.visual-block__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.15) 30%,
    rgba(10, 10, 10, 0.4) 65%,
    rgba(10, 10, 10, 0.9) 100%
  );
}

.visual-block__text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--gutter);
  z-index: 2;
}

.visual-block__text p {
  text-shadow: 0 2px 30px rgba(10, 10, 10, 0.9), 0 1px 10px rgba(10, 10, 10, 0.7), 0 0 50px rgba(10, 10, 10, 0.5);
}

/* Sticky pinned image (from Strategy A but with Carson cropping) */
.visual-pin {
  position: relative;
  width: 100%;
}

.visual-pin__img-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.visual-pin__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-pin__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.2) 0%,
    rgba(10, 10, 10, 0.1) 25%,
    rgba(10, 10, 10, 0.2) 50%,
    rgba(10, 10, 10, 0.5) 75%,
    rgba(10, 10, 10, 0.85) 100%
  );
  pointer-events: none;
}

.visual-pin__text {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter);
}

.visual-pin__text p {
  text-shadow: 0 2px 30px rgba(10, 10, 10, 0.95), 0 1px 10px rgba(10, 10, 10, 0.8), 0 0 60px rgba(10, 10, 10, 0.6);
}

.visual-pin__text .block {
  min-height: 55vh;
}

/* ============================================================
   SENSORY MAP — typographic overlay on image
   ============================================================ */
.sensory-map {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.sensory-map__img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
  display: block;
}

.sensory-map__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
}

.sensory-map__words {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  pointer-events: none;
  z-index: 2;
}

.sensory-word {
  font-family: var(--font-clash);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.sensory-word.in-view {
  opacity: 1;
  transform: translateY(0);
}

.sensory-word:nth-child(1) { font-size: clamp(2.5rem, 7vw, 7rem); opacity: 0.9; color: var(--coral); }
.sensory-word:nth-child(2) { font-size: clamp(2rem, 5.5vw, 5rem); opacity: 0.7; margin-left: -15%; }
.sensory-word:nth-child(3) { font-size: clamp(3rem, 9vw, 9rem); opacity: 0.95; color: var(--gold); }
.sensory-word:nth-child(4) { font-size: clamp(1.8rem, 4.5vw, 4rem); opacity: 0.6; margin-left: 20%; }
.sensory-word:nth-child(5) { font-size: clamp(2.2rem, 6vw, 6rem); opacity: 0.8; }
.sensory-word:nth-child(6) { font-size: clamp(2.8rem, 8vw, 8rem); opacity: 0.85; color: var(--teal); }
.sensory-word:nth-child(7) { font-size: clamp(1.6rem, 4vw, 3.5rem); opacity: 0.55; margin-left: -10%; }

.sensory-word.in-view:nth-child(1) { opacity: 0.9; }
.sensory-word.in-view:nth-child(2) { opacity: 0.7; transition-delay: 80ms; }
.sensory-word.in-view:nth-child(3) { opacity: 0.95; transition-delay: 160ms; }
.sensory-word.in-view:nth-child(4) { opacity: 0.6; transition-delay: 240ms; }
.sensory-word.in-view:nth-child(5) { opacity: 0.8; transition-delay: 320ms; }
.sensory-word.in-view:nth-child(6) { opacity: 0.85; transition-delay: 400ms; }
.sensory-word.in-view:nth-child(7) { opacity: 0.55; transition-delay: 480ms; }

/* ============================================================
   SAGAN QUOTE
   ============================================================ */
.sagan-quote {
  font-family: var(--font-display);
  font-size: var(--text-statement);
  font-style: italic;
  color: var(--gold);
  line-height: 1.3;
}

.sagan-attribution {
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  color: var(--gold-muted);
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(2rem, 4vh, 3.5rem);
  padding: clamp(5rem, 10vh, 10rem) var(--gutter);
  min-height: 85vh;
  justify-content: center;
}

.cta-button {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--coral);
  color: var(--text);
  border: none;
  border-radius: 0;
  font-family: var(--font-clash);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(232, 93, 58, 0.35);
  background: #ff6b47;
}

.cta-button:active {
  transform: translateY(0);
}

.cta-secondary {
  display: flex;
  gap: var(--gutter);
  flex-wrap: wrap;
  justify-content: center;
}

.cta-secondary a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-clash);
  font-size: var(--text-caption);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s var(--ease-out);
}

.cta-secondary a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
  transition: opacity 0.3s var(--ease-out);
}

.cta-secondary a:hover { color: var(--text); }
.cta-secondary a:hover::after { opacity: 0.7; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 3rem var(--gutter);
  text-align: center;
  border-top: 1px solid rgba(240, 236, 228, 0.06);
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--text-caption);
  transition: color 0.3s var(--ease-out);
}

.footer a:hover { color: var(--text); }

.footer__row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__row + .footer__row { margin-top: 0.75rem; }

/* ============================================================
   SCROLL REVEALS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal].out-view {
  opacity: 0;
  transform: translateY(-15px);
}

[data-reveal-stagger] > [data-reveal] {
  transition-delay: calc(var(--stagger-index, 0) * 100ms);
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__scroll-cue::after { animation: none; }
  .sensory-word { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   TABLET
   ============================================================ */
@media (max-width: 768px) {
  .block { min-height: 40vh; }
  .block--full { min-height: 50vh; }
  .block--tall { min-height: 45vh; }
  .visual-pin__text .block { min-height: 40vh; }
  .stat-number { font-size: clamp(4rem, 18vw, 8rem); }
  .sensory-map__img { height: 70vh; }
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 639px) {

  :root {
    --gutter: 1.25rem;
  }

  /* Blocks — compact, content-driven */
  .block {
    min-height: auto;
    padding: 1.75rem var(--gutter);
  }

  .block--full {
    min-height: auto;
    padding: 2.25rem var(--gutter);
  }

  .block--tall {
    min-height: auto;
    padding: 1.75rem var(--gutter);
  }

  .block--compact {
    padding: 1.25rem var(--gutter);
  }

  .block--full .block__inner--center {
    padding: 0.5rem 0;
  }

  /* Hero */
  .hero__title {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  /* Clash scale-down */
  .text-clash--mega { font-size: clamp(3rem, 14vw, 5rem); }
  .text-clash--hero { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .text-clash--display { font-size: clamp(1.8rem, 8vw, 2.8rem); }

  /* Zodiak scale-down */
  .text-display { font-size: clamp(1.8rem, 7vw, 2.8rem); line-height: 1.2; }
  .text-statement { font-size: clamp(1.4rem, 5.5vw, 2rem); line-height: 1.3; }
  .text-large { font-size: clamp(1.2rem, 4.5vw, 1.6rem); line-height: 1.4; }
  .text-body { font-size: 1rem; line-height: 1.7; }
  .text-hand { font-size: clamp(1.2rem, 5vw, 1.8rem); }

  /* Stat */
  .stat-number { font-size: clamp(3.5rem, 22vw, 5rem); }

  /* Visual pins → stacked */
  .visual-pin { height: auto !important; }

  .visual-pin__img-wrap {
    position: relative;
    height: 55vh;
    height: 55svh;
  }

  .visual-pin__text {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding: 1.5rem var(--gutter) 2.5rem;
    background: var(--bg);
  }

  .visual-pin__text .block {
    min-height: auto;
    padding: 1rem 0;
  }

  .visual-pin__text .block:first-child { padding-top: 0; }
  .visual-pin__text p { text-shadow: none; }

  /* Sensory map */
  .sensory-map__img { height: 50vh; }
  .sensory-word { margin-left: 0 !important; }

  /* Visual blocks */
  .visual-block__img { height: 55vh; }

  /* CTA */
  .cta-section {
    min-height: auto;
    padding: 2.5rem var(--gutter);
    gap: 1.5rem;
  }

  .cta-secondary {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  /* Sagan */
  .sagan-quote { font-size: clamp(1.15rem, 4.5vw, 1.6rem); }

  /* Footer */
  .footer { padding: 2rem var(--gutter); }

}

/* ============================================================
   BLUEPRINT DIAGRAM
   ============================================================ */
.blueprint {
  width: 100%;
  padding: 0 var(--gutter) 3rem;
  overflow: hidden;
}

.blueprint__inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  max-height: 700px;
}

.bp-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(100px, 18vw, 150px);
  height: clamp(100px, 18vw, 150px);
  border-radius: 50%;
  border: 2px solid var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 93, 58, 0.08);
  z-index: 3;
}

.bp-core__label {
  font-family: var(--font-clash);
  font-size: clamp(0.55rem, 1.2vw, 0.8rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--coral);
  line-height: 1.3;
}

.bp-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
  z-index: 2;
}

.bp-node__icon {
  width: clamp(32px, 5vw, 48px);
  height: clamp(32px, 5vw, 48px);
  border-radius: 50%;
  border: 1.5px solid rgba(240, 236, 228, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240, 236, 228, 0.04);
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.bp-node__icon svg {
  width: 55%;
  height: 55%;
  color: var(--text);
  opacity: 0.7;
}

.bp-node__title {
  font-family: var(--font-clash);
  font-size: clamp(0.6rem, 1vw, 0.8rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  white-space: nowrap;
}

.bp-node__desc {
  font-size: clamp(0.5rem, 0.8vw, 0.7rem);
  color: var(--text-muted);
  line-height: 1.4;
}

/* Position nodes around the circle */
.bp-node--1 { top: 4%;  left: 50%; transform: translateX(-50%); }
.bp-node--2 { top: 18%; right: 5%; }
.bp-node--3 { top: 55%; right: 2%; }
.bp-node--4 { bottom: 4%; right: 20%; }
.bp-node--5 { bottom: 4%; left: 20%; }
.bp-node--6 { top: 55%; left: 2%; }
.bp-node--7 { top: 18%; left: 5%; }

/* Connecting lines from nodes to center */
.bp-node::before {
  content: '';
  position: absolute;
  background: rgba(240, 236, 228, 0.08);
  z-index: -1;
}

.bp-node--1::before { width: 1px; height: 120px; bottom: -120px; left: 50%; }
.bp-node--2::before { width: 100px; height: 1px; bottom: 50%; left: -90px; transform: rotate(-30deg); }
.bp-node--3::before { width: 100px; height: 1px; top: 30%; left: -90px; transform: rotate(15deg); }
.bp-node--4::before { width: 1px; height: 100px; top: -100px; left: 50%; transform: rotate(-20deg); }
.bp-node--5::before { width: 1px; height: 100px; top: -100px; left: 50%; transform: rotate(20deg); }
.bp-node--6::before { width: 100px; height: 1px; top: 30%; right: -90px; transform: rotate(-15deg); }
.bp-node--7::before { width: 100px; height: 1px; bottom: 50%; right: -90px; transform: rotate(30deg); }

.blueprint__caption {
  text-align: center;
  font-size: var(--text-caption);
  color: var(--text-muted);
  max-width: 60ch;
  margin: 2rem auto 0;
  line-height: 1.6;
}

/* Blueprint mobile */
@media (max-width: 639px) {
  .blueprint__inner {
    max-height: 400px;
  }

  .bp-node__desc { display: none; }

  .bp-node--1 { top: 2%; }
  .bp-node--2 { top: 16%; right: 0; }
  .bp-node--3 { top: 52%; right: 3%; }
  .bp-node--4 { bottom: 2%; right: 12%; }
  .bp-node--5 { bottom: 2%; left: 12%; }
  .bp-node--6 { top: 52%; left: 3%; }
  .bp-node--7 { top: 16%; left: 0; }

  .bp-node::before { display: none; }

  .bp-core {
    width: 80px;
    height: 80px;
  }

  .bp-core__label {
    font-size: 0.5rem;
  }
}

/* ============================================================
   CONTEXT GRID — 2x2 image gallery
   ============================================================ */
.context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 100%;
}

.context-grid__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.context-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.context-grid__item:hover img {
  transform: scale(1.03);
}

.context-grid__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0) 40%, rgba(10,10,10,0.7) 100%);
  pointer-events: none;
}

.context-grid__label {
  position: absolute;
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  left: clamp(0.75rem, 2vw, 1.5rem);
  font-family: var(--font-clash);
  font-size: clamp(0.7rem, 1.2vw, 1rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  z-index: 2;
  text-shadow: 0 1px 4px rgba(10, 10, 10, 0.8), 0 0 12px rgba(10, 10, 10, 0.5);
}

@media (max-width: 639px) {
  .context-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .context-grid__item {
    aspect-ratio: 16 / 9;
  }
}

/* ============================================================
   RESOURCE CARDS — "Go Deeper" section
   ============================================================ */
.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  width: 100%;
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(240, 236, 228, 0.08);
  text-decoration: none;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.resource-card:hover {
  background: rgba(240, 236, 228, 0.03);
  border-color: rgba(240, 236, 228, 0.15);
}

.resource-card__label {
  font-family: var(--font-clash);
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--coral);
}

.resource-card__desc {
  font-size: var(--text-caption);
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 639px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .about-section .block__inner {
    padding: 0;
  }
}
