:root {
  --paper: #fbf7ef;
  --paper-warm: #efe3d1;
  --ink: #101825;
  --muted: #59626f;
  --navy: #0f355d;
  --blue: #2769a6;
  --gold: #b48731;
  --sage: #5e7d75;
  --coral: #c86444;
  --line: rgba(16, 24, 37, 0.18);
  --shadow: 0 22px 70px rgba(7, 18, 35, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Public Sans", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(15, 53, 93, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 53, 93, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #fffaf2 0%, #efe3d1 48%, #12243b 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.site-header {
  position: fixed;
  top: 0.7rem;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100% - 1rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(16, 24, 37, 0.2);
  background: rgba(251, 247, 239, 0.86);
  box-shadow: 0 12px 36px rgba(7, 18, 35, 0.1);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  min-width: 2.65rem;
  min-height: 2.15rem;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: "Space Grotesk", Arial, sans-serif;
  letter-spacing: 0.08em;
}

.site-header nav a {
  padding: 0.5rem 0.65rem;
  color: #2f3c4b;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-panel {
  position: relative;
  min-height: 118vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 7rem 5vw 8rem;
}

.scroll-stage,
.hero-stage > * {
  position: absolute;
  inset: 0;
}

.scroll-stage {
  overflow: hidden;
  background: linear-gradient(180deg, #d8ebf0 0%, #f8edd9 55%, #e7ceb0 100%);
}

.wash-layer {
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 255, 255, 0.9), transparent 14rem),
    linear-gradient(180deg, rgba(67, 127, 158, 0.24), transparent 72%);
}

.disc-layer {
  inset: 12% auto auto 66%;
  width: clamp(8rem, 17vw, 17rem);
  height: clamp(8rem, 17vw, 17rem);
  border-radius: 50%;
  background: #f8d785;
  box-shadow: 0 0 0 2rem rgba(248, 215, 133, 0.18);
}

.ridge {
  top: auto;
  height: 54%;
  clip-path: polygon(0 64%, 12% 45%, 25% 58%, 37% 30%, 50% 54%, 62% 22%, 78% 52%, 90% 34%, 100% 58%, 100% 100%, 0 100%);
}

.ridge-back {
  background: #88a9b4;
  opacity: 0.76;
}

.ridge-mid {
  height: 45%;
  background: #375e68;
  clip-path: polygon(0 70%, 10% 55%, 22% 66%, 34% 42%, 48% 68%, 60% 38%, 74% 63%, 88% 45%, 100% 68%, 100% 100%, 0 100%);
}

.campus-strip {
  top: auto;
  bottom: 16%;
  height: 22%;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: clamp(0.35rem, 1.2vw, 1rem);
}

.campus-strip span {
  width: clamp(3rem, 7vw, 7rem);
  background: #f8f1df;
  border: 2px solid rgba(16, 24, 37, 0.34);
  box-shadow: 0 18px 0 rgba(15, 53, 93, 0.18) inset;
}

.campus-strip span:nth-child(1),
.campus-strip span:nth-child(5) {
  height: 45%;
}

.campus-strip span:nth-child(2),
.campus-strip span:nth-child(4) {
  height: 72%;
}

.campus-strip span:nth-child(3) {
  height: 95%;
  background: #fff8e8;
}

.path-ribbon {
  top: auto;
  bottom: 13%;
  height: 12%;
  background: var(--gold);
  clip-path: polygon(0 64%, 18% 38%, 33% 56%, 50% 30%, 69% 58%, 86% 34%, 100% 55%, 100% 100%, 0 100%);
}

.students {
  top: auto;
  bottom: 12%;
  height: 20%;
}

.student {
  position: absolute;
  bottom: 0;
  width: clamp(2rem, 4vw, 4rem);
  height: clamp(5rem, 9vw, 8rem);
  border-radius: 999px 999px 0 0;
  background: var(--navy);
}

.student::before {
  content: "";
  position: absolute;
  top: -1.7rem;
  left: 50%;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: #d99b72;
  transform: translateX(-50%);
}

.student-one {
  left: 18%;
  background: var(--coral);
}

.student-two {
  left: 46%;
  background: var(--navy);
}

.student-three {
  left: 72%;
  background: var(--sage);
}

.foreground {
  top: auto;
  height: 18%;
  background: #172d38;
  clip-path: polygon(0 34%, 12% 20%, 28% 34%, 44% 18%, 58% 32%, 76% 22%, 100% 36%, 100% 100%, 0 100%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(780px, 100%);
  color: #fff;
  text-shadow: 0 1px 24px rgba(7, 18, 35, 0.45);
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Space Grotesk", Arial, sans-serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  margin-top: 0.7rem;
  font-size: clamp(3.1rem, 8.5vw, 7.7rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.hero-copy p:last-child,
.pin-copy p:last-child,
.launch-section p {
  max-width: 42rem;
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.story-intro,
.pinned-section,
.proof-section,
.launch-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.story-intro {
  display: grid;
  gap: 1rem;
  padding: 4rem 0 6rem;
}

.story-intro p {
  color: var(--navy);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.story-intro div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.story-intro span {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.pinned-section {
  min-height: 150vh;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: 3rem;
  align-items: start;
  padding: 6rem 0;
}

.pin-copy,
.pin-stage {
  position: sticky;
  top: 7rem;
}

.pin-copy {
  display: grid;
  gap: 1rem;
}

.pin-copy p:last-child {
  color: var(--muted);
  text-shadow: none;
}

.pin-stage {
  display: grid;
  gap: 1rem;
  padding-left: 1.5rem;
}

.progress-track {
  position: absolute;
  top: 0.3rem;
  bottom: 0.3rem;
  left: 0;
  width: 4px;
  background: rgba(15, 53, 93, 0.14);
}

.progress-track span {
  display: block;
  width: 100%;
  height: calc(var(--path-progress, 0) * 100%);
  background: var(--navy);
}

.checkpoint {
  min-height: 8.5rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  opacity: 0.56;
  transform: translateX(0);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.checkpoint.is-active {
  background: #fffaf2;
  opacity: 1;
  transform: translateX(0.45rem);
  box-shadow: var(--shadow);
}

.checkpoint-index {
  color: var(--gold);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
}

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

.scrolly {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.7fr);
  gap: 3rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6rem 0;
}

.scrolly-visual {
  position: sticky;
  top: 7rem;
  height: min(70vh, 680px);
}

.diagram-scene {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 2px solid rgba(16, 24, 37, 0.82);
  background:
    radial-gradient(circle at 70% 24%, rgba(180, 135, 49, 0.2), transparent 16rem),
    linear-gradient(145deg, #fdf8ef, #d9e5e9);
  box-shadow: var(--shadow);
}

.diagram-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 53, 93, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 53, 93, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
}

.orbit {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(15, 53, 93, 0.18);
  border-radius: 50%;
  transform: scale(var(--diagram-scale, 1));
}

.orbit-one {
  left: 8%;
  top: 18%;
}

.orbit-two {
  right: 8%;
  bottom: 10%;
  border-color: rgba(180, 135, 49, 0.34);
}

.tile {
  position: absolute;
  display: grid;
  min-width: 8rem;
  min-height: 4.4rem;
  place-items: center;
  border: 2px solid rgba(16, 24, 37, 0.82);
  background: #fffaf2;
  color: var(--navy);
  font-weight: 800;
  box-shadow: 10px 10px 0 rgba(15, 53, 93, 0.12);
  transform: translateY(calc(var(--panel-progress, 0) * -16px));
}

.tile-program {
  left: 7%;
  bottom: 14%;
}

.tile-work {
  left: 31%;
  top: 44%;
  background: #f1d59e;
}

.tile-network {
  right: 26%;
  top: 23%;
  background: #d9e9e5;
}

.tile-career {
  right: 8%;
  top: 35%;
  background: #f2d3c7;
}

.route-line {
  position: absolute;
  inset: 8% 7%;
  width: 86%;
  height: 84%;
  fill: none;
  stroke: var(--navy);
  stroke-dasharray: 660;
  stroke-dashoffset: calc(660 - (var(--panel-progress, 0) * 660));
  stroke-linecap: round;
  stroke-width: 9;
}

.scrolly-copy {
  display: grid;
  gap: 60vh;
  padding: 5rem 0 20vh;
}

.scrolly-copy article {
  min-height: 42vh;
  display: grid;
  align-content: center;
  gap: 1rem;
}

.scrolly-copy p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.proof-section {
  display: grid;
  gap: 2rem;
  padding: 6rem 0;
}

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

.proof-grid article {
  min-height: 16rem;
  display: grid;
  align-content: end;
  padding: 1rem;
  border: 1px solid rgba(16, 24, 37, 0.82);
  background: #fffaf2;
  box-shadow: 0 14px 0 rgba(15, 53, 93, 0.08);
}

.proof-grid span {
  color: var(--gold);
  font-weight: 800;
}

.launch-section {
  min-height: 95vh;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  padding: 6rem 0;
  color: #fff;
}

.launch-art {
  position: relative;
  min-height: 30rem;
}

.launch-art span {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 250, 242, 0.12);
  box-shadow: 18px 18px 0 rgba(180, 135, 49, 0.22);
}

.launch-art span:nth-child(1) {
  inset: 10% 18% 18% 8%;
}

.launch-art span:nth-child(2) {
  inset: 24% 6% 8% 32%;
  background: rgba(120, 157, 148, 0.2);
}

.launch-art span:nth-child(3) {
  inset: 0 36% 44% 24%;
  background: rgba(200, 100, 68, 0.2);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: 1.4rem;
  padding: 0 1.1rem;
  background: #fffaf2;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .site-header nav {
    display: none;
  }

  .hero-panel {
    min-height: 110vh;
    padding-inline: 1rem;
  }

  .pinned-section,
  .scrolly,
  .launch-section {
    grid-template-columns: 1fr;
  }

  .pin-copy,
  .pin-stage,
  .scrolly-visual {
    position: relative;
    top: auto;
  }

  .scrolly-copy {
    gap: 4rem;
    padding-top: 0;
  }

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

  .launch-section {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
