/* =============================================================
   青年領袖促進會 Youth Leadership Advancement Association
   Design System — FRESH · YOUTHFUL · VIBRANT (light theme)
   Palette: light canvas + vibrant orange / pink / blue / cyan
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #f4f8ff;
  --bg-2: #eaf1ff;
  --surface: #ffffff;
  --surface-2: #f3f7ff;
  --ink: #10203f;
  --ink-2: #36436a;
  --muted: #66779c;
  --muted-dark: #4f5d80;
  --line: #e2e9f7;
  --line-2: #eef3fc;

  --orange: #ff6b35;
  --orange-2: #ff8a3d;
  --orange-600: #e2551a;
  --pink: #ff3d7f;
  --blue: #2f7bff;
  --blue-2: #4f9bff;
  --cyan: #12c9c0;
  --purple: #7b61ff;

  --grad-brand: linear-gradient(120deg, #ff6b35 0%, #ff8a3d 40%, #ff3d7f 100%);
  --grad-cool: linear-gradient(120deg, #2f7bff, #12c9c0);
  --grad-soft: linear-gradient(135deg, #eaf1ff 0%, #fdeee6 55%, #f1ecff 100%);
  --grad-soft-a: linear-gradient(135deg, rgba(234, 241, 255, .74) 0%, rgba(253, 238, 230, .52) 55%, rgba(241, 236, 255, .68) 100%);
  --grad-footer: linear-gradient(120deg, #18245a 0%, #3a2b8f 100%);

  --shadow-sm: 0 6px 18px rgba(40, 70, 140, .08);
  --shadow: 0 18px 44px rgba(40, 70, 140, .12);
  --shadow-glow: 0 14px 40px rgba(255, 107, 53, .25);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --maxw: 1200px;
  --header-h: 74px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-cjk: "Noto Sans SC", "PingFang HK", "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", system-ui, sans-serif;
  --font-display: "Sora", "Space Grotesk", var(--font-cjk);
  --font-num: "Sora", "Space Grotesk", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* The header is position:fixed (74px), so every in-page anchor target needs a
   scroll offset or its heading lands underneath the bar. */
[id] { scroll-margin-top: calc(var(--header-h) + 18px); }
body {
  font-family: var(--font-cjk);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Utility ---------- */
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.bg-light { background: rgba(255, 255, 255, .72); color: var(--ink); }
.bg-navy { background: linear-gradient(180deg, rgba(238, 244, 255, .62) 0%, rgba(246, 249, 255, .55) 100%); }
.text-center { text-align: center; }
.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  font-size: 12.5px; color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-brand); border-radius: 2px; }
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(26px, 4vw, 42px); line-height: 1.18; color: var(--ink);
  letter-spacing: -.01em;
}
.lead { font-size: clamp(15px, 1.6vw, 18px); color: var(--ink-2); max-width: 60ch; text-wrap: balance; }
.mx-auto { margin-inline: auto; }

/* ---------- 中文斷行：避免句子被切成孤字尾巴（例：「…奉獻的旅／程。」） ----------
   balance 讓多行文字平均分行，消除「最後一行只剩兩三個字」的斷句。
   只改變斷行位置，不改變元素寬度，因此不會造成水平溢出。
   （Chrome 對超過 6 行的區塊會自動忽略 balance，回退為一般斷行。） */
p, li, figcaption, blockquote { text-wrap: balance; }
h1, h2, h3, h4, .section-title { text-wrap: balance; }
/* 區塊導言放寬至標題區寬度，令單句導言「一次過」連住顯示成一行 */
.sec-head .lead { max-width: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15px; padding: 13px 26px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap; will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 10px 30px rgba(255, 107, 53, .35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255, 107, 53, .5); }
.btn-ghost {
  border: 1.5px solid var(--line); color: var(--ink-2); background: rgba(255, 255, 255, .6);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); }
.btn-light {
  background: #fff; color: var(--blue); box-shadow: 0 10px 30px rgba(40, 70, 140, .15);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(40, 70, 140, .22); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: 0 6px 16px rgba(255, 107, 53, .28); }
.btn-ghost:active, .btn-light:active { transform: translateY(1px) scale(.98); }
.btn.is-loading { opacity: .75; pointer-events: none; }
a, button, .chip, .dl, .pc-link, .faq-q, .card .more { cursor: pointer; }
.chip:active { transform: scale(.95); }
.nav > li > a:active { background: rgba(47, 123, 255, .16); }
.faq-q:active { background: rgba(47, 123, 255, .05); }
.dl:active, .pc-link:active { opacity: .65; }

/* ---------- Animated background ---------- */
.bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 123, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 123, 255, .07) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}
.bg-aurora {
  /* inset -20% -10% pushed this 10% past both edges and made every page
     39px wider than a 390px phone (browser then zoomed the whole site out). */
  position: absolute; inset: -20% 0; z-index: 0; pointer-events: none; opacity: .55;
  background:
    radial-gradient(40% 40% at 18% 28%, rgba(255, 107, 53, .22), transparent 70%),
    radial-gradient(36% 36% at 82% 22%, rgba(47, 123, 255, .22), transparent 70%),
    radial-gradient(42% 42% at 60% 80%, rgba(255, 61, 127, .18), transparent 70%);
  filter: blur(26px);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(2%, -2%, 0) scale(1.06); } }
.rel { position: relative; z-index: 1; }

/* ---------- Dynamic youthful background (site-wide, fixed) ---------- */
.ys-bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, #f4f8ff, #eef4ff);
}
.ys-mesh {
  position: absolute; inset: -32%; will-change: transform;
  background:
    radial-gradient(40% 40% at 15% 20%, rgba(255, 107, 53, .16), transparent 62%),
    radial-gradient(38% 38% at 85% 18%, rgba(47, 123, 255, .16), transparent 62%),
    radial-gradient(42% 42% at 80% 82%, rgba(255, 61, 127, .15), transparent 62%),
    radial-gradient(38% 38% at 20% 85%, rgba(18, 201, 192, .16), transparent 62%),
    radial-gradient(30% 30% at 55% 50%, rgba(123, 97, 255, .12), transparent 62%);
  animation: ysMesh 28s ease-in-out infinite alternate;
}
@keyframes ysMesh {
  0%   { transform: translate3d(-4%, -3%, 0) scale(1.06) rotate(0deg); }
  50%  { transform: translate3d(4%, 2%, 0) scale(1.16) rotate(6deg); }
  100% { transform: translate3d(-2%, 4%, 0) scale(1.08) rotate(-4deg); }
}
.ys-blob {
  position: absolute; border-radius: 50%; filter: blur(72px); opacity: .5;
  will-change: transform; transform: translate3d(0, 0, 0);
}
.ys-blob.b1 { width: 46vw; height: 46vw; left: -10vw; top: -8vw;  background: radial-gradient(circle at 32% 32%, #ffb072, #ff6b35); animation: ysFloat1 22s ease-in-out infinite; }
.ys-blob.b2 { width: 42vw; height: 42vw; right: -8vw; top: 2vw;    background: radial-gradient(circle at 32% 32%, #7fb4ff, #2f7bff); animation: ysFloat2 26s ease-in-out infinite; }
.ys-blob.b3 { width: 40vw; height: 40vw; right: 8vw; bottom: -14vw; background: radial-gradient(circle at 32% 32%, #ff8fb8, #ff3d7f); animation: ysFloat3 30s ease-in-out infinite; }
.ys-blob.b4 { width: 36vw; height: 36vw; left: 4vw; bottom: -12vw;  background: radial-gradient(circle at 32% 32%, #6ee7de, #12c9c0); animation: ysFloat1 28s ease-in-out infinite reverse; }
.ys-blob.b5 { width: 30vw; height: 30vw; left: 42vw; top: 28vh;     background: radial-gradient(circle at 32% 32%, #b3a8ff, #7b61ff); opacity: .34; animation: ysFloat2 34s ease-in-out infinite; }
@keyframes ysFloat1 { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); }      50% { transform: translate3d(6vw, 5vh, 0) scale(1.14); } }
@keyframes ysFloat2 { 0%, 100% { transform: translate3d(0, 0, 0) scale(1.06); }   50% { transform: translate3d(-5vw, 6vh, 0) scale(.94); } }
@keyframes ysFloat3 { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); }      50% { transform: translate3d(-4vw, -5vh, 0) scale(1.16); } }
.ys-dot {
  position: absolute; bottom: -24px; border-radius: 50%; opacity: 0;
  animation-name: ysRise; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes ysRise {
  0%   { transform: translateY(0) scale(.6); opacity: 0; }
  15%  { opacity: .55; }
  85%  { opacity: .38; }
  100% { transform: translateY(-108vh) scale(1); opacity: 0; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(255, 255, 255, .92); box-shadow: 0 8px 26px rgba(40, 70, 140, .1); }
.nav-inner { width: min(100% - 40px, var(--maxw)); margin-inline: auto; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  background: var(--grad-brand); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 19px;
  box-shadow: 0 6px 18px rgba(255, 107, 53, .4);
}
.brand-text { line-height: 1.05; }
.brand-text .zh { font-weight: 700; font-size: 15.5px; letter-spacing: .02em; color: var(--ink); }
.brand-text .en { font-family: var(--font-display); font-size: 9.5px; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; }
.brand-logo { height: 40px; width: auto; display: block; }
.footer-brand .brand-logo { height: 30px; background: #fff; padding: 8px 12px; border-radius: 10px; }

.nav { display: flex; align-items: center; gap: 0; margin-left: auto; }
.nav > li { position: relative; }
.nav > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 9px; border-radius: 10px; font-size: 15px; font-weight: 600;
  color: var(--ink-2); transition: color .2s, background .2s;
  /* CJK breaks between any two characters, so without nowrap the labels
     collapse to 2 chars per line as soon as the bar gets tight. */
  white-space: nowrap;
}
.nav > li > a:hover, .nav > li.active > a { color: var(--blue); background: rgba(47, 123, 255, .08); }
.nav .caret { width: 12px; height: 12px; opacity: .6; flex-shrink: 0; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: rgba(255, 255, 255, .98); border: 1px solid var(--line);
  border-radius: 14px; padding: 8px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s var(--ease);
}
.nav > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 13px; border-radius: 9px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.dropdown a:hover { background: rgba(255, 107, 53, .1); color: var(--orange); }
.dropdown .dd-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 6px 13px 2px; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 6px; flex-shrink: 0; }

/* language toggle */
.lang-toggle {
  display: inline-flex; align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px;
  box-shadow: var(--shadow-sm);
}
.lang-toggle button {
  font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 999px; color: var(--muted);
  transition: .2s;
  /* 31px was under the 38px thumb target; 36 + 3px container padding = 42px. */
  min-height: 36px; display: inline-flex; align-items: center; justify-content: center;
}
.lang-toggle button.active { background: var(--grad-brand); color: #fff; border-color: transparent; }

/* hamburger */
.hamburger { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: #fff; place-items: center; box-shadow: var(--shadow-sm); }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .3s; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: .3s; }
.hamburger span::before { top: -6px; } .hamburger span::after { top: 6px; }

/* mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 200; background: #fff;
  transform: translateX(100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; padding: 24px; overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer .drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.mobile-drawer .close { font-size: 30px; line-height: 1; color: var(--muted); }
.mobile-nav a { display: block; padding: 14px 6px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-nav .sub a { font-size: 15px; color: var(--muted); padding-left: 18px; font-weight: 500; }
.mobile-drawer .drawer-cta { margin-top: 22px; display: grid; gap: 12px; }
.mobile-lang { display: flex; gap: 10px; margin-top: 18px; }
.mobile-lang button { flex: 1; padding: 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); background: #fff; font-weight: 600; }
.mobile-lang button.active { background: var(--grad-brand); color: #fff; border-color: transparent; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: var(--header-h); overflow: hidden; background: var(--grad-soft-a); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(234, 241, 255, .55), rgba(253, 238, 230, .35) 55%, rgba(241, 236, 255, .5)); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; padding: clamp(40px, 8vh, 90px) 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.7); } }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 6.2vw, 66px); line-height: 1.08; color: var(--ink); letter-spacing: -.02em; max-width: 16ch; }
.hero h1 .gradient-text { display: inline-block; }
.hero-sub { margin-top: 20px; font-size: clamp(16px, 2vw, 20px); color: var(--ink-2); max-width: 52ch; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { margin-top: 54px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 760px; }
.hero-stat { padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .8); border: 1px solid var(--line); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); }
.hero-stat .num { font-family: var(--font-num); font-weight: 800; font-size: clamp(24px, 3vw, 34px); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat .lbl { font-size: 13px; color: var(--muted); margin-top: 2px; }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue .mouse { width: 22px; height: 36px; border: 2px solid var(--muted); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: var(--orange); border-radius: 2px; animation: scroll 1.6s infinite; }
@keyframes scroll { 0% { opacity: 1; top: 6px; } 70% { opacity: 0; top: 16px; } 100% { opacity: 0; } }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 107, 53, .07), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-6px); border-color: rgba(255, 107, 53, .5); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(255, 107, 53, .12); color: var(--orange); border: 1px solid rgba(255, 107, 53, .2);
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.card p { color: var(--ink-2); font-size: 14.5px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--orange); font-weight: 700; font-size: 14px; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

.value-card { padding-top: 34px; }
.value-card .vnum { font-family: var(--font-num); font-weight: 800; font-size: 46px; line-height: 1; color: rgba(47, 123, 255, .12); position: absolute; top: 18px; right: 24px; }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat .num { font-family: var(--font-num); font-weight: 800; font-size: clamp(30px, 4vw, 46px); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---------- Section intro ---------- */
.sec-head { max-width: 720px; margin-bottom: 46px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head .section-title { margin-bottom: 14px; }
/* Four leadership ranks in one line ("榮譽顧問 · 榮譽創會主席 · 創會主席 · 執行會長")
   would overflow the 720px .sec-head at the default 42px, leaving a lone "長" on
   the second line. Size it to the container instead so it stays on one line. */
.sec-head .section-title--long { font-size: clamp(18px, 2.6vw, 30px); white-space: nowrap; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: 10px; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--orange), var(--pink)); }
.tl-item { position: relative; padding: 0 0 30px 56px; }
.tl-item::before { content: ""; position: absolute; left: 11px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 107, 53, .18); }
.tl-item .date { font-family: var(--font-num); font-weight: 700; color: var(--orange); font-size: 14px; }
.tl-item h4 { font-size: 18px; margin: 4px 0 6px; color: var(--ink); }
.tl-item p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- Carousel (scroll-snap) ---------- */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--blue) transparent; }
.carousel > * { scroll-snap-align: start; }
.carousel::-webkit-scrollbar { height: 8px; }
.carousel::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 8px; }
.carousel-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: .3s; }
.carousel-card:hover { transform: translateY(-6px); border-color: rgba(255, 107, 53, .5); box-shadow: var(--shadow); }
.carousel-card .ph { height: 170px; position: relative; display: grid; place-items: center; background: linear-gradient(135deg, #eaf1ff, #fdeee6); }
.carousel-card .ph svg { width: 54px; height: 54px; color: var(--orange); opacity: .9; }
.carousel-card .ph .badge { position: absolute; top: 12px; left: 12px; font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .85); color: var(--blue); border: 1px solid var(--line); }
.carousel-card .body { padding: 18px 20px 22px; }
.carousel-card .body .date { font-family: var(--font-num); font-weight: 700; color: var(--orange); font-size: 13px; }
.carousel-card .body h4 { font-size: 17px; color: var(--ink); margin: 6px 0 8px; }
.carousel-card .body p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- Calendar / event list ---------- */
.cal-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; background: #fff; transition: .2s; }
.chip:hover { color: var(--blue); border-color: var(--blue); }
.chip.active { background: var(--grad-brand); color: #fff; border-color: transparent; font-weight: 700; }

.event-card { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: .25s; }
.event-card:hover { border-color: rgba(255, 107, 53, .5); transform: translateY(-3px); box-shadow: var(--shadow); }
.event-date { text-align: center; border-radius: 14px; padding: 12px 6px; background: var(--grad-cool); color: #fff; }
.event-date .d { font-family: var(--font-num); font-weight: 800; font-size: 26px; line-height: 1; }
.event-date .m { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.event-card h4 { font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.event-card .meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 14px; }
.event-card .tag { font-size: 11.5px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 107, 53, .12); color: var(--orange); }

/* ---------- Past event: featured card + run-down table + gallery ---------- */
.feat-media { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
.feat-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: rgba(255, 107, 53, .14); color: var(--orange-600); }
.rundown { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 680px; }
.rundown th, .rundown td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rundown thead th { background: var(--surface-2); color: var(--ink); font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.rundown tbody tr:last-child td { border-bottom: 0; }
.rundown tbody tr:hover { background: #fafcff; }
.rundown td:first-child { white-space: nowrap; font-weight: 700; color: var(--orange-600); }
.rundown td:first-child small { display: block; font-weight: 400; color: var(--muted); font-size: 11.5px; }
.rundown td:nth-child(2) { font-weight: 700; color: var(--ink); white-space: nowrap; }
.rundown td:nth-child(4) { color: var(--muted-dark); }
.rundown td:nth-child(5) { white-space: nowrap; }
.gallery-card { padding: 0; overflow: hidden; margin: 0; }
.gallery-card img { height: 210px; width: 100%; object-fit: cover; }
.gallery-card figcaption { padding: 14px 18px; font-size: 13.5px; color: var(--muted-dark); line-height: 1.6; }
.past-event + .past-event { margin-top: 56px; padding-top: 50px; border-top: 1px dashed var(--line); }
.past-event-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.past-event-head .num { flex: 0 0 auto; font-family: var(--font-num); font-weight: 800; font-size: 12.5px; letter-spacing: .05em; color: #fff; background: var(--grad-brand); padding: 5px 13px; border-radius: 999px; }
.past-event-head h3 { font-size: 20px; color: var(--ink); line-height: 1.4; }
.hl-list { list-style: none; display: grid; gap: 10px; }
.hl-list li { position: relative; padding-left: 26px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.hl-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--orange-600); font-weight: 800; }
.speaker-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.speaker-box .sp-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-cool); color: #fff; font-size: 19px; }
.speaker-box h4 { font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.speaker-box p { font-size: 13.5px; color: var(--muted-dark); line-height: 1.75; }
/* Poster-style event feature (portrait poster shown whole) */
.poster-side { background: radial-gradient(120% 90% at 50% 15%, #2b1d68 0%, #150c38 58%, #0a0520 100%); display: grid; place-items: center; padding: 26px 20px; }
.poster-side img { width: 100%; max-width: 320px; height: auto; display: block; border-radius: 16px; box-shadow: 0 20px 46px rgba(0, 0, 0, .5); }
.info-list { list-style: none; display: grid; }
.info-list li { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.info-list li:last-child { border-bottom: 0; }
.info-list .k { flex: 0 0 88px; color: var(--muted-dark); font-weight: 700; }
.info-list .v { flex: 1; color: var(--ink-2); }
.sub-h { color: var(--ink); margin: 24px 0 10px; font-size: 16px; }
.hl-2col { grid-template-columns: repeat(2, 1fr); gap: 10px 26px; }
.note { font-size: 13.5px; color: var(--muted-dark); line-height: 1.78; }
.guest-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.guest-list li { display: flex; gap: 12px; align-items: baseline; font-size: 13.5px; line-height: 1.65; }
/* The fixed 74px name column used to wrap names carrying an English alias,
   e.g. "李佩珊（Zen）", onto a second line. Size to content instead and keep
   each name on one line. */
.guest-list b { flex: 0 0 auto; max-width: 42%; color: var(--ink); font-weight: 700; white-space: nowrap; }
.guest-list span { color: var(--muted-dark); }
.speaker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.speaker-card { padding: 22px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.speaker-card .sp-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-cool); color: #fff; font-size: 20px; margin-bottom: 12px; }
.speaker-card h4 { font-size: 16px; color: var(--ink); margin-bottom: 3px; }
.speaker-card .sp-role { font-size: 12.5px; color: var(--orange-600); font-weight: 700; margin-bottom: 11px; line-height: 1.55; }
.speaker-card ul { list-style: none; display: grid; gap: 7px; }
.speaker-card li { position: relative; padding-left: 15px; font-size: 13px; color: var(--muted-dark); line-height: 1.65; }
.speaker-card li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--orange-600); }
/* Time ranges ("18:30 – 18:53") must not break across lines in a narrow card —
   use .sp-role.sp-time so the long descriptive roles elsewhere still wrap. */
.speaker-card .sp-time { white-space: nowrap; }

/* ---------- Past event: inline video ---------- */
/* The clip sits in a card of its own so the gallery grid below stays aligned.
   aspect-ratio is locked to 16/9 (the source is 854x480) so the player never
   collapses to height 0 before metadata loads — that would shift the page. */
.evt-video { padding: 0; overflow: hidden; margin: 0; }
/* `height: auto` is required — the width/height attributes resolve to CSS
   height:480px, which overrides aspect-ratio and letterboxes a 16:9 clip. */
.evt-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0b1220; object-fit: contain; }
.evt-video-fig { padding: 0; overflow: hidden; }
.evt-video-fig figcaption { padding: 14px 18px; font-size: 13.5px; color: var(--muted-dark); line-height: 1.6; }

/* ---------- Membership tiers ---------- */
.tier { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: .3s; }
.tier:hover { transform: translateY(-6px); border-color: rgba(47, 123, 255, .4); }
.tier.featured { background: linear-gradient(160deg, #fff, #fff7f2); border-color: rgba(255, 107, 53, .5); box-shadow: var(--shadow-glow); }
.tier .ribbon { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 5px 12px; border-radius: 999px; background: var(--grad-brand); color: #fff; }
.tier .tname { font-size: 20px; font-weight: 700; color: var(--ink); }
.tier .tprice { font-family: var(--font-num); margin: 14px 0 4px; }
.tier .tprice .amt { font-size: 38px; font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier .tprice .per { font-size: 14px; color: var(--muted); }
.tier .tdesc { color: var(--ink-2); font-size: 14px; margin-bottom: 16px; }
.tier ul { display: grid; gap: 11px; margin: 6px 0 22px; }
.tier li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.tier li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue); margin-top: 3px; }
.tier .btn { margin-top: auto; }

.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.benefit { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.benefit .ic { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: rgba(18, 201, 192, .14); color: var(--cyan); }
.benefit .ic svg { width: 24px; height: 24px; }
.benefit h4 { font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.benefit p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- Jobs ---------- */
.job-card { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: .25s; }
.job-card:hover { border-color: rgba(255, 107, 53, .5); transform: translateY(-3px); box-shadow: var(--shadow); }
.job-card h4 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.job-card .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.job-card .tag { font-size: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(47, 123, 255, .12); color: var(--blue); }
.job-card .tag.loc { background: rgba(18, 201, 192, .14); color: var(--cyan); }
.job-card .tag.type { background: rgba(255, 107, 53, .14); color: var(--orange); }
.job-card .deadline { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.job-detail { grid-column: 1 / -1; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.job-detail .card { margin-top: 14px; background: var(--surface-2); }
.job-detail .card p { color: var(--ink-2); }
.job-detail .card b { color: var(--ink); }

/* ---------- Resources ---------- */
.res-card { display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: .25s; height: 100%; }
.res-card:hover { transform: translateY(-4px); border-color: rgba(47, 123, 255, .4); box-shadow: var(--shadow); }
.res-card .rtype { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.res-card .rtype-member { display: inline-block; margin-left: 8px; color: #fff; background: var(--grad-brand); border-radius: 999px; padding: 2px 10px; letter-spacing: .06em; }
.res-card h4 { font-size: 17px; color: var(--ink); margin: 8px 0 8px; }
.res-card p { font-size: 14px; color: var(--ink-2); flex: 1; }
.res-card .dl { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: 14px; }
.res-card .dl svg { width: 17px; height: 17px; }

/* ---------- Member services (resources page) ---------- */
.svc-list { margin-top: 14px; display: grid; gap: 8px; }
.svc-list li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.svc-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-brand); margin-top: 7px; flex-shrink: 0; }
.svc-stats { margin-top: 40px; }
.svc-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.svc-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; }

/* ---------- Media / Gallery ---------- */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.media-card { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.media-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.media-card:hover img { transform: scale(1.07); }
.media-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(16, 32, 63, .85)); display: flex; align-items: flex-end; padding: 16px; }
.media-card .overlay h4 { color: #fff; font-size: 15px; }
.media-card .cat { position: absolute; top: 12px; left: 12px; font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--blue); border: 1px solid var(--line); }

.news-card { display: block; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: .25s; }
.news-card:hover { border-color: rgba(255, 107, 53, .5); transform: translateY(-3px); }
.news-card .ndate { font-family: var(--font-num); font-weight: 700; color: var(--orange); font-size: 13px; }
.news-card h4 { font-size: 16px; color: var(--ink); margin: 4px 0; }
.news-card p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- Press / media coverage cards ---------- */
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.press-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.press-card:hover { transform: translateY(-6px); border-color: rgba(255, 107, 53, .45); box-shadow: var(--shadow); }
.press-card .pc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.press-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.press-card:hover .pc-media img { transform: scale(1.06); }
.press-card .pc-outlet {
  position: absolute; left: 12px; top: 12px; font-size: 11.5px; font-weight: 700;
  padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--blue);
  border: 1px solid var(--line); backdrop-filter: blur(6px); max-width: calc(100% - 24px);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.press-card .pc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.press-card .pc-date { font-family: var(--font-num); font-weight: 700; color: var(--orange); font-size: 12.5px; }
.press-card h4 { font-size: 16.5px; color: var(--ink); margin: 8px 0; line-height: 1.45; }
.press-card p { font-size: 13.5px; color: var(--ink-2); flex: 1; }
.press-card .pc-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: 13.5px; }
.press-card .pc-link:hover { color: var(--orange); }

/* ---------- Partners logo wall（統一尺寸：4 欄，末行置中） ---------- */
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.logo-tile {
  flex: 0 0 calc((100% - 54px) / 4);
  aspect-ratio: 8 / 5;                 /* 與標準化畫布 640×400 一致 */
  display: grid; place-items: center; padding: 16px 18px;
  border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.logo-tile:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.logo-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .3s var(--ease); }
.logo-tile:hover img { transform: scale(1.05); }
.logo-tile span { font-weight: 700; color: var(--ink-2); font-size: 15px; text-align: center; padding: 0 10px; }

/* ---------- Forms ---------- */
/* minmax(0,1fr) is required: plain 1fr floors each track at the control's
   intrinsic width, which pushed the 2nd column past the card and got clipped
   by .card{overflow:hidden}. */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink); padding: 12px 14px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
  width: 100%; min-width: 0; max-width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #9aabc8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 123, 255, .15); }
.field textarea { resize: vertical; min-height: 120px; }
.field input[type="file"] { padding: 10px 12px; background: var(--surface-2); cursor: pointer; }
.field input[type="file"]::file-selector-button {
  font-family: inherit; font-weight: 700; font-size: 13.5px; margin-right: 14px; padding: 9px 16px;
  border: none; border-radius: 9px; background: var(--grad-brand); color: #fff; cursor: pointer;
}
.field input[type="file"]::file-selector-button:hover { filter: brightness(1.06); }
.form-note { font-size: 12.5px; color: var(--muted); }
.form-success { display: none; padding: 16px 20px; border-radius: 14px; background: rgba(18, 201, 192, .12); border: 1px solid rgba(18, 201, 192, .4); color: #0c7a73; margin-top: 16px; }
.form-success.show { display: block; }
.form-delivery-note { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-size: 16.5px; font-weight: 700; color: var(--ink); text-align: left; }
.faq-q .plus { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 107, 53, .14); color: var(--orange); font-size: 20px; transition: transform .3s; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 22px 20px; color: var(--ink-2); font-size: 14.5px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: calc(var(--header-h) + 26px) 0 0; font-size: 13.5px; color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }

/* ---------- Contact info cards ---------- */
.contact-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.contact-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(47, 123, 255, .12); color: var(--blue); margin-bottom: 14px; }
.contact-card .ic svg { width: 24px; height: 24px; }
.contact-card h4 { font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--ink-2); font-size: 14.5px; }
.contact-card a:hover { color: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); background: var(--grad-brand); box-shadow: var(--shadow-glow); text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3.5vw, 38px); color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, .92); max-width: 56ch; margin: 0 auto 26px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .5); color: #fff; }
.cta-band .btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .25); }

/* ---------- Social channels ---------- */
.social-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.social-card {
  flex: 0 0 calc((100% - 14px) / 2);
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; width: 100%;
  border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: left;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.social-card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow); }
.social-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.social-ic svg { width: 23px; height: 23px; }
.social-ic.is-facebook { background: #1877f2; }
.social-ic.is-threads { background: #101010; }
.social-ic.is-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-ic.is-xiaohongshu { background: #ff2442; }
.social-ic.is-wechat { background: #07c160; }
.social-txt { flex: 1; min-width: 0; }
.social-txt b { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.social-txt small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-go { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--blue); white-space: nowrap; flex-shrink: 0; }
.social-go svg { width: 15px; height: 15px; }
.social-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 20px; }

/* ---------- Toast ---------- */
.ys-toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 300;
  transform: translate(-50%, 14px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px); padding: 12px 22px; border-radius: 999px;
  background: rgba(16, 32, 63, .95); color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 14px 36px rgba(16, 32, 63, .32); text-align: center;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.ys-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.site-footer { background: var(--grad-footer); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: rgba(255, 255, 255, .8); font-size: 14.5px; margin-top: 16px; max-width: 36ch; }
.footer-col h5 { font-size: 14px; letter-spacing: .06em; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255, 255, 255, .75); font-size: 14px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: #ffd2b8; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-social .footer-soc { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; transition: transform .2s, background .2s; }
.footer-social .footer-soc svg { width: 18px; height: 18px; }
.footer-social .footer-soc:hover { background: var(--grad-brand); color: #fff; transform: translateY(-2px); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: rgba(255, 255, 255, .7); font-size: 13px; }
.footer-bottom a:hover { color: #ffd2b8; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 70px) 0 60px; overflow: hidden; background: var(--grad-soft-a); }
.page-hero .bg-grid, .page-hero .bg-aurora { opacity: .9; }
.page-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 5vw, 52px); color: var(--ink); letter-spacing: -.02em; max-width: 18ch; }
.page-hero p { color: var(--ink-2); margin-top: 16px; max-width: 56ch; font-size: clamp(15px, 1.8vw, 18px); }

/* ---------- Misc ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { font-size: 13px; padding: 7px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
/* 名銜 bubble：統一淡藍底＋藍框藍字（只套用於領導層名銜，不影響活動資訊 pill） */
.chair-tags .pill, .lead-tags .pill { background: var(--surface-2); border-color: #c7dcff; color: var(--blue); }
.divider { height: 1px; background: var(--line); margin: 0; border: 0; }
.org-chart { display: grid; gap: 14px; }
.org-level { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.org-node { flex: 1 1 200px; max-width: 260px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: center; }
.org-node .role { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.org-node h4 { font-size: 16px; color: var(--ink); margin: 6px 0 4px; }
.org-node p { font-size: 13px; color: var(--muted); }
.org-connector { text-align: center; color: var(--muted); font-size: 20px; }

/* ---------- Chairman's message ---------- */
.chair-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.chair-portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (min-width: 920px) {
  .chair-grid { grid-template-columns: 440px 1fr; gap: 48px; }
  .chair-portraits { gap: 20px; }
}
.chair-card { text-align: center; }
.chair-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5;
  background: var(--grad-soft); box-shadow: var(--shadow);
  display: flex; align-items: flex-end; justify-content: center;
}
.chair-photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 100%, rgba(255, 107, 53, .30), transparent 72%);
}
.chair-photo img { position: relative; z-index: 1; width: 100%; height: auto; display: block; }
.chair-meta { margin-top: 22px; }
.chair-meta h4 { font-family: var(--font-display); font-size: 23px; color: var(--ink); letter-spacing: .01em; }
.chair-role { color: var(--orange-600); font-weight: 700; font-size: 13.5px; margin-top: 6px; line-height: 1.6; }
.chair-tags { justify-content: center; margin-top: 14px; }
.chair-tags .pill { font-size: 11.5px; padding: 6px 12px; }
.chair-msg { position: relative; }
.quote-mark { font-family: var(--font-display); font-size: 110px; line-height: .5; color: rgba(255, 107, 53, .16); margin-bottom: 2px; }
.chair-msg p { color: var(--ink-2); line-height: 1.95; font-size: 15.5px; margin-top: 14px; }
.chair-msg .chair-hello { font-size: 17px; font-weight: 700; color: var(--ink); margin-top: 0; }
.chair-sign { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.chair-sign-name { font-family: var(--font-display); font-style: italic; font-size: 27px; color: var(--orange-600); }
.chair-sign-title { color: var(--muted); font-size: 13.5px; }
.chair-sign--duo { flex-direction: row; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.chair-sign-item { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
@media (max-width: 520px) {
  .chair-sign--duo { flex-direction: column; gap: 12px; }
}

/* ---------- Leadership / 組織架構 ---------- */
.lead-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.lead-grid { display: grid; grid-template-columns: 360px 1fr; gap: 20px; align-items: stretch; }
.lead-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }

.lead-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.lead-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(47, 123, 255, .42); }
/* 創會主席 — 主位卡片（頭像尺寸與其他一致，僅以頂部金藍漸層條區分） */
.lead-card--lead { border-color: rgba(47, 123, 255, .34); box-shadow: 0 18px 46px rgba(40, 70, 140, .14); }
.lead-card--lead::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, #2f7bff, #12c9c0 55%, #d6a44a);
}

/* 統一白底證件相框（四張領導相共用同一設計與比例） */
.lead-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: #fff; border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
}
.lead-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 22%; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.92) 78%, #fff 100%);
}
.lead-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.lead-photo.is-hero { aspect-ratio: 4 / 5; }

.lead-card .lead-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.lead-role-tag {
  align-self: flex-start; font-family: var(--font-display); font-size: 11.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
  background: rgba(47, 123, 255, .1); color: var(--blue); border: 1px solid rgba(47, 123, 255, .22);
  margin-bottom: 13px;
}
.lead-role-tag.is-gold { background: rgba(214, 164, 74, .13); color: #9a6f18; border-color: rgba(214, 164, 74, .3); }
.lead-role-tag.is-platinum { background: rgba(126, 143, 168, .13); color: #4e6180; border-color: rgba(126, 143, 168, .3); }

.lead-name { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--ink); letter-spacing: .01em; line-height: 1.2; }
.lead-name .en { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
/* 公司職銜行：置於姓名下、傳記上（2026-11-15 用戶指示，僅 Henry 與 Zen 兩張卡使用） */
.lead-title { color: var(--blue); font-weight: 700; font-size: 14px; line-height: 1.6; margin-top: 11px; text-wrap: wrap; }
.lead-title + .lead-bio { margin-top: 9px; }
.lead-bio { color: var(--ink-2); font-size: 14px; line-height: 1.85; margin-top: 14px; }
.lead-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lead-tags .pill { font-size: 11.5px; padding: 5px 11px; background: var(--surface-2); }
/* 第二組名銜（William 學術職銜）：與上一組名銜拉近距離 */
.lead-tags--stack { margin-top: 8px; }
.lead-hl { margin-top: 16px; padding-top: 15px; border-top: 1px dashed var(--line); display: grid; gap: 7px; }
.lead-hl li { position: relative; padding-left: 16px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.lead-hl li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-brand); }
/* 獲獎行（William 2015/2020、Tracy HKIYEA）：橙點＋斜體橙字，無圈框，與名銜藍 bubble 區隔 */
.lead-hl li.award-line { color: var(--orange-600); font-style: italic; font-size: 12.5px; }
.lead-hl li.award-line::before { background: var(--orange); }
/* 語意詞組不可拆開：配合 <wbr> 指定唯一換行點，關掉父層 text-wrap:balance，
   避免在詞組中間強行找平衡斷點（曾把「創辨人」劈成「創／辨人」、
   「法制工作委員會」劈成「…工作委／員會…」）。適用於 .lead-title 與 .pill 內的詞組。 */
.hl-seg { text-wrap: wrap; }
.seg { white-space: nowrap; }

/* 組織架構層級 */
.org-tier { margin-top: 46px; }
.org-tier-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.org-tier-head .lbl { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.org-tier-head .ln { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

/* ---------- Sitemap page ---------- */
.sitemap-links { display: grid; gap: 2px; margin-top: 14px; }
.sitemap-links a { display: flex; align-items: baseline; gap: 8px; color: var(--blue); font-size: 14.5px; padding: 7px 0; border-bottom: 1px dashed var(--line); transition: color .2s, padding-left .2s; }
.sitemap-links a:last-child { border-bottom: 0; }
.sitemap-links a::before { content: "›"; color: var(--orange); font-weight: 700; }
.sitemap-links a:hover { color: var(--orange); padding-left: 4px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1320px) {
  .nav > li > a { padding: 9px 9px; font-size: 14px; }
  .brand-logo { height: 36px; }
  .header-actions { gap: 10px; }
}
/* The 9-item CJK bar needs ~805px; below this viewport it cannot fit on one
   line next to the logo and CTAs, so hand over to the drawer. */
@media (max-width: 1240px) {
  .nav { display: none; }
  .hamburger { display: grid; }
  /* the nav used to provide the auto margin that pushed the actions right;
     without it the language toggle + burger collapsed against the logo. */
  .header-actions { margin-left: auto; }
}
@media (max-width: 1080px) {
  .header-actions .btn { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { gap: 14px; }
  .logo-tile { flex: 0 0 calc((100% - 28px) / 3); padding: 16px 18px; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .press-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lead-grid { grid-template-columns: 320px 1fr; }
  .lead-top { grid-template-columns: repeat(2, 1fr); }
  .lead-top > :last-child { grid-column: 1 / -1; }
  .lead-team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 940px) {
  /* A form sitting inside a 2-up grid only gets ~360px of card width, so the
     two-up field layout stops being usable before the .grid-2 breakpoint. */
  .grid-2 .form-grid { grid-template-columns: 1fr; }
  /* The four-rank tier label ("榮譽顧問 … · 創會主席 …") measures ~879px on one
     nowrap line. Between 721px and 940px the .container is narrower than that,
     so leaving white-space:nowrap here pushed the page 79px wide at 820px.
     Let it wrap as soon as the viewport can no longer hold the full line. */
  .org-tier-head { align-items: flex-start; gap: 10px; }
  .org-tier-head .lbl { white-space: normal; line-height: 1.6; letter-spacing: .1em; }
}
@media (max-width: 720px) {
  /* Four ranks cannot fit on one 358px line even at 21px — let it wrap here. */
  .sec-head .section-title--long { white-space: normal; font-size: 24px; line-height: 1.3; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hl-2col { grid-template-columns: 1fr; }
  .guest-list { grid-template-columns: 1fr; }
  .speaker-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .benefit-grid, .media-grid, .press-grid { grid-template-columns: 1fr; }
  .logo-wall { gap: 12px; }
  .logo-tile { flex: 0 0 calc((100% - 12px) / 2); padding: 14px 16px; }
  .social-card { flex: 0 0 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 70px 1fr; }
  .event-card .btn { grid-column: 1 / -1; }
  .job-card { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { width: min(100% - 32px, var(--maxw)); }
  .chair-grid { grid-template-columns: 1fr; gap: 30px; }
  .chair-portraits { grid-template-columns: 1fr 1fr; gap: 14px; }
  .quote-mark { font-size: 88px; }
  .lead-grid { grid-template-columns: 1fr; }
  .lead-top { grid-template-columns: 1fr; }
  .lead-top > :last-child { grid-column: auto; }
  .lead-team { grid-template-columns: 1fr; }
  .lead-photo { max-width: 340px; margin-inline: auto; width: 100%; border-radius: var(--radius) var(--radius) 0 0; }
  /* "榮譽顧問 Honorary Advisor · 榮譽創會主席 Honorary Founding Chairman · 創會主席 Founding Chairman" is one long
     nowrap line; on phones it must be allowed to wrap instead of overflowing. */
  .org-tier-head { align-items: flex-start; gap: 10px; }
  .org-tier-head .lbl { white-space: normal; line-height: 1.6; letter-spacing: .1em; }
}
@media (max-width: 460px) {
  .hero-stats { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; }
  .chair-portraits { grid-template-columns: 1fr; gap: 22px; max-width: 280px; margin-inline: auto; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ys-bg, .ys-blob, .ys-dot { animation: none !important; }
  .ys-dot { display: none; }
}
/* 減動偏好：首屏文字直接顯示，關閉流光/光暈動畫 */
@media (prefers-reduced-motion: reduce) {
  .hero.hero--lux .hero-inner > * { opacity: 1 !important; transform: none !important; animation: none !important; }
  .shimmer, .hero.hero--lux .gradient-text, .btn-gold::after, .hero-glow { animation: none !important; }
}

/* =============================================================
   PRESTIGE LAYER — 墨藍 × 香檳金 奢華升級
   動態效果 + 高端氣派設計 / UX（尊重 prefers-reduced-motion）
   ============================================================= */

/* ---------- Luxury tokens ---------- */
:root {
  --gold: #d8b574;
  --gold-2: #f1d9a8;
  --gold-deep: #b8893a;
  --gold-grad: linear-gradient(120deg, #f6e3b4 0%, #d8b574 42%, #b8893a 100%);
  --navy: #0a1430;
  --navy-2: #0d1b40;
  --navy-3: #15264f;
  --navy-grad: linear-gradient(155deg, #0a1430 0%, #0d1b40 55%, #15264f 100%);
  --on-dark: #eaf0ff;
  --on-dark-2: #aeb9da;
  --glass: rgba(255, 255, 255, .07);
  --glass-brd: rgba(216, 181, 116, .30);
  --shadow-gold: 0 22px 60px rgba(8, 16, 40, .45);
}

/* ---------- 玻璃擬態 ---------- */
.glass {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-brd);
}

/* ---------- 香檳金漸層文字 + 流光 ---------- */
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.shimmer {
  background: var(--gold-grad);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldShimmer 6s linear infinite;
}
@keyframes goldShimmer { to { background-position: 220% center; } }

/* ---------- 奢華首頁 Hero ---------- */
.hero.hero--lux {
  background: var(--navy-grad);
  color: var(--on-dark);
  min-height: 94vh;
  display: flex; align-items: center;
}
.hero.hero--lux .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero.hero--lux .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 48, .42) 0%, rgba(10, 20, 48, .80) 100%);
}
.hero.hero--lux .hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .40; filter: saturate(.85) brightness(.85); transform: scale(1.06);
}
.hero.hero--lux .bg-grid {
  opacity: .4;
  -webkit-mask-image: radial-gradient(circle at 30% 18%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 30% 18%, #000, transparent 75%);
}
.hero.hero--lux .hero-inner { position: relative; z-index: 2; max-width: 900px; }
.hero.hero--lux h1 {
  color: var(--on-dark);
  font-size: clamp(34px, 6vw, 68px); line-height: 1.1; letter-spacing: -.02em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.hero.hero--lux .gradient-text {
  background: var(--gold-grad); background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldShimmer 6s linear infinite;
}
.hero.hero--lux .eyebrow { color: var(--gold-2); }
.hero.hero--lux .eyebrow::before { background: var(--gold-grad); }
.hero.hero--lux .hero-sub { color: var(--on-dark-2); font-size: clamp(15px, 1.7vw, 19px); max-width: 60ch; margin-top: 22px; }
.hero.hero--lux .hero-cta { margin-top: 34px; }
.hero.hero--lux .btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; background: rgba(255, 255, 255, .06); }
.hero.hero--lux .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .14); color: #fff; transform: translateY(-3px); }
.hero.hero--lux .scroll-cue { color: var(--on-dark-2); }
.hero.hero--lux .scroll-cue .mouse { border-color: var(--on-dark-2); }
.hero.hero--lux .scroll-cue .mouse::after { background: var(--gold); }
/* 金/藍光暈 */
.hero.hero--lux .hero-glow { position: absolute; z-index: 1; border-radius: 50%; filter: blur(64px); opacity: .5; pointer-events: none; }
.hero.hero--lux .hero-glow.g1 { width: 42vw; height: 42vw; left: -12vw; top: -10vw; background: radial-gradient(circle, #d8b574, transparent 70%); animation: ysFloat1 22s ease-in-out infinite; }
.hero.hero--lux .hero-glow.g2 { width: 38vw; height: 38vw; right: -10vw; bottom: -12vw; background: radial-gradient(circle, #2f7bff, transparent 70%); opacity: .32; animation: ysFloat2 26s ease-in-out infinite; }
/* 階層式入場 */
.hero.hero--lux .hero-inner > * { opacity: 0; transform: translateY(26px); animation: heroIn .9s var(--ease) forwards; }
.hero.hero--lux .hero-inner > *:nth-child(1) { animation-delay: .10s; }
.hero.hero--lux .hero-inner > *:nth-child(2) { animation-delay: .22s; }
.hero.hero--lux .hero-inner > *:nth-child(3) { animation-delay: .34s; }
.hero.hero--lux .hero-inner > *:nth-child(4) { animation-delay: .46s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- 內頁深色 Hero ---------- */
.page-hero.page-hero--dark { background: var(--navy-grad); color: var(--on-dark); }
.page-hero.page-hero--dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 120% at 82% 0%, rgba(216, 181, 116, .18), transparent 60%),
    radial-gradient(50% 100% at 0% 100%, rgba(47, 123, 255, .18), transparent 60%);
}
.page-hero.page-hero--dark .bg-grid,
.page-hero.page-hero--dark .bg-aurora { opacity: .4; }
.page-hero.page-hero--dark h1 { color: var(--on-dark); }
.page-hero.page-hero--dark p { color: var(--on-dark-2); }
.page-hero.page-hero--dark .breadcrumb { color: var(--on-dark-2); }
.page-hero.page-hero--dark .breadcrumb a { color: var(--gold-2); }
.page-hero.page-hero--dark .breadcrumb a:hover { color: #fff; }
.page-hero.page-hero--dark .eyebrow { color: var(--gold-2); }
.page-hero.page-hero--dark .eyebrow::before { background: var(--gold-grad); }

/* ---------- 奢華按鈕（香檳金） ---------- */
.btn-gold {
  position: relative; overflow: hidden;
  background: var(--gold-grad); color: #2a1c04; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 12px 30px rgba(184, 137, 58, .35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(184, 137, 58, .45); color: #2a1c04; }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: skewX(-20deg); animation: btnShine 4.5s ease-in-out infinite;
}
@keyframes btnShine { 0%, 55% { left: -130%; } 100% { left: 150%; } }

/* ---------- 滾動進度條 ---------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--gold-grad); z-index: 1300;
  box-shadow: 0 0 12px rgba(216, 181, 116, .6);
  transition: width .12s linear;
}

/* ---------- 回到頂端 ---------- */
#to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 1200;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-grad); color: var(--gold-2);
  border: 1px solid var(--glass-brd); box-shadow: var(--shadow-gold);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), color .25s;
}
#to-top.show { opacity: 1; visibility: visible; transform: none; }
#to-top:hover { transform: translateY(-3px); color: #fff; }
#to-top svg { width: 20px; height: 20px; }

/* ---------- 磁吸微傾斜 ---------- */
[data-tilt] { transform-style: preserve-3d; transition: transform .18s var(--ease); will-change: transform; }

/* ---------- 卡片金邊懸停 ---------- */
.card.hover-gold:hover {
  border-color: var(--glass-brd);
  box-shadow: 0 22px 54px rgba(10, 20, 48, .18), 0 0 0 1px rgba(216, 181, 116, .28);
}
.gold-rule { height: 3px; width: 64px; background: var(--gold-grad); border-radius: 3px; margin: 14px 0; }
