@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
  --black: #020405;
  --ink: #071116;
  --white: #f2f4f3;
  --muted: #a7b1b2;
  --line: #1b3037;
  --gold: #f2b950;
  --cyan: #2dc4d2;
  --display: 'Space Grotesk', Arial, sans-serif;
  --body: 'DM Sans', Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--body); font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: var(--cyan); color: var(--black); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }

.skip-link { position: fixed; top: -100px; left: 24px; z-index: 100; padding: 12px 16px; background: var(--cyan); color: var(--black); }
.skip-link:focus { top: 16px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; height: 88px; padding: 0 4.5vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ffffff18; background: linear-gradient(#0009, transparent); }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 600 27px/1 var(--display); letter-spacing: -.045em; }
.brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 3px; }
.site-header nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
.site-header nav a { color: #d4d6d3; }
.site-header nav a:hover { color: #fff; }
.header-cta { padding: 11px 17px; border: 1px solid #2dc4d280; border-radius: 999px; }

.opening { height: 290svh; }
.hero { position: sticky; top: 0; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; padding: 112px 4.5vw 26px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-backdrop, .hero-video, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-backdrop { z-index: -3; background: url('assets/asc3nd-poster.jpg') center/cover no-repeat; }
.hero-video { z-index: -2; object-fit: cover; object-position: center; }
.hero-video.video-unavailable { visibility: hidden; }
.hero-shade { z-index: -1; pointer-events: none; background: linear-gradient(180deg, #0004 0%, transparent 35%, transparent 57%, #000d 100%); }
.hero-copy { margin-bottom: 58px; opacity: var(--intro-opacity, 1); pointer-events: none; text-shadow: 0 2px 18px #0008; }
.kicker, .section-kicker, .detail-label, .hero-meta { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 500; }
.kicker { margin: 0 0 14px; color: #deded9; }
h1 { margin: 0; font: 500 clamp(62px, 9vw, 145px)/.82 var(--display); letter-spacing: -.075em; }
.hero-line { display: flex; gap: 20px; margin: 27px 0 0; font: 500 16px/1 var(--display); text-transform: uppercase; letter-spacing: .1em; }
.hero-line span:first-child { color: var(--gold); }
.hero-line span:last-child { color: var(--cyan); }
.hero-meta { min-height: 42px; display: flex; align-items: center; gap: 25px; padding-top: 20px; border-top: 1px solid #ffffff24; color: #d0d2cf; }
.hero-meta > span:last-child { margin-left: 8px; }
.progress-track { width: min(260px, 22vw); height: 1px; background: #ffffff28; }
.progress-track > span { display: block; width: calc(var(--scroll, 0) * 100%); height: 100%; background: var(--white); }
#film-action { border: 1px solid #ffffff50; border-radius: 999px; padding: 8px 12px; background: transparent; color: var(--white); cursor: pointer; }
#film-action[hidden] { display: none; }

.section { padding: 96px 4.5vw 112px; }
.section-kicker { display: flex; gap: 22px; padding-bottom: 26px; border-bottom: 1px solid currentColor; color: #7f8582; }
.section-kicker span:first-child { color: var(--cyan); }
h2 { margin: 0; font: 500 clamp(48px, 6vw, 94px)/.98 var(--display); letter-spacing: -.06em; }

.overview { background: linear-gradient(135deg, #071116 0%, #030708 70%); color: var(--white); }
.overview .section-kicker { border-color: var(--line); }
.overview-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: end; padding-top: 80px; }
.overview-copy { max-width: 500px; padding-bottom: 8px; }
.overview-copy p { margin: 0 0 36px; color: var(--muted); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; letter-spacing: -.015em; }
.arrow-link { display: inline-flex; gap: 44px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #2dc4d280; color: var(--white); font-size: 15px; }

.details { background: #050b0e; }
.details h2 { margin-top: 78px; }
.details h2 span { color: var(--cyan); }
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 94px; border-top: 1px solid var(--line); }
.details-grid article { min-height: 245px; padding: 29px 5vw 20px 0; border-right: 1px solid var(--line); }
.details-grid article:not(:first-child) { padding-left: 3vw; }
.details-grid article:last-child { border-right: 0; }
.detail-label { margin: 0 0 30px; color: var(--muted); }
.detail-value, address { margin: 0; font: 400 clamp(25px, 2.4vw, 40px)/1.2 var(--display); letter-spacing: -.04em; }
.details-grid article:first-child .detail-value { color: var(--gold); }
.details-grid article:nth-child(2) .detail-value { color: var(--cyan); }
address { font-size: clamp(19px, 1.6vw, 27px); line-height: 1.45; font-style: normal; color: #d7d9d6; }

.programme { background: linear-gradient(180deg, #020405, #041015); }
.programme h2 { margin-top: 78px; max-width: 900px; }
.programme-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 90px; border-top: 1px solid var(--line); }
.programme-grid article { min-height: 230px; padding: 25px 26px 30px 0; border-right: 1px solid var(--line); }
.programme-grid article:not(:first-child) { padding-left: 26px; }
.programme-grid article:last-child { border-right: 0; }
.programme-grid article > span { color: var(--cyan); font: 500 12px/1 var(--display); letter-spacing: .14em; }
.programme-grid article:nth-child(odd) > span { color: var(--gold); }
.programme-grid h3 { margin: 66px 0 12px; font: 500 22px/1.15 var(--display); letter-spacing: -.03em; }
.programme-grid p { margin: 0; color: var(--muted); line-height: 1.55; max-width: 230px; }

.updates { background: #071116; color: var(--white); }
.updates .section-kicker { border-color: var(--line); }
.updates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; align-items: end; padding-top: 76px; }
.updates-grid > div > p { max-width: 430px; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.updates form { padding-bottom: 10px; }
.updates label { display: block; margin-bottom: 13px; color: var(--muted); font-size: 14px; }
.email-row { display: flex; align-items: stretch; border-bottom: 1px solid #5b6a6d; }
.email-row input { flex: 1; min-width: 0; padding: 16px 0; border: 0; border-radius: 0; background: transparent; color: var(--white); font-size: 19px; }
.email-row input::placeholder { color: #707d7f; }
.email-row button { margin-bottom: 9px; padding: 13px 17px; border: 0; border-radius: 999px; background: var(--cyan); color: var(--black); cursor: pointer; }
.signup-success { position: absolute; inset: 0; display: flex; align-items: center; gap: 16px; opacity: 0; transform: translateY(10px); pointer-events: none; }
.success-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--cyan); border-radius: 50%; transform: scale(.65); }
.success-mark span { opacity: 0; color: var(--cyan); font-size: 18px; transform: scale(.4); }
.signup-success p { margin: 0; font: 500 19px/1 var(--display); letter-spacing: -.02em; }
.updates form { position: relative; min-height: 94px; }
.updates form.is-submitted .email-row, .updates form.is-submitted > label { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.updates form.is-submitted .signup-success { opacity: 1; transform: translateY(0); transition: opacity .35s ease .18s, transform .45s cubic-bezier(.2,.8,.2,1) .18s; }
.updates form.is-submitted .success-mark { transform: scale(1); transition: transform .5s cubic-bezier(.2,1.4,.35,1) .2s; }
.updates form.is-submitted .success-mark span { opacity: 1; transform: scale(1); transition: opacity .2s ease .45s, transform .25s ease .4s; }
.email-row, .updates form > label { transition: opacity .25s ease, transform .3s ease; }
#signup-status { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.gold { color: var(--gold); }
.cyan { color: var(--cyan); }

footer { min-height: 180px; padding: 46px 4.5vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; border-top: 1px solid var(--line); }
footer p { margin: 0; color: #7f8582; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
footer p:last-child { justify-self: end; }
.footer-meta { display: flex; align-items: center; gap: 22px; }
.footer-meta a { color: #b7c0c1; transition: color .2s ease; }
.footer-meta a:hover { color: var(--cyan); }

@media (max-width: 800px) {
  html { scroll-padding-top: 72px; }
  .site-header { height: 76px; padding: 0 5.5vw; }
  .brand { font-size: 23px; gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .site-header nav { gap: 0; }
  .site-header nav a:not(.header-cta) { display: none; }
  .header-cta { font-size: 12px; padding: 10px 14px; }
  .hero { min-height: 600px; padding: 98px 5.5vw 22px; }
  .hero-video { object-position: calc(68% - var(--scroll, 0) * 18%) center; }
  .hero-backdrop { background-position: 68% center; }
  .hero-copy { margin-bottom: 38px; }
  h1 { font-size: clamp(64px, 20vw, 108px); }
  .hero-line { gap: 11px; margin-top: 21px; font-size: 11px; }
  .hero-meta { gap: 13px; font-size: 10px; letter-spacing: .11em; }
  .hero-meta > span:last-child { display: none; }
  .progress-track { width: auto; flex: 1; }
  .section { padding: 62px 5.5vw 72px; }
  .section-kicker { padding-bottom: 18px; font-size: 10px; }
  h2 { font-size: clamp(45px, 13vw, 68px); }
  .overview-grid, .updates-grid { grid-template-columns: 1fr; gap: 42px; padding-top: 52px; }
  .overview-copy p { font-size: 18px; }
  .details h2, .programme h2 { margin-top: 50px; }
  .details-grid { grid-template-columns: 1fr; margin-top: 57px; }
  .details-grid article { min-height: auto; padding: 24px 0 31px !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-label { margin-bottom: 16px; }
  .detail-value { font-size: 30px; }
  address { font-size: 20px; }
  .programme-grid { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .programme-grid article { min-height: 205px; padding: 23px 19px 25px 0; border-bottom: 1px solid var(--line); }
  .programme-grid article:nth-child(2n) { padding-left: 19px; border-right: 0; }
  .programme-grid h3 { margin-top: 48px; font-size: 19px; }
  .programme-grid p { font-size: 14px; }
  .updates-grid { gap: 48px; }
  .email-row button { padding-inline: 14px; white-space: nowrap; }
  footer { min-height: 210px; padding: 37px 5.5vw; grid-template-columns: 1fr 1fr; align-content: center; }
  footer > p:nth-child(2) { display: none; }
  .footer-meta { flex-direction: column; align-items: flex-end; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .opening { height: 100svh; min-height: 620px; }
  .hero-copy { opacity: 1; }
  html.motion-enabled .opening { height: 290svh; }
  html.motion-enabled .hero-copy { opacity: var(--intro-opacity, 1); }
}

@media (prefers-reduced-motion: reduce) {
  .updates form.is-submitted .email-row, .updates form.is-submitted > label,
  .updates form.is-submitted .signup-success, .updates form.is-submitted .success-mark,
  .updates form.is-submitted .success-mark span { transition: none; }
}

/* Terms */
.legal-page { min-height: 100vh; background: linear-gradient(135deg, #071116 0%, #020405 48%); }
.legal-header { height: 88px; padding: 0 4.5vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.legal-back { color: var(--muted); font-size: 14px; }
.legal-back:hover { color: var(--cyan); }
.legal-main { width: min(100%, 1080px); margin: 0 auto; padding: 100px 4.5vw 130px; }
.legal-intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: 9vw; align-items: end; padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.legal-kicker { margin: 0 0 22px; color: var(--cyan); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
.legal-intro h1 { font-size: clamp(58px, 8vw, 116px); line-height: .9; }
.legal-summary { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.legal-date { display: block; margin-top: 22px; color: #778588; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.terms-list { counter-reset: terms; }
.term { counter-increment: terms; display: grid; grid-template-columns: 65px 1fr; gap: 22px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.term::before { content: counter(terms, decimal-leading-zero); color: var(--gold); font: 500 12px/1.3 var(--display); letter-spacing: .12em; }
.term h2 { margin: 0 0 15px; font-size: 25px; line-height: 1.15; letter-spacing: -.035em; }
.term p { max-width: 760px; margin: 0 0 12px; color: var(--muted); line-height: 1.7; }
.term p:last-child { margin-bottom: 0; }
.legal-note { margin-top: 48px; color: #778588; font-size: 13px; line-height: 1.6; }
.legal-footer { min-height: 120px; }

@media (max-width: 800px) {
  .legal-header { height: 76px; padding: 0 5.5vw; }
  .legal-main { padding: 66px 5.5vw 90px; }
  .legal-intro { grid-template-columns: 1fr; gap: 34px; padding-bottom: 48px; }
  .legal-intro h1 { font-size: 66px; }
  .term { grid-template-columns: 38px 1fr; gap: 12px; padding: 32px 0; }
  .term h2 { font-size: 22px; }
  .term p { font-size: 15px; }
  .legal-footer { min-height: 150px; }
}
