/* ==========================================================
   未來斑馬 AI 創新學苑｜全站共用樣式（Apple 風格改版）
   黑・白・灰＋黃色重點；字體只用 Noto Sans TC
   ========================================================== */
:root {
  --y: #FFD60A;          /* 重點黃：按鈕、黑底上的數字 */
  --y-hover: #ffcc00;
  --y-ink: #7A5800;      /* 白／淺灰底上的黃系文字 */
  --ink: #1d1d1f;
  --ink2: #424245;
  --mute: #6e6e73;
  --mute-d: #a1a1a6;     /* 黑底上的次要文字 */
  --line: #d2d2d7;
  --soft: #f5f5f7;
  --card-d: #142b52;    /* 藏青底上的卡片 */
  --navy: #0b1d3a;       /* 藏青：原本的深黑底色 */
  --wrap: 1120px;
  --nav-h: 52px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; font-family: 'Noto Sans TC', -apple-system, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  color: var(--ink); background: #fff; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap-n { max-width: 860px; margin: 0 auto; padding: 0 22px; }
.nw { white-space: nowrap; }


/* ---------- 全站導覽 ---------- */
.gnav { position: sticky; top: 0; z-index: 200; height: var(--nav-h); background: rgba(255,255,255,0.86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,0.08); }
.gnav-in { max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; gap: 24px; }
.gnav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.gnav-logo img { width: 26px; height: auto; }
.gnav-logo b { font-size: 15px; font-weight: 700; letter-spacing: 0.01em; }
.gnav-logo small { display: block; font-size: 11px; color: var(--mute); font-weight: 400; line-height: 1.2; }
.gnav-links { list-style: none; display: flex; align-items: center; gap: 2px; margin-left: auto; }
.gnav-links a { display: block; padding: 6px 10px; font-size: 13px; text-decoration: none; color: var(--ink); opacity: 0.8; border-radius: 8px; white-space: nowrap; }
.gnav-links a:hover, .gnav-links a[aria-current="page"] { opacity: 1; }
.gnav-links a[aria-current="page"] { font-weight: 700; }
.gnav-links .camp { color: var(--y-ink); font-weight: 700; opacity: 1; }
.gnav-links .cta { background: var(--y); color: #000; font-weight: 700; opacity: 1; border-radius: 980px; padding: 6px 14px; margin-left: 6px; }
.gnav-links .cta:hover { background: var(--y-hover); }
.gnav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.gnav-toggle span, .gnav-toggle::before, .gnav-toggle::after { content: ''; position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .25s; }
.gnav-toggle::before { top: 15px; } .gnav-toggle span { top: 20px; } .gnav-toggle::after { top: 25px; }
.gnav.open .gnav-toggle::before { transform: translateY(5px) rotate(45deg); }
.gnav.open .gnav-toggle span { opacity: 0; }
.gnav.open .gnav-toggle::after { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 1060px) {
  .gnav-toggle { display: block; }
  .gnav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 22px 22px; border-bottom: 1px solid var(--line); max-height: calc(100vh - var(--nav-h)); overflow: auto; }
  .gnav.open .gnav-links { display: flex; }
  .gnav-links a { font-size: 17px; padding: 13px 0; border-bottom: 1px solid #ececf0; border-radius: 0; opacity: 1; }
  .gnav-links .cta { margin: 16px 0 0; text-align: center; padding: 12px; border: 0; }
}

/* ---------- 子頁區域導覽（Apple 產品頁風格） ---------- */
.lnav { position: sticky; top: var(--nav-h); z-index: 150; background: rgba(255,255,255,0.86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,0.08); }
.lnav-in { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; height: 48px; display: flex; align-items: center; gap: 20px; }
.lnav-title { font-size: 19px; font-weight: 700; white-space: nowrap; }
.lnav-links { list-style: none; display: flex; gap: 18px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.lnav-links::-webkit-scrollbar { display: none; }
.lnav-links a { font-size: 12.5px; color: var(--ink2); text-decoration: none; white-space: nowrap; }
.lnav-links a:hover { color: var(--ink); }
.lnav-cta { flex-shrink: 0; background: var(--y); color: #000; font-size: 12.5px; font-weight: 700; text-decoration: none; padding: 5px 13px; border-radius: 980px; }
/* 寬螢幕主選單已有「預約課程」，頁內選單的同一顆藏起來；≤1060px 主選單收合時才顯示 */
@media (min-width: 1061px) { .lnav-book { display: none; } }
@media (max-width: 760px) {
  .lnav-in { gap: 12px; }
  .lnav-title { font-size: 16px; }
  .lnav-links { display: none; }
  .lnav-cta { margin-left: auto; }
  .lnav-chips { display: flex; }
}
.lnav-chips { display: none; gap: 8px; overflow-x: auto; padding: 0 22px 10px; scrollbar-width: none; }
.lnav-chips::-webkit-scrollbar { display: none; }
.lnav-chips a { flex-shrink: 0; font-size: 13px; text-decoration: none; color: var(--ink); background: var(--soft); padding: 5px 12px; border-radius: 980px; }

/* ---------- 區塊 ---------- */
.sec { padding: 112px 0; }
.sec-tight { padding: 80px 0; }
.bg-soft { background: var(--soft); }
.bg-black { background: var(--navy); color: #f5f5f7; }
.bg-black .mute, .bg-black .lead { color: var(--mute-d); }
.eyebrow { display: block; font-size: 15px; font-weight: 700; color: var(--y-ink); letter-spacing: 0.02em; margin-bottom: 10px; }
.bg-black .eyebrow { color: var(--y); }
.display { font-size: clamp(2.5rem, 6.4vw, 5rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.015em; }
.h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.14; font-weight: 700; letter-spacing: -0.01em; }
.h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.25; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.7; color: var(--mute); margin-top: 18px; }
.mute { color: var(--mute); }
.y { color: var(--y); }
.y-ink { color: var(--y-ink); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; max-width: 760px; }
.head { margin-bottom: 56px; }

/* ---------- 按鈕／連結 ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.center .btns, .btns.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border-radius: 980px; font-size: 16px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background .2s, border-color .2s; }
.btn-y { background: var(--y); color: #000; }
.btn-y:hover { background: var(--y-hover); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; font-weight: 500; }
.btn-line:hover { background: rgba(0,0,0,0.04); }
.bg-black .btn-line, .tile-dark .btn-line { border-color: rgba(255,255,255,0.5); color: #fff; }
.bg-black .btn-line:hover, .tile-dark .btn-line:hover { background: rgba(255,255,255,0.08); }
.more { color: var(--y-ink); font-weight: 500; text-decoration: none; white-space: nowrap; }
.more::after { content: ' ›'; }
.more:hover { text-decoration: underline; }
.bg-black .more, .tile-dark .more { color: var(--y); }
.links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 18px; font-size: 17px; }
.center .links { justify-content: center; }

/* ---------- 捲動淡入 ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- 數字列 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stat { padding: 8px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.bg-black .stat { border-color: #333336; }
.stat-n { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.stat-n small { font-size: 0.42em; font-weight: 700; margin-left: 4px; letter-spacing: 0; }
.bg-black .stat-n { color: var(--y); }
.stat-l { font-weight: 700; margin-top: 10px; }
.stat-s { font-size: 14px; color: var(--mute); margin-top: 4px; line-height: 1.6; }
.bg-black .stat-s { color: var(--mute-d); }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- 卡片 ---------- */
.card { background: #fff; border-radius: 24px; padding: 32px; }
.bg-white .card, .card.on-white { background: var(--soft); }
.bg-black .card { background: var(--card-d); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); } }

/* 圓點清單 */
.dots { list-style: none; }
.dots li { position: relative; padding: 9px 0 9px 18px; border-top: 1px solid #e5e5ea; font-size: 15px; color: var(--ink2); line-height: 1.6; }
.dots li:first-child { border-top: 0; }
.dots li::before { content: ''; position: absolute; left: 2px; top: 1.15em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.bg-black .dots li { border-color: #333336; color: #d2d2d7; }
.bg-black .dots li::before { background: var(--y); }

/* 標籤 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: #fff; border-radius: 980px; padding: 5px 13px; font-size: 14px; font-weight: 500; }
.bg-white .chips span { background: var(--soft); }

/* 燈箱 */
.zoom { cursor: zoom-in; }
#lightbox { display: none; position: fixed; inset: 0; z-index: 400; background: rgba(0,0,0,0.9); align-items: center; justify-content: center; flex-direction: column; padding: 24px; }
#lightbox img { max-width: 100%; max-height: 84vh; border-radius: 10px; }
#lightbox-cap { color: #d2d2d7; font-size: 14px; margin-top: 12px; text-align: center; }
#lightbox button { position: absolute; top: 14px; right: 18px; background: rgba(255,255,255,0.14); color: #fff; border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 18px; cursor: pointer; }

/* ---------- 常見問題（details） ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '−'; background: var(--y); }
.faq details p { padding: 0 44px 24px 0; color: var(--ink2); font-size: 16px; }
.bg-soft .faq summary::after { background: #fff; }

/* ---------- CTA ---------- */
.cta { padding: 120px 0; text-align: center; }

/* ---------- 頁尾 ---------- */
.foot { background: var(--soft); color: var(--mute); font-size: 13px; padding: 56px 0 28px; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 15px; }
.foot-brand img { width: 34px; height: auto; }
.foot-tag { margin-top: 10px; line-height: 1.7; }
.foot-contact { margin-top: 14px; line-height: 2; }
.foot-contact a { color: var(--y-ink); text-decoration: none; }
.foot-k { display: inline-block; width: 2.6em; color: #86868b; }
.foot h4 { color: var(--ink); font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.foot ul { list-style: none; }
.foot li { margin: 6px 0; }
.foot li a { color: var(--ink2); text-decoration: none; }
.foot li a:hover { text-decoration: underline; color: var(--ink); }
.foot-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #86868b; }
@media (max-width: 960px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-top > :first-child { grid-column: 1 / -1; } }

/* ==========================================================
   首頁
   ========================================================== */
/* HERO：冬令營 */
.hero { background: var(--navy); color: #f5f5f7; padding: 72px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.hero-badge { color: var(--y); font-weight: 700; font-size: 15px; letter-spacing: 0.03em; }
.hero h1 { margin-top: 14px; }
.hero h1 .y { color: var(--y); }
.hero-desc { margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #d2d2d7; line-height: 1.8; max-width: 620px; }
.hero-desc strong { color: #fff; }
.hero .stats { margin-top: 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; max-width: 560px; }
.hero .stat:nth-child(3) { border-left: 0; padding-left: 0; }
.hero .stat-n { white-space: nowrap; }
.hero .stat-n { font-size: clamp(2rem, 3.4vw, 2.7rem); }
.hero .stat-l { font-weight: 500; font-size: 14px; color: var(--mute-d); margin-top: 6px; }
.hero-co { margin-top: 36px; font-size: 14px; color: #86868b; }
.hero-co a { color: var(--y); text-decoration: none; }
.hero-dm img { width: 100%; max-width: 430px; margin-left: auto; border-radius: 18px; box-shadow: 0 40px 100px rgba(255,214,10,0.14); }
.hero-cap { text-align: right; font-size: 13px; color: #86868b; margin-top: 12px; }
.hero-cap a { color: var(--y); text-decoration: none; font-weight: 700; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-dm img { margin: 0 auto; max-width: 340px; }
  .hero-cap { text-align: center; }
}

/* 課程一覽列（取代跑馬燈） */
.quick { background: var(--soft); border-bottom: 1px solid #e5e5ea; }
.quick-in { max-width: 1200px; margin: 0 auto; padding: 16px 22px; display: flex; align-items: center; gap: 18px; }
.quick-t { font-size: 13px; font-weight: 700; color: var(--mute); flex-shrink: 0; }
.quick-list { list-style: none; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.quick-list::-webkit-scrollbar { display: none; }
.quick-list a { display: block; white-space: nowrap; font-size: 13.5px; text-decoration: none; color: var(--ink); background: #fff; padding: 6px 14px; border-radius: 980px; border: 1px solid #e5e5ea; }
.quick-list a:hover { border-color: var(--ink); }
.quick-list a.hot { background: var(--y); border-color: var(--y); font-weight: 700; }

/* 入口大方塊（apple.com 首頁風格） */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; }
.tile { position: relative; border-radius: 28px; overflow: hidden; background: var(--soft); text-align: center; padding: 56px 32px 0; display: flex; flex-direction: column; align-items: center; min-height: 600px; }
.tile.wide { grid-column: 1 / -1; min-height: 640px; }
.tile-dark { background: var(--navy); color: #f5f5f7; }
.tile-white { background: #fff; }
.tile .eyebrow { margin-bottom: 6px; }
.tile h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
.tile.wide h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.tile p.sub { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--mute); margin-top: 12px; max-width: 560px; }
.tile-dark p.sub { color: var(--mute-d); }
.tile .links { margin-top: 16px; }
.tile-vis { margin-top: auto; width: 100%; padding-top: 36px; display: flex; justify-content: center; align-items: flex-end; }
.tile-vis img { max-height: 320px; width: auto; }
.tile-vis .shot { width: 100%; max-width: 560px; border-radius: 16px 16px 0 0; box-shadow: 0 -10px 60px rgba(0,0,0,0.08); }
.tile-vis svg { width: 100%; max-width: 860px; height: auto; display: block; }
@media (max-width: 760px) {
  .tiles { grid-template-columns: minmax(0, 1fr); padding: 10px; gap: 10px; }
  .tile, .tile.wide { min-height: 0; padding: 44px 22px 0; border-radius: 22px; }
  .tile-vis img { max-height: 240px; }
}

/* 程式課程方塊：學習路線縮圖 */
.steps-vis { display: flex; align-items: flex-end; gap: 10px; width: 100%; max-width: 480px; }
.steps-vis div { flex: 1; background: #fff; border-radius: 14px 14px 0 0; padding: 14px 8px; font-size: 13px; font-weight: 700; display: flex; flex-direction: column; justify-content: flex-start; }
.steps-vis div small { display: block; font-weight: 400; color: var(--mute); font-size: 12px; margin-top: 2px; }
.steps-vis div:nth-child(1) { height: 110px; }
.steps-vis div:nth-child(2) { height: 160px; }
.steps-vis div:nth-child(3) { height: 210px; }
.steps-vis div:nth-child(4) { height: 260px; background: var(--y); }
.steps-vis div:nth-child(4) small { color: #3a2a00; }

/* 最新活動 */
.news { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; }
.news-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; border-radius: 24px; overflow: hidden; text-decoration: none; color: inherit; }
.news-card img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.news-body { padding: 32px; display: flex; flex-direction: column; }
.news-meta { font-size: 13px; color: var(--mute); display: flex; gap: 10px; align-items: center; }
.news-tag { background: var(--y); color: #000; font-weight: 700; padding: 2px 10px; border-radius: 980px; font-size: 12px; }
.news-body h3 { font-size: 21px; line-height: 1.4; margin-top: 12px; }
.news-body p { color: var(--ink2); font-size: 15px; margin-top: 10px; }
.news-body .more { margin-top: auto; padding-top: 16px; }
.news-side { background: var(--navy); color: #f5f5f7; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; }
.news-side h3 { font-size: 22px; line-height: 1.4; }
.news-side p { color: var(--mute-d); font-size: 15px; margin-top: 12px; }
.news-side .btns { margin-top: auto; padding-top: 24px; }
@media (max-width: 900px) { .news, .news-card { grid-template-columns: minmax(0, 1fr); } .news-card img { min-height: 0; aspect-ratio: 16 / 10; } }

/* ==========================================================
   無人機課程頁
   ========================================================== */
.page-hero { padding: 96px 0 72px; text-align: center; }
.page-hero .lead { max-width: 780px; margin-left: auto; margin-right: auto; }

/* 學習路徑 */
.path { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; margin-top: 64px; }
.path::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 27px; height: 2px; background: var(--line); }
.path li { text-align: center; position: relative; padding: 0 10px; }
.path-n { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; margin: 0 auto; font-weight: 700; font-size: 18px; position: relative; }
.path li.hot .path-n { background: var(--y); border-color: var(--y); }
.path-k { font-size: 12px; font-weight: 700; color: var(--mute); margin-top: 16px; letter-spacing: 0.06em; }
.path-t { font-size: 22px; font-weight: 700; margin-top: 2px; }
.path-d { font-size: 15px; color: var(--mute); margin-top: 4px; }
.path a { text-decoration: none; color: inherit; }
@media (max-width: 760px) {
  .path { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 40px; text-align: left; }
  .path::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .path li { text-align: left; padding: 0 0 24px; }
  .path li a { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; }
  .path-n { margin: 0; grid-row: span 3; }
  .path-k { margin-top: 2px; }
}

/* 推廣成果：時間軸 */
.impact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; margin-top: 80px; align-items: start; }
.tl { list-style: none; position: relative; }
.tl::before { content: ''; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px; background: #333336; }
.tl li { position: relative; padding: 0 0 34px 34px; }
.tl li::before { content: ''; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--y); }
.tl-d { color: var(--y); font-weight: 700; font-size: 14px; }
.tl-t { font-size: 19px; font-weight: 700; margin-top: 4px; line-height: 1.45; }
.tl-x { color: var(--mute-d); font-size: 15px; margin-top: 6px; }
.tl-tag { display: inline-block; margin-top: 10px; font-size: 12px; background: var(--card-d); color: #d2d2d7; padding: 3px 10px; border-radius: 980px; }
.shot-fig { margin: 0; }
.shot-fig img { border-radius: 18px; width: 100%; }
.shot-fig figcaption { font-size: 13px; color: var(--mute-d); margin-top: 10px; }
.hl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.hl div { background: var(--card-d); border-radius: 16px; padding: 18px; }
.hl b { display: block; font-size: 16px; }
.hl span { display: block; font-size: 13.5px; color: var(--mute-d); margin-top: 4px; line-height: 1.6; }
@media (max-width: 900px) { .impact { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 520px) { .hl { grid-template-columns: minmax(0, 1fr); } }

/* 課程詳情（認證班／競賽班） */
.course-head { text-align: center; max-width: 820px; margin: 0 auto 64px; }
.badge { display: inline-block; background: var(--y); color: #000; font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 980px; margin-bottom: 16px; }
.course { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.course.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.course.flip .course-dm { order: 2; }
.course-dm { position: sticky; top: 124px; }
.course-dm img { border-radius: 18px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.course-dm p { font-size: 13px; color: var(--mute); margin-top: 10px; text-align: center; }
.course-dm p a { color: var(--y-ink); }
.blk + .blk { margin-top: 40px; }
.blk-t { font-size: 13px; font-weight: 700; color: var(--mute); letter-spacing: 0.06em; margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.facts dt { font-weight: 700; padding-right: 28px; }
.facts dd { color: var(--ink2); }
.vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vals div { background: #fff; border-radius: 18px; padding: 20px; }
.bg-white .vals div { background: var(--soft); }
.vals b { display: block; font-size: 18px; }
.vals small { display: block; font-size: 13.5px; color: var(--mute); margin-top: 4px; line-height: 1.6; }
.stages { display: grid; gap: 12px; }
.stage { background: #fff; border-radius: 18px; padding: 20px 22px; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; }
.stage-h b { display: block; font-size: 17px; }
.stage-h small { color: var(--y-ink); font-weight: 700; font-size: 13px; }
.stage ol { list-style: none; counter-reset: s var(--start); }
.stage li { counter-increment: s; position: relative; padding: 3px 0 3px 36px; font-size: 15px; color: var(--ink2); }
.stage li::before { content: counter(s); position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--soft); font-size: 12px; font-weight: 700; display: grid; place-items: center; color: var(--ink); }
.flow { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow li { background: #fff; border-radius: 980px; padding: 6px 14px; font-size: 14px; font-weight: 500; }
.flow li + li::before { content: '→'; color: #b0b0b5; margin-right: 8px; margin-left: -2px; }
.note { font-size: 13.5px; color: var(--mute); line-height: 1.7; }
.syl { list-style: none; counter-reset: sy; border-top: 1px solid var(--line); }
.syl li { counter-increment: sy; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.syl li::before { content: counter(sy, decimal-leading-zero); grid-row: span 2; font-size: 22px; font-weight: 700; color: var(--y-ink); line-height: 1.3; }
.syl b { font-size: 17px; }
.syl small { font-size: 14.5px; color: var(--mute); line-height: 1.65; }
.abil { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.abil div { background: var(--soft); border-radius: 16px; padding: 18px 14px; }
.abil b { display: block; font-size: 16px; }
.abil small { display: block; font-size: 13px; color: var(--mute); margin-top: 6px; line-height: 1.6; }
@media (max-width: 900px) {
  .course, .course.flip { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .course.flip .course-dm { order: 0; }
  .course-dm { position: static; max-width: 380px; margin: 0 auto; }
  .abil { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .vals { grid-template-columns: minmax(0, 1fr); }
  .stage { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* 更多課程卡 */
.mc { display: flex; flex-direction: column; }
.mc .eyebrow { font-size: 12.5px; letter-spacing: 0.05em; }
.mc h3 { font-size: 22px; line-height: 1.35; }
.mc .for { font-size: 14px; color: var(--mute); margin: 6px 0 14px; }
.mc .dots { margin-bottom: 20px; }
.mc .more { margin-top: auto; }
.tile .links { justify-content: center; }
@media (max-width: 760px) {
  .steps-vis { gap: 6px; }
  .steps-vis div { font-size: 11.5px; padding: 10px 5px; word-break: break-word; }
  .steps-vis div small { font-size: 10.5px; }
  .steps-vis div:nth-child(1) { height: 90px; } .steps-vis div:nth-child(2) { height: 125px; }
  .steps-vis div:nth-child(3) { height: 160px; } .steps-vis div:nth-child(4) { height: 195px; }
}

/* ==========================================================
   捲動動畫：看懂無人機足球（play.js）
   ========================================================== */
.play { position: relative; height: 520vh; background: var(--navy); color: #f5f5f7; }
.play-sticky { position: sticky; top: calc(var(--nav-h) + 48px); height: calc(100vh - var(--nav-h) - 48px); overflow: hidden; }
#play-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.play-caps { position: absolute; left: 0; right: 0; top: 0; padding-top: 6vh; height: 46%; text-align: center; pointer-events: none; background: linear-gradient(var(--navy) 55%, rgba(11,29,58,0)); }
.play-cap { position: absolute; left: 0; right: 0; padding: 0 22px; opacity: 0; visibility: hidden; transition: none; }
.play-cap .eyebrow { color: var(--y); }
.play-cap h2 { font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.play-cap p { color: var(--mute-d); font-size: clamp(1rem, 1.5vw, 1.2rem); margin: 14px auto 0; max-width: 620px; }
.play-cap .btns { pointer-events: auto; }
.play-score { position: absolute; right: 22px; bottom: 28px; display: flex; align-items: baseline; gap: 10px; background: rgba(28,28,30,0.85); border-radius: 16px; padding: 10px 18px; opacity: 0; transition: background .3s; }
.play-score small { font-size: 12px; color: var(--mute-d); letter-spacing: 0.08em; font-weight: 700; }
.play-score b { font-size: 34px; line-height: 1; color: var(--y); font-variant-numeric: tabular-nums; }
.play-score.hit { background: var(--y); }
.play-score.hit b, .play-score.hit small { color: #000; }
.play-track { position: absolute; left: 22px; bottom: 28px; width: 120px; height: 3px; background: #333336; border-radius: 2px; overflow: hidden; }
#play-bar { display: block; height: 100%; background: var(--y); transform-origin: left; transform: scaleX(0); }
.play-hint { position: absolute; left: 22px; bottom: 40px; font-size: 12px; color: #86868b; }
@media (max-width: 760px) {
  .play { height: 460vh; }
  .play-sticky { top: var(--nav-h); height: calc(100vh - var(--nav-h)); }
  .play-caps { top: 5%; }
}
@media (prefers-reduced-motion: reduce) {
  .play { height: auto; }
  .play-sticky { position: relative; top: 0; height: auto; padding: 72px 0 0; overflow: visible; }
  #play-cv { position: relative; height: 60vh; }
  .play-caps { position: relative; top: 0; }
  .play-cap { position: relative; opacity: 1; visibility: visible; margin-bottom: 40px; }
  .play-score, .play-track, .play-hint { display: none; }
}
.play-score, .play-track { bottom: 52px; } .play-hint { bottom: 64px; }

/* ==========================================================
   程式課程頁
   ========================================================== */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid4 { grid-template-columns: minmax(0, 1fr); } }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 17px; cursor: pointer; }

/* 招生 DM */
.dm { margin: 0; background: #fff; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.dm img { width: 100%; aspect-ratio: 316 / 440; object-fit: cover; object-position: top; background: #e8e8ed; }
.dm figcaption { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.dm figcaption b { font-size: 17px; }
.dm figcaption small { color: var(--mute); font-size: 14px; }
.dm figcaption .more { margin-top: auto; padding-top: 10px; font-size: 15px; }
@media (max-width: 560px) { .dms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .dm figcaption { padding: 14px; } .dm figcaption b { font-size: 15px; } }

/* 課程卡 */
.mc.feat { box-shadow: inset 0 0 0 2px var(--y); }
.mc-act { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.mc-act .btn { align-self: stretch; }
.mc-act .more { font-size: 15px; }

/* 學習地圖（網頁重繪） */
.lmap-kicker { text-align: center; font-weight: 700; color: var(--mute); font-size: 15px; letter-spacing: 0.06em; margin-bottom: 24px; }
.lmap-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.lmap-phase { background: #fff; border-radius: 24px; padding: 28px 26px 12px; }
.lmap-phase.goal { background: var(--navy); color: #f5f5f7; }
.lmap-ph span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--y-ink); }
.goal .lmap-ph span { color: var(--y); }
.lmap-ph h3 { font-size: 22px; line-height: 1.35; margin-top: 4px; }
.lmap-ph small { display: block; color: var(--mute); font-size: 14px; margin-top: 2px; }
.goal .lmap-ph small { color: var(--mute-d); }
.lmap-list { list-style: none; margin-top: 18px; position: relative; }
.lmap-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid #e5e5ea; }
.goal .lmap-list li { border-color: #333336; }
.lmap-n { width: 34px; height: 34px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.goal .lmap-n { background: var(--y); color: #000; }
.lmap-list b { display: block; font-size: 16px; line-height: 1.45; }
.lmap-list em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--y-ink); }
.goal .lmap-list em { color: var(--y); }
.lmap-list p { font-size: 14px; color: var(--ink2); line-height: 1.6; margin-top: 2px; }
.goal .lmap-list p { color: #d2d2d7; }
@media (max-width: 900px) { .lmap-cols { grid-template-columns: minmax(0, 1fr); } }

/* 課程比較表 */
.cmp { background: var(--soft); border-radius: 28px; padding: 12px 28px; }
.cmp table { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 20px 16px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.65; }
.cmp thead th { border-top: 0; font-size: 15px; padding-top: 18px; padding-bottom: 18px; color: var(--mute); }
.cmp thead th.us { color: var(--ink); font-size: 17px; }
.cmp thead th.us::after { content: ''; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--y); margin-top: 8px; }
.cmp tbody th { width: 128px; font-size: 17px; white-space: nowrap; }
.cmp td.us { background: #fff; font-weight: 500; color: var(--ink); }
.cmp tbody tr:first-child td.us { border-radius: 16px 16px 0 0; }
.cmp tbody tr:last-child td.us { border-radius: 0 0 16px 16px; }
.cmp td { color: var(--mute); }
.cmp ol { list-style: none; counter-reset: c; }
.cmp ol li { counter-increment: c; position: relative; padding-left: 22px; }
.cmp ol li + li { margin-top: 4px; }
.cmp ol li::before { content: counter(c) '.'; position: absolute; left: 0; font-weight: 700; color: #b0b0b5; }
.cmp td.us ol li::before { color: var(--y-ink); }
@media (max-width: 760px) {
  .cmp { padding: 4px 14px; border-radius: 22px; }
  .cmp thead { display: none; }
  .cmp tr { display: block; padding: 18px 0; border-top: 1px solid var(--line); }
  .cmp tbody tr:first-child { border-top: 0; }
  .cmp th, .cmp td { display: block; border: 0; padding: 0; }
  .cmp tbody th { width: auto; margin-bottom: 10px; }
  .cmp td { padding: 14px 16px; border-radius: 14px !important; font-size: 15px; }
  .cmp td + td { margin-top: 8px; }
  .cmp td::before { content: attr(data-l); display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--mute); margin-bottom: 6px; }
  .cmp td.us::before { color: var(--y-ink); }
}

/* APCS 成績榜 */
.apcs { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.apcs-t { color: var(--mute-d); font-size: 15px; line-height: 1.6; }
.apcs-t b { display: block; color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 4px; }
.apcs-s { color: #86868b; font-size: 13px; margin-top: 12px; line-height: 1.6; }
.apcs-big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.apcs-big div { background: var(--card-d); border-radius: 18px; padding: 20px; }
.apcs-big b { display: block; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; color: var(--y); letter-spacing: -0.02em; }
.apcs-big small { display: block; color: var(--mute-d); font-size: 13px; margin-top: 8px; }
.apcs-tb { width: 100%; border-collapse: collapse; background: var(--card-d); border-radius: 22px; overflow: hidden; font-variant-numeric: tabular-nums; }
.apcs-tb th, .apcs-tb td { padding: 16px 18px; text-align: left; border-top: 1px solid #333336; font-size: 16px; }
.apcs-tb thead th { border-top: 0; font-size: 13px; color: var(--mute-d); font-weight: 700; letter-spacing: 0.04em; }
.apcs-tb td:first-child { font-weight: 700; }
.apcs-tb td i { font-style: normal; display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 980px; background: #333336; color: #d2d2d7; vertical-align: 2px; }

@media (max-width: 900px) { .apcs { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 520px) { .apcs-tb th, .apcs-tb td { padding: 13px 10px; font-size: 14.5px; } .apcs-tb td i { display: block; margin: 4px 0 0; width: max-content; } }
.apcs-tb td i.hi { background: var(--y); color: #000; }
[hidden] { display: none !important; }
.grid4 .mc { padding: 28px 24px; }
.grid4 .mc h3 { font-size: 20px; }

/* ==========================================================
   AI 自研系統頁
   ========================================================== */
.ai-hero { padding-bottom: 96px; }
.ai-pills { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.ai-pills li { border: 1px solid #424245; color: #d2d2d7; border-radius: 980px; padding: 5px 14px; font-size: 14px; }
.sys-jump { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 820px; margin: 56px auto 0; text-align: left; }
.sys-jump a { display: block; background: var(--card-d); border-radius: 22px; padding: 24px 26px; text-decoration: none; color: #f5f5f7; transition: background .2s; }
.sys-jump a:hover { background: #1d3a66; }
.sys-jump small { color: var(--y); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; }
.sys-jump b { display: block; font-size: 19px; margin-top: 4px; }
.sys-jump span { display: block; color: var(--mute-d); font-size: 14px; margin-top: 4px; }
.sys-jump b::after { content: ' ›'; color: var(--y); }
@media (max-width: 640px) { .sys-jump { grid-template-columns: minmax(0, 1fr); } }

/* 截圖分頁 */
.tab-bar { display: flex; justify-content: center; gap: 4px; background: var(--soft); border-radius: 980px; padding: 4px; width: max-content; max-width: 100%; margin: 0 auto 28px; overflow-x: auto; scrollbar-width: none; }
.tab-bar button { flex-shrink: 0; border: 0; background: transparent; font: inherit; font-size: 15px; padding: 8px 18px; border-radius: 980px; cursor: pointer; color: var(--ink2); }
.tab-bar button[aria-selected="true"] { background: var(--navy); color: #fff; font-weight: 700; }
.tab-panel { margin: 0; }
.tab-panel img { width: 100%; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,0.12); background: var(--soft); }
.tab-panel figcaption { text-align: center; color: var(--mute); font-size: 14px; margin-top: 14px; }
@media (max-width: 560px) { .tab-bar { width: auto; justify-content: flex-start; } .tab-bar button { padding: 7px 13px; font-size: 14px; } .tab-panel img { border-radius: 14px; } }

/* 資料流程 */
.sync { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 56px; counter-reset: sy; }
.sync li { counter-increment: sy; background: var(--soft); border-radius: 18px; padding: 18px 20px; position: relative; }
.sync li::before { content: '0' counter(sy); display: block; font-size: 12px; font-weight: 700; color: var(--y-ink); letter-spacing: 0.06em; }
.sync li + li::after { content: ''; position: absolute; left: -9px; top: 50%; width: 8px; height: 8px; border-top: 2px solid #b0b0b5; border-right: 2px solid #b0b0b5; transform: translate(-1px, -50%) rotate(45deg); }
.sync b { display: block; font-size: 17px; margin-top: 2px; }
.sync span { display: block; font-size: 13.5px; color: var(--mute); }
@media (max-width: 760px) { .sync { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sync li + li::after { display: none; } }

/* 功能列表 */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 64px; border-top: 1px solid var(--line); }
.feats div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.feats b { display: block; font-size: 18px; }
.feats p { color: var(--ink2); font-size: 15px; margin-top: 6px; }
.bg-black .feats, .bg-black .feats div { border-color: #333336; }
.bg-black .feats p { color: var(--mute-d); }
@media (max-width: 900px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feats { grid-template-columns: minmax(0, 1fr); } }

.used { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; background: var(--soft); border-radius: 24px; padding: 28px 32px; }
.used p { font-size: 16px; color: var(--ink2); max-width: 560px; }
.used p span { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--y-ink); margin-bottom: 4px; }
.used p b { color: var(--ink); }
.used .btns { margin-top: 0; }
.bg-black .used { background: var(--card-d); }
.bg-black .used p { color: var(--mute-d); }
.bg-black .used p span { color: var(--y); }
.bg-black .used p b { color: #fff; }

/* 模擬器示意圖 */
.sim-only { display: inline-block; margin-top: 18px; background: var(--y); color: #000; font-weight: 700; font-size: 14px; padding: 4px 14px; border-radius: 980px; }
.sim-figure { margin: 0 auto; max-width: 960px; }
.sim-figure svg { width: 100%; height: auto; display: block; }
.sim-figure figcaption { text-align: center; color: #86868b; font-size: 13px; margin-top: 12px; }
.sim-route { animation: simdash 1.6s linear infinite; }
@keyframes simdash { to { stroke-dashoffset: -40; } }
@media (prefers-reduced-motion: reduce) { .sim-route { animation: none; } }
@media (max-width: 760px) { .stat-n { word-break: keep-all; } }

/* ==========================================================
   關於我們頁
   ========================================================== */
.about-kick { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 700; margin-top: 16px; letter-spacing: 0.04em; }
.about-banner { margin: 56px auto 0; max-width: 980px; position: relative; }
.about-banner img { width: 100%; border-radius: 24px; }
.about-banner figcaption { position: absolute; left: 18px; top: 18px; background: var(--navy); color: var(--y); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 980px; }
.pillar { display: flex; flex-direction: column; }
.pillar .eyebrow { font-size: 13px; }
.pillar h3 { font-size: 21px; line-height: 1.4; }
.pillar p { color: var(--ink2); font-size: 15px; margin: 10px 0 18px; }
.pillar .more { margin-top: auto; }

.story { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 64px; align-items: center; }
.story-logo { margin: 0; }
.story-logo img { width: 100%; max-width: 360px; margin: 0 auto; }
.bits { display: flex; gap: 6px; margin: 24px 0 8px; }
.bits i { font-style: normal; width: 30px; height: 40px; display: grid; place-items: center; font-weight: 700; font-size: 18px; border-radius: 6px; background: #fff; color: #000; }
.bits i:nth-child(even) { background: var(--navy); color: #fff; box-shadow: inset 0 0 0 1px #3d5a87; }
.story-p { color: #d2d2d7; font-size: 17px; margin-top: 16px; }
.story-p b { color: var(--y); }
.story-h { font-size: 20px; margin-top: 32px; }
.fzt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.fzt div { background: var(--card-d); border-radius: 16px; padding: 16px 18px; }
.fzt small { color: var(--mute-d); font-size: 13px; }
.fzt b { display: block; font-size: 18px; margin-top: 2px; }
.fzt i { font-style: normal; color: var(--y); }
.story-tag { margin-top: 28px; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
.story-tag span { color: var(--y); }
.evo { margin-top: 96px; padding-top: 64px; border-top: 1px solid #333336; }
.evo-head { text-align: center; }
.evo-head h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.evo-head h3 span { color: var(--y); }
.evo-head p { color: var(--mute-d); margin-top: 8px; }
.evo-row { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); align-items: stretch; gap: 12px; margin-top: 40px; }
.evo-card { background: var(--card-d); border-radius: 24px; padding: 28px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: center; }
.evo-card img { width: 96px; height: auto; }
.evo-card:not(.now) img { filter: grayscale(1); opacity: 0.7; }
.evo-card.now { box-shadow: inset 0 0 0 2px var(--y); }
.evo-ver { display: inline-block; font-size: 13px; font-weight: 700; padding: 1px 10px; border-radius: 980px; background: #333336; color: #d2d2d7; }
.now .evo-ver { background: var(--y); color: #000; }
.evo-card b { display: block; font-size: 19px; margin-top: 8px; }
.evo-card p { color: var(--mute-d); font-size: 14.5px; margin-top: 6px; }
.evo-arrow { position: relative; }
.evo-arrow::before { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border-top: 2px solid var(--y); border-right: 2px solid var(--y); transform: translate(-70%, -50%) rotate(45deg); }
@media (max-width: 900px) {
  .story { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .story-logo img { max-width: 220px; }
  .evo-row { grid-template-columns: minmax(0, 1fr); }
  .evo-arrow { height: 28px; }
  .evo-arrow::before { transform: translate(-50%, -70%) rotate(135deg); }
}
@media (max-width: 520px) { .fzt { grid-template-columns: minmax(0, 1fr); } .evo-card { grid-template-columns: 64px minmax(0, 1fr); padding: 20px; gap: 16px; } .evo-card img { width: 64px; } }

/* 師資 */
.tcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tc { background: var(--soft); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.tc img { width: 100%; aspect-ratio: 600 / 620; object-fit: cover; }
.tc-b { padding: 20px 22px 24px; }
.tc h3 { font-size: 22px; }
.tc-role { color: var(--y-ink); font-weight: 700; font-size: 14px; }
.tc-school { font-size: 14px; color: var(--ink2); margin-top: 10px; line-height: 1.6; }
.tc ul { list-style: none; margin-top: 12px; border-top: 1px solid #e5e5ea; padding-top: 10px; }
.tc li { font-size: 13.5px; color: var(--ink2); padding: 3px 0 3px 14px; position: relative; line-height: 1.55; }
.tc li::before { content: ''; position: absolute; left: 0; top: 0.85em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.tc-skill { font-size: 13px; color: var(--mute); margin-top: 12px; line-height: 1.6; }
.tc-skill b { display: block; color: var(--ink); font-size: 12px; letter-spacing: 0.06em; }
.tc-more { background: var(--navy); color: #f5f5f7; text-decoration: none; padding: 28px; justify-content: flex-end; min-height: 240px; }
.tc-more .eyebrow { color: var(--y); font-size: 13px; }
.tc-more b { font-size: 22px; line-height: 1.35; }
.tc-more .more { color: var(--y); margin-top: 14px; }
@media (max-width: 1000px) { .tcs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tcs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .tc-b { padding: 16px; } .tc h3 { font-size: 19px; } }

/* 獎項 */
.award { background: #fff; border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.award img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.award-b { padding: 28px 26px; display: flex; flex-direction: column; justify-content: center; }
.award-y { font-size: 13px; font-weight: 700; color: var(--y-ink); }
.award h3 { font-size: 20px; line-height: 1.45; margin-top: 4px; }
.award h3 span { display: inline-block; margin-top: 8px; background: var(--y); padding: 2px 12px; border-radius: 980px; font-size: 16px; }
.award p { color: var(--mute); font-size: 14px; margin-top: 12px; }
@media (max-width: 1000px) { .award { grid-template-columns: minmax(0, 1fr); } .award img { aspect-ratio: 4 / 3; height: auto; } }

/* 課程剪影 */
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto; }
.gal img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }

/* 程式頁：APCS 成績證明 */
.certs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 40px; }
.certs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 12px; background: #fff; }
.certs-t { margin-top: 56px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--mute-d); }
@media (max-width: 760px) { .certs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.about-banner img { box-shadow: 0 0 0 1px #e5e5ea; }
.award { grid-template-columns: minmax(0, 1fr); }
.award img { aspect-ratio: 16 / 10; height: auto; }

/* ==========================================================
   上課資訊頁
   ========================================================== */
.jump3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 56px; text-align: left; }
.jump3 a { display: block; background: var(--soft); border-radius: 22px; padding: 22px 24px; text-decoration: none; color: inherit; transition: background .2s; }
.jump3 a:hover { background: #ebebf0; }
.jump3 small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; color: var(--y-ink); }
.jump3 b { display: block; font-size: 17px; margin-top: 6px; line-height: 1.45; }
.jump3 b::after { content: ' ›'; color: var(--y-ink); }
.jump3 span { display: block; font-size: 14px; color: var(--mute); margin-top: 4px; }
@media (max-width: 760px) { .jump3 { grid-template-columns: minmax(0, 1fr); margin-top: 36px; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 36px; } .split.flip > :first-child { order: 0; } }
.visit-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.visit-photos img { width: 100%; border-radius: 20px; }
.visit-photos img:last-child { margin-top: 48px; }
.addr { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.35; margin-top: 20px; }
.lead a { color: var(--y-ink); }
.park-map { margin: 0; }
.park-map img { width: 100%; border-radius: 22px; box-shadow: 0 0 0 1px #e5e5ea; }
.park-map figcaption { font-size: 13px; color: var(--mute); margin-top: 10px; text-align: center; }
.park-keys { list-style: none; margin-top: 24px; border-top: 1px solid var(--line); }
.park-keys li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.park-keys span { color: var(--mute); text-align: right; }

.pay { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; align-items: start; max-width: 1000px; margin: 0 auto; }
.pay-card { background: var(--card-d); border-radius: 28px; padding: 32px; }
.acct { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin: 0; }
.acct dt, .acct dd { margin: 0; padding: 14px 0; border-bottom: 1px solid #333336; font-size: 17px; }
.acct dt { color: var(--mute-d); padding-right: 28px; }
.acct dd.no { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; color: var(--y); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; border-bottom: 0; }
.pay-card .btns { margin-top: 18px; }
#copy-acct-msg { color: var(--y); font-size: 14px; margin-top: 10px; min-height: 1.4em; }
.pay-steps { list-style: none; counter-reset: ps; }
.pay-steps li { counter-increment: ps; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; padding: 18px 0; border-bottom: 1px solid #333336; }
.pay-steps li::before { content: counter(ps); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--y); color: #000; font-weight: 700; display: grid; place-items: center; }
.pay-steps b { font-size: 18px; }
.pay-steps span { color: var(--mute-d); font-size: 15px; }
.pay-steps strong { color: #fff; }
.pay .linkbtn { margin-top: 18px; }
.pay-note { text-align: center; color: var(--mute-d); font-size: 15px; margin-top: 40px; }
.pay-note a { color: var(--y); }
@media (max-width: 900px) { .pay { grid-template-columns: minmax(0, 1fr); } .pay-card { padding: 24px; } }

.camp { display: flex; flex-direction: column; align-items: flex-start; }
.camp h3 { font-size: 28px; }
.camp p { color: var(--ink2); margin: 10px 0 18px; font-size: 16px; }
.camp .chips { margin-bottom: 22px; }
.camp > .more, .camp > .btn { margin-top: auto; }
.camp-w { background: var(--navy); color: #f5f5f7; }
.camp-w .eyebrow { color: var(--y); }
.camp-w p { color: #d2d2d7; }
.camp-w .chips span { background: var(--card-d); color: #f5f5f7; }
.faq-g { font-size: 14px; font-weight: 700; color: var(--mute); letter-spacing: 0.06em; margin: 48px 0 6px; }
.faq-g:first-of-type { margin-top: 0; }
.acct dd.no { white-space: nowrap; font-size: clamp(1.3rem, 5.6vw, 2.3rem); }
.lead a { white-space: nowrap; }
@media (max-width: 400px) { .acct dt { padding-right: 18px; } }
/* 冬令營主推：選單第一個，淡黃底 */
.gnav-links .camp { background: #FFF4C2; color: #000; border-radius: 980px; padding: 6px 14px; margin-right: 6px; }
.gnav-links .camp:hover { background: #FFEB99; }
@media (max-width: 1060px) { .gnav-links .camp { margin: 10px 0 4px; padding: 12px 16px; text-align: center; border-bottom: 0; } }
/* 首頁精簡版捲動動畫：沒有子頁區域導覽，sticky 只扣主選單高度 */
.play.play-home { height: 340vh; }
.play-home .play-sticky { top: var(--nav-h); height: calc(100vh - var(--nav-h)); }
@media (max-width: 760px) { .play.play-home { height: 300vh; } }
@media (prefers-reduced-motion: reduce) { .play.play-home { height: auto; } }
