:root {
  --plum-900: #1a0b2e;
  --plum-800: #24103f;
  --plum-700: #3a1764;
  --violet: #6d2fc0;
  --magenta: #b43ac6;
  --gold: #d6b36a;
  --gold-deep: #b8913f;
  --ink: #1f1729;
  --ink-2: #5b4f68;
  --line: #e8e0ef;
  --paper: #ffffff;
  --tint: #f7f3fb;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(36, 16, 63, .25);
  --serif: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; }
body.lang-zh { line-height: 1.85; }
body.no-scroll, body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-2); font-size: .9em; }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--serif); text-transform: uppercase; letter-spacing: .22em; font-size: 13px; color: var(--magenta); margin: 0 0 8px; font-weight: 600; }
.eyebrow.light { color: var(--gold); }
.title { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; margin: 0 0 18px; color: var(--plum-800); letter-spacing: -.01em; }
.lang-zh .title { font-family: "Noto Serif SC", var(--serif); letter-spacing: .04em; font-size: clamp(26px, 3.4vw, 38px); }
.lead { font-size: 18px; color: var(--plum-700); font-weight: 500; }
.sub { color: var(--ink-2); margin: 0; max-width: 640px; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head .sub { margin: 0 auto; }
.note { color: var(--ink-2); font-size: 15px; margin-top: 24px; }
.note.small { font-size: 13px; margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 13px 28px; font-weight: 600; text-decoration: none; font-size: 15px; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, #e6c983, var(--gold-deep)); color: var(--plum-900); box-shadow: 0 8px 20px -8px rgba(184, 145, 63, .7); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.play-ico { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--plum-900); display: inline-grid; place-items: center; font-size: 10px; padding-left: 2px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: block; position: relative; width: 150px; height: 54px; flex-shrink: 0; }
.brand .logo { position: absolute; inset: 0; height: 54px; width: auto; transition: opacity .3s; }
.logo-dark { opacity: 0; }
.site-header.scrolled { background: rgba(255,255,255,.96); box-shadow: 0 2px 20px rgba(36,16,63,.08); backdrop-filter: blur(8px); }
.site-header.scrolled .logo-light { opacity: 0; }
.site-header.scrolled .logo-dark { opacity: 1; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { text-decoration: none; color: #fff; font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right .25s; }
.main-nav a:hover::after { right: 0; }
.site-header.scrolled .main-nav a { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 3px; }
.lang-switch button { border: 0; background: transparent; color: #fff; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--plum-900); }
.site-header.scrolled .lang-switch { border-color: var(--line); }
.site-header.scrolled .lang-switch button { color: var(--ink); }
.site-header.scrolled .lang-switch button[aria-pressed="true"] { color: var(--plum-900); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.site-header.scrolled .menu-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--plum-900); aspect-ratio: 1920 / 954; max-height: 100vh; width: 100%; overflow: hidden; }
.slides, .slide { position: absolute; inset: 0; }
.slide { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease, transform 6s ease; transform: scale(1.04); }
.slide.active { opacity: 1; transform: scale(1); }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 140px; background: linear-gradient(rgba(20,6,40,.55), transparent); z-index: 1; pointer-events: none; }
.dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); padding: 0; transition: width .3s, background .3s; }
.dots button.active { width: 28px; border-radius: 6px; background: var(--gold); }
.hero-strip { background: linear-gradient(110deg, var(--plum-900), var(--plum-700) 60%, #5a1d74); color: #fff; padding: 34px 0; }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.hero-strip h1 { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); margin: 0; font-weight: 600; line-height: 1.25; max-width: 640px; }
.lang-zh .hero-strip h1 { font-family: "Noto Serif SC", var(--serif); letter-spacing: .05em; }
.strip-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section.tint { background: var(--tint); }
.section.dark { background: radial-gradient(circle at 15% 0%, #4a1c7a 0%, transparent 45%), radial-gradient(circle at 90% 100%, #6a1f78 0%, transparent 40%), var(--plum-900); color: #efe7f7; }
.section.dark .title { color: #fff; }
.section.dark .sub { color: #c8b9da; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.about-grid p { color: var(--ink-2); }
.about-grid .lead { color: var(--plum-700); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: var(--tint); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(var(--gold), var(--magenta)); }
.stat b { display: block; font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--plum-800); margin-bottom: 10px; font-weight: 700; }
.stat b small { font-size: 22px; margin-left: 2px; }
.stat > span { font-size: 14px; color: var(--ink-2); line-height: 1.5; display: block; }

/* Values */
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 56px; }
.fcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fcard img { width: 100%; aspect-ratio: 810 / 448; object-fit: cover; }
.fcard-body { padding: 26px 28px 30px; }
.fcard h3, .vcol h3, .inf h3 { font-family: var(--serif); font-size: 24px; margin: 0 0 10px; color: var(--plum-800); line-height: 1.25; }
.lang-zh .fcard h3, .lang-zh .vcol h3, .lang-zh .inf h3 { font-family: "Noto Serif SC", var(--serif); font-size: 20px; }
.fcard p { margin: 0; color: var(--ink-2); }
.value-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vcol { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.vcol p { color: var(--ink-2); margin: 0 0 12px; }
.vnum { font-family: var(--serif); font-size: 40px; color: var(--gold); font-weight: 700; line-height: 1; display: block; margin-bottom: 14px; }

/* Influence */
.inf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.inf { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 34px 30px; transition: background .3s, transform .3s; }
.inf:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.inf svg { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 18px; }
.inf h3 { color: #fff; }
.inf p { margin: 0; color: #cdbfde; font-size: 15px; }

/* Timeline */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 110px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--magenta)); opacity: .5; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 40px; padding: 14px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 104px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--magenta); }
.timeline time { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--plum-800); text-align: right; padding-right: 10px; line-height: 1.6; }
.timeline p { margin: 0; color: var(--ink-2); padding-top: 8px; }

/* Tabs */
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.tab { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 10px 24px; border-radius: 999px; font-weight: 500; font-size: 15px; transition: all .2s; }
.tab.active { background: var(--plum-800); color: #fff; border-color: var(--plum-800); }
.tabpanel { display: none; animation: fade .4s ease; }
.tabpanel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.org-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.org-card { background: #fff; border-radius: var(--radius); padding: 26px; border-top: 3px solid var(--gold); box-shadow: var(--shadow); }
.org-card h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); }
.org-card p { margin: 0; font-weight: 500; }
.ladder { display: flex; align-items: stretch; gap: 14px; margin-top: 34px; }
.ladder > i { align-self: center; font-style: normal; color: var(--gold-deep); font-size: 24px; }
.rung { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.rung b { font-family: var(--serif); font-size: 21px; color: var(--plum-800); }
.lang-zh .rung b { font-family: "Noto Serif SC", var(--serif); font-size: 18px; }
.rung span { font-size: 14px; color: var(--ink-2); }
.rung.gold { background: linear-gradient(135deg, var(--plum-800), var(--violet)); border: 0; }
.rung.gold b { color: var(--gold); }
.rung.gold span { color: #e0d3f0; }

/* Flow chart */
.flow { display: flex; flex-direction: column; align-items: center; max-width: 820px; margin: 0 auto; }
.fl-step { background: linear-gradient(135deg, #f1d58f, var(--gold)); color: var(--plum-900); font-weight: 600; padding: 12px 22px; border-radius: 10px; text-align: center; min-width: 220px; font-size: 15px; box-shadow: 0 6px 16px -10px rgba(184,145,63,.9); }
.fl-step.soft { background: #fff; border: 1.5px solid var(--gold); box-shadow: none; }
.fl-step.gold { background: linear-gradient(135deg, var(--plum-800), var(--violet)); color: #fff; }
.fl-arrow { width: 2px; height: 26px; background: var(--gold); position: relative; margin-bottom: 6px; }
.fl-arrow::after { content: ""; position: absolute; bottom: -6px; left: -5px; border: 6px solid transparent; border-top-color: var(--gold); border-bottom: 0; }
.fl-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; padding: 18px; border: 1.5px dashed rgba(184,145,63,.5); border-radius: 16px; }
.fl-col { display: flex; flex-direction: column; gap: 12px; justify-content: space-between; }
.fl-col .fl-step { min-width: 0; }

/* Phases */
.phases { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: grid; gap: 18px; }
.phases li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; background: #fff; border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow); }
.phases time { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--magenta); line-height: 1.3; }
.phases h4 { margin: 0 0 6px; font-size: 18px; color: var(--plum-800); }
.phases p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Finals */
.finals-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
.finals-info { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.finals-info dl { margin: 0; }
.finals-info dt { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--magenta); font-weight: 600; margin-top: 18px; }
.finals-info dt:first-child { margin-top: 0; }
.finals-info dd { margin: 4px 0 0; font-weight: 500; }
.table-wrap { overflow-x: auto; }
.sched { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 14px; min-width: 520px; }
.sched th { background: var(--plum-800); color: #fff; text-align: left; padding: 14px 16px; font-weight: 600; }
.sched td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.sched td:first-child { font-weight: 700; color: var(--plum-800); white-space: nowrap; }

/* Winners */
.podium { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: end; }
.podium li { text-align: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px 12px; display: flex; flex-direction: column; gap: 6px; }
.podium li.first { background: linear-gradient(160deg, rgba(214,179,106,.25), rgba(214,179,106,.05)); border-color: var(--gold); padding: 44px 12px; order: -1; }
.podium .rank { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); font-weight: 600; }
.podium b { font-family: var(--serif); font-size: 26px; color: #fff; line-height: 1.2; }
.lang-zh .podium b { font-family: "Noto Serif SC", var(--serif); font-size: 22px; letter-spacing: .08em; }
.podium .first b { font-size: 32px; }
.podium small { color: #b9a8cf; }
.podium .first::before { content: "♛"; color: var(--gold); font-size: 30px; line-height: 1; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; }
.g-item { border: 0; padding: 0; overflow: hidden; border-radius: 10px; background: var(--tint); position: relative; }
.g-item.wide { grid-column: span 2; grid-row: span 2; }
.g-item.tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(26,11,46,.5)); opacity: 0; transition: opacity .3s; }
.g-item:hover img { transform: scale(1.06); }
.g-item:hover::after { opacity: 1; }

/* News */
.news-filter { display: flex; justify-content: center; gap: 8px; margin: -16px 0 36px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; padding: 7px 18px; border-radius: 999px; font-size: 14px; color: var(--ink-2); }
.chip.active { border-color: var(--magenta); color: var(--magenta); font-weight: 600; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ncard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; display: flex; flex-direction: column; transition: transform .3s; }
.ncard:hover, .ncard:focus-visible { transform: translateY(-5px); outline: none; }
.ncard:first-child { grid-column: span 2; flex-direction: row; }
.ncard:first-child .nimg { width: 45%; aspect-ratio: auto; }
.nimg { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); flex-shrink: 0; }
.nimg img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.nbody { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.ntag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--magenta); background: #f6e9f8; padding: 3px 10px; border-radius: 999px; align-self: flex-start; }
.nbody h3 { font-size: 18px; margin: 12px 0 8px; line-height: 1.4; color: var(--plum-800); }
.nbody p { font-size: 14px; color: var(--ink-2); margin: 0 0 16px; flex: 1; }
.nmeta { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 12px; }
.nmore { color: var(--magenta); font-weight: 600; }

/* Join */
.join-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.join-info > p { color: var(--ink-2); }
.contact-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--magenta); font-weight: 600; padding-top: 2px; }
.contact-list a { color: var(--plum-800); font-weight: 600; }
.contact-list b { font-weight: 500; }
.reqs { background: var(--tint); border-radius: var(--radius); padding: 22px 24px; }
.reqs h4 { margin: 0 0 6px; color: var(--plum-800); }
.reqs p { margin: 0; color: var(--ink-2); font-size: 15px; }

.apply-form { background: #fff; border-radius: 20px; padding: 34px; box-shadow: 0 20px 50px -20px rgba(36,16,63,.35); border: 1px solid var(--line); display: grid; gap: 16px; }
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--tint); border-radius: 999px; padding: 4px; margin-bottom: 6px; }
.form-tabs label { text-align: center; cursor: pointer; }
.form-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.form-tabs span { display: block; padding: 9px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.form-tabs input:checked + span { background: var(--plum-800); color: #fff; }
.form-tabs input:focus-visible + span { outline: 2px solid var(--magenta); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.apply-form label > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--plum-800); }
.apply-form input:not([type="radio"]), .apply-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 15px; background: #fdfbff; transition: border-color .2s, box-shadow .2s; }
.apply-form input:focus, .apply-form textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(180,58,198,.12); }
.apply-form[data-type="apply"] .partner-only, .apply-form[data-type="partner"] .apply-only { display: none; }
.form-note { font-size: 13px; color: var(--ink-2); margin: 0; text-align: center; }
.form-note.err { color: #c0392b; }

/* Footer */
.site-footer { background: var(--plum-900); color: #bfb0d3; padding: 56px 0 24px; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-logo { height: 60px; width: auto; }
.foot-tag { margin: 10px 0 0; font-family: var(--serif); letter-spacing: .12em; color: var(--gold); }
.foot-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-nav a { text-decoration: none; font-size: 14px; }
.foot-nav a:hover { color: #fff; }
.foot-copy { padding-top: 20px; font-size: 13px; }
.foot-copy p { margin: 0; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15,5,28,.82); backdrop-filter: blur(4px); }
.modal-box { position: relative; background: #fff; border-radius: 16px; max-width: 760px; width: 100%; max-height: 88vh; overflow: auto; padding: 40px; animation: fade .3s ease; }
.modal-close { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; font-size: 32px; line-height: 1; color: var(--ink-2); z-index: 3; }
.modal-title { font-family: var(--serif); font-size: 28px; color: var(--plum-800); margin: 12px 0 6px; line-height: 1.25; }
.lang-zh .modal-title { font-family: "Noto Serif SC", var(--serif); font-size: 24px; }
.article { margin-top: 20px; color: var(--ink); }
.article img { border-radius: 10px; margin: 10px auto; }
.article ul { padding-left: 20px; }
.modal.video .modal-box { max-width: 960px; background: var(--plum-900); padding: 20px; }
.modal.video .modal-title { color: #fff; font-size: 20px; margin: 0 40px 14px 4px; }
.modal.video video { width: 100%; border-radius: 10px; background: #000; }
.modal.video .modal-close { color: #fff; }
.modal.lightbox .modal-box { background: transparent; padding: 0; max-width: 1100px; overflow: visible; display: flex; justify-content: center; }
.modal.lightbox .modal-content { position: relative; }
.modal.lightbox img { max-height: 84vh; width: auto; border-radius: 8px; }
.modal.lightbox .modal-close { color: #fff; top: -44px; right: 0; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 30px; line-height: 1; }
.lb-nav:hover { background: rgba(255,255,255,.3); }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
.lb-count { position: absolute; bottom: -32px; left: 0; right: 0; text-align: center; color: #fff; font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide { transition: opacity .3s; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { position: fixed; inset: 76px 0 0 0; background: var(--plum-900); flex-direction: column; gap: 0; padding: 20px 24px; transform: translateX(100%); transition: transform .35s ease; }
  .main-nav.open { transform: none; }
  .main-nav a, .site-header.scrolled .main-nav a { color: #fff; font-size: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .menu-toggle { display: flex; }
  /* backdrop-filter would become the fixed menu's containing block */
  .site-header.scrolled { backdrop-filter: none; background: #fff; }
  .menu-open .site-header, .menu-open .site-header.scrolled { background: var(--plum-900); }
  .menu-open .site-header .logo-light { opacity: 1; } .menu-open .site-header .logo-dark { opacity: 0; }
  .menu-open .site-header .menu-toggle span { background: #fff; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu-open .site-header .lang-switch { border-color: rgba(255,255,255,.5); }
  .menu-open .site-header .lang-switch button { color: #fff; }
  .menu-open .site-header .lang-switch button[aria-pressed="true"] { color: var(--plum-900); }
  .about-grid, .join-grid { grid-template-columns: 1fr; gap: 44px; }
  .finals-grid { grid-template-columns: 1fr; }
  .podium { grid-template-columns: repeat(3, 1fr); }
  .podium li.first { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .section { padding: 68px 0; }
  .sec-head { margin-bottom: 34px; }
  .hide-sm { display: none; }
  .header-inner { height: 64px; }
  .brand { width: 120px; height: 44px; } .brand .logo { height: 44px; }
  .main-nav { inset: 64px 0 0 0; }
  html { scroll-padding-top: 64px; }
  /* show the whole banner (it carries the logo text) below the solid header */
  .hero { aspect-ratio: auto; height: calc(64px + 49.7vw); }
  .hero .slides { top: 64px; }
  .hero::before { display: none; }
  .dots { bottom: 10px; }
  .strip-cta { width: 100%; } .strip-cta .btn { flex: 1; padding: 12px 16px; }
  .feature-cards, .value-cols, .inf-grid, .org-grid, .news-grid { grid-template-columns: 1fr; }
  .ncard:first-child { grid-column: auto; flex-direction: column; }
  .ncard:first-child .nimg { width: 100%; aspect-ratio: 16 / 10; }
  .vcol { padding: 26px; }
  .ladder { flex-direction: column; } .ladder > i { transform: rotate(90deg); }
  /* single column: divisional round first, then national round */
  .fl-row { grid-template-columns: 1fr; padding: 12px; gap: 10px; }
  .fl-col { display: contents; }
  .fl-col:nth-child(2) .fl-step:nth-child(1) { order: 1; }
  .fl-col:nth-child(1) .fl-step:nth-child(1) { order: 2; }
  .fl-col:nth-child(3) .fl-step:nth-child(1) { order: 3; }
  .fl-col:nth-child(2) .fl-step:nth-child(2) { order: 4; }
  .fl-col:nth-child(2) .fl-step:nth-child(3) { order: 5; }
  .fl-col:nth-child(1) .fl-step:nth-child(2) { order: 6; }
  .fl-col:nth-child(3) .fl-step:nth-child(2) { order: 7; }
  .fl-step { min-width: 0; width: 100%; }
  .phases li { grid-template-columns: 1fr; gap: 6px; padding: 22px; }
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: 0; padding-left: 32px; }
  .timeline li::before { left: 1px; top: 22px; }
  .timeline time { text-align: left; font-size: 24px; }
  .timeline p { padding-top: 0; }
  .podium { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .row2 { grid-template-columns: 1fr; }
  .apply-form { padding: 24px 18px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .modal { padding: 12px; }
  .modal-box { padding: 30px 20px; }
  .lb-nav { width: 38px; height: 38px; font-size: 24px; }
}
