/* =========================================================
   首頁 index.html 專用樣式（全部限定在 .home 之下）
   風格：內斂、精緻 — 墨色＋暖白紙色＋一個金銅點綴色
   標題：Noto Serif TC 900；內文：Noto Sans TC
   ========================================================= */
.home {
	--ink: #16171a; --ink-2: #4a4d54; --ink-3: #8b8d93; --paper: #fff; --bg: #f5f3ef; --bg-2: #ecE8e1; --line: #e3dfd7;
	--gold: #a8864f; --gold-l: #cdb07a; --red: #D7141E;
	--m-plan: #3F7F62; --m-digi: #3E6391; --m-craft: #A7813A;
	--serif: "Noto Serif TC", "Noto Serif CJK TC", "Source Han Serif TC", "Songti TC", "PMingLiU", serif;
	--sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
	--ease: cubic-bezier(.2, .8, .2, 1);
	background: var(--bg); color: var(--ink); font-family: var(--sans);
	overflow: hidden; -webkit-font-smoothing: antialiased;
}
.home *, .home *::before, .home *::after { box-sizing: border-box; }
.home img { max-width: 100%; display: block; }
.home a { text-decoration: none; }
.home h1, .home h2, .home h3, .home h4 { letter-spacing: 0; text-transform: none; }
.h-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.h-mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .22em; text-transform: uppercase; font-size: 11px; font-weight: 600; }
.h-serif { font-family: var(--serif); }
.h-sec { padding: 112px 0; }
.h-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.h-head .h-mono { color: var(--gold); display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.h-head .h-mono::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.h-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3.8vw, 50px); line-height: 1.3; font-weight: 900; color: var(--ink); }
.h-head h2 em { font-style: normal; color: var(--gold); }
.h-head p.sub { margin: 16px 0 0; font-size: 16px; line-height: 1.9; color: var(--ink-2); max-width: 36em; }
.h-more { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; color: var(--ink) !important; border-bottom: 1px solid var(--ink); padding-bottom: 4px; white-space: nowrap; letter-spacing: .04em; }
.h-more i { transition: transform .3s var(--ease); }
.h-more:hover i { transform: translateX(4px); }

/* ---------- 1. 主視覺 ---------- */
.h-hero { position: relative; min-height: min(100vh, 900px); min-height: min(100svh, 900px); background: #121315; color: #fff; display: flex; align-items: center; padding: 128px 0 120px; overflow: hidden; isolation: isolate; }
.h-wall { position: absolute; inset: -10% -20%; display: flex; flex-direction: column; justify-content: center; gap: 18px; transform: rotate(-8deg); z-index: -2; filter: saturate(.72); }
.h-row { display: flex; width: max-content; gap: 18px; animation: hWall 110s linear infinite; will-change: transform; }
.h-row:nth-child(2) { animation-duration: 140s; animation-direction: reverse; }
.h-row:nth-child(3) { animation-duration: 125s; }
.h-row img { width: 300px; height: 200px; object-fit: cover; border-radius: 4px; flex: none; }
.h-hero.paused .h-row { animation-play-state: paused; }
@keyframes hWall { to { transform: translate3d(-50%, 0, 0); } }
.h-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 19, 21, .97) 0%, rgba(18, 19, 21, .9) 40%, rgba(18, 19, 21, .5) 72%, rgba(18, 19, 21, .66) 100%), linear-gradient(0deg, rgba(18, 19, 21, .92), transparent 34%); }
.h-hero-in { width: 100%; }
.h-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; font-size: 13px; color: rgba(255, 255, 255, .62); letter-spacing: .12em; }
.h-kicker b { color: rgba(255, 255, 255, .92); font-weight: 500; }
.h-kicker span { width: 18px; height: 1px; background: var(--gold-l); }
.h-title { margin: 28px 0 0; font-family: var(--serif); font-size: clamp(40px, 6.4vw, 90px); line-height: 1.16; font-weight: 900; color: #fff; }
.h-title .l1, .h-title .l2 { display: block; }
.h-rot { display: inline-grid; vertical-align: top; color: var(--gold-l); }
.h-rot b { grid-area: 1 / 1; font-weight: 900; opacity: 0; transform: translateY(.3em); filter: blur(6px); transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s; white-space: nowrap; }
.h-rot b.on { opacity: 1; transform: none; filter: none; }
.h-rot b.out { opacity: 0; transform: translateY(-.3em); filter: blur(6px); }
.h-lead { margin: 30px 0 0; max-width: 34em; font-size: clamp(15px, 1.35vw, 17.5px); line-height: 2; color: rgba(255, 255, 255, .7); font-weight: 400; }
.h-lead b { color: #fff; font-weight: 500; }
.h-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.h-btn { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 28px; border-radius: 2px; font-size: 15px; font-weight: 500; letter-spacing: .08em; transition: background .3s, color .3s, border-color .3s; }
.h-btn i { font-size: 13px; transition: transform .3s var(--ease); }
.h-btn:hover i { transform: translateX(5px); }
.h-btn.pri { background: #fff; color: var(--ink) !important; }
.h-btn.pri:hover { background: var(--gold-l); }
.h-btn.gho { border: 1px solid rgba(255, 255, 255, .42); color: #fff !important; }
.h-btn.gho:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.h-news { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 14px; max-width: calc(100% - 32px); color: rgba(255, 255, 255, .86) !important; border-top: 1px solid rgba(255, 255, 255, .22); border-bottom: 1px solid rgba(255, 255, 255, .22); padding: 12px 6px; font-size: 14px; letter-spacing: .04em; transition: color .3s, border-color .3s; }
.h-news:hover { color: #fff !important; border-color: rgba(255, 255, 255, .5); }
.h-news em { font-style: normal; display: inline-flex; align-items: center; gap: 8px; font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .2em; color: var(--gold-l); flex: none; }
.h-news em::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.h-news span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-news i { font-size: 12px; color: var(--gold-l); }

/* ---------- 2. 數字 ---------- */
.h-stats { background: #1b1c1f; color: #fff; border-top: 1px solid rgba(255, 255, 255, .06); }
.h-stats .h-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.h-stat { padding: 40px 20px 36px 28px; border-left: 1px solid rgba(255, 255, 255, .1); }
.h-stat:first-child { padding-left: 0; border-left: 0; }
.h-stat b { display: flex; align-items: baseline; gap: 8px; font-family: var(--serif); font-size: clamp(38px, 4.2vw, 56px); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.h-stat b small { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--gold-l); letter-spacing: .08em; }
.h-stat .num { font-style: normal; }
.h-stat > span { display: block; margin-top: 14px; font-size: 13px; line-height: 1.75; color: rgba(255, 255, 255, .55); letter-spacing: .04em; }

/* ---------- 3. 高中生最想知道 ---------- */
.h-faq { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.h-q { position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 30px 26px 26px; color: var(--ink) !important; border-right: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: color .45s; }
.h-q:last-child { border-right: 0; }
.h-q::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
.h-q:hover { color: #fff !important; }
.h-q:hover::before { transform: scaleY(1); }
.h-q .n { font-family: var(--serif); font-size: 44px; font-weight: 900; line-height: 1; color: var(--gold); transition: color .45s; }
.h-q:hover .n { color: var(--gold-l); }
.h-q .ic { display: none; }
.h-q h3 { margin: 28px 0 0; font-family: var(--serif); font-size: 23px; line-height: 1.4; font-weight: 900; color: inherit; }
.h-q p { margin: 14px 0 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); transition: color .45s; }
.h-q:hover p { color: rgba(255, 255, 255, .72); }
.h-q .go { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; font-weight: 500; letter-spacing: .06em; }
.h-q .go i { font-size: 13px; transition: transform .35s var(--ease); }
.h-q:hover .go i { transform: translateX(6px); }

/* ---------- 4. 四年怎麼學 ---------- */
.h-learn { background: var(--paper); }
.h-years { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 40px; }
.h-yr { position: relative; padding: 26px 24px 0 0; border-top: 1px solid var(--line); }
.h-yr::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.h-yr.hi { border-top-color: var(--ink); }
.h-yr.hi::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(168, 134, 79, .18); }
.h-yr small { font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .2em; color: var(--ink-3); }
.h-yr h3 { margin: 10px 0 8px; font-family: var(--serif); font-size: 21px; font-weight: 900; color: var(--ink); }
.h-yr p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.h-mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.h-mod { position: relative; padding: 32px 30px 28px; background: var(--bg); color: var(--ink); overflow: hidden; display: flex; flex-direction: column; min-height: 380px; border-top: 3px solid var(--c); transition: background .4s, transform .5s var(--ease); }
.h-mod:hover { background: #efece6; transform: translateY(-4px); }
.h-mod .big { position: absolute; right: 22px; top: 18px; font-family: var(--serif); font-size: 64px; font-weight: 900; line-height: 1; color: var(--c); opacity: .22; pointer-events: none; }
.h-mod .h-mono { color: var(--c); }
.h-mod h3 { margin: 14px 0 10px; font-family: var(--serif); font-size: 28px; font-weight: 900; color: var(--ink); }
.h-mod p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.h-mod ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.h-mod li { font-size: 13.5px; color: var(--ink); position: relative; padding-left: 12px; }
.h-mod li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 1px; background: var(--c); }
.h-mod .job { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }
.h-mod .job b { display: block; font-family: ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--ink-3); margin-bottom: 4px; }
.h-learn-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 28px; padding: 22px 0 0; border-top: 1px solid var(--line); }
.h-learn-foot p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.h-learn-foot p b { color: var(--ink); font-weight: 500; }
.h-learn-foot .lk { display: flex; flex-wrap: wrap; gap: 8px; }
.h-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 2px; border: 1px solid var(--ink); color: var(--ink) !important; font-size: 14px; font-weight: 500; letter-spacing: .04em; transition: background .3s, color .3s; }
.h-chip:hover { background: var(--ink); color: #fff !important; }

/* ---------- 5. 紅點焦點 ---------- */
.h-rd { background: #121315; color: #fff; position: relative; overflow: hidden; }
.h-rd .h-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; position: relative; }
.h-rd figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #1d1e21; }
.h-rd figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.h-rd figure:hover img { transform: scale(1.04); }
.h-rd figure.noimg { background: radial-gradient(circle at 60% 45%, var(--red) 0 16%, #1d1e21 17%); }
.h-rd .bob { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 10px; background: rgba(18, 19, 21, .82); color: #fff; padding: 12px 18px; font-size: 13px; letter-spacing: .06em; }
.h-rd .bob i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); display: block; }
.h-rd .h-mono { color: var(--gold-l); display: flex; align-items: center; gap: 12px; margin: 0; }
.h-rd .h-mono::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.h-rd h2 { margin: 18px 0 0; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.3; font-weight: 900; color: #fff; }
.h-rd h2 em { font-style: normal; color: var(--gold-l); }
.h-rd .nums { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0 24px; border-top: 1px solid rgba(255, 255, 255, .16); }
.h-rd .nums div { padding-top: 18px; }
.h-rd .nums b { display: block; font-family: var(--serif); font-size: 44px; line-height: 1; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.h-rd .nums span { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .5); letter-spacing: .04em; }
.h-rd p { margin: 0 0 30px; font-size: 15px; line-height: 1.95; color: rgba(255, 255, 255, .68); }
.h-rd .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* 跑馬燈 */
.h-marquee { background: var(--bg); color: var(--ink); overflow: hidden; white-space: nowrap; border-bottom: 1px solid var(--line); }
.h-marquee-track { display: inline-flex; animation: hMarq 70s linear infinite; padding: 22px 0; will-change: transform; }
.h-marquee span { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; padding: 0 30px; display: inline-flex; align-items: center; gap: 30px; color: var(--ink); }
.h-marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.h-marquee span.o { color: var(--ink-3); font-weight: 700; }
@keyframes hMarq { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- 6. 最新消息 ---------- */
.h-filter { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: -18px 0 30px; border-bottom: 1px solid var(--line); }
.h-filter button { appearance: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent; color: var(--ink-3); padding: 10px 0 12px; font: 500 15px/1 inherit; font-family: var(--sans); letter-spacing: .04em; cursor: pointer; transition: color .25s, border-color .25s; }
.h-filter button:hover { color: var(--ink); }
.h-filter button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.h-filter button small { font-family: ui-monospace, Menlo, monospace; font-size: 11px; margin-left: 6px; color: var(--ink-3); }
.h-news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.h-card { display: flex; flex-direction: column; color: var(--ink) !important; }
.h-card .th { position: relative; aspect-ratio: 3 / 2; background: var(--bg-2); overflow: hidden; }
.h-card .th img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.92); }
.h-card:hover .th img { transform: scale(1.05); filter: none; }
.h-card .th.noimg::after { content: "DVCD"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-weight: 900; font-size: 32px; color: rgba(22, 23, 26, .14); }
.h-card .tag { display: none; }
.h-card .bd { padding: 16px 0 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.h-card time { display: flex; align-items: center; gap: 10px; font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; letter-spacing: .12em; color: var(--ink-3); }
.h-card time::after { content: attr(data-cat); font-family: var(--sans); letter-spacing: .06em; color: var(--gold); }
.h-card.is-new time::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.h-card h3 { margin: 0; font-size: 16px; line-height: 1.7; font-weight: 500; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.h-card .rd { display: none; }
.h-card.big { grid-column: span 2; }
.h-card.big h3 { font-family: var(--serif); font-size: 24px; line-height: 1.5; font-weight: 900; }
.h-card.hide, .h-card.off { display: none; }
.h-news-more { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 56px; }
.h-news-more button { appearance: none; border: 1px solid var(--ink); background: var(--ink); color: #fff; border-radius: 2px; height: 50px; padding: 0 28px; font: 500 15px/1 inherit; font-family: var(--sans); letter-spacing: .06em; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: background .3s, color .3s; }
.h-news-more button:hover { background: transparent; color: var(--ink); }
.h-news-more .h-chip { height: 50px; padding: 0 24px; }

/* ---------- 7. 影音 ---------- */
.h-video { background: var(--paper); }
.h-vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.h-vid { margin: 0; }
.h-vid .ply { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #111; border: 0; padding: 0; cursor: pointer; }
.h-vid .ply img { width: 100%; height: 100%; object-fit: cover; opacity: .82; filter: saturate(.85); transition: opacity .4s, transform 1s var(--ease); }
.h-vid .ply:hover img { opacity: 1; transform: scale(1.04); }
.h-vid .ply i { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .85); background: rgba(18, 19, 21, .35); color: #fff; display: grid; place-items: center; font-size: 18px; padding-left: 4px; transition: background .3s, color .3s; }
.h-vid .ply:hover i { background: #fff; color: var(--ink); }
.h-vid iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.h-vid figcaption { margin-top: 14px; font-size: 16px; font-weight: 500; line-height: 1.6; }
.h-vid figcaption small { display: block; font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .2em; color: var(--gold); margin-bottom: 4px; }

/* ---------- 8. 探索 ---------- */
.h-explore { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.h-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; color: #fff !important; background: #222; isolation: isolate; }
.h-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.85); transition: transform 1.4s var(--ease), filter .6s; }
.h-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(12, 12, 14, .82)); }
.h-tile:hover img { transform: scale(1.06); filter: none; }
.h-tile .t { position: absolute; left: 24px; right: 24px; bottom: 24px; }
.h-tile .h-mono { color: var(--gold-l); }
.h-tile h3 { margin: 8px 0 6px; font-family: var(--serif); font-size: 25px; font-weight: 900; color: #fff; }
.h-tile p { margin: 0; font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, .75); }
.h-tile .arr { position: absolute; right: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); color: #fff; display: grid; place-items: center; font-size: 12px; transition: background .3s, color .3s; }
.h-tile:hover .arr { background: #fff; color: var(--ink); }

/* ---------- 9. 報名 CTA ---------- */
.h-join { background: #121315; color: #fff; padding: 110px 0; position: relative; overflow: hidden; }
.h-join .h-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.h-join .h-mono { color: var(--gold-l); display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.h-join .h-mono::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.h-join h2 { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4.2vw, 56px); line-height: 1.3; font-weight: 900; color: #fff; }
.h-join h2 em { font-style: normal; color: var(--gold-l); }
.h-join p { margin: 18px 0 0; font-size: 15.5px; line-height: 1.95; color: rgba(255, 255, 255, .66); max-width: 34em; }
.h-join .btns { display: flex; flex-direction: column; gap: 10px; min-width: 260px; }
.h-join .h-btn { justify-content: space-between; }
.h-join .h-btn.dark { background: #fff; color: var(--ink) !important; }
.h-join .h-btn.dark:hover { background: var(--gold-l); }
.h-join .h-btn.line { border: 1px solid rgba(255, 255, 255, .35); color: #fff !important; }
.h-join .h-btn.line:hover { border-color: #fff; }
.h-join .ring { display: none; }

/* ---------- 進場動畫 ---------- */
.home .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.home .rv.in { opacity: 1; transform: none; }
.home .rv.d1 { transition-delay: .1s; } .home .rv.d2 { transition-delay: .2s; } .home .rv.d3 { transition-delay: .3s; }
.home.no-io .rv { opacity: 1; transform: none; }

/* ---------- RWD ---------- */
@media (max-width: 1100px) {
	.h-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.h-q:nth-child(2) { border-right: 0; }
	.h-q:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.h-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.h-explore { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.h-tile { aspect-ratio: 4 / 3; }
}
@media (max-width: 860px) {
	.h-sec { padding: 80px 0; }
	.h-stats .h-wrap { grid-template-columns: repeat(2, 1fr); }
	.h-stat { padding: 28px 16px 26px !important; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.h-stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .1); }
	.h-years { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
	.h-mods { grid-template-columns: 1fr; }
	.h-mod { min-height: 0; }
	.h-rd .h-wrap { grid-template-columns: 1fr; gap: 34px; }
	.h-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.h-vids { grid-template-columns: 1fr; }
	.h-join .h-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.h-wrap { padding: 0 16px; }
	.h-hero { padding: 108px 0 110px; }
	.h-row img { width: 200px; height: 134px; }
	.h-shade { background: linear-gradient(180deg, rgba(18, 19, 21, .55), rgba(18, 19, 21, .9) 45%, rgba(18, 19, 21, .96)); }
	.h-cta .h-btn { flex: 1 1 100%; justify-content: space-between; }
	.h-news { font-size: 13px; bottom: 22px; }
	.h-faq { grid-template-columns: 1fr; }
	.h-q { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 4px 22px; }
	.h-q::before { inset: 0 -16px; }
	.h-q .n { font-size: 34px; }
	.h-q h3 { margin-top: 16px; font-size: 21px; }
	.h-news-grid { grid-template-columns: 1fr; }
	.h-card.big { grid-column: auto; }
	.h-card.big h3 { font-size: 20px; }
	.h-explore { grid-template-columns: 1fr; }
	.h-rd .nums b { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
	.h-row, .h-marquee-track { animation: none; }
	.home .rv { opacity: 1; transform: none; transition: none; }
}

/* 點擊回饋：取消藍框，改為按壓動態 */
.home a, .home button { -webkit-tap-highlight-color: transparent; }
.home a:focus, .home button:focus { outline: none; }
.home a:focus-visible, .home button:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; }
.h-card, .h-tile, .h-q, .h-btn, .h-chip { transition-property: transform, background, color, border-color, box-shadow; }
.h-card:active, .h-tile:active { transform: scale(.975); transition-duration: .12s; }
.h-btn:active, .h-chip:active, .h-filter button:active { transform: scale(.96); }
