:root {
  --bg: #f4f1eb;
  --paper: rgba(255, 252, 247, 0.86);
  --paper-strong: #fffdfa;
  --paper-soft: #ebe5dc;
  --ink: #132033;
  --muted: #556173;
  --line: rgba(19, 32, 51, 0.14);
  --line-strong: rgba(19, 32, 51, 0.28);
  --navy: #163a63;
  --navy-deep: #0e2844;
  --teal: #2c7567;
  --gold: #d7a64a;
  --gold-soft: #f3e4c0;
  --sage: #d8e2da;
  --mist: #dfe8f1;
  --shadow-lg: 0 32px 70px rgba(12, 26, 45, 0.12);
  --shadow-md: 0 20px 42px rgba(12, 26, 45, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content: min(1180px, calc(100% - 2rem));
  --preview-chrome-height: 1.95rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  padding-top: calc(var(--preview-chrome-height) + 0.25rem);
  font-family: "Work Sans", sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(215, 166, 74, 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(44, 117, 103, 0.1), transparent 24%),
    linear-gradient(180deg, #f7f4ef 0%, var(--bg) 48%, #ede7de 100%);
  text-wrap: pretty;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(19, 32, 51, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 32, 51, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 82%);
}

a {
  color: inherit;
}

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

p,
ul {
  margin: 0;
}

.site-shell {
  width: var(--content);
  margin: 0 auto;
}

.preview-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(19, 32, 51, 0.08);
  background: rgba(247, 244, 239, 0.7);
  backdrop-filter: blur(10px);
}

.preview-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: var(--preview-chrome-height);
  gap: 0.45rem;
  padding: 0.08rem 0;
}

.preview-tag,
.preview-switch {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.preview-label {
  font-size: 0.54rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: rgba(22, 58, 99, 0.72);
}

.preview-tag strong {
  font-size: 0.67rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.preview-switch select {
  min-width: 8.8rem;
  min-height: 1.45rem;
  padding: 0.1rem 1.35rem 0.1rem 0.42rem;
  border: 1px solid rgba(19, 32, 51, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  font-size: 0.68rem;
  line-height: 1.1;
}

.masthead {
  position: relative;
  padding: 0.5rem 0 4rem;
}

.masthead::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.44));
  pointer-events: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0 2.4rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 32rem;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy) 0%, #305883 100%);
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 1rem;
  font-weight: 700;
}

.brand-title {
  font-family: "Fraunces", serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand span:last-child {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.nav a {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
  font-weight: 600;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.button:hover,
.button:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible,
.inline-link:hover,
.inline-link:focus-visible,
.resource-link:hover,
.resource-link:focus-visible,
.ig-tile:hover,
.ig-tile:focus-visible {
  transform: translateY(-2px);
}

.eyebrow,
.kicker,
.stat-label,
.diagram-label,
.roadmap-term,
.ig-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--navy);
}

.eyebrow::before,
.kicker::before,
.stat-label::before,
.diagram-label::before {
  content: "";
  width: 0.8rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.hero-grid,
.page-hero,
.audience-grid,
.section-grid,
.feature-grid,
.impact-grid,
.jobs-grid,
.student-hub-grid,
.resource-links,
.footer-grid,
.proof-band,
.diagram-grid,
.diagram-rail,
.diagram-steps,
.launch-ladder,
.timeline-grid,
.instagram-zone,
.hero-stat-grid {
  display: grid;
  gap: 1.25rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: start;
}

.hero-copy,
.hero-panel,
.panel,
.page-hero-card,
.stat-card,
.diagram-card,
.timeline-card,
.hub-card,
.impact-card,
.signal-card,
.resource-panel,
.footer-card,
.cta-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}

.hero-copy,
.hero-panel,
.page-hero-card,
.panel,
.resource-panel,
.cta-banner {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-copy::after,
.hero-panel::after,
.page-hero-card::after,
.panel::after,
.cta-banner::after {
  content: "";
  position: absolute;
  inset: auto auto -4.4rem -3rem;
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 166, 74, 0.18), transparent 70%);
}

.hero-copy {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 249, 240, 0.7)),
    linear-gradient(180deg, #fffdfa 0%, rgba(241, 236, 228, 0.94) 100%);
}

.hero-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(226, 235, 242, 0.82) 100%);
}

.hero-copy h1,
.page-hero-card h1,
.section-head h2,
.panel h2,
.panel h3,
.signal-card h3,
.hub-card h3,
.impact-card h3,
.diagram-card h3,
.timeline-card h3,
.cta-banner h2,
.footer-card h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 6vw, 6rem);
  margin-top: 1rem;
}

.page-hero-card h1 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  margin-top: 1rem;
}

.lede {
  margin-top: 1.2rem;
  max-width: 62ch;
  font-size: 1.1rem;
  color: var(--ink);
}

.hero-summary {
  margin-top: 1.25rem;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.45rem;
}

.button,
.button-secondary,
.inline-link,
.resource-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button {
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, #315b88 100%);
  border: 1px solid transparent;
}

.button-secondary,
.inline-link,
.resource-link {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
}

.button-secondary {
  color: var(--ink);
}

.hero-stat-grid {
  margin-top: 1.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
}

.stat-value {
  display: block;
  margin-top: 0.7rem;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.stat-copy {
  margin-top: 0.5rem;
  color: var(--muted);
}

.hero-panel .panel-stack {
  display: grid;
  gap: 1rem;
}

.hero-quote {
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #f6f7fb;
}

.hero-quote h2 {
  margin-top: 0.65rem;
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.hero-quote p {
  margin-top: 0.8rem;
  color: rgba(246, 247, 251, 0.82);
}

.proof-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-band article {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.6);
}

.proof-band strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.proof-band p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.page-hero {
  grid-template-columns: minmax(0, 1fr);
}

.page-hero-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(232, 239, 244, 0.84)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 235, 227, 0.94));
}

.section {
  padding: 0 0 4rem;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 1.4rem;
}

.section-head h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.section-intro {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.rule {
  width: min(14rem, 100%);
  height: 1px;
  background: linear-gradient(90deg, var(--navy), rgba(19, 32, 51, 0));
}

.audience-grid,
.feature-grid,
.jobs-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.panel,
.signal-card,
.hub-card,
.impact-card,
.timeline-card,
.diagram-card,
.footer-card {
  padding: 1.5rem;
}

.panel h2,
.panel h3,
.signal-card h3,
.hub-card h3,
.impact-card h3,
.timeline-card h3,
.diagram-card h3 {
  margin-top: 0.7rem;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.panel p + p,
.signal-card p + p,
.hub-card p + p,
.timeline-card p + p {
  margin-top: 0.9rem;
}

.panel-muted,
.signal-card p,
.hub-card p,
.impact-card p,
.timeline-card p,
.diagram-card p {
  color: var(--muted);
}

.check-list,
.bullet-list {
  margin-top: 1rem;
  padding-left: 1.1rem;
}

.check-list li,
.bullet-list li {
  margin-bottom: 0.6rem;
}

.panel-accent {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(243, 228, 192, 0.6) 100%);
}

.panel-slate {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(223, 232, 241, 0.72) 100%);
}

.diagram-grid {
  grid-template-columns: minmax(0, 1fr);
}

.diagram-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(238, 243, 247, 0.88) 100%);
}

.diagram-shell {
  margin-top: 1.2rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(247, 244, 239, 0.94) 100%);
}

.diagram-rail {
  grid-template-columns: 1.05fr 0.6fr 0.95fr;
  align-items: stretch;
}

.diagram-block,
.diagram-step,
.diagram-node,
.stack-layer,
.ladder-step {
  position: relative;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
}

.diagram-block strong,
.diagram-step strong,
.diagram-node strong {
  display: block;
  margin-top: 0.45rem;
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.diagram-block p,
.diagram-step p,
.diagram-node p {
  margin-top: 0.55rem;
}

.diagram-block-dark,
.stack-layer.is-dark {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #f7f8fb;
}

.diagram-block-dark p,
.stack-layer.is-dark p {
  color: rgba(247, 248, 251, 0.82);
}

.diagram-block-gold,
.ladder-step.is-gold {
  background: linear-gradient(180deg, #fff8eb 0%, var(--gold-soft) 100%);
}

.diagram-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.diagram-step::after,
.ladder-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.85rem;
  width: 1.1rem;
  height: 1px;
  background: var(--line-strong);
}

.diagram-step:last-child::after,
.ladder-step:last-child::after {
  display: none;
}

.stack-diagram,
.launch-ladder {
  margin-top: 1.2rem;
}

.stack-diagram {
  display: grid;
  gap: 0.85rem;
}

.stack-layer {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.9rem;
  align-items: start;
}

.stack-index {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  border-radius: var(--radius-sm);
  background: rgba(19, 32, 51, 0.08);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.stack-layer.is-dark .stack-index {
  background: rgba(255, 255, 255, 0.12);
}

.impact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.impact-card {
  min-height: 13rem;
}

.student-hub-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.student-hub-grid > :nth-child(1),
.student-hub-grid > :nth-child(2) {
  grid-column: span 6;
}

.student-hub-grid > :nth-child(3),
.student-hub-grid > :nth-child(4),
.student-hub-grid > :nth-child(5) {
  grid-column: span 4;
}

.student-hub-grid > :nth-child(6) {
  grid-column: span 12;
}

.timeline-grid {
  margin-top: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(241, 236, 228, 0.9) 100%);
}

.roadmap-term {
  color: var(--teal);
}

.instagram-zone {
  margin-top: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ig-tile {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.78);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.ig-handle {
  color: var(--teal);
}

.ig-tile strong {
  display: block;
  margin-top: 0.5rem;
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.ig-tile p {
  margin-top: 0.4rem;
  color: var(--muted);
}

.resource-panel,
.cta-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #21476e 100%);
  color: #f7f8fb;
}

.resource-panel .eyebrow,
.cta-banner .eyebrow {
  color: var(--gold-soft);
}

.resource-panel .section-intro,
.cta-banner p {
  color: rgba(247, 248, 251, 0.82);
}

.resource-links {
  margin-top: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-link {
  justify-content: flex-start;
  min-height: 4rem;
  color: #f7f8fb;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 2rem;
}

.footer-card {
  background: rgba(255, 255, 255, 0.7);
}

.footer-card h3 {
  margin-top: 0.55rem;
  font-size: 1.35rem;
}

.footer-card p {
  margin-top: 0.65rem;
  color: var(--muted);
}

.fade-in {
  animation: fade-up 700ms ease both;
}

.fade-in[data-delay="2"] {
  animation-delay: 120ms;
}

.fade-in[data-delay="3"] {
  animation-delay: 220ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .section-head.split,
  .section-grid,
  .diagram-rail,
  .resource-links,
  .proof-band,
  .audience-grid,
  .feature-grid,
  .jobs-grid,
  .impact-grid,
  .footer-grid,
  .timeline-grid,
  .instagram-zone,
  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .student-hub-grid {
    grid-template-columns: 1fr;
  }

  .student-hub-grid > :nth-child(1),
  .student-hub-grid > :nth-child(2),
  .student-hub-grid > :nth-child(3),
  .student-hub-grid > :nth-child(4),
  .student-hub-grid > :nth-child(5),
  .student-hub-grid > :nth-child(6) {
    grid-column: auto;
  }

  .diagram-steps {
    grid-template-columns: 1fr;
  }

  .diagram-step::after,
  .ladder-step::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -0.9rem;
    width: 1px;
    height: 1.1rem;
  }
}

@media (max-width: 760px) {
  :root {
    --content: min(1180px, calc(100% - 1rem));
  }

  .masthead {
    padding-top: 0.8rem;
  }

  .preview-bar {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0.18rem;
    padding: 0.08rem 0 0.12rem;
  }

  .preview-switch select {
    width: 100%;
    min-width: 0;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 1.75rem;
  }

  .nav,
  .hero-actions,
  .inline-actions {
    width: 100%;
  }

  .nav a,
  .button,
  .button-secondary,
  .inline-link,
  .resource-link {
    width: 100%;
  }

  .hero-copy,
  .hero-panel,
  .page-hero-card,
  .panel,
  .signal-card,
  .hub-card,
  .impact-card,
  .timeline-card,
  .diagram-card,
  .resource-panel,
  .footer-card,
  .cta-banner,
  .stat-card {
    padding: 1.2rem;
    border-radius: 22px;
  }

  .hero-copy h1,
  .page-hero-card h1,
  .section-head h2 {
    max-width: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .page-hero-card h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .lede,
  .section-intro,
  .hero-summary {
    font-size: 1rem;
  }

  .stack-layer {
    grid-template-columns: 1fr;
  }
}
