/* NTD International Violin Competition
   Layout: a concert evening. Dark "hall" bands alternate with light "score paper" bands;
   each musical era (Baroque / Classical / Romantic) carries its own accent. */
:root {
  --ink: #15110e;          /* concert-hall night */
  --ink-2: #211a15;        /* raised panel on dark */
  --paper: #f7f5f0;        /* score paper */
  --paper-2: #ece7dc;      /* paper shadow / rules */
  --text: #2a231d;         /* body text on paper */
  --muted: #6b6157;        /* secondary text on paper */
  --on-dark: #efe8dc;      /* body text on ink */
  --on-dark-muted: #b3a796;
  --gold: #c39a4e;         /* varnish & gilt */
  --gold-deep: #8a6a2c;    /* gilt on paper (AA contrast) */
  --baroque: #a77a2f;      /* gilt frame */
  --classical: #3e5d78;    /* marble & slate */
  --romantic: #8c2c3c;     /* rosewood & velvet */
  --line: rgba(42, 35, 29, 0.14);
  --line-dark: rgba(239, 232, 220, 0.16);

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --f-zh-display: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --f-zh-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4rem);
  --step-5: clamp(3rem, 1.6rem + 6.4vw, 6.25rem);

  --wrap: 1180px;
  --radius: 4px;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
html[lang^="zh"] body { font-family: var(--f-zh-body), var(--f-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; line-height: 1.15; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * 24px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) { .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }
.band { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.band--dark { background: var(--ink); color: var(--on-dark); color-scheme: dark; }
.band--dark2 { background: var(--ink-2); color: var(--on-dark); color-scheme: dark; }
.band--paper2 { background: #f0ece3; }
.band--tight { padding-block: clamp(40px, 5vw, 64px); }
.stack { display: grid; gap: 20px; }
.stack-lg { display: grid; gap: clamp(32px, 4vw, 56px); }
.grid-2 { display: grid; gap: clamp(24px, 3vw, 48px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.measure { max-width: 68ch; }
.center { text-align: center; margin-inline: auto; }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 12px;
}
.band--dark .eyebrow, .band--dark2 .eyebrow, .hero .eyebrow { color: var(--gold); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.center .eyebrow::after, .eyebrow.center-rule::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.h-display { font-family: var(--f-display); font-size: var(--step-4); font-weight: 500; letter-spacing: -0.01em; }
.h-section { font-family: var(--f-display); font-size: var(--step-3); font-weight: 500; }
.h-card { font-family: var(--f-display); font-size: var(--step-2); font-weight: 500; }
.h-sub { font-family: var(--f-body); font-size: var(--step-1); font-weight: 600; letter-spacing: 0.01em; }
html[lang^="zh"] .h-display, html[lang^="zh"] .h-section, html[lang^="zh"] .h-card { font-family: var(--f-zh-display), var(--f-display); font-weight: 600; }
.lead { font-size: var(--step-1); line-height: 1.6; color: var(--muted); }
.band--dark .lead, .band--dark2 .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.band--dark .muted, .band--dark2 .muted { color: var(--on-dark-muted); }
.prose { display: grid; gap: 1em; }
.prose a, .link { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.band--dark .prose a, .band--dark .link, .band--dark2 .prose a, .band--dark2 .link { color: var(--gold); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { justify-items: center; text-align: center; }

/* staff-line divider: five hairlines, like an empty stave */
.staff { height: 17px; background: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 4px); border: 0; margin: 0; width: 100%; }
.band--dark .staff, .band--dark2 .staff { background: repeating-linear-gradient(to bottom, var(--line-dark) 0 1px, transparent 1px 4px); }

/* lists */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks > li { position: relative; padding-left: 26px; }
.ticks > li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border: 1.5px solid var(--gold); transform: rotate(45deg); }
.ticks ul, .ticks ol { margin-top: 8px; }
.plain { list-style: none; display: grid; gap: 8px; }
.num-list { padding-left: 1.3em; display: grid; gap: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  font-family: var(--f-body); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: #1a130b; }
.btn--gold:hover { background: #d4ad63; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(195, 154, 78, 0.14); }
.btn--ink { background: var(--ink); color: var(--on-dark); }
.btn--ink:hover { background: #2b231c; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
html[lang^="zh"] .btn { letter-spacing: 0.08em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(21, 17, 14, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  color: var(--on-dark); border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 54px; height: 54px; flex: none; }
.brand-text { display: grid; line-height: 1.1; min-width: 0; }
.brand-text b { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.04em; white-space: nowrap; }
.brand-text span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
html[lang^="zh"] .brand-text b { font-family: var(--f-zh-display), var(--f-display); }
.nav { display: none; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav a, .nav button.nav-top {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 6px;
  font: 500 0.86rem/1 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  color: var(--on-dark); background: none; border: 0; cursor: pointer;
}
html[lang^="zh"] .nav a, html[lang^="zh"] .nav button.nav-top { font-family: var(--f-zh-body), var(--f-body); font-size: 0.95rem; letter-spacing: 0.06em; }
.nav a:hover, .nav button.nav-top:hover, .nav .is-current > a, .nav .is-current > button { color: var(--gold); }
.nav .caret { width: 9px; height: 9px; transition: transform .2s; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; list-style: none;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 8px; padding: 8px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.sub a { display: block; width: 100%; padding: 10px 12px; text-transform: none; letter-spacing: 0.01em; font-size: 0.95rem; color: var(--on-dark); }
.sub a:hover { background: rgba(195,154,78,.12); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .caret, .has-sub.open .caret { transform: rotate(180deg); }
.lang-link { border: 1px solid var(--line-dark); }
.header-cta { display: none; }
.menu-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line-dark); color: var(--on-dark); cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }
@media (min-width: 1100px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; min-height: 42px; padding: 0 20px; }
  .menu-btn { display: none; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 70; background: var(--ink); color: var(--on-dark); color-scheme: dark;
  display: flex; flex-direction: column; overflow-y: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 24px) max(16px, env(safe-area-inset-left, 0px));
}
.drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.drawer nav { margin-top: 12px; }
.drawer details { border-bottom: 1px solid var(--line-dark); }
.drawer summary, .drawer .d-link {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; list-style: none; cursor: pointer;
  font-family: var(--f-display); font-size: 1.5rem; text-decoration: none; color: var(--on-dark); border-bottom: 1px solid var(--line-dark);
}
html[lang^="zh"] .drawer summary, html[lang^="zh"] .drawer .d-link { font-family: var(--f-zh-display), var(--f-display); }
.drawer details summary { border-bottom: 0; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; font-family: var(--f-body); color: var(--gold); font-size: 1.4rem; }
.drawer details[open] summary::after { content: "–"; }
.drawer details ul { list-style: none; padding: 0 0 14px 4px; display: grid; gap: 2px; }
.drawer details a { display: block; padding: 9px 0; color: var(--on-dark-muted); text-decoration: none; }
.drawer details a:hover { color: var(--gold); }
.drawer .btn { margin-top: 28px; }
body.menu-open { overflow: hidden; }

/* mobile sticky apply bar */
.apply-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(21,17,14,.96); color: var(--on-dark); border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
}
.apply-bar .btn { min-height: 42px; padding: 0 18px; }
.apply-bar b { color: var(--gold); font-weight: 600; }
@media (min-width: 1100px) { .apply-bar { display: none; } }
@media (max-width: 1099px) { body { padding-bottom: 72px; } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; color-scheme: dark; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21,17,14,.92) 0%, rgba(21,17,14,.72) 38%, rgba(21,17,14,.05) 70%), linear-gradient(0deg, rgba(21,17,14,.85) 0%, rgba(21,17,14,0) 40%); }
.hero .wrap { padding-block: clamp(72px, 12vw, 150px) clamp(56px, 8vw, 96px); display: grid; gap: 22px; }
.hero-title { font-family: var(--f-display); font-weight: 500; line-height: 0.95; letter-spacing: -0.015em; }
.hero-title small { display: block; font-size: clamp(1rem, 0.8rem + 1vw, 1.5rem); letter-spacing: 0.32em; text-transform: uppercase; color: var(--on-dark); font-weight: 400; margin-bottom: 14px; }
.hero-title span { display: block; font-size: var(--step-5); color: var(--gold); }
html[lang^="zh"] .hero-title { font-family: var(--f-zh-display), var(--f-display); font-weight: 700; }
html[lang^="zh"] .hero-title small { letter-spacing: 0.2em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--step-1); font-family: var(--f-display); }
html[lang^="zh"] .hero-meta { font-family: var(--f-zh-display), var(--f-display); }
.hero-meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.eras-line { display: flex; flex-wrap: wrap; gap: 8px; }
.era-chip { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid; }
.era-chip.baroque { color: #d8b06a; border-color: rgba(216,176,106,.5); }
.era-chip.classical { color: #9fbdd6; border-color: rgba(159,189,214,.5); }
.era-chip.romantic { color: #e39aa7; border-color: rgba(227,154,167,.5); }
.hero .btn-row { margin-top: 8px; }
@media (max-width: 699px) {
  .hero-media img { object-position: 50% 20%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(21,17,14,.97) 0%, rgba(21,17,14,.85) 45%, rgba(21,17,14,.25) 100%); }
  .hero .wrap { padding-top: 46vh; }
}

/* page hero (inner pages) */
.page-hero { position: relative; background: var(--ink); color: var(--on-dark); isolation: isolate; overflow: hidden; color-scheme: dark; }
.page-hero .bg { position: absolute; inset: 0; z-index: -1; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,17,14,.94) 10%, rgba(21,17,14,.55) 60%, rgba(21,17,14,.3)); }
.page-hero .wrap { padding-block: clamp(64px, 10vw, 120px) clamp(48px, 7vw, 84px); display: grid; gap: 18px; }
.page-hero h1 { font-family: var(--f-display); font-size: var(--step-5); font-weight: 500; line-height: 1; }
html[lang^="zh"] .page-hero h1 { font-family: var(--f-zh-display), var(--f-display); font-weight: 700; }
.crumbs { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* in-page section nav (chips) */
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 30; background: rgba(247,245,240,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.toc .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.toc .wrap::-webkit-scrollbar { display: none; }
.toc a { flex: none; font-size: 0.84rem; font-weight: 500; text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--muted); border: 1px solid var(--line); background: #fff; white-space: nowrap; }
.toc a:hover, .toc a.active { color: var(--ink); border-color: var(--gold); background: #fbf6ea; }

/* ---------- components ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.fact { padding: 26px 22px; display: grid; gap: 6px; align-content: start; border-right: 1px solid var(--line-dark); }
.fact:last-child { border-right: 0; }
.fact b { font-family: var(--f-display); font-size: var(--step-2); font-weight: 500; color: var(--gold); line-height: 1.1; font-variant-numeric: lining-nums; }
html[lang^="zh"] .fact b { font-family: var(--f-zh-display), var(--f-display); }
.fact span { font-size: 0.92rem; color: var(--on-dark-muted); }
@media (max-width: 699px) { .fact { border-right: 0; border-bottom: 1px solid var(--line-dark); } .fact:last-child { border-bottom: 0; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; align-content: start; }
.band--dark .card, .band--dark2 .card { background: var(--ink-2); border-color: var(--line-dark); }
.band--dark2 .card { background: #2a221c; }
.card-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #f6efe0; color: var(--gold-deep); }
.card-icon svg { width: 22px; height: 22px; }

.prize-list { list-style: none; display: grid; gap: 0; }
.prize-list li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.prize-list li:last-child { border-bottom: 0; }
.prize-list .amt { font-family: var(--f-display); font-size: 1.35rem; color: var(--gold-deep); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.prize-list small { display: block; color: var(--muted); font-size: 0.85rem; }

/* era cards */
.era { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--on-dark); display: grid; min-height: 440px; isolation: isolate; text-decoration: none; }
.era img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.era:hover img { transform: scale(1.04); }
.era::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(15,11,9,.94) 18%, rgba(15,11,9,.35) 62%, rgba(15,11,9,.1)); }
.era-body { align-self: end; padding: 26px; display: grid; gap: 10px; }
.era-tag { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }
.era h3 { font-family: var(--f-display); font-size: 2.1rem; font-weight: 500; }
.era p { color: #d8cfc1; font-size: 0.97rem; }
.era .years { font-family: var(--f-display); font-style: italic; color: #d8cfc1; }
.era::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--era); }
.era.baroque { --era: var(--baroque); } .era.baroque img { object-position: 12% 50%; } .era.baroque .era-tag { color: #e0b973; }
.era.classical { --era: var(--classical); } .era.classical img { object-position: 16% 50%; } .era.classical .era-tag { color: #a9c5dd; }
.era.romantic { --era: var(--romantic); } .era.romantic img { object-position: 75% 50%; } .era.romantic .era-tag { color: #eaa3b0; }

/* timeline */
.timeline { list-style: none; display: grid; gap: 0; position: relative; }
.timeline li { display: grid; grid-template-columns: 132px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .when { font-family: var(--f-display); font-size: 1.2rem; color: var(--gold-deep); font-variant-numeric: lining-nums; }
.timeline .what b { display: block; font-weight: 600; }
.timeline li.key .when { color: var(--romantic); }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* countdown */
.countdown { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 18px 22px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.countdown .cd-num { font-family: var(--f-display); font-size: 2.4rem; color: var(--gold); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.countdown .cd-label { font-size: 0.9rem; color: var(--on-dark-muted); }

/* repertoire round cards / programme */
.round { display: grid; gap: 14px; padding: clamp(24px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.round .no { font-family: var(--f-display); font-size: 3.2rem; line-height: 1; color: var(--paper-2); position: absolute; right: 22px; top: 14px; }
.round h3 { font-family: var(--f-display); font-size: 1.8rem; font-weight: 500; }
.round .kicker { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }

.programme { display: grid; gap: clamp(40px, 5vw, 64px); }
.prog-round { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .prog-round { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; } .prog-round > header { position: sticky; top: calc(var(--header-h) + 80px); align-self: start; } }
.prog-round > header { display: grid; gap: 12px; }
.prog-round > header h2 { font-family: var(--f-display); font-size: var(--step-3); font-weight: 500; }
.prog-item { padding: 24px 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.prog-item:first-child { border-top: 0; padding-top: 0; }
.prog-item h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-family: var(--f-display); font-size: 1.55rem; font-weight: 500; }
.prog-item h3 .letter { font-family: var(--f-body); font-size: 0.8rem; font-weight: 700; letter-spacing: .12em; width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold); flex: none; transform: translateY(-3px); }
.era-pill { font-family: var(--f-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: #fff; }
.era-pill.baroque { background: var(--baroque); } .era-pill.classical { background: var(--classical); } .era-pill.romantic { background: var(--romantic); } .era-pill.new { background: var(--ink); color: var(--gold); }
.works { list-style: none; display: grid; gap: 0; }
.works li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; font-size: 1rem; }
.works li .t { flex: 0 1 auto; min-width: 0; }
.works li .dots { flex: 1 1 24px; min-width: 24px; border-bottom: 1px dotted rgba(42,35,29,.35); transform: translateY(-4px); }
.works li .cat { flex: none; font-variant-numeric: lining-nums tabular-nums; color: var(--gold-deep); font-weight: 600; white-space: nowrap; }
.note { font-size: 0.95rem; color: var(--muted); padding: 12px 16px; border-left: 2px solid var(--gold); background: #fbf8f1; }

/* video requirement cards */
.vid { display: grid; gap: 14px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); align-content: start; }
.vid .letter { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 1.5rem; background: var(--ink); color: var(--gold); }
.vid h3 { font-family: var(--f-display); font-size: 1.45rem; font-weight: 500; }
.band--dark .vid, .band--dark2 .vid { background: var(--ink-2); border-color: var(--line-dark); }

/* split media blocks */
.split { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; }
.split > * { min-width: 0; }
.frame { border-radius: var(--radius); overflow: hidden; position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--gold { outline: 1px solid rgba(195,154,78,.6); outline-offset: 10px; }

/* awards */
.award-grid { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.award { background: var(--ink); padding: 28px 24px; display: grid; gap: 8px; align-content: start; }
.award .medal { width: 40px; height: 40px; border-radius: 50%; }
.award .medal.gold { background: radial-gradient(circle at 35% 30%, #f5dc9a, #b8893b 60%, #7a5a20); }
.award .medal.silver { background: radial-gradient(circle at 35% 30%, #f4f4f4, #a9adb3 60%, #6d7177); }
.award .medal.bronze { background: radial-gradient(circle at 35% 30%, #f0c49a, #a8683a 60%, #6b3d1d); }
.award .medal.rend { background: radial-gradient(circle at 35% 30%, #f1b0bb, #8c2c3c 60%, #511823); }
.award h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; }
.award .place { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.award .amt { font-family: var(--f-display); font-size: 2.4rem; color: var(--on-dark); line-height: 1; font-variant-numeric: lining-nums; }
.award .amt sup { font-size: 0.9rem; color: var(--on-dark-muted); vertical-align: top; margin-right: 4px; font-family: var(--f-body); }
.award p { color: var(--on-dark-muted); font-size: 0.95rem; }

/* stat tiles */
.stat { display: grid; gap: 10px; padding: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-dark); align-content: start; }
.stat img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.stat .stat-body { padding: 4px 22px 24px; display: grid; gap: 6px; }
.stat b { font-family: var(--f-display); font-size: 2.2rem; color: var(--gold); font-weight: 500; line-height: 1.05; }
.stat h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; }

/* jury */
.jury { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
.jury > * { min-width: 0; }
.jury .portrait { max-width: 420px; }
.jury-name { font-family: var(--f-display); font-size: var(--step-3); font-weight: 500; }

/* FAQ */
.faq-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.search { flex: 1 1 280px; position: relative; }
.search input { width: 100%; min-height: 52px; padding: 0 18px 0 46px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--text); }
.search input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.textbtn { background: none; border: 0; font: 600 0.88rem var(--f-body); color: var(--gold-deep); cursor: pointer; padding: 10px 6px; letter-spacing: .04em; }
.faq-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; } .faq-side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.faq-side nav { display: grid; gap: 2px; }
.faq-side a { text-decoration: none; padding: 9px 12px; border-radius: 6px; color: var(--muted); font-size: 0.95rem; border-left: 2px solid transparent; }
.faq-side a:hover, .faq-side a.active { color: var(--ink); background: #fff; border-left-color: var(--gold); }
@media (max-width: 959px) { .faq-side { display: none; } }
.faq-group { display: grid; gap: 14px; scroll-margin-top: calc(var(--header-h) + 20px); }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group > h2 { font-family: var(--f-display); font-size: var(--step-2); font-weight: 500; display: flex; align-items: baseline; gap: 14px; }
html[lang^="zh"] .faq-group > h2 { font-family: var(--f-zh-display), var(--f-display); font-weight: 600; }
.faq-group > h2 .n { font-size: 0.85rem; font-family: var(--f-body); color: var(--gold-deep); font-weight: 700; letter-spacing: .1em; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding: 18px 22px; font-weight: 600; font-size: 1.04rem; line-height: 1.45; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 1px solid var(--line); background: linear-gradient(var(--gold-deep), var(--gold-deep)) center/10px 1.5px no-repeat, linear-gradient(var(--gold-deep), var(--gold-deep)) center/1.5px 10px no-repeat; transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa[open] { border-color: rgba(195,154,78,.6); }
.qa .a { padding: 0 22px 22px; display: grid; gap: 12px; color: #3d342c; }
.qa .a ul { padding-left: 1.2em; display: grid; gap: 6px; }
.qa mark { background: #f6e6bd; color: inherit; padding: 0 2px; }
.faq-empty { padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* partners */
.partners { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.partner { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: start; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.partner img { width: 72px; height: 72px; }
.partner h3 { font-family: var(--f-display); font-size: 1.45rem; font-weight: 500; }

/* contact */
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.contact-list svg { width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--gold); }
.copy-btn { margin-left: 8px; font: 600 0.72rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 3px 9px; color: var(--gold); cursor: pointer; }

/* CTA band */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--on-dark); color-scheme: dark; }
.cta .bg { position: absolute; inset: 0; z-index: -1; }
.cta .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cta .bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(21,17,14,.35), rgba(21,17,14,.92) 75%); }
.cta .wrap { padding-block: clamp(64px, 9vw, 120px); display: grid; gap: 22px; justify-items: center; text-align: center; }
.cta h2 { font-family: var(--f-display); font-size: var(--step-4); font-weight: 500; max-width: 18ch; }
html[lang^="zh"] .cta h2 { font-family: var(--f-zh-display), var(--f-display); font-weight: 700; }
.cta p { max-width: 60ch; color: var(--on-dark-muted); font-size: var(--step-1); }

/* notice */
.callout { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 16px 20px; border-radius: var(--radius); background: #fbf3e2; border: 1px solid #ecd9ad; color: #5b4316; font-size: 0.97rem; }
.callout svg { width: 22px; height: 22px; margin-top: 2px; }
.band--dark .callout { background: rgba(195,154,78,.08); border-color: rgba(195,154,78,.35); color: #e8d6b0; }

/* ---------- footer ---------- */
.site-footer { background: #0e0b09; color: var(--on-dark-muted); color-scheme: dark; padding-block: 64px 28px; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.footer-grid > * { min-width: 0; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand img { width: 120px; height: 120px; }
.footer-brand p { font-family: var(--f-display); font-style: italic; font-size: 1.2rem; color: var(--on-dark); }
html[lang^="zh"] .footer-brand p { font-family: var(--f-zh-display), var(--f-display); font-style: normal; }
.site-footer h2 { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 16px; font-family: var(--f-body); }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; }
.social svg { width: 18px; height: 18px; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; }
.footer-base ul { display: flex; flex-wrap: wrap; gap: 18px; }
.series { display: flex; align-items: center; gap: 12px; }
.series img { height: 38px; width: auto; }

/* reveal (content is visible at rest; this only adds a gentle lift) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transition: transform .7s ease, opacity .7s ease; }
  .js .reveal.pre { transform: translateY(14px); opacity: .001; }
}
