:root {
  --navy: #102c54;
  --blue: #4388b8;
  --red: #d92330;
  --rose: #bd5b68;
  --light: #e7e7e8;
  --white: #ffffff;
  --dark: #0a1e3c;
  --text: #1a1a2e;
  --muted: #5a6a80;
  --border: rgba(16,44,84,0.12);
  --section-pad: 5rem 2rem;
  --nav-height: 64px;
  --shadow-sm: 0 1px 3px rgba(16,44,84,0.06);
  --shadow-md: 0 4px 16px rgba(16,44,84,0.08);
  --shadow-lg: 0 12px 32px rgba(16,44,84,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--blue));
  z-index: 200;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--red);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  box-shadow: var(--shadow-md);
}

.nav-logo {
  display: block;
  text-decoration: none;
  flex-shrink: 0;
  height: var(--nav-height);
  width: 100px;
  position: relative;
}

.nav-logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  display: block;
  position: absolute;
  top: 6px;
  left: 0;
  z-index: 2;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
  transition: transform 0.2s ease;
}

.nav-logo:hover .nav-logo-img { transform: scale(1.04); }

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
}

.nav-links a {
  display: block;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
  border-radius: 4px;
  position: relative;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: white; outline: none; }

.nav-links a.active {
  color: white;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

/* ── BURGER ── */
.nav-burger {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 101;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  margin: 5px auto;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  color: white;
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(67,136,184,0.08) 100%);
}

.hero::after {
  content: 'GDC';
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 22rem;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }

.hero-tag {
  display: inline-block;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-lead {
  max-width: 560px;
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-meta-item {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-meta-item strong {
  display: block;
  color: white;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* ── INTRO BAND ── */
.intro-band {
  background: var(--light);
  padding: 2rem;
  border-left: 4px solid var(--blue);
}

.intro-band p {
  max-width: 800px;
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
}

/* ── SECTION HEADERS ── */
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--navy);
}

.section-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--light);
  line-height: 1;
  min-width: 3rem;
}

.section-emoji {
  font-size: 1.4rem;
  margin-bottom: 4px;
  display: block;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  line-height: 1;
}

/* ── LAYOUT ── */
.section {
  padding: var(--section-pad);
  max-width: 1100px;
  margin: 0 auto;
}

.section-alt { background: #f8f9fb; }

.section-alt-inner {
  padding: var(--section-pad);
  max-width: 1100px;
  margin: 0 auto;
}

.section-dark {
  background: var(--navy);
  color: white;
}

.section-dark-inner {
  padding: var(--section-pad);
  max-width: 1100px;
  margin: 0 auto;
}

.section-dark .section-num { color: rgba(255,255,255,0.08); }
.section-dark .section-title { color: white; }
.section-dark .section-header { border-bottom-color: rgba(255,255,255,0.15); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

/* ── CARDS ── */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-navy {
  background: var(--navy);
  color: white;
  border: none;
}

.card-red {
  background: var(--red);
  color: white;
  border: none;
}

.card-blue {
  background: var(--blue);
  color: white;
  border: none;
}

.card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.card-navy .card-label,
.card-red .card-label,
.card-blue .card-label {
  color: rgba(255,255,255,0.6);
}

.card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.card ul {
  list-style: none;
  font-size: 14px;
  line-height: 1.8;
}

.card ul li::before {
  content: '—';
  color: var(--blue);
  margin-right: 8px;
}

.card-navy ul li::before,
.card-blue ul li::before {
  color: rgba(255,255,255,0.5);
}

/* ── KV PAIRS ── */
.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 1rem;
  font-size: 14px;
  align-items: baseline;
}

.kv-key {
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  font-size: 13px;
}

.kv-val { color: var(--text); }

/* ── PERSON CARDS ── */
.person-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.person-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  border-top: 3px solid var(--blue);
  transition: transform 0.2s, box-shadow 0.2s;
}

.person-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.person-card.founder { border-top-color: var(--navy); }
.person-card.orchestrator { border-top-color: var(--rose); }

.person-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.person-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.person-card.founder .person-role { color: var(--navy); }
.person-card.orchestrator .person-role { color: var(--rose); }

.person-details {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── TABLE ── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 540px;
}

thead tr {
  background: var(--navy);
  color: white;
}

thead th {
  padding: 10px 14px;
  text-align: left;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

tbody tr {
  border-bottom: 1px solid var(--border);
}

tbody tr:nth-child(even) { background: #f8f9fb; }

tbody td {
  padding: 10px 14px;
  vertical-align: top;
  line-height: 1.5;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--light);
  color: var(--navy);
}

.badge-red { background: rgba(217,35,48,0.1); color: var(--red); }
.badge-blue { background: rgba(67,136,184,0.12); color: #1c5b8a; }
.badge-green { background: rgba(22,163,74,0.1); color: #15803d; }

/* ── STAT BOXES ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.stat-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-box.highlight .stat-num { color: var(--red); }

/* ── CHANNEL BARS ── */
.channel-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.channel-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.channel-bar-track {
  background: var(--light);
  border-radius: 4px;
  height: 24px;
  overflow: hidden;
  position: relative;
}

.channel-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--blue);
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  min-width: 30px;
  transition: width 0.8s ease;
}

.channel-bar-fill.inactive { background: var(--light); }
.channel-bar-fill.strong { background: var(--navy); }
.channel-bar-fill.dead { background: rgba(217,35,48,0.3); }

.channel-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* ── FRICTION ITEMS ── */
.friction-list { list-style: none; }

.friction-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.friction-item:last-child { border-bottom: none; }

.friction-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--light);
  line-height: 1;
}

.friction-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
}

.friction-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── FIGJAM EMBED ── */
.figjam-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f0f2f5;
  box-shadow: var(--shadow-md);
}

.figjam-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.figjam-fallback {
  margin-top: 1rem;
  font-size: 13px;
  text-align: right;
}

.figjam-fallback a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.figjam-fallback a:hover { border-bottom-color: var(--blue); }

/* ── ALERT BOX ── */
.alert {
  background: rgba(217,35,48,0.06);
  border-left: 4px solid var(--red);
  border-radius: 0 4px 4px 0;
  padding: 1rem 1.25rem;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin: 1.5rem 0;
}

.alert strong { color: var(--red); }

.note {
  background: rgba(67,136,184,0.06);
  border-left: 4px solid var(--blue);
  border-radius: 0 4px 4px 0;
  padding: 1rem 1.25rem;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 1.5rem 0;
}

/* ── SUB HEADINGS HELPERS ── */
.h-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.h-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.h-sub-plain {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.list-check {
  list-style: none;
  font-size: 14px;
  line-height: 2;
}

.partner-block {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 1rem;
}

.partner-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  margin-bottom: 4px;
}

.partner-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.partner-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.callout-suisse {
  margin-top: 2rem;
  background: rgba(67,136,184,0.1);
  border: 1px solid rgba(67,136,184,0.3);
  border-radius: 6px;
  padding: 1rem 1.5rem;
}

.callout-suisse-title {
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 4px;
  font-size: 14px;
}

.callout-suisse p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s;
  z-index: 90;
}

.back-to-top:hover { background: var(--red); }

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem;
  font-size: 13px;
}

footer strong { color: white; }

/* ── RESPONSIVE — TABLET ── */
@media (max-width: 1024px) {
  :root { --section-pad: 4rem 1.75rem; }

  nav { padding: 0 1.5rem; }

  .nav-logo { width: 60px; }
  .nav-logo-img {
    height: 56px;
    top: 50%;
    transform: translateY(-50%);
  }
  .nav-logo:hover .nav-logo-img { transform: translateY(-50%) scale(1.04); }

  .nav-links a {
    padding: 8px 9px;
    font-size: 11px;
    letter-spacing: 0.3px;
  }

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

  .hero { padding: 5rem 1.75rem 4rem; }
  .hero::after { font-size: 16rem; }
}

/* ── RESPONSIVE — MOBILE ── */
@media (max-width: 768px) {
  :root { --section-pad: 3rem 1.25rem; }

  nav { padding: 0 1rem; }

  .nav-logo { width: 56px; }
  .nav-logo-img { height: 52px; }

  .nav-burger { display: block; }

  nav { border-bottom: 1px solid rgba(255,255,255,0.06); }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open { transform: translateY(0); }

  .nav-links a {
    padding: 12px 1.5rem;
    font-size: 13px;
    border-radius: 0;
    border-left: 3px solid transparent;
  }

  .nav-links a.active {
    background: rgba(255,255,255,0.05);
    border-left-color: var(--red);
  }

  .nav-links a.active::after { display: none; }

  .hero { padding: 4rem 1.25rem 3rem; }
  .hero::after { font-size: 10rem; right: -0.5rem; bottom: -1rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }

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

  table { font-size: 13px; }
  thead th, tbody td { padding: 8px 10px; }

  .channel-row { grid-template-columns: 90px 1fr auto; gap: 0.6rem; }
  .channel-name { font-size: 12px; }

  .phase-row { grid-template-columns: 1fr; }
  .phase-day { border-right: none; border-bottom: 1px solid var(--border); }

  .friction-item { grid-template-columns: 36px 1fr; }
  .friction-num { font-size: 1.5rem; }

  .figjam-embed { aspect-ratio: 4 / 5; }

  .section-num { font-size: 2.2rem; min-width: 2.2rem; }
  .section-title { font-size: 1.4rem; }

  .hero-meta { gap: 1.25rem; }

  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .person-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .nav-logo { width: 52px; }
  .nav-logo-img { height: 48px; }

  .hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
}

/* ── PRINT ── */
@media print {
  nav, .scroll-progress, .back-to-top { display: none !important; }
  body { font-size: 11pt; }
  .hero { padding: 1cm; }
  .hero::after { display: none; }
  .section, .section-alt-inner, .section-dark-inner {
    padding: 1cm 0.5cm;
    page-break-inside: avoid;
  }
  .friction-item, .card, .person-card { page-break-inside: avoid; }
  .figjam-embed { display: none; }
  .figjam-fallback { font-size: 12pt; text-align: left; }
  .section-dark { background: white !important; color: black !important; }
  .section-dark .section-title { color: black !important; }
  a { color: inherit; text-decoration: none; }
}

/* ── ACCESSIBILITY ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}
