:root {
  --bg: #11100f;
  --bg-soft: #171614;
  --paper: #f8f1e5;
  --text: #f7f0e8;
  --muted: #c7bfb6;
  --line: #2d2a26;
  --accent: #ff6a3d;
  --accent-2: #ffb13d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(#2a2824 0.55px, transparent 0.55px),
    var(--bg);
  background-size: 18px 18px;
  line-height: 1.6;
  min-height: 100vh;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.13;
  background-image: radial-gradient(#fff 0.4px, transparent 0.4px);
  background-size: 4px 4px;
}

.section {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 4rem 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  position: relative;
  z-index: 2;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.nav-link {
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 0.55rem 0.9rem;
  border-radius: 100px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.nav-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.hero {
  position: relative;
  min-height: 88svh;
  padding-top: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 220px;
  pointer-events: none;
  background:
    radial-gradient(#2a2824 0.55px, transparent 0.55px),
    linear-gradient(0deg, var(--bg) 12%, rgba(17, 16, 15, 0.9) 36%, rgba(17, 16, 15, 0));
  background-size: 18px 18px, auto;
  z-index: 1;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.88), rgba(17, 16, 15, 0.5) 46%, rgba(17, 16, 15, 0.2)),
    linear-gradient(0deg, rgba(17, 16, 15, 1), rgba(17, 16, 15, 0) 38%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 88svh;
  padding-top: 0;
  padding-bottom: 2rem;
}

.hero-layout {
  display: grid;
  min-height: calc(88svh - 5.5rem);
  align-items: center;
}

.hero-content {
  max-width: 660px;
  padding: 5rem 0 4rem;
  animation: reveal 650ms ease both;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.14;
  margin: 0 0 0.8rem;
}

h1 {
  max-width: 14ch;
  font-size: 4.7rem;
}

.hero-copy {
  max-width: 60ch;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.cta {
  display: inline-block;
  text-decoration: none;
  color: #13110f;
  background: linear-gradient(92deg, var(--accent), var(--accent-2));
  padding: 0.95rem 1.2rem;
  border-radius: 8px;
  font-weight: 800;
}

.curriculum {
  display: grid;
  gap: 1.35rem;
  padding-top: 5rem;
}

.curriculum > h2 {
  font-size: 3rem;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem 1.1rem;
  backdrop-filter: blur(1.8px);
}

.module {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 1.5rem;
  align-items: center;
  overflow: hidden;
  padding: 1.6rem;
}

.module-number {
  position: absolute;
  top: -0.55rem;
  right: 1rem;
  color: rgba(255, 255, 255, 0.06);
  font-family: "Space Grotesk", sans-serif;
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  z-index: 0;
}

.module-copy,
.module-carousel {
  position: relative;
  z-index: 1;
}

.module h3 {
  font-size: 2.7rem;
  max-width: 12ch;
}

.module-carousel {
  overflow: hidden;
  min-height: 330px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0b0a09;
}

.module-track {
  position: absolute;
  inset: 0;
}

.module-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 340ms ease;
}

.module-slide.is-active {
  opacity: 1;
}

.module-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.module-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.module-carousel-btn.prev {
  left: 0.75rem;
}

.module-carousel-btn.next {
  right: 0.75rem;
}

.module-dots {
  position: absolute;
  left: 50%;
  bottom: 0.8rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.42rem;
  z-index: 2;
}

.module-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.module-dot.is-active {
  background: var(--accent-2);
}

.phase {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent-2);
  margin-bottom: 0.35rem;
}

ul {
  padding-left: 1rem;
  margin-top: 0.4rem;
}

li {
  margin-bottom: 0.4rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.soft {
  background: var(--bg-soft);
}

.no {
  border-color: #543833;
}

.apply-panel {
  background: var(--paper);
  color: #171410;
  border-radius: 8px;
  padding: clamp(1.1rem, 4vw, 2rem);
}

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

.signup input[type="text"],
.signup input[type="email"] {
  flex: 1 1 220px;
  border: 1px solid #9e9388;
  border-radius: 8px;
  padding: 0.85rem 0.9rem;
  font: inherit;
}

.signup button {
  border: 0;
  border-radius: 8px;
  padding: 0.87rem 1rem;
  font: inherit;
  font-weight: 700;
  background: #11100f;
  color: var(--paper);
  cursor: pointer;
}

.hidden-field {
  position: absolute;
  left: -5000px;
}

.mailchimp-note {
  font-size: 0.88rem;
  color: #5f5447;
  margin-top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 830px) {
  .hero,
  .hero-inner {
    min-height: 78svh;
  }

  .hero-layout {
    min-height: calc(78svh - 5rem);
  }

  .hero-content {
    padding: 3.2rem 0 2.4rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(17, 16, 15, 0.84), rgba(17, 16, 15, 0.48)),
      linear-gradient(0deg, rgba(17, 16, 15, 1), rgba(17, 16, 15, 0) 42%);
  }

  h1 {
    font-size: 3.1rem;
  }

  .curriculum > h2 {
    font-size: 2.2rem;
  }

  .module {
    grid-template-columns: 1fr;
    padding: 1.1rem;
  }

  .module h3 {
    font-size: 2.05rem;
  }

  .module-number {
    font-size: 5.6rem;
    right: 0.7rem;
  }

  .module-carousel {
    min-height: 260px;
  }

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

  .section {
    padding: 3.1rem 0;
  }
}
