/* ═══════════════════════════════════════════════════════
   KEEL PREDEV OS
   Pre-development, under control.
   
   Asset hierarchy:
   L1 Authority  — keel-hero.jpeg (dark, cinematic)
   L2 System     — typography, spacing, structure
   L3 Proof      — product UI modules (below fold only)
   
   Brand rule: The K mark appears in the header and favicon only.
   Institutional brands hide power — they don't repeat it.
═══════════════════════════════════════════════════════ */

:root {
  /* Surface */
  --bg-deep:    #07090F;
  --bg-panel:   #0C1018;
  --bg-panel-2: #0F1520;
  --bg-lift:    #121A26;

  /* Text */
  --text-primary:   #EDEAE3;
  --text-secondary: #B4BEC8;
  --text-muted:     #637485;
  --text-dim:       #2E3D4E;

  /* Lines */
  --line-subtle: rgba(255,255,255,0.055);
  --line-mid:    rgba(255,255,255,0.09);
  --line-gold:   rgba(166,124,69,0.28);

  /* Accent */
  --gold:      #A67C45;
  --gold-lt:   #C09050;
  --gold-glow: rgba(166,124,69,0.12);
  --gold-dim:  rgba(166,124,69,0.07);
  --steel:     #7E93AC;
  --steel-dim: rgba(126,147,172,0.09);

  /* Status */
  --red:   #B83030;
  --amber: #A07028;
  --green: #2E6B42;

  /* Type */
  --serif: Georgia, "Times New Roman", serif;
  --sans:  "Inter", Arial, Helvetica, sans-serif;
  --mono:  "JetBrains Mono", "Courier New", monospace;

  --ease: 0.2s ease;
}

/* ── RESET ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text-secondary);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--line-gold); }
::selection { background: rgba(166,124,69,0.18); color: var(--text-primary); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* ── LAYOUT ── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 56px; }

/* ── SECTIONS ── */
.section    { padding: 128px 0; }
.section-sm { padding: 80px 0; }
.section-lg { padding: 168px 0; }

/* ── GRID ── */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── BACKGROUND GRID TEXTURE ── */
.bg-grid { position: relative; }
.bg-grid::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none; z-index: 0;
}
.bg-grid > * { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════════
   HEADER
   K mark: here only. Nowhere else.
═══════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 56px;
  background: rgba(7,9,15,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-subtle);
  transition: border-color 0.3s ease;
}
.header.at-top { border-bottom-color: transparent; }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}

/* Brand — K mark + wordmark */
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

/* K mark — HEADER ONLY */
.brand-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  overflow: hidden;
}
.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.brand-rule {
  width: 1px;
  height: 12px;
  background: var(--line-mid);
  flex-shrink: 0;
}
.brand-os {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--steel);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-item {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--ease);
}
.nav-item:hover, .nav-item.on { color: var(--text-primary); }

/* CTA */
.header-cta { display: flex; align-items: center; gap: 10px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text-muted);
  transition: all var(--ease);
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 24px;
  border: 1px solid transparent;
  transition: all var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #07090F;
}
.btn-gold:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  box-shadow: 0 0 28px var(--gold-glow);
}
.btn-line {
  background: transparent;
  border-color: var(--line-mid);
  color: var(--text-secondary);
}
.btn-line:hover {
  border-color: var(--gold);
  color: var(--text-primary);
  background: var(--gold-dim);
}
.btn-lg { padding: 13px 34px; font-size: 12px; }

/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════ */
.eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 14px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.t-hero {
  font-family: var(--serif);
  font-size: clamp(46px, 5.8vw, 76px);
  font-weight: 400;
  line-height: 1.02;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.t-display {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.t-section {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 600;
  line-height: 1.14;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.t-sub {
  font-size: 17px;
  line-height: 1.62;
  color: var(--text-secondary);
  max-width: 520px;
}

.t-body {
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-secondary);
}

.t-small {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
}

.mono-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   HERO — DOMINANT IMAGE SYSTEM
   
   Layout: 55% text / 45% image at minimum
   Real target: image feels like it could be 65%
   UI panel: appears BELOW fold only (on homepage)
═══════════════════════════════════════════════════════ */
.hero {
  padding-top: 56px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 52fr 48fr;
  position: relative;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0 80px 56px;
}

.hero-copy .eyebrow { margin-bottom: 24px; }

.hero-copy .t-hero { margin-bottom: 28px; }

.hero-subtext {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 420px;
  margin-bottom: 14px;
}

.hero-support {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 400px;
  margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Image panel */
.hero-image {
  position: relative;
  display: flex;
  align-items: stretch;
}

/* Vertical gold line separating text from image */
.hero-image::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line-gold), transparent);
  z-index: 2;
}

.hero-img-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  /* Slight desaturate to maintain system authority */
  filter: brightness(0.88) contrast(1.08) saturate(0.9);
}

/* Gradient blend into page background — right edge and bottom */
.hero-img-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg-deep) 0%, transparent 18%),
    linear-gradient(to top, var(--bg-deep) 0%, transparent 20%);
  pointer-events: none;
}

/* Inner page hero — text only, no image, max restraint */
.page-hero {
  padding-top: 56px;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  position: relative;
}
.page-hero-content { max-width: 720px; position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════════
   PRODUCT UI PANELS
   L3 Proof — appears below fold only
═══════════════════════════════════════════════════════ */
.ui-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line-subtle);
  overflow: hidden;
}

.ui-bar {
  background: var(--bg-panel-2);
  border-bottom: 1px solid var(--line-subtle);
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ui-bar-title {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
}
.ui-bar-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--text-muted);
  letter-spacing: 0.09em;
}
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-live   { background: #3A8C52; box-shadow: 0 0 5px rgba(58,140,82,0.5); animation: dp 3s infinite; }
.dot-block  { background: var(--red); }
.dot-warn   { background: var(--amber); }
@keyframes dp { 0%,100%{opacity:1} 50%{opacity:0.35} }

.ui-metrics {
  display: grid;
  gap: 1px;
  background: var(--line-subtle);
}
.ui-metric {
  background: var(--bg-panel-2);
  padding: 14px 16px;
}
.ui-metric-label {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 5px;
}
.ui-metric-value {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.c-red   { color: #C05050; }
.c-amb   { color: #A07030; }
.c-grn   { color: #3A8C52; }
.c-gold  { color: var(--gold); }

.ui-body { padding: 14px 18px; }

.ui-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.035);
}
.ui-row:last-child { border-bottom: none; }

.ui-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ud-block { background: #C05050; }
.ud-act   { background: var(--steel); }
.ud-clr   { background: #3A8C52; }

.ui-row-name {
  flex: 1;
  font-size: 11px;
  color: var(--text-secondary);
}
.ui-tag {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border: 1px solid transparent;
}
.tg-block { color: #C05050; border-color: rgba(192,80,80,0.2); background: rgba(192,80,80,0.06); }
.tg-act   { color: var(--steel); border-color: rgba(126,147,172,0.2); background: rgba(126,147,172,0.06); }
.tg-clr   { color: #3A8C52; border-color: rgba(58,140,82,0.2); background: rgba(58,140,82,0.06); }

/* ═══════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════ */
.card {
  background: var(--bg-panel);
  border: 1px solid var(--line-subtle);
  padding: 28px;
  transition: all var(--ease);
}
.card:hover {
  border-color: var(--line-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

/* Five domain cards — joined strip */
.domain-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line-subtle);
  border: 1px solid var(--line-subtle);
}
.domain-card {
  background: var(--bg-panel);
  padding: 28px 20px;
  position: relative;
  transition: background var(--ease);
}
.domain-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20px; right: 20px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.domain-card:hover { background: var(--bg-lift); }
.domain-card:hover::after { transform: scaleX(1); }

.card-num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 12px;
}
.card-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.card-copy {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Module grid */
.mod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-subtle);
  border: 1px solid var(--line-subtle);
}
.mod-card {
  background: var(--bg-panel);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: background var(--ease);
}
.mod-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--gold);
  transition: height 0.3s ease;
}
.mod-card:hover { background: var(--bg-lift); }
.mod-card:hover::before { height: 100%; }

/* Audience cards */
.aud-card {
  background: var(--bg-panel);
  border: 1px solid var(--line-subtle);
  padding: 32px 26px;
  position: relative;
  transition: border-color var(--ease);
}
.aud-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.aud-card:hover { border-color: var(--line-mid); }
.aud-card:hover::after { transform: scaleX(1); }
.aud-title { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-primary); margin-bottom: 10px; }
.aud-copy  { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════
   SEQUENCE BAND
═══════════════════════════════════════════════════════ */
.seq-band {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line-subtle);
  overflow: hidden;
}
.seq-step {
  flex: 1;
  padding: 26px 20px;
  background: var(--bg-panel);
  border-right: 1px solid var(--line-subtle);
  transition: background var(--ease);
}
.seq-step:last-child { border-right: none; background: var(--bg-lift); }
.seq-step:hover { background: var(--bg-lift); }
.seq-n { font-family: var(--mono); font-size: 8px; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 7px; }
.seq-t { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-primary); margin-bottom: 5px; }
.seq-d { font-size: 11px; color: var(--text-muted); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════
   PRINCIPLE LIST
═══════════════════════════════════════════════════════ */
.principle-list { display: flex; flex-direction: column; }
.p-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-subtle);
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.p-item:first-child { border-top: 1px solid var(--line-subtle); }
.p-num { font-family: var(--mono); font-size: 8px; letter-spacing: 0.2em; color: var(--gold); min-width: 22px; flex-shrink: 0; }
.p-text { font-family: var(--serif); font-size: 19px; color: var(--text-primary); line-height: 1.3; }

/* ═══════════════════════════════════════════════════════
   INTELLIGENCE STRIP
═══════════════════════════════════════════════════════ */
.intel-strip {
  display: flex;
  border: 1px solid var(--line-subtle);
  overflow: hidden;
}
.intel-node {
  flex: 1;
  padding: 28px 22px;
  background: var(--bg-panel);
  text-align: center;
  border-right: 1px solid var(--line-subtle);
}
.intel-node:last-child { border-right: none; }
.intel-n { font-family: var(--mono); font-size: 8px; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 7px; }
.intel-t { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 5px; }
.intel-d { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.intel-states {
  display: flex;
  border: 1px solid var(--line-subtle);
  border-top: none;
}
.intel-state {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-right: 1px solid var(--line-subtle);
}
.intel-state:last-child { border-right: none; }
.s-validated { color: #3A8C52; background: rgba(58,140,82,0.04); }
.s-disputed  { color: #A07030; background: rgba(160,112,48,0.04); }
.s-superseded{ color: var(--text-dim); }

/* ═══════════════════════════════════════════════════════
   METRIC BAND
═══════════════════════════════════════════════════════ */
.metric-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-subtle);
  border: 1px solid var(--line-subtle);
}
.metric-item { background: var(--bg-panel); padding: 48px 40px; text-align: center; }
.metric-val  { font-size: clamp(44px, 5.5vw, 72px); font-weight: 700; color: var(--text-primary); line-height: 1; letter-spacing: -0.03em; margin-bottom: 12px; }
.metric-lbl  { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════
   DECISION STRIP
═══════════════════════════════════════════════════════ */
.decision-strip {
  display: flex;
  border: 1px solid var(--line-subtle);
  overflow: hidden;
  margin: 36px 0;
}
.dec-node {
  flex: 1;
  padding: 24px 18px;
  background: var(--bg-panel);
  text-align: center;
  border-right: 1px solid var(--line-subtle);
}
.dec-node:last-child { border-right: none; background: var(--bg-lift); }
.dec-lbl  { font-family: var(--mono); font-size: 7px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.dec-title{ font-size: 13px; font-weight: 600; color: var(--text-primary); }

/* ═══════════════════════════════════════════════════════
   CTA BLOCK
═══════════════════════════════════════════════════════ */
.cta-block {
  background: var(--bg-panel);
  border: 1px solid var(--line-subtle);
  padding: 88px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* ═══════════════════════════════════════════════════════
   KEEL LIST
═══════════════════════════════════════════════════════ */
.kl { display: flex; flex-direction: column; gap: 13px; }
.kl li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.kl li::before {
  content: '';
  display: block;
  width: 3px; height: 3px;
  background: var(--gold);
  margin-top: 9px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   RULE CALLOUT
═══════════════════════════════════════════════════════ */
.rule {
  border-left: 2px solid var(--gold);
  padding: 14px 18px;
  background: var(--bg-lift);
}
.rule-head {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}
.rule p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════
   FORM
═══════════════════════════════════════════════════════ */
.form {
  background: var(--bg-panel);
  border: 1px solid var(--line-subtle);
  padding: 44px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  display: block;
  margin-bottom: 7px;
}
.form-field {
  width: 100%;
  background: var(--bg-panel-2);
  border: 1px solid var(--line-subtle);
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  transition: border-color var(--ease);
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.form-field:focus { border-color: var(--gold); }
.form-field::placeholder { color: var(--text-dim); }
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23637485'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.form-select option { background: var(--bg-panel-2); }
.form-area { min-height: 88px; resize: vertical; line-height: 1.6; }
.fg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ═══════════════════════════════════════════════════════
   AUTHORITY STATEMENT
═══════════════════════════════════════════════════════ */
.auth-statement {
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--line-subtle);
}
.auth-text {
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   
   No K mark here. Text only.
   The brand's power doesn't need a logo in the footer.
═══════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--line-subtle);
  padding: 28px 0;
  background: var(--bg-panel);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}
.footer-brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-tagline {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.on { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════
   MOBILE NAV OVERLAY
═══════════════════════════════════════════════════════ */
.mobile-nav {
  display: none;
  position: fixed; inset: 0;
  z-index: 99;
  background: rgba(7,9,15,0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-top: 56px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--ease);
}
.mobile-nav a:hover { color: var(--text-primary); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .wrap, .wrap-narrow { padding: 0 36px; }
  .header-inner, .footer-inner { padding: 0 36px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 96px 36px 64px; }
  .hero-image { display: none; }
  .mod-grid { grid-template-columns: repeat(2,1fr); }
  .domain-strip { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .header-inner, .footer-inner { padding: 0 20px; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn-line { display: none; }
  .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .domain-strip { grid-template-columns: 1fr 1fr; }
  .seq-band { flex-direction: column; }
  .seq-step { border-right: none; border-bottom: 1px solid var(--line-subtle); }
  .metric-band { grid-template-columns: 1fr; }
  .intel-strip { flex-direction: column; }
  .intel-node { border-right: none; border-bottom: 1px solid var(--line-subtle); }
  .decision-strip { flex-direction: column; }
  .dec-node { border-right: none; border-bottom: 1px solid var(--line-subtle); }
  .mod-grid { grid-template-columns: 1fr; }
  .ui-metrics { grid-template-columns: repeat(2,1fr) !important; }
  .section { padding: 80px 0; }
  .cta-block { padding: 56px 24px; }
  .form { padding: 28px 20px; }
  .fg2 { grid-template-columns: 1fr; }
  .hero-copy { padding: 80px 20px 56px; }
}

@media (max-width: 480px) {
  .g4 { grid-template-columns: 1fr; }
  .domain-strip { grid-template-columns: 1fr; }
}
