:root {
  --ink: #13213d;
  --muted: #56627a;
  --navy: #101e3a;
  --blue: #2457e6;
  --teal: #20bfa9;
  --teal-pale: #ddf8f2;
  --gold: #ffca5c;
  --paper: #fbfcff;
  --line: #dfe5ef;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
}
a { color: inherit; }
img, video { max-width: 100%; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 50; background: white; padding: .7rem 1rem; border-radius: .4rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem max(4vw, calc((100vw - var(--max)) / 2));
  color: white;
  background: rgba(16, 30, 58, .93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; font-family: Inter, ui-sans-serif, sans-serif; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { position: relative; width: 31px; height: 27px; display: inline-block; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; height: 2px; width: 17px; background: rgba(255,255,255,.65); left: 7px; transform-origin: left; }
.brand-mark::before { top: 9px; transform: rotate(-29deg); }
.brand-mark::after { top: 16px; transform: rotate(29deg); }
.brand-mark i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); z-index: 1; }
.brand-mark i:nth-child(1) { left: 0; top: 9px; }
.brand-mark i:nth-child(2) { right: 0; top: 0; background: var(--gold); }
.brand-mark i:nth-child(3) { right: 0; bottom: 0; background: white; }
nav { display: flex; gap: 1.7rem; font-size: .9rem; }
nav a { color: #dbe4f6; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--gold); }

.hero {
  min-height: 690px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 5rem;
  padding: 7rem max(5vw, calc((100vw - var(--max)) / 2)) 8rem;
  color: white;
  background: var(--navy);
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, transparent, #000 35%, #000); }
.hero::after { content: ""; position: absolute; width: 35rem; height: 35rem; right: -12rem; bottom: -17rem; border-radius: 50%; background: var(--blue); filter: blur(2px); opacity: .23; }
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.eyebrow, .section-kicker { margin: 0 0 1rem; color: var(--teal); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.13; letter-spacing: -.035em; }
h1 { max-width: 800px; margin: 0 0 1.5rem; font-size: clamp(3.4rem, 7vw, 6.7rem); }
h1 span { color: var(--gold); }
.lead { max-width: 680px; color: #cbd6eb; font-size: 1.24rem; line-height: 1.7; }
.primary-link { display: inline-block; margin-top: 1.1rem; padding: .85rem 1.25rem; color: var(--navy); background: var(--gold); border-radius: 999px; font-weight: 700; text-decoration: none; }
.primary-link:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.25); }

.network-art { position: relative; z-index: 2; width: min(34vw, 410px); aspect-ratio: 1; justify-self: end; }
.core { position: absolute; inset: 36%; display: grid; place-items: center; color: var(--navy); background: var(--gold); border-radius: 50%; font: 800 4.5rem Inter, ui-sans-serif, sans-serif; box-shadow: 0 0 0 18px rgba(255,202,92,.08); }
.orbit { position: absolute; inset: 9%; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.orbit-b { inset: 22%; border-style: dashed; }
.node { position: absolute; width: 22px; aspect-ratio: 1; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 9px rgba(32,191,169,.12); }
.node-a { left: 9%; top: 45%; }.node-b { right: 16%; top: 8%; background: white; }.node-c { right: 7%; bottom: 23%; background: var(--gold); }.node-d { left: 24%; bottom: 8%; background: #7196ff; }

.article-shell { width: min(calc(100% - 2.5rem), var(--max)); margin: 0 auto; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 5rem; padding: 6rem 0; }
.article-index { position: sticky; top: 6rem; align-self: start; padding-left: 1.2rem; border-left: 2px solid var(--line); font-size: .86rem; line-height: 1.45; }
.article-index p { margin-top: 0; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.article-index ol { margin: 0; padding: 0; list-style: none; counter-reset: idx; }
.article-index li { counter-increment: idx; margin: .75rem 0; }
.article-index li::before { content: "0" counter(idx); margin-right: .6rem; color: var(--teal); font-size: .72rem; font-weight: 700; }
.article-index a { text-decoration: none; color: var(--muted); }
.article-index a:hover { color: var(--blue); }
.article-body { min-width: 0; }
.article-body section { scroll-margin-top: 6rem; }
.article-body h2 { margin: 0 0 1.5rem; font-size: clamp(2rem, 4vw, 3.15rem); color: var(--navy); }
.article-body h3 { margin-top: 2rem; font-size: 1.3rem; }
.article-body p { margin: 0 0 1.35rem; }
.intro { padding-bottom: 4rem; border-bottom: 1px solid var(--line); }
.intro > p:not(.section-kicker) { font-size: 1.12rem; }
.reading-sections > section { position: relative; padding: 5rem 0; border-bottom: 1px solid var(--line); }
.section-number { display: block; margin-bottom: .65rem; color: var(--teal); font: 700 .82rem Inter, ui-sans-serif, sans-serif; letter-spacing: .15em; }
blockquote { margin: 2.5rem 0; padding: .5rem 0 .5rem 1.7rem; color: var(--navy); border-left: 4px solid var(--gold); font: 600 1.35rem/1.55 Inter, ui-sans-serif, sans-serif; }
.feature-list, .check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 2rem; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.feature-list li, .check-list li { position: relative; padding-left: 1.8rem; }
.feature-list li::before, .check-list li::before { position: absolute; left: 0; content: "•"; color: var(--teal); font-size: 1.4rem; line-height: 1.25; }
.check-list li::before { content: "✓"; font-size: .95rem; font-weight: 700; }
.example { margin: 2.4rem 0; padding: 1.6rem 1.8rem; background: var(--teal-pale); border-radius: 1rem; }
.example span { color: #087e70; font: 700 .76rem Inter, ui-sans-serif, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.example p { margin: .5rem 0 0; }

.table-wrap { margin: 2.5rem 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 1rem; }
table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .91rem; line-height: 1.45; }
th, td { padding: 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { color: white; background: var(--navy); font: 700 .78rem Inter, ui-sans-serif, sans-serif; letter-spacing: .03em; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { color: var(--navy); }
.tag { white-space: nowrap; display: inline-block; padding: .25rem .65rem; color: #09685f; background: var(--teal-pale); border-radius: 999px; font-size: .78rem; font-weight: 700; }
.tag-hot { color: #173b9c; background: #e4ebff; }.tag-warm { color: #7b5000; background: #fff0c8; }

.culture-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2.2rem 0; }
.culture-grid article { padding: 1.5rem; background: white; border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 12px 35px rgba(16,30,58,.04); }
.culture-grid article > span { display: grid; place-items: center; width: 2.4rem; aspect-ratio: 1; color: var(--navy); background: var(--gold); border-radius: .7rem; font-weight: 700; }
.culture-grid h3 { margin: 1rem 0 .5rem; font-size: 1.08rem; }
.culture-grid p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }

.reflection { margin: 6rem -3rem 0; padding: 5rem 3rem; color: white; background: var(--navy); border-radius: 1.5rem; }
.reflection h2 { color: white; }
.reflection p { color: #d5deee; }
.reflection-close { margin-top: 2.2rem !important; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.18); font-size: 1.18rem; }
.reflection-close strong { color: var(--gold); }

.video-section { padding: 7rem 0 5rem; }
.video-intro { max-width: 820px; }
.video-frame { margin: 2.5rem 0 1.5rem; padding: .7rem; background: var(--navy); border-radius: 1.4rem; box-shadow: 0 28px 70px rgba(16,30,58,.22); }
.video-frame video { display: block; width: 100%; max-height: 72vh; background: #05080f; border-radius: .9rem; }
.video-note { padding-left: 1rem; color: var(--muted); border-left: 3px solid var(--teal); font-size: .93rem; }

.references { padding: 5rem 0 2rem; border-top: 1px solid var(--line); }
.references ol { counter-reset: refs; margin: 0; padding: 0; list-style: none; }
.references li { counter-increment: refs; position: relative; padding: 1.4rem 0 1.4rem 3.7rem; border-bottom: 1px solid var(--line); font-size: .94rem; color: var(--muted); }
.references li::before { content: counter(refs, decimal-leading-zero); position: absolute; left: 0; color: var(--teal); font: 700 .8rem Inter, ui-sans-serif, sans-serif; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3rem max(4vw, calc((100vw - var(--max)) / 2)); color: #cbd5e8; background: var(--navy); font-size: .88rem; }
.footer-brand { color: white; }.footer-brand + p { margin: 0 auto 0 0; }.footer-brand ~ a { color: var(--gold); text-decoration: none; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 2rem; padding-top: 6rem; }
  .network-art { display: none; }
  .article-shell { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .article-index { position: static; display: none; }
  .reflection { margin-inline: 0; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .site-header { padding-inline: 1.25rem; }
  .hero { padding: 5.5rem 1.25rem 6rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .lead { font-size: 1.08rem; }
  .article-shell { width: min(calc(100% - 2rem), var(--max)); }
  .article-body h2 { font-size: 2rem; }
  .feature-list, .check-list, .culture-grid { grid-template-columns: 1fr; }
  .reflection { padding: 3rem 1.3rem; border-radius: 1rem; }
  .video-section { padding-top: 5rem; }
  footer { align-items: flex-start; flex-direction: column; padding-inline: 1.25rem; }
  .footer-brand + p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
