:root {
  --ink: #f5f9ff;
  --muted: #a9c2e0;
  --dim: #7b95b5;
  --surface: #07142b;
  --surface-2: #0d2145;
  --surface-3: #143061;
  --line: rgba(120, 190, 255, 0.20);
  --line-strong: rgba(120, 190, 255, 0.40);
  --signal: #ffd230;
  --signal-soft: rgba(255, 210, 48, 0.14);
  --accent: #2fb8ff;
  --accent-soft: rgba(47, 184, 255, 0.16);
  --max: 1180px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--surface); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 14%, rgba(47, 184, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 12% 72%, rgba(255, 210, 48, 0.12), transparent 32rem),
    linear-gradient(180deg, #08183a 0%, #07142b 50%, #05101f 100%);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
::selection { background: var(--signal); color: #090a0b; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: 1rem;
  transform: translateY(-180%);
  background: var(--signal);
  color: #07142b;
  padding: .75rem 1rem;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(120,190,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,190,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 20, 43, .78);
  backdrop-filter: blur(18px);
}

.brand { display: flex; gap: .75rem; align-items: center; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.45rem;
  aspect-ratio: 1;
  border: 1px solid var(--signal);
  color: var(--signal);
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.brand-copy { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; }
nav { display: flex; gap: 1.35rem; }
nav a { color: var(--muted); font-size: .82rem; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--signal); }

main, footer { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
html, body { max-width: 100%; overflow-x: hidden; }

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-content: center;
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 34rem;
  height: 34rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  right: -13rem;
  top: 11%;
  box-shadow: 0 0 0 4rem rgba(47,184,255,.05), 0 0 0 8rem rgba(47,184,255,.03);
}
.eyebrow, .kicker {
  color: var(--signal);
  text-transform: uppercase;
  letter-spacing: .21em;
  font-weight: 800;
  font-size: .72rem;
}
.hero h1 {
  max-width: 960px;
  margin: 1rem 0 1.7rem;
  font-family: var(--serif);
  font-size: clamp(4.15rem, 10vw, 9rem);
  line-height: .83;
  letter-spacing: -.065em;
  font-weight: 500;
}
.hero h1 span { display: block; }
.accent-line { color: var(--signal); font-style: italic; padding-left: clamp(0rem, 9vw, 8rem); }
.hero-definition {
  max-width: 760px;
  margin: 0;
  color: #e6e0d4;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 2.15rem);
  line-height: 1.34;
}
.hero-subhead { max-width: 670px; margin: 1.4rem 0 0; color: var(--muted); font-size: 1rem; }
.hero-subhead a { text-decoration-color: var(--signal); text-underline-offset: .22em; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2.25rem; }
.hero-video { margin: 3rem 0 0; max-width: 860px; width: 100%; }
.hero-video .video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  background: #000;
  overflow: hidden;
}
.hero-video .video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.hero-video figcaption {
  margin-top: .8rem;
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: .8rem 1.1rem;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 900;
}
.button-primary { background: linear-gradient(135deg, #ffd230, #ffa62f); color: #07142b; border-color: transparent; box-shadow: 0 10px 30px -12px rgba(255,166,47,.7); }
.button-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.button-secondary:hover { border-color: var(--signal); color: var(--signal); }
.signal-pair { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: 4rem; }
.signal { display: flex; gap: 6px; align-items: flex-end; height: 42px; opacity: .78; }
.signal span { width: 2px; background: var(--signal); animation: pulse 2.4s ease-in-out infinite; transform-origin: bottom; }
.signal span:nth-child(1), .signal span:nth-child(7) { height: 7px; }
.signal span:nth-child(2), .signal span:nth-child(6) { height: 18px; animation-delay: -.2s; }
.signal span:nth-child(3), .signal span:nth-child(5) { height: 34px; animation-delay: -.4s; }
.signal span:nth-child(4) { height: 42px; animation-delay: -.6s; }
.signal-inverted { align-items: flex-start; opacity: .78; }
.signal-inverted span { transform-origin: top; background: var(--accent); }
.signal-inverted span:nth-child(1), .signal-inverted span:nth-child(7) { animation-delay: 1.2s; }
.signal-inverted span:nth-child(2), .signal-inverted span:nth-child(6) { animation-delay: 1.0s; }
.signal-inverted span:nth-child(3), .signal-inverted span:nth-child(5) { animation-delay: .8s; }
.signal-inverted span:nth-child(4) { animation-delay: .6s; }
@keyframes pulse { 0%, 100% { transform: scaleY(.45); opacity: .35; } 50% { transform: scaleY(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; } }
.hero-video .video-poster {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
}
.hero-video .video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, opacity .3s ease;
}
.hero-video .video-poster:hover img,
.hero-video .video-poster:focus-visible img { transform: scale(1.02); opacity: .9; }
.hero-video .video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 210, 48, .92);
  border: 0;
  box-shadow: 0 12px 34px -10px rgba(255,166,47,.8);
  backdrop-filter: blur(4px);
}
.hero-video .video-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #07142b;
}
@media (max-width: 560px) {
  .hero-video .video-play { width: 64px; height: 64px; }
  .hero-video .video-play::after { border-width: 10px 0 10px 17px; }
}

.definition-section {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 2rem;
  padding: 8rem 0;
  border-top: 1px solid var(--line);
}
.section-number { color: var(--accent); font-family: var(--serif); font-size: 4rem; line-height: 1; }
.section-copy h2, .principles h2, .section-heading h2, .cohort-section h2, .about-copy h2 {
  margin: .4rem 0 1.7rem;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 500;
}
blockquote { margin: 0; max-width: 960px; }
blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.42;
  color: #e6f1ff;
}
blockquote strong { color: var(--signal); font-weight: 500; }
.definition-note { margin-top: 2rem; padding-left: 1rem; border-left: 2px solid var(--signal); color: var(--muted); font-size: .91rem; }

.principles { padding: 3rem 0 8rem; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principle-grid article { min-height: 270px; padding: 2rem; background: var(--surface-2); }
.principle-index { color: var(--accent); font-family: var(--serif); font-size: 2.8rem; }
.principle-grid h3 { margin: 2rem 0 .7rem; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .12em; }
.principle-grid p { color: var(--muted); margin: 0; }

.works-section { padding: 8rem 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: end; }
.section-heading > p { color: var(--muted); max-width: 440px; padding-bottom: 1.1rem; }
.link-cards { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 1rem; margin-top: 2.4rem; }
.link-card {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 1.7rem;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--surface-2), #081a36);
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.link-card::after {
  content: '';
  position: absolute;
  width: 14rem;
  height: 14rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  right: -8rem;
  bottom: -8rem;
}
.link-card:hover { transform: translateY(-4px); border-color: var(--signal); }
.link-card.featured { background: linear-gradient(145deg, rgba(255,210,48,.18), var(--surface-2) 45%); }
.card-label { color: var(--signal); text-transform: uppercase; letter-spacing: .14em; font-size: .67rem; font-weight: 800; }
.link-card h3 { margin: 1.2rem 0 .8rem; max-width: 320px; font-family: var(--serif); font-size: 2rem; line-height: 1.05; font-weight: 500; }
.link-card p { color: var(--muted); margin: 0; }
.card-action { margin-top: auto; padding-top: 2rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 800; }

.cohort-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 5rem;
  padding: 5rem;
  background: linear-gradient(135deg, #ffd230 0%, #ffb02e 55%, #2fb8ff 190%);
  color: #07142b;
}
.cohort-section .kicker { color: #6b4a00; }
.cohort-section h2 { margin-bottom: 0; }
.cohort-section p { font-size: 1.08rem; margin: .8rem 0 0; }
.text-link { grid-column: 2; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; text-underline-offset: .3rem; }

.about-section { display: grid; grid-template-columns: .62fr 1.38fr; gap: 5rem; padding: 9rem 0; border-bottom: 1px solid var(--line); }
.headshot {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  align-self: start;
  justify-self: start;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  box-shadow: 0 18px 44px -20px rgba(0, 0, 0, .5);
}
.about-copy > p:not(.kicker) { color: #d3cec5; font-family: var(--serif); font-size: 1.25rem; }
.identity-facts { margin: 2.2rem 0 0; }
.identity-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.identity-facts dt { color: var(--dim); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.identity-facts dd { margin: 0; }

.scope-note { max-width: 880px; padding: 5rem 0; }
.scope-note h2 { font-size: .9rem; text-transform: uppercase; letter-spacing: .14em; }
.scope-note p { color: var(--muted); font-size: .9rem; }

footer {
  display: grid;
  grid-template-columns: .8fr 2fr auto;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: .78rem;
}
.footer-brand { color: var(--ink); text-transform: uppercase; letter-spacing: .15em; font-weight: 900; }
footer p { margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: .35rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--signal); }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }

/* Tablet range: keep everything inside the margins */
@media (min-width: 561px) and (max-width: 1100px) {
  .site-header, main, footer { width: min(calc(100% - 2.5rem), var(--max)); }
  .hero { padding: 5.5rem 0 4rem; }
  .hero h1 { font-size: clamp(3.4rem, 9vw, 6rem); overflow-wrap: break-word; }
  .accent-line { padding-left: clamp(0rem, 5vw, 3rem); }
  .hero-definition { font-size: clamp(1.35rem, 3.1vw, 1.85rem); }
  .hero::before { width: 22rem; height: 22rem; right: -9rem; box-shadow: none; }
  .cohort-section { padding: 3.5rem 2rem; }
  .definition-section, .works-section, .about-section { padding: 6rem 0; }
  .principles { padding: 2.5rem 0 6rem; }
  .identity-facts div { grid-template-columns: 120px 1fr; }
  blockquote, .hero-definition, .section-copy p { overflow-wrap: break-word; }
}


@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { min-height: auto; }
  .definition-section { grid-template-columns: 1fr; }
  .section-number { font-size: 2.5rem; }
  .principle-grid, .link-cards { grid-template-columns: 1fr; }
  .link-card { min-height: 260px; }
  .section-heading, .about-section { grid-template-columns: 1fr; }
  .headshot { max-width: 320px; justify-self: center; }
  .cohort-section { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  main, footer, .site-header { width: min(calc(100% - 1.25rem), var(--max)); }
  .brand-copy { display: none; }
  .hero { padding-top: 5rem; }
  .hero h1 { font-size: clamp(3.55rem, 19vw, 5.2rem); }
  .accent-line { padding-left: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-video { margin-top: 2.25rem; }
  .button { width: 100%; }
  .definition-section, .works-section, .about-section { padding: 5.5rem 0; }
  .principle-grid article { min-height: 230px; }
  .identity-facts div { grid-template-columns: 1fr; gap: .25rem; }
}
