:root {
  color-scheme: dark;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  background: #101011;
  color: #f5f4f3;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
:focus-visible { outline: 2px solid #eee; outline-offset: 4px; }

.site-header { border-bottom: 1px solid #262628; }
.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 72px;
  max-width: 1520px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
}
.brand { grid-column: 2; display: block; }
.brand img { display: block; width: clamp(112px, 11vw, 147px); height: auto; }
.desktop-nav, .mobile-nav { grid-column: 3; justify-self: end; }
.student-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding-inline: 19px;
  white-space: nowrap;
  border: 1px solid #454548;
  border-radius: 999px;
  font-size: .82rem;
  transition: background-color .2s ease, border-color .2s ease;
}
.student-link:hover { background: #232325; border-color: #67676a; }
.mobile-nav { display: none; }
.mobile-nav summary {
  list-style: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.menu-glyph { position: relative; width: 19px; height: 14px; }
.menu-glyph::before, .menu-glyph::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
}
.menu-glyph::before { transform: translateY(-4px); }
.menu-glyph::after { transform: translateY(3px); }
.mobile-nav[open] .menu-glyph::before { transform: rotate(45deg); }
.mobile-nav[open] .menu-glyph::after { transform: rotate(-45deg); }
.mobile-nav nav {
  position: absolute;
  top: calc(100% - 2px);
  right: 16px;
  z-index: 2;
  padding: 8px;
  border: 1px solid #343436;
  border-radius: 24px;
  background: #19191b;
  box-shadow: 0 12px 30px #0008;
}
.mobile-nav .student-link { border-color: transparent; }

.hero {
  padding-block: clamp(47px, 7.25vw, 99px) clamp(44px, 7vw, 89px);
  text-align: center;
}
.hero h1 {
  margin: 0 auto;
  padding-inline: 18px;
  text-wrap: balance;
  font-size: clamp(2.125rem, 4.9vw, 4.625rem);
  line-height: .98;
  letter-spacing: -.076em;
  font-weight: 500;
}
.hero h1 span { display: block; color: #dddcdc; }
.reel {
  position: relative;
  width: 100%;
  height: clamp(210px, 26vw, 405px);
  margin-block: clamp(14px, 2.4vw, 32px) clamp(8px, 1.3vw, 20px);
  overflow: hidden;
  isolation: isolate;
  pointer-events: none;
}
.reel-mask {
  position: absolute;
  inset: 0;
}
.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #101011, #10101100 11%, #10101100 89%, #101011);
}
.reel-orbit { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.reel.is-ready .reel-orbit { display: block; }
.reel.is-ready .reel-still { display: none; }
.reel-still {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 14px);
}
.reel-still img {
  flex-shrink: 0;
  width: clamp(155px, 30vw, 385px);
  height: auto;
  border-radius: 14px;
}
.reel-still img:first-child { transform: perspective(850px) rotateY(17deg) scale(1.03); }
.reel-still img:last-child { transform: perspective(850px) rotateY(-17deg) scale(1.03); }
.hero-caption {
  width: min(100% - 40px, 420px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-caption p {
  margin: 0;
  color: #aaa9ad;
  font-size: clamp(.9rem, 1.25vw, 1.0625rem);
  line-height: 1.55;
  text-wrap: balance;
}
@media (max-width: 700px) {
  .header-inner { min-height: 60px; padding-inline: 14px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero { padding-top: clamp(62px, 15vw, 92px); }
  .hero h1 {
    max-width: 560px;
    font-size: clamp(1.83rem, 7.9vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -.069em;
  }
  .reel { height: clamp(190px, 54vw, 283px); margin-block: 18px 14px; }
  .reel::after { background: linear-gradient(90deg, #101011, #10101100 12%, #10101100 88%, #101011); }
  .reel-still img { width: 55vw; border-radius: 10px; }
  .hero-caption { max-width: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  .student-link { transition: none; }
}
