/* ============================================
   NOVUS IGNIS · Scrollytelling Design System
   ============================================ */

:root {
  --ni-black: #050508;
  --ni-dark: #0a0a12;
  --ni-surface: #111120;
  --ni-border: #1e1e3a;
  --ni-ember: #FF3300;
  --ni-flame: #FF6B00;
  --ni-amber: #FFB800;
  --ni-spark: #FFD600;
  --ni-cyan: #00FFEE;
  --ni-magenta: #FF0050;
  --ni-text: #E8E8F0;
  --ni-text-dim: #8888A0;
  --ni-text-bright: #FFFFFF;
  --font-display: 'Outfit', 'Poppins', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  /* zmienne używane w stylach, a wcześniej niezdefiniowane */
  --ni-text-muted: #9A9AB0;
  --ni-flame-main: #FF6B00;
  --ni-flame-light: #FFB27A;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--ni-black);
  color: var(--ni-text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: var(--ni-flame);
  color: var(--ni-black);
}

.gradient-text--fire {
  background: linear-gradient(135deg, #FF5500 0%, #FF9900 40%, #FFD000 75%, #FFF0AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none !important;
  filter: drop-shadow(0 0 3px #000000)
          drop-shadow(0 0 8px #000000)
          drop-shadow(0 2px 16px rgba(0, 0, 0, 0.95))
          drop-shadow(0 0 30px rgba(0, 0, 0, 0.9));
}

.gradient-text--cyan {
  background: linear-gradient(135deg, #00B4D8 0%, #00F5D4 50%, #90E0EF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none !important;
  filter: drop-shadow(0 0 3px #000000)
          drop-shadow(0 0 8px #000000)
          drop-shadow(0 2px 16px rgba(0, 0, 0, 0.95))
          drop-shadow(0 0 30px rgba(0, 210, 255, 0.4));
}

.gradient-text--emerald {
  background: linear-gradient(135deg, #FFD000 0%, #70E000 50%, #38B000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none !important;
  filter: drop-shadow(0 0 3px #000000)
          drop-shadow(0 0 8px #000000)
          drop-shadow(0 2px 16px rgba(0, 0, 0, 0.95))
          drop-shadow(0 0 30px rgba(112, 224, 0, 0.4));
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ni-black);
  overflow: hidden;
  z-index: 10;
}

#sparks-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero__logo {
  width: clamp(120px, 20vw, 220px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(255, 107, 0, 0.4)) drop-shadow(0 0 60px rgba(0, 255, 238, 0.2));
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(255, 107, 0, 0.4)) drop-shadow(0 0 60px rgba(0, 255, 238, 0.2)); }
  50% { filter: drop-shadow(0 0 50px rgba(255, 107, 0, 0.6)) drop-shadow(0 0 80px rgba(0, 255, 238, 0.35)); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  background: linear-gradient(90deg, var(--ni-ember), var(--ni-flame), var(--ni-amber), var(--ni-spark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 35px rgba(255, 107, 0, 0.45));
  line-height: 1.1;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--ni-text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.85;
  z-index: 5;
  pointer-events: none;
  animation: hintPulse 2.5s ease-in-out infinite;
}

.hero__scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ni-text-bright);
  text-shadow: 0 0 15px rgba(255, 107, 0, 0.7), 0 0 30px rgba(0, 255, 238, 0.4);
}

.hero__scroll-arrow {
  width: 2px;
  height: 45px;
  background: linear-gradient(to bottom, var(--ni-flame), var(--ni-cyan), transparent);
  position: relative;
}

.hero__scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ni-cyan);
  border-bottom: 2px solid var(--ni-cyan);
  transform: translateX(-50%) rotate(45deg);
  filter: drop-shadow(0 0 8px var(--ni-cyan));
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   ZEUS SCROLLYTELLING
   ============================================ */
#zeusStory {
  position: relative;
  width: 100%;
  height: 500vh;
}

#olimpStory {
  position: relative;
  width: 100%;
  height: 1400vh;
}

#deskStory {
  position: relative;
  width: 100%;
  height: 1700vh;
}

#digiPromStory {
  position: relative;
  width: 100%;
  height: 900vh;
}

#triptychStory {
  position: relative;
  width: 100%;
  height: 770vh;
}

/* Suspense Gap & Interludes (Natural unpinned scrolling sections) */
.suspense-gap {
  position: relative;
  width: 100%;
  height: 120vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  z-index: 5;
}

.suspense-gap__content {
  text-align: center;
  padding: 0 2rem;
  max-width: 950px;
}

.suspense-gap__text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-shadow: 0 0 40px rgba(255, 107, 0, 0.5), 0 0 80px rgba(255, 51, 0, 0.3);
}

.suspense-gap__dim {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #A0A0B5;
  margin-top: 1.5rem;
  letter-spacing: 0.06em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.zeus-story__frame {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000000;
}

/* Background aura for Prometheus stage */
.prom-aura {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 107, 0, 0.18) 0%, rgba(0, 0, 0, 1) 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  will-change: opacity;
  transition: none;
}

/* Prometheus Character Sprites */
.prom-story__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: clamp(340px, 60vh, 620px);
  width: auto;
  object-fit: contain;
  opacity: 0;
  will-change: opacity;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 0 35px rgba(255, 107, 0, 0.45));
  z-index: 2;
  transition: none;
}

.prom-story__text {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0 2rem 8vh;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  will-change: opacity;
}

.prom-story__text p {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--ni-text-bright);
  text-shadow: 
    0 0 4px #000000,
    0 0 8px #000000,
    0 0 16px #000000,
    0 4px 30px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(0, 0, 0, 0.85);
  max-width: 1000px;
  line-height: 1.35;
}

.zeus-story__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity;
  transition: none; /* controlled by JS */
}

/* Digital Prometheus & Crowd Sprite Enhancements */
.digiprom-img {
  object-fit: contain !important;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 0 35px rgba(0, 210, 255, 0.35)) drop-shadow(0 0 70px rgba(255, 107, 0, 0.15));
}

#zeus1,
#ch01,
#digiProm2 {
  opacity: 1; /* start visible so they reveal naturally during scroll */
}

/* Text overlays — centered vertically & horizontally with seamless black halo */
.zeus-story__text {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  will-change: opacity;
}

.zeus-story__text p {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--ni-text-bright);
  text-shadow: 
    0 0 4px #000000,
    0 0 8px #000000,
    0 0 16px #000000,
    0 4px 30px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(0, 0, 0, 0.85);
  max-width: 1050px;
  line-height: 1.35;
}

.zeus-story__text--dim {
  font-weight: 400 !important;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important;
  color: #E2E2F0 !important;
  margin-top: 1.25rem;
  text-shadow: 
    0 0 3px #000000,
    0 0 6px #000000,
    0 0 12px #000000,
    0 4px 25px rgba(0, 0, 0, 0.95),
    0 0 40px rgba(0, 0, 0, 0.85) !important;
}

/* Modifiers for custom vertical positioning */
.zeus-story__text--bottom {
  justify-content: flex-end !important;
  padding: 0 2rem 8vh !important;
}

.zeus-story__text--top {
  justify-content: flex-start !important;
  padding: 6vh 2rem 0 !important;
}

/* Split layout: Headline at top, Subtitle at bottom */
.zeus-story__text--split {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 6vh 2rem 7vh;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  will-change: opacity;
}

.zeus-story__text--split p:first-child {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--ni-text-bright);
  text-shadow: 
    0 0 4px #000000,
    0 0 8px #000000,
    0 0 16px #000000,
    0 4px 30px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(0, 0, 0, 0.85);
  max-width: 1050px;
  line-height: 1.35;
  margin-top: 0;
}

.zeus-story__text--split p.zeus-story__text--dim,
.zeus-story__text--split p:last-child {
  font-weight: 400 !important;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important;
  color: #E2E2F0 !important;
  margin-top: auto;
  margin-bottom: 0;
  text-shadow: 
    0 0 3px #000000,
    0 0 6px #000000,
    0 0 12px #000000,
    0 4px 25px rgba(0, 0, 0, 0.95),
    0 0 40px rgba(0, 0, 0, 0.85) !important;
  max-width: 1050px;
  line-height: 1.35;
}

/* ============================================
   SOVEREIGN TRIPTYCH SCROLLYTELLING
   ============================================ */
.triptych-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
  transition: none;
  background: radial-gradient(circle at 50% 40%, rgba(255, 183, 3, 0.1) 0%, rgba(0, 0, 0, 1) 75%);
}

/* ============================================
   GAP 4: THE FOUNDATIONAL AXIOM (SCROLLYTELLING)
   ============================================ */
.dignity-story {
  height: 280vh;
  position: relative;
  background: #000000;
}

.dignity-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255, 107, 0, 0.15) 0%, rgba(0, 0, 0, 1) 75%);
  opacity: 1;
}

.dignity-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, 92vw);
  text-align: center;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  will-change: opacity, transform;
}

.dignity-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: clamp(24px, 4vh, 40px);
  text-shadow: 0 0 40px rgba(255, 107, 0, 0.5), 0 0 80px rgba(255, 51, 0, 0.3);
  will-change: opacity, transform;
}

.dignity-quote-wrapper {
  background: rgba(14, 14, 22, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: clamp(24px, 3.5vw, 42px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 107, 0, 0.08);
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.dignity-line {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.6;
  color: #D5D5E5;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(18px);
  will-change: opacity, transform;
}

.dignity-line:last-child {
  margin-bottom: 0;
}

.dignity-line__text {
  margin-bottom: 8px;
}

/* Cold / Extraction Cyan Color for PRICE */
.hl-price {
  color: #00D2FF;
  font-weight: 800;
  text-shadow: 0 0 15px rgba(0, 210, 255, 0.45);
  display: inline;
}

/* Warm / Sovereign Gold & Fire Color for DIGNITY */
.hl-dignity {
  color: #FFB703;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(255, 183, 3, 0.55), 0 0 40px rgba(255, 107, 0, 0.35);
  display: inline;
}

.dignity-author {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFD000;
  letter-spacing: 0.08em;
  margin-top: 12px;
  text-align: right;
}

/* Phase 1: Human Dignity Intro */
.triptych-intro {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: min(920px, 94vw);
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  will-change: opacity, transform;
}

.triptych-intro__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #FFD000;
  background: rgba(255, 208, 0, 0.12);
  border: 1px solid rgba(255, 208, 0, 0.4);
  padding: 5px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(255, 208, 0, 0.2);
}

.triptych-const-card {
  background: rgba(14, 14, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 208, 0, 0.35);
  border-radius: 12px;
  padding: 16px 24px;
  margin: 0 auto 16px;
  max-width: 820px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 208, 0, 0.08);
}

.triptych-const-card__text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  font-style: italic;
  color: #FFFFFF;
  line-height: 1.55;
  margin-bottom: 6px;
}

.triptych-const-card__source {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFD000;
  letter-spacing: 0.06em;
}

.triptych-intro__callout {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: #D5D5E5;
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto 16px;
}

.triptych-mandate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto 16px;
  text-align: left;
}

.triptych-mandate__item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
}

.triptych-mandate__item--highlight {
  background: rgba(255, 107, 0, 0.1);
  border-color: rgba(255, 107, 0, 0.35);
}

.triptych-mandate__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ni-flame-light);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.triptych-mandate__desc {
  font-size: 0.88rem;
  color: #FFFFFF;
  line-height: 1.35;
}

.triptych-intro__sub {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #FFFFFF;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
}

/* Phase 2: The 3-Column Sovereign Triptych Grid */
.triptych-grid-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1320px, 95vw);
  z-index: 6;
  pointer-events: none;
}

.triptych-grid-title {
  text-align: center;
  margin-bottom: clamp(16px, 2.5vh, 28px);
  opacity: 0;
  will-change: opacity;
}

.triptych-grid-title h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  text-shadow: 0 0 30px rgba(255, 107, 0, 0.4);
}

.triptych-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
}

/* Filar I na środku i większy; II i III po bokach, w tle */
.triptych-col--main {
  order: 2;
  padding: clamp(26px, 2.8vw, 40px);
}
.triptych-col--main .triptych-col__title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}
.triptych-col--main .triptych-rule__head {
  font-size: 1.12rem;
}
.triptych-col--fire.triptych-col--back { order: 1; }
.triptych-col--emerald.triptych-col--back { order: 3; }
.triptych-col--back {
  filter: grayscale(0.75) brightness(0.6);
}
.triptych-col--back .triptych-col__title {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
}

.triptych-col {
  background: rgba(10, 10, 16, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 16px;
  padding: clamp(20px, 2.2vw, 30px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(35px) scale(0.95);
  will-change: opacity, transform, border-color, box-shadow;
  transition: none;
}

.triptych-col__badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.triptych-col__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.triptych-col--cyan {
  border: 1px solid rgba(0, 210, 255, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 210, 255, 0.08);
}
.triptych-col--cyan .triptych-col__badge {
  color: #00D2FF;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.4);
}

.triptych-col--fire {
  border: 1px solid rgba(255, 107, 0, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 107, 0, 0.08);
}
.triptych-col--fire .triptych-col__badge {
  color: #FF7700;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.4);
}

.triptych-col--emerald {
  border: 1px solid rgba(112, 224, 0, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(112, 224, 0, 0.08);
}
.triptych-col--emerald .triptych-col__badge {
  color: #70E000;
  background: rgba(112, 224, 0, 0.12);
  border: 1px solid rgba(112, 224, 0, 0.4);
}

/* Triptych Rule Items */
.triptych-rule {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.triptych-rule__head {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.triptych-rule__desc {
  font-size: 0.86rem;
  color: #A5A5C0;
  line-height: 1.45;
  margin: 0;
}

/* Kolumny filarów: wszystko wyśrodkowane */
.triptych-col {
  align-items: center;
  text-align: center;
}
.triptych-col__badge {
  align-self: center;
}
.triptych-rule {
  width: 100%;
}
.triptych-rule__head {
  justify-content: center;
}

/* Glow classes applied dynamically when column activates */
.triptych-col--cyan.glow-active {
  border-color: rgba(0, 210, 255, 0.7) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 45px rgba(0, 210, 255, 0.3) !important;
}

.triptych-col--fire.glow-active {
  border-color: rgba(255, 107, 0, 0.7) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 45px rgba(255, 107, 0, 0.3) !important;
}

.triptych-col--emerald.glow-active {
  border-color: rgba(112, 224, 0, 0.7) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 45px rgba(112, 224, 0, 0.3) !important;
}

/* Phase 3: The First Battleground (Suveria Card) */
.suveria-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(880px, 92vw);
  background: rgba(10, 10, 16, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
  opacity: 0;
  pointer-events: none;
  z-index: 7;
  will-change: opacity, transform;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 210, 255, 0.15);
  text-align: center;
}

.suveria-card__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #00D2FF;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.4);
  padding: 4px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.suveria-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 20px;
}

.suveria-card__text {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #C5C5D8;
  line-height: 1.7;
  margin-bottom: 20px;
}

.suveria-card__highlight {
  font-size: clamp(1.1rem, 2.1vw, 1.3rem);
  color: #FFFFFF !important;
  font-weight: 500;
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.suveria-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  color: #00D2FF;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
  transition: all 0.25s ease;
  pointer-events: auto;
}

.suveria-card__link:hover {
  color: #FFFFFF;
  background: rgba(0, 210, 255, 0.28);
  border-color: #00D2FF;
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.5);
  transform: translateY(-2px);
}

/* ============================================
   MAIN HUB & BLUEPRINT EXPLORER SECTION
   ============================================ */
.hub-section {
  position: relative;
  background: var(--ni-black);
  padding: 120px 0 80px;
  z-index: 10;
}

.hub-hero {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 80px;
}

.hub-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ni-flame-main);
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.3);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hub-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hub-subtitle {
  font-size: 1.25rem;
  color: var(--ni-text-muted);
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto 36px;
}

.hub-subtitle strong {
  color: var(--ni-text-bright);
}

.hub-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(135deg, #FF7700 0%, #FF3300 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 20px rgba(255, 85, 0, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 85, 0, 0.6);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ni-text-bright);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--ni-flame-main);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* 3 Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 100px;
}

.pillar-card {
  background: linear-gradient(180deg, rgba(25, 25, 35, 0.8) 0%, rgba(15, 15, 22, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 36px 28px;
  transition: all 0.3s ease;
}

.pillar-card:hover {
  border-color: rgba(255, 107, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.pillar-card__icon {
  font-size: 2.5rem;
  margin-bottom: 18px;
}

.pillar-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ni-text-bright);
}

.pillar-card__text {
  color: var(--ni-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Master Blueprint Section */
.blueprint-section {
  margin-bottom: 100px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--ni-text-muted);
  font-size: 1.1rem;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.blueprint-card {
  display: flex;
  flex-direction: column;
  background: rgba(18, 18, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 32px 28px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blueprint-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #FF9900, #FF3300);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blueprint-card:hover {
  border-color: rgba(255, 107, 0, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.blueprint-card:hover::before {
  opacity: 1;
}

.blueprint-card__badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ni-flame-light);
  margin-bottom: 14px;
}

.blueprint-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ni-text-bright);
  margin-bottom: 12px;
}

.blueprint-card__desc {
  color: var(--ni-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 24px;
}

.blueprint-card__link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ni-flame-main);
  transition: transform 0.2s ease;
}

.blueprint-card:hover .blueprint-card__link {
  transform: translateX(4px);
}

/* ============================================
   GET INVOLVED / BUILDER COOPERATIVE
   ============================================ */
.get-involved-section {
  margin-bottom: 80px;
}

.get-involved-card {
  background: linear-gradient(180deg, rgba(28, 22, 18, 0.95) 0%, rgba(16, 16, 24, 0.95) 100%);
  border: 1px solid rgba(255, 107, 0, 0.35);
  border-radius: 16px;
  padding: 56px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 107, 0, 0.08);
}

.get-involved-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.get-involved-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.get-involved-subtitle {
  color: var(--ni-text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.role-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 24px 20px;
  transition: all 0.25s ease;
}

.role-box:hover {
  border-color: rgba(255, 107, 0, 0.4);
  transform: translateY(-3px);
  background: rgba(255, 107, 0, 0.04);
}

.role-box__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.role-box__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ni-text-bright);
  margin-bottom: 8px;
}

.role-box__text {
  color: var(--ni-text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.get-involved-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Join / Waitlist Banner */
.join-banner {
  background: radial-gradient(circle at 50% 0%, rgba(255, 107, 0, 0.15) 0%, rgba(20, 20, 28, 0.9) 80%);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 16px;
  padding: 60px 32px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.join-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.join-banner__text {
  color: var(--ni-text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.join-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto 16px;
  flex-wrap: wrap;
}

.join-input {
  flex: 1 1 260px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.join-input:focus {
  border-color: var(--ni-flame-main);
}

.join-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Waitlist Success State Card */
.waitlist-success-card {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.15);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 0 auto 20px;
  max-width: 520px;
  text-align: center;
  animation: waitlistFadeIn 0.5s ease forwards;
}

@keyframes waitlistFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.waitlist-success-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #00F0FF;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.waitlist-success-title {
  font-family: var(--font-display, sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.waitlist-success-desc {
  font-size: 0.95rem;
  color: #A0A0B8;
  line-height: 1.5;
  margin-bottom: 16px;
}

.waitlist-success-hud {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  color: #FFB703;
}

.waitlist-hud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00F0FF;
  box-shadow: 0 0 8px #00F0FF;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #08080C;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
  z-index: 10;
  position: relative;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 12px;
}

.footer-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.footer-tagline {
  color: var(--ni-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ni-flame-main);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.footer-col a {
  color: var(--ni-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* ============================================
   SUBPAGE COMMON STYLES
   ============================================ */
.subpage-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  padding: 16px 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Home Page Nav (Fixed at top, fades out brand & links during scrollytelling, fades in on hero & hub) */
.site-nav--home {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.subpage-nav__brand,
.subpage-nav__links {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.site-nav--hidden {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: transparent !important;
  pointer-events: none !important;
}

.site-nav--hidden .subpage-nav__brand,
.site-nav--hidden .subpage-nav__links {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-10px);
}

/* Floating state during scrollytelling */
.site-nav--hidden .lang-dropdown {
  pointer-events: auto !important;
}

.site-nav--hidden .lang-dropdown__trigger {
  opacity: 0.75;
  background: rgba(10, 10, 16, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  pointer-events: auto !important;
}

.site-nav--hidden .lang-dropdown__trigger:hover,
.site-nav--hidden .lang-dropdown.is-open .lang-dropdown__trigger {
  opacity: 1;
  background: rgba(10, 10, 16, 0.95);
  border-color: var(--ni-flame-main);
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}

.subpage-nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.subpage-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}

.subpage-nav__brand img {
  height: 32px;
  width: auto;
}

.subpage-nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.subpage-nav__links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.subpage-nav__links a {
  color: var(--ni-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.subpage-nav__links a:hover,
.subpage-nav__links a.active {
  color: var(--ni-flame-main);
}

/* Highlight button in nav (e.g. Get Involved) */
.nav-link--highlight {
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.4) !important;
  color: var(--ni-flame-light) !important;
  padding: 6px 14px;
  border-radius: 6px;
}

.nav-link--highlight:hover {
  background: rgba(255, 107, 0, 0.25);
  color: #FFFFFF !important;
  border-color: var(--ni-flame-main) !important;
}

/* ============================================
   LANGUAGE DROPDOWN
   ============================================ */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-flag {
  display: inline-block;
  border-radius: 2px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  vertical-align: middle;
}

.lang-dropdown__flag {
  display: flex;
  align-items: center;
  margin-right: 2px;
}

.lang-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lang-dropdown__trigger:hover,
.lang-dropdown:hover .lang-dropdown__trigger,
.lang-dropdown.is-open .lang-dropdown__trigger {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF !important;
  border-color: rgba(255, 107, 0, 0.6);
  box-shadow: 0 0 14px rgba(255, 107, 0, 0.3);
}

.lang-dropdown__arrow {
  color: #D5D5E2;
  opacity: 0.8;
  transition: transform 0.25s ease;
}

.lang-dropdown:hover .lang-dropdown__arrow,
.lang-dropdown.is-open .lang-dropdown__arrow {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--ni-flame-light);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 155px;
  background: rgba(14, 14, 22, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
  max-height: 280px;
  overflow-y: auto;
}

/* Show menu on hover or when open class is toggled */
.lang-dropdown:hover .lang-dropdown__menu,
.lang-dropdown.is-open .lang-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  color: #FFFFFF !important;
  transition: all 0.15s ease;
}

.lang-dropdown__item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

.lang-dropdown__item.active {
  background: rgba(255, 107, 0, 0.2);
  border: 1px solid rgba(255, 107, 0, 0.45);
}

.lang-dropdown__code {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ni-flame-light) !important;
  min-width: 24px;
}

.lang-dropdown__label {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  color: #F0F0F8 !important;
}

.lang-dropdown__item.active .lang-dropdown__label {
  color: #FFFFFF !important;
  font-weight: 700;
}

.subpage-hero {
  padding: 80px 0 40px;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.subpage-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ni-flame-main);
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.3);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.subpage-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.subpage-lead {
  font-size: 1.2rem;
  color: var(--ni-text-muted);
  line-height: 1.6;
}

.subpage-content {
  padding: 40px 0 100px;
  max-width: 850px;
  margin: 0 auto;
}

.subpage-prose {
  color: #D5D5E2;
  font-size: 1.05rem;
  line-height: 1.8;
}

.subpage-prose h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #FFFFFF;
  margin: 48px 0 16px;
}

.subpage-prose h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ni-flame-light);
  margin: 32px 0 12px;
}

.subpage-prose p {
  margin-bottom: 20px;
}

.subpage-prose ul {
  margin: 0 0 24px 24px;
}

.subpage-prose li {
  margin-bottom: 10px;
}

/* Callout Box */
.info-callout {
  background: rgba(255, 107, 0, 0.08);
  border-left: 4px solid var(--ni-flame-main);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 32px 0;
}

.info-callout p:last-child {
  margin-bottom: 0;
}

/* Data Table */
.data-table-container {
  overflow-x: auto;
  margin: 32px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th, .data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.data-table th {
  font-family: var(--font-display);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
}

.data-table td {
  color: var(--ni-text-muted);
}

/* Formula Box */
.math-formula {
  background: #12121A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  font-family: monospace;
  font-size: 1.25rem;
  color: var(--ni-flame-light);
  margin: 24px 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .triptych-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-height: 78vh;
    overflow-y: auto;
  }
  .triptych-col--main {
    order: 0;
    grid-column: 1 / -1;
  }
  .triptych-grid {
    align-items: stretch;
  }
  .triptych-col--back {
    padding: 12px 10px;
  }
  .triptych-col--back .triptych-rule__head {
    font-size: 0.88rem;
  }
  .triptych-col {
    padding: 16px 20px;
  }
}

@media (max-width: 768px) {
  .zeus-story__text {
    padding: 0 1.5rem 8vh;
  }
  .subpage-nav__links {
    display: none;
  }
  .triptych-mandate {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .triptych-const-card {
    padding: 12px 16px;
  }
  .footer-container {
    flex-direction: column;
  }
}


/* ============================================
   WHY MANIFESTO SCROLLYTELLING STYLES
   ============================================ */
.why-body {
  background: #000000;
  overflow-x: hidden;
}

.why-manifesto-story {
  height: 480vh;
  position: relative;
  background: #000000;
}

.why-frame {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000000;
}

.why-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(255, 107, 0, 0.18) 0%, rgba(0, 0, 0, 1) 75%);
  transition: background 0.8s ease;
  will-change: background;
}

.why-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(880px, 92vw);
  text-align: center;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  will-change: opacity, transform;
}

.why-card--hero {
  max-width: 920px;
}

.why-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ni-flame-main);
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.4);
  padding: 5px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.why-badge--crimson {
  color: #FF2A6D;
  background: rgba(255, 42, 109, 0.12);
  border-color: rgba(255, 42, 109, 0.4);
  box-shadow: 0 0 15px rgba(255, 42, 109, 0.2);
}

.why-badge--cyan {
  color: #00D2FF;
  background: rgba(0, 210, 255, 0.12);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.why-badge--emerald {
  color: #70E000;
  background: rgba(112, 224, 0, 0.12);
  border-color: rgba(112, 224, 0, 0.4);
  box-shadow: 0 0 15px rgba(112, 224, 0, 0.2);
}

.why-badge--gold {
  color: #FFD000;
  background: rgba(255, 208, 0, 0.12);
  border-color: rgba(255, 208, 0, 0.4);
  box-shadow: 0 0 20px rgba(255, 208, 0, 0.25);
}

.why-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(255, 107, 0, 0.5);
}

.why-lead {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--ni-text-muted);
  line-height: 1.65;
  max-width: 780px;
  margin: 0 auto;
}

.why-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ni-flame-light);
  margin-top: 32px;
  opacity: 0.85;
}

.why-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 20px;
}

.why-card__prose {
  background: rgba(14, 14, 22, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: clamp(22px, 3.2vw, 36px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  text-align: left;
}

.why-beat {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  color: #D5D5E5;
  line-height: 1.65;
  margin-bottom: 16px;
}

.why-beat:last-child {
  margin-bottom: 0;
}

.why-beat--highlight {
  color: #FFFFFF;
  border-left: 3px solid #FF2A6D;
  padding-left: 14px;
}

.why-beat--cyan {
  border-left: 3px solid #00D2FF;
  padding-left: 14px;
}

.why-beat--emerald {
  border-left: 3px solid #70E000;
  padding-left: 14px;
}

.why-quote-covenant {
  background: rgba(255, 183, 3, 0.08);
  border: 1px solid rgba(255, 183, 3, 0.35);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 18px;
  box-shadow: 0 0 30px rgba(255, 183, 3, 0.1);
}

.why-quote-covenant__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #FFD000;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.why-quote-covenant__text {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  line-height: 1.65;
  color: #FFFFFF;
  font-style: italic;
  margin-bottom: 12px;
}

.why-quote-covenant__author {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFD000;
  letter-spacing: 0.05em;
  text-align: right;
}

/* Closing Blueprint Explorer */
.why-blueprint-section {
  padding: 100px 0 80px;
  position: relative;
  z-index: 10;
  background: #08080C;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.why-blueprint-header {
  text-align: center;
  margin-bottom: 40px;
}

.why-blueprint-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 10px;
}

.why-blueprint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.why-blueprint-card {
  background: rgba(14, 14, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.why-blueprint-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.25);
}

.why-blueprint-card__tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.why-blueprint-card--cyan .why-blueprint-card__tag { color: #00D2FF; }
.why-blueprint-card--cyan:hover { border-color: rgba(0, 210, 255, 0.45); box-shadow: 0 16px 40px rgba(0, 210, 255, 0.15); }

.why-blueprint-card--fire .why-blueprint-card__tag { color: #FF7700; }
.why-blueprint-card--fire:hover { border-color: rgba(255, 107, 0, 0.45); box-shadow: 0 16px 40px rgba(255, 107, 0, 0.15); }

.why-blueprint-card--gold .why-blueprint-card__tag { color: #FFD000; }
.why-blueprint-card--gold:hover { border-color: rgba(255, 208, 0, 0.45); box-shadow: 0 16px 40px rgba(255, 208, 0, 0.15); }

.why-blueprint-card--emerald .why-blueprint-card__tag { color: #70E000; }
.why-blueprint-card--emerald:hover { border-color: rgba(112, 224, 0, 0.45); box-shadow: 0 16px 40px rgba(112, 224, 0, 0.15); }

.why-blueprint-card--highlight .why-blueprint-card__tag { color: var(--ni-flame-light); }
.why-blueprint-card--highlight { background: rgba(255, 107, 0, 0.08); border-color: rgba(255, 107, 0, 0.3); }
.why-blueprint-card--highlight:hover { border-color: var(--ni-flame-main); box-shadow: 0 16px 40px rgba(255, 107, 0, 0.25); }

.why-blueprint-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.why-blueprint-card p {
  font-size: 0.92rem;
  color: var(--ni-text-muted);
  line-height: 1.5;
}


/* ============================================
   GET INVOLVED PAGE STYLES
   ============================================ */
.founder-axiom-card {
  background: rgba(18, 16, 14, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 183, 3, 0.4);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 40px);
  margin: 30px 0 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 183, 3, 0.12);
  text-align: left;
}

.founder-axiom-card__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #FFD000;
  background: rgba(255, 208, 0, 0.12);
  border: 1px solid rgba(255, 208, 0, 0.4);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.founder-axiom-card__quote {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  line-height: 1.7;
  color: #FFFFFF;
  margin: 0 0 16px 0;
  padding: 0;
  border: none;
}

.founder-axiom-card__author {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFD000;
  letter-spacing: 0.06em;
  text-align: right;
}

.sculpting-values-box {
  background: rgba(255, 107, 0, 0.06);
  border-left: 4px solid var(--ni-flame-main);
  border-radius: 0 14px 14px 0;
  padding: clamp(20px, 3vw, 32px);
  margin: 40px 0;
}

.sculpting-values-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: #FFFFFF;
  margin-top: 0;
  margin-bottom: 14px;
}

.sculpting-values-box p:last-child {
  margin-bottom: 0;
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 28px 0 48px;
}

.reward-card {
  background: rgba(14, 14, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 22px;
  transition: all 0.25s ease;
}

.reward-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.reward-card__icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.reward-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.reward-card p {
  font-size: 0.9rem;
  color: var(--ni-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}


/* ============================================
   ETHICS & PRECAUTION CLAUSE STYLES
   ============================================ */
.ethics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0 48px;
}

.ethics-card {
  background: rgba(14, 14, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ethics-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
}

.ethics-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.ethics-card--cyan {
  border-color: rgba(0, 210, 255, 0.25);
}
.ethics-card--cyan .ethics-card__badge {
  color: #00D2FF;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.35);
}
.ethics-card--cyan:hover {
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow: 0 16px 40px rgba(0, 210, 255, 0.15);
}

.ethics-card--gold {
  border-color: rgba(255, 183, 3, 0.3);
}
.ethics-card--gold .ethics-card__badge {
  color: #FFB703;
  background: rgba(255, 183, 3, 0.1);
  border: 1px solid rgba(255, 183, 3, 0.4);
}
.ethics-card--gold:hover {
  border-color: rgba(255, 183, 3, 0.6);
  box-shadow: 0 16px 40px rgba(255, 183, 3, 0.2);
}

.ethics-card--emerald {
  border-color: rgba(112, 224, 0, 0.25);
}
.ethics-card--emerald .ethics-card__badge {
  color: #70E000;
  background: rgba(112, 224, 0, 0.1);
  border: 1px solid rgba(112, 224, 0, 0.35);
}
.ethics-card--emerald:hover {
  border-color: rgba(112, 224, 0, 0.5);
  box-shadow: 0 16px 40px rgba(112, 224, 0, 0.15);
}

.ethics-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 12px;
}

.ethics-card p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #D5D5E5;
  line-height: 1.6;
  margin-bottom: 0;
}


/* ============================================
   DUAL REALM & SPARK CEREMONY STYLES
   ============================================ */
.dual-realm-section {
  margin: 48px 0 60px;
}

.dual-realm-header {
  text-align: center;
  margin-bottom: 36px;
}

.dual-realm-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 12px;
}

.dual-realm-header p {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--ni-text-muted);
  max-width: 780px;
  margin: 0 auto;
}

.dual-realm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.realm-card {
  border-radius: 18px;
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.realm-card--suveria {
  background: radial-gradient(circle at 10% 10%, rgba(0, 210, 255, 0.08) 0%, rgba(7, 7, 10, 0.95) 70%);
  border: 1px solid rgba(0, 210, 255, 0.35);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 210, 255, 0.1);
}

.realm-card--suveria:hover {
  border-color: rgba(0, 210, 255, 0.6);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 210, 255, 0.2);
}

.realm-card--omniforum {
  background: radial-gradient(circle at 90% 10%, rgba(255, 183, 3, 0.1) 0%, rgba(14, 14, 20, 0.95) 70%);
  border: 1px solid rgba(255, 183, 3, 0.4);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 183, 3, 0.12);
}

.realm-card--omniforum:hover {
  border-color: rgba(255, 183, 3, 0.7);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.9), 0 0 45px rgba(255, 183, 3, 0.25);
}

.realm-card__hud {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ni-text-muted);
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  align-self: flex-start;
}

.realm-card__badge-tag {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #00D2FF;
  margin-bottom: 8px;
}

.realm-card__badge-tag--gold {
  color: #FFB703;
}

.realm-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.realm-card p {
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.65;
  color: #D5D5E5;
  margin-bottom: 22px;
  flex-grow: 1;
}

.realm-card__mindset {
  background: rgba(0, 210, 255, 0.06);
  border-left: 3px solid #00D2FF;
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #FFFFFF;
}

.realm-card__mindset--gold {
  background: rgba(255, 183, 3, 0.06);
  border-left-color: #FFB703;
}

.realm-card__mindset span {
  font-weight: 800;
  color: #00D2FF;
  margin-right: 6px;
}

.realm-card__mindset--gold span {
  color: #FFB703;
}

/* ============================================
   CEREMONY INTERACTIVE WIDGET
   ============================================ */
.ceremony-container {
  background: rgba(14, 14, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  margin: 60px 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  position: relative;
  overflow: hidden;
}

.ceremony-header {
  text-align: center;
  margin-bottom: 32px;
}

.ceremony-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 10px;
}

.spark-sim-card {
  background: #08080C;
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
  position: relative;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.spark-sim-card.is-igniting {
  border-color: #FFB703;
  box-shadow: 0 0 60px rgba(255, 183, 3, 0.4), 0 0 100px rgba(255, 107, 0, 0.25);
  transform: scale(1.02);
}

.spark-sim-card.is-published {
  border-color: #FFD000;
  background: radial-gradient(circle at 50% 10%, rgba(255, 183, 3, 0.14) 0%, #0D0D14 80%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(255, 208, 0, 0.25);
}

.spark-sim-hud {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: #00D2FF;
  margin-bottom: 16px;
  transition: color 0.4s ease;
}

.spark-sim-card.is-published .spark-sim-hud {
  color: #FFD000;
}

.spark-sim-hud__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00D2FF;
  box-shadow: 0 0 8px #00D2FF;
  animation: pulseDot 1.8s infinite;
}

.spark-sim-card.is-published .spark-sim-hud__dot {
  background: #FFD000;
  box-shadow: 0 0 10px #FFD000;
}

.spark-sim-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.spark-sim-body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: #D5D5E5;
  font-style: italic;
  margin-bottom: 20px;
}

.spark-sim-provenance {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ni-text-muted);
  margin-bottom: 24px;
}

.spark-sim-prov__tag {
  color: var(--ni-flame-main);
  font-weight: 800;
  margin-right: 6px;
}

.spark-sim-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.spark-btn {
  font-size: 1.05rem;
  padding: 14px 32px;
}

.spark-reset-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ni-text-muted);
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.spark-reset-btn:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}


/* ============================================
   LIVING OVERTON TELESCOPE STYLES
   ============================================ */
.overton-section {
  margin: 56px 0;
  padding: clamp(24px, 3.5vw, 40px);
  background: rgba(14, 14, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.overton-header {
  text-align: center;
  margin-bottom: 28px;
}

.overton-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 10px;
}

.overton-header p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--ni-text-muted);
  max-width: 780px;
  margin: 0 auto;
}

.overton-spectrum-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #08080C;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 28px 0 32px;
  overflow-x: auto;
  gap: 10px;
}

.overton-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.overton-step--1 {
  border: 1px solid rgba(0, 210, 255, 0.4);
  color: #00D2FF;
  background: rgba(0, 210, 255, 0.08);
}

.overton-step--2 {
  border: 1px solid rgba(255, 183, 3, 0.4);
  color: #FFB703;
  background: rgba(255, 183, 3, 0.08);
}

.overton-step--3 {
  border: 1px solid rgba(112, 224, 0, 0.4);
  color: #70E000;
  background: rgba(112, 224, 0, 0.08);
}

.overton-step--4 {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #A0A0B8;
  background: rgba(255, 255, 255, 0.05);
}

.overton-step__arrow {
  color: var(--ni-text-muted);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ============================================
   WERSJA 31.10.2026: nawigacja mobilna, Dołącz, dostępność
   ============================================ */
.skip-link {
  /* ukryty poza ekranem bez przesuwania w lewo: w języku od prawej do lewej poszerzałby stronę */
  position: absolute; inset-inline-start: 16px; top: 8px; z-index: 300; transform: translateY(-200%);
  background: var(--ni-flame-main); color: #000; padding: 8px 14px; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { transform: none; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ni-amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.lang-dropdown__item { text-decoration: none; font-family: var(--font-body); font-size: 0.9rem; }
.lang-dropdown__code { font-weight: 700; min-width: 24px; }
.lang-dropdown__label { color: #D5D5E2; }
.lang-dropdown__item.active { background: rgba(255, 107, 0, 0.14); border-color: rgba(255, 107, 0, 0.35); }
.lang-dropdown__item.is-disabled { cursor: default; opacity: 0.45; }
.lang-dropdown__item.is-disabled:hover { background: transparent; border-color: transparent; }

/* Menu na telefonie */
.nav-mobile { display: none; position: relative; }
.nav-mobile > summary {
  list-style: none; cursor: pointer; width: 40px; height: 36px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 8px; background: rgba(255, 255, 255, 0.06);
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.nav-mobile__panel {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px;
  background: rgba(14, 14, 22, 0.98); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px;
  padding: 8px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8); z-index: 210;
}
.nav-mobile__panel a { color: var(--ni-text); text-decoration: none; padding: 10px 12px; border-radius: 8px; font-weight: 600; }
.nav-mobile__panel a:hover, .nav-mobile__panel a.active { background: rgba(255, 255, 255, 0.08); color: var(--ni-flame-light); }
.nav-mobile__panel a.nav-link--highlight { margin-top: 4px; text-align: center; }
@media (max-width: 768px) {
  .nav-mobile { display: block; }
  .site-nav--hidden .nav-mobile { opacity: 0; pointer-events: none; }
}

/* Dołącz: obszary jako odnośniki do wiadomości */
a.role-box { display: block; color: inherit; text-decoration: none; }
.roles-hint { text-align: center; color: var(--ni-text-muted); font-size: 0.9rem; margin: 18px 0 6px; }
.roles-note { text-align: center; color: var(--ni-text); max-width: 720px; margin: 0 auto 28px; }
.docs-note { text-align: center; color: var(--ni-text-muted); font-size: 0.92rem; margin-top: 24px; }
.doc-lang-mark { font-size: 0.8em; color: var(--ni-text-muted); font-weight: 500; }
.join-banner .btn { display: inline-block; margin-bottom: 20px; }
.footer-lang { font-size: 0.8em; opacity: 0.7; }
.footer-bottom p + p { margin-top: 6px; }
.footer-bottom a { color: rgba(255, 255, 255, 0.65); }
.blueprint-card { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .role-box, .blueprint-card { transition: none; }
  .role-box:hover { transform: none; }
}

/* ============================================
   MENU Z GRUPAMI (js/layout.js)
   ============================================ */
.subpage-nav__links { gap: 4px; }
.nav-group { position: relative; display: flex; align-items: center; padding: 14px 0; margin: -14px 0; }
.subpage-nav__links .nav-group__link { padding: 6px 4px 6px 10px; border-radius: 6px; }
.subpage-nav__links .nav-group__link:last-child { padding-right: 10px; }
.subpage-nav__links .nav-group__link.nav-link--highlight { margin-left: 6px; padding: 6px 14px; }
.nav-group__toggle {
  display: flex; align-items: center; justify-content: center; min-width: 24px; min-height: 28px; padding: 0 4px 0 0;
  background: none; border: 0; border-radius: 6px; color: var(--ni-text-muted); cursor: pointer; transition: color 0.2s ease;
}
.nav-group__toggle svg { transition: transform 0.2s ease; }
.nav-group__toggle:hover, .nav-group.is-open > .nav-group__toggle { color: var(--ni-flame-main); }
.nav-group.is-open > .nav-group__toggle svg { transform: rotate(180deg); }
.nav-group__menu {
  position: absolute; top: calc(100% - 6px); left: 0; z-index: 210; min-width: 230px; max-width: 320px; list-style: none;
  padding: 6px; background: rgba(14, 14, 22, 0.98); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-group.is-open > .nav-group__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.subpage-nav__links .nav-group__menu a, .nav-mobile__panel .nav-group__menu a {
  display: block; padding: 9px 12px; border-radius: 8px; color: var(--ni-text); font-size: 0.9rem; font-weight: 500; line-height: 1.35; text-decoration: none;
}
.nav-group__menu a:hover, .nav-group__menu a.active { background: rgba(255, 255, 255, 0.08); color: var(--ni-flame-light); }
.nav-group__menu a:focus-visible, .nav-group__link:focus-visible, .nav-group__toggle:focus-visible { outline: 2px solid var(--ni-amber); outline-offset: 2px; }

/* Wąskie ekrany: menu w panelu rozwijanym (wcześniej niż dawniej, bo pozycji jest więcej) */
@media (max-width: 940px) {
  .subpage-nav__links { display: none; }
  .nav-mobile { display: block; }
  .site-nav--hidden .nav-mobile { opacity: 0; pointer-events: none; }
}
.nav-mobile__panel { width: min(320px, calc(100vw - 32px)); max-height: calc(100vh - 90px); overflow-y: auto; }
.nav-group--mobile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 0; margin: 0; }
.nav-group--mobile .nav-group__link { padding: 10px 12px; }
.nav-group--mobile .nav-group__toggle { min-width: 44px; min-height: 44px; padding: 0; }
.nav-group--mobile .nav-group__menu {
  grid-column: 1 / -1; position: static; display: none; min-width: 0; max-width: none; margin: 0 0 4px 12px; padding: 2px 0 2px 8px;
  background: none; border: 0; border-left: 1px solid rgba(255, 255, 255, 0.16); border-radius: 0; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none; opacity: 1; visibility: visible; transform: none;
}
.nav-group--mobile.is-open > .nav-group__menu { display: block; }
.nav-mobile__panel .nav-group__link.nav-link--highlight { margin-top: 4px; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .nav-group__menu, .nav-group__toggle svg { transition: none; }
}

/* Stopka z kolumną „Na skróty” */
.footer-nav { gap: 40px 60px; }
@media (max-width: 600px) { .footer-nav { flex-direction: column; gap: 28px; } }

/* ============================================
   STRONA GŁÓWNA PO OPOWIEŚCI: gdzie jesteśmy dziś, dwie przestrzenie, jak możesz pomóc
   ============================================ */
[hidden] { display: none !important; }

.home-section { margin-bottom: 72px; }
.home-section .section-header { margin-bottom: 32px; }
.section-actions { margin-top: 24px; display: flex; justify-content: center; }
.docs-all { display: flex; justify-content: center; }
.docs-all .btn { margin-top: 20px; }
.get-involved-header--compact { margin-bottom: 32px; }

.today-grid, .spaces-grid, .help-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.today-card, .space-card, .help-card {
  display: flex;
  flex-direction: column;
  background: rgba(18, 18, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 3px solid var(--card-accent, rgba(255, 255, 255, 0.25));
  border-radius: 12px;
  padding: 24px 20px;
  min-width: 0;
}
.today-card__label, .space-card__title, .help-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.today-card__label { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--card-accent, var(--ni-text-bright)); }
.space-card__title, .help-card__title { font-size: 1.3rem; color: var(--ni-text-bright); }
.today-card__text, .space-card__text, .help-card__text { color: var(--ni-text-muted); font-size: 0.95rem; line-height: 1.6; }
.today-card__text, .space-card__text { flex-grow: 1; }
.help-card__text + .help-card__text { margin-top: 12px; }
.today-card--works { --card-accent: #70E000; }
.today-card--project { --card-accent: #00D2FF; }
.today-card--hypothesis { --card-accent: #FF7700; }
.today-card--vision { --card-accent: #FFFFFF; }
.space-card--suveria { --card-accent: #00D2FF; }
.space-card--omniforum { --card-accent: #FF7700; }
.help-card { --card-accent: #FF7700; }
.help-card:last-child { --card-accent: #FFB27A; }
.home-note { text-align: center; color: var(--ni-text-muted); font-size: 0.95rem; max-width: 720px; margin: 28px auto 0; }

.space-card__text { margin-bottom: 20px; }
.space-card__link, .help-card__link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ni-flame-light);
  text-decoration: none;
  margin-top: 16px;
  align-self: flex-start;
}
.space-card__link { margin-top: 0; }
.space-card__link:hover, .help-card__link:hover { color: #FFFFFF; text-decoration: underline; }
.help-card__text a { color: var(--ni-flame-light); text-decoration: underline; text-underline-offset: 3px; }
.help-card__text a:hover { color: #FFFFFF; }

@media (min-width: 640px) {
  .today-grid, .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .spaces-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .today-card, .space-card, .help-card { padding: 28px 24px; }
}
@media (min-width: 1100px) {
  .today-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .help-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-section { margin-bottom: 96px; }
}
@media (max-width: 600px) {
  .get-involved-card { padding: 36px 20px; }
  .get-involved-actions .btn, .section-actions .btn, .docs-all .btn { width: 100%; text-align: center; }
}
.home-section .section-title { line-height: 1.2; }

/* Strona główna: plansza „Co możesz zrobić dalej” (cztery ścieżki po opowieści) */
.next-section { margin-bottom: 24px; }
.next-section .section-subtitle { max-width: 720px; margin-left: auto; margin-right: auto; }
.next-card .help-card__text { flex-grow: 1; }
.next-card__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.next-card__actions .btn { width: 100%; justify-content: center; text-align: center; }
.next-card__note { margin-top: 12px; color: var(--ni-text-muted); font-size: 0.8rem; line-height: 1.5; }
.next-card--wait { --card-accent: #00D2FF; }
.next-card--read { --card-accent: #FFFFFF; }
.next-card--join { --card-accent: #FF7700; }
.next-card--give { --card-accent: #FFB27A; }
.next-card__note a { color: var(--ni-flame-light); text-decoration: underline; text-underline-offset: 3px; }

/* Strona główna: przyciski po bokach logo (zaangażuj się, pobierz dokumenty); nazwa i hasło pod spodem na całą szerokość */
.hero__content { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "l logo r" "title title title" "sub sub sub"; align-items: center; justify-items: center; column-gap: clamp(1.25rem, 4vw, 3rem); row-gap: 1rem; width: min(1100px, 92vw); }
.hero__logo { grid-area: logo; }
.hero__title { grid-area: title; }
.hero__subtitle { grid-area: sub; }
.hero__cta { white-space: nowrap; }
.hero__cta--left { grid-area: l; justify-self: end; }
.hero__cta--right { grid-area: r; justify-self: start; }
@media (max-width: 600px) {
  .hero__content { grid-template-columns: 1fr 1fr; grid-template-areas: "logo logo" "title title" "sub sub" "l r"; column-gap: 0.75rem; }
  .hero__cta--left, .hero__cta--right { justify-self: stretch; text-align: center; white-space: normal; margin-top: 0.5rem; }
  .hero__cta { padding-left: 0.6rem; padding-right: 0.6rem; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; align-self: stretch; }
}

/* Okienko „Zapytaj swoją cyfrową inteligencję” (js/ask.js); wygląd z okienka maila */
.ask-help .mail-help__panel { max-width: 34rem; }
.ask-help__group { display: flex; flex-direction: column; gap: 0.35rem; margin: 0.9rem 0; }
.ask-help__group > .mail-help__btn { align-self: flex-start; }
.ask-help__label { margin: 0; font-weight: 600; }
