:root {
  color-scheme: dark;
  --ink: #f8f5ec;
  --muted: #c0cbd0;
  --navy: #102535;
  --gold: #e9bd70;
  --gold-dark: #87622e;
  --ivory: #f4eee2;
  --page: min(1200px, calc(100% - 80px));
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: var(--header-offset, 100px); }
body { margin: 0; background: var(--navy); color: var(--ink); font: 16px/1.75 "Leelawadee UI", "Noto Sans Thai", Tahoma, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.35; }
em { font-style: normal; }
::selection { background: #edc989; color: #102535; }
:focus-visible { outline: 3px solid #65c9ef; outline-offset: 5px; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 15px; padding: 10px 20px; background: var(--ivory); color: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; z-index: 30; top: 0; display: flex; align-items: center; gap: 42px; min-height: 82px; padding: 6px max(28px, calc((100% - 1320px) / 2)); background: #0c1d2c; border-bottom: 1px solid #b5955b60; box-shadow: 0 2px 18px #06121c26; }
.brand { flex: 0 0 154px; }
.brand img { width: 154px; height: 58px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.site-nav a { padding: 10px 0; color: #e2e6e7; }
.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header-cta, .button-primary { background: linear-gradient(120deg, #f5d99b, #dfb364); color: #292319; border: 1px solid #ffe3a7; box-shadow: inset 0 0 0 2px #ba8c4540, 0 5px 18px #071a2430; font-weight: 700; }
.header-cta { padding: 10px 25px; border-radius: 3px; white-space: nowrap; font-size: 14px; }
.music-control { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; min-width: 110px; background: #152c3c; color: #e7e8e4; border: 1px solid #b6c0c44d; border-radius: 3px; padding: 8px 12px; font-size: 12px; }
.music-bars { display: flex; align-items: center; gap: 3px; width: 16px; height: 18px; }
.music-bars i { width: 3px; height: 10px; background: currentColor; transform-origin: bottom; }
.music-bars i:nth-child(2) { height: 16px; }
.music-bars i:nth-child(3) { height: 12px; }
.playing .music-bars i { color: var(--gold); animation: equalizer 900ms ease-in-out infinite alternate; }
.playing .music-bars i:nth-child(2) { animation-delay: -450ms; }
.playing .music-bars i:nth-child(3) { animation-delay: -650ms; }
@keyframes equalizer { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.header-cta, .button, .music-control, .class-tab, .provider-button { transition: transform 140ms var(--ease-out), background-color 180ms ease, border-color 180ms ease; }
.header-cta:active, .button:active, .music-control:active, .class-tab:active, .provider-button:not(:disabled):active { transform: scale(.98); }
.hero { position: relative; min-height: 735px; isolation: isolate; overflow: hidden; background: #294253; }
.hero-art, .hero-shade { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.hero-art { object-fit: cover; object-position: center 42%; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, #071b2eef 0%, #102538b8 24%, #0b263d3d 49%, transparent 72%), linear-gradient(0deg, #0a202fbb, transparent 28%); }
.hero-content { width: var(--page); margin-inline: auto; padding: 100px 0 90px; }
.hero-copy { max-width: 535px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; line-height: 1.6; }
.eyebrow > span { width: 24px; height: 1px; background: currentColor; }
h1 { font-size: clamp(36px, 3.7vw, 56px); letter-spacing: -.035em; font-weight: 750; text-shadow: 0 2px 12px #0921334d; }
h1 em { color: #f2cb86; font-size: 1.12em; }
.hero-lead { color: #eaf0f3; font-size: 18px; margin-top: 23px; line-height: 1.8; text-shadow: 0 1px 5px #132c40; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 11px 23px; font-size: 15px; border-radius: 3px; }
.button-ghost { border: 1px solid #e4e5e191; background: #10263880; color: #f5f4ef; }
.hero-date { color: #f3d69c; font-size: 14px; margin-top: 22px; display: flex; gap: 12px; }
.launch-card { width: 340px; margin-top: 34px; padding: 16px 0 0; border-top: 1px solid #f0d49e66; }
.live-label { display: flex; align-items: center; gap: 8px; color: #f6dca9; font-size: 12px; }
.live-dot { width: 6px; height: 6px; background: #f2ca85; border-radius: 50%; }
.countdown-label { margin-top: 7px; color: #d2dce0; font-size: 11px; }
.countdown { display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.countdown > span { font-size: 29px; line-height: 1.6; font-weight: 650; }
.countdown small { color: #c8d4da; font-size: 11px; margin-right: 7px; }
.launch-copy { max-width: 315px; font-size: 11px; color: #d4dee4; }
.timezone { display: none; }
.hero-bottom { position: absolute; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 15px; width: 100%; padding: 16px max(40px, calc((100% - 1200px) / 2)); border-top: 1px solid #f4e9d026; color: #e0e6e9; font-size: 10px; letter-spacing: .1em; background: #0d24386b; }
.hero-bottom a { color: #f5d492; letter-spacing: 0; font-size: 12px; }
.section-heading h2 { font-size: clamp(28px, 2.7vw, 40px); font-weight: 650; letter-spacing: -.03em; }
.section-heading > p:last-child { color: var(--muted); font-size: 15px; margin-top: 15px; }
.milestones-section { position: relative; padding: 70px max(32px, calc((100% - 1200px) / 2)) 42px; background: radial-gradient(ellipse at 50% 5%, #fffdf6, transparent 75%), repeating-linear-gradient(38deg, transparent 0 38px, #bb985704 39px 40px), #f0e8d9; color: #3e3526; border-block: 5px double #ae8a4d; isolation: isolate; }
.milestones-section::before { content: ""; position: absolute; inset: 8px; border: 1px solid #b49a6960; pointer-events: none; z-index: -1; }
.milestones-heading { text-align: center; }
.milestones-heading .eyebrow { justify-content: center; color: #84612e; margin-bottom: 9px; }
.milestones-heading .eyebrow > span { display: none; }
.milestones-heading .section-heading > p:last-child { color: #75664f; margin-top: 13px; }
.milestone-total { margin: 21px 0 17px; line-height: 1.4; }
.milestone-total > span { font-size: 11px; color: #75664f; margin-right: 13px; }
.milestone-total strong { display: inline; font-size: 28px; font-weight: 700; color: #46371f; font-variant-numeric: tabular-nums; }
.milestone-total small { display: inline; font-size: 12px; margin-left: 10px; }
.milestone-progress { max-width: 800px; margin: 20px auto 27px; }
.milestone-progress-track { position: relative; height: 5px; border: 1px solid #b49664; background: #d5c5a9; box-shadow: 0 1px #fff9; }
.milestone-progress-track::before, .milestone-progress-track::after { content: ""; width: 12px; height: 12px; position: absolute; top: -5px; border: 2px solid #a3834d; background: #f4ecd9; transform: rotate(45deg); z-index: 1; }
.milestone-progress-track::before { left: -5px; }
.milestone-progress-track::after { right: -5px; }
.milestone-progress-track > span { display: block; width: 100%; height: 100%; background: #a87d30; transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out); }
.milestone-progress-labels { position: relative; height: 28px; font-size: 10px; color: #806d4b; padding-top: 10px; }
.milestone-progress-labels > span { position: absolute; transform: translateX(-50%); }
.milestone-progress-labels > span:nth-child(1) { left: 0; }
.milestone-progress-labels > span:nth-child(2) { left: 10%; }
.milestone-progress-labels > span:nth-child(3) { left: 25%; }
.milestone-progress-labels > span:nth-child(4) { left: 50%; }
.milestone-progress-labels > span:nth-child(5) { left: 100%; }
.milestone-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.milestone-card { position: relative; display: flex; flex-direction: column; padding: 23px 20px 0; text-align: center; background: linear-gradient(145deg, #fffdf780, #e7dac338); border: 1px solid #b29a7290; box-shadow: inset 0 0 0 4px #f9f4e9, inset 0 0 0 5px #b69b7160, 0 8px 20px #66451808; }
.milestone-card::before, .milestone-card::after { content: "◇"; position: absolute; top: -11px; color: #a68a58; font-size: 17px; background: #f5eedf; line-height: 1; }
.milestone-card::before { left: 7px; }
.milestone-card::after { right: 7px; }
.milestone-card header > span { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .16em; color: #85714f; }
.milestone-card header strong { font: 600 33px/1.5 Georgia, serif; color: #765022; display: block; }
.milestone-card header small { font-size: 10px; color: #826f51; }
.reward-art { height: 154px; position: relative; display: flex; align-items: center; justify-content: center; gap: 4px; }
.item-medallion { position: relative; display: grid; place-items: center; width: 102px; height: 102px; flex-shrink: 0; border-radius: 50%; border: 1px solid #bb98634f; background: radial-gradient(circle, #e8d7b3 0 40%, #f8efd954 68%, transparent 69%); box-shadow: 0 0 0 5px #cfb3810d, 0 0 0 6px #b78e4c28; }
.item-medallion.secondary { width: 78px; height: 78px; margin: 37px 0 0 -23px; background-color: #f3ead6; }
.item-sprite { display: block; width: 35px; height: 35px; transform: scale(2); background-repeat: no-repeat; image-rendering: pixelated; }
.secondary .item-sprite { transform: scale(1.65); }
.potion { background-image: url('/assets/rewards/commercialset02.png'); background-position: -420px -35px; }
.rosary { background-image: url('/assets/rewards/commercialset.png'); background-position: -315px 0; }
.turtle { background-image: url('/assets/rewards/pet_item.png'); background-position: -175px 0; }
.book { background-image: url('/assets/rewards/pet_item.png'); background-position: -140px 0; }
.weapon { background-image: url('/assets/rewards/event_gui_2.png'); background-position: -455px -35px; }
.backpack { background-image: url('/assets/rewards/commercialset.png'); background-position: -420px 0; }
.reward-quantity { position: absolute; bottom: 19px; left: 50%; transform: translateX(-50%); background: #3a3730; color: #f8d896; padding: 1px 15px; border: 1px solid #b09257; border-radius: 2px; font-size: 12px; font-weight: 700; }
.milestone-rewards { min-height: 79px; flex: 1; font-size: 13px; line-height: 1.65; color: #4f4433; }
.milestone-rewards p + p { margin-top: 7px; font-size: 12px; }
.milestone-rewards strong { white-space: nowrap; color: #80571e; }
.milestone-rewards em { white-space: nowrap; }
.milestone-card footer { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; margin-top: 16px; border-top: 1px solid #af976b50; color: #816e50; font-size: 11px; }
.milestone-card footer strong { font-weight: 500; }
.reward-lock { width: 10px; height: 9px; background: currentColor; border-radius: 1px; position: relative; }
.reward-lock::before { content: ""; position: absolute; width: 6px; height: 7px; border: 1.5px solid currentColor; border-radius: 5px 5px 0 0; left: 2px; top: -6px; }
.unlocked { border-color: #769c78; }
.unlocked footer { color: #2f6c4c; }
.unlocked .reward-lock::before { transform: rotate(25deg) translate(2px, -2px); }
.milestone-note { margin-top: 25px; text-align: center; color: #78694f; font-size: 11px; }
.classes-section { position: relative; isolation: isolate; overflow: hidden; background: #183748; }
.classes-section::before { content: ""; position: absolute; z-index: -2; inset: 0; background: url('/assets/scenes/academy-daylight-1920-v1.webp') center 55% / cover; }
.classes-section::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #132f4282, #122f41cc 48%, #112c3ee8), linear-gradient(0deg, #0f253ae6, transparent 40%); }
.class-explorer { display: grid; grid-template-columns: 48% minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 4%; width: var(--page); margin-inline: auto; min-height: 610px; padding: 65px 0 45px; }
.classes-heading { grid-column: 2; }
.classes-heading .eyebrow { margin-bottom: 13px; }
.classes-heading h2 { font-size: clamp(28px, 2.6vw, 38px); }
.classes-heading p:last-child { font-size: 14px; }
.class-tabs { grid-column: 2; display: flex; border-bottom: 1px solid #e9c17a5c; margin-top: 27px; gap: 19px; }
.class-tab { position: relative; display: block; padding: 12px 1px; background: transparent; border: 0; color: #dce5e8; flex: 1; font-size: 13px; white-space: nowrap; }
.class-tab > span { display: none; }
.class-tab strong { font-weight: 500; }
.class-tab small { display: block; font-size: 10px; color: #acbeca; }
.class-tab.active { color: #f3d390; }
.class-tab.active::after { content: ""; position: absolute; bottom: -1px; height: 2px; left: 0; right: 0; background: #edc77c; }
.class-stage { position: relative; align-self: stretch; grid-column: 1; grid-row: 1 / 4; min-height: 470px; isolation: isolate; }
.class-stage > img { position: absolute; height: 590px; width: 100%; bottom: -60px; left: 0; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 7px 20px #001d3570); transition: opacity 140ms ease; }
.class-stage[data-tone="purple"] > img { height: 545px; width: 116%; max-width: none; left: -8%; }
.class-stage.changing > img { opacity: 0; }
.class-watermark { position: absolute; z-index: -1; left: 0; bottom: 15px; writing-mode: vertical-rl; transform: rotate(180deg); font: 700 51px/1 Georgia, serif; letter-spacing: .06em; color: #eefaff19; }
.class-aura { position: absolute; z-index: -1; width: 115%; height: 90%; bottom: -15px; left: -5%; background: radial-gradient(ellipse, #7abbd250, transparent 66%); }
.class-stage[data-tone="red"] .class-aura { background: radial-gradient(ellipse, #ebb8943d, transparent 66%); }
.class-stage[data-tone="purple"] .class-aura { background: radial-gradient(ellipse, #b8a3e360, transparent 66%); }
.class-stage[data-tone="gold"] .class-aura { background: radial-gradient(ellipse, #e9c87d45, transparent 66%); }
.class-detail { grid-column: 2; padding-top: 24px; }
.class-index { font-size: 10px; color: #c6aa77; letter-spacing: .12em; text-transform: uppercase; }
.class-detail h3 > span { font: 400 38px/1.35 Georgia, serif; color: #f3dec0; }
.class-detail h3 small { display: block; font-size: 17px; font-weight: 500; color: #e5ecf0; margin-top: 5px; }
.class-detail > p[data-class-description] { color: #dce6eb; font-size: 14px; margin-top: 14px; max-width: 425px; min-height: 49px; }
.builds { display: flex; align-items: center; gap: 16px; margin: 19px 0; }
.builds > span { font-size: 10px; color: #bdccd4; }
.builds > div { display: flex; gap: 9px; }
.builds b { display: inline-block; font: 600 12px/1.5 Georgia, serif; color: #f6c2a6; border: 1px solid #db907967; padding: 4px 14px; background: #162a364d; }
.builds b:nth-child(2) { color: #a5d9f5; border-color: #8ec4e47d; }
.class-prompt { font-size: 12px; color: #d0dfe6; }
.class-note { font-size: 10px; color: #aebfca; margin-top: 10px; }
.schedule-section { padding: 25px max(40px, calc((100% - 1200px) / 2)) 30px; color: #47371f; background: linear-gradient(100deg, #f1dba9, #e7c891 50%, #f4dfb5); border-block: 4px double #987845; }
.schedule-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 21px; }
.schedule-heading .eyebrow { display: none; }
.schedule-heading h2 { font-size: 19px; letter-spacing: 0; }
.schedule-heading > p:last-child { color: #705c3b; font-size: 11px; margin: 0; }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-card { display: flex; gap: 19px; padding: 0 25px; border-left: 1px solid #92724355; }
.timeline-card:first-child { border: 0; padding-left: 0; }
.timeline-card:last-child { padding-right: 0; }
.stage-marker { color: #8f713d; font: 400 35px/1.3 Georgia, serif; }
.stage-marker i { display: none; }
.stage-status { color: #765d32; font-size: 10px; margin-bottom: 3px; }
.stage-content h3 { font-size: 18px; font-weight: 700; }
.stage-dates { margin-top: 8px; line-height: 1.8; }
.stage-dates time { display: block; font-size: 12px; font-variant-numeric: tabular-nums; }
.stage-dates small { margin-right: 7px; font-size: 10px; color: #715b38; }
.stage-note { font-size: 10px; color: #705c3b; margin-top: 6px; }
.timeline-card.active .stage-status { color: #255638; font-weight: 700; }
.cbt-section { padding: 30px max(40px, calc((100% - 1200px) / 2)); background: #f8f2e8; color: #4f4431; }
.cbt-card { display: flex; align-items: center; gap: 28px; }
.reward-stamp { flex-shrink: 0; width: 76px; height: 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #bca473; outline: 1px solid #bca47350; outline-offset: 5px; color: #82653a; }
.reward-stamp span { font: 600 25px Georgia, serif; }
.reward-stamp small { font-size: 9px; letter-spacing: .12em; margin-top: 7px; }
.cbt-copy { flex: 1; }
.cbt-copy .eyebrow { margin-bottom: 6px; color: #99783e; font-size: 9px; }
.cbt-copy h2 { font-size: 23px; }
.cbt-copy > p:not(.eyebrow) { font-size: 12px; color: #7a6b54; margin-top: 8px; }
.cbt-copy a { display: inline-block; color: #785821; font-size: 12px; margin-top: 9px; text-decoration: underline; text-underline-offset: 4px; }
.reward-name { display: none; }
.preregister-section { position: relative; isolation: isolate; padding: 60px 24px 40px; background: #244655 url('/assets/scenes/academy-daylight-1920-v1.webp') center center / cover; }
.preregister-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #0c293ed9, #14374545 65%); }
.registration-panel { width: min(650px, 100%); margin-inline: auto; background: linear-gradient(130deg, #1e495bee, #153440fa); padding: 38px 55px 30px; border: 1px solid #d9ba77; box-shadow: 0 12px 45px #001e3860, inset 0 0 0 5px #17394b, inset 0 0 0 6px #d2b77960; }
.preregister-copy { text-align: center; }
.preregister-copy .eyebrow { justify-content: center; font-size: 9px; margin-bottom: 10px; }
.preregister-copy .eyebrow > span { display: none; }
.preregister-copy h2 { color: #f4d595; font-size: 31px; font-weight: 650; letter-spacing: -.035em; }
.preregister-copy > p:not(.eyebrow) { font-size: 13px; color: #dce7e9; margin-top: 10px; }
.registration-count { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-top: 13px; }
.registration-count strong { font-size: 22px; color: #f4d595; font-variant-numeric: tabular-nums; }
.registration-count span { font-size: 11px; color: #c4d5dc; }
.preregister-form { margin-top: 20px; }
.form-heading { text-align: center; }
.form-heading > span { display: block; border: 1px solid #e4c68a45; background: #ffe3a80a; color: #f3d69d; padding: 8px 9px; font-size: 12px; }
.form-heading h3 { display: none; }
.form-heading > p { margin-top: 12px; font-size: 11px; color: #c9d9e0; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.consent { display: flex; align-items: flex-start; gap: 9px; font-size: 11px; margin: 17px 0; color: #e0e8e8; }
.consent input { flex-shrink: 0; width: 16px; height: 16px; margin: 3px 0 0; accent-color: #deb970; }
.consent a { color: #f2d191; text-decoration: underline; text-underline-offset: 3px; }
.provider-buttons { display: grid; gap: 10px; }
.provider-button { display: flex; align-items: center; justify-content: center; gap: 15px; width: 100%; min-height: 64px; padding: 10px 18px; border-radius: 3px; border: 1px solid #fff9; box-shadow: 0 3px 7px #001c3040; }
.provider-button.google { background: #fcfcfc; color: #222a30; }
.provider-button.apple { background: #0c1115; color: #fff; border-color: #87929b; }
.provider-mark { width: 25px; height: 25px; flex-shrink: 0; }
.provider-copy { flex: 1; text-align: left; }
.provider-copy strong { font-size: 15px; font-weight: 600; }
.provider-copy small { display: block; font-size: 10px; opacity: .8; line-height: 1.5; }
.provider-button:disabled { opacity: .72; box-shadow: none; }
.provider-button.unavailable { opacity: .55; }
.identity-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; color: #c4d6df; font-size: 10px; line-height: 1.8; }
.identity-note > span { color: #f0cb86; }
.form-message { font-size: 13px; text-align: center; }
.form-message:not(:empty) { margin-top: 13px; padding: 9px; border: 1px solid #e7c88855; background: #08253277; }
.form-message.error { color: #ffd0c5; }
.form-message.success { color: #a9edc8; }
.access-note { width: min(650px, 100%); margin: 25px auto 0; text-align: center; color: #e1e9eb; }
.access-note > span { font-size: 11px; color: #f1d298; }
.access-note p { font-size: 11px; line-height: 1.85; margin-top: 6px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 25px max(40px, calc((100% - 1200px) / 2)); background: #0d2432; border-top: 1px solid #b5ac8a33; }
.footer-brand img { width: 130px; height: 49px; object-fit: contain; }
.footer-brand p { font-size: 10px; color: #acbcc5; margin-top: 5px; }
.footer-meta { text-align: right; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; font-size: 12px; }
.footer-links a:first-child { color: #efd09b; }
.footer-meta > span { display: block; margin-top: 14px; font-size: 10px; color: #acbcc5; }
.has-js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 300ms ease, transform 300ms var(--ease-out); }
.has-js [data-reveal].revealed { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover, .footer-links a:hover { color: #f5d48d; }
  .button-primary:hover, .header-cta:hover { background: #f7d99a; }
  .button-ghost:hover, .music-control:hover { background: #284759; border-color: #e7c88b; }
  .class-tab:hover { color: #ffdfa1; }
  .provider-button:not(:disabled):hover { transform: translateY(-1px); border-color: #f5ce87; }
}
@media (min-width: 1600px) {
  .hero { min-height: 810px; }
  .hero-content { padding-top: 125px; }
}
@media (max-width: 1100px) {
  .site-header { gap: 25px; padding-inline: 24px; }
  .site-nav { gap: 20px; }
  .site-nav a:last-child { display: none; }
  .hero-copy { max-width: 470px; }
  .class-explorer { column-gap: 3%; grid-template-columns: 45% minmax(0, 1fr); }
  .class-tabs { gap: 12px; }
  .milestone-grid { gap: 12px; }
  .milestone-card { padding-inline: 13px; }
  .timeline-card { padding-inline: 20px; gap: 13px; }
}
@media (max-width: 800px) {
  :root { --page: calc(100% - 40px); }
  html { scroll-padding-top: var(--header-offset, 130px); }
  .site-header { min-height: 70px; padding: 5px 20px; }
  .brand { flex-basis: 124px; }
  .brand img { width: 124px; height: 46px; }
  .site-nav { display: none; }
  .header-actions { gap: 9px; }
  .header-cta { padding: 9px 19px; }
  .hero { min-height: 710px; }
  .hero-art { object-position: 61% top; }
  .hero-shade { background: linear-gradient(90deg, #0c2335eb, #122c4088 40%, transparent 80%), linear-gradient(0deg, #0d283be6, transparent 48%); }
  .hero-content { padding: 85px 15px 100px; }
  .hero-copy { max-width: 430px; }
  h1 { font-size: 41px; }
  .hero-lead { font-size: 16px; }
  .hero-bottom { padding-inline: 30px; }
  .hero-bottom > span:last-child { display: none; }
  .milestones-section { padding: 49px 28px 35px; }
  .milestone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .milestone-card { padding-inline: 20px; }
  .milestone-rewards { min-height: 68px; }
  .class-explorer { grid-template-columns: 43% minmax(0, 1fr); min-height: 595px; padding-top: 40px; }
  .classes-heading h2 { font-size: 29px; }
  .classes-heading p:last-child { font-size: 12px; }
  .class-stage > img { height: 510px; width: 132%; max-width: none; left: -23%; }
  .class-stage[data-tone="purple"] > img { height: 480px; width: 140%; left: -22%; }
  .class-tabs { gap: 8px; margin-top: 15px; }
  .class-tab { font-size: 11px; }
  .class-detail h3 > span { font-size: 30px; }
  .class-detail > p[data-class-description] { font-size: 12px; }
  .builds { gap: 9px; flex-wrap: wrap; }
  .schedule-section { padding-inline: 25px; }
  .timeline-card { padding-inline: 14px; gap: 8px; }
  .stage-marker { font-size: 24px; }
  .stage-content h3 { font-size: 15px; }
  .stage-dates time { font-size: 11px; }
  .stage-dates small { display: block; line-height: 1.5; margin-top: 5px; }
  .cbt-section { padding-inline: 30px; }
  .cbt-copy h2 { font-size: 20px; }
  .site-footer { padding-inline: 30px; gap: 22px; }
  .footer-links { gap: 13px; font-size: 11px; }
}
@media (max-width: 540px) {
  :root { --page: calc(100% - 36px); }
  .site-header { padding-inline: 14px; gap: 8px; min-height: 65px; }
  .brand { flex-basis: 108px; }
  .brand img { width: 108px; height: 42px; }
  .header-cta { font-size: 11px; padding: 9px 13px; }
  .music-control { min-width: 42px; min-height: 38px; padding: 8px; }
  .music-control > span:last-child { display: none; }
  .hero { min-height: 880px; }
  .hero-art { width: 100%; height: 380px; object-position: 72% center; }
  .hero-shade { background: linear-gradient(0deg, #122f43 5%, #122f43 56%, #122f4380 64%, transparent 90%); }
  .hero-content { padding: 335px 7px 75px; }
  .hero-copy { max-width: none; }
  .eyebrow { font-size: 9px; letter-spacing: .15em; gap: 9px; }
  h1 { font-size: clamp(31px, 8.3vw, 41px); }
  .hero-lead { font-size: 14px; margin-top: 17px; }
  .hero-actions { gap: 9px; margin-top: 24px; }
  .button { font-size: 12px; min-height: 47px; padding: 10px 14px; gap: 12px; }
  .launch-card { width: 100%; margin-top: 26px; }
  .launch-copy { max-width: 100%; }
  .hero-bottom { padding: 13px 24px; letter-spacing: .05em; font-size: 8px; }
  .hero-bottom a { font-size: 11px; }
  .milestones-section { padding: 42px 20px 29px; }
  .section-heading h2 { font-size: 27px; }
  .milestones-heading .section-heading > p:last-child { font-size: 12px; padding-inline: 8px; }
  .milestone-total > span { display: block; margin: 0 0 3px; }
  .milestone-total strong { font-size: 26px; }
  .milestone-total small { font-size: 10px; margin-left: 7px; }
  .milestone-grid { gap: 17px 12px; }
  .milestone-card { padding: 18px 11px 0; }
  .milestone-card header > span { font-size: 8px; }
  .milestone-card header strong { font-size: 26px; }
  .reward-art { height: 128px; }
  .item-medallion { width: 80px; height: 80px; }
  .item-sprite { transform: scale(1.65); }
  .item-medallion.secondary { width: 62px; height: 62px; margin-left: -25px; }
  .secondary .item-sprite { transform: scale(1.3); }
  .reward-quantity { bottom: 11px; font-size: 11px; padding-inline: 12px; }
  .milestone-rewards { font-size: 11px; min-height: 87px; line-height: 1.65; }
  .milestone-rewards p + p { font-size: 10px; }
  .milestone-card footer { font-size: 9px; gap: 6px; margin-top: 10px; min-height: 43px; }
  .milestone-note { font-size: 9px; line-height: 1.9; }
  .class-explorer { display: flex; flex-direction: column; width: 100%; padding: 35px 22px 29px; min-height: 0; }
  .classes-heading { text-align: center; }
  .classes-heading .eyebrow { justify-content: center; }
  .classes-heading .eyebrow > span { display: none; }
  .classes-heading p:last-child { margin-top: 10px; }
  .class-tabs { gap: 12px; margin-top: 18px; }
  .class-tab { font-size: 12px; padding: 12px 0; }
  .class-stage { min-height: 0; height: 350px; flex-shrink: 0; margin-top: 12px; overflow: hidden; }
  .class-stage > img { height: 390px; width: 100%; max-width: 100%; left: 0; bottom: -52px; }
  .class-stage[data-tone="purple"] > img { height: 370px; width: 110%; max-width: none; left: -5%; bottom: -20px; }
  .class-watermark { font-size: 42px; left: 0; bottom: 20px; }
  .class-detail { position: relative; padding: 20px 2px 0; border-top: 1px solid #a8c3ce38; }
  .class-detail h3 > span { font-size: 32px; }
  .class-detail h3 small { display: inline; font-size: 14px; margin-left: 13px; }
  .class-detail > p[data-class-description] { min-height: 0; font-size: 13px; }
  .class-index { font-size: 9px; }
  .class-prompt { font-size: 11px; }
  .class-note { font-size: 9px; }
  .schedule-section { padding: 25px 26px; }
  .schedule-heading { display: block; margin-bottom: 20px; text-align: center; }
  .schedule-heading h2 { font-size: 20px; }
  .schedule-heading > p:last-child { margin-top: 5px; }
  .timeline { grid-template-columns: 1fr; gap: 19px; }
  .timeline-card, .timeline-card:first-child, .timeline-card:last-child { border: 0; padding: 0 0 19px; gap: 19px; border-bottom: 1px solid #84663940; }
  .timeline-card:last-child { padding-bottom: 0; border: 0; }
  .stage-marker { font-size: 35px; width: 38px; padding-top: 5px; }
  .stage-content h3 { font-size: 17px; }
  .stage-dates small { display: inline; margin: 0 7px 0 0; }
  .stage-dates { margin-top: 5px; }
  .stage-dates time { font-size: 12px; }
  .cbt-section { padding: 27px 24px; }
  .cbt-card { align-items: flex-start; gap: 17px; }
  .reward-stamp { width: 49px; height: 64px; margin-top: 7px; }
  .reward-stamp span { font-size: 20px; }
  .reward-stamp small { font-size: 7px; }
  .cbt-copy h2 { font-size: 18px; }
  .cbt-copy > p:not(.eyebrow) { font-size: 11px; }
  .cbt-copy .eyebrow { font-size: 8px; }
  .cbt-copy .eyebrow > span { display: none; }
  .cbt-copy a { font-size: 10px; }
  .preregister-section { padding: 36px 17px 30px; background-image: url('/assets/scenes/academy-daylight-960-v1.webp'); }
  .registration-panel { padding: 30px 22px 24px; }
  .preregister-copy h2 { font-size: 27px; }
  .preregister-copy > p:not(.eyebrow) { font-size: 12px; }
  .form-heading > span { font-size: 11px; }
  .consent { font-size: 10px; }
  .provider-button { padding-inline: 14px; gap: 10px; }
  .provider-copy strong { font-size: 12px; }
  .provider-copy small { font-size: 9px; }
  .provider-mark { width: 23px; height: 23px; }
  .identity-note { font-size: 9px; }
  .access-note p { font-size: 10px; }
  .site-footer { display: block; padding: 24px; text-align: center; }
  .footer-brand img { margin-inline: auto; }
  .footer-meta { margin-top: 20px; text-align: center; }
  .footer-links { justify-content: center; gap: 17px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
  .has-js [data-reveal] { opacity: 1; transform: none; }
}

/* Navigation and bilingual controls: all sections stay reachable at every width. */
.site-nav a { position: relative; white-space: nowrap; }
.site-nav a[aria-current="location"] { color: #f5d48d; }
.site-nav a[aria-current="location"]::after { content: ""; position: absolute; bottom: 1px; left: 0; right: 0; height: 2px; background: #e7bd70; }
.header-cta[aria-current="location"] { outline: 2px solid #ffe5b0; outline-offset: 3px; }
.language-switch { display: flex; border: 1px solid #91a9b650; border-radius: 3px; padding: 3px; flex-shrink: 0; background: #152c3c; }
.language-switch button { min-height: 32px; min-width: 30px; padding: 4px; border: 0; border-radius: 2px; background: transparent; color: #bdcdd6; font: 600 11px/1 Arial, sans-serif; }
.language-switch button[aria-pressed="true"] { background: #e7c285; color: #182d3a; }
.language-switch button:active { transform: scale(.97); }
.site-header { gap: 28px; }
.site-nav { gap: 22px; }
.header-actions { gap: 10px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 320px; margin-top: 6px; }
.countdown > div { display: flex; align-items: baseline; gap: 6px; }
.countdown [data-time-value] { font-size: 28px; line-height: 1.6; font-weight: 650; min-width: 2ch; }
.countdown small { margin: 0; white-space: nowrap; font-size: 10px; }
main:focus, main > section:focus { outline: none; }
html[lang="en"] h1 { font-size: clamp(34px, 3.5vw, 50px); }
html[lang="en"] .hero-copy { max-width: 570px; }
html[lang="en"] .hero-lead { font-size: 17px; }
html[lang="en"] .eyebrow { letter-spacing: .12em; }
html[lang="en"] .preregister-copy h2 { font-size: 30px; }
html[lang="en"] .countdown > div { display: block; }
html[lang="en"] .countdown small { display: block; line-height: 1.1; padding-bottom: 7px; }
.content { width: min(840px, calc(100% - 48px)); margin: 50px auto 70px; padding: 45px; background: #f7f1e6; color: #3c392f; border: 1px solid #c1a16c; }
.content h1 { font-size: 44px; color: #684e29; text-shadow: none; margin: 15px 0 25px; }
.content h2 { font-size: 23px; margin: 30px 0 12px; }
.content p, .content li { font-size: 15px; line-height: 1.9; }
.content .eyebrow { color: #85612d; font-size: 11px; }
.content a { color: #785016; text-decoration: underline; text-underline-offset: 3px; }
.content .notice { padding: 20px; background: #efe3cb; border-left: 3px solid #b08c4f; }
@media (max-width: 1150px) {
  .site-header { gap: 18px; }
  .site-nav { gap: 16px; }
  .site-nav a:last-child { display: block; }
  .site-nav a { font-size: 12px; }
  .music-control { min-width: 42px; }
  .music-control > span:last-child { display: none; }
  .header-cta { padding-inline: 16px; }
}
@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; row-gap: 0; padding-block: 5px 0; }
  .site-nav { display: flex; order: 3; flex: 0 0 100%; justify-content: center; overflow-x: auto; gap: 25px; border-top: 1px solid #92a5b421; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a, .site-nav a:last-child { display: block; padding: 11px 0; font-size: 12px; }
  .header-actions { margin-left: auto; }
  .header-cta { min-height: 38px; }
  .content { padding: 30px; }
}
@media (max-width: 540px) {
  .site-header { column-gap: 8px; padding-inline: 12px; }
  .brand { flex-basis: 90px; }
  .brand img { width: 90px; }
  .header-actions { gap: 6px; }
  .header-cta { padding: 9px 10px; font-size: 10px; }
  .language-switch { padding: 2px; }
  .language-switch button { min-width: 27px; min-height: 32px; font-size: 10px; }
  .music-control { min-width: 36px; padding: 7px; }
  .site-nav { gap: 23px; }
  .site-nav a, .site-nav a:last-child { font-size: 10px; padding: 10px 0; }
  .countdown { gap: 10px; max-width: 305px; }
  .countdown [data-time-value] { font-size: 26px; }
  .countdown small { font-size: 9px; }
  html[lang="en"] h1 { font-size: clamp(31px, 8vw, 40px); }
  html[lang="en"] .hero-lead { font-size: 14px; }
  html[lang="en"] .hero-actions .button { font-size: 12px; }
  html[lang="en"] .preregister-copy h2 { font-size: 25px; }
  .content { width: calc(100% - 28px); padding: 25px 20px; margin: 25px auto 40px; }
  .content h1, html[lang="en"] .content h1 { font-size: 32px; }
  .content p, .content li { font-size: 14px; }
}

/* Responsive section rhythm: minimums create a stage; content can always grow. */
:root {
  --header-height: calc(var(--header-offset, 98px) - 16px);
  --section-space: clamp(44px, 5vw, 80px);
  --compact-space: clamp(36px, 3.8vw, 56px);
}
.hero {
  display: flex;
  flex-direction: column;
  min-height: min(960px, calc(100svh - var(--header-height)));
}
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(28px, 4svh, 64px);
}
.hero-copy { max-width: 550px; }
.hero-copy .eyebrow { margin-bottom: 14px; }
.hero-lead { margin-top: 16px; }
.hero-actions { margin-top: 22px; }
.hero-date { margin-top: 14px; }
.launch-card { margin-top: 22px; padding-top: 13px; }
.hero-bottom { position: relative; flex-shrink: 0; padding-block: 12px; }
.countdown > div, html[lang="en"] .countdown > div { display: block; }
.countdown small, html[lang="en"] .countdown small { display: block; line-height: 1.2; margin: 0; padding-bottom: 8px; }
.milestones-section { padding-block: var(--section-space); }
.milestone-progress { margin-block: 18px 24px; }
.milestone-note { margin-top: 22px; }
.class-explorer {
  min-height: min(900px, calc(100svh - var(--header-height)));
  grid-template-rows: auto auto auto;
  align-content: center;
  padding-block: clamp(40px, 5.5svh, 72px);
}
.class-stage { min-height: clamp(430px, 62svh, 650px); }
.class-stage > img { height: calc(100% + 24px); bottom: -20px; }
.class-stage[data-tone="purple"] > img { height: 100%; bottom: -12px; }
.schedule-section, .cbt-section { padding-block: var(--compact-space); }
.schedule-heading { align-items: baseline; gap: 16px; margin-bottom: 28px; }
.schedule-heading h2 { font-size: clamp(22px, 2.1vw, 28px); }
.schedule-heading > p:last-child { font-size: 12px; }
.stage-content h3 { font-size: clamp(17px, 1.7vw, 22px); }
.stage-dates time { font-size: 13px; }
.stage-note { font-size: 11px; max-width: 32ch; }
.cbt-card { max-width: 1100px; margin-inline: auto; gap: 32px; }
.cbt-copy h2 { font-size: clamp(23px, 2.3vw, 30px); }
.cbt-copy > p:not(.eyebrow) { max-width: 85ch; font-size: 14px; line-height: 1.8; }
.cbt-copy a { margin-top: 13px; font-size: 13px; }
.preregister-section { padding-block: clamp(48px, 6svh, 80px); }
.access-note { margin-top: 24px; }

@media (min-width: 801px) and (max-height: 800px) {
  .hero-content { padding-block: 24px; }
  .hero-copy .eyebrow { font-size: 10px; margin-bottom: 12px; }
  .hero h1, html[lang="en"] .hero h1 { font-size: clamp(34px, 3.3vw, 46px); }
  .hero-lead, html[lang="en"] .hero-lead { font-size: 16px; line-height: 1.65; }
  .hero-actions { margin-top: 18px; }
  .hero-actions .button { min-height: 48px; }
  .hero-date { margin-top: 12px; font-size: 13px; }
  .launch-card { margin-top: 18px; }
  .class-explorer { padding-block: 36px; }
}
@media (min-width: 541px) and (max-width: 800px) {
  .hero { min-height: min(880px, calc(100svh - var(--header-height))); }
  .hero-content { padding: 48px 10px; }
  .class-explorer { min-height: 0; padding-block: 48px; }
  .class-stage { min-height: 450px; }
  .class-stage > img { width: 132%; left: -23%; }
  .class-stage[data-tone="purple"] > img { width: 140%; left: -22%; }
  .timeline-card { padding-inline: 12px; }
  .stage-marker { font-size: 23px; }
  .stage-dates time { font-size: 12px; }
}
@media (max-width: 540px) {
  :root { --section-space: 48px; --compact-space: 36px; }
  .hero { min-height: 0; background: #122f43; }
  .hero-art {
    position: relative;
    inset: auto;
    flex-shrink: 0;
    height: clamp(240px, 82vw, 380px);
    object-position: 72% 42%;
  }
  .hero-shade { height: clamp(240px, 82vw, 380px); background: linear-gradient(0deg, #122f43, #122f4366 25%, transparent 65%); }
  .hero-content { flex: none; width: calc(100% - 40px); padding: 0 0 30px; margin-top: -28px; }
  .hero-copy { max-width: none; }
  .hero h1, html[lang="en"] .hero h1 { font-size: clamp(30px, 8.2vw, 40px); }
  .hero-copy .eyebrow { margin-bottom: 12px; font-size: 9px; }
  .hero-lead, html[lang="en"] .hero-lead { font-size: 14px; line-height: 1.75; margin-top: 16px; }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .hero-actions .button { flex: 1 1 auto; min-height: 48px; padding-inline: 13px; }
  .hero-date { font-size: 12px; margin-top: 16px; }
  .launch-card { width: 100%; max-width: 380px; margin-top: 24px; padding-top: 16px; }
  .countdown { max-width: none; }
  .countdown [data-time-value] { font-size: 28px; }
  .launch-copy { max-width: none; line-height: 1.75; }
  .hero-bottom { padding: 13px 20px; }
  .class-explorer { min-height: 0; padding: var(--section-space) 22px; }
  .class-stage { min-height: 0; height: clamp(280px, 82vw, 400px); margin-top: 20px; }
  .class-stage > img { height: calc(100% + 38px); width: 100%; max-width: 100%; left: 0; bottom: -24px; }
  .class-stage[data-tone="purple"] > img { height: calc(100% + 12px); width: 110%; max-width: none; left: -5%; bottom: -12px; }
  .class-detail { padding-top: 22px; }
  .schedule-heading { margin-bottom: 26px; }
  .schedule-heading h2 { font-size: 23px; }
  .schedule-heading > p:last-child { margin-top: 9px; font-size: 11px; }
  .timeline { gap: 24px; }
  .timeline-card, .timeline-card:first-child { padding-bottom: 24px; }
  .timeline-card:last-child { padding-bottom: 0; }
  .stage-marker { font-size: 34px; }
  .stage-content h3 { font-size: 18px; }
  .stage-dates time { font-size: 12px; }
  .cbt-card { gap: 20px; }
  .cbt-copy h2 { font-size: 22px; }
  .cbt-copy > p:not(.eyebrow) { font-size: 13px; }
  .cbt-copy a { font-size: 12px; }
  .preregister-section { padding: var(--section-space) 16px; }
  .registration-panel { padding: 32px 24px; }
}
@media (max-width: 360px) {
  .brand { flex-basis: 72px; }
  .brand img { width: 72px; }
  .header-actions { gap: 4px; }
  .header-cta { padding-inline: 8px; }
  .language-switch button { min-width: 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .milestone-grid { gap: 16px 12px; }
  .registration-panel { padding-inline: 20px; }
}
