/* Design System Variables */
:root {
  --black: #000000;
  --white: #ffffff;
  --accent: #378add;
  --text-primary: rgba(255,255,255,1);
  --text-secondary: rgba(255,255,255,0.55);
  --text-muted: rgba(255,255,255,0.28);
  --text-ghost: rgba(255,255,255,0.18);
  --border-subtle: rgba(255,255,255,0.06);
  --border-soft: rgba(255,255,255,0.09);
  --border-mid: rgba(255,255,255,0.14);
  --pad-section: 60px 48px;
  --pad-section-lg: 80px 48px;
  --type-hero: clamp(56px, 10vw, 88px);
  --type-display: clamp(28px, 4vw, 48px);
  --type-title: clamp(18px, 2.5vw, 24px);
  --type-body: 13px;
  --type-label: 10px;
  --type-cta: 11px;
  --gap-grid: 1px;
  --gap-cols: 40px;
  --text-whisper: rgba(255,255,255,0.06);
  --surface-1: rgba(255,255,255,0.025);
  --video-overlay: rgba(0,0,0,0.62);
}

/* Global reset */
* { box-sizing: border-box; margin:0; padding:0; }
body { background: var(--black); color: var(--text-primary); font-family: 'Barlow', sans-serif; -webkit-font-smoothing: antialiased; }

/* Navigation */
#site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 48px;
  background: var(--black);
  transition: border-bottom 0.2s ease;
}
#site-nav .nav-logo {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.20em;
  color: var(--text-primary);
}
#site-nav .nav-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.13em;
  color: var(--text-ghost);
  margin: 0 12px;
  text-decoration: none;
  transition: color 0.2s;
}
#site-nav .nav-links a:hover {
  color: var(--text-secondary);
}
#site-nav .nav-cta {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--black);
  background: var(--white);
  padding: 8px 18px;
  border-radius: 1px;
  text-decoration: none;
}
#site-nav.scrolled {
  border-bottom: 1px solid var(--border-subtle);
}

/* HERO SECTION
   Staggered entrance animation (CSS only) */
@keyframes line-in {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-kicker {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-ghost);
  display: flex;
  align-items: center;
  margin-bottom: 38px;
}
.hero-kicker::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--border-mid);
  margin-right: 8px;
}

.hero-headline {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: var(--type-hero);
  line-height: 0.89;
  color: var(--text-primary);
  margin: 0;
}

.hl {
  opacity: 0;
  animation: line-in 0.5s ease forwards;
}
.hl-1 { animation-delay: 0.3s; }
.hl-2 { animation-delay: 0.65s; }
.hl-3 { animation-delay: 1.0s; }

.hl-accent { color: var(--accent); }

.hero-sub {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-size: var(--type-body);
  line-height: 1.80;
  color: var(--text-muted);
  max-width: 520px;
  margin-top: 30px;
  opacity: 0;
  animation: line-in 0.6s ease 1.45s forwards;
}

.hero-sub strong {
  font-weight: 400;
  color: var(--text-secondary);
}

/* Ensure hero section has no layout shift */
#hero {
  padding: var(--pad-section-lg);
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden; /* prevents CLS from animation overflow */
}

/* PIVOT SECTION */
.pivot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-cols);
}

.sec-num {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-ghost);
  margin-bottom: 32px;
}

.pivot-statement {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: var(--type-display);
  line-height: 1.02;
  color: var(--text-primary); /* default bright */
}

.pivot-statement em {
  font-style: normal; /* override italic */
  color: var(--text-ghost); /* dimmed */
}

.pivot-right p {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-size: var(--type-body);
  line-height: 1.85;
  color: var(--text-muted);
  border-left: 1px solid var(--border-subtle);
  padding-left: 28px;
}

.pivot-right p strong {
  font-weight: 400;
  color: var(--text-secondary);
}

/* IMADF SECTION */
.video-section {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 60px;
}
.section-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28; /* required opacity */
  z-index: 0;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* lighter overlay for better video visibility */
  z-index: 1;
}
  position: absolute;
  inset: 0;
  background: var(--video-overlay);
  z-index: 1;
}

.video-content {
  position: relative;
  z-index: 2; /* text sits above video & overlay */
  padding: var(--pad-section-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.imadf-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.imadf-badge {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

.imadf-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: var(--type-title);
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.imadf-body {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-size: var(--type-body);
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.imadf-attrs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.imadf-attrs li {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--text-green??); /* placeholder? */
  border: 1px solid var(--border-subtle);
  padding: 5px 10px;
}

.imadf-phrase {
  font-family: "Barrow"?; /* placeholder... */
  font-weight: 800;
  font-size: var(--type-display);
  line-height: 1.05;
  color: var(--text-primary);
}

.phrase-dim {
  color: var(--text-ghost);
}

/* SECTION 4 — TSA FRAMEWORK */
#tsa {
  padding: var(--pad-section);
  max-width: 1200px;
  margin: 0 auto;
}
.tsa-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-cols);
  margin-bottom: 40px;
}
.tsa-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: var(--type-display);
  color: var(--text-primary);
}
.tsa-intro {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-size: var(--type-body);
  line-height: 1.80;
  color: var(--text-muted);
  border-left: 1px solid var(--border-subtle);
  padding-left: 24px;
  align-self: center;
}
.tsa-classes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-grid);
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}
.tsa-class {
  background: var(--black);
  padding: 22px 20px;
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-size: var(--type-body);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.tsa-class-num {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-whisper);
}
.tsa-examples {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.tsa-ex-label {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-ghost);
  flex-shrink: 0;
}
.tsa-ex-list span {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-size: 10px;
  color: var(--text-ghost);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 1px;
}

/* SECTION 5 – PERSONAL MISSION ASSISTANTS */
#pma {
  padding: var(--pad-section);
  max-width: 1200px;
  margin: 0 auto;
}
.pma-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-cols);
  align-items: start;
}
.pma-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: var(--type-display);
  line-height: 1.0;
  margin-bottom: 20px;
}
.pma-body {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-size: var(--type-body);
  line-height: 1.80;
  color: var(--text-muted);
  max-width: 420px;
}
.pma-attrs-label {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 100; /* will inherit weight from font family */
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-ghost;
}
.pma-attrs {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border)??
}
.pma-attr {
  background: var(--black);
  padding: 14px 18px;
  font-family: "Barrow"?; /* placeholder
  font-weight: 400;
  font-size: var(--type-body);
  color: var(--text-muted);
}

/* SECTION 5 – PERSONAL MISSION ASSISTANTS (fixed) */
#pma {
  padding: var(--pad-section);
  max-width: 1200px;
  margin: 0 auto;
}
.pma-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-cols);
  align-items: start;
}
.pma-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: var(--type-display);
  line-height: 1.0;
  margin-bottom: 20px;
}
.pma-body {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-size: var(--type-body);
  line-height: 1.80;
  color: var(--text-muted);
  max-width: 420px;
}
.pma-attrs-label {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-ghost);
  margin-bottom: 16px;
}
.pma-attrs {
  display: flex;
  flex-direction: column;
  gap: 1px; /* thin separator between rows */
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}
.pma-attr {
  background: var(--black);
  padding: 14px 18px;
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-size: var(--type-body);
  color: var(--text-muted);
}

/* SECTION 7 – STRATEGIC NODES */
#nodes {
  padding: var(--pad-section);
  max-width: 1200px;
  margin: 0 auto;
}
.nodes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-cols);
}
.nodes-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: var(--type-display);
  line-height: 1.0;
  margin-bottom: 24px;
}
.nodes-phrase {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700; /* lighter than titles */
  font-size: var(--type-display);
  line-height: 1.1;
  color: var(--text-primary);
  font-style: normal; /* ensure no italic */
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}
.phrase-dim {
  color: var(--text-ghost);
}
.nodes-body {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-size: var(--type-body);
  line-height: 1.80;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.nodes-capabilities {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.node-cap {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-size: var(--type-body);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nc-bullet {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

/* HyperSOC – correlates styling */
.hs-correlates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hs-correlates span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: var(--text-ghost);
  border: 1px solid var(--border-subtle);
  padding: 5px 10px;
  border-radius: 1px;
}

/* HyperSOC – grid layout */
.hypersoc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-cols);
  align-items: start;
}
}

/* Fix 2 – Pivot container */
#pivot {
  padding: var(--pad-section);
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero optional parallax (subtle) */
#hero {
  background-attachment: fixed;
}

/* IMADF video gradient overlay for better legibility */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* lighter overlay for better video visibility */
  z-index: 1;
}
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

/* HyperSOC correlates pill hover effect */
.hs-correlates span {
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hs-correlates span:hover {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--text-primary);
}

/* Node capability icons (simple) */
.node-cap::after {
  content: "\1F4BB"; /* laptop emoji as icon */
  font-size: 12px;
  margin-left: 6px;
  opacity: 0.6;
}

/* HyperSOC video content layout – bottom‑aligned */
#hypersoc .video-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 60px;
  min-height: 480px;   /* ensures enough vertical space */
}
