:root {
  --ink: #170b13;
  --text: #fffafb;
  --muted: #705b66;
  --paper: #fff7f0;
  --cream: #fffdf8;
  --rose: #e91e63;
  --coral: #ff6f61;
  --teal: #0f8b8d;
  --gold: #f5b942;
  --plum: #511d4d;
  --line: rgba(23, 11, 19, .12);
  --shadow: 0 24px 70px rgba(36, 16, 34, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(15, 139, 141, .08), transparent 34%),
    linear-gradient(240deg, rgba(233, 30, 99, .08), transparent 36%),
    var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 40;
  width: min(1180px, calc(100% - 28px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  background: rgba(23, 11, 19, .54);
  color: var(--text);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.topbar.scrolled {
  background: rgba(23, 11, 19, .88);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .28);
}

.brand {
  display: grid;
  gap: 0;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}

.brand span {
  font-family: Oswald, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.brand small {
  color: rgba(255, 255, 255, .68);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.topbar nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.topbar nav a,
.nav-cta {
  border-radius: 999px;
  color: var(--text);
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.topbar nav a {
  padding: 8px 12px;
}

.topbar nav a:hover,
.topbar nav a.active {
  background: rgba(255, 255, 255, .16);
}

.nav-cta {
  padding: 10px 16px;
  background: var(--text);
  color: var(--ink);
}

.nav-cta:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 130px max(24px, calc((100vw - 1180px) / 2)) 44px;
  isolation: isolate;
  overflow: hidden;
  color: var(--text);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  background:
    linear-gradient(95deg, rgba(11, 7, 13, .82) 0%, rgba(27, 10, 27, .58) 48%, rgba(15, 139, 141, .18) 100%),
    linear-gradient(0deg, rgba(11, 7, 13, .86), transparent 42%);
}

.hero::after {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 253, 248, .96) 100%);
  top: auto;
  height: 140px;
  z-index: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #100a12;
}

.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media video {
  opacity: .46;
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(850px, 100%);
  padding-bottom: 38px;
  animation: heroIn .8s ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9ff4ef;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: .98;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: Oswald, Impact, sans-serif;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.2rem, 9.6vw, 7.8rem);
}

h2 {
  font-size: clamp(2.25rem, 5.3vw, 5rem);
}

h3 {
  font-size: 1.1rem;
}

.hero-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 250, 251, .88);
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  font-weight: 700;
}

.hero-actions,
.contact-actions,
.planning-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--coral));
  color: #fff;
  box-shadow: 0 16px 36px rgba(233, 30, 99, .32);
}

.btn-secondary {
  border: 1px solid rgba(23, 11, 19, .18);
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
}

.hero .btn-secondary {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .15);
  color: #fff;
  backdrop-filter: blur(12px);
}

.btn-light,
.btn-download {
  background: #fff;
  color: var(--plum);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 250, 251, .88);
  font-size: .92rem;
  backdrop-filter: blur(10px);
}

.hero-proof strong {
  color: #fff;
}

.scroll-cue {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 54px;
  z-index: 2;
  width: 42px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 999px;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  animation: cue 1.7s ease-in-out infinite;
}

.section {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
  transition: opacity .55s ease, transform .55s ease;
}

.reveal-ready .section {
  opacity: 0;
  transform: translateY(28px);
}

.section.is-visible {
  opacity: 1;
  transform: none;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: -18px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.metric {
  min-height: 146px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 28px;
  background: #fff;
}

.metric strong {
  color: var(--rose);
  font-family: Oswald, sans-serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(340px, .86fr) minmax(0, 1fr);
}

.split.reverse > :first-child {
  order: 2;
}

.split p,
.section-heading p,
.event-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.course-grid article {
  min-height: 174px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(23, 11, 19, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.course-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 54px rgba(23, 11, 19, .13);
}

.course-grid span {
  color: var(--teal);
  font-family: Oswald, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.course-grid h3 {
  margin-top: 10px;
  font-weight: 900;
}

.course-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.image-stack {
  position: relative;
  margin: 0;
}

.image-stack img,
.event-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-stack figcaption {
  position: absolute;
  right: -18px;
  bottom: 24px;
  width: min(270px, calc(100% - 32px));
  padding: 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.event-card {
  display: grid;
  grid-template-columns: 1fr .86fr;
  gap: 36px;
  align-items: stretch;
  width: min(1240px, calc(100% - 40px));
  padding: 48px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(233, 30, 99, .95), rgba(255, 111, 97, .9)),
    var(--rose);
  color: #fff;
  box-shadow: var(--shadow);
}

.event-card .eyebrow,
.event-card p {
  color: rgba(255, 255, 255, .86);
}

.event-card h2 {
  color: #fff;
  font-family: Great Vibes, cursive;
  font-size: clamp(4rem, 9vw, 8.4rem);
  font-weight: 400;
  line-height: .88;
  text-transform: none;
}

.event-date {
  font-weight: 900;
}

.event-photo img {
  height: 100%;
  min-height: 360px;
  aspect-ratio: auto;
}

.media-section,
.gallery-section,
.planning-section {
  width: 100%;
  max-width: none;
}

.section-heading {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 26px;
}

.section-heading h2 {
  max-width: 820px;
}

.section-heading p {
  max-width: 720px;
}

.video-grid {
  width: min(1240px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
  margin: 0 auto;
}

.video-grid video {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: #090509;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.video-grid video:first-child {
  grid-row: span 2;
  height: 100%;
}

.slider {
  position: relative;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: #100a12;
  box-shadow: var(--shadow);
}

.slide {
  display: none;
  width: 100%;
  height: clamp(360px, 62vw, 720px);
  object-fit: cover;
}

.slide.active {
  display: block;
  animation: photoIn .7s ease both;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .2s ease, background .2s ease;
}

.slider-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.prev {
  left: 16px;
}

.next {
  right: 16px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .25em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: .54em;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.concours-slider {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.concours-track {
  display: flex;
  transition: transform .45s ease;
}

.concours-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.planning-wrap {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  overflow-x: auto;
  padding: 0 0 12px;
}

.planning-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.planning-table th,
.planning-table td {
  width: 16.66%;
  padding: 16px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.planning-table th:last-child,
.planning-table td:last-child {
  border-right: 0;
}

.planning-table tr:last-child td {
  border-bottom: 0;
}

.planning-table th {
  background: var(--ink);
  color: #fff;
  font-family: Oswald, sans-serif;
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.planning-table td {
  min-height: 110px;
  color: var(--muted);
  font-size: .93rem;
}

.planning-table b {
  color: var(--rose);
}

.planning-actions {
  justify-content: center;
  width: min(1240px, calc(100% - 40px));
  margin: 20px auto 0;
}

.planning-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.planning-lightbox.open {
  display: flex;
}

.planning-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 10, .78);
  backdrop-filter: blur(6px);
}

.planning-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1380px, 100%);
}

.planning-lightbox-dialog img {
  display: block;
  width: 100%;
  max-height: calc(100svh - 40px);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .45);
}

.planning-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.contact {
  width: min(1240px, calc(100% - 40px));
}

.contact-panel {
  display: grid;
  grid-template-columns: .92fr 1fr;
  gap: 30px;
  padding: 44px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.contact-panel .eyebrow {
  color: #9ff4ef;
}

.contact-panel p {
  color: rgba(255, 255, 255, .72);
}

.contact-actions {
  margin: 28px 0;
}

address {
  color: rgba(255, 255, 255, .76);
  font-style: normal;
  font-weight: 700;
}

address a {
  color: #fff;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  border-radius: 8px;
  filter: saturate(1.08) contrast(1.02);
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  font-weight: 800;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--ink);
}

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

@keyframes cue {
  0%,
  100% {
    opacity: .45;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 24px);
  }
}

@keyframes photoIn {
  from {
    opacity: .25;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
    border-radius: 22px;
  }

  .topbar nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 4px;
  }

  .hero {
    padding-top: 165px;
  }

  .intro-band,
  .split,
  .split.reverse,
  .event-card,
  .contact-panel,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse > :first-child {
    order: 0;
  }

  .video-grid video:first-child {
    grid-row: auto;
  }

  .image-stack figcaption {
    right: 16px;
  }
}

@media (max-width: 680px) {
  .topbar {
    top: 8px;
    width: calc(100% - 16px);
    padding: 10px;
  }

  .brand span {
    font-size: .98rem;
  }

  .nav-cta {
    padding: 9px 12px;
    font-size: .82rem;
  }

  .topbar nav a {
    padding: 7px 10px;
    font-size: .84rem;
    white-space: nowrap;
  }

  .hero {
    min-height: 92svh;
    padding: 154px 18px 34px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-proof {
    display: grid;
  }

  .scroll-cue {
    display: none;
  }

  .section,
  .section-heading,
  .video-grid,
  .slider,
  .planning-wrap,
  .planning-actions,
  .contact,
  .footer {
    width: calc(100% - 28px);
  }

  .section {
    padding: 58px 0;
  }

  .intro-band {
    width: calc(100% - 28px);
    margin-top: 0;
  }

  .metric {
    min-height: 126px;
  }

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

  .event-card,
  .contact-panel {
    width: calc(100% - 28px);
    padding: 24px;
  }

  .event-card h2 {
    font-size: clamp(3.6rem, 18vw, 6rem);
  }

  .event-photo img {
    min-height: 260px;
  }

  .slide {
    height: 360px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .planning-lightbox-close {
    top: -10px;
    right: -4px;
  }
}
