/*!
 * ==============================================================================
 * MINERVA GLOBAL CONSULTING (MGC) — MASTER STYLESHEET & DESIGN SYSTEM
 * 
 * Designed & Developed by Alisons Technology
 * Website: https://alisonstechnology.com
 * Client: Minerva Global Consulting
 * Version: 2.4.0 (Production Release)
 * Scope: Institutional Editorial Architecture | High-Contrast Obsidian & Copper
 * ==============================================================================
 */

/* --------------------------------------------------------------------------
   01. DESIGN TOKENS & CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette: Editorial Charcoal, Mineral Copper, Warm Ivory */
  --color-bg-base: #070a0f;
  --color-bg-subtle: #0d121a;
  --color-bg-surface: #121824;
  --color-bg-surface-elevated: #172030;
  --color-bg-surface-hover: #1e293d;

  /* Alternating Light Theme Tokens */
  --color-light-base: #fbf9f5;
  --color-light-alt: #f3efe6;
  --color-light-surface: #ffffff;
  --color-light-border: rgba(18, 22, 28, 0.1);
  --color-light-text-primary: #12161c;
  --color-light-text-secondary: #334155;
  --color-light-text-muted: #64748b;
  --color-copper-warm: #9e7f47;

  --color-border-subtle: rgba(255, 255, 255, 0.08);
  --color-border-light: rgba(255, 255, 255, 0.16);
  --color-border-active: rgba(198, 166, 107, 0.45);

  --color-copper: #c6a66b;
  --color-copper-light: #dfc596;
  --color-copper-dark: #9e7f47;
  --color-copper-glow: rgba(198, 166, 107, 0.15);

  --color-slate-100: #eef2f6;
  --color-slate-200: #d6e0ea;
  --color-slate-300: #b0c2d4;
  --color-slate-400: #8298b0;
  --color-slate-500: #59708a;

  --color-text-primary: #f5f7fa;
  --color-text-secondary: #c2cdd8;
  --color-text-muted: #8899aa;
  --color-text-inverse: #070a0f;

  --color-accent-blue: #3b82f6;
  --color-accent-teal: #14b8a6;
  --color-accent-amber: #f59e0b;
  --color-accent-rose: #f43f5e;

  /* Typography */
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-serif: 'Newsreader', 'Georgia', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Max Widths */
  --container-max: 1320px;
  --container-narrow: 920px;
  --container-prose: 720px;

  /* Elevation & Shadows */
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(198, 166, 107, 0.12);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Radii */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* Layout Constants */
  --header-height: 84px;
}

/* --------------------------------------------------------------------------
   02. RESET & BASE ELEMENTS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--color-bg-base);
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

img, svg, picture, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-copper);
  color: var(--color-text-inverse);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  z-index: 9999;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--color-copper);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   03. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-primary);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.heading-display {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.heading-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--color-slate-100);
}

.h1-hero {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.8vw, 3.8rem);
  line-height: 1.14;
  letter-spacing: 0.03em;
  color: #ffffff;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  overflow-wrap: break-word;
}

.h2-section {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.h3-card {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.meta-label {
  font-family: var(--font-sans);
  font-size: 0.725rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-copper);
  display: inline-block;
  margin-bottom: var(--space-2);
  line-height: 1.4;
}

.meta-label::before,
.meta-label::after {
  content: none !important;
  display: none !important;
}

.text-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-slate-200);
}

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

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

/* Rotating Headline in Hero */
.rotating-headline-wrap {
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  margin-bottom: var(--space-6);
  position: relative;
}

.rotating-phrase {
  display: inline-block;
  color: var(--color-copper-light);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* --------------------------------------------------------------------------
   04. LIGHT SECTIONS (ALTERNATING HOMEPAGE DESIGN)
   -------------------------------------------------------------------------- */
.section-light {
  background-color: var(--color-light-base);
  color: var(--color-light-text-secondary);
  border-top: 1px solid var(--color-light-border);
  border-bottom: 1px solid var(--color-light-border);
  position: relative;
  z-index: 2;
}

.section-light-alt {
  background-color: var(--color-light-alt);
  color: var(--color-light-text-secondary);
  border-top: 1px solid var(--color-light-border);
  border-bottom: 1px solid var(--color-light-border);
  position: relative;
  z-index: 2;
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light-alt h1,
.section-light-alt h2,
.section-light-alt h3,
.section-light-alt h4 {
  color: var(--color-light-text-primary);
}

.section-light .text-lead,
.section-light-alt .text-lead {
  color: #1e293b;
}

.section-light .text-muted,
.section-light-alt .text-muted {
  color: var(--color-light-text-muted);
}

.section-light .meta-label,
.section-light-alt .meta-label {
  color: #8c6832;
}

.section-light .meta-label::before,
.section-light .meta-label::after,
.section-light-alt .meta-label::before,
.section-light-alt .meta-label::after {
  content: none !important;
  display: none !important;
}

.section-light .card,
.section-light-alt .card {
  background-color: var(--color-light-surface);
  border: 1px solid var(--color-light-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.section-light .card:hover,
.section-light-alt .card:hover {
  border-color: var(--color-copper-warm);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08);
}

.section-light .card-link-text,
.section-light-alt .card-link-text {
  color: var(--color-copper-warm);
}

.section-light .card-title,
.section-light-alt .card-title {
  color: #0f172a;
}

.section-light .card-desc,
.section-light-alt .card-desc {
  color: #334155;
}

.section-light .card-meta,
.section-light-alt .card-meta {
  color: #64748b;
  border-color: rgba(0, 0, 0, 0.08);
}

.section-light p,
.section-light li,
.section-light-alt p,
.section-light-alt li {
  color: #334155;
}

.section-light strong,
.section-light-alt strong {
  color: #0f172a;
}

.section-light .form-control,
.section-light-alt .form-control {
  background-color: #ffffff;
  border-color: rgba(18, 22, 28, 0.16);
  color: #0f172a;
}

.section-light .form-control:focus,
.section-light-alt .form-control:focus {
  border-color: var(--color-copper-warm);
  box-shadow: 0 0 0 3px rgba(158, 127, 71, 0.15);
}

.section-light .form-label,
.section-light-alt .form-label {
  color: #1e293b;
}

.section-light .credentials-item,
.section-light-alt .credentials-item {
  color: #334155;
}

.section-light .credentials-item::before,
.section-light-alt .credentials-item::before {
  content: none !important;
  display: none !important;
}

.section-light .divider,
.section-light-alt .divider {
  background-color: var(--color-light-border);
}

.section-light .table th,
.section-light-alt .table th {
  background-color: #ede7dc;
  color: #0f172a;
  border-color: rgba(18, 22, 28, 0.12);
}

.section-light .table td,
.section-light-alt .table td {
  color: #334155;
  border-color: rgba(18, 22, 28, 0.08);
}

.section-light .table tbody tr:hover,
.section-light-alt .table tbody tr:hover {
  background-color: rgba(198, 166, 107, 0.06);
}

/* --------------------------------------------------------------------------
   05. NAVIGATION — GLASS NAV MENU (FROSTED LUXURY OBSIDIAN)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 15, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
  transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  height: var(--header-height);
}

@supports not (backdrop-filter: blur(20px)) {
  .site-header {
    background: rgba(7, 10, 15, 0.94);
  }
}

.site-header.is-scrolled {
  background: rgba(7, 10, 15, 0.86);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
  box-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-4);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 4px 0;
}

.brand-logo-img {
  height: 60px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(212, 160, 23, 0.22)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo-img.footer-logo {
  height: 56px;
  max-width: 130px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 16px rgba(212, 160, 23, 0.4)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}

.brand-text-block {
  display: none !important;
}

/* Primary Horizontal Navigation Menu (Normal Menu, No Overlapping) */
.primary-nav {
  display: none;
}

@media (min-width: 1024px) {
  .primary-nav {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1.25vw, 1.5rem);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
  }

  .nav-item {
    position: relative;
    white-space: nowrap;
  }

  .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: clamp(0.785rem, 0.85vw, 0.885rem);
    font-weight: 500;
    color: var(--color-slate-200);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.45rem 0.75rem;
    border-radius: 4px;
    transition: all var(--transition-fast);
  }

  .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  }

  .nav-link.active {
    color: var(--color-copper);
    background: rgba(198, 166, 107, 0.12);
    box-shadow: inset 0 1px 0 0 rgba(198, 166, 107, 0.22);
  }

  .nav-caret {
    width: 9px;
    height: 9px;
    transition: transform var(--transition-fast);
    opacity: 0.75;
  }

  .nav-item.has-dropdown:hover .nav-caret {
    transform: rotate(180deg);
  }

  /* Frosted Glass Dropdown Menus */
  .nav-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 270px;
    background: rgba(10, 14, 22, 0.82);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 0.5rem;
    box-shadow: 0 20px 48px -4px rgba(0, 0, 0, 0.7), inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1050;
    list-style: none;
    margin: 0;
  }

  .nav-item.has-dropdown:hover .nav-dropdown,
  .nav-item.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown-link {
    display: block;
    padding: 0.65rem 0.9rem;
    font-size: 0.825rem;
    color: var(--color-slate-200);
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition-fast);
  }

  .dropdown-link:hover,
  .dropdown-link.active {
    background: rgba(198, 166, 107, 0.14);
    color: var(--color-copper-light);
    box-shadow: inset 0 1px 0 0 rgba(198, 166, 107, 0.2);
    padding-left: 1.1rem;
  }
}

/* Header actions & CTA */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.btn-header {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
}

/* Menu Toggle Button: visible on mobile/tablet, hidden on desktop */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-copper);
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-text-primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Clean Mobile Nav Drawer (Glass Styling) */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - var(--header-height));
  background: rgba(7, 10, 15, 0.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: var(--space-6) var(--space-6);
  flex-direction: column;
  gap: var(--space-2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7), inset 0 1px 0 0 rgba(255, 255, 255, 0.06);
  overflow-y: auto;
  z-index: 999;
}

.mobile-nav-drawer.is-open {
  display: flex;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-subtle);
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-slate-200);
  padding: 0.85rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border-subtle);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-nav-link.sub-link {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding-left: 1rem;
  text-transform: none;
  border-bottom: none;
  min-height: 40px;
  padding-block: 0.5rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-copper);
  padding-left: var(--space-2);
}

.mobile-nav-link.sub-link:hover,
.mobile-nav-link.sub-link.active {
  padding-left: 1.35rem;
}

/* --------------------------------------------------------------------------
   06. CINEMATIC HERO VIDEO & GSAP STYLING
   -------------------------------------------------------------------------- */
.hero-cinematic {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #070a0f;
  border-bottom: 1px solid var(--color-border-subtle);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(0.68) contrast(1.08);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(7, 10, 15, 0.72) 0%, rgba(7, 10, 15, 0.42) 35%, rgba(7, 10, 15, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 10, 15, 0.85) 0%, rgba(7, 10, 15, 0.45) 55%, rgba(7, 10, 15, 0.75) 100%),
    radial-gradient(circle at 75% 30%, rgba(198, 166, 107, 0.15) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}

.hero-content-layer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.hero-title-main {
  display: block;
  margin-bottom: var(--space-2);
}

.hero-rotating-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.35em;
  font-size: clamp(1.2rem, 3vw, 1.95rem);
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-copper-light);
  min-height: 1.4em;
  line-height: 1.35;
  margin-top: var(--space-2);
}

.hero-rotating-prefix {
  color: var(--color-slate-300);
  white-space: nowrap;
}

.hero-rotator-wrapper {
  display: inline-grid;
  grid-template-areas: "rotator";
  position: relative;
  vertical-align: baseline;
  border-bottom: 2px solid rgba(198, 166, 107, 0.45);
  padding-bottom: 2px;
}

.hero-rotator-item {
  grid-area: rotator;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  white-space: nowrap;
  color: #ffffff;
  will-change: transform, opacity;
}

/* Fallback class transition if GSAP is disabled */
.no-gsap .hero-rotator-item {
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-rotator-item.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 640px) {
  .hero-rotating-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .hero-rotator-item {
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
   07. BUTTONS & CONTROLS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 0.85rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  min-height: 44px;
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-copper);
  color: var(--color-text-inverse);
  border: 1px solid var(--color-copper);
}

.btn-primary:hover {
  background-color: var(--color-copper-light);
  border-color: var(--color-copper-light);
  box-shadow: 0 4px 16px rgba(198, 166, 107, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: var(--color-copper);
  color: var(--color-copper-light);
  transform: translateY(-1px);
}

.section-light .btn-secondary,
.section-light-alt .btn-secondary {
  background-color: rgba(7, 10, 15, 0.06);
  color: var(--color-slate-900);
  border-color: rgba(7, 10, 15, 0.22);
}

.section-light .btn-secondary:hover,
.section-light-alt .btn-secondary:hover {
  background-color: rgba(7, 10, 15, 0.12);
  border-color: var(--color-copper);
  color: var(--color-copper);
}

.btn-outline {
  background: transparent;
  color: var(--color-copper);
  border: 1px solid var(--color-copper);
}

.btn-outline:hover {
  background-color: var(--color-copper);
  color: var(--color-text-inverse);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.775rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform var(--transition-fast);
}

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

/* --------------------------------------------------------------------------
   08. CONTAINERS & LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.5vw, var(--space-6));
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.5vw, var(--space-6));
}

.section {
  padding-block: clamp(3rem, 6vw, 4.75rem);
  position: relative;
}

.section-sm {
  padding-block: clamp(2rem, 4vw, 3rem);
}

.section-lg {
  padding-block: clamp(4rem, 8vw, 6rem);
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, var(--space-8));
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, var(--space-8));
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, var(--space-8));
}

/* --------------------------------------------------------------------------
   RESPONSIVE SIDEBAR LAYOUTS (Main Content + Aside)
   -------------------------------------------------------------------------- */
.layout-sidebar-wrap {
  display: flex;
  gap: clamp(1.5rem, 3.5vw, var(--space-10));
  align-items: flex-start;
  width: 100%;
}

.layout-content-main {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
}

.layout-sidebar-aside {
  flex: 0 0 380px;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .layout-sidebar-aside {
    flex: 0 0 340px;
  }
}

@media (max-width: 900px) {
  .layout-sidebar-wrap {
    flex-direction: column;
    gap: var(--space-8);
  }
  
  .layout-sidebar-aside {
    flex: 1 1 auto;
    width: 100%;
  }
}

.card {
  --card-padding: clamp(1.25rem, 3.5vw, var(--space-8));
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

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

.card-media {
  margin: calc(var(--card-padding) * -1) calc(var(--card-padding) * -1) var(--space-6) calc(var(--card-padding) * -1);
  overflow: hidden;
  border-top-left-radius: var(--radius-sm);
  border-top-right-radius: var(--radius-sm);
  border-bottom: 1px solid var(--color-border-subtle);
  position: relative;
}

/* Fix for cards with padding: 0 (prevent negative margin image crop) */
.card[style*="padding: 0"] .card-media,
.card[style*="padding:0"] .card-media {
  margin: 0 !important;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

/* --------------------------------------------------------------------------
   EDITORIAL HERO MEDIA WITH DARK GRADIENT OVERLAY & GLOWING CAPTION
   -------------------------------------------------------------------------- */
.hero-media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.45);
  background-color: #070a0f;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.section-light .hero-media,
.section-light-alt .hero-media {
  border-color: var(--color-light-border);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.12);
}

.hero-media:hover {
  border-color: var(--color-border-active);
  transform: translateY(-2px);
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.6);
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.hero-media:hover img {
  transform: scale(1.02);
}

.hero-media-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 10, 15, 0.65) 35%, rgba(7, 10, 15, 0.95) 100%);
  padding: var(--space-6) var(--space-5) var(--space-4) var(--space-5);
  display: flex;
  align-items: flex-end;
  z-index: 2;
  pointer-events: none;
}

.media-caption {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-copper-light);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.media-caption::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--color-copper);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-copper);
  flex-shrink: 0;
}

.card-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-media img {
  transform: scale(1.03);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.card-number {
  color: var(--color-copper);
  font-weight: 600;
}

.card-tag {
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-footer {
  margin-top: auto;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-link-text {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-copper);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.card-link-text svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.card:hover .card-link-text svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   09. METHODOLOGY & VANTAGE TERMINAL
   -------------------------------------------------------------------------- */
.dimension-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.dimension-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-6);
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color var(--transition-fast);
}

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

.dim-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.dim-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-copper);
  font-weight: 600;
}

.dim-title {
  font-size: 1.15rem;
  color: var(--color-text-primary);
  font-weight: 600;
}

.dim-indicators {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px dashed var(--color-border-subtle);
  font-size: 0.775rem;
  font-family: var(--font-mono);
  color: var(--color-copper-light);
}

.analytical-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.matrix-box {
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border-light);
  padding: var(--space-8);
  border-radius: var(--radius-sm);
}

.matrix-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.matrix-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-subtle);
}

.matrix-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.matrix-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-copper);
  background: var(--color-copper-glow);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

.vantage-terminal {
  background-color: #0b1018;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), var(--shadow-glow);
  overflow: hidden;
  margin-block: var(--space-8);
}

.terminal-header {
  background-color: #0e1522;
  border-bottom: 1px solid var(--color-border-subtle);
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-border-light);
}

.terminal-status-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-amber);
  padding: 3px 10px;
  border-radius: 2px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.terminal-status-badge::before,
.terminal-status-badge::after {
  content: none !important;
  display: none !important;
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.terminal-body {
  padding: var(--space-8);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-8);
}

.terminal-sidebar {
  border-right: 1px solid var(--color-border-subtle);
  padding-right: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.terminal-stream {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.vantage-feed-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-4);
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.vantage-feed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-1);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

/* --------------------------------------------------------------------------
   SOVEREIGN INTELLIGENCE CLASSIFICATION BADGE
   Authoritative datum ribbon with precision vertical accent & metallic sheen
   -------------------------------------------------------------------------- */
.intel-badge,
.risk-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.28rem 0.75rem 0.28rem 0.65rem;
  border-radius: var(--radius-xs);
  font-size: 0.685rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.25;
  white-space: nowrap;
  vertical-align: middle;
  background: linear-gradient(135deg, rgba(198, 166, 107, 0.12) 0%, rgba(12, 17, 26, 0.85) 100%);
  color: #e5c898;
  border: 1px solid rgba(198, 166, 107, 0.35);
  border-left: 3px solid var(--color-copper);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
  cursor: default;
  max-width: 100%;
}

.intel-badge::before,
.intel-badge::after,
.risk-pill::before,
.risk-pill::after {
  content: none !important;
  display: none !important;
}

.intel-badge:hover,
.risk-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(198, 166, 107, 0.6);
  border-left-color: var(--color-copper-light);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 12px rgba(198, 166, 107, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Variant: Low Risk / Verified / Stable / Production */
.intel-badge.low,
.risk-pill.low {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(8, 22, 18, 0.85) 100%);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.32);
  border-left: 3px solid #10b981;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.intel-badge.low:hover,
.risk-pill.low:hover {
  border-color: rgba(52, 211, 153, 0.55);
  border-left-color: #34d399;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 12px rgba(16, 185, 129, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Variant: Moderate Risk / Inflection / Active / Strategic */
.intel-badge.moderate,
.risk-pill.moderate {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(24, 18, 10, 0.85) 100%);
  color: #fcd34d;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-left: 3px solid #f59e0b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.intel-badge.moderate:hover,
.risk-pill.moderate:hover {
  border-color: rgba(251, 191, 36, 0.6);
  border-left-color: #fbbf24;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 12px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Variant: Heightened / Critical Vector */
.intel-badge.heightened,
.risk-pill.heightened {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.14) 0%, rgba(28, 12, 12, 0.85) 100%);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 0.4);
  border-left: 3px solid #ef4444;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.intel-badge.heightened:hover,
.risk-pill.heightened:hover {
  border-color: rgba(248, 113, 113, 0.65);
  border-left-color: #f87171;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 12px rgba(239, 68, 68, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Light Section Adaptations (Editorial Parchment Contrast) */
.section-light .intel-badge,
.section-light-alt .intel-badge,
.section-light .risk-pill,
.section-light-alt .risk-pill {
  background: linear-gradient(135deg, rgba(198, 166, 107, 0.15) 0%, #ffffff 100%);
  color: #78471c;
  border: 1px solid rgba(198, 166, 107, 0.45);
  border-left: 3px solid #a46a36;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.section-light .intel-badge.low,
.section-light-alt .intel-badge.low,
.section-light .risk-pill.low,
.section-light-alt .risk-pill.low {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, #ffffff 100%);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-left: 3px solid #059669;
  box-shadow: 0 1px 4px rgba(16, 185, 129, 0.08);
}

.section-light .intel-badge.moderate,
.section-light-alt .intel-badge.moderate,
.section-light .risk-pill.moderate,
.section-light-alt .risk-pill.moderate {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, #ffffff 100%);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.38);
  border-left: 3px solid #d97706;
  box-shadow: 0 1px 4px rgba(245, 158, 11, 0.08);
}

.section-light .intel-badge.heightened,
.section-light-alt .intel-badge.heightened,
.section-light .risk-pill.heightened,
.section-light-alt .risk-pill.heightened {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, #ffffff 100%);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.38);
  border-left: 3px solid #dc2626;
  box-shadow: 0 1px 4px rgba(239, 68, 68, 0.08);
}

/* --------------------------------------------------------------------------
   10. FOUNDER PROFILE
   -------------------------------------------------------------------------- */
.founder-profile-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-12);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-10);
  border-radius: var(--radius-sm);
  align-items: center;
}

.section-light .founder-profile-grid,
.section-light-alt .founder-profile-grid {
  background-color: var(--color-light-surface);
  border: 1px solid var(--color-light-border);
}

.founder-photo-frame {
  position: relative;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.05);
}

.founder-quote-box {
  border-left: 2px solid var(--color-copper);
  padding-left: var(--space-6);
  margin-top: var(--space-6);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-slate-100);
  line-height: 1.6;
}

.section-light .founder-quote-box,
.section-light-alt .founder-quote-box {
  color: var(--color-light-text-primary);
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.credentials-item {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-slate-300);
  display: block;
  padding: 4px 0;
}

.credentials-item::before {
  content: none !important;
  display: none !important;
}

/* --------------------------------------------------------------------------
   11. ACCESSIBLE FORMS & VALIDATION
   -------------------------------------------------------------------------- */
.form-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-10);
  border-radius: var(--radius-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.form-label {
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-slate-200);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.form-input,
.form-select,
.form-textarea {
  background-color: var(--color-bg-base);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xs);
  padding: 0.8rem 1rem;
  color: var(--color-text-primary);
  font-size: 1rem;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-copper);
  background-color: #0e131d;
  outline: none;
}

.form-input:user-invalid,
.form-select:user-invalid,
.form-textarea:user-invalid,
.form-input.user-invalid-fallback {
  border-color: var(--color-accent-rose);
  background-color: rgba(244, 63, 94, 0.05);
}

.form-input:user-valid,
.form-select:user-valid,
.form-textarea:user-valid,
.form-input.user-valid-fallback {
  border-color: var(--color-accent-teal);
}

.form-error-msg {
  display: none;
  font-size: 0.775rem;
  color: var(--color-accent-rose);
  margin-top: 4px;
}

.form-input:user-invalid + .form-error-msg,
.form-input.user-invalid-fallback + .form-error-msg,
.form-textarea:user-invalid + .form-error-msg {
  display: block;
}

.pathway-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: var(--space-4);
}

.pathway-tab {
  padding: 0.65rem 1.25rem;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-slate-400);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
}

.pathway-tab:hover {
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.pathway-tab.active {
  color: var(--color-copper);
  border-color: var(--color-copper);
  background: var(--color-copper-glow);
}

.form-feedback-box {
  padding: var(--space-6);
  border-radius: var(--radius-xs);
  margin-top: var(--space-6);
  font-size: 0.9rem;
  line-height: 1.6;
}

.form-feedback-box.is-success {
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: var(--color-slate-100);
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #05080c;
  border-top: 1px solid var(--color-border-subtle);
  padding-block: clamp(3.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: clamp(1.5rem, 3vw, var(--space-12));
  margin-bottom: clamp(2.5rem, 5vw, var(--space-16));
}

.footer-brand-summary {
  font-size: 0.9rem;
  color: var(--color-slate-400);
  line-height: 1.6;
  margin-block: var(--space-4) var(--space-6);
  max-width: 380px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: 0.875rem;
}

.footer-links a {
  color: var(--color-slate-400);
}

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

.footer-location-block {
  margin-bottom: var(--space-4);
  font-size: 0.825rem;
  line-height: 1.5;
}

.footer-location-title {
  color: var(--color-copper);
  font-weight: 600;
  font-size: 0.775rem;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-subtle);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copyright {
  color: var(--color-text-muted);
}

.footer-credit {
  font-size: 0.8rem;
  color: var(--color-slate-400);
}

.footer-credit a {
  color: var(--color-copper);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-credit a:hover {
  color: var(--color-copper-light);
  text-decoration: underline;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   13. PROSE & CASE STUDY
   -------------------------------------------------------------------------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-block: var(--space-4);
}

.report-meta-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  margin-block: var(--space-4);
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .report-meta-table {
    min-width: 0;
  }
  .report-meta-table,
  .report-meta-table tbody,
  .report-meta-table tr,
  .report-meta-table td {
    display: block;
    width: 100%;
  }
  .report-meta-table td:first-child {
    width: 100%;
    padding-bottom: 2px;
    font-size: 0.725rem;
    border-bottom: none;
  }
  .report-meta-table td:last-child {
    padding-top: 0;
    padding-bottom: var(--space-4);
  }
}

.report-meta-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border-subtle);
}

.report-meta-table td:first-child {
  font-family: var(--font-mono);
  color: var(--color-copper);
  width: 25%;
  text-transform: uppercase;
}

.report-meta-table td:last-child {
  color: var(--color-text-primary);
}

.prose-editorial {
  font-size: 1.075rem;
  line-height: 1.8;
  color: var(--color-slate-200);
}

.section-light .prose-editorial {
  color: #334155;
}

.prose-editorial p {
  margin-bottom: var(--space-6);
}

.prose-editorial h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}

.section-light .prose-editorial h2 {
  color: #12161c;
}

/* --------------------------------------------------------------------------
   14. COMPREHENSIVE RESPONSIVE ARCHITECTURE
   Fluid adaptivity across Desktops, Laptops, Tablets, and Touch Mobile
   -------------------------------------------------------------------------- */

/* Large Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 76px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dimension-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .analytical-matrix {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .terminal-body {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .terminal-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--color-border-subtle);
    padding-right: 0;
    padding-bottom: var(--space-6);
  }
  
  .founder-profile-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .founder-photo {
    max-height: 380px;
    object-position: center top;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .layout-sidebar-aside {
    flex: 0 0 340px;
  }

  .page-banner,
  .parallax-section {
    background-attachment: scroll !important;
  }
}

/* Medium Tablets & Stacked Layouts (<= 900px) */
@media (max-width: 900px) {
  .layout-sidebar-wrap {
    flex-direction: column !important;
    gap: var(--space-8) !important;
  }
  
  .layout-content-main,
  .layout-sidebar-aside {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .layout-sidebar-aside .card[style*="sticky"] {
    position: static !important;
    top: auto !important;
  }

  .cookie-banner-container {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .cookie-banner-actions .btn {
    flex: 1 1 auto;
    min-width: 120px;
    text-align: center;
  }
}

/* Tablets & Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    height: var(--header-height);
  }

  .header-container {
    height: 100%;
  }

  .brand-logo-img {
    height: 48px;
  }

  .mobile-nav-drawer {
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    padding: var(--space-5) var(--space-5) max(var(--space-8), env(safe-area-inset-bottom, 2rem));
    -webkit-overflow-scrolling: touch;
  }

  /* Force single-column collapse for all composite grids */
  .grid-3,
  .grid-2,
  .grid-4,
  .dimension-grid,
  .analytical-matrix {
    grid-template-columns: 1fr !important;
    gap: clamp(1.25rem, 4vw, var(--space-6)) !important;
  }

  .card {
    --card-padding: clamp(1rem, 3.5vw, var(--space-6));
  }

  .card[style*="padding: var(--space-10)"],
  .card[style*="padding:var(--space-10)"] {
    padding: clamp(1.25rem, 4vw, var(--space-6)) !important;
  }

  .terminal-body {
    padding: clamp(1rem, 3.5vw, var(--space-6));
  }

  .founder-profile-grid {
    padding: clamp(1.25rem, 4vw, var(--space-6));
    gap: var(--space-6);
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 1rem; /* Prevents auto-zoom in iOS Safari */
  }

  /* Pathway Tabs Horizontal Momentum Scroll */
  .pathway-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: var(--space-2);
    padding-bottom: var(--space-3);
    margin-bottom: var(--space-6);
  }

  .pathway-tabs::-webkit-scrollbar {
    display: none;
  }

  .pathway-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.6rem 1rem;
    font-size: 0.775rem;
  }

  /* Breadcrumbs wrapping */
  .breadcrumbs {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  /* Hero rotating title stacked adaptivity */
  .hero-rotating-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: clamp(1.15rem, 4.5vw, 1.65rem);
    min-height: 2.8rem;
  }

  .hero-rotator-item {
    white-space: normal;
  }

  /* Feed item metadata stacking */
  .vantage-feed-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }

  /* Parallax stats grid 2 columns */
  .parallax-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-top: var(--space-6);
  }

  /* Footer adjustments */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
  }
}

/* Compact Mobile Devices (<= 480px, iPhone SE, Android) */
@media (max-width: 480px) {
  :root {
    --header-height: 66px;
  }

  .brand-logo-img {
    height: 40px;
  }

  .btn-header {
    padding: 0.45rem 0.8rem;
    font-size: 0.75rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: var(--space-3);
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .parallax-stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .parallax-stat-number {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }

  /* Classification Badges Safety */
  .intel-badge,
  .risk-pill {
    font-size: 0.65rem;
    padding: 0.22rem 0.55rem;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
  }

  .matrix-item {
    flex-wrap: wrap;
    gap: var(--space-2);
  }

  .cookie-option {
    flex-direction: column;
    gap: var(--space-3);
  }

  .cookie-banner-actions .btn {
    width: 100%;
  }

  .cookie-modal-card {
    max-height: 85dvh;
    margin: var(--space-2);
    width: calc(100vw - 1rem);
  }

  .cookie-modal-footer {
    flex-direction: column;
  }

  .cookie-modal-footer .btn {
    width: 100%;
  }

  .founder-photo {
    max-height: 300px;
  }

  .report-meta-table td {
    padding: var(--space-2) var(--space-3);
  }
}

/* --------------------------------------------------------------------------
   15. ACCESSIBILITY: 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;
  }
  
  .hero-video-bg {
    display: none;
  }

  .hero-cinematic {
    background: url('../images/mining_critical_minerals_pit.jpg') center/cover no-repeat;
  }

  .terminal-status-badge::before {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   16. PAGE BANNER WITH PHOTO & DARK EDITORIAL OVERLAY
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  min-height: clamp(300px, 42vh, 400px);
  display: flex;
  align-items: center;
  background-color: #070a0f;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-bottom: 1px solid var(--color-border-subtle);
  overflow: hidden;
  padding-block: clamp(3.25rem, 6.5vw, 5rem) clamp(2.25rem, 4.5vw, 3.25rem);
}

@media (max-width: 1024px) {
  .page-banner {
    background-attachment: scroll;
  }
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(7, 10, 15, 0.62) 0%, rgba(7, 10, 15, 0.76) 55%, rgba(7, 10, 15, 0.94) 100%),
    linear-gradient(90deg, rgba(7, 10, 15, 0.88) 0%, rgba(7, 10, 15, 0.6) 55%, rgba(7, 10, 15, 0.72) 100%),
    radial-gradient(circle at 85% 25%, rgba(198, 166, 107, 0.16) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.page-banner .container {
  position: relative;
  z-index: 2;
  width: 100%;
  animation: bannerContentFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 4px;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.785rem;
  color: var(--color-slate-400);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.breadcrumbs a {
  color: var(--color-slate-400);
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--color-copper);
}

.breadcrumbs span[aria-current="page"] {
  color: var(--color-copper-light);
}

/* --------------------------------------------------------------------------
   17. HOMEPAGE PARALLAX SECTION WITH PATTERN & IMAGE
   -------------------------------------------------------------------------- */
.parallax-section {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-clip: padding-box;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: inset 0 24px 36px -10px #070a0f, inset 0 -24px 36px -10px #070a0f;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 4.75rem);
}

@media (max-width: 1024px) {
  .parallax-section {
    background-attachment: scroll;
  }
}

.parallax-pattern-overlay {
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 0;
  right: 0;
  background-color: #070a0f;
  background-image: 
    radial-gradient(rgba(198, 166, 107, 0.16) 1px, transparent 1px),
    linear-gradient(180deg, 
      #070a0f 0%, 
      rgba(7, 10, 15, 0.98) 6%, 
      rgba(7, 10, 15, 0.6) 45%, 
      rgba(7, 10, 15, 0.95) 92%, 
      #070a0f 100%
    ),
    linear-gradient(90deg, 
      rgba(7, 10, 15, 0.94) 0%, 
      rgba(7, 10, 15, 0.45) 50%, 
      rgba(7, 10, 15, 0.8) 100%
    );
  background-size: 26px 26px, 100% 100%, 100% 100%;
  z-index: 1;
  pointer-events: none;
}

.parallax-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.parallax-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.parallax-stat-card {
  background: rgba(11, 16, 24, 0.75);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xs);
  padding: var(--space-6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.parallax-stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-copper);
  line-height: 1.1;
  margin-bottom: var(--space-2);
}

.parallax-stat-label {
  font-size: 0.825rem;
  color: var(--color-slate-300);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   18. GDPR COOKIE CONSENT BANNER & PREFERENCES MODAL
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7, 10, 15, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border-light);
  padding-block: var(--space-5);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

@media (max-width: 900px) {
  .cookie-banner-container {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
}

.cookie-banner-text {
  max-width: 820px;
}

.cookie-banner-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-copper-light);
  margin-bottom: 4px;
}

.cookie-icon {
  width: 18px;
  height: 18px;
  color: var(--color-copper);
}

.cookie-banner-desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-slate-300);
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Preferences Trigger in Footer */
.cookie-settings-trigger {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.cookie-settings-trigger:hover {
  color: var(--color-copper);
}

/* Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 9, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  z-index: 10000;
}

.cookie-modal-backdrop[hidden] {
  display: none !important;
}

.cookie-modal-card {
  background: #090d14;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-border-subtle);
}

.cookie-modal-close {
  background: none;
  border: none;
  color: var(--color-slate-400);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color var(--transition-fast);
}

.cookie-modal-close:hover {
  color: var(--color-copper);
}

.cookie-modal-body {
  padding: var(--space-6);
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xs);
  margin-bottom: var(--space-4);
}

.cookie-option-info strong {
  display: block;
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 3px;
}

.cookie-option-info p {
  font-size: 0.785rem;
  color: var(--color-slate-400);
  line-height: 1.45;
  margin: 0;
}

.cookie-toggle-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-copper);
  background: rgba(198, 166, 107, 0.1);
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

/* Switch Slider */
.switch-label {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch-label input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 24px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
}

.switch-label input:checked + .switch-slider {
  background-color: var(--color-copper);
}

.switch-label input:checked + .switch-slider:before {
  transform: translateX(20px);
}

.cookie-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
  background: rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  flex-wrap: wrap;
}
