/* ============================================
   NTD International Chinese Vocal Competition
   vocal.ntdtv.com
   Design v2: Carnegie Hall × Opera Stage × Eastern Heritage
   Palette: Midnight Navy · Champagne Gold · Ivory White
            Opera Burgundy · Royal Purple · Heritage Green
   ============================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
    /* === Primary palette === */
    --navy:           #0B2545;
    --navy-2:         #163B62;
    --navy-3:         #1E4C7A;
    --navy-soft:      #2A5C8F;

    --gold:           #B68C3A;
    --gold-light:     #C9A254;
    --gold-bright:    #DCBB74;
    --gold-deep:      #7C5D25;   /* 較霧金更深：金色小字（eyebrow／連結）在所有淺底上達 WCAG AA 4.5:1 */
    --gold-foil:      linear-gradient(135deg, #DCBB74 0%, #C9A254 30%, #B68C3A 55%, #7C5D25 100%);

    --ivory:          #F7F1E3;
    --ivory-warm:     #F1E9D8;
    --ivory-soft:     #FBF7EE;
    --paper:          #EFE6D2;

    /* === Neutral === */
    --ink:            #0B2545;
    --charcoal:       #1D2733;
    --slate:          #4A5666;
    --neutral:        #F3F5F7;   /* 中性淺灰（規格）：資訊卡、表單分區、頁面底色 */
    --error:          #9B1C1C;   /* 錯誤紅（規格）：表單錯誤與重要阻擋；不作品牌裝飾 */
    /* 規格 §2.1 外的唯一色相，經主辦方 2026-08-13 指示用於限時優惠碼。
       深林綠而非明亮綠——後者在深靛藍／霧金的古典配色中會突兀。
       白底 8.02:1、象牙白 7.13:1、羊皮紙 6.64:1，皆達 WCAG AA。 */
    --promo:          #1E5B3C;
    --line:           rgba(11, 37, 69, 0.10);
    --line-gold:      rgba(182, 140, 58, 0.30);

    /* === Type === */
    --serif-tc:   'Songti TC', 'PMingLiU', 'STSong', '宋體', serif;
    --serif-en:   'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --display-en: 'Cormorant Garamond', Georgia, serif;
    --sans-tc:    'PingFang TC', 'Microsoft JhengHei', 'Heiti TC', '黑體-繁', sans-serif;
    --sans-en:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* === Spacing === */
    --s1: 0.5rem;
    --s2: 1rem;
    --s3: 1.5rem;
    --s4: 2rem;
    --s5: 3rem;
    --s6: 4rem;
    --s7: 6rem;
    --s8: 8rem;
    --s9: 9rem;

    /* === Containers === */
    --container:        1180px;
    --container-wide:   1320px;
    --container-narrow: 860px;

    /* === Effects === */
    --shadow-sm:   0 2px 8px rgba(11, 37, 69, 0.06);
    --shadow-md:   0 12px 32px rgba(11, 37, 69, 0.10);
    --shadow-lg:   0 24px 60px rgba(11, 37, 69, 0.18);
    --shadow-gold: 0 14px 38px rgba(182, 140, 58, 0.28);

    --ease:     cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    --radius:    3px;
    --radius-lg: 6px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans-tc);
    color: var(--ink);
    background: var(--ivory);
    line-height: 1.75;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--navy); }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
    font-family: var(--serif-tc);
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: 0.015em;
    color: var(--ink);
    /* 平衡各行長度，消除中文標題常見的單字孤行
       （例：「…歷屆大賽與獲獎」＋「者」）。不支援的瀏覽器照常換行，無副作用。 */
    text-wrap: balance;
}
h1 { font-size: clamp(2.125rem, 5.2vw, 3.75rem); font-weight: 700; letter-spacing: 0.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.625rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); }
p  { font-size: clamp(1rem, 1.1vw, 1.125rem); line-height: 1.65; color: var(--charcoal); }

/* === Section Header pattern: eyebrow + title + diamond + subtitle === */
/* 中文頁的小標已全面中文化；--sans-tc 在英文版被 en.css 覆寫為 Inter，兩邊自動正確 */
.eyebrow {
    font-family: var(--sans-tc);
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.36em;
    color: var(--gold-deep);
    margin-bottom: var(--s2);
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.eyebrow::before, .eyebrow::after {
    content: '';
    width: 28px; height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

.section-head { text-align: center; margin-bottom: var(--s6); }
.section-head h2 { margin-top: 0.4rem; }
.section-subtitle {
    text-align: center;
    max-width: 720px;
    margin: var(--s3) auto 0;
    color: var(--charcoal);
    font-size: 1.06rem;
    line-height: 1.65;
}

.gold-text {
    background: var(--gold-foil);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* Diamond ornament */
.ornament {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; margin: var(--s2) auto var(--s4);
}
.ornament::before, .ornament::after {
    content: '';
    flex: 0 0 70px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament-diamond {
    width: 9px; height: 9px;
    background: var(--gold);
    transform: rotate(45deg);
    box-shadow: 0 0 14px rgba(182, 140, 58, 0.55);
}

/* Big background heading "watermark" */
.watermark-en {
    position: absolute;
    font-family: var(--display-en);
    font-style: italic;
    font-weight: 400;
    color: rgba(182, 140, 58, 0.05);
    font-size: clamp(5rem, 14vw, 13rem);
    line-height: 1;
    letter-spacing: -0.02em;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
}

/* ---------- LAYOUT ---------- */
.container        { max-width: var(--container);        margin: 0 auto; padding: 0 var(--s3); }
.container-wide   { max-width: var(--container-wide);   margin: 0 auto; padding: 0 var(--s3); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--s3); }

section { padding: var(--s8) 0; position: relative; }
@media (max-width: 1024px) { section { padding: var(--s7) 0; } }
@media (max-width: 640px)  { section { padding: var(--s6) 0; } }

/* === Backgrounds === */
.bg-ivory       { background: var(--ivory); }
.bg-ivory-warm  { background: var(--ivory-warm); }
.bg-paper       { background: var(--paper); }
.bg-cream       { background: var(--ivory-warm); } /* legacy alias */
.bg-cream-warm  { background: var(--ivory-warm); }
.bg-parchment   {
    background: var(--ivory-warm);
    background-image:
        radial-gradient(circle at 18% 12%, rgba(182, 140, 58, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 82% 86%, rgba(11, 37, 69, 0.05) 0%, transparent 55%);
}
.bg-ink, .bg-navy {
    background: var(--navy);
    color: var(--ivory);
    position: relative;
    overflow: hidden;
}
.bg-ink::before, .bg-navy::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(182, 140, 58, 0.10) 0%, transparent 55%);
    pointer-events: none;
}
.bg-ink > *, .bg-navy > * { position: relative; z-index: 1; }
.bg-ink p, .bg-navy p { color: rgba(247, 241, 227, 0.78); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4,
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--ivory); }


/* Subtle staff-line texture */
.bg-music-staff {
    background: var(--ivory);
    position: relative;
    overflow: hidden;
}
.bg-music-staff::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg,
            transparent 0, transparent 39px,
            rgba(182, 140, 58, 0.05) 39px, rgba(182, 140, 58, 0.05) 40px,
            transparent 40px, transparent 79px,
            rgba(182, 140, 58, 0.05) 79px, rgba(182, 140, 58, 0.05) 80px,
            transparent 80px, transparent 119px,
            rgba(182, 140, 58, 0.05) 119px, rgba(182, 140, 58, 0.05) 120px,
            transparent 120px, transparent 159px,
            rgba(182, 140, 58, 0.05) 159px, rgba(182, 140, 58, 0.05) 160px,
            transparent 160px, transparent 240px);
    pointer-events: none;
}
.bg-music-staff > * { position: relative; z-index: 1; }

/* ---------- NAVIGATION ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.1rem 0;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
    background: linear-gradient(180deg, rgba(11, 37, 69, 0.55) 0%, rgba(11, 37, 69, 0) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.nav.scrolled {
    background: rgba(11, 37, 69, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 0.7rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(182, 140, 58, 0.12);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--s3);
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--ivory);
    position: relative;
    z-index: 2;
}
.nav-brand img {
    height: 92px;
    width: auto;
    /* 對稱負邊距：外框仍是 58px（nav 高度不變），但圖片自身垂直居中，
       與右側品牌文字的中線對齊。原本 8px/-42px 不對稱，圖片會往下掛出
       nav 底部 25px，視覺上變成「頂對齊」。 */
    margin: -17px 0;
    filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.55));
    transition: height 0.4s var(--ease), margin 0.4s var(--ease);
}
.nav.scrolled .nav-brand img {
    height: 52px;
    margin: 0;
}
.nav-brand .brand-text {
    line-height: 1.15;
    font-family: var(--serif-tc);
}
.nav-brand .brand-zh {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--gold-bright);
    letter-spacing: 0.06em;
    display: block;
}
.nav-brand .brand-en {
    font-size: 0.66rem;
    font-family: var(--sans-en);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(247, 241, 227, 0.62);
    margin-top: 3px;
    display: block;
}
.nav-brand .brand-zh:only-child {
    font-size: 1.18rem;
    white-space: nowrap;
}
.nav-menu {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}
.nav-menu a {
    color: var(--ivory);
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.04em;
    white-space: nowrap;   /* 選單文字與「立即報名」按鈕都不換行 */
}
.nav-menu a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 50%; right: 50%; bottom: 2px;
    height: 2px;
    background: var(--gold);
    transition: left 0.35s var(--ease), right 0.35s var(--ease);
}
.nav-menu a:not(.nav-cta):hover::after,
.nav-menu a:not(.nav-cta).active::after { left: 0; right: 0; }
.nav-menu a:not(.nav-cta).active { color: var(--gold-bright); }
.nav-menu a:not(.nav-cta):hover { color: var(--gold-bright); }

/* ── 下拉子選單（規格 §3.2：參賽資訊、歷屆大賽）────────────────────
   採「父項為按鈕、子選單第一項為總覽頁」的模式：父層不承載連結，
   因此不需要「連結＋展開鈕」雙控制，鍵盤與觸控行為一致，
   且規格列出的下拉第一項本來就是總覽頁。
   無 JS 時子選單不展開；頁尾「快速連結」列出全部 11 頁作為後備入口。 */
.nav-group { position: relative; display: flex; align-items: center; }
.nav-group-toggle {
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ivory);
    background: none;
    border: 0;
    padding: 8px 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    position: relative;
    transition: color 0.3s var(--ease);
}
.nav-group-toggle::after {
    content: '';
    position: absolute;
    left: 50%; right: 50%; bottom: 2px;
    height: 2px;
    background: var(--gold);
    transition: left 0.35s var(--ease), right 0.35s var(--ease);
}
.nav-group-toggle:hover,
.nav-group-toggle.active,
.nav-group-toggle[aria-expanded="true"] { color: var(--gold-bright); }
.nav-group-toggle:hover::after,
.nav-group-toggle.active::after,
.nav-group-toggle[aria-expanded="true"]::after { left: 0; right: 0; }
.nav-caret {
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s var(--ease);
}
.nav-group-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.nav-sub {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 210px;
    padding: 0.5rem 0;
    background: rgba(11, 37, 69, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(182, 140, 58, 0.28);
    border-radius: var(--radius);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}
.nav-group-toggle[aria-expanded="true"] + .nav-sub { display: block; }
/* 特異度需高於 .nav-menu a 才能蓋掉其 padding 與底線動畫 */
.nav-menu .nav-sub a {
    display: block;
    padding: 0.62rem 1.3rem;
    font-size: 0.88rem;
    color: rgba(247, 241, 227, 0.88);
}
.nav-menu .nav-sub a::after { display: none; }
.nav-menu .nav-sub a:hover,
.nav-menu .nav-sub a.active {
    color: var(--gold-bright);
    background: rgba(182, 140, 58, 0.1);
}

.nav-cta {
    background: var(--gold-foil);
    background-size: 200% auto;
    color: var(--navy) !important;
    padding: 11px 22px !important;
    border-radius: var(--radius);
    font-weight: 600;
    transition: background-position 0.5s var(--ease), box-shadow 0.3s var(--ease) !important;
    letter-spacing: 0.08em;
}
.nav-cta:hover {
    background-position: right center;
    color: var(--navy) !important;
    box-shadow: 0 8px 24px rgba(182, 140, 58, 0.4);
}

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
.nav-toggle span {
    display: block;
    width: 26px; height: 2px;
    background: var(--ivory);
    transition: all 0.3s var(--ease);
}

@media (max-width: 1024px) {
    .nav-brand .brand-zh { font-size: 0.92rem; }
    .nav-brand .brand-zh:only-child { font-size: 0.92rem; white-space: normal; }
    .nav-brand .brand-en { display: none; }
    .nav-brand img { height: 68px; margin: -11px 0; }   /* 同上：對稱負邊距使其居中 */
    .nav.scrolled .nav-brand img { height: 44px; margin: 0; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: min(86vw, 360px);
        height: 100vh;
        background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
        flex-direction: column;
        justify-content: center;
        gap: 1.6rem;
        padding: var(--s5);
        transition: right 0.4s var(--ease);
        box-shadow: -10px 0 40px rgba(0,0,0,0.4);
    }
    .nav-menu.open { right: 0; }
    .nav-menu a { font-size: 1.1rem; }
    /* 手機抽屉：子選單改為就地展開的區塊，不再是浮動面板 */
    .nav-group { flex-direction: column; align-items: stretch; width: 100%; }
    .nav-group-toggle { font-size: 1.1rem; justify-content: center; width: 100%; }
    .nav-sub {
        position: static;
        transform: none;
        left: auto; top: auto;
        min-width: 0;
        margin: 0.7rem 0 0;
        background: rgba(182, 140, 58, 0.07);
        border-color: rgba(182, 140, 58, 0.2);
        box-shadow: none;
        text-align: center;
    }
    .nav-menu .nav-sub a { font-size: 0.98rem; padding: 0.55rem 1rem; }
    .nav-toggle { display: flex; }
    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}

/* ---------- HERO (universal) ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
    color: var(--ivory);
    padding: 9rem 0 6rem;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--navy);
    will-change: transform;
    overflow: hidden;
}
/* Hero 圖：真實 <img>，object-fit 保持比例裁切不變形；
   多給 12% 高度供 parallax 位移，避免用 transform: scale() 重取樣造成模糊 */
.hero-img {
    position: absolute;
    left: 0;
    top: -6%;
    width: 100%;
    height: 112%;
    object-fit: cover;
    object-position: center 30%;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
/* video.js overrides for background hero use */
.hero-video.video-js { background: transparent; }
.hero-video .vjs-big-play-button,
.hero-video .vjs-control-bar,
.hero-video .vjs-error-display,
.hero-video .vjs-loading-spinner { display: none !important; }
.hero-video video { object-fit: cover; }
/* 30% dark overlay (per user request) */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(11, 37, 69, 0.30);
}
/* 首頁 hero 是影片，不套平均暗色遮罩，保持畫面明亮。
   子頁（.page-hero）是靜態圖且文字較多，仍沿用上面的 0.30。
   底部漸層與頂部金色微光在 .hero::after，仍保留 —— 下方按鈕靠它維持可讀。 */
/* 首屏不用全幅遮罩：只在標題文字後面留一圈局部暗暈，
   影片邊緣與下半部維持全亮，但金色標題在任何畫格都讀得到 */
.hero:not(.page-hero)::before {
    background: radial-gradient(ellipse 62% 46% at 50% 34%,
        rgba(11, 37, 69, 0.25) 0%,
        rgba(11, 37, 69, 0.10) 48%,
        rgba(11, 37, 69, 0) 74%);
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 0%, rgba(182, 140, 58, 0.10) 0%, transparent 50%),
        linear-gradient(180deg, transparent 0%, transparent 70%, rgba(11, 37, 69, 0.25) 100%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--s4);
    width: 100%;
    text-align: center;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 9px 24px;
    background: rgba(182, 140, 58, 0.08);
    border: 1px solid rgba(182, 140, 58, 0.45);
    border-radius: 100px;
    font-family: var(--sans-tc);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--gold-bright);
    margin-bottom: var(--s4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero-tag::before, .hero-tag::after {
    content: '◆';
    font-size: 0.5rem;
    color: var(--gold);
    opacity: 0.7;
}
.hero h1 {
    color: var(--ivory);
    font-size: clamp(2.125rem, 5.4vw, 3.75rem);
    line-height: 1.05;
    margin: 0 auto var(--s3);
    max-width: 1000px;
    font-weight: 700;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}
.hero h1 .accent {
    background: var(--gold-foil);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 8s linear infinite;
    display: block;
}
.hero-sub {
    font-family: var(--serif-en);
    font-size: clamp(1.05rem, 1.7vw, 1.4rem);
    font-style: italic;
    color: rgba(247, 241, 227, 0.88);
    margin: 0 auto var(--s5);
    max-width: 720px;
    letter-spacing: 0.04em;
    line-height: 1.6;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.hero-sub-zh {
    font-family: var(--serif-tc);
    font-style: normal;
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    color: rgba(247, 241, 227, 0.92);
    letter-spacing: 0.18em;
    margin: 0 auto var(--s5);
    max-width: 720px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

/* Hero key data cards */
.hero-meta {
    display: grid;
    /* 4 張卡：桌機單排，手機 2×2（首屏不排太滿） */
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    max-width: 880px;
    margin: var(--s5) auto 0;
    padding: 0;
    background: rgba(182, 140, 58, 0.22);
    border: 1px solid rgba(182, 140, 58, 0.35);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.hero-meta-item {
    /* 0.88：影片在卡片後方會出現近乎全白的高光（實測最亮 P99 = rgb(232,223,225)），
       0.7 時霧金淺小字只有 2.81:1。0.88 讓 15.2px 小字達 4.74:1（WCAG AA 4.5）。 */
    background: rgba(11, 37, 69, 0.88);
    padding: 1.4rem 1rem;
    text-align: center;
    transition: background 0.3s var(--ease);
    /* 獎金卡主行較大，內容高度不同；居中避免其餘卡被 stretch 成頂對齊 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-meta-item:hover { background: rgba(11, 37, 69, 0.95); }
.hero-meta-item .label {
    font-family: var(--sans-tc);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--gold-light);
    margin-bottom: 8px;
    display: block;
}
.hero-meta-item .value {
    font-family: var(--serif-tc);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    color: var(--ivory);
    font-weight: 600;
    line-height: 1.3;
    display: block;
}
/* 副行：四張卡統一處理，不再由各卡 inline 覆寫 */
.hero-meta-item .value-sub {
    font-family: var(--serif-tc);
    font-size: 0.95rem;
    color: var(--gold-light);
    font-weight: 500;
    letter-spacing: 0.04em;
    display: block;
    line-height: 1.35;
    margin-top: 5px;
}
/* 拉丁文副行保留斜體展示字；中文副行不套用（宋體斜體會是合成傾斜） */
.hero-meta-item .value-sub.en {
    font-family: var(--display-en);
    font-style: italic;
}
/* 象牙白副行：字級同其他副行，顏色維持白（獎金卡的「總獎金 USD」） */
.hero-meta-item .value-sub.light { color: var(--ivory); }
/* 獎金卡專用：金額大號斜體展示字。line-height:1 讓 28.8px 的數字不推高卡片，
   其餘三張卡不受影響（grid 同排共用高度）。 */
.hero-meta-item .value-en {
    font-family: var(--display-en);
    font-style: italic;
    font-size: 1.95rem;
    color: var(--gold-bright);
    /* 700：需搭配 Google Fonts 請求中的 1,700（Cormorant Garamond 斜體字重上限） */
    font-weight: 700;
    display: block;
    line-height: 1;
    /* lh:1 讓字框緊貼字形，視覺上金額會偏下；上移貼近 PRIZE POOL，下方留白加大 */
    margin-top: -4px;
    margin-bottom: 6px;
    /* 西文數字排版：lining 等高數字（避免 Cormorant 預設舊體數字高低參差）、
       tabular 等寬（金額各位數對齊）；letter-spacing 補償斜體的視覺擁擠 */
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1;
    letter-spacing: 0.01em;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--s5);
}

.hero-scroll {
    position: absolute;
    left: 50%; bottom: 30px;
    transform: translateX(-50%);
    z-index: 4;
    color: var(--gold-light);
    font-family: var(--sans-en);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.34em;
    text-align: center;
    opacity: 0.85;
}
.hero-scroll::after {
    content: '';
    display: block;
    width: 1px; height: 48px;
    background: linear-gradient(180deg, var(--gold-light), transparent);
    margin: 12px auto 0;
    animation: scrollLine 2.4s infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* === Page Hero (smaller, for sub-pages) === */
.hero.page-hero {
    min-height: 56vh;
    padding: 9rem 0 5rem;
}
.hero.page-hero h1 { font-size: clamp(2.125rem, 4.4vw, 3.25rem); }
/* 子页背景仅保留共用 0.30 暗色遮罩(.hero::before)，去掉额外压暗，按用户要求不透明度 0.3 */
.hero.page-hero .hero-bg { filter: saturate(0.9); }

@media (max-width: 768px) {
    .hero { padding: 8rem 0 4rem; min-height: 92vh; }
    .hero-meta { grid-template-columns: repeat(2, 1fr); }
    .hero-scroll { display: none; }
    .hero-tag { font-size: 0.64rem; padding: 7px 16px; letter-spacing: 0.22em; }
    .hero h1 { letter-spacing: 0.01em; }
}

/* ---------- BUTTONS (3 systems) ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 34px;
    font-family: var(--sans-tc);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: var(--radius);
    transition: all 0.4s var(--ease);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
}
/* Primary — Gold (champagne) */
.btn-primary {
    background: var(--gold-foil);
    background-size: 200% auto;
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(182, 140, 58, 0.25);
}
.btn-primary:hover {
    background-position: right center;
    box-shadow: 0 14px 40px rgba(182, 140, 58, 0.45);
    transform: translateY(-2px);
}
/* Secondary — Outline gold */
.btn-outline {
    background: transparent;
    color: var(--gold-bright);
    border-color: var(--gold);
}
/* .btn-outline 的文字色 --gold-bright 是為深色首屏設計的；
   在淺底區塊上只有 1.63:1，改用深金階（實測 5.38:1，達 WCAG AA）。 */
.bg-ivory .btn-outline,
.bg-ivory-warm .btn-outline,
.bg-cream .btn-outline,
.bg-cream-warm .btn-outline,
.bg-paper .btn-outline,
.bg-parchment .btn-outline,
.bg-music-staff .btn-outline { color: var(--gold-deep); }
.btn-outline:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    transform: translateY(-2px);
}
/* Dark (legacy / inverse on light bg) */
.btn-dark {
    background: var(--navy);
    color: var(--ivory);
}
.btn-dark:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-large { padding: 18px 44px; font-size: 1.05rem; }

.btn-arrow::after {
    content: '→';
    transition: transform 0.3s var(--ease);
    margin-left: 4px;
}
.btn-arrow:hover::after { transform: translateX(6px); }

/* ---------- COUNTDOWN ---------- */
.countdown {
    display: inline-flex;
    gap: var(--s2);
    margin: var(--s3) auto 0;
    flex-wrap: wrap;
    justify-content: center;
}
.countdown-unit {
    flex: 0 0 auto;
    min-width: 84px;
    text-align: center;
    padding: 14px 18px;
    background: rgba(182, 140, 58, 0.06);
    border: 1px solid rgba(182, 140, 58, 0.32);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.countdown-unit .num {
    display: block;
    font-family: var(--display-en);
    font-size: clamp(1.8rem, 3.6vw, 2.4rem);
    font-weight: 700;
    color: var(--gold-bright);
    line-height: 1;
    letter-spacing: 0.02em;
}
.countdown-unit .lbl {
    font-family: var(--sans-en);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(247, 241, 227, 0.72);
    margin-top: 8px;
    display: block;
}

/* ---------- INFO STRIP (after hero) ---------- */
.info-strip {
    background: var(--navy);
    color: var(--ivory);
    padding: var(--s5) 0;
    border-top: 1px solid rgba(182, 140, 58, 0.18);
    border-bottom: 1px solid rgba(182, 140, 58, 0.18);
    position: relative;
}
.info-strip::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(182, 140, 58, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.info-strip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--s4);
    align-items: center;
    position: relative;
    z-index: 1;
}
.info-block {
    text-align: center;
    padding: var(--s2);
    position: relative;
}
.info-block:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18%; bottom: 18%;
    right: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(182, 140, 58, 0.3), transparent);
}
.info-block .icon {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 10px;
    line-height: 1;
}
.info-block .label {
    font-family: var(--sans-tc);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: var(--gold-light);
    margin-bottom: 8px;
}
.info-block .value {
    font-family: var(--serif-tc);
    /* 1.18rem 需搭配簡短文字。容器實寬 1132px、gap 32px，minmax(220px) 下最窄
       內容欄約 180px；「2027 年 8 月 7 / 8 日」在 root 20px 要 217px 必換行。
       年份已見於 H1 與首屏卡，此處兩格日期省略年份，餘裕 39px。
       （不可改用 minmax(260px+) 加寬欄位：1132px 下會掉成 3 欄，變 3+1 孤行。） */
    font-size: 1.18rem;
    color: var(--ivory);
    line-height: 1.4;
    font-weight: 600;
}

@media (max-width: 768px) {
    .info-block:nth-child(2n)::after { display: none; }
}

/* ---------- CARDS (general) ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-5 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (max-width: 768px) {
    .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .card-grid.cols-2, .card-grid.cols-3 { grid-template-columns: 1fr; }
}

.card {
    background: var(--ivory-soft);
    padding: 2.4rem 2rem;
    position: relative;
    border: 1px solid rgba(182, 140, 58, 0.22);
    border-radius: var(--radius);
    transition: all 0.5s var(--ease);
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 38px; height: 38px;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    transition: all 0.4s var(--ease);
    opacity: 0.55;
}
.card::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 38px; height: 38px;
    border-bottom: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    transition: all 0.4s var(--ease);
    opacity: 0.55;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(182, 140, 58, 0.5);
}
.card:hover::before, .card:hover::after {
    width: 56px; height: 56px;
    opacity: 1;
}
.card .number {
    font-family: var(--display-en);
    font-style: italic;
    font-size: 2.6rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: var(--s2);
    opacity: 0.7;
    font-weight: 600;
}
.card h3 {
    margin-bottom: var(--s2);
    color: var(--ink);
}
.card p { color: var(--charcoal); }

/* Variant — on dark backgrounds */
.bg-ink .card, .bg-navy .card, .bg-stage .card {
    background: rgba(247, 241, 227, 0.04);
    border-color: rgba(182, 140, 58, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.bg-ink .card:hover, .bg-navy .card:hover, .bg-stage .card:hover {
    background: rgba(247, 241, 227, 0.07);
    border-color: var(--gold);
}
.bg-ink .card h3, .bg-navy .card h3, .bg-stage .card h3 { color: var(--gold-bright); }
.bg-ink .card p, .bg-navy .card p, .bg-stage .card p { color: rgba(247, 241, 227, 0.78); }
.bg-ink .card .number, .bg-navy .card .number, .bg-stage .card .number {
    color: var(--gold-bright); opacity: 0.55;
}

/* Editorial 10-card mosaic (advantages) */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
    margin-top: var(--s5);
}
/* Symmetric 3×2 variant (homepage 6-card preview) */
.advantage-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
    .advantage-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .advantage-grid.cols-3 { grid-template-columns: 1fr; }
}
/* ── 十大優勢：可展開全文 ────────────────────────────
   卡片式便於掃視，但容不下現版本 150–250 字的原文；
   首段常駐、其餘收在展開區，兩者兼得。 */
.advantage-more {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    transition: max-height 0.5s var(--ease), padding-top 0.5s var(--ease);
}
.advantage-card.expanded .advantage-more {
    max-height: 720px;
    padding-top: 0.9rem;
}
.advantage-more p + p { margin-top: 0.8rem; }
.advantage-toggle {
    margin-top: 1rem;
    font-family: inherit;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    color: var(--gold-deep);
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(182, 140, 58, 0.45);
    padding: 6px 2px;
    cursor: pointer;
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.advantage-toggle::after { content: '　▾'; font-size: 0.8em; }
.advantage-card.expanded .advantage-toggle::after { content: '　▴'; }
.advantage-toggle:hover,
.advantage-toggle:focus-visible { color: var(--gold); border-color: var(--gold); }
/* 深色區塊內的優勢卡 */
.bg-ink .advantage-toggle, .bg-navy .advantage-toggle { color: var(--gold-bright); }

.advantage-card {
    background: var(--ivory-soft);
    border: 1px solid rgba(182, 140, 58, 0.22);
    border-radius: var(--radius);
    padding: 2.2rem 1.8rem;
    position: relative;
    transition: all 0.5s var(--ease);
    overflow: hidden;
}
.advantage-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold-foil);
    background-size: 200% auto;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}
.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(182, 140, 58, 0.5);
}
.advantage-card:hover::before { transform: scaleX(1); }
.advantage-card .num {
    font-family: var(--display-en);
    font-style: italic;
    font-size: 2.4rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.advantage-card .num::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0.5;
}
.advantage-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.8rem;
    color: var(--ink);
}
.advantage-card p {
    font-size: 0.95rem;
    line-height: 1.78;
    color: var(--charcoal);
}
.advantage-card.tone-paper { background: var(--paper); }
.advantage-card.tone-warm  { background: var(--ivory-warm); }
.advantage-card.tone-rose  {
    background: linear-gradient(135deg, var(--ivory-warm) 0%, #F0E5DD 100%);
}

/* ---------- AWARDS PODIUM ---------- */
.awards-podium {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 1.5rem;
    margin-top: var(--s5);
    align-items: end;
}
@media (max-width: 900px) { .awards-podium { grid-template-columns: 1fr; } }

.award {
    position: relative;
    padding: 3.2rem 2rem;
    text-align: center;
    overflow: hidden;
    border-radius: var(--radius);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.award:hover { transform: translateY(-6px); }
.award-gold {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 235, 180, 0.5) 0%, transparent 60%),
        linear-gradient(135deg, #EBD3A0 0%, #DCBB74 40%, #C9A254 70%, #B68C3A 100%);
    color: var(--navy);
    min-height: 460px;
    box-shadow:
        0 20px 60px rgba(182, 140, 58, 0.35),
        inset 0 0 80px rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}
.award-gold:hover { transform: scale(1.05) translateY(-6px); }
.award-silver {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.5) 0%, transparent 60%),
        linear-gradient(135deg, #EDEDED 0%, #C5C5C5 50%, #888888 100%);
    color: var(--navy);
    min-height: 400px;
}
.award-bronze {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 220, 180, 0.4) 0%, transparent 60%),
        linear-gradient(135deg, #D8AA80 0%, #B0794D 50%, #7A4F2E 100%);
    color: var(--ivory);
    min-height: 400px;
}
.award::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    pointer-events: none;
}
.award::after {
    content: '◆';
    position: absolute;
    top: 28px; left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}
.award .medal {
    font-family: var(--display-en);
    font-style: italic;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    margin-bottom: var(--s2);
    opacity: 0.85;
    font-weight: 600;
}
.award .tier {
    font-family: var(--serif-tc);
    font-size: 2.2rem;
    margin-bottom: var(--s3);
    font-weight: 700;
    letter-spacing: 0.4em;
    padding-left: 0.4em;
}
.award-gold .tier { font-size: 2.6rem; }
.award .amount {
    font-family: var(--display-en);
    font-size: clamp(2.4rem, 4.6vw, 3.4rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.4rem;
}
.award-gold .amount { font-size: clamp(2.8rem, 5.2vw, 4rem); }
.award .amount-zh {
    font-family: var(--serif-tc);
    font-size: 1.05rem;
    opacity: 0.85;
}
.award .count {
    margin-top: var(--s3);
    padding-top: var(--s3);
    border-top: 1px solid rgba(255,255,255,0.3);
    font-size: 0.92rem;
    opacity: 0.88;
}

/* Legacy 3-equal layout (used on awards-jury page) */
.awards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s3);
    margin-top: var(--s5);
}
@media (max-width: 900px) { .awards { grid-template-columns: 1fr; } }

/* ---------- JURY ---------- */
.jury-grid {
    display: grid;
    /* 五位評委：桌機固定 3 欄成 3+2，避免 auto-fit 在 1280px 切出 4+1 的孤行。
       卡片內含簡介文字，3 欄比 5 欄有足夠行寬。 */
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    margin-top: var(--s5);
}
@media (max-width: 900px) { .jury-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .jury-grid { grid-template-columns: 1fr; } }
/* single-row variants (homepage jury preview) */
.jury-grid.cols-5,
.jury-grid.cols-4 {
    gap: 1.2rem;
}
.jury-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.jury-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.jury-grid.cols-5 .jury-name,
.jury-grid.cols-4 .jury-name { font-size: 1.375rem; }
.jury-grid.cols-5 .jury-voice,
.jury-grid.cols-4 .jury-voice { font-size: 0.82rem; }
.jury-grid.cols-5 .jury-info,
.jury-grid.cols-4 .jury-info { padding: 1.2rem 1rem; }
@media (max-width: 1024px) {
    .jury-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .jury-grid .jury-name { font-size: 1.375rem; }   /* 規格手機 H3 20–22px；提高特異度以蓋過後面的基礎規則 */
    .jury-grid.cols-5,
    .jury-grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
    .jury-grid.cols-5 .jury-info,
    .jury-grid.cols-4 .jury-info { padding: 0.9rem 0.6rem; }
    .jury-grid.cols-5 .jury-name,
    .jury-grid.cols-4 .jury-name { font-size: 1.25rem; letter-spacing: 0.12em; }
    .jury-grid.cols-5 .jury-voice,
    .jury-grid.cols-4 .jury-voice { font-size: 0.72rem; }
}
.jury-card {
    background: var(--ivory-soft);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.5s var(--ease);
    border-radius: var(--radius);
    border: 1px solid rgba(182, 140, 58, 0.18);
}
.jury-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold-foil);
    background-size: 200% auto;
    animation: shimmer 6s linear infinite;
}
.jury-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(182, 140, 58, 0.45);
}
.jury-photo {
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
    background: var(--ivory-warm);
}
.jury-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.jury-card:hover .jury-photo img { transform: scale(1.06); }
.jury-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(11, 37, 69, 0.45) 100%);
}
.jury-info {
    padding: 1.6rem 1.4rem;
    text-align: center;
}
.jury-name {
    font-family: var(--serif-tc);
    font-size: 1.45rem;
    color: var(--ink);
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: 0.18em;
    padding-left: 0.18em;
}
.jury-voice {
    font-family: var(--display-en);
    font-style: italic;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    color: var(--gold-deep);
    margin-bottom: 0.6rem;
}
.jury-bio {
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.65;
    text-align: left;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s var(--ease), padding 0.6s var(--ease);
    padding-top: 0;
    border-top: 1px solid transparent;
}
.jury-card.expanded .jury-bio {
    max-height: 800px;
    padding-top: 1rem;
    border-top-color: rgba(182, 140, 58, 0.3);
}
.jury-toggle {
    margin-top: var(--s2);
    color: var(--gold-deep);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}
.jury-toggle::after {
    content: '⌄';
    font-size: 1.2rem;
    line-height: 1;
    transition: transform 0.3s var(--ease);
}
.jury-card.expanded .jury-toggle::after { transform: rotate(180deg); }

/* ---------- FAQ ---------- */
.faq-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--s5);
    margin-top: var(--s5);
}
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: var(--s3); } }

.faq-side {
    position: sticky;
    top: 110px;
    align-self: start;
    border-left: 1px solid rgba(182, 140, 58, 0.25);
    padding-left: var(--s3);
}
@media (max-width: 900px) {
    .faq-side {
        position: static;
        border-left: none;
        border-bottom: 1px solid rgba(182, 140, 58, 0.25);
        padding-left: 0;
        padding-bottom: var(--s3);
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
    }
}
.faq-side a {
    display: block;
    padding: 10px 0;
    font-family: var(--serif-tc);
    font-size: 0.95rem;
    color: var(--charcoal);
    border-left: 2px solid transparent;
    margin-left: -1.5rem;
    padding-left: 1.5rem;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}
.faq-side a:hover, .faq-side a.active {
    color: var(--gold-deep);
    border-left-color: var(--gold);
    font-weight: 600;
}
@media (max-width: 900px) {
    .faq-side a {
        margin-left: 0;
        padding: 8px 16px;
        border-left: none;
        border-bottom: 2px solid transparent;
        font-size: 0.85rem;
    }
    .faq-side a:hover, .faq-side a.active {
        border-left: none;
        border-bottom-color: var(--gold);
    }
}

.faq-list { max-width: none; margin: 0; }
.faq-category { margin-bottom: var(--s5); scroll-margin-top: 110px; }
.faq-category-title {
    font-family: var(--serif-tc);
    font-size: 1.4rem;
    color: var(--ink);
    padding-bottom: var(--s2);
    border-bottom: 1px solid rgba(182, 140, 58, 0.3);
    margin-bottom: var(--s3);
    display: flex;
    align-items: center;
    gap: var(--s2);
}
.faq-category-title .num {
    font-family: var(--display-en);
    font-style: italic;
    color: var(--gold);
    font-size: 1.8rem;
    font-weight: 600;
}
.faq-item {
    background: var(--ivory-soft);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: var(--s2);
    overflow: hidden;
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item.open { background: linear-gradient(180deg, var(--ivory-warm) 0%, var(--ivory-soft) 100%); }
.faq-q {
    padding: 1.3rem 1.6rem;
    font-family: var(--serif-tc);
    font-size: 1.06rem;
    color: var(--ink);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s2);
    width: 100%;
    text-align: left;
    transition: background 0.3s var(--ease);
}
.faq-q:hover { background: rgba(182, 140, 58, 0.05); }
.faq-q::after {
    content: '+';
    font-family: var(--display-en);
    font-size: 1.6rem;
    color: var(--gold-deep);
    transition: transform 0.4s var(--ease);
    line-height: 1;
    flex-shrink: 0;
    width: 26px;
    text-align: center;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease), padding 0.5s var(--ease);
    padding: 0 1.6rem;
    color: var(--charcoal);
    line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 800px; padding: 0 1.6rem 1.4rem; }

/* ---------- FORMS ---------- */
.form {
    max-width: 760px;
    margin: 0 auto;
    background: var(--ivory-soft);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid rgba(182, 140, 58, 0.15);
}
.form::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gold-foil);
    background-size: 200% auto;
    animation: shimmer 6s linear infinite;
    border-radius: var(--radius) var(--radius) 0 0;
}
.form-section {
    border-top: 1px solid rgba(182, 140, 58, 0.18);
    padding-top: 1.6rem;
    margin-top: 2rem;
}
.form-section:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.form-section-head {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
}
.form-section-head .num {
    font-family: var(--display-en);
    font-style: italic;
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 600;
}
.form-section-head h3 {
    font-size: 1.375rem;
    color: var(--ink);
    letter-spacing: 0.04em;
}
.form-section-head .desc {
    font-size: 0.85rem;
    color: var(--slate);
    margin-left: auto;
    font-weight: 400;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 1rem; }
.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}
.form-field label .req { color: var(--error); }
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 16px;
    font-family: var(--sans-tc);
    font-size: 1rem;
    border: 1px solid rgba(11, 37, 69, 0.14);
    background: var(--ivory);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
    color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(182, 140, 58, 0.18);
    background: var(--ivory-soft);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field .hint {
    font-size: 0.82rem;
    color: var(--slate);
    margin-top: 6px;
    line-height: 1.6;
}
.form button[type=submit] {
    width: 100%;
    margin-top: 1.4rem;
}

@media (max-width: 600px) {
    .form { padding: 1.6rem; }
}

/* ---------- CTA BAND ---------- */
.cta-band {
    padding: var(--s7) 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(182, 140, 58, 0.10) 0%, transparent 62%),
        linear-gradient(135deg,
            var(--navy) 0%,
            var(--navy-2) 50%,
            var(--navy-3) 100%);
    color: var(--ivory);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    /* 淡雅：alpha 降半，衰減由 40% 拉到 65%，兩個圓改橢圓並放大，
       讓光斑化為環境光而不是看得出位置的兩顆亮點 */
    background:
        radial-gradient(ellipse 65% 75% at 22% 78%, rgba(182, 140, 58, 0.06) 0%, transparent 65%),
        radial-gradient(ellipse 60% 70% at 78% 22%, rgba(182, 140, 58, 0.04) 0%, transparent 65%);
    pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
    color: var(--ivory);
    margin-bottom: var(--s3);
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.cta-band h2 .accent {
    background: var(--gold-foil);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 6s linear infinite;
}
.cta-band p {
    color: rgba(247, 241, 227, 0.85);
    max-width: 640px;
    margin: 0 auto var(--s4);
    font-size: 1.08rem;
}
.cta-band .eyebrow { color: var(--gold-light); }
.cta-band .eyebrow::before, .cta-band .eyebrow::after { background: var(--gold-light); }

/* ---------- STAT BLOCKS ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--s3);
    margin: var(--s5) 0 0;
}
.stat {
    text-align: center;
    padding: var(--s4) var(--s2);
    border-left: 1px solid rgba(182, 140, 58, 0.18);
}
.stat:first-child { border-left: 0; }
@media (max-width: 768px) {
    .stat { border-left: 0; border-top: 1px solid rgba(182, 140, 58, 0.18); padding: var(--s3) var(--s2); }
    .stat:first-child { border-top: 0; }
}
.stat .figure {
    font-family: var(--display-en);
    font-size: clamp(2.4rem, 4.8vw, 3.4rem);
    font-weight: 700;
    background: var(--gold-foil);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: var(--s2);
    animation: shimmer 6s linear infinite;
}
.stat .desc {
    font-size: 0.9rem;
    color: rgba(247, 241, 227, 0.72);
    line-height: 1.5;
    font-family: var(--sans-en);
    letter-spacing: 0.06em;
}
.stat .desc-zh {
    font-family: var(--sans-tc);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

/* ---------- TIMELINE ---------- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: var(--s5) auto 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 30px; top: 8px; bottom: 8px;
    width: 1px;
    background: linear-gradient(180deg, var(--gold), rgba(182, 140, 58, 0.2));
}
.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 2.4rem;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: 22px; top: 8px;
    width: 17px; height: 17px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--ivory-soft), 0 0 0 5px var(--gold);
}
.bg-ink .timeline-item::before, .bg-navy .timeline-item::before {
    box-shadow: 0 0 0 4px var(--navy), 0 0 0 5px var(--gold);
}
.timeline-stage {
    font-family: var(--display-en);
    font-style: italic;
    color: var(--gold-deep);
    font-size: 0.92rem;
    letter-spacing: 0.14em;
    margin-bottom: 4px;
    font-weight: 600;
}
.bg-ink .timeline-stage, .bg-navy .timeline-stage { color: var(--gold-light); }
.timeline-title {
    font-family: var(--serif-tc);
    font-size: 1.375rem;
    color: var(--ink);
    margin-bottom: 8px;
    font-weight: 600;
}
.bg-ink .timeline-title, .bg-navy .timeline-title { color: var(--gold-bright); }

/* ---------- SPLIT (2-col) ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s6);
    align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 768px) {
    .split { grid-template-columns: 1fr; gap: var(--s4); }
    .split.reverse > :first-child { order: 0; }
}
.split-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}
.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.split-image::before {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid var(--gold);
    pointer-events: none;
    z-index: 2;
}

/* Visual block — used for mission section right side */
.visual-frame {
    position: relative;
    aspect-ratio: 4/5;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(182, 140, 58, 0.15) 0%, transparent 70%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-bright);
}
.visual-frame::before {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(182, 140, 58, 0.4);
    border-radius: 2px;
    pointer-events: none;
}
.visual-frame .visual-inner {
    text-align: center;
    padding: var(--s4);
    z-index: 2;
}
.visual-frame .visual-en {
    font-family: var(--display-en);
    font-style: italic;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--gold-bright);
    letter-spacing: 0.02em;
}
.visual-frame .visual-zh {
    font-family: var(--serif-tc);
    font-size: 1.1rem;
    color: rgba(247, 241, 227, 0.8);
    letter-spacing: 0.2em;
}
.visual-frame .visual-symbol {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1.2rem;
    opacity: 0.85;
    line-height: 1;
}

/* ---------- LIST STYLES ---------- */
.refined-list { list-style: none; counter-reset: refined; }
.refined-list li {
    counter-increment: refined;
    padding: 1rem 0 1rem 64px;
    position: relative;
    border-bottom: 1px solid rgba(182, 140, 58, 0.2);
    font-size: 1.04rem;
    line-height: 1.65;
    color: var(--charcoal);
}
.refined-list li::before {
    content: counter(refined, decimal-leading-zero);
    position: absolute;
    left: 0; top: 1.05rem;
    font-family: var(--display-en);
    font-style: italic;
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 600;
}
.bg-ink .refined-list li, .bg-navy .refined-list li { color: rgba(247, 241, 227, 0.86); }

.feature-list { list-style: none; }
.feature-list li {
    padding: 0.8rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border-bottom: 1px solid rgba(182, 140, 58, 0.16);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
    content: '◆';
    color: var(--gold);
    font-size: 0.65rem;
    margin-top: 9px;
    flex-shrink: 0;
}

/* ---------- BADGE ---------- */
.badge {
    display: inline-block;
    padding: 6px 14px;
    font-family: var(--sans-tc);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    background: rgba(182, 140, 58, 0.1);
    color: var(--gold-deep);
    border: 1px solid rgba(182, 140, 58, 0.4);
    border-radius: 100px;
    font-weight: 600;
}
.badge.zh {
    font-family: var(--serif-tc);
    text-transform: none;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
}

/* ---------- ALERT ---------- */
.alert {
    padding: 1.4rem 1.6rem;
    border-left: 3px solid var(--gold);
    background: var(--ivory-warm);
    font-size: 0.95rem;
    color: var(--charcoal);
    margin: 1.5rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}
.alert strong { color: var(--error); }
.alert-error {
    border-left-color: var(--error);
    background: rgba(155, 28, 28, 0.05);
}
.bg-ink .alert, .bg-navy .alert {
    background: rgba(247, 241, 227, 0.05);
    color: rgba(247, 241, 227, 0.85);
    border-left-color: var(--gold);
}

/* ---------- FULL-WIDTH FEATURE BANNER ---------- */
.feature-banner {
    width: 100%;
    background: var(--navy);
    overflow: hidden;
    padding: 0;
    line-height: 0;
}
.feature-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------- NEWS LIST ---------- */
.news-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin: var(--s4) 0 var(--s5);
}
.news-filter {
    padding: 8px 18px;
    font-family: var(--display-en);
    font-style: italic;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    background: transparent;
    color: var(--charcoal);
    border: 1px solid rgba(182, 140, 58, 0.35);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    font-weight: 600;
}
.news-filter:hover { border-color: var(--gold); color: var(--gold-deep); }
.news-filter.active {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.news-year-group { margin-bottom: var(--s5); scroll-margin-top: 100px; }
.news-year {
    font-family: var(--display-en);
    font-style: italic;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.04em;
    margin-bottom: var(--s3);
    padding-bottom: var(--s2);
    border-bottom: 1px solid rgba(182, 140, 58, 0.3);
    display: flex;
    align-items: baseline;
    gap: 1rem;
}
.news-year .count {
    font-family: var(--sans-en);
    font-style: normal;
    font-size: 0.85rem;
    color: var(--slate);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
}

.news-item {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 1.4rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(182, 140, 58, 0.18);
    align-items: center;
    transition: all 0.3s var(--ease);
    position: relative;
}
.news-item:hover { padding-left: 12px; border-bottom-color: var(--gold); }
.news-item time {
    font-family: var(--display-en);
    font-style: italic;
    color: var(--gold-deep);
    font-size: 1rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}
.news-item time .day {
    display: block;
    font-size: 0.85rem;
    color: var(--slate);
    font-style: normal;
    margin-top: 2px;
    letter-spacing: 0.04em;
    font-weight: 400;
}
.news-content h4 {
    font-family: var(--serif-tc);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.5;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}
.news-content h4 a {
    color: inherit;
    transition: color 0.3s var(--ease);
}
.news-content h4 a:hover { color: var(--gold-deep); }
.news-source {
    display: inline-block;
    font-family: var(--sans-en);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold-deep);
    background: rgba(182, 140, 58, 0.1);
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid rgba(182, 140, 58, 0.3);
    font-weight: 600;
}
.news-source.zh {
    font-family: var(--serif-tc);
    text-transform: none;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
}
.news-arrow {
    color: var(--gold);
    font-size: 1.4rem;
    line-height: 1;
    opacity: 0.5;
    transition: all 0.3s var(--ease);
}
.news-item:hover .news-arrow {
    opacity: 1;
    transform: translateX(6px);
    color: var(--gold-deep);
}

@media (max-width: 700px) {
    .news-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1.2rem 0;
    }
    .news-item time { font-size: 0.85rem; }
    .news-item time .day { display: inline; margin-left: 6px; }
    .news-content h4 { font-size: 1rem; line-height: 1.55; }
    .news-arrow { display: none; }
    .news-item:hover { padding-left: 0; }
}

/* ---------- VIDEO MODAL (YouTube lightbox) ---------- */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(8, 12, 20, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.video-modal.open {
    display: flex;
    opacity: 1;
}
.video-modal-frame {
    width: 100%;
    max-width: 1280px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(182, 140, 58, 0.25);
    transform: scale(0.96);
    transition: transform 0.4s var(--ease);
    position: relative;
}
.video-modal.open .video-modal-frame { transform: scale(1); }
.video-modal-inner { width: 100%; height: 100%; }
.video-modal-inner iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.video-modal-close {
    position: absolute;
    top: 1.4rem;
    right: 1.6rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(182, 140, 58, 0.12);
    border: 1px solid rgba(182, 140, 58, 0.4);
    color: var(--gold-bright);
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    z-index: 1;
}
.video-modal-close:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    transform: rotate(90deg);
}
@media (max-width: 600px) {
    .video-modal { padding: 1rem; }
    .video-modal-close { top: 0.6rem; right: 0.6rem; width: 40px; height: 40px; font-size: 1.4rem; }
}
body.modal-open { overflow: hidden; }

/* ---------- VIDEO HIGHLIGHTS (past finals) ---------- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.6rem;
    margin-top: var(--s5);
}
.video-grid.featured {
    grid-template-columns: 1.6fr 1fr 1fr;
}
@media (max-width: 900px) {
    .video-grid.featured { grid-template-columns: 1fr; }
}
.video-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--navy);
    aspect-ratio: 16/9;
    cursor: pointer;
    border: 1px solid rgba(182, 140, 58, 0.22);
    transition: all 0.5s var(--ease);
    display: block;
}
.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
.video-card .thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s var(--ease);
}
.video-card:hover .thumb { transform: scale(1.08); }
.video-card .thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(11, 37, 69, 0.15) 0%,
            rgba(11, 37, 69, 0.25) 50%,
            rgba(11, 37, 69, 0.85) 100%);
    z-index: 1;
}
.video-card .play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 76px; height: 76px;
    border-radius: 50%;
    background: rgba(182, 140, 58, 0.18);
    border: 2px solid var(--gold);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.4s var(--ease);
    box-shadow: 0 0 0 8px rgba(182, 140, 58, 0.08);
}
.video-card:hover .play {
    background: var(--gold);
    box-shadow: 0 0 0 14px rgba(182, 140, 58, 0.18);
    transform: translate(-50%, -50%) scale(1.06);
}
.video-card .play::after {
    content: '';
    width: 0; height: 0;
    border-style: solid;
    border-width: 13px 0 13px 22px;
    border-color: transparent transparent transparent var(--gold);
    margin-left: 6px;
    transition: border-color 0.4s var(--ease);
}
.video-card:hover .play::after {
    border-color: transparent transparent transparent var(--navy);
}
.video-card .info {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.4rem 1.6rem;
    color: var(--ivory);
    z-index: 2;
}
.video-card .info .year {
    font-family: var(--display-en);
    font-style: italic;
    font-size: 0.84rem;
    letter-spacing: 0.2em;
    color: var(--gold-bright);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.video-card .info h3 {
    color: var(--ivory);
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
    letter-spacing: 0.04em;
}
.video-card .info .meta {
    font-size: 0.82rem;
    color: rgba(247, 241, 227, 0.75);
    letter-spacing: 0.06em;
}
/* Featured (first card larger) */
.video-card.featured {
    aspect-ratio: 16/10;
}
.video-card.featured .play {
    width: 96px; height: 96px;
}
.video-card.featured .play::after {
    border-width: 16px 0 16px 28px;
}
.video-card.featured .info { padding: 2rem 2.2rem; }
.video-card.featured .info h3 { font-size: 1.5rem; }

/* Caption variant — info sits BELOW the thumbnail */
.video-card.caption {
    aspect-ratio: unset;
    overflow: visible;
    display: flex;
    flex-direction: column;
}
.video-card.caption .thumb-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    flex-shrink: 0;
}
.video-card.caption .thumb-wrap .thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s var(--ease);
}
.video-card.caption:hover .thumb-wrap .thumb { transform: scale(1.08); }
.video-card.caption .thumb-wrap .thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,37,69,0.1) 0%, rgba(11,37,69,0.3) 100%);
    z-index: 1;
}
.video-card.caption .thumb-wrap .play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.video-card.caption .info {
    position: static;
    background: rgba(11, 37, 69, 0.65);
    border: 1px solid rgba(182, 140, 58, 0.22);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 1rem 1.3rem 1.1rem;
    color: var(--ivory);
}
.video-card.caption .info h3 { font-size: 1.05rem; }


/* ---------- TESTIMONIALS (winner stories) ---------- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    margin-top: var(--s5);
}
@media (max-width: 900px) {
    .testimonial-grid { grid-template-columns: 1fr; }
}
.testimonial {
    background: var(--ivory-soft);
    border: 1px solid rgba(182, 140, 58, 0.22);
    border-radius: var(--radius);
    padding: 2.4rem 2rem 2rem;
    position: relative;
    transition: all 0.5s var(--ease);
    display: flex;
    flex-direction: column;
}
.testimonial::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    left: 1.4rem;
    font-family: var(--display-en);
    font-size: 5rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.25;
    font-weight: 700;
}
.testimonial:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(182, 140, 58, 0.5);
}
.testimonial .quote {
    font-family: var(--serif-tc);
    font-size: 1.04rem;
    line-height: 1.8;
    color: var(--ink);
    margin-top: 1.6rem;
    margin-bottom: 1.6rem;
    font-style: italic;
    letter-spacing: 0.02em;
    flex: 1;
    padding-left: 0.4rem;
    position: relative;
    z-index: 1;
}
.testimonial .person {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(182, 140, 58, 0.25);
}
.testimonial .avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gold-foil);
    background-size: 200% auto;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif-tc);
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 2px solid var(--ivory-soft);
    box-shadow: 0 0 0 2px var(--gold);
}
.testimonial .person-info { flex: 1; min-width: 0; }
.testimonial .person-info .name {
    font-family: var(--serif-tc);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}
.testimonial .person-info .achievement {
    font-family: var(--display-en);
    font-style: italic;
    font-size: 0.82rem;
    color: var(--gold-deep);
    letter-spacing: 0.08em;
    line-height: 1.4;
}
.testimonial .person-info .achievement-zh {
    font-family: var(--serif-tc);
    font-style: normal;
    font-size: 0.85rem;
    color: var(--slate);
    margin-top: 2px;
}
/* Featured testimonial (larger) */
.testimonial.feat {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--ivory-soft) 0%, var(--ivory-warm) 100%);
}
.testimonial.feat .quote { font-size: 1.18rem; }
/* Wide testimonial — spans the full row for long quotes */
.testimonial.wide {
    grid-column: 1 / -1;
}
@media (max-width: 900px) {
    .testimonial.feat,
    .testimonial.wide { grid-column: span 1; }
}

/* ---------- CONTACT INFO CARDS ---------- */
.contact-card {
    text-align: center;
    padding: 2.6rem 1.8rem;
    background: var(--ivory-soft);
    border: 1px solid rgba(182, 140, 58, 0.22);
    border-radius: var(--radius);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold-foil);
    background-size: 200% auto;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}
.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.contact-card:hover::before { transform: scaleX(1); }
.contact-card .icon-wrap {
    width: 64px; height: 64px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(182, 140, 58, 0.12), rgba(182, 140, 58, 0.04));
    border: 1px solid rgba(182, 140, 58, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--gold-deep);
}
.contact-card h3 { margin-bottom: 0.6rem; font-size: 1.375rem; }
.contact-card .meta {
    font-size: 0.92rem;
    color: var(--slate);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}
.contact-card .value {
    font-family: var(--display-en);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--gold-deep);
    font-weight: 600;
    margin-bottom: 0.4rem;
    word-break: break-word;
}
.contact-card .value-zh {
    font-family: var(--serif-tc);
    font-style: normal;
    font-size: 1.05rem;
    color: var(--ink);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ---------- MAP PLACEHOLDER ---------- */
.map-placeholder {
    aspect-ratio: 21/9;
    background:
        linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
    border-radius: var(--radius);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--s4);
}
.map-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent 0, transparent 60px,
            rgba(182, 140, 58, 0.04) 60px, rgba(182, 140, 58, 0.04) 61px);
}
.map-placeholder .pin {
    text-align: center;
    color: var(--gold-bright);
    z-index: 1;
}
.map-placeholder .pin-icon {
    font-size: 3rem;
    margin-bottom: 0.6rem;
    color: var(--gold);
    text-shadow: 0 0 30px rgba(182, 140, 58, 0.6);
}
.map-placeholder .pin-label {
    font-family: var(--display-en);
    font-style: italic;
    font-size: 1.2rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.3rem;
}
.map-placeholder .pin-zh {
    font-family: var(--serif-tc);
    font-size: 0.95rem;
    color: rgba(247, 241, 227, 0.8);
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--navy);
    color: rgba(247, 241, 227, 0.7);
    padding: var(--s6) 0 var(--s3);
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}
footer .container { max-width: var(--container); position: relative; z-index: 1; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--s4);
    margin-bottom: var(--s5);
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s3); }
    .footer-section.footer-brand { grid-column: 1 / -1; }
}
.footer-section h4 {
    font-family: var(--serif-tc);
    color: var(--gold-bright);
    margin-bottom: var(--s2);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}
.footer-section p, .footer-section a {
    color: rgba(247, 241, 227, 0.7);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 6px;
    display: block;
}
.footer-section a:hover { color: var(--gold-bright); }
/* 頁尾品牌連結：.footer-section a 會把顏色壓成 0.7 灰白、字級壓成 0.92rem，
   且 display:block —— 以 2 類＋型別的選擇器覆寫，讓它維持品牌樣式 */
/* ── 早鳥優惠 ──────────────────────────────────────
   無底色、無框線，純靠留白界定。層次刻意做成單一焦點鏈：
   標題 → 優惠碼 → 按鈕，避免原設計四個金色元素互相競爭。
   優惠碼與折扣數字用規格 §2.1 的錯誤紅 #9B1C1C——注意規格對該色的
   註記是「不作品牌裝飾」，此處作限時優惠標示，屬經主辦方指示的例外。 */
.earlybird {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    text-align: center;
}
.earlybird-title {
    margin: 0;
    font-family: var(--serif-tc);
    /* 略小於區塊主標（h2 28–40px），維持從屬關係但仍醒目 */
    font-size: clamp(1.625rem, 2.8vw, 2.125rem);
    line-height: 1.2;
    color: var(--ink);
    letter-spacing: 0.08em;
}
.earlybird-text {
    margin: 0;
    max-width: 46em;
    font-size: 1.02rem;
    color: var(--charcoal);
}
.earlybird-text strong { font-weight: 600; }
/* 「即享 50% 優惠。」整段不斷行 */
.earlybird-nowrap { white-space: nowrap; }
.earlybird-hl { color: var(--error); font-weight: 700; }
.earlybird-code {
    display: inline-block;
    font-family: var(--sans-en);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--promo);
    background: #FFFFFF;
    border: 1px solid rgba(30, 91, 60, 0.4);
    border-radius: 4px;
    padding: 3px 12px;
    margin: 0 6px;
    white-space: nowrap;
}
.earlybird .btn { margin-top: 0.2rem; }
/* 這是插入帶而非完整區塊，section 預設的 88–120px 上下留白太多。
   上緣再收一級：前一個 section 自己就有 64px 下留白，兩者相加會把
   優惠帶推得離上文太遠，讀起來像獨立一頁。 */
#early-bird { padding-top: var(--s3); padding-bottom: var(--s3); }
.earlybird { padding-top: 0; }
@media (max-width: 560px) {
    .earlybird { padding: 0 0 0.4rem; gap: 0.7rem; }
    .earlybird-text { font-size: 0.98rem; }
}

/* ── 歷屆獲獎名單 ──────────────────────────────────
   以 .winner-edition 為單位，新增一屆只要複製一個區塊。 */
.winner-editions { display: flex; flex-direction: column; gap: var(--s4); margin-top: var(--s5); }
.winner-edition {
    background: var(--ivory-soft);
    border: 1px solid rgba(182, 140, 58, 0.22);
    border-radius: var(--radius);
    padding: 1.6rem 1.8rem 1.8rem;
}
.winner-edition-title {
    margin: 0 0 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(182, 140, 58, 0.25);
    font-size: 1.375rem;
}
.winner-list { display: flex; flex-direction: column; gap: 0.9rem; }
.winner-row {
    display: grid;
    grid-template-columns: 8.5rem 1fr;
    gap: 0.6rem 1.2rem;
    align-items: baseline;
}
.winner-award {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    font-family: var(--serif-tc);
    font-weight: 600;
    color: var(--gold-deep);
    white-space: nowrap;
}
.winner-icon { font-size: 1.05em; line-height: 1; }
.winner-names {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
}
.winner-names li { color: var(--charcoal); }
@media (max-width: 560px) {
    .winner-edition { padding: 1.3rem 1.2rem 1.5rem; }
    .winner-row { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* ── 歷屆大賽相簿 ─────────────────────────────────── */
.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--s4);
    margin-top: var(--s5);
}
.history-item {
    background: var(--ivory-soft);
    border: 1px solid rgba(182, 140, 58, 0.22);
    border-radius: var(--radius);
    overflow: hidden;
}
.history-year {
    padding: 1rem 1.2rem;
    font-family: var(--serif-tc);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid rgba(182, 140, 58, 0.18);
}
.history-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.history-photos img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}
.history-photos img:hover { transform: scale(1.04); }
/* 相片可點開放大：游標與鍵盤焦點都要看得出可互動 */
.history-photos img { cursor: zoom-in; }
.history-photos img:focus-visible {
    outline: 3px solid var(--gold-bright);
    outline-offset: -3px;
}
@media (max-width: 480px) {
    .history-grid { grid-template-columns: 1fr; }
    .history-year { font-size: 1.125rem; }
}

/* ── 相片燈箱 ──────────────────────────────────────
   沿用 .video-modal 的遮罩語彙（同一組深色底＋金色控制項），
   差別在於內容是可切換的靜態圖，因而多了左右導覽與計數。 */
.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(8, 12, 20, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 4.5rem 3rem;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.photo-lightbox.open { display: flex; opacity: 1; }
.photo-lightbox-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
    max-height: 100%;
    transform: scale(0.97);
    transition: transform 0.35s var(--ease);
}
.photo-lightbox.open .photo-lightbox-figure { transform: scale(1); }
.photo-lightbox-img {
    display: block;
    width: auto;
    height: auto;
    /* 歷屆相片原檔僅 390×260（現版本亦無更大來源），
       放大上限設在約 1.6 倍，再大就開始糊。 */
    max-width: min(100%, 620px);
    max-height: calc(100vh - 12rem);
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(182, 140, 58, 0.25);
}
.photo-lightbox-caption {
    margin: 0;
    text-align: center;
    color: var(--ivory);
    font-size: 0.95rem;
    line-height: 1.5;
}
.photo-lightbox-count {
    display: block;
    margin-top: 0.4rem;
    color: var(--gold-light);
    font-family: var(--sans-en);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
}
.photo-lightbox-btn {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(182, 140, 58, 0.12);
    border: 1px solid rgba(182, 140, 58, 0.4);
    color: var(--gold-bright);
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.photo-lightbox-btn:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}
.photo-lightbox-close { top: 1.4rem; right: 1.6rem; }
.photo-lightbox-close:hover { transform: rotate(90deg); }
.photo-lightbox-prev { left: 1.6rem; top: 50%; margin-top: -24px; }
.photo-lightbox-next { right: 1.6rem; top: 50%; margin-top: -24px; }
@media (max-width: 700px) {
    /* 窄螢幕把左右鍵移到圖片下方，避免壓在畫面上 */
    .photo-lightbox { padding: 3.5rem 1rem 5.5rem; }
    .photo-lightbox-close { top: 0.6rem; right: 0.6rem; width: 40px; height: 40px; font-size: 1.4rem; }
    .photo-lightbox-img { max-height: calc(100vh - 15rem); }
    .photo-lightbox-prev,
    .photo-lightbox-next { top: auto; bottom: 1rem; margin-top: 0; }
    .photo-lightbox-prev { left: calc(50% - 3.5rem); }
    .photo-lightbox-next { right: calc(50% - 3.5rem); }
}

/* ── 指定曲目清單 ─────────────────────────────────── */
.song-voice {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 0.9rem;
    margin: 2.6rem 0 0.9rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(182, 140, 58, 0.3);
    font-size: 1.375rem;
}
.song-voice-en {
    font-family: var(--display-en);
    font-style: italic;
    font-size: 0.92rem;
    color: var(--gold-deep);
    font-weight: 500;
}
.song-count {
    margin-left: auto;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    color: var(--slate);
    font-weight: 400;
}
/* 聲部間的便捷跳轉：長清單（高音聲部 36 首）中不必回捲即可換聲部 */
.song-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 1rem;
}
.song-jump a {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
    color: var(--gold-deep);
    border: 1px solid rgba(182, 140, 58, 0.35);
    border-radius: 100px;
    /* 規格 §2.5：點擊區至少 44×44 */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 1rem;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.song-jump a:hover,
.song-jump a:focus-visible { background: var(--gold); color: var(--navy); }
/* 錨點跳轉時標題不被固定導覽遮住 */
.song-voice { scroll-margin-top: 110px; }

.song-list { list-style: none; margin: 0; padding: 0; }
.song-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(182, 140, 58, 0.16);
}
.song-name {
    font-family: var(--serif-tc);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
}
.song-name::before { content: '《'; color: var(--gold-deep); }
.song-name::after  { content: '》'; color: var(--gold-deep); }
/* 詞／曲等各段之間用 gap 拉開，比在文字裡塞空白字元可控且可調 */
.song-credit {
    font-size: 0.88rem;
    color: var(--slate);
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0 1.1rem;
}
.song-dl, .song-nodl {
    margin-left: auto;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
    /* 規格 §2.5：點擊區至少 44×44 */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 0.9rem;
    border-radius: var(--radius);
}
.song-dl {
    color: var(--gold-deep);
    border: 1px solid rgba(182, 140, 58, 0.45);
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.song-dl:hover, .song-dl:focus-visible { background: var(--gold); color: var(--navy); }
.song-nodl { color: var(--slate); border: 1px dashed rgba(74, 86, 102, 0.3); }
.song-notes { margin: 0.8rem 0 0; padding-left: 1.4rem; }
.song-notes li { margin-bottom: 0.35rem; font-size: 0.95rem; }
@media (max-width: 560px) {
    .song-item { align-items: flex-start; }
    .song-dl, .song-nodl { margin-left: 0; }
    .song-count { margin-left: 0; width: 100%; }
}

/* ── 社群頻道（品牌欄之後）────────────────────────────
   圖示為去背 PNG，統一 32px 顯示；gjw 原生 32×32，2 倍屏會略軟，
   其餘（130／400／56）皆有餘裕。以圓形深底容器統一視覺重量。 */
.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: var(--s3);
}
.footer-social-label {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    color: rgba(247, 241, 227, 0.55);
    margin-right: 2px;
    width: 100%;
    margin-bottom: 2px;
}
.footer-section .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* 規格 §2.5：所有點擊區至少 44×44px */
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background: rgba(182, 140, 58, 0.12);
    border: 1px solid rgba(182, 140, 58, 0.32);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-section .footer-social a:hover,
.footer-section .footer-social a:focus-visible {
    background: rgba(182, 140, 58, 0.28);
    border-color: var(--gold);
    transform: translateY(-2px);
}
.footer-social img { width: 22px; height: 22px; display: block; }

/* ── 網站 QR Code（聯絡資訊欄之後）───────────────────── */
.footer-qr {
    margin-top: var(--s3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.footer-qr img {
    width: 92px;
    height: 92px;
    display: block;
    border-radius: 6px;
    border: 1px solid rgba(182, 140, 58, 0.3);
}
.footer-qr span {
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    color: rgba(247, 241, 227, 0.55);
}
@media (max-width: 900px) {
    .footer-qr { align-items: center; }
    .footer-social { justify-content: flex-start; }
}

.footer-brand .brand-zh a {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    margin: 0;
    display: inline;
    transition: color 0.25s var(--ease);
}
.footer-brand .brand-zh a:hover,
.footer-brand .brand-zh a:focus-visible { color: var(--ivory); }
.footer-brand .brand-zh {
    font-family: var(--serif-tc);
    font-size: 1.25rem;
    color: var(--gold-bright);
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.04em;
}
.footer-brand .brand-en {
    font-family: var(--sans-en);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(247, 241, 227, 0.55);
    margin-bottom: var(--s2);
}
/* 法律與服務（規格 §3.3）：與版權文字併為同一列，以分隔點連接 */
.footer-legal {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0 1.1rem;
}
.footer-legal a {
    color: rgba(247, 241, 227, 0.72);
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.25s var(--ease);
}
.footer-legal a:hover,
.footer-legal a:focus-visible { color: var(--gold-light); }
.footer-legal a + a::before {
    content: '·';
    color: rgba(182, 140, 58, 0.5);
    margin-right: 1.1rem;
}
@media (max-width: 560px) {
    .footer-legal { gap: 0 0.8rem; }
    .footer-legal a + a::before { margin-right: 0.8rem; }
    .footer-bottom { gap: 0.6rem; }
}
.footer-bottom {
    border-top: 1px solid rgba(182, 140, 58, 0.15);
    margin-top: var(--s3);
    padding-top: var(--s3);
    text-align: center;
    /* 法律列在上、版權文字在下，縱向堆疊 */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.82rem;
    color: rgba(247, 241, 227, 0.72);
}
/* 必須直接指定 <p>：全域 p 規則（本檔第 115 行）帶 color: var(--charcoal)，
   直接命中元素會勝過從 .footer-bottom 繼承，導致深炭灰疊在深藍底上（對比僅 1.69:1）。 */
.footer-bottom p {
    color: rgba(247, 241, 227, 0.72);
    /* 同理，全域 p 的 font-size 也會直接命中，繼承的 0.82rem 贏不過，
       不覆寫的話版權文字會比同列的法律連結大一截（16px vs 13.1px）。 */
    font-size: 0.82rem;
    line-height: 1.6;
    margin: 0;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 無障礙：跳至主要內容（規格書 §19.3）---------- */
/* 平時移出畫面但保留在焦點順序中；鍵盤 Tab 到它才滑入顯示。
   不用 display:none／visibility:hidden —— 那會讓它從焦點順序消失。 */
.skip-link {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 200;
    padding: 12px 26px;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--sans-tc);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    border-radius: 0 0 var(--radius) var(--radius);
    transform: translateX(-50%) translateY(-120%);
    transition: transform 0.25s var(--ease);
}
.skip-link:focus {
    transform: translateX(-50%) translateY(0);
    outline: 3px solid var(--ivory);
    outline-offset: -3px;
}
/* 跳轉落點本身不需要可見的焦點框（它只是內容起點，非互動元件） */
#main:focus { outline: none; }

/* ---------- 無障礙：尊重「減少動態效果」偏好（規格書 §2.4 / §19.3）---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    /* 首屏影片改由 JS 暫停以露出靜態封面；此處確保視差位移歸零 */
    .hero-bg { transform: none !important; }
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- RESPONSIVE TYPOGRAPHY ---------- */
@media (max-width: 480px) {
    p { font-size: 1rem; line-height: 1.7; }
    .container, .container-wide, .container-narrow { padding: 0 var(--s2); }
    .form { padding: 1.4rem; }
}

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--s1); }
.mt-2 { margin-top: var(--s2); }
.mt-3 { margin-top: var(--s3); }
.mt-4 { margin-top: var(--s4); }
.mt-5 { margin-top: var(--s5); }
.mb-2 { margin-bottom: var(--s2); }
.mb-3 { margin-bottom: var(--s3); }
.mb-4 { margin-bottom: var(--s4); }
.mxa { margin-left: auto; margin-right: auto; }
.relative { position: relative; }

/* Decorative SVG-like flourish */
.flourish {
    text-align: center;
    margin: var(--s3) auto;
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 0.5em;
    opacity: 0.55;
}

/* Cookie settings button in footer */
.footer-cookie-btn {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    font-size: inherit;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    opacity: 0.75;
}
.footer-cookie-btn:hover { opacity: 1; }
