/* ==========================================================================
   MORNINGSTAR AI — EDITORIAL LUXURY DESIGN SYSTEM
   Inspired by Les Marteau (https://www.lesmarteau.com/)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & COLOR THEMES
   -------------------------------------------------------------------------- */
:root {
  /* Typography Stacks */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Transitions & Radii */
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.7s var(--ease-editorial);
  --transition-fast: 0.25s ease;
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Layout Max-Widths */
  --container-max: 1320px;
  --container-pad: clamp(1.5rem, 5vw, 4rem);
}

/* Obsidian Dark Baseline (Luxury Haute-Couture Mode) */
[data-theme="dark"] {
  --bg-primary: #0B0B0C;
  --bg-surface: #141416;
  --bg-surface-elevated: #1B1B1F;
  --bg-glass: rgba(14, 14, 16, 0.75);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.22);
  --border-strong: rgba(255, 255, 255, 0.35);

  --text-primary: #F8F8F9;
  --text-secondary: #9B9BA5;
  --text-muted: #5E5E69;
  
  --accent-gold: #D4AF37;
  --accent-gold-soft: rgba(212, 175, 55, 0.12);
  --accent-gold-glow: rgba(212, 175, 55, 0.25);
  --accent-glow: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, rgba(11, 11, 12, 0) 70%);

  --shadow-card: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  --shadow-elevated: 0 24px 60px -12px rgba(0, 0, 0, 0.8);
}

/* Studio Light Mode (High-End Gallery Mode) */
[data-theme="light"] {
  --bg-primary: #F7F7F8;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F0F0F2;
  --bg-glass: rgba(247, 247, 248, 0.82);
  
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.22);
  --border-strong: rgba(0, 0, 0, 0.4);

  --text-primary: #0E0E10;
  --text-secondary: #52525C;
  --text-muted: #8E8E9A;
  
  --accent-gold: #A68428;
  --accent-gold-soft: rgba(166, 132, 40, 0.1);
  --accent-gold-glow: rgba(166, 132, 40, 0.2);
  --accent-glow: radial-gradient(circle, rgba(166, 132, 40, 0.04) 0%, rgba(247, 247, 248, 0) 70%);

  --shadow-card: 0 16px 40px -12px rgba(0, 0, 0, 0.06);
  --shadow-elevated: 0 24px 60px -12px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & ESSENTIALS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.font-mono {
  font-family: var(--font-mono);
}

.text-gold {
  color: var(--accent-gold);
}

.text-accent {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   3. AMBIENT GLOW LAYER
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: var(--accent-glow);
  filter: blur(120px);
  opacity: 0.6;
}

.glow-top {
  top: -200px;
  right: -100px;
}

.glow-bottom {
  bottom: -200px;
  left: -150px;
}

/* --------------------------------------------------------------------------
   4. FLOATING EDITORIAL NAVIGATION
   -------------------------------------------------------------------------- */
.editorial-nav {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 var(--container-pad);
  pointer-events: none;
}

.nav-container {
  pointer-events: auto;
  width: 100%;
  max-width: var(--container-max);
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.5rem 1.75rem;
  background: var(--bg-glass);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 36px -6px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-fast);
}

.nav-container:hover {
  border-color: var(--border-hover);
}

/* Left Links */
.nav-links.left-links {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   CENTERED GLOSSY LOGO ARCHITECTURE (Inspired by Les Marteau)
   -------------------------------------------------------------------------- */
.nav-brand-center {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  transition: transform 0.4s var(--ease-editorial);
}

.nav-brand-center:hover {
  transform: scale(1.03);
}

/* The Glossy Capsule Vessel */
.glossy-logo-capsule {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.4rem;
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: all 0.4s var(--ease-editorial);
}

/* Dark Mode: Liquid Crystal / Obsidian Polished Glass */
[data-theme="dark"] .glossy-logo-capsule {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.07) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.45),
    inset 0 -1px 2px rgba(0, 0, 0, 0.6),
    0 8px 28px -4px rgba(0, 0, 0, 0.55),
    0 0 20px rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nav-brand-center:hover .glossy-logo-capsule {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 
    inset 0 1px 3px rgba(255, 255, 255, 0.65),
    inset 0 -1px 2px rgba(0, 0, 0, 0.6),
    0 12px 34px -4px rgba(0, 0, 0, 0.7),
    0 0 28px rgba(212, 175, 55, 0.25);
}

/* Light Mode: High-Lacquered Gloss Ceramic / Piano Mirror */
[data-theme="light"] .glossy-logo-capsule {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 248, 0.8) 50%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 1),
    inset 0 -1px 2px rgba(0, 0, 0, 0.08),
    0 8px 22px -4px rgba(0, 0, 0, 0.1),
    0 0 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .nav-brand-center:hover .glossy-logo-capsule {
  border-color: rgba(0, 0, 0, 0.28);
  box-shadow: 
    inset 0 1px 3px rgba(255, 255, 255, 1),
    0 10px 28px -4px rgba(0, 0, 0, 0.15);
}

/* Curvature Upper Reflection (Glass Dome Lens Highlight) */
.glossy-logo-capsule::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: var(--radius-pill) var(--radius-pill) 0 0;
  pointer-events: none;
  z-index: 2;
}

[data-theme="light"] .glossy-logo-capsule::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.05) 100%);
}

/* Dynamic Specular Shimmer Sweep (Les Marteau Gloss Effect) */
.gloss-reflection-layer {
  position: absolute;
  top: -60%;
  left: -130%;
  width: 70%;
  height: 220%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.08) 38%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.08) 62%,
    transparent 80%
  );
  transform: rotate(25deg);
  pointer-events: none;
  z-index: 3;
  animation: glossSweep 5.5s infinite var(--ease-editorial);
}

[data-theme="light"] .gloss-reflection-layer {
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.2) 38%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0.2) 62%,
    transparent 80%
  );
}

@keyframes glossSweep {
  0%, 55% {
    left: -140%;
  }
  75%, 100% {
    left: 210%;
  }
}

.nav-brand-center:hover .gloss-reflection-layer {
  animation: none;
  transition: left 0.75s var(--ease-editorial);
  left: 210%;
}

/* Centered Logo Dimensions - BIG, REDEFINED, SHARP */
.nav-logo-centered {
  height: 40px;
  width: auto;
  max-width: 255px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  display: block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

[data-theme="dark"] .nav-logo-centered {
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.35)) drop-shadow(0 0 16px rgba(212, 175, 55, 0.2));
}

[data-theme="light"] .nav-logo-centered {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

[data-theme="dark"] .light-logo { display: none !important; }
[data-theme="dark"] .dark-logo { display: block !important; }
[data-theme="light"] .light-logo { display: block !important; }
[data-theme="light"] .dark-logo { display: none !important; }

/* Right Actions */
.nav-actions.right-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-icon-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.nav-icon-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: scale(1.05);
}

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-btn.ghost {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.nav-btn.ghost:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.nav-btn.primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  border: 1px solid var(--text-primary);
  font-weight: 600;
}

.nav-btn.primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.arrow-icon {
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
}

.nav-btn.primary:hover .arrow-icon {
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   5. EDITORIAL BUTTONS
   -------------------------------------------------------------------------- */
.btn-editorial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn-editorial.primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.btn-editorial.primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-editorial.secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.btn-editorial.secondary:hover {
  border-color: var(--text-primary);
  transform: translateY(-2px);
  background: var(--accent-gold-soft);
}

.btn-editorial.large {
  padding: 1.1rem 2.25rem;
  font-size: 0.95rem;
}

.btn-editorial.full-width {
  width: 100%;
}

.btn-arrow {
  transition: transform var(--transition-fast);
}

.btn-editorial:hover .btn-arrow {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   6. SECTION FRAMEWORK & DIVIDERS
   -------------------------------------------------------------------------- */
.section-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-divider-line {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  height: 1px;
  background: var(--border-subtle);
}

.section-header {
  margin-bottom: 4.5rem;
  max-width: 820px;
}

.section-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-secondary);
}

.section-summary {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 640px;
}

/* --------------------------------------------------------------------------
   7. SECTION 01 — HERO
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: clamp(8rem, 14vw, 12rem);
  padding-bottom: clamp(6rem, 10vw, 9rem);
  position: relative;
  z-index: 1;
}

.hero-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.editorial-index {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.index-badge {
  color: var(--accent-gold);
  font-weight: 600;
}

.index-sep {
  color: var(--text-muted);
}

.index-tag {
  color: var(--text-secondary);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-gold);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 2.75rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-telemetry {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.telemetry-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.pulse-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseLive 2s infinite ease-in-out;
}

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

.telemetry-label {
  color: var(--text-muted);
}

.telemetry-val {
  color: var(--text-primary);
  font-weight: 500;
}

/* Monumental Hero Media Card */
.hero-media-wrapper {
  position: relative;
}

.editorial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.editorial-card:hover {
  border-color: var(--border-hover);
}

.hero-media-card .media-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  background: #000;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(110%);
  transition: transform 1.2s var(--ease-editorial), filter 0.6s ease;
}

.hero-media-card:hover .hero-img {
  transform: scale(1.04);
  filter: grayscale(85%) contrast(115%);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0) 60%, rgba(11, 11, 12, 0.8) 100%);
  pointer-events: none;
}

.hero-card-footer {
  padding: 1.25rem 1.5rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.card-caption {
  display: flex;
  flex-direction: column;
}

.caption-index {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
}

.caption-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.live-clock-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.clock-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.clock-value {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   8. SECTION 02 — CORE PHILOSOPHY
   -------------------------------------------------------------------------- */
.section-philosophy {
  padding: clamp(6rem, 10vw, 10rem) 0;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.philosophy-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.philosophy-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.card-num {
  font-size: 1.1rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.card-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-footer-metric {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.metric-highlight {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.metric-context {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Split Image Showcase */
.philosophy-showcase {
  width: 100%;
}

.showcase-image-frame {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(110%);
  transition: transform 1.2s var(--ease-editorial);
}

.showcase-image-frame:hover .showcase-img {
  transform: scale(1.03);
}

.showcase-quote {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 11, 12, 0.9) 0%, rgba(11, 11, 12, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 5vw, 4rem);
}

.showcase-quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: #FFFFFF;
  max-width: 840px;
  margin-bottom: 1rem;
}

.showcase-quote cite {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  text-transform: uppercase;
  font-style: normal;
}

/* --------------------------------------------------------------------------
   9. SECTION 03 — ENTERPRISE CAPABILITIES
   -------------------------------------------------------------------------- */
.section-capabilities {
  padding: clamp(6rem, 10vw, 10rem) 0;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.capability-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  position: relative;
}

.capability-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.cap-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.cap-index {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-gold);
}

.cap-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
}

.cap-badge.gold {
  color: var(--accent-gold);
  border-color: var(--accent-gold-soft);
  background: var(--accent-gold-soft);
}

.cap-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cap-description {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 2rem;
}

.cap-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  padding-left: 0;
}

.cap-deliverables li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cap-deliverables li::before {
  content: "—";
  color: var(--accent-gold);
  font-weight: 600;
}

.cap-visual-indicator {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.indicator-glyph {
  color: var(--accent-gold);
  font-size: 0.6rem;
}

/* Interactive Simulator in SIMBAcore Card */
.interactive-simulator {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.simulator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sim-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
}

.sim-controls {
  display: flex;
  gap: 0.35rem;
}

.sim-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-btn.active {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
  font-weight: 600;
}

.sim-ledger {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.78rem;
}

.sim-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 0.9fr;
  align-items: center;
  gap: 0.5rem;
}

.sim-ledger.hide-zig .sim-row {
  grid-template-columns: 2fr 1.4fr 1fr;
}

.sim-ledger.hide-usd .sim-row {
  grid-template-columns: 2fr 1.4fr 1fr;
}

.sim-row.header {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  padding-bottom: 0.25rem;
}

.status-cleared {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #10B981;
  letter-spacing: 0.05em;
}

.sim-ledger.hide-usd .col-usd {
  display: none !important;
}

.sim-ledger.hide-zig .col-zig {
  display: none !important;
}

/* --------------------------------------------------------------------------
   10. SECTION 04 — KEY IMPACT METRICS (BENCHMARKS)
   -------------------------------------------------------------------------- */
.section-benchmarks {
  padding: clamp(6rem, 10vw, 10rem) 0;
}

.metrics-editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric-editorial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.metric-editorial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.metric-top {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.metric-huge {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: 300;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.metric-label-mono {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metric-rule {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: 1.5rem;
}

.metric-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.metric-explanation {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   11. SECTION 05 — VISUAL ATLAS / CURATION
   -------------------------------------------------------------------------- */
.section-curation {
  padding: clamp(6rem, 10vw, 10rem) 0;
}

.atlas-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.atlas-item {
  display: flex;
  flex-direction: column;
}

.atlas-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000;
  margin-bottom: 1.25rem;
}

.atlas-item.large .atlas-img-wrap {
  aspect-ratio: 4 / 3.4;
}

.atlas-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(110%);
  transition: transform 1.2s var(--ease-editorial);
}

.atlas-item:hover .atlas-img {
  transform: scale(1.05);
}

.atlas-caption {
  display: flex;
  flex-direction: column;
}

.atlas-index {
  font-size: 0.68rem;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.atlas-title {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   12. SECTION 06 — EXECUTIVE CONTACT CTA
   -------------------------------------------------------------------------- */
.section-contact {
  padding: clamp(6rem, 10vw, 10rem) 0;
}

.contact-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.contact-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.status-indicator-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
}

.contact-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-gold);
  letter-spacing: 0.14em;
}

.contact-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: 860px;
  margin-bottom: 1.5rem;
}

.contact-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-gold);
}

.contact-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 580px;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 4.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-details-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
  text-align: left;
}

.contact-col {
  display: flex;
  flex-direction: column;
}

.col-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.col-val {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
}

.col-val.link {
  color: var(--accent-gold);
  transition: opacity var(--transition-fast);
}

.col-val.link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   13. MINIMAL EDITORIAL FOOTER
   -------------------------------------------------------------------------- */
.editorial-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.footer-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  transition: transform var(--transition-fast);
}

.footer-brand:hover {
  transform: scale(1.03);
}

.footer-logo-horizontal {
  height: 28px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.2));
}

[data-theme="light"] .footer-logo-horizontal {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-center {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.footer-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.82rem;
  transition: color var(--transition-fast);
}

.footer-link-btn:hover,
.footer-link:hover {
  color: var(--text-primary);
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* --------------------------------------------------------------------------
   14. EXECUTIVE BRIEF MODAL DIALOG
   -------------------------------------------------------------------------- */
.editorial-modal {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 580px;
  width: 90%;
  margin: auto;
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.editorial-modal::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-elevated);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-brand-tag {
  font-size: 0.72rem;
  color: var(--accent-gold);
  letter-spacing: 0.12em;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.form-input,
.form-select {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
  border-color: var(--text-primary);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   15. REVEAL ANIMATIONS (INTERSECTION OBSERVER)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-editorial), transform 0.8s var(--ease-editorial);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* --------------------------------------------------------------------------
   16. TOAST NOTIFICATION SHELF
   -------------------------------------------------------------------------- */
.toast-shelf {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  box-shadow: var(--shadow-card);
  animation: slideToast 0.3s var(--ease-editorial);
}

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

/* --------------------------------------------------------------------------
   17. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-media-wrapper {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .metrics-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .atlas-grid {
    grid-template-columns: 1fr;
  }

  .contact-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-links.left-links {
    display: none;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    padding: 0.5rem 1.25rem;
  }

  .nav-logo-centered {
    height: 32px;
    max-width: 195px;
  }

  .glossy-logo-capsule {
    padding: 0.35rem 0.9rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .metrics-editorial-grid {
    grid-template-columns: 1fr;
  }

  .contact-details-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   18. PRINT & EXECUTIVE PDF STYLESHEET
   -------------------------------------------------------------------------- */
@media print {
  @page {
    margin: 1.5cm;
    size: A4 portrait;
  }

  body {
    background: #FFFFFF !important;
    color: #111111 !important;
    font-size: 10pt;
  }

  .editorial-nav,
  .nav-actions,
  .hero-actions,
  .contact-actions,
  .ambient-glow,
  .sim-controls,
  .toast-shelf,
  .editorial-modal,
  .footer-right {
    display: none !important;
  }

  .hero-section {
    padding-top: 1rem !important;
    padding-bottom: 2rem !important;
  }

  .hero-container {
    grid-template-columns: 1fr 1fr;
  }

  .section-philosophy,
  .section-capabilities,
  .section-benchmarks,
  .section-curation,
  .section-contact {
    padding: 2rem 0 !important;
  }

  .editorial-card,
  .philosophy-card,
  .capability-card,
  .metric-editorial-card,
  .contact-box {
    border: 1px solid #CCCCCC !important;
    box-shadow: none !important;
    background: #FAFAFA !important;
    break-inside: avoid;
  }

  .hero-title,
  .section-title,
  .contact-headline {
    color: #000000 !important;
  }

  .hero-title em,
  .section-title em,
  .contact-headline em {
    color: #555555 !important;
  }

  .hero-img,
  .showcase-img,
  .atlas-img {
    filter: grayscale(100%) !important;
  }
}
