/* Jost, self-hosted (latin subset, variable 300–800) */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(assets/fonts/jost-latin.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-style: italic; font-weight: 300 800; font-display: swap; src: url(assets/fonts/jost-latin-italic.woff2) format("woff2"); }

:root {
  --night: #0f1a28;
  --navy: #233245;
  --slate: #4d5d71;
  --ice: #4ee9fe;
  --blue: #0089f7;
  --snow: #f4f8fb;
  --mist: #b5cfea;
  --ink: #0f1a28;
  --radius: 22px;
  --pad: clamp(16px, 5vw, 80px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  font-family: "Jost", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--snow);
  background: var(--night);
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: italic; font-weight: 300; color: var(--ice); }
::selection { background: var(--ice); color: var(--night); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ice); color: var(--night); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ice);
}
.h2 {
  margin: 0;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.03em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 30px;
  border: 1px solid var(--ice);
  border-radius: 999px;
  background: var(--ice);
  color: var(--night);
  font: 500 16px/1 "Jost", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); background: #fff; border-color: #fff; }
.btn--ghost { background: transparent; color: var(--snow); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: var(--snow); color: var(--night); }
.btn--small { padding: 11px 20px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  transition: background .4s, padding .4s, transform .5s var(--ease);
}
.nav.is-scrolled { background: rgba(15,26,40,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; line-height: 1; letter-spacing: .04em; }
.nav__logo svg { width: 40px; fill: var(--ice); }
.nav__logo .snow { fill: #fff; }
.nav__logo b { display: block; font-weight: 300; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; margin-top: 3px; }
.nav__links { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-size: 15px; opacity: .8; transition: opacity .3s; }
.nav__links a:hover { opacity: 1; color: var(--ice); }
@media (max-width: 820px) { .nav__links { display: none; } }

/* Hero */
.hero { position: relative; height: 260vh; }
.hero__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: end start;
}
.hero__sticky::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,26,40,.85) 0%, rgba(15,26,40,0) 55%);
}
.hero__content { position: relative; padding: 0 var(--pad) clamp(70px, 12vh, 130px); max-width: 1100px; }
.hero__title {
  margin: 0 0 24px;
  font-size: clamp(60px, 13vw, 200px);
  line-height: .86;
  font-weight: 800;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { color: var(--ice); font-weight: 300; text-transform: none; letter-spacing: -.04em; }
.hero__lead { max-width: 520px; margin: 0 0 32px; font-size: clamp(17px, 1.6vw, 21px); color: var(--mist); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll {
  position: absolute; right: var(--pad); bottom: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: .7;
}
.hero__scroll span { width: 1px; height: 60px; background: linear-gradient(var(--ice), transparent); animation: drip 2s infinite var(--ease); transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 600px) { .hero__scroll { display: none; } }

/* Marquee */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid rgba(255,255,255,.14); background: rgba(15,26,40,.45); }
.marquee__track { display: flex; gap: 40px; width: max-content; font-size: clamp(28px, 4vw, 56px); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; }
.marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.5); }
.marquee__track i { color: var(--ice); font-style: normal; font-size: .5em; align-self: center; }

/* Intro */
.intro { padding: clamp(100px, 18vh, 200px) var(--pad); max-width: 1300px; margin: 0 auto; }
.intro__text { margin: 0; font-size: clamp(30px, 4.6vw, 68px); line-height: 1.12; font-weight: 500; letter-spacing: -.02em; }
.intro__text .w { opacity: .15; transition: none; }

/* Programs */
.programs { position: relative; }
.programs__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 100px 0; overflow: hidden; }
.programs__head { padding: 0 var(--pad) 50px; }
.programs__track { display: flex; gap: 24px; padding: 0 var(--pad); width: max-content; will-change: transform; }
.card {
  position: relative; flex: 0 0 auto;
  width: min(420px, 80vw); min-height: 460px;
  display: flex; flex-direction: column;
  padding: 36px 32px;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 80% at 100% 0%, hsla(var(--hue), 80%, 60%, .28), transparent 60%),
    linear-gradient(160deg, rgba(15,26,40,.8), rgba(15,26,40,.62));
  border: 1px solid rgba(255,255,255,.16);
  transition: transform .5s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-8px); border-color: rgba(78,233,254,.5); }
.card__num { font-size: 14px; letter-spacing: .2em; color: var(--ice); }
.card h3 { margin: auto 0 14px; font-size: 34px; line-height: 1.05; font-weight: 600; letter-spacing: -.02em; }
.card p { margin: 0 0 20px; color: var(--mist); }
.card ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; }
.card li { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); }
.card__link { color: var(--ice); text-decoration: none; font-weight: 500; }
.card--accent { background: linear-gradient(160deg, var(--ice), var(--blue)); color: var(--night); border: 0; }
.card--accent p, .card--accent .card__num, .card--accent .card__link { color: var(--night); }
.card--accent li { border-color: rgba(15,26,40,.3); }

@media (max-width: 899px) {
  .programs__track { flex-direction: column; width: auto; }
  .card { width: 100%; min-height: 0; }
  .card h3 { margin-top: 40px; }
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 120px var(--pad); gap: 24px; }
.stat strong { display: block; font-size: clamp(48px, 7vw, 110px); line-height: 1; font-weight: 700; letter-spacing: -.04em; color: var(--ice); font-variant-numeric: tabular-nums; }
.stat span { color: var(--mist); font-size: 15px; letter-spacing: .05em; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 50px; } }

/* Journey */
.journey { padding: 140px var(--pad) 120px; }
.journey__wrap { margin-top: clamp(40px, 10vw, 140px); }
.journey__head { margin-bottom: 60px; }
.journey__wrap { position: relative; aspect-ratio: 5 / 3; max-height: 80vh; width: 100%; }
.journey__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ridge { fill: rgba(15,26,40,.35); stroke: rgba(255,255,255,.35); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.trail { fill: none; stroke: var(--ice); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: 0; filter: drop-shadow(0 0 8px rgba(78,233,254,.7)); }
.journey__steps { list-style: none; margin: 0; padding: 0; }
.journey__steps li { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.journey__steps li::before { content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 7px rgba(78,233,254,.2), 0 0 24px var(--ice); }
.journey__steps div {
  position: absolute; bottom: 22px; left: -16px; width: 230px;
  padding: 14px 18px; border-radius: 14px;
  background: rgba(15,26,40,.88); border: 1px solid rgba(78,233,254,.25);
}
.journey__steps li.is-left div { left: auto; right: -16px; text-align: right; }
.journey__steps b { display: block; font-size: 20px; font-weight: 600; }
.journey__steps span { display: block; font-size: 15px; line-height: 1.4; color: var(--mist); }
@media (max-width: 760px) {
  .journey__wrap { aspect-ratio: auto; max-height: none; }
  .journey__svg { display: none; }
  .journey__steps { display: grid; gap: 18px; border-left: 2px solid rgba(78,233,254,.4); padding-left: 24px; }
  .journey__steps li { position: relative; left: auto; top: auto; width: auto; height: auto; }
  .journey__steps li::before { left: -32px; top: 22px; }
  .journey__steps div, .journey__steps li.is-left div { position: static; width: auto; text-align: left; }
}

/* Features */
.features { margin: 0 clamp(8px, 2vw, 32px); padding: 110px var(--pad); background: rgba(244,248,251,.95); color: var(--ink); border-radius: 40px; }
.features .h2 em { color: var(--blue); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.feature { padding: 32px 26px; border-radius: var(--radius); background: rgba(255,255,255,.85); box-shadow: 0 20px 50px -30px rgba(15,26,40,.35); }
.feature__icon { color: var(--blue); font-size: 22px; }
.feature h3 { margin: 18px 0 8px; font-size: 22px; font-weight: 600; }
.feature p { margin: 0; color: var(--slate); font-size: 16px; }
@media (max-width: 1000px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features__grid { grid-template-columns: 1fr; } }

/* Quotes */
.quotes { padding: 160px var(--pad); display: grid; gap: 80px; }
.quote { margin: 0; max-width: 1000px; }
.quote:nth-of-type(2) { justify-self: end; text-align: right; }
.quote blockquote { margin: 0 0 14px; font-size: clamp(26px, 3.4vw, 48px); line-height: 1.15; font-weight: 500; letter-spacing: -.02em; }
.quote figcaption { color: var(--mist); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }

/* Prices */
.prices { padding: 140px var(--pad); }
.prices__head { text-align: center; margin-bottom: 70px; }
.prices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1200px; margin: 0 auto; align-items: stretch; }
.price { display: flex; flex-direction: column; padding: 40px 32px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.16); background: rgba(15,26,40,.74); }
.price h3 { margin: 0; font-size: 22px; font-weight: 500; }
.price__amount { margin: 16px 0 24px; font-size: 56px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.price__amount span, .price__amount small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--mist); }
.price ul { list-style: none; margin: 0 0 32px; padding: 0; flex: 1; }
.price li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); color: var(--mist); }
.price--featured { background: linear-gradient(170deg, rgba(29,51,80,.75), rgba(19,35,56,.75)); border-color: var(--ice); transform: translateY(-14px); }
.price__tag { margin: 0 0 14px; align-self: flex-start; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--ice); color: var(--night); }
@media (max-width: 900px) { .prices__grid { grid-template-columns: 1fr; } .price--featured { transform: none; } }

/* FAQ */
.faq { padding: 60px var(--pad) 140px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; max-width: 1400px; margin: 0 auto; }
.faq details { border-bottom: 1px solid rgba(255,255,255,.12); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 40px 26px 0; position: relative; font-size: 21px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 300; color: var(--ice); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 26px; color: var(--mist); max-width: 640px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 30px; } }

/* Booking */
.book { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 120px var(--pad); }
.book__inner { position: relative; width: 100%; max-width: 1200px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.book__title { margin: 0; font-size: clamp(54px, 9vw, 140px); line-height: .9; font-weight: 800; letter-spacing: -.05em; text-transform: uppercase; }
.book__title em { text-transform: none; }
.book__form { display: grid; gap: 16px; padding: 36px; border-radius: var(--radius); background: rgba(15,26,40,.82); border: 1px solid rgba(255,255,255,.14); }
.book__form label { display: grid; gap: 6px; font-size: 14px; color: var(--mist); }
.book__form input, .book__form select {
  font: inherit; font-size: 16px; color: var(--snow);
  padding: 13px 16px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05);
}
.book__form select option { color: var(--ink); }
.book__form .btn { margin-top: 8px; }
@media (max-width: 900px) { .book__inner { grid-template-columns: 1fr; } }

/* Footer */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 50px var(--pad); font-size: 15px; color: var(--mist); border-top: 1px solid rgba(255,255,255,.14); background: rgba(15,26,40,.8); }
.footer__brand { color: var(--snow); font-size: 20px; }
.footer__brand b { font-weight: 300; margin-left: 6px; opacity: .6; }
.footer address { font-style: normal; }
.footer p { margin: 0; }

/* Motion is opt-in: only hide things once JS confirms animation is running */
.js-anim .reveal { opacity: 0; transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  .hero__scroll span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Full-page film ---------- */
main, .footer { position: relative; z-index: 1; }
.stage {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: radial-gradient(120% 70% at 70% 0%, #3b5a7c 0%, transparent 60%), linear-gradient(180deg, #1a2b40, var(--night));
}
.stage__inner { position: absolute; inset: -3%; }
.scene, .scene__fx { position: absolute; inset: 0; }
/* Only the showing scene is composited: the rest are visibility:hidden until their crossfade (main.js) */
.scene { opacity: 0; visibility: hidden; }
.scene:first-child { opacity: 1; visibility: visible; }
.stage video, .stage canvas, .stage__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__shade { position: absolute; inset: 0; background: var(--night); opacity: .15; }
.stage__vignette { position: absolute; inset: 0; background: radial-gradient(130% 100% at 50% 45%, transparent 55%, rgba(5,10,18,.75) 100%); }
.stage__grain {
  position: absolute; inset: 0; opacity: .045; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Chapter rail */
.chapters {
  position: fixed; right: clamp(14px, 2.4vw, 36px); top: 50%; z-index: 40; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: ch;
}
.chapters li {
  counter-increment: ch; display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.45);
  transition: color .5s;
}
.chapters li span { opacity: 0; transform: translateX(8px); transition: opacity .5s, transform .5s var(--ease); }
.chapters li::after { content: "0" counter(ch); font-variant-numeric: tabular-nums; }
.chapters li.is-active { color: var(--ice); }
.chapters li.is-active span { opacity: 1; transform: none; }
@media (max-width: 900px) { .chapters { display: none; } }

.progress { position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--ice)); transform-origin: left; transform: scaleX(0); }

/* Hero intro: plain CSS, so it plays on first paint instead of waiting for the scripts */
.js .hero__title .line > span { animation: hero-rise 1.3s cubic-bezier(.16, 1, .3, 1) both .1s; }
.js .hero__title .line:nth-child(2) > span { animation-delay: .22s; }
.js .hero .eyebrow, .js .hero__lead, .js .hero__ctas { animation: hero-fade 1.1s cubic-bezier(.22, 1, .36, 1) both .35s; }
.js .hero__lead { animation-delay: .43s; }
.js .hero__ctas { animation-delay: .51s; }
@keyframes hero-rise { from { transform: translateY(115%); } }
@keyframes hero-fade { from { opacity: 0; transform: translateY(24px); } }

/* Honeypot field: hidden from people, filled in by bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Headings split into words for reveal */
.split .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .wd > span { display: inline-block; }

/* Readability over moving footage */
.intro__text, .quote blockquote, .h2, .book__title, .stat strong { text-shadow: 0 2px 30px rgba(5,10,18,.35); }
.features .h2 { text-shadow: none; }

@media (prefers-reduced-motion: reduce) { .js .hero__title .line > span, .js .hero .eyebrow, .js .hero__lead, .js .hero__ctas { animation: none; } }
