/* ==========================================================================
   AXON — Bespoke AI Systems Architecture
   Institutional Design System & Production Stylesheet
   ========================================================================== */

:root {
  /* Architectural Luxury Palette */
  --bg:                #08090b;
  --bg-subtle:         #0c0e12;
  --surface:           #111318;
  --surface-raised:    #161920;
  --surface-border:    rgba(255, 255, 255, 0.07);
  --surface-border-hi: rgba(212, 175, 55, 0.35);

  /* Typography Colors */
  --text-primary:      #f8fafc;
  --text-secondary:    #94a3b8;
  --text-muted:        #64748b;
  --text-editorial:    #f3ede2;

  /* Executive Accents */
  --gold:              #d4af37;
  --gold-light:        #e8c89b;
  --gold-glow:         rgba(212, 175, 55, 0.12);
  --platinum:          #e2e8f0;
  --emerald:           #10b981;
  --emerald-dim:       rgba(16, 185, 129, 0.12);
  --crimson:           #f43f5e;
  --crimson-dim:       rgba(244, 63, 94, 0.12);

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

  /* Geometry & Physics */
  --radius-xs:         4px;
  --radius-sm:         8px;
  --radius-md:         14px;
  --radius-lg:         20px;
  --radius-pill:       999px;

  --max-width:         1240px;
  --nav-height:        76px;
  --ease-agency:       cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast:     0.2s;
  --duration-smooth:   0.4s;
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle Film Noise Texture */
.ambient-noise {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--gold);
  color: #000;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --------------------------------------------------------------------------
   1. EDITORIAL TYPOGRAPHY & TAGS
   -------------------------------------------------------------------------- */
.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-editorial);
}

.editorial-title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 1rem;
}

.editorial-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
}

.section-meta-header {
  margin-bottom: 4rem;
}

.meta-tag {
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   2. TOP TICKER & NAVIGATION
   -------------------------------------------------------------------------- */
.top-announcement {
  background: #060708;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.6rem 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.status-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse-dot 2.5s infinite;
}

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

.announcement-text strong {
  color: #fff;
}

.announcement-link {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announcement-link:hover {
  color: #fff;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(8, 9, 11, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--surface-border);
  transition: all var(--duration-smooth) var(--ease-agency);
}

.navbar.scrolled {
  background: rgba(8, 9, 11, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.brand-monogram {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.brand-subtext {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-agency);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-nav-cta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--surface-border);
  transition: all var(--duration-fast) var(--ease-agency);
}

.btn-nav-cta:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 24px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   3. LUXURY BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.85rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all var(--duration-smooth) var(--ease-agency);
}

.btn-primary {
  background: #fff;
  color: #08090b;
  border: 1px solid #fff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #08090b;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   4. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 7.5rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid var(--surface-border);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}

.hero-radial-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.07) 0%, rgba(226, 232, 240, 0.03) 40%, transparent 70%);
  filter: blur(80px);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.editorial-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-xs);
  background: var(--gold-glow);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

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

.hero-headline {
  font-size: clamp(2.8rem, 6vw, 4.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 1040px;
  margin-bottom: 2rem;
}

.hero-headline .serif-italic {
  display: inline-block;
  font-size: 1.08em;
  color: var(--gold-light);
}

.hero-lede {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 780px;
  margin-bottom: 2.75rem;
}

.hero-lede strong {
  color: #fff;
  font-weight: 600;
}

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

/* Executive Telemetry Grid */
.hero-telemetry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.telemetry-cell {
  padding: 2rem;
  border-right: 1px solid var(--surface-border);
  position: relative;
  transition: background var(--duration-fast) var(--ease-agency);
}

.telemetry-cell:last-child {
  border-right: none;
}

.telemetry-cell:hover {
  background: var(--surface-raised);
}

.cell-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-bottom: 0.75rem;
}

.cell-value {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 0.35rem;
}

.cell-value .unit {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-left: 2px;
}

.cell-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   5. DIAGNOSIS (PROBLEMS) SECTION
   -------------------------------------------------------------------------- */
.problems {
  padding: 7rem 0;
  border-bottom: 1px solid var(--surface-border);
  background: #090a0d;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.audit-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--duration-smooth) var(--ease-agency);
}

.audit-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  background: var(--surface-raised);
}

.card-num {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-status-badge {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  margin-bottom: 1.5rem;
}

.card-status-badge.alert {
  background: var(--crimson-dim);
  color: var(--crimson);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.card-headline {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

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

.card-footer-meta {
  color: var(--text-muted);
  font-size: 0.72rem;
  border-top: 1px solid var(--surface-border);
  padding-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   6. PROTOCOL (HOW IT WORKS) SECTION
   -------------------------------------------------------------------------- */
.how-it-works {
  padding: 7rem 0;
  border-bottom: 1px solid var(--surface-border);
}

.protocol-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.protocol-step {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 3rem;
  transition: border-color var(--duration-fast) var(--ease-agency);
}

.protocol-step:hover {
  border-color: rgba(212, 175, 55, 0.35);
}

.step-aside {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-right: 1px solid var(--surface-border);
  padding-right: 2rem;
}

.step-code {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-light);
}

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

.step-body {
  display: flex;
  flex-direction: column;
}

.step-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.step-copy {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.step-deliverable {
  align-self: flex-start;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xs);
  color: var(--platinum);
  font-size: 0.72rem;
}

/* --------------------------------------------------------------------------
   7. CAPITAL EFFICIENCY CALCULATOR (BLOOMBERG TERMINAL AESTHETIC)
   -------------------------------------------------------------------------- */
.calculator {
  padding: 7rem 0;
  border-bottom: 1px solid var(--surface-border);
  background: #07080a;
}

.terminal-calculator {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.terminal-bar {
  background: #0c0e12;
  border-bottom: 1px solid var(--surface-border);
  padding: 0.85rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.terminal-dots span:nth-child(1) { background: #ef4444; opacity: 0.6; }
.terminal-dots span:nth-child(2) { background: #f59e0b; opacity: 0.6; }
.terminal-dots span:nth-child(3) { background: #10b981; opacity: 0.6; }

.terminal-title {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.terminal-status {
  color: var(--emerald);
  font-size: 0.72rem;
}

.terminal-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.terminal-inputs {
  padding: 3.5rem;
  border-right: 1px solid var(--surface-border);
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.control-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.control-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.control-display {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
}

/* Custom Architectural Slider */
.architect-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  outline: none;
}

.architect-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gold);
  cursor: pointer;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
  transition: transform 0.15s ease;
}

.architect-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.72rem;
}

/* Terminal Output Panel */
.terminal-output {
  background: #0a0c10;
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.output-header {
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-bottom: 2rem;
}

.output-metric-hero {
  margin-bottom: 2.5rem;
}

.metric-eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.metric-number {
  font-family: var(--font-mono);
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.metric-monthly-note {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.accent-val {
  color: var(--gold-light);
  font-family: var(--font-mono);
}

.output-ledger {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  margin-bottom: 2.5rem;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

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

.ledger-val {
  color: #fff;
  font-weight: 600;
}

.ledger-val.highlight {
  color: var(--emerald);
}

.output-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ledger-footnote {
  color: var(--text-muted);
  font-size: 0.7rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   8. WORKFLOW FRAME (CASE STUDY)
   -------------------------------------------------------------------------- */
.case-study {
  padding: 7rem 0;
  border-bottom: 1px solid var(--surface-border);
}

.workflow-frame {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 2.5rem;
  position: relative;
}

.frame-tag {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.diagram-img {
  width: 100%;
  border-radius: var(--radius-xs);
  border: 1px solid var(--surface-border);
  display: block;
}

/* --------------------------------------------------------------------------
   9. INSTITUTIONAL DELIVERABLES DOSSIER
   -------------------------------------------------------------------------- */
.deliverables {
  padding: 7rem 0;
  border-bottom: 1px solid var(--surface-border);
  background: #090a0d;
}

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

.dossier-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  transition: all var(--duration-smooth) var(--ease-agency);
}

.dossier-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  background: var(--surface-raised);
}

.card-spec-code {
  color: var(--gold);
  font-size: 0.72rem;
  margin-bottom: 1.25rem;
}

.dossier-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.dossier-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.dossier-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--platinum);
  font-size: 0.78rem;
  border-top: 1px solid var(--surface-border);
  padding-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   10. PRINCIPAL'S COVENANT (GUARANTEE)
   -------------------------------------------------------------------------- */
.guarantee {
  padding: 7.5rem 0;
  border-bottom: 1px solid var(--surface-border);
}

.covenant-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--surface-border-hi);
  border-radius: var(--radius-md);
  padding: 4.5rem 4rem;
  text-align: center;
  position: relative;
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.08);
}

.covenant-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold-glow);
  color: var(--gold);
  border: 1px solid var(--gold);
  margin-bottom: 1.5rem;
}

.covenant-badge {
  color: var(--gold);
  font-size: 0.78rem;
  margin-bottom: 1.25rem;
}

.covenant-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.covenant-body {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.75rem;
}

.covenant-body strong {
  color: #fff;
  font-weight: 700;
}

.covenant-footer {
  display: flex;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   11. GOVERNANCE & FAQ
   -------------------------------------------------------------------------- */
.faq {
  padding: 7rem 0;
  border-bottom: 1px solid var(--surface-border);
  background: #08090b;
}

.faq-list {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--duration-fast) var(--ease-agency);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  width: 100%;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 600px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-agency);
}

.faq-answer p {
  padding: 0 2rem 1.75rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   12. PARTNER INTAKE & SCHEDULING (CAL.COM & AUDIT)
   -------------------------------------------------------------------------- */
.contact {
  padding: 7rem 0;
  border-bottom: 1px solid var(--surface-border);
  background: #0a0b0f;
}

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

.booking-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.booking-card {
  border-color: var(--surface-border-hi);
  justify-content: space-between;
}

.card-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-xs);
  background: var(--gold-glow);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 1.75rem;
}

.card-badge.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border-color: var(--surface-border);
}

.booking-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.booking-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-xs);
  background: var(--gold-glow);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.booking-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.booking-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  font-size: 0.8rem;
  color: var(--platinum);
}

.booking-perks li span {
  color: var(--gold);
  margin-right: 0.5rem;
}

.booking-subtext {
  text-align: center;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.72rem;
}

/* Contact Form */
.contact-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

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

.form-group label {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xs);
  padding: 0.95rem 1.15rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--duration-fast) var(--ease-agency);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 1px var(--gold);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* GDPR Consent Checkbox */
.gdpr-consent-group {
  margin: 0.5rem 0;
}

.gdpr-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.gdpr-checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--gold);
}

.gdpr-link {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gdpr-link:hover {
  color: #fff;
}

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
}

.form-success .success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--emerald-dim);
  color: var(--emerald);
  margin-bottom: 1.5rem;
}

.form-success h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Shake Animation */
.shake {
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* --------------------------------------------------------------------------
   13. UK GDPR STATUTORY MODAL
   -------------------------------------------------------------------------- */
.privacy-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 7, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.privacy-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.privacy-modal-dialog {
  position: relative;
  background: #0d0f14;
  border: 1px solid var(--surface-border-hi);
  border-radius: var(--radius-sm);
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--text-muted);
  font-size: 1.85rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-header {
  padding: 2.25rem 2.5rem 1.25rem;
  border-bottom: 1px solid var(--surface-border);
}

.modal-header h3 {
  font-size: 1.45rem;
  color: #fff;
  margin: 0.5rem 0 0.25rem;
}

.modal-updated {
  color: var(--gold);
  font-size: 0.7rem;
}

.modal-body {
  padding: 2rem 2.5rem;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.modal-body h4 {
  font-size: 1rem;
  color: #fff;
  margin: 1.5rem 0 0.5rem;
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-body ul {
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

.modal-body li {
  margin-bottom: 0.4rem;
}

.modal-footer {
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--surface-border);
  background: #0a0b0f;
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  padding: 4.5rem 0;
  background: #050608;
  border-top: 1px solid var(--surface-border);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.footer-center {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.75rem;
}

.footer-privacy {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-privacy:hover {
  color: #fff;
}

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

.footer-compliance {
  color: var(--emerald);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  width: 100%;
  color: var(--text-muted);
  font-size: 0.72rem;
  border-top: 1px solid var(--surface-border);
  padding-top: 2rem;
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   15. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-agency), transform 0.8s var(--ease-agency);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* --------------------------------------------------------------------------
   16. RESPONSIVENESS & BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-telemetry {
    grid-template-columns: repeat(2, 1fr);
  }
  .telemetry-cell:nth-child(2) {
    border-right: none;
  }
  .telemetry-cell:nth-child(1),
  .telemetry-cell:nth-child(2) {
    border-bottom: 1px solid var(--surface-border);
  }
  .editorial-grid {
    grid-template-columns: 1fr;
  }
  .terminal-grid {
    grid-template-columns: 1fr;
  }
  .terminal-inputs {
    border-right: none;
    border-bottom: 1px solid var(--surface-border);
    padding: 2.5rem 2rem;
  }
  .terminal-output {
    padding: 2.5rem 2rem;
  }
  .dossier-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-headline {
    font-size: 2.5rem;
  }
  .protocol-step {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }
  .step-aside {
    border-right: none;
    border-bottom: 1px solid var(--surface-border);
    padding-right: 0;
    padding-bottom: 1rem;
  }
  .covenant-card {
    padding: 3rem 1.75rem;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-telemetry {
    grid-template-columns: 1fr;
  }
  .telemetry-cell {
    border-right: none;
    border-bottom: 1px solid var(--surface-border);
  }
}

/* ==========================================================================
   17. 3D WEBGL, KINETIC MOTION & SIMULATION SUITE
   ========================================================================== */

/* 3D Canvas in Hero */
.hero-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* Kinetic Marquee Ticker */
.marquee-strip {
  width: 100%;
  overflow: hidden;
  background: #060709;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 1.15rem 0;
  white-space: nowrap;
  position: relative;
}

.marquee-track {
  display: inline-flex;
  gap: 3.5rem;
  animation: marquee-slide 42s linear infinite;
  will-change: transform;
}

.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  transition: color 0.2s ease;
}

.marquee-item:hover {
  color: #fff;
}

.marquee-item .m-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

@keyframes marquee-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 3D Tilt Card & Interactive Spotlight */
.tilt-card {
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.card-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.18), transparent 70%);
  transition: opacity 0.35s ease;
  z-index: 1;
}

.tilt-card:hover .card-spotlight {
  opacity: 1;
}

.tilt-card > * {
  position: relative;
  z-index: 2;
}

/* Case Study Simulation View */
.frame-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.frame-controls {
  display: flex;
  gap: 0.5rem;
}

.frame-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.frame-btn.active,
.frame-btn:hover {
  background: var(--gold-glow);
  color: var(--gold-light);
  border-color: rgba(212, 175, 55, 0.4);
}

.frame-content-panel {
  display: none;
}

.frame-content-panel.active {
  display: block;
}

/* Stream Simulation */
.stream-simulation {
  background: #090b0f;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.sim-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.sim-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--emerald);
}

.sim-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse-dot 1.5s infinite;
}

.sim-nodes-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1.5rem;
}

.sim-node {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xs);
  padding: 1.75rem 1.5rem;
  min-width: 175px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.sim-node:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
}

.sim-node.highlight {
  border-color: var(--gold);
  background: #141720;
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.16);
}

.node-badge {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.node-badge.gold {
  color: var(--gold);
}

.sim-node h4 {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 700;
}

.sim-node p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.node-stat {
  font-size: 0.68rem;
  color: var(--emerald);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--surface-border);
}

.sim-connector {
  position: relative;
  width: 48px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.packet {
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: packet-travel 2.2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.packet-1 { animation-delay: 0s; }
.packet-2 { animation-delay: 0.45s; }
.packet-3 { animation-delay: 0.9s; }
.packet-4 { animation-delay: 1.35s; }

@keyframes packet-travel {
  0% { left: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@media (max-width: 900px) {
  .sim-nodes-row {
    flex-direction: column;
    align-items: stretch;
  }
  .sim-connector {
    width: 2px;
    height: 30px;
    margin: 0 auto;
  }
  @keyframes packet-travel {
    0% { top: 0%; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }
}
