/* ═══════════════════════════════════════════════════════════════
   ACONCAGUA: STONE SENTINEL — Cinematic Alpine Landing
   Full aesthetic rebuild · Atmospheric glassmorphic experience
   ═══════════════════════════════════════════════════════════════ */

/* ── Keyframe Animations ── */
@keyframes aurora {
  0%   { background-position: 0% 50%; opacity: 0.035; }
  25%  { opacity: 0.06; }
  50%  { background-position: 100% 50%; opacity: 0.045; }
  75%  { opacity: 0.065; }
  100% { background-position: 0% 50%; opacity: 0.035; }
}
/* Removed: snow, snowSlow, shimmer, borderGlow, float — visual simplification pass */
@keyframes drawLine {
  from { width: 0; }
  to   { width: 2.5rem; }
}
@keyframes kenBurns {
  0%   { transform: scale(1.05); }
  50%  { transform: scale(1.12) translate(-1%, -0.5%); }
  100% { transform: scale(1.05); }
}
@keyframes breathe {
  0%, 100% { opacity: 0.35; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 0.9; transform: translateX(-50%) translateY(-4px); }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50%      { transform: scaleY(0.5); opacity: 0.25; }
}
@keyframes fnFadeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
/* Removed: ambientShift — visual simplification pass */
@keyframes btnGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(200,228,245,0.12), 0 0 40px rgba(200,228,245,0.06); }
  50%      { box-shadow: 0 6px 30px rgba(200,228,245,0.22), 0 0 60px rgba(200,228,245,0.1); }
}
/* Removed: ridgeFloat — visual simplification pass */

/* ── Base ── */
.skip-link {
  position: absolute; top: -100px; left: 12px; z-index: 200;
  padding: 0.6rem 0.9rem; border-radius: var(--radius-xs);
  background: #f1f7ff; color: #091019;
  font-weight: 700; font-family: var(--sans);
}
.skip-link:focus { top: 10px; }

body { overflow-x: hidden; }

/* Aurora atmospheric background glow */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(127,196,184,0.05), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(200,228,245,0.04), transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(212,168,116,0.03), transparent 55%);
  background-size: 200% 200%;
  animation: aurora 20s ease-in-out infinite;
  will-change: background-position;
  transform: translateZ(0);
}

/* Snow particles removed — visual simplification pass */

.shell { width: min(1220px, 92vw); margin: 0 auto; }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0; transform: translateY(32px) scale(0.98);
  transition: opacity 1s var(--ease-out-expo),
              transform 1s var(--ease-out-expo);
}
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ── Navigation — Glassmorphism ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--dur-medium) ease,
              border-color var(--dur-medium) ease,
              backdrop-filter var(--dur-medium) ease,
              box-shadow var(--dur-medium) ease;
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  background: rgba(8,12,18,0.72);
  backdrop-filter: blur(24px) saturate(1.8) brightness(1.05);
  -webkit-backdrop-filter: blur(24px) saturate(1.8) brightness(1.05);
  border-bottom-color: var(--border-glow);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3), 0 1px 0 rgba(168,212,240,0.05) inset;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0; gap: 1rem;
}
.nav-brand {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap;
  text-decoration: none;
  transition: color var(--dur-short) ease, text-shadow var(--dur-short) ease;
}
.nav-brand:hover, .nav-brand:focus-visible { text-decoration: none; }
.site-nav.is-scrolled .nav-brand {
  color: var(--accent-ice);
  text-shadow: 0 0 20px rgba(200,228,245,0.15);
}
.nav-waypoints {
  display: none; align-items: center; gap: 0.15rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-waypoints a {
  font-family: var(--mono); font-size: 0.66rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); padding: 0.4rem 0.6rem;
  border-radius: 999px; border: 1px solid transparent;
  position: relative;
  transition: color var(--dur-short) ease, border-color var(--dur-short) ease,
              background var(--dur-short) ease, box-shadow var(--dur-short) ease;
}
.nav-waypoints a:hover, .nav-waypoints a:focus-visible {
  color: var(--text-main); border-color: var(--border-medium);
  background: rgba(200,228,245,0.04);
  box-shadow: 0 0 12px rgba(200,228,245,0.06);
  text-decoration: none; outline: none;
}
.nav-controls { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 860px) { .nav-waypoints { display: flex; } }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  filter: saturate(0.85) contrast(1.08) brightness(0.6);
  animation: kenBurns 30s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}

/* Multi-layer fog / vignette */
.hero-fog {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    /* Vignette corners */
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(8,12,18,0.65) 100%),
    /* Bottom fade */
    linear-gradient(180deg,
      rgba(8,12,18,0.25) 0%, rgba(8,12,18,0.02) 30%,
      rgba(8,12,18,0.08) 55%, rgba(8,12,18,0.8) 82%, rgba(8,12,18,1) 100%),
    /* Color-shifting atmospheric glow */
    radial-gradient(ellipse 140% 70% at 50% 75%, rgba(127,196,184,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 100% 50% at 20% 40%, rgba(212,168,116,0.04) 0%, transparent 50%);
}

.hero-content { position: relative; z-index: 2; padding: 0 0 clamp(3rem, 8vh, 6rem); }
.hero-content .shell { display: grid; gap: 1.5rem; }

.hero-eyebrow {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-aurora); margin: 0;
  text-shadow: 0 0 20px rgba(127,196,184,0.3);
}

/* Gradient text fill: ice to amber */
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7.5vw, 6.5rem);
  font-weight: 700; line-height: 0.95; letter-spacing: -0.015em;
  margin: 0; max-width: 16ch;
  background: linear-gradient(135deg, var(--accent-ice-bright) 0%, var(--accent-ice) 35%, var(--accent-amber-warm) 75%, var(--accent-amber) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 30px rgba(200,228,245,0.15)) drop-shadow(0 4px 60px rgba(0,0,0,0.4));
}

.hero-lead {
  margin: 0; font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--text-dim); max-width: 52ch; line-height: 1.65;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-meta {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--text-muted); letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }

/* Animated breathing scroll indicator with more presence */
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: var(--accent-ice); font-family: var(--mono);
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  animation: breathe 3.5s var(--ease-in-out-sine) infinite;
  text-shadow: 0 0 12px rgba(200,228,245,0.3);
}
.scroll-line {
  width: 1.5px; height: 40px;
  background: linear-gradient(180deg, var(--accent-ice), transparent);
  animation: scrollPulse 2.5s var(--ease-in-out-sine) infinite;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(200,228,245,0.15);
}

/* ── Buttons ── */
.btn {
  font-family: var(--sans); border: 1px solid transparent;
  border-radius: 999px; padding: 0.75rem 1.4rem;
  font-weight: 600; font-size: 0.88rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  cursor: pointer; position: relative;
  transition: transform 0.3s var(--ease-out-expo),
              border-color 0.3s ease, box-shadow 0.4s ease,
              background 0.3s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.02); text-decoration: none; }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--accent-ice); outline-offset: 3px; }

/* Primary: animated gradient with glow halo */
.btn-primary {
  color: #080c12;
  background: linear-gradient(125deg, var(--accent-ice-bright), var(--accent-ice), var(--accent-amber-warm), var(--accent-amber));
  background-size: 300% 100%;
  animation: btnGradient 6s ease infinite, pulseGlow 4s ease-in-out infinite;
  font-weight: 700;
}
.btn-primary:hover {
  box-shadow: 0 8px 36px rgba(200,228,245,0.3), 0 0 60px rgba(200,228,245,0.1);
  filter: brightness(1.1);
}

/* Ghost: glass with glow on hover */
.btn-ghost {
  color: var(--text-main);
  border-color: var(--border-medium);
  background: rgba(15,24,36,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  border-color: var(--accent-ice);
  background: rgba(200,228,245,0.06);
  box-shadow: 0 0 24px rgba(200,228,245,0.08), inset 0 1px 0 rgba(200,228,245,0.1);
}

/* ── Section Framework ── */
.section {
  padding: clamp(4rem, 10vh, 8rem) 0; position: relative;
}

/* Unique ambient undertones per section */
#the-mountain { background: radial-gradient(ellipse 80% 50% at 30% 20%, rgba(200,228,245,0.025), transparent 60%); }
#the-ascent { background: radial-gradient(ellipse 80% 50% at 70% 30%, rgba(212,168,116,0.025), transparent 60%); }
#field-notes { background: radial-gradient(ellipse 80% 50% at 40% 70%, rgba(127,196,184,0.025), transparent 60%); }
#the-system { background: radial-gradient(ellipse 80% 50% at 60% 40%, rgba(143,181,208,0.03), transparent 60%); }
#waypoints { background: radial-gradient(ellipse 80% 50% at 50% 60%, rgba(201,160,184,0.02), transparent 60%); }

.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* Section kicker with animated draw line */
.section-kicker {
  margin: 0; font-family: var(--mono); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-mineral);
  display: flex; align-items: center; gap: 0.8rem;
}
.section-kicker::after {
  content: ""; display: block;
  height: 1px; width: 0;
  background: linear-gradient(90deg, var(--accent-mineral), transparent);
}
.is-visible .section-kicker::after {
  animation: drawLine 0.8s var(--ease-out-expo) 0.3s forwards;
}

/* Section titles with subtle text stroke */
.section-title {
  margin: 0; font-family: var(--serif);
  font-size: clamp(1.8rem, 4.5vw, 3.8rem);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; max-width: 20ch;
  -webkit-text-stroke: 0.3px rgba(200,228,245,0.15);
}
.section-intro {
  margin: 0; color: var(--text-dim); max-width: 58ch;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem); line-height: 1.65;
}

/* Floating elevation marks — static */
.elevation-mark {
  font-family: var(--mono); font-size: 0.6rem; font-weight: 300;
  letter-spacing: 0.15em; color: var(--accent-ice);
  opacity: 0.4; text-transform: uppercase;
}

/* ── Mountain Ridge SVG Dividers (pseudo-elements on sections) ── */
.atmos-strip {
  position: relative;
}
.atmos-strip::before {
  content: "";
  display: block; width: 100%; height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0,40 L0,28 L120,20 L240,30 L360,12 L480,24 L600,8 L720,22 L840,6 L960,18 L1080,10 L1200,26 L1320,14 L1440,22 L1440,40 Z' fill='%23080c12' opacity='0.6'/%3E%3Cpath d='M0,40 L0,32 L180,24 L300,34 L480,16 L600,28 L780,10 L900,26 L1080,14 L1200,30 L1380,18 L1440,24 L1440,40 Z' fill='%230d1420' opacity='0.4'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  position: absolute; top: -39px; left: 0; right: 0;
  pointer-events: none; z-index: 2;
}
.atmos-strip::after {
  content: "";
  display: block; width: 100%; height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L0,12 L120,20 L240,10 L360,28 L480,16 L600,32 L720,18 L840,34 L960,22 L1080,30 L1200,14 L1320,26 L1440,18 L1440,0 Z' fill='%23080c12' opacity='0.6'/%3E%3Cpath d='M0,0 L0,8 L180,16 L300,6 L480,24 L600,12 L780,30 L900,14 L1080,26 L1200,10 L1380,22 L1440,16 L1440,0 Z' fill='%230d1420' opacity='0.4'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  position: absolute; bottom: -39px; left: 0; right: 0;
  pointer-events: none; z-index: 2;
}

/* ── The Mountain ── */
.mountain-stat { display: grid; gap: 0.4rem; }

.mountain-stat-value {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1; letter-spacing: -0.02em;
  color: var(--accent-ice);
}
.mountain-stat-label {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted);
}
.mountain-stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-4); padding: var(--space-4) 0;
  border-top: 1px solid var(--border-medium); border-bottom: 1px solid var(--border-medium);
  position: relative;
}
.mountain-stats-row::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-ice), transparent);
  opacity: 0.2;
}
.mountain-prose {
  color: var(--text-dim); font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.7; max-width: 64ch;
}
.mountain-prose p { margin: 0 0 1.2rem; }
.mountain-prose p:last-child { margin-bottom: 0; }

/* ── Atmospheric Art — Cinema Strip ── */
.atmos-strip {
  display: grid; grid-template-columns: 1fr; gap: 3px; overflow: hidden;
  margin: 0; padding: 2rem 0;
}
.atmos-panel {
  position: relative; overflow: hidden;
  aspect-ratio: 4/5;
}
.atmos-panel img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.75) contrast(1.08) brightness(0.9);
  transition: transform 0.8s var(--ease-out-expo), filter 0.8s ease;
}
.atmos-panel:hover img {
  transform: scale(1.06);
  filter: saturate(1) contrast(1.05) brightness(0.95);
}
.atmos-panel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(8,12,18,0.1) 0%, transparent 30%, transparent 50%, rgba(8,12,18,0.75) 100%);
  display: flex; align-items: flex-end; padding: var(--space-3); pointer-events: none;
}
/* Bottom edge fade into page bg */
.atmos-panel::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 30%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8,12,18,0.5));
  z-index: 1;
}
.atmos-label {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(232,239,247,0.75);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  position: relative; z-index: 2;
}
@media (min-width: 700px) {
  .atmos-strip { grid-template-columns: repeat(3, 1fr); }
  .atmos-panel { aspect-ratio: 3/4; }
  /* Staggered heights for cinema feel */
  .atmos-panel:nth-child(2) { margin-top: 1.5rem; }
}

/* ── Glassmorphism Cards: Pillars ── */
.pillar-grid { display: grid; gap: var(--space-3); perspective: 1000px; }
.pillar {
  padding: var(--space-4);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: rgba(15,24,36,0.45);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: var(--shadow-soft), var(--shadow-inset);
  display: grid; gap: 0.6rem;
  position: relative; overflow: hidden;
  transition: border-color 0.4s ease, transform 0.5s var(--ease-out-expo),
              box-shadow 0.4s ease;
  transform-style: preserve-3d;
}
/* Gradient shine on border */
.pillar::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit; z-index: -1;
  background: linear-gradient(135deg, rgba(200,228,245,0.1), transparent 40%, transparent 60%, rgba(212,168,116,0.08));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pillar:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px) rotateX(1.5deg) rotateY(-1.5deg);
  box-shadow: var(--shadow-medium), 0 0 30px rgba(200,228,245,0.05);
}
.pillar:hover::before { opacity: 1; }
.pillar-number {
  font-family: var(--mono); font-size: 0.6rem; font-weight: 300;
  letter-spacing: 0.15em; color: var(--accent-aurora); text-transform: uppercase;
}
.pillar h3 {
  margin: 0; font-family: var(--serif); font-size: 1.15rem;
  font-weight: 600; line-height: 1.2;
}
.pillar p { margin: 0; color: var(--text-dim); font-size: 0.92rem; line-height: 1.55; }
@media (min-width: 700px) { .pillar-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Pull Quote with decorative quotation marks ── */
.pull-quote {
  border-left: 2px solid var(--accent-mineral);
  padding-left: var(--space-4); margin: var(--space-5) 0;
  position: relative;
}
.pull-quote::before {
  content: "\201C";
  position: absolute; top: -0.8rem; left: var(--space-2);
  font-family: var(--serif); font-size: 4rem; font-weight: 700;
  line-height: 1;
  color: var(--accent-mineral); opacity: 0.15;
  pointer-events: none;
}
.pull-quote p {
  font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic; font-weight: 500; line-height: 1.45;
  color: var(--text-dim); margin: 0;
}

/* ── Field Notes — Glassmorphism Carousel ── */
.field-notes-layout {
  max-width: 1120px;
  margin: 0 auto;
}
.fn-showcase {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(15,24,36,0.45);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  box-shadow: var(--shadow-soft), var(--shadow-inset);
  overflow: hidden;
}
.fn-showcase-content {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 440px;
}
.fn-carousel { min-height: 100%; height: 100%; }
.field-notes-art { min-height: 100%; border-left: 0; }
.fn-image-region { position: relative; min-height: 320px; height: 100%; }
.fn-image-slide {
  display: none;
  position: absolute;
  inset: 0;
  background: transparent;
}
.fn-image-slide.fn-image-active { display: block; animation: fnFadeIn 400ms var(--ease-out-expo) forwards; }
.fn-image-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: saturate(0.82) contrast(1.06) brightness(0.92);
}
.fn-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,12,18,0.08) 0%, rgba(8,12,18,0.58) 100%);
  pointer-events: none;
}
@media (min-width: 980px) {
  .fn-showcase-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 520px;
    height: 520px;
  }
  .field-notes-art { border-left: 1px solid var(--border-soft); }
  .fn-image-region { min-height: 520px; height: 520px; }
}
.fn-card-region { min-height: 200px; perspective: 800px; height: 100%; }
.fn-slide {
  display: none;
  padding: clamp(1.1rem, 2vw, 2rem);
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 0.6rem;
  position: relative; overflow: hidden;
  height: 100%;
}
.fn-slide.fn-active {
  display: grid;
  animation: fnFadeIn 400ms var(--ease-out-expo) forwards;
}
.fn-slide-kicker {
  margin: 0; font-family: var(--mono); font-size: 0.58rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-aurora);
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.fn-slide h3 {
  margin: 0; font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; line-height: 1.15;
}
.fn-slide-fact {
  margin: 0; color: var(--accent-ice); font-size: 0.92rem; line-height: 1.45;
}
.fn-slide-body {
  margin: 0; color: var(--text-dim); font-size: 0.9rem;
  line-height: 1.6; max-width: none;
}
@media (min-width: 980px) {
  .fn-slide-body {
    overflow-y: auto;
    padding-right: 0.35rem;
  }
}
.fn-nav {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-2); padding: var(--space-3);
  border-top: 1px solid var(--border-soft);
}
.fn-nav-btn {
  background: rgba(15,24,36,0.5); border: 1px solid var(--border-soft);
  border-radius: 999px; color: var(--text-dim);
  font-family: var(--mono); font-size: 1rem; line-height: 1;
  width: 2.4rem; height: 2.4rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, color 0.3s ease,
              transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease,
              background 0.3s ease;
}
.fn-nav-btn:hover, .fn-nav-btn:focus-visible {
  border-color: var(--accent-ice); color: var(--text-main);
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(200,228,245,0.1);
  background: rgba(200,228,245,0.06);
  outline: none;
}
.fn-dots {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap; justify-content: center;
}
.fn-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(147,168,188,0.15); border: 1px solid rgba(147,168,188,0.3);
  padding: 0; cursor: pointer;
  transition: background 0.3s ease, transform 0.3s var(--ease-out-expo),
              border-color 0.3s ease, width 0.3s var(--ease-out-expo),
              box-shadow 0.3s ease;
}
.fn-dot.fn-dot-active {
  background: var(--accent-ice); border-color: var(--accent-ice);
  width: 20px; border-radius: 999px;
  box-shadow: 0 0 10px rgba(200,228,245,0.25);
}
.fn-dot:hover { background: rgba(200,228,245,0.3); transform: scale(1.3); }
.fn-dot:focus-visible { outline: 2px solid var(--accent-ice); outline-offset: 2px; }

/* ── System ── */
.system-grid { display: grid; gap: var(--space-4); }
.flow-diagram {
  border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  background: rgba(15,24,36,0.45);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  padding: var(--space-4); display: grid; gap: 0.65rem;
  box-shadow: var(--shadow-soft), var(--shadow-inset);
  position: relative; overflow: hidden;
}
.flow-diagram::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143,181,208,0.2), transparent);
}
.flow-step { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.8rem; align-items: center; }
.flow-step-num {
  font-family: var(--mono); font-size: 0.6rem; font-weight: 300;
  letter-spacing: 0.1em; color: var(--accent-ice);
  text-align: center; padding: 0.4rem 0;
  border: 1px solid var(--border-medium); border-radius: 999px;
  background: rgba(200,228,245,0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.flow-step:hover .flow-step-num {
  border-color: var(--accent-ice);
  box-shadow: 0 0 12px rgba(200,228,245,0.1);
}
.flow-step-text {
  font-size: 0.92rem; color: var(--text-dim);
  padding: 0.5rem 0; border-bottom: 1px solid rgba(147,168,188,0.1);
}
.flow-step:last-child .flow-step-text { border-bottom: none; }

.status-band {
  border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  background: rgba(15,24,36,0.4);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  padding: var(--space-4); display: grid; gap: var(--space-3);
  box-shadow: var(--shadow-soft), var(--shadow-inset);
}
.status-row { display: grid; gap: 0.6rem; }
.status-item { display: grid; gap: 0.3rem; }
.status-label {
  font-family: var(--mono); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted);
}
.status-value { font-size: 0.92rem; color: var(--text-dim); }
.status-band-title {
  margin: 0; font-family: var(--serif); font-size: 1.05rem;
  -webkit-text-stroke: 0.2px rgba(200,228,245,0.1);
}
@media (min-width: 860px) { .system-grid { grid-template-columns: 1.2fr 0.8fr; } }
@media (min-width: 700px) {
  .status-row { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .status-item + .status-item { border-left: 1px solid var(--border-soft); padding-left: var(--space-3); }
}

/* ── Waypoints — Glassmorphism Cards ── */
.waypoints-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; perspective: 1000px; }
.waypoint-card {
  border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  background: rgba(15,24,36,0.45);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  padding: var(--space-4); display: grid; gap: 0.8rem;
  box-shadow: var(--shadow-soft), var(--shadow-inset);
  position: relative; overflow: hidden;
  transition: border-color 0.4s ease, transform 0.5s var(--ease-out-expo),
              box-shadow 0.4s ease;
  transform-style: preserve-3d;
}
/* Glass shine edge */
.waypoint-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit; z-index: -1;
  background: linear-gradient(145deg, rgba(200,228,245,0.08), transparent 35%, transparent 65%, rgba(127,196,184,0.06));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.waypoint-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px) rotateX(1deg) rotateY(-1.5deg);
  box-shadow: var(--shadow-medium), 0 0 30px rgba(200,228,245,0.04);
}
.waypoint-card:hover::before { opacity: 1; }
.waypoint-card h3 { margin: 0; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.waypoint-card p { margin: 0; color: var(--text-dim); font-size: 0.9rem; line-height: 1.55; }
.waypoint-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
@media (min-width: 700px) { .waypoints-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Final CTA ── */
.final-section {
  position: relative; padding: clamp(5rem, 12vh, 10rem) 0; overflow: hidden;
}
.final-bg { position: absolute; inset: 0; z-index: -1; }
.final-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 50%;
  filter: saturate(0.65) contrast(1.1) brightness(0.3);
  animation: kenBurns 35s ease-in-out infinite;
  transform-origin: center center;
}
.final-fog {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(8,12,18,1) 0%, rgba(8,12,18,0.6) 20%,
      rgba(8,12,18,0.4) 50%, rgba(8,12,18,0.6) 80%, rgba(8,12,18,1) 100%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(200,228,245,0.04), transparent);
}
.final-content {
  position: relative; z-index: 1; text-align: center;
  display: grid; gap: 1.5rem; justify-items: center;
}
.final-title {
  margin: 0; font-family: var(--serif);
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  font-weight: 700; line-height: 1.02; max-width: 18ch;
  -webkit-text-stroke: 0.3px rgba(200,228,245,0.12);
}
.final-lead {
  margin: 0; color: var(--text-dim);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem); line-height: 1.6; max-width: 48ch;
}
.final-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }

/* ── Immersive Footer ── */
.site-footer {
  position: relative;
  border-top: none;
  padding: calc(var(--space-7) + 40px) 0 var(--space-4);
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(143,181,208,0.04), transparent 60%);
}
/* Mountain ridge silhouette at top of footer */
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'%3E%3Cpath d='M0,50 L0,35 L80,28 L200,38 L320,15 L440,32 L560,8 L680,25 L800,5 L920,22 L1040,12 L1160,30 L1280,18 L1400,28 L1440,22 L1440,50 Z' fill='%23080c12' opacity='0.7'/%3E%3Cpath d='M0,50 L0,40 L120,30 L260,42 L400,18 L520,35 L680,10 L800,28 L960,8 L1100,24 L1240,14 L1360,32 L1440,26 L1440,50 Z' fill='%230d1420' opacity='0.5'/%3E%3Cpath d='M0,50 L0,44 L160,36 L320,45 L480,22 L640,38 L800,16 L960,34 L1120,20 L1280,36 L1440,30 L1440,50 Z' fill='%23121d2e' opacity='0.3'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
  pointer-events: none; z-index: 1;
}
/* Ambient glow behind footer content */
.site-footer::after {
  content: "";
  position: absolute; top: 30%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(143,181,208,0.04) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

.footer-grid { display: grid; gap: var(--space-4); position: relative; z-index: 2; }
.footer-block h3 {
  margin: 0 0 0.5rem; font-family: var(--mono); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-aurora);
}
.footer-block p { margin: 0; color: var(--text-dim); font-size: 0.88rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.footer-links a {
  color: var(--text-dim); font-size: 0.88rem;
  transition: color 0.3s ease;
  position: relative; display: inline-block;
}
/* Ice-blue underline animation on hover */
.footer-links a::after {
  content: "";
  position: absolute; bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent-ice), transparent);
  transition: width 0.4s var(--ease-out-expo);
}
.footer-links a:hover { color: var(--accent-ice-bright); text-decoration: none; }
.footer-links a:hover::after { width: 100%; }

.footer-bottom {
  margin-top: var(--space-4); padding-top: var(--space-3);
  border-top: 1px solid var(--border-soft);
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 0.5rem 1rem; font-size: 0.78rem; color: var(--text-muted);
  position: relative; z-index: 2;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* ── Ambient Glow — static ── */
.ambient-glow {
  position: fixed; top: -300px; right: -300px;
  width: 1000px; height: 1000px; border-radius: 50%;
  background: radial-gradient(circle,
    rgba(127,196,184,0.06) 0%, rgba(155,185,206,0.04) 30%, transparent 70%);
  pointer-events: none; z-index: -1;
  opacity: 0.04;
  filter: blur(40px);
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  body::before { animation: none; }
  .hero-bg img { animation: none; transform: scale(1.05); }
  .final-bg img { animation: none; }
  .btn-primary { animation: none; }
  .hero-scroll { animation: none; opacity: 0.6; }
  .scroll-line { animation: none; }
  .pillar:hover { transform: translateY(-3px); }
  .waypoint-card:hover { transform: translateY(-3px); }
  .is-visible .section-kicker::after { animation: none; width: 2.5rem; }
}
