:root {
  --hearth: #a5543b;
  --hearth-dark: #7f3f2e;
  --teal: var(--hearth);
  --teal-dark: var(--hearth-dark);
  --ink: #432f26;
  --gold: #c7873f;
  --gold-light: #f3c982;
  --brand-deep: #5a3227;
  --brand-coral: #f45f58;
  --mist: #fbf4ea;
  --white: #fffaf4;
  --body: #655047;
  --muted: #8a756a;
  --line: rgba(95, 57, 41, .16);
  --danger: #a9423d;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --sans: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; min-width: 320px; color: var(--ink); background: radial-gradient(circle at 50% 0, rgba(244,149,98,.09), transparent 32rem), var(--mist); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open, body.dialog-open { overflow: hidden; }
body.menu-open { overscroll-behavior: none; touch-action: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 2000; top: 12px; left: 12px; padding: 10px 14px; border-radius: 8px; color: #fff; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-shell, .nav-shell, .footer-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: fixed; z-index: 100; top: 0; right: 0; left: 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,.17); transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-header.scrolled, .site-header.menu-active { color: var(--ink); border-color: var(--line); background: rgba(251,244,234,.95); box-shadow: 0 12px 36px rgba(91,50,34,.09); }
.site-header.scrolled { backdrop-filter: blur(18px); }
.site-header.menu-active { background: #fbf4ea; box-shadow: none; backdrop-filter: none; }
.nav-shell { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 5px 10px rgba(241,93,88,.18)); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { color: inherit; font-family: var(--sans); font-size: 18px; font-weight: 800; letter-spacing: .08em; }
.brand-copy small { color: inherit; font-size: 8px; font-weight: 700; letter-spacing: .18em; opacity: .68; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.site-nav a { position: relative; padding: 10px 0; font-size: 13px; font-weight: 650; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-cta { min-height: 42px; padding: 0 18px; border: 1px solid rgba(255,255,255,.5); border-radius: 9px; color: #fff; background: rgba(255,255,255,.09); font-size: 13px; font-weight: 750; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.header-cta:hover { border-color: var(--gold-light); background: rgba(217,154,61,.18); }
.site-header.scrolled .header-cta, .site-header.menu-active .header-cta { border-color: var(--teal); color: #fff; background: var(--teal); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: max(720px, 100svh); overflow: hidden; color: #fffaf4; background: #382219; }
.hero-media, .hero-media img, .hero-wash { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center 45%; filter: sepia(.23) saturate(1.03) brightness(.88) contrast(.91); transform: scale(1.015); }
.hero-wash { background: radial-gradient(circle at 77% 51%, rgba(225,143,74,.24), transparent 31%), linear-gradient(90deg, rgba(55,31,23,.95) 0%, rgba(75,40,27,.83) 36%, rgba(91,49,28,.34) 68%, rgba(62,33,23,.18) 100%), linear-gradient(0deg, rgba(43,24,18,.48), rgba(95,52,31,.06) 60%); }
.hero-content { position: relative; z-index: 2; min-height: max(720px, 100svh); padding-top: 150px; padding-bottom: 104px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.eyebrow { margin: 0 0 25px; }
.eyebrow span { padding: 8px 12px; border: 1px solid rgba(239,201,130,.48); border-radius: 999px; color: var(--gold-light); background: rgba(217,154,61,.1); font-size: 11px; font-weight: 750; letter-spacing: .12em; }
.hero h1 { max-width: 800px; margin: 0; font-family: var(--serif); font-size: clamp(62px, 8vw, 112px); font-weight: 600; letter-spacing: -.055em; line-height: .98; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-lead { max-width: 630px; margin: 32px 0 0; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.9; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 13px; }
.button { min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 750; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--teal); box-shadow: 0 12px 28px rgba(111,55,37,.24); }
.button-primary:hover { background: var(--teal-dark); box-shadow: 0 16px 34px rgba(91,42,29,.3); }
.hero .button-primary { color: var(--ink); background: var(--gold-light); box-shadow: 0 12px 32px rgba(217,154,61,.19); }
.hero .button-primary:hover { background: #f5d696; }
.button-ghost { border-color: rgba(255,255,255,.46); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: rgba(255,255,255,.76); background: rgba(255,255,255,.15); }
.button-gold { color: var(--ink); background: var(--gold-light); }
.button-outline-light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.hero-boundary { margin: 26px 0 0; color: rgba(255,255,255,.68); font-size: 12px; }
.hero-boundary span { margin-right: 7px; color: var(--gold-light); }
.scroll-cue { position: absolute; z-index: 3; right: max(24px, calc((100vw - 1240px) / 2)); bottom: 36px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.66); font-size: 10px; letter-spacing: .14em; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 50px; background: linear-gradient(var(--gold-light), transparent); }

.section-label { margin: 0 0 22px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.section-label.light { color: var(--gold-light); }
.intro { padding-block: clamp(100px, 12vw, 174px); }
.intro-grid { display: grid; grid-template-columns: 1fr .76fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.intro h2, .program h2, .weekly h2, .join h2, .safety h2, .events h2, .about h2, .final-card h2 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -.04em; }
.intro h2 { font-size: clamp(45px, 6vw, 78px); line-height: 1.18; }
.intro-copy p { margin: 0; color: var(--body); font-size: 17px; line-height: 1.95; }
.text-link { width: fit-content; margin-top: 30px; padding-bottom: 5px; border-bottom: 1px solid var(--teal); display: inline-flex; gap: 10px; color: var(--teal); font-size: 14px; font-weight: 750; }
.value-grid { margin-top: 88px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-card { min-height: 250px; padding: 32px 30px; border-right: 1px solid var(--line); }
.value-card:last-child { border-right: 0; }
.value-card > span { color: var(--gold); font-size: 11px; font-weight: 800; }
.value-card h3 { margin: 76px 0 13px; font-family: var(--serif); font-size: 26px; }
.value-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.program { padding-block: clamp(100px, 12vw, 160px); color: #fff8ef; background: linear-gradient(145deg, #553126 0%, #3a261f 72%, #32221c 100%); }
.program-heading { display: grid; grid-template-columns: 1.25fr .62fr; gap: clamp(50px, 8vw, 110px); align-items: end; }
.program h2 { font-size: clamp(42px, 5.5vw, 70px); line-height: 1.2; }
.program-heading > p { margin: 0; color: rgba(255,255,255,.62); line-height: 1.9; }
.phase-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.phase-card { min-height: 430px; padding: 32px; border: 1px solid rgba(255,239,222,.14); border-radius: 20px; display: flex; flex-direction: column; background: rgba(255,244,232,.045); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.phase-card:hover { transform: translateY(-6px); border-color: rgba(239,201,130,.46); background: rgba(255,255,255,.06); }
.phase-top { display: flex; align-items: center; justify-content: space-between; color: var(--gold-light); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.phase-top i { width: 36px; height: 1px; background: currentColor; }
.phase-card h3 { margin: 90px 0 17px; font-family: var(--serif); font-size: 30px; }
.phase-card p { margin: 0; color: rgba(255,255,255,.65); line-height: 1.8; }
.phase-card ul { margin: auto 0 0; padding: 23px 0 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.phase-card li { padding: 6px 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(255,255,255,.62); font-size: 11px; }
.program-note { margin-top: 25px; padding: 20px 24px; border-left: 3px solid var(--gold); display: grid; grid-template-columns: 96px 1fr; gap: 20px; background: rgba(255,255,255,.05); }
.program-note strong { color: var(--gold-light); font-size: 13px; }
.program-note p { margin: 0; color: rgba(255,255,255,.63); font-size: 13px; line-height: 1.75; }

.weekly { padding-block: clamp(105px, 13vw, 180px); display: grid; grid-template-columns: .85fr 1fr; gap: clamp(70px, 10vw, 140px); align-items: center; }
.weekly-visual { position: relative; min-height: 530px; padding: 50px; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; color: #fffaf4; background: radial-gradient(circle at 76% 72%, rgba(245,183,106,.24), transparent 34%), linear-gradient(145deg, #b56343, #7f422f); box-shadow: 0 28px 68px rgba(105,55,36,.18); }
.weekly-visual::before { content: ""; position: absolute; width: 420px; height: 420px; right: -130px; bottom: -150px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.035), 0 0 0 100px rgba(255,255,255,.025); }
.week-number { color: rgba(255,255,255,.2); font-family: Georgia, serif; font-size: 146px; line-height: .8; }
.weekly-visual p { position: relative; z-index: 2; margin: 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.8; }
.weekly-visual strong { color: #fff; font-family: var(--serif); font-size: 25px; font-weight: 600; }
.orbit { position: absolute; right: 32px; bottom: 32px; width: 190px; height: 190px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.orbit::before { content: ""; position: absolute; inset: 40px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.orbit span { position: absolute; width: 12px; height: 12px; border: 3px solid var(--teal); border-radius: 50%; background: var(--gold-light); }
.orbit span:nth-child(1){top:-6px;left:50%}.orbit span:nth-child(2){top:22%;right:3px}.orbit span:nth-child(3){right:17%;bottom:7px}.orbit span:nth-child(4){bottom:-5px;left:36%}.orbit span:nth-child(5){top:55%;left:-5px}.orbit span:nth-child(6){top:12%;left:13%}
.weekly h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1.22; }
.session-list { margin: 45px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.session-list li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 42px 1fr; gap: 15px; }
.session-list li > span { padding-top: 4px; color: var(--gold); font-size: 10px; font-weight: 800; }
.session-list div { display: grid; gap: 6px; }
.session-list strong { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.session-list small { color: var(--muted); font-size: 13px; }

.join { padding-block: clamp(100px, 12vw, 160px); background: #f4e7d7; }
.join-heading { max-width: 780px; }
.join h2 { font-size: clamp(44px, 6vw, 76px); line-height: 1.16; }
.join-heading > p:last-child { max-width: 650px; margin: 27px 0 0; color: var(--body); line-height: 1.85; }
.join-flow { margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; counter-reset: flow; }
.join-flow li { position: relative; min-height: 150px; padding-right: 20px; }
.join-flow li::after { content: ""; position: absolute; top: 20px; right: 0; left: 58px; height: 1px; background: rgba(165,84,59,.28); }
.join-flow li:last-child::after { display: none; }
.join-flow span { position: relative; z-index: 2; width: 40px; height: 40px; border: 1px solid var(--teal); border-radius: 50%; display: grid; place-items: center; color: var(--teal); background: #f4e7d7; font-size: 12px; font-weight: 800; }
.join-flow p { margin: 20px 0 0; color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.6; }
.join-rights { margin-top: 46px; padding: 25px 28px; border: 1px solid rgba(165,84,59,.2); border-radius: 18px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: rgba(255,250,244,.72); box-shadow: 0 18px 44px rgba(111,64,42,.06); }
.join-rights p { max-width: 790px; margin: 0; color: var(--body); font-size: 14px; line-height: 1.8; }
.join-rights strong { color: var(--ink); }

.safety { padding-block: clamp(105px, 13vw, 176px); }
.safety-heading { display: grid; grid-template-columns: 1fr .65fr; gap: 80px; align-items: end; }
.safety h2 { font-size: clamp(44px, 5.8vw, 74px); line-height: 1.17; }
.safety-heading > p { margin: 0; color: var(--body); line-height: 1.9; }
.safety-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.safety-card { min-height: 260px; padding: 35px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.safety-card span { color: var(--gold); font-size: 10px; font-weight: 800; }
.safety-card h3 { margin: 55px 0 13px; font-family: var(--serif); font-size: 25px; }
.safety-card p { max-width: 480px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.safety-action { margin-top: 28px; padding: 24px 28px; border-left: 3px solid var(--danger); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: rgba(155,58,55,.055); }
.safety-action p { margin: 0; color: var(--body); font-size: 13px; line-height: 1.7; }
.safety-action strong { color: var(--danger); }
.text-button { padding: 8px 0; border: 0; color: var(--danger); background: transparent; font-size: 13px; font-weight: 750; cursor: pointer; }

.events { padding-block: clamp(95px, 11vw, 150px); color: #fffaf4; background: radial-gradient(circle at 88% 20%, rgba(245,183,106,.2), transparent 28%), linear-gradient(135deg, #aa593e, #7b3f2e); }
.events-inner { display: grid; grid-template-columns: 1fr .75fr; gap: clamp(55px, 10vw, 140px); align-items: center; }
.events h2 { font-size: clamp(42px, 5.5vw, 68px); line-height: 1.2; }
.empty-event { padding: 34px; border: 1px solid rgba(255,255,255,.19); border-radius: 12px; background: rgba(255,255,255,.07); }
.empty-event > span { padding: 6px 10px; border-radius: 999px; color: var(--ink); background: var(--gold-light); font-size: 10px; font-weight: 800; }
.empty-event p { margin: 28px 0 30px; color: rgba(255,255,255,.72); line-height: 1.85; }

.about { padding-block: clamp(105px, 13vw, 180px); display: grid; grid-template-columns: .58fr 1fr; gap: clamp(70px, 10vw, 138px); align-items: center; }
.about-mark { position: relative; min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 28px; display: grid; gap: 26px; overflow: hidden; background: linear-gradient(145deg, #fffaf4 0%, #f4e3d3 100%); box-shadow: 0 28px 70px rgba(105,57,37,.12); isolation: isolate; }
.about-mark::before { content: ""; position: absolute; z-index: -1; width: 210px; height: 210px; right: -105px; bottom: -110px; border: 1px solid rgba(244,95,88,.18); border-radius: 50%; box-shadow: 0 0 0 28px rgba(244,95,88,.04), 0 0 0 56px rgba(199,135,63,.04); }
.about-symbol { position: relative; aspect-ratio: 1.18 / 1; border-radius: 22px; display: grid; place-items: center; overflow: hidden; background: var(--brand-deep); }
.about-symbol::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.075), transparent 48%); }
.about-symbol img { position: relative; width: 68%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(57,28,19,.24)); }
.about-wordmark { padding: 0 5px 3px; display: grid; grid-template-columns: 1fr auto; gap: 7px 18px; align-items: end; }
.about-wordmark span { grid-column: 1 / -1; color: var(--brand-coral); font-size: 11px; font-weight: 850; letter-spacing: .24em; }
.about-wordmark strong { color: var(--brand-deep); font-size: clamp(23px, 2vw, 29px); font-weight: 850; letter-spacing: .055em; }
.about-wordmark small { padding-bottom: 3px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.about h2 { font-size: clamp(39px, 5vw, 62px); line-height: 1.25; }
.about-copy > p:not(.section-label) { margin: 25px 0 0; color: var(--body); line-height: 1.9; }

.final-cta { padding-bottom: clamp(100px, 12vw, 160px); }
.final-card { padding: clamp(50px, 8vw, 94px); border-radius: 28px; color: #fff8ef; background: radial-gradient(circle at 88% 25%, rgba(241,165,91,.18), transparent 30%), linear-gradient(135deg, #5b3429, #3b271f); box-shadow: 0 28px 70px rgba(74,38,26,.16); }
.final-card h2 { max-width: 900px; font-size: clamp(45px, 6.6vw, 84px); line-height: 1.12; }
.final-card > a { margin-top: 35px; display: inline-block; color: rgba(255,255,255,.62); font-size: 13px; }

.site-footer { color: rgba(255,248,239,.76); background: #2f1c16; }
.footer-shell { min-height: 320px; padding-block: 64px 40px; display: grid; grid-template-columns: 1.3fr .6fr .7fr 1fr; gap: 50px; align-items: start; }
.footer-brand .brand { color: #fff; }
.footer-brand > p { margin: 24px 0 0; font-size: 12px; }
.footer-links { display: grid; gap: 13px; font-size: 12px; }
.footer-links strong { margin-bottom: 8px; color: #fff; font-size: 12px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-links button { width: fit-content; padding: 0; border: 0; color: inherit; background: none; font-size: inherit; cursor: pointer; }
.footer-links span { opacity: .5; }
.footer-note { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
.footer-note p { margin: 0; padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; color: var(--gold-light); font-size: 12px; text-align: center; }
.footer-note small { color: rgba(255,255,255,.42); font-size: 10px; }
.footer-legal { display: grid; gap: 8px; }
.beian-link { width: fit-content; color: rgba(255,255,255,.58); font-size: 11px; transition: color .2s ease; }
.police-beian-link { display: inline-flex; align-items: center; gap: 5px; }
.police-beian-link img { width: 16px; height: 17px; flex: 0 0 auto; object-fit: contain; }
.beian-link:hover, .beian-link:focus-visible { color: var(--gold-light); }
.mobile-apply { display: none; }

.status-dialog { width: min(560px, calc(100% - 32px)); padding: 42px; border: 0; border-radius: 20px; color: var(--ink); background: var(--mist); box-shadow: 0 30px 100px rgba(62,31,22,.38); }
.status-dialog::backdrop { background: rgba(54,29,21,.72); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 13px; right: 13px; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 24px; cursor: pointer; }
.dialog-tag { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.dialog-tag.danger { color: var(--danger); }
.status-dialog h2 { margin: 18px 0; font-family: var(--serif); font-size: 36px; }
.status-dialog > p { color: var(--body); line-height: 1.85; }
.dialog-note { margin: 24px 0; padding: 17px; border-left: 3px solid var(--gold); display: grid; gap: 7px; background: rgba(217,154,61,.08); }
.dialog-note strong { font-size: 13px; }.dialog-note span { color: var(--body); font-size: 13px; line-height: 1.7; }
.dialog-note.danger { border-color: var(--danger); background: rgba(155,58,55,.06); }

.brand-cursor, .brand-cursor-ring { position: fixed; z-index: 9999; top: 0; left: 0; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.brand-cursor { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; filter: drop-shadow(0 4px 7px rgba(86,42,29,.24)); transition: opacity .16s ease; }
.brand-cursor img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-cursor-ring { z-index: 9998; width: 40px; height: 40px; border: 1px solid rgba(244,95,88,.58); border-radius: 50%; background: transparent; transition: width .2s ease, height .2s ease, border-color .2s ease, background .2s ease, opacity .16s ease; }
.brand-cursor.is-visible, .brand-cursor-ring.is-visible { opacity: 1; }
.brand-cursor-ring.is-hovering { width: 54px; height: 54px; border-color: rgba(244,95,88,.82); background: rgba(244,95,88,.1); }
.custom-cursor-enabled, .custom-cursor-enabled * { cursor: none !important; }

.reveal { opacity: 1; transform: none; transition: opacity .75s ease, transform .75s ease; }
.reveal-delay { transition-delay: .12s; }.reveal-delay-1 { transition-delay: .08s; }.reveal-delay-2 { transition-delay: .16s; }.reveal-delay-3 { transition-delay: .24s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .site-nav { gap: 15px; }.site-nav a { font-size: 12px; }
  .intro-grid, .program-heading, .safety-heading, .events-inner { grid-template-columns: 1fr; gap: 35px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }.value-card:nth-child(2) { border-right: 0; }.value-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .weekly { grid-template-columns: 1fr; }.weekly-visual { min-height: 450px; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 70px; }
  .section-shell, .nav-shell, .footer-shell { width: min(100% - 32px, 1240px); }
  .site-header.menu-active { bottom: 0; min-height: 100vh; min-height: 100dvh; overflow: hidden; }
  .nav-shell { min-height: 70px; }.brand img { width: 41px; height: 41px; }.brand-copy strong { font-size: 16px; }
  .site-header.menu-active .brand { position: relative; z-index: 103; }
  .menu-toggle { position: relative; z-index: 103; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid currentColor; border-radius: 50%; display: grid; place-content: center; gap: 6px; color: inherit; background: transparent; }
  .menu-toggle span:not(.sr-only) { width: 18px; height: 1.5px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; z-index: 101; width: 100vw; height: 100vh; height: 100dvh; margin: 0; padding: 100px 28px max(40px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-start; gap: 0; overflow-y: auto; overscroll-behavior: contain; color: var(--ink); background: #fbf4ea; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }.site-nav a { width: 100%; padding: 20px 10px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 25px; }.site-nav a:first-child { border-top: 1px solid var(--line); }
  .header-cta { display: none; }
  .hero, .hero-content { min-height: max(690px, 100svh); }.hero-content { padding-top: 120px; padding-bottom: 90px; }
  .hero-media img { object-position: 58% center; }.hero-wash { background: radial-gradient(circle at 68% 45%, rgba(224,139,70,.22), transparent 42%), linear-gradient(90deg, rgba(55,31,23,.94), rgba(72,38,26,.6)), linear-gradient(0deg, rgba(43,24,18,.62), transparent 60%); }
  .hero h1 { font-size: clamp(58px, 15vw, 82px); }.hero-lead { max-width: 520px; font-size: 16px; }.scroll-cue { display: none; }
  .phase-grid { grid-template-columns: 1fr; }.phase-card { min-height: 360px; }.phase-card h3 { margin-top: 64px; }
  .join-flow { grid-template-columns: 1fr; gap: 0; }.join-flow li { min-height: 95px; padding: 0 0 0 62px; }.join-flow li::after { top: 40px; bottom: 0; left: 20px; width: 1px; height: auto; }.join-flow span { position: absolute; left: 0; top: 0; }.join-flow p { margin: 5px 0 0; }
  .about { grid-template-columns: 1fr; }.about-mark { width: min(480px,100%); margin: auto; }
  .footer-shell { grid-template-columns: repeat(2, 1fr); }.footer-brand, .footer-note { grid-column: 1 / -1; }.footer-note { gap: 30px; }
  .mobile-apply { position: fixed; z-index: 99; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); min-height: 48px; padding: 0 21px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; display: block; color: #fff; background: var(--teal); box-shadow: 0 12px 30px rgba(94,46,31,.3); font-size: 13px; font-weight: 800; }
  body.menu-open .mobile-apply { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(54px, 17vw, 74px); }.hero-lead { font-size: 15px; line-height: 1.8; }.hero-actions { width: 100%; }.hero .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.hero .hero-actions .button { min-width: 0; padding-inline: 12px; white-space: nowrap; }
  .intro h2, .program h2, .weekly h2, .join h2, .safety h2, .events h2, .about h2, .final-card h2 { font-size: 40px; }
  .value-grid { grid-template-columns: 1fr; }.value-card { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }.value-card:last-child { border-bottom: 0; }.value-card h3 { margin-top: 50px; }
  .program-note { grid-template-columns: 1fr; gap: 8px; }.weekly-visual { min-height: 390px; padding: 30px; }.week-number { font-size: 110px; }.orbit { width: 150px; height: 150px; }
  .join-rights, .safety-action { align-items: flex-start; flex-direction: column; }.join-rights .button { width: 100%; }
  .safety-grid { grid-template-columns: 1fr; }.safety-card { min-height: 230px; }.safety-card h3 { margin-top: 40px; }
  .about-mark { padding: 20px; border-radius: 23px; gap: 21px; }.about-symbol { aspect-ratio: 1.28 / 1; border-radius: 18px; }.about-symbol img { width: 68%; }.about-wordmark { grid-template-columns: 1fr; gap: 6px; }.about-wordmark strong { font-size: 24px; }.about-wordmark small { padding: 0; }
  .final-card { padding: 42px 24px; }.final-card .hero-actions .button { width: 100%; flex: auto; }
  .footer-shell { grid-template-columns: 1fr; }.footer-brand, .footer-note { grid-column: auto; }.footer-note { gap: 24px; }
  .status-dialog { padding: 38px 24px 28px; }.status-dialog h2 { font-size: 31px; }
}

@media (hover: none), (pointer: coarse) { .brand-cursor, .brand-cursor-ring { display: none !important; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }
