:root {
  --night: #050817;
  --night-soft: #090f24;
  --ink: #f5f1e8;
  --muted: #b7bdcf;
  --blue-bright: #4f78e8;
  --warm: #e3b553;
  --line: rgba(245, 241, 232, .16);
  --maxw: 1160px;
  --space-sm: clamp(24px, 3vw, 40px);
  --space-md: clamp(56px, 7vw, 88px);
  --space-lg: clamp(88px, 11vw, 144px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 1rem/1.7 "Sora", system-ui, sans-serif;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 5px;
}
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100%, var(--maxw)); margin-inline: auto; padding-inline: 28px; }
.kicker {
  margin: 0 0 20px;
  color: var(--warm);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .875rem;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .02em;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn::before { content: ""; width: 18px; height: 18px; flex: none; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; }
.btn-primary { background: var(--warm); color: #171105; }
.btn-primary:hover { background: #f2d181; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 82% 29%, rgba(55,111,255,.42), transparent 28%),
    radial-gradient(circle at 50% 8%, rgba(227,181,83,.12), transparent 24%),
    linear-gradient(135deg, #050817 0%, #0a1230 58%, #17368f 100%),
    var(--night);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,8,23,.88), rgba(5,8,23,.18) 72%),
    linear-gradient(0deg, var(--night) 0%, transparent 38%),
    radial-gradient(ellipse at center, transparent 48%, rgba(2,4,14,.72) 100%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: clamp(38px, 6vw, 76px);
  left: 50%;
  width: min(68vw, 760px);
  height: clamp(130px, 20vw, 230px);
  background: radial-gradient(ellipse, rgba(227,181,83,.09), transparent 68%);
  filter: blur(18px);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-portrait {
  position: absolute;
  z-index: 0;
  top: 0;
  right: max(-4vw, calc((100vw - var(--maxw)) / 2 - 180px));
  width: min(58vw, 780px);
  height: auto;
  max-width: none;
  object-fit: contain;
  opacity: .46;
  filter: saturate(.78) contrast(1.06);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 98%);
}
.hero-stage-marks {
  position: absolute;
  z-index: 1;
  top: 19%;
  left: max(26px, calc((100vw - var(--maxw)) / 2 - 34px));
  display: flex;
  align-items: center;
  gap: 7px;
  height: 56px;
  opacity: .36;
  pointer-events: none;
}
.hero-stage-marks::before {
  content: "";
  position: absolute;
  right: calc(100% + 14px);
  width: 42px;
  height: 1px;
  background: rgba(227,181,83,.55);
}
.hero-stage-marks span {
  width: 2px;
  height: var(--mark-height, 18px);
  background: rgba(245,241,232,.58);
}
.hero-stage-marks span:nth-child(1) { --mark-height: 14px; }
.hero-stage-marks span:nth-child(2) { --mark-height: 29px; }
.hero-stage-marks span:nth-child(3) { --mark-height: 48px; background: rgba(227,181,83,.8); }
.hero-stage-marks span:nth-child(4) { --mark-height: 24px; }
.hero-stage-marks span:nth-child(5) { --mark-height: 10px; }
.hero-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 860px);
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(72px, 9vw, 120px);
  text-align: center;
}
.hero h1 {
  margin: 0;
  font: 800 clamp(4rem, 9vw, 6rem)/.82 "Barlow Condensed", sans-serif;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.hero h1 span { color: var(--warm); }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: clamp(36px, 6vw, 56px);
  overflow: hidden;
  border: 1px solid rgba(245,241,232,.35);
  background:
    radial-gradient(circle at 50% 46%, rgba(79,120,232,.24), transparent 28%),
    #070c1e;
  isolation: isolate;
}
.video-frame::before,
.video-frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 38%;
  aspect-ratio: 1;
  border: 1px solid rgba(227,181,83,.2);
  border-radius: 50%;
  pointer-events: none;
}
.video-frame::before { top: -42%; left: -9%; }
.video-frame::after { right: -8%; bottom: -48%; border-color: rgba(79,120,232,.34); }
.video-poster {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 31.65%;
  min-width: 220px;
  background: #101323 url("https://image.mux.com/E01hiUxmn3r01hgNAKlbrtEaQI02uVU39GslF8cVbqsZgA/thumbnail.webp?time=1&width=640") center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(245,241,232,.14);
  transform: translateX(-50%);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.video-side-copy {
  position: absolute;
  top: 50%;
  width: 25%;
  color: rgba(245,241,232,.58);
  font: 600 clamp(.8rem, 1.4vw, 1.05rem)/1.35 "Sora", sans-serif;
  letter-spacing: .02em;
  transform: translateY(-50%);
}
.video-side-copy-left { left: 6%; text-align: right; }
.video-side-copy-right { right: 6%; text-align: left; }
.play-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 24px;
  border: 0;
  color: var(--ink);
  background: linear-gradient(0deg, rgba(5,8,23,.48), transparent 48%);
  cursor: pointer;
  text-align: center;
}
.play-btn {
  position: relative;
  width: 62px;
  height: 62px;
  flex: none;
  border: 1px solid rgba(227,181,83,.9);
  border-radius: 50%;
  background: rgba(5,8,23,.76);
  box-shadow: 0 4px 8px rgba(5,8,23,.34);
  transition: background-color .2s, transform .2s;
}
.play-btn::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 25px;
  border-left: 15px solid var(--warm);
  border-block: 10px solid transparent;
}
.play-wrap:hover .play-btn { background: var(--warm); transform: scale(1.05); }
.play-wrap:hover .play-btn::after { border-left-color: var(--night); }
.play-copy strong, .play-copy span { display: block; }
.play-copy strong { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.play-copy span { margin-top: 3px; color: var(--muted); font-size: .75rem; }
.video-frame.is-playing { background: #000; }
.hero-details {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: center;
  margin: 30px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.hero-details::after {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
}
.event-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink);
  font-style: normal;
  text-align: center;
}
.event-day {
  color: var(--warm);
  font: 800 clamp(3.5rem, 6vw, 4.75rem)/.72 "Barlow Condensed", sans-serif;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.event-date-copy strong,
.event-date-copy small,
.event-place strong,
.event-place span,
.event-place small { display: block; }
.event-date-copy strong {
  font: 700 1.45rem/.9 "Barlow Condensed", sans-serif;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.event-date-copy small,
.event-place small {
  margin-top: 7px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .03em;
}
.event-place {
  padding-inline: clamp(24px, 5vw, 58px);
  text-align: center;
}
.event-place strong {
  font: 700 clamp(1.45rem, 2.5vw, 2rem)/.95 "Barlow Condensed", sans-serif;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.event-place span {
  margin-top: 4px;
  color: var(--warm);
  font: 600 1.15rem/1.1 "Barlow Condensed", sans-serif;
}
.hero .btn {
  margin: 32px auto 0;
}
.hero [data-registration-open],
.program-closing [data-registration-open] {
  display: flex;
  width: fit-content;
}
.program-closing [data-registration-open] { margin-inline: auto; }
/* Manifesto */
.manifesto {
  position: relative;
  overflow: hidden;
  padding: clamp(112px, 15vw, 190px) 0 clamp(104px, 13vw, 168px);
  background: #d9dfeb;
  color: #09132f;
}
.manifesto::after {
  content: "";
  position: absolute;
  right: clamp(-130px, -7vw, -70px);
  bottom: clamp(-180px, -10vw, -110px);
  width: clamp(280px, 34vw, 500px);
  aspect-ratio: 1;
  border: clamp(54px, 7vw, 94px) solid rgba(23, 54, 143, .08);
  border-radius: 50%;
  pointer-events: none;
}
.manifesto-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .72fr);
  gap: clamp(64px, 8vw, 112px);
  align-items: center;
}
.manifesto-heading {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}
.manifesto .kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  color: #17368f;
}
.manifesto .kicker::before {
  content: "";
  width: 48px;
  height: 2px;
  flex: none;
  background: var(--warm);
}
.manifesto h2, .program h2 {
  max-width: 760px;
  margin: 0;
  font: 700 clamp(2.8rem, 5vw, 4.75rem)/.92 "Barlow Condensed", sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.manifesto h2 {
  max-width: 850px;
  font-size: clamp(3.35rem, 6.5vw, 6rem);
  line-height: .88;
}
.manifesto h2 em, .program h2 em {
  display: inline-block;
  color: var(--warm);
  font-size: .72em;
  font-weight: 600;
  text-transform: none;
}
.manifesto h2 em {
  max-width: 12ch;
  margin-top: 18px;
  color: #17368f;
  line-height: 1;
}
.manifesto-copy {
  display: grid;
  gap: 28px;
  max-width: 430px;
  margin-top: 72px;
  padding: 28px 0 8px;
  border-top: 1px solid rgba(9, 19, 47, .24);
}
.manifesto-copy p {
  max-width: 40ch;
  margin: 0;
  color: #3f4961;
}
.manifesto-copy p strong {
  color: #17368f;
  font-weight: 700;
}
.manifesto-copy .lead {
  color: #09132f;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
}

/* Mentor */
.mentor {
  position: relative;
  overflow: hidden;
  background: #10286d;
}
.mentor-portrait {
  position: relative;
  min-height: clamp(420px, 48vw, 680px);
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 42%, rgba(79,120,232,.3), transparent 28%),
    linear-gradient(120deg, #050817 0%, #0b1842 62%, #17368f 100%);
}
.mentor-portrait img {
  position: absolute;
  right: max(4vw, calc((100vw - var(--maxw)) / 2));
  bottom: -8%;
  width: min(54vw, 680px);
  height: auto;
  max-width: none;
  filter: contrast(1.04) saturate(.9);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 54%, transparent 90%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 54%, transparent 90%);
}
.mentor-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,8,23,.98) 0%, rgba(5,8,23,.76) 34%, transparent 66%),
    linear-gradient(0deg, rgba(5,8,23,.72), transparent 35%);
}
.mentor-heading {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.mentor-caption {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.32);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.handwritten {
  margin: 0 0 8px;
  color: #bdd0ff;
  font: italic 600 clamp(1.4rem, 2.5vw, 2rem)/1 "Barlow Condensed", sans-serif;
}
.mentor h2 {
  margin: 0;
  font: 800 clamp(4.5rem, 8vw, 6rem)/.76 "Barlow Condensed", sans-serif;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.mentor-details {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(420px, 1.22fr);
  gap: clamp(56px, 10vw, 136px);
  align-items: center;
  padding-top: clamp(48px, 7vw, 78px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.mentor-role {
  max-width: 36ch;
  margin: 0;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  font-weight: 600;
  line-height: 1.55;
}
.credits {
  padding-left: clamp(32px, 5vw, 64px);
  border-left: 1px solid rgba(255,255,255,.24);
}
.credits span { color: #bed0ff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.label-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(76px, 1fr));
  gap: clamp(20px, 3vw, 38px);
  align-items: center;
  margin-top: 24px;
}
.label-logos img {
  width: 100%;
  height: 42px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: .82;
}
.label-logos img:last-child {
  max-width: 86px;
  justify-self: center;
}

/* Program */
.program {
  --program-index: 1;
  position: relative;
  overflow: clip;
  padding: var(--space-lg) 0;
  background:
    radial-gradient(circle at 18% 42%, rgba(79,120,232,.13), transparent 27%),
    var(--night-soft);
}
.program::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  pointer-events: none;
  background-image: linear-gradient(rgba(245,241,232,.045) 1px, transparent 1px);
  background-size: 100% 72px;
  mask-image: linear-gradient(90deg, #000, transparent 74%);
}
.program-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(440px, 1.18fr);
  gap: clamp(64px, 10vw, 148px);
  align-items: start;
}
.program-stage {
  position: sticky;
  top: clamp(36px, 8vh, 88px);
  min-height: calc(100vh - 120px);
  padding-bottom: 48px;
}
.program-label {
  margin: 0 0 24px;
  color: var(--blue-bright);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.program h2 {
  max-width: 600px;
  margin: 0;
  font: 700 clamp(3.2rem, 6vw, 5.4rem)/.84 "Barlow Condensed", sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.program h2 em {
  display: inline-block;
  margin-top: 10px;
  color: var(--warm);
  font-size: .62em;
  font-weight: 600;
  text-transform: none;
}
.program-intro {
  max-width: 38ch;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1rem;
}
.voice-display {
  position: relative;
  width: min(100%, 410px);
  aspect-ratio: .96;
  margin-top: clamp(42px, 8vh, 76px);
  overflow: visible;
  background: transparent;
}
.voice-display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .52;
  filter: contrast(1.08) saturate(.7) sepia(.08) hue-rotate(178deg);
  mix-blend-mode: luminosity;
  -webkit-mask-image: radial-gradient(ellipse 82% 74% at 50% 48%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 74% at 50% 48%, #000 45%, transparent 100%);
}
.voice-display::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(ellipse 64% 62% at 50% 48%, transparent 34%, var(--night-soft) 100%);
  pointer-events: none;
}
.voice-orbit {
  position: absolute;
  width: 190px;
  aspect-ratio: 1;
  border: 1px solid rgba(79,120,232,.3);
  border-radius: 50%;
  transform: scale(calc(.7 + var(--program-index) * .065));
  opacity: calc(.2 + var(--program-index) * .08);
  transition: transform .65s cubic-bezier(.16,1,.3,1), opacity .45s;
}
.voice-orbit::before,
.voice-orbit::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(227,181,83,.22);
  border-radius: inherit;
}
.voice-orbit::after { inset: 37%; background: rgba(227,181,83,.08); }
.voice-wave {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 110px;
}
.voice-wave i {
  width: 3px;
  height: calc(10px + var(--bar, 1) * 7px);
  max-height: 84px;
  border-radius: 2px;
  background: linear-gradient(var(--warm), var(--blue-bright));
  transform: scaleY(calc(.62 + var(--program-index) * .055));
  opacity: .72;
  transition: transform .55s cubic-bezier(.16,1,.3,1), opacity .3s, filter .3s;
  animation: voicePulse 1.8s ease-in-out infinite alternate;
  animation-delay: calc(var(--delay, 0) * -90ms);
}
.voice-wave i:nth-child(3n+1) { --bar: 2; --delay: 1; }
.voice-wave i:nth-child(4n+2) { --bar: 5; --delay: 2; }
.voice-wave i:nth-child(5n+3) { --bar: 8; --delay: 3; }
.voice-wave i:nth-child(6n+4) { --bar: 4; --delay: 4; }
.voice-wave i:nth-child(7n+5) { --bar: 7; --delay: 5; }
.program-progress {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  gap: 14px;
  align-items: center;
  max-width: 410px;
  margin-top: 20px;
  color: var(--muted);
  font: 700 .75rem/1 "Sora", sans-serif;
  font-variant-numeric: tabular-nums;
}
.program-current { color: var(--warm); }
.program-line { position: relative; height: 1px; overflow: hidden; background: var(--line); }
.program-line i {
  position: absolute;
  inset: 0;
  background: var(--warm);
  transform: scaleX(calc(var(--program-index) / 7));
  transform-origin: left;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.syllabus {
  display: grid;
  gap: 18px;
  padding-top: 12vh;
  padding-bottom: 16vh;
}
.syllabus-item {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 24px;
  min-height: 270px;
  padding: clamp(30px, 5vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(245,241,232,.1);
  background: rgba(5,8,23,.52);
  opacity: .38;
  transform: scale(.965);
  transition:
    opacity .4s,
    transform .55s cubic-bezier(.16,1,.3,1),
    border-color .35s,
    background-color .35s;
}
.syllabus-item::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% 25%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,120,232,.24), transparent 66%);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s, transform .6s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.syllabus-item.is-active,
.syllabus-item:hover,
.syllabus-item:focus-visible {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(227,181,83,.4);
  background: rgba(10,18,48,.86);
}
.syllabus-item.is-active::after,
.syllabus-item:hover::after,
.syllabus-item:focus-visible::after { opacity: 1; transform: none; }
.syllabus-item:focus-visible { outline: 2px solid var(--warm); outline-offset: 4px; }
.syllabus-number {
  position: relative;
  z-index: 1;
  color: var(--blue-bright);
  font: 700 clamp(2.8rem, 5vw, 4.5rem)/.72 "Barlow Condensed", sans-serif;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.syllabus-item > div { position: relative; z-index: 1; }
.syllabus-item small {
  display: block;
  margin-bottom: 16px;
  color: var(--warm);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.syllabus-item h3 {
  margin: 0;
  font: 700 clamp(2rem, 4vw, 3.5rem)/.9 "Barlow Condensed", sans-serif;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.syllabus-item p {
  max-width: 48ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .95rem;
}
.syllabus-item strong {
  display: block;
  margin-top: 22px;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 600;
}
.program-closing {
  position: relative;
  padding: clamp(38px, 6vw, 64px);
  overflow: hidden;
  color: #09132f;
  background: var(--warm);
}
.program-closing::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 230px;
  aspect-ratio: 1;
  border: 42px solid rgba(23,54,143,.12);
  border-radius: 50%;
  pointer-events: none;
}
.program-closing p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #17368f;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.program-closing h3 {
  position: relative;
  z-index: 1;
  margin: 20px 0 32px;
  font: 800 clamp(3rem, 6vw, 5rem)/.82 "Barlow Condensed", sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.program-closing h3 span { color: #17368f; font-size: .58em; }
.program-closing .btn {
  position: relative;
  z-index: 1;
  background: #09132f;
  color: #fff;
}
.program-closing .btn:hover { background: #17368f; }

@keyframes voicePulse {
  from { filter: saturate(.8); opacity: .52; }
  to { filter: saturate(1.25); opacity: .9; }
}

/* Registration */
.registration {
  position: relative;
  overflow: hidden;
  padding: clamp(104px, 13vw, 168px) 0 clamp(72px, 9vw, 112px);
  background: #d9dfeb;
  color: #09132f;
}
.registration::before {
  content: "";
  position: absolute;
  right: clamp(-180px, -9vw, -96px);
  top: clamp(-140px, -7vw, -72px);
  width: clamp(320px, 38vw, 560px);
  aspect-ratio: 1;
  border: clamp(58px, 7vw, 102px) solid rgba(23,54,143,.07);
  border-radius: 50%;
  pointer-events: none;
}
.registration-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(56px, 10vw, 140px);
  align-items: center;
}
.registration h2 {
  max-width: 700px;
  margin: 0;
  font: 700 clamp(3rem, 5.8vw, 5.2rem)/.9 "Barlow Condensed", sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.registration ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  max-width: 700px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}
.registration li { padding: 12px 0; border-bottom: 1px solid rgba(9,19,47,.22); font-size: .875rem; }
.registration-action { padding-left: 36px; border-left: 1px solid rgba(9,19,47,.24); }
.price-label { margin: 0; color: #17368f; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.price-reference {
  margin: 18px 0 0;
  color: #526078;
  font-size: .9rem;
  font-weight: 600;
}
.price-reference s {
  margin-inline: 3px;
  color: #7a4350;
  text-decoration-color: #b63b50;
  text-decoration-thickness: 2px;
}
.price {
  display: flex;
  align-items: baseline;
  margin: 22px 0 24px;
  font: 800 clamp(6rem, 11vw, 9rem)/.65 "Barlow Condensed", sans-serif;
  letter-spacing: -.035em;
}
.price sup { margin-right: 8px; font-size: .22em; letter-spacing: 0; }
.price small { font-size: .28em; }
.price-urgency {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: #17368f;
  font-size: .78rem;
  font-weight: 700;
}
.price-urgency span {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #b63b50;
  box-shadow: 0 0 0 4px rgba(182,59,80,.12);
}
.btn-light { background: #17368f; color: #fff; }
.btn-light:hover { background: #0d255f; }
.registration-action .btn { width: 100%; padding-inline: 20px; }
.mission-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(9,19,47,.2);
  color: #17368f;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.55;
}
.registration-action > small { display: block; max-width: 30ch; margin-top: 14px; color: #526078; font-size: .75rem; }

/* Contact and footer */
.contact-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: var(--space-md);
  align-items: center;
  margin-top: clamp(16px, 3vw, 40px);
  padding-top: clamp(36px, 5vw, 60px);
  border-top: 1px solid rgba(9,19,47,.24);
}
.contact-title { margin: 0; font-size: .9rem; }
.contact-title strong {
  display: block;
  margin-top: 4px;
  color: #17368f;
  font: 700 clamp(1.7rem, 3vw, 2.5rem)/1 "Barlow Condensed", sans-serif;
}
.contact-trigger {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 68px;
  padding: 0 22px;
  border: 0;
  color: #fff;
  background: #17368f;
  cursor: pointer;
  font-size: .875rem;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.15;
  text-align: center;
  transition: background-color .2s, transform .2s;
}
.contact-trigger:hover { background: #0d255f; transform: translateY(-2px); }
.contact-trigger > svg:first-child { width: 28px; height: 28px; flex: none; fill: #fff; }
.contact-trigger span { margin: 0; }
.contact-trigger .contact-trigger-arrow {
  width: 19px;
  height: 19px;
  justify-self: end;
  fill: none;
  stroke: currentColor;
}
.contact-modal {
  width: min(calc(100% - 32px), 560px);
  max-width: none;
  padding: 0;
  border: 0;
  color: #09132f;
  background: transparent;
}
.contact-modal::backdrop {
  background: rgba(5,8,23,.78);
  backdrop-filter: blur(5px);
}
.contact-modal-panel {
  position: relative;
  padding: clamp(32px, 6vw, 52px);
  background: #e6ebf3;
}
.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(9,19,47,.24);
  color: #09132f;
  background: transparent;
  cursor: pointer;
  font: 400 1.75rem/1 "Sora", sans-serif;
}
.contact-modal-close:hover { background: rgba(23,54,143,.08); }
.contact-modal-label {
  margin: 0 0 18px;
  color: #17368f;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-modal h2 {
  max-width: 10ch;
  margin: 0;
  font: 700 clamp(2.4rem, 7vw, 3.8rem)/.9 "Barlow Condensed", sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.contact-modal-copy {
  margin: 20px 0 0;
  color: #526078;
  font-size: .875rem;
}
.contact-options {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid rgba(9,19,47,.22);
}
.contact-options a {
  display: grid;
  grid-template-columns: 34px 1fr 20px;
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(9,19,47,.22);
  text-decoration: none;
  transition: color .2s, padding .2s;
}
.contact-options a:hover { padding-inline: 10px; color: #17368f; }
.contact-options a > svg:first-child { width: 30px; height: 30px; fill: #207d43; }
.contact-options strong,
.contact-options small { display: block; }
.contact-options strong { font-size: 1rem; }
.contact-options small { margin-top: 2px; color: #526078; font-size: .75rem; }
.contact-option-arrow {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
}
body:has(.contact-modal[open]) { overflow: hidden; }
body:has(.registration-modal[open]) { overflow: hidden; }

/* Registration form */
.registration-modal {
  width: min(calc(100% - 32px), 720px);
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  color: #09132f;
  background: transparent;
}
.registration-modal::backdrop {
  background: rgba(5,8,23,.82);
  backdrop-filter: blur(5px);
}
.form-honeypot {
  position: fixed;
  top: -100vh;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.registration-modal-panel {
  position: relative;
  padding: clamp(30px, 6vw, 56px);
  background: #e6ebf3;
}
.registration-modal-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(9,19,47,.24);
  color: #09132f;
  background: transparent;
  cursor: pointer;
  font: 400 1.75rem/1 "Sora", sans-serif;
}
.registration-modal-close:hover { background: rgba(23,54,143,.08); }
.form-heading > p {
  margin: 0 0 14px;
  color: #17368f;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.form-heading h2 {
  margin: 0;
  font: 800 clamp(3rem, 8vw, 4.8rem)/.86 "Barlow Condensed", sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.form-intro {
  max-width: 46ch;
  margin: 22px 0 0;
  color: #5a657b;
  font-size: .86rem;
}
.form-step {
  display: grid;
  gap: 28px;
  padding-top: 30px;
  border-top: 1px solid rgba(9,19,47,.2);
  margin-top: 30px;
}
.form-field {
  display: grid;
  gap: 9px;
}
.form-field > label,
.form-field legend {
  color: #09132f;
  font-size: .82rem;
  font-weight: 700;
}
.form-field input[type="text"],
.form-field input[type="tel"] {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid rgba(9,19,47,.28);
  border-radius: 0;
  color: #09132f;
  background: rgba(255,255,255,.62);
  font: 500 1rem/1 "Sora", sans-serif;
}
.form-field input:focus {
  border-color: #17368f;
  outline: 2px solid rgba(23,54,143,.18);
  outline-offset: 2px;
}
.form-field > small {
  color: #5a657b;
  font-size: .7rem;
}
.form-options {
  margin: 0;
  padding: 0;
  border: 0;
}
.form-options legend { margin-bottom: 4px; }
.form-options > label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 13px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(9,19,47,.16);
  cursor: pointer;
}
.form-options input { margin: 4px 0 0; accent-color: #17368f; }
.form-options strong,
.form-options small { display: block; }
.form-options small { margin-top: 2px; color: #5a657b; font-size: .72rem; font-weight: 400; }
.form-submit { width: 100%; }
.payment-summary {
  padding: 26px;
  color: #fff;
  background: #17368f;
}
.payment-summary p,
.payment-summary strong,
.payment-summary span { display: block; }
.payment-summary p { margin: 0; color: #c8d6ff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.payment-summary strong { margin-top: 12px; font: 800 4rem/.8 "Barlow Condensed", sans-serif; }
.payment-summary span { max-width: 48ch; margin-top: 20px; font-size: .78rem; line-height: 1.55; }
.form-payment-note { margin-top: 4px; }
.form-status { min-height: 1.4em; margin: -12px 0 0; color: #a1263c; font-size: .76rem; font-weight: 600; }
.foot { position: relative; overflow: hidden; padding: var(--space-md) 0; background: var(--night); }
.foot-label { margin: 0 0 18px; color: var(--warm); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.foot-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-md); }
.venue { margin: 0; font: 700 clamp(2.8rem, 5vw, 4.5rem)/.86 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.venue span { color: var(--warm); }
address { margin-top: 22px; color: var(--muted); font-style: normal; font-size: .875rem; }
.venue-map {
  position: relative;
  align-self: center;
  overflow: hidden;
  min-height: 330px;
  border: 1px solid rgba(245,241,232,.18);
  background: #0a1022;
}
.venue-map::before {
  content: "Como chegar";
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 9px 12px;
  color: var(--ink);
  background: rgba(5,8,23,.9);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  pointer-events: none;
}
.venue-map::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(5,8,23,.72), transparent);
  pointer-events: none;
}
.venue-map iframe {
  display: block;
  width: 100%;
  height: 330px;
  border: 0;
  filter: grayscale(.55) saturate(.7) contrast(1.08);
}
.venue-map a {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 18px 1fr 18px;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 20px;
  color: var(--night);
  background: var(--warm);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(5,8,23,.28);
}
.venue-map a::before {
  content: "";
  width: 18px;
  height: 18px;
}
.venue-map a:hover { background: #f2d181; }
.venue-map svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}
.organization {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
}
.organization b { display: block; color: var(--ink); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.realization {
  display: grid;
  gap: 18px;
  justify-items: center;
}
.realization-logos {
  display: flex;
  gap: 28px;
  align-items: center;
}
.realization-logos img {
  width: auto;
  height: 76px;
  object-fit: contain;
}
.realization-logos img:first-child { height: 88px; }

@keyframes revealUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
[data-reveal] { animation: revealUp .7s cubic-bezier(.22,.61,.36,1) both; }

@media (max-width: 900px) {
  .manifesto-grid, .registration-grid { grid-template-columns: 1fr; }
  .manifesto-grid { gap: 64px; }
  .manifesto-copy { max-width: 620px; }
  .mentor-details { grid-template-columns: minmax(220px, .7fr) minmax(360px, 1.3fr); gap: 42px; }
  .credits { padding-left: 36px; }
  .program-layout { grid-template-columns: minmax(270px, .75fr) minmax(380px, 1.25fr); gap: 44px; }
  .registration-action { max-width: 430px; padding: 32px 0 0; border-top: 1px solid rgba(9,19,47,.24); border-left: 0; }
}

@media (max-width: 720px) {
  .wrap { padding-inline: 20px; }
  .hero { min-height: auto; }
  .hero::after,
  .hero-stage-marks { display: none; }
  .hero {
    background:
      radial-gradient(circle at 76% 18%, rgba(79,120,232,.28), transparent 34%),
      linear-gradient(135deg, #050817 0%, #0a1230 58%, #17368f 100%),
      var(--night);
  }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(5,8,23,.88), rgba(5,8,23,.18) 72%),
      linear-gradient(0deg, var(--night) 0%, transparent 38%);
  }
  .hero-portrait {
    top: 10px;
    right: auto;
    left: 50%;
    width: min(128vw, 500px);
    height: auto;
    transform: translateX(-50%);
    opacity: .28;
  }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 5rem); }
  .video-frame {
    width: min(100%, 430px);
    aspect-ratio: 9 / 16;
    margin: 34px auto 0;
  }
  .video-poster { width: 100%; min-width: 0; }
  .video-side-copy { display: none; }
  .play-wrap {
    align-items: flex-end;
    justify-content: flex-start;
    padding: 22px;
    text-align: left;
  }
  .hero-details { grid-template-columns: .75fr 1.25fr; gap: 18px; }
  .hero-details::after { display: none; }
  .event-day { font-size: 3.5rem; }
  .event-date {
    justify-content: center;
    gap: 10px;
    text-align: center;
  }
  .event-date-copy strong { font-size: 1.2rem; }
  .event-place {
    padding-left: 18px;
    border-left: 1px solid var(--line);
    text-align: center;
  }
  .event-place strong { font-size: 1.25rem; }
  .event-place span { font-size: 1rem; }
  .hero .btn { width: 100%; }
  .manifesto {
    padding-block: 88px 96px;
    text-align: center;
  }
  .manifesto-grid {
    gap: 52px;
    text-align: center;
  }
  .manifesto-heading,
  .manifesto-copy {
    justify-items: center;
    width: 100%;
    text-align: center;
  }
  .manifesto-copy { margin-top: 0; }
  .manifesto .kicker {
    display: none;
  }
  .manifesto h2 {
    width: 100%;
    margin-inline: auto;
    font-size: clamp(3.25rem, 15.5vw, 4.6rem);
  }
  .manifesto h2 em { margin-top: 14px; }
  .manifesto-copy {
    gap: 22px;
    padding-top: 28px;
  }
  .manifesto-copy p {
    margin-inline: auto;
    text-align: center;
  }
  .manifesto::after {
    right: -150px;
    bottom: -150px;
  }
  .mentor-portrait { min-height: 520px; }
  .mentor-portrait img {
    right: -17%;
    bottom: -2%;
    width: min(104vw, 520px);
  }
  .mentor-portrait::after {
    background:
      linear-gradient(90deg, rgba(5,8,23,.92), rgba(5,8,23,.26) 88%),
      linear-gradient(0deg, rgba(5,8,23,.84), transparent 50%);
  }
  .mentor-heading {
    align-items: flex-start;
    text-align: left;
  }
  .mentor-caption { margin-inline: 0; }
  .mentor h2 { font-size: clamp(4.3rem, 22vw, 5.5rem); }
  .mentor-details { display: block; padding-block: 48px 64px; }
  .mentor-role {
    margin-inline: auto;
    text-align: center;
  }
  .credits { margin-top: 38px; padding: 30px 0 0; border-top: 1px solid rgba(255,255,255,.24); border-left: 0; }
  .credits > span { display: block; text-align: center; }
  .label-logos { grid-template-columns: repeat(2, 1fr); gap: 28px 36px; }
  .label-logos img { height: 46px; }
  .program { padding-block: 76px; }
  .program-layout { display: block; }
  .program-stage {
    position: relative;
    top: auto;
    min-height: 0;
    padding-bottom: 52px;
    text-align: center;
  }
  .program-label,
  .program-intro { margin-inline: auto; }
  .program h2 { font-size: clamp(3.35rem, 16vw, 4.8rem); }
  .voice-display {
    width: 100%;
    aspect-ratio: 1.35;
    margin: 40px auto 0;
  }
  .voice-display img { object-position: center 38%; }
  .program-progress { margin-inline: auto; }
  .syllabus {
    display: block;
    padding: 0;
  }
  .syllabus-item {
    position: sticky;
    top: 16px;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    min-height: 0;
    margin-bottom: 7vh;
    padding: 28px 22px;
    background: #0a1230;
    opacity: var(--stack-opacity, 1);
    visibility: var(--stack-visibility, visible);
    transform: none;
    transition: border-color .2s, background-color .2s;
  }
  .syllabus-item:nth-child(1) { z-index: 1; }
  .syllabus-item:nth-child(2) { z-index: 2; }
  .syllabus-item:nth-child(3) { z-index: 3; }
  .syllabus-item:nth-child(4) { z-index: 4; }
  .syllabus-item:nth-child(5) { z-index: 5; }
  .syllabus-item:nth-child(6) { z-index: 6; }
  .syllabus-item:nth-child(7) { z-index: 7; }
  .syllabus-item.is-active {
    border-color: rgba(227,181,83,.4);
    background: #0a1230;
    transform: none;
  }
  .syllabus-item:not(.is-active) {
    border-color: rgba(245,241,232,.1);
  }
  .syllabus-item:nth-child(7) { margin-bottom: 7vh; }
  .syllabus-number { font-size: 2.8rem; }
  .syllabus-item h3 { font-size: 2rem; }
  .syllabus-item p { margin-top: 12px; }
  .syllabus-item strong { margin-top: 16px; }
  .program-closing {
    position: sticky;
    z-index: 8;
    top: 16px;
    margin-top: 0;
    text-align: center;
  }
  .program-closing .btn { width: 100%; }
  .registration { text-align: center; }
  .registration h2 { margin-inline: auto; }
  .registration ul { grid-template-columns: 1fr; }
  .registration li { text-align: left; }
  .registration-action {
    max-width: none;
    text-align: center;
  }
  .price-urgency { justify-content: center; }
  .price { justify-content: center; }
  .registration-action .btn { width: min(100%, 350px); }
  .registration-action > small { margin-inline: auto; }
  .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 22px; margin-top: 18px; text-align: center; }
  .contact-trigger { width: min(100%, 390px); margin-inline: auto; }
  .registration-modal {
    width: 100%;
    max-height: 100dvh;
    margin: auto 0 0;
  }
  .registration-modal-panel { min-height: 100dvh; padding: 68px 20px 34px; }
  .foot { text-align: center; }
  .venue-map {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    text-align: left;
  }
  .venue-map,
  .venue-map iframe { min-height: 310px; height: 310px; }
  .venue-map a {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }
  .organization {
    display: grid;
    grid-column: auto;
    gap: 36px;
    justify-items: center;
  }
  .realization { justify-items: center; }
  .realization-logos { gap: 24px; }
  .realization-logos img { height: 68px; }
  .realization-logos img:first-child { height: 80px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 3.45rem; }
  .play-copy strong { font-size: .7rem; }
  .hero-details { grid-template-columns: 1fr; }
  .event-place { padding: 18px 0 0; border-top: 1px solid var(--line); border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .voice-wave i { animation: none; }
  .syllabus-item {
    position: relative;
    top: auto;
    margin-bottom: 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .program-closing {
    position: relative;
    top: auto;
  }
}
