/* ============================================================
   The Cyclink — Design System v1
   Playful in colour & shape. Clean in layout & structure.
   Guided brand journey. Conversion-led. Mobile-first.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600&family=Nunito:wght@400;600;700;800&family=Noto+Sans+TC:wght@500;700;900&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* colour */
  --yellow: #FFC42E;
  --yellow-deep: #F5A800;
  --yellow-soft: #FFF1C9;
  --cream: #FFF9EC;
  --ink: #2B2118;
  --ink-soft: #6B5D4C;
  --tangerine: #FF8A3D;
  --sage: #8FAE70;
  --sky: #7EC8E3;

  /* type */
  --font-display: 'Fredoka', 'Noto Sans TC', sans-serif;
  --font-body: 'Nunito', 'Noto Sans TC', sans-serif;

  /* shape */
  --radius-card: 24px 24px 44px 24px;
  --radius-card-sm: 18px 18px 30px 18px;
  --radius-pill: 999px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* layout */
  --container: 1120px;
  --gutter: 20px;
  --nav-h: 68px;

  /* elevation */
  --shadow-1: 0 2px 8px rgba(43, 33, 24, 0.07);
  --shadow-2: 0 8px 24px rgba(43, 33, 24, 0.10);
  --shadow-3: 0 16px 40px rgba(43, 33, 24, 0.14);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--yellow-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--yellow); color: var(--ink); }

/* ---------- Layout utilities ---------- */
.container { width: min(var(--container), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.container--narrow { max-width: 820px; }

.section { padding: 64px 0; position: relative; }
.section--tight { padding: 44px 0; }

.section-band--yellow { background: var(--yellow); }
.section-band--soft { background: var(--yellow-soft); }

/* ---------- Type ---------- */
.font-display { font-family: var(--font-display); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  border-radius: var(--radius-pill);
  padding: 0.36rem 0.85rem;
  margin-bottom: 1.25rem;
}

/* 第 29 輪：膠囊小標 → 大標題嘅呼吸空間（全站唯一來源）
   桌面 1.25rem（20px）、手機 ≤600px 0.9375rem（15px）。
   之前 .eyebrow 本身冇 margin-bottom，只有 .section-head 內加 1rem，所以
   頁首 hero（.page-hero）、場地頁（parks/*）、地圖書頁（.book-head）嘅膠囊
   同下面大標題係 0px＝完全貼住；其餘位置分別係 16 / 18.39 / 22px，唔一致。
   而家一律由上面嘅 .eyebrow 一個定義提供，唔再逐個容器補，避免又被局部
   覆蓋抵銷（相關局部規則已喺 quiz.css／v2.css／home-redesign.css 移除）。
   只改小標「下方」間距：冇加空白 spacer／<br>，冇改膠囊本身
   （文字、顏色、字級、字距、內距、圓角全部不變），亦冇加小標上方空白。
   scope＝.eyebrow（全站只有 35 個，全部係「小標 + 大標題」用途；導覽按鈕、
   篩選膠囊 .chip、地區選項、程度標籤 .course__tag／.badge、測驗選項
   一律唔係 .eyebrow，所以唔受影響）。 */
@media (max-width: 600px) {
  .eyebrow { margin-bottom: 0.9375rem; }
}

.section-head { max-width: 620px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }

.section-title {
  font-size: clamp(1.8rem, 5.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 900;
}

.section-sub { margin-top: 0.9rem; color: var(--ink-soft); font-size: clamp(1rem, 2.6vw, 1.1rem); max-width: 52ch; }
.section-head--center .section-sub { margin-inline: auto; }

.highlight {
  font-style: normal;
  background: var(--yellow);
  border-radius: 0.2em;
  padding: 0.02em 0.14em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.55rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.98); }

.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: var(--shadow-1); }
.btn--yellow:hover { background: var(--yellow-deep); transform: translateY(-2px); box-shadow: var(--shadow-2); }

.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #0000; color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(43, 33, 24, 0.35); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--lg { padding: 1.15rem 2rem; font-size: 1.08rem; }

.btn .wa-icon { width: 1.15em; height: 1.15em; }

/* ---------- Icons ---------- */
.wa-icon { width: 1em; height: 1em; fill: currentColor; }
.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { transform: translateY(-2px); }
.chip.is-active { background: var(--yellow); }

/* ---------- Card ---------- */
.card {
  background: var(--cream);
  border-radius: var(--radius-card);
  border: 1.5px solid rgba(43, 33, 24, 0.07);
  box-shadow: var(--shadow-1);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card--soft { background: var(--yellow-soft); }
.card--ink { background: var(--ink); color: var(--cream); }

/* ---------- Sticker badge ---------- */
.sticker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.9rem;
  box-shadow: var(--shadow-2);
}
.sticker--soft { background: var(--yellow-soft); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav.is-scrolled { background: rgba(255, 249, 236, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(43, 33, 24, 0.06); }

/* ---------- 第 33 輪：跳至主要內容 ----------
   第一個 Tab 就會出現；平時收喺 header 上方（唔會顯示、唔會遮內容）。
   目標 <main id="main" tabindex="-1"> 由 build 腳本加。 */
.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 60;
  background: var(--ink);
  color: var(--cream);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0 0 14px 14px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }
main#main:focus { outline: none; }

.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo__mark {
  width: 76px;
  height: auto;
  margin-bottom: -12px;
  transition: transform 0.3s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(3deg); }
.logo__word { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.02em; line-height: 1; }
/* Header brand lockup — logo mark + academy name are ONE brand unit:
   · 收窄兩者距離（gap 0.6rem → 0.3rem）
   · 垂直置中：原本 .logo__mark 帶 margin-bottom:-12px，令 logo 比品牌字低 6px；
     這裡在 header 範圍內歸零，兩者一齊對導航列中線置中（圖檔冇拉伸、冇裁切、冇重畫）。
   · 「單車學院」字級略為縮小（1.02rem → 0.92rem）＋字距收窄，唔會似多一個導航項目。
   · Word font also switches to the body face: the logo mark already carries the
     wordmark, so the academy name reads lighter and cleaner than the display font.
   Scoped to .nav so the footer brand (.footer__logo .logo__word/.logo__mark) is untouched. */
.nav .logo { gap: 0.3rem; }
.nav .logo .logo__mark { margin-bottom: 0; }
.nav .logo__word { font-family: var(--font-body); font-weight: 500; font-size: 0.92rem; letter-spacing: 0.06em; }

.nav__links { display: none; }
.nav__link {
  position: relative;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.35rem 0.1rem;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2.5px;
  background: var(--yellow-deep);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- Dropdown nav (所有課程 ▾) ---------- */
.nav__drop { position: relative; display: inline-flex; }
.nav__drop-trigger { display: inline-flex; align-items: center; gap: 0.3rem; }
/* 第 19 輪：箭嘴獨立成掣 —— 文字連結專心做跳轉（去「所有課程」總覽頁），
   旁邊嘅按鈕先負責開／關下拉選單，兩者唔再互相衝突。 */
.nav__drop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: 0.15rem;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav__drop-btn:hover { color: var(--yellow-deep); }
.nav__drop-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.nav__drop-chev { width: 0.85em; height: 0.85em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.nav__drop.is-open .nav__drop-chev { transform: rotate(180deg); }
/* Bridge: zero visual gap so the mouse never drops the menu */
.nav__drop::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}
.nav__drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  background: var(--cream);
  border: 1.5px solid rgba(43, 33, 24, 0.1);
  border-radius: 18px 18px 30px 18px;
  box-shadow: var(--shadow-3);
  padding: 0.55rem;
  display: grid;
  gap: 0.15rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 55;
}
.nav__drop.is-open .nav__drop-menu { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav__drop-link {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-card-sm);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease);
}
.nav__drop-link:hover { background: var(--yellow-soft); }
/* Sports row — highlighted band with the ski-course callout
   （第 24 輪：細字文案已統一為「滑雪課程招生中！」／"Ski courses now enrolling!"，
   並同時用在手機目錄，見 js/main.js） */
.nav__drop-link--sports {
  margin-top: 0.25rem;
  background: var(--yellow-soft);
  color: var(--ink);
  font-weight: 900;
  border-radius: 14px 14px 22px 14px;
}
.nav__drop-link--sports:hover { background: var(--yellow-deep); }
.nav__drop-note {
  display: block;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.78rem;
  margin-top: 0.1rem;
}

.nav__right { display: flex; align-items: center; gap: 0.65rem; }

/* Nav audience toggle (小朋友 / 大朋友) — appears on the homepage header */
.aud-nav-toggle {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.aud-nav-opt {
  background: transparent;
  border: 0;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.45rem 0.85rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.aud-nav-opt.is-active { background: var(--ink); color: var(--cream); }
.aud-nav-opt:hover:not(.is-active) { background: var(--yellow-soft); }

.lang-btn {
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.42rem 0.75rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.lang-btn:hover { background: var(--ink); color: var(--cream); }

.nav__cta { padding: 0.62rem 1.05rem; font-size: 0.9rem; }

.nav__burger {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: transparent;
  /* 第 32 輪：iOS Safari／部分 Android WebView 嘅原生 button 會用系統 tint（藍色）
     去繪製 currentColor，令漢堡三間變藍。呢度明確指定深啡（--ink），並關掉原生外觀，
     令所有瀏覽器都一樣係黑／深啡。 */
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* 直接指定 stroke（唔靠 currentColor）＝雙重保險：就算 button 嘅 color 被 UA 蓋過，
   三間都一定係 --ink。開啟選單時 main.js 換成 #icon-close 亦同樣受惠。 */
.nav__burger .icon { width: 1.25em; height: 1.25em; stroke: var(--ink); }

.nav__menu {
  position: fixed;
  top: var(--nav-h);
  left: var(--gutter);
  right: var(--gutter);
  z-index: 49;
  background: var(--cream);
  border: 1.5px solid rgba(43, 33, 24, 0.08);
  border-radius: 24px 24px 34px 24px;
  box-shadow: var(--shadow-3);
  padding: 1.1rem;
  display: grid;
  gap: 0.25rem;
  /* 第 29 輪：選單加返 WhatsApp CTA 之後，展開「所有課程」可能高過視窗（實測 390×844
     高 787px、iPhone SE 320×568 更矮），而 position: fixed 唔會跟頁面捲動
     → 底部項目（成人課程／學校・團體／運動探索／WhatsApp）會撳唔到。
     加 max-height ＋ 容器內捲動，保證每一項都到得了；收合後高度細，唔會出現捲軸。 */
  max-height: calc(100vh - var(--nav-h) - 1rem);
  max-height: calc(100dvh - var(--nav-h) - 1rem);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav__menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.nav__menu a {
  font-weight: 800;
  font-size: 1.08rem;
  text-decoration: none;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-card-sm);
  transition: background 0.25s var(--ease);
}
.nav__menu a:hover { background: var(--yellow-soft); }

/* Mobile menu — course group (所有課程 ▸ 展開) */
.nav__menu-group { display: grid; }
.nav__menu-group-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 0;
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--ink);
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-card-sm);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav__menu-group-btn:hover { background: var(--yellow-soft); }
.nav__menu-group-chev {
  width: 1em; height: 1em;
  fill: none; stroke: currentColor; stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
.nav__menu-group.is-open .nav__menu-group-chev { transform: rotate(180deg); }
.nav__menu-group-body {
  /* 第 29 輪修復：原本用 grid-template-rows: 0fr／1fr 收合，但 0fr 只作用第一行，
     其餘 6 條係 implicit auto 行（＋ <a> 有 0.65rem 上下 padding），實測「收合」狀態
     仍有 6 條子項目外露、第一條只剩 20.8px（文字被切），開／合高度只差 25px。
     改用 block ＋ max-height 0 ↔ 26rem：收合後高度真正 0，展開後高度同現時完全一樣。 */
  display: block;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease);
}
.nav__menu-group.is-open .nav__menu-group-body { max-height: 26rem; }
.nav__menu-group-body > a {
  display: block;
  font-size: 0.98rem;
  padding: 0.65rem 0.9rem 0.65rem 1.6rem;
  overflow: hidden;
}
.nav__menu-group-body > .nav__drop-link--sports { margin-left: 1.6rem; }

/* ---------- Audience tabs (小朋友 / 大朋友 / 學校・團體) ---------- */
.aud-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0 0 28px;
  flex-wrap: wrap;
}
.aud-tab {
  font-weight: 800;
  font-size: 0.98rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.aud-tab:hover { transform: translateY(-2px); }
.aud-tab.is-active { background: var(--ink); color: var(--cream); }

/* Panels for adults & groups — full sections, toggled by body class */
.aud-panels { position: relative; }
.aud-panel { display: none; }

/* Kids default — kids journey visible, panels hidden.
   #audience (三入口) is removed — replaced by the inline test CTA. */
body.aud-kids .aud-panel { display: none; }
body.aud-kids section.section#kids { display: block; }
body #audience { display: none !important; }

/* Adults selected — kids journey hidden, adults panel shown, #audience kept */
body.aud-adults .aud-panel--adults { display: block; }
body.aud-adults .aud-panel--groups { display: none; }
body.aud-adults section.section#kids { display: none; }

/* Groups selected — kids journey hidden, groups panel shown, #audience kept */
body.aud-groups .aud-panel--groups { display: block; }
body.aud-groups .aud-panel--adults { display: none; }
body.aud-groups section.section#kids { display: none; }

/* ---------- Home inline finder (搵啱你嘅學習路線) ---------- */
/* Question-first: hide hero sub/actions/points so the questions sit right under the H1 */
body.aud-kids .hero__sub,
body.aud-kids .hero__actions,
body.aud-kids .hero__points { display: none; }
body.aud-kids .hero { padding-bottom: 8px; }
.home-finder { margin-top: 1.2rem; max-width: 500px; }
.home-finder__box {
  margin: 0;
  background: var(--cream);
  border: 1.5px solid rgba(43, 33, 24, 0.1);
  border-radius: 20px 20px 36px 20px;
  box-shadow: var(--shadow-2);
  padding: 1.3rem 1.2rem;
}
.home-finder__step { display: block; }
.home-finder__step[hidden] { display: none; }
.home-finder__result { margin-top: 1rem; }
.home-finder .finder__step-title { font-size: 1.1rem; }
.home-finder .finder__options { gap: 0.6rem; margin-top: 1.1rem; }
.home-finder .finder__option { padding: 0.85rem 1rem; font-size: 0.95rem; }
.home-finder .finder__option small { font-size: 0.8rem; }
.home-finder__result .result-card { padding: 1.4rem 1.3rem; }
.home-finder__result .result-card__program { font-size: 1.5rem; }
.home-finder__result .btn { padding: 0.85rem 1.4rem; font-size: 0.95rem; }
/* Only show the inline finder on the kids tab */
body.aud-adults .home-finder,
body.aud-groups .home-finder { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 44px) 0 56px; overflow: hidden; }
.hero__grid { display: grid; gap: 3rem; align-items: center; }

/* 第 29 輪：.hero__eyebrow 原本喺呢度另設 margin-bottom:1.15rem，
   首頁再由 home-redesign.css 蓋成 22px；而家「小標 → 主標」間距一律由
   共用嘅 .eyebrow 提供（桌面 20px／手機 15px），所以呢條局部規則已移除，
   避免兩個來源互相抵銷、亦避免日後改咗共用值又被呢度蓋返。 */
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 8vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: 0.005em;
}
.hero__sub { margin-top: 1.1rem; color: var(--ink-soft); font-size: clamp(1.02rem, 3vw, 1.18rem); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.5rem;
  margin-top: 2rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.hero__points li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__points .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tangerine); }

.hero__photo {
  position: absolute;
  width: min(280px, 70vw);
  height: min(280px, 70vw);
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  box-shadow: 0 12px 30px rgba(43, 33, 24, 0.18);
  margin-top: 28px;
}
.hero__sun {
  z-index: 0;
  position: absolute;
  width: min(300px, 78vw);
  height: min(300px, 78vw);
  border-radius: 50%;
  background: var(--yellow-soft);
}
.hero__ring {
  position: absolute;
  z-index: 2;
  width: min(348px, 88vw);
  height: min(348px, 88vw);
  border-radius: 50%;
  border: 2px dashed rgba(43, 33, 24, 0.22);
  animation: spin 48s linear infinite;
}
.hero__ring--small { display: none; }
.hero__mark { position: relative; z-index: 3; width: 132px; color: var(--ink); }
.hero__sticker {
  position: absolute;
  right: 4%;
  top: 12%;
  transform: rotate(5deg);
}
.hero__road {
  position: absolute;
  bottom: -14px;
  left: 8%;
  width: 96px;
  color: var(--ink);
  opacity: 0.45;
}
.hero__road .sticker { margin-top: 0.6rem; transform: rotate(-4deg); }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- About / proof ---------- */
.proof-grid { display: grid; gap: 1.1rem; }
.proof {
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-1);
}
.proof__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--yellow-deep);
}
.proof__title { font-weight: 900; font-size: 1.12rem; margin-top: 0.6rem; }
.proof__text { color: var(--ink-soft); margin-top: 0.35rem; font-size: 0.98rem; }

/* ---------- Route (signature) ---------- */
.route { position: relative; padding: 0.5rem 0; }
.route__stop { display: flex; gap: 1.15rem; align-items: flex-start; }
.route__rail {
  flex: 0 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
}
.route__node {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--yellow-soft);
}
.route__connector { width: 24px; height: 58px; flex: 0 0 auto; }
.route__path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
}
.route.is-inview .route__path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease); transition-delay: calc(0.2s * var(--i, 0)); }

.route__card {
  flex: 1;
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  display: block;
}
.route__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.route__stop--soft .route__card { background: var(--yellow-soft); }

.route__eyebrow {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.route__card-title { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; margin-top: 0.15rem; }
.route__card-text { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.3rem; }
.route__card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  font-size: 0.92rem;
  margin-top: 0.8rem;
  color: var(--ink);
  border-bottom: 2px solid var(--yellow-deep);
  padding-bottom: 1px;
}
.route__card .icon { font-size: 1.6rem; }

.route__cta { margin-top: 2rem; text-align: center; }

/* ---------- Programs snapshot ---------- */
.prog-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.prog {
  grid-column: span 12;
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.prog--wide { background: var(--yellow-soft); }
.prog__tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.7rem;
}
.prog--soft .prog__tag { background: var(--cream); }
.prog__title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin-top: 0.8rem; }
.prog__text { color: var(--ink-soft); font-size: 0.97rem; margin-top: 0.4rem; }
.prog__more {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.92rem;
}
.prog__more .icon { font-size: 1.5rem; transition: transform 0.3s var(--ease); }
.prog:hover .prog__more .icon { transform: translateX(4px); }
.prog:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }

.prog-note {
  margin-top: 1.4rem;
  background: var(--cream);
  border: 1.5px dashed rgba(43, 33, 24, 0.25);
  border-radius: var(--radius-card-sm);
  padding: 1.1rem 1.3rem;
  text-align: center;
  font-weight: 700;
  color: var(--ink-soft);
}
.prog-note a { color: var(--ink); border-bottom: 2px solid var(--yellow-deep); font-weight: 800; }

/* ---------- Locations band ---------- */
.loc-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.loc-note {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: var(--cream);
  border-radius: var(--radius-card-sm);
  padding: 1rem 1.2rem;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  max-width: 640px;
}
.loc-note .icon { flex: 0 0 auto; margin-top: 0.2rem; color: var(--sage); }
.loc-note strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.acc { border-bottom: 1.5px solid rgba(43, 33, 24, 0.12); }
.acc:first-child { border-top: 1.5px solid rgba(43, 33, 24, 0.12); }
.acc__head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 1.15rem 0.2rem;
  background: none;
  border: 0;
  text-align: left;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.acc__icon {
  flex: 0 0 auto;
  width: 1.35em; height: 1.35em;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.acc__icon .icon { font-size: 0.9rem; }
.acc.is-open .acc__icon { transform: rotate(180deg); background: var(--yellow); border-color: var(--ink); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.acc.is-open .acc__body { grid-template-rows: 1fr; }
.acc__body-inner { overflow: hidden; }
.acc__body-text { padding: 0 0.2rem 1.15rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Final CTA ---------- */
/* padding lives on __inner only — the .section wrapper is zeroed out
   so the band isn't padded twice */
.section.cta-band { padding: 0; }
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner { display: grid; gap: 1.6rem; text-align: center; justify-items: center; padding: 56px 0; }
.cta-band__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1.1; }
.cta-band__sub { color: var(--ink); font-weight: 600; max-width: 42ch; opacity: 0.85; }

/* 第 29 輪：有曲線嘅黃色 CTA，內部節奏同首頁「等埋你，一齊出發。」完全一樣——
   曲線 → 標題 14px、標題 → 介紹 22px、介紹 → 按鈕 26px（首頁嘅值見
   css/home-redesign.css 第 13c/15 輪），令曲線同標題成為「同一組」。
   之前 .cta-band__inner 用 grid gap 1.6rem（25.6px），會喺曲線嘅 margin-bottom
   之上再加 25.6px，所以曲線同標題實際隔 32px（其他頁）／39.6px（已換弧線嘅頁），
   同首頁嘅 14px 唔一致。做法：只喺「有曲線」嘅 CTA 取消 parent grid gap，
   由各元素 margin 逐段控制；場地頁（parks/*，CTA 冇曲線）完全唔受影響。 */
.cta-band__inner:has(.cta-route) { gap: 0; }
.cta-band__inner:has(.cta-route) > .cta-band__sub { margin-top: 22px; }
.cta-band__inner:has(.cta-route) > :last-child { margin-top: 26px; }

/* 頁尾裝飾曲線＝首頁「等埋你，一齊出發。」上面嗰條弧線。
   第 29 輪（客戶：所有裝飾 curve 統一成首頁同款）：呢條 rule 原本係
   140px 暗啡 3px 波浪線（配 viewBox 0 0 140 24 嘅舊 svg）；而家改成同首頁一樣——
   顏色 --cream、opacity 1、寬 160px、height:auto（等比，唔拉扁／唔拉長）、
   同標題隔 14px。形狀／比例／粗幼由 svg 本身決定（全站同一條 path、
   viewBox 0 0 718.0 151.4、stroke-width 17、linecap/linejoin round），
   CSS 只負責大小／顏色／位置，同 css/home-redesign.css 第 13c 輪一致。
   首頁本身嘅 .cyclink-redesign .cta-band .cta-route 規則照舊保留（數值相同），
   所以首頁外觀零改動；.cta-route--arc 修飾 class 已無需要，一併移除。 */
.cta-route { width: 160px; height: auto; color: var(--cream); opacity: 1; margin: 0 0 14px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  border-radius: 44px 44px 0 0;
  padding: 52px 0 110px;
  margin-top: 0;
}
.footer a { color: var(--cream); text-decoration: none; }
.footer__grid { display: grid; gap: 2.2rem; }
.footer__logo { display: flex; align-items: center; gap: 0.6rem; }
.footer__logo .logo__mark { color: var(--yellow); }
.footer__tagline { margin-top: 1rem; font-weight: 800; color: var(--yellow); }
.footer__desc { margin-top: 0.5rem; color: rgba(255, 249, 236, 0.7); font-size: 0.95rem; max-width: 34ch; }
.footer__h { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 249, 236, 0.55); font-weight: 800; margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: 0.6rem; }
.footer__col a { color: rgba(255, 249, 236, 0.85); font-weight: 600; font-size: 0.97rem; }
.footer__col a:hover { color: var(--yellow); }
.footer__bottom { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 249, 236, 0.14); color: rgba(255, 249, 236, 0.55); font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: space-between; }

/* ---------- Floating WhatsApp FAB ---------- */
.fab {
  position: fixed;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-3);
  border: 2px solid var(--ink);
  text-decoration: none;
  transition: transform 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.fab:hover { transform: scale(1.07); }
.fab .wa-icon { width: 30px; height: 30px; }
.fab.is-attention { animation: fabPulse 1.1s var(--ease) 1; }

@keyframes fabPulse {
  0% { box-shadow: 0 16px 40px rgba(43, 33, 24, 0.14), 0 0 0 0 rgba(255, 196, 46, 0.6); }
  100% { box-shadow: 0 16px 40px rgba(43, 33, 24, 0.14), 0 0 0 24px rgba(255, 196, 46, 0); }
}

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--nav-h) + 40px) 0 8px; }
.page-hero + .section { padding-top: 48px; }
.page-hero__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 7vw, 3rem); line-height: 1.08; }
.page-hero__sub { margin-top: 0.9rem; color: var(--ink-soft); font-size: clamp(1rem, 2.8vw, 1.15rem); max-width: 52ch; }

/* ---------- Finder ---------- */
.finder { max-width: 720px; margin-inline: auto; }
.finder__progress { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 2.2rem; }
.finder__dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 2.5px solid rgba(43, 33, 24, 0.25);
  background: transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.finder__dot.is-passed { border-color: var(--ink); background: var(--ink); }
.finder__dot.is-current { border-color: var(--ink); background: var(--yellow); box-shadow: 0 0 0 5px rgba(255, 196, 46, 0.35); transform: scale(1.15); }
.finder__line { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(43, 33, 24, 0.14); transition: background 0.3s var(--ease); }
.finder__line.is-passed { background: var(--ink); }

.finder__step-wrap { position: relative; min-height: 320px; }
.finder__step { display: none; }
.finder__step.is-active { display: block; animation: stepIn 0.45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }

.finder__step-title { font-weight: 900; font-size: 1.35rem; line-height: 1.25; }
.finder__step-sub { color: var(--ink-soft); margin-top: 0.4rem; font-size: 0.98rem; }

.finder__options { display: grid; gap: 0.85rem; margin-top: 1.6rem; }
.finder__option {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 1.05rem 1.2rem;
  background: var(--cream);
  border: 2px solid rgba(43, 33, 24, 0.14);
  border-radius: var(--radius-card-sm);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.finder__option:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.finder__option.is-selected { border-color: var(--ink); background: var(--yellow-soft); }
.finder__option small { display: block; font-weight: 600; color: var(--ink-soft); margin-top: 0.1rem; font-size: 0.88rem; }
.finder__option .radio {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2.5px solid rgba(43, 33, 24, 0.3);
  transition: border-color 0.25s var(--ease);
}
.finder__option.is-selected .radio { border-color: var(--ink); background: var(--yellow); box-shadow: inset 0 0 0 3px var(--yellow-soft); }

.finder__actions { display: flex; gap: 0.75rem; margin-top: 1.8rem; }
.finder__back { visibility: hidden; }
.finder__back.is-visible { visibility: visible; }

.finder__result { display: none; }
.finder__result.is-active { display: block; animation: stepIn 0.5s var(--ease); }
.result-card {
  background: var(--yellow);
  border-radius: 28px 28px 56px 28px;
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-2);
}
.result-card__label { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.result-card__program { font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; line-height: 1.15; margin-top: 0.35rem; }
.result-card__desc { margin-top: 0.5rem; font-weight: 600; max-width: 44ch; }
.result-card__meta {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1.5px dashed rgba(43, 33, 24, 0.35);
  display: grid;
  gap: 0.25rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.result-card__cta { margin-top: 1.4rem; }
.result-note { margin-top: 1.2rem; display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink-soft); font-weight: 600; font-size: 0.92rem; }
.result-note .icon { flex: 0 0 auto; margin-top: 0.15rem; color: var(--sage); }
.result-restart {
  margin-top: 0.9rem;
  background: none;
  border: 0;
  color: var(--ink-soft);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Courses ---------- */
.course {
  margin-bottom: 1.2rem;
  overflow: hidden;
}
.course__top { padding: 1.6rem 1.5rem 1.4rem; }
.course__tag {
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--yellow);
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.7rem;
}
.course--soft .course__top { background: var(--yellow-soft); }
.course__title { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; margin-top: 0.55rem; }
.course__desc { color: var(--ink-soft); margin-top: 0.35rem; max-width: 52ch; }
.course__toggle {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 0;
  padding: 0;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.course__toggle .icon { font-size: 1.3rem; transition: transform 0.35s var(--ease); }
.course.is-open .course__toggle .icon { transform: rotate(180deg); }
.course__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.course.is-open .course__detail { grid-template-rows: 1fr; }
.course__detail-inner { overflow: hidden; }
.course__detail-body { padding: 0 1.5rem 1.5rem; }
.course__list { display: grid; gap: 0.5rem; }
.course__list li { display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 600; color: var(--ink-soft); font-size: 0.95rem; }
.course__list .icon { flex: 0 0 auto; margin-top: 0.22rem; color: var(--sage); font-size: 1rem; }
.course__cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.3rem; }

.services-grid { display: grid; gap: 0.9rem; }
.service {
  padding: 1.2rem 1.3rem;
  display: block;
  text-decoration: none;
}
.service__title { font-weight: 900; font-size: 1.05rem; }
.service__text { color: var(--ink-soft); font-size: 0.93rem; margin-top: 0.25rem; }
.service--soft { background: var(--yellow-soft); }

/* ---------- Locations page ---------- */
.loc-panels { margin-top: 2rem; }
.loc-panel { display: none; }
.loc-panel.is-active { display: block; animation: stepIn 0.4s var(--ease); }
.loc-card { padding: 1.7rem 1.6rem; }
.loc-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.loc-card__text { color: var(--ink-soft); margin-top: 0.5rem; max-width: 54ch; }
.loc-card__cta { margin-top: 1.3rem; }

.how-steps { display: grid; gap: 1rem; margin-top: 1.6rem; }
.how-step { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.3rem 1.4rem; }
.how-step__num {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
}

/* ---------- Contact block ---------- */
.contact-card { padding: 1.8rem 1.6rem; background: var(--yellow); border-radius: 28px 28px 56px 28px; box-shadow: var(--shadow-2); }
.contact-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; }
.contact-card__row { display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; margin-top: 1.2rem; font-weight: 700; }
.contact-card__row a { text-decoration: underline; text-underline-offset: 3px; }
.contact-card__cta { margin-top: 1.4rem; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .section { padding: 84px 0; }

  /* three equal proof blocks — no stray offset */
  .proof-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .proof { padding: 1.8rem 1.7rem; }

  /* programmes: even 2 x 2, no ragged right edge */
  .prog, .prog--wide { grid-column: span 6; }

  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
  .how-steps { grid-template-columns: repeat(3, 1fr); }
  .how-step { flex-direction: column; }
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .section { padding: 112px 0; }
  .hero { padding: calc(var(--nav-h) + 64px) 0 88px; }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; }
  .hero__art { min-height: 420px; }
  .home-finder__box { max-width: 500px; padding: 1.4rem 1.3rem; }
  .home-finder .finder__step-title { font-size: 1.15rem; }
  .home-finder .finder__option { padding: 0.85rem 1.05rem; font-size: 0.95rem; }
  .home-finder .finder__options { gap: 0.7rem; margin-top: 1.2rem; }
  .nav__links { display: flex; flex: 1; justify-content: space-between; align-items: center; max-width: 420px; margin-inline: auto; gap: 1rem; }
  .nav__burger { display: none; }
  .nav__menu { display: none; }

  .page-hero { padding: calc(var(--nav-h) + 72px) 0 12px; }
  .page-hero + .section { padding-top: 64px; }

  /* FAQ & narrow blocks stay centred — not pressed against the left edge */
  .finder,
  .container--narrow { margin-inline: auto !important; }

  /* courses: two columns instead of 1120 x 200 letterbox cards */
  .section--tight > .container:has(.course) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    align-items: start;
  }
  .section--tight > .container:has(.course) > .section-head,
  .section--tight > .container:has(.course) > .prog-note,
  .section--tight > .container:has(.course) > p { grid-column: 1 / -1; }
  .course { margin-bottom: 0; }
  .course__top { padding: 1.9rem 1.8rem 1.6rem; }
  .course__title { font-size: 1.7rem; }

  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .service { padding: 1.5rem 1.6rem; }

  /* one continuous rail; cards keep a readable width */
  .route__stop { max-width: 680px; }

  .loc-card { max-width: 720px; padding: 2rem; }

  .acc__head { padding-block: 1.15rem; font-size: 1.05rem; }

  .cta-band__inner { padding: 76px 0; }
  .footer { padding: 64px 0 120px; }
}

@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
}

/* ---------- 第 5 輪：首頁品牌組合 vs 手機導航控制（第 4 輪後仍待處理的 390px header 擠壓） ----------
   1. `.aud-nav-opt`（小朋友／大朋友）加 nowrap：標籤在任何寬度都不會再被拆成三行、把橢圓壓成圓形。
   2. `.aud-nav-toggle` 不參與壓縮（flex:0 0 auto）：膠囊保持原本比例，唔會變形。
   3. ≤600px：品牌組合（logo ＋ 單車學院）＋ EN ＋ 選單漢堡已經佔滿一行（實測 601–899px 仍可
      容納完整切換鈕，390px 則超出約 90px），所以把切換鈕由導航列收起，避免壓住品牌字。
      同一個「小朋友／大朋友」功能在首頁 #audience 區的切換按鈕完全冇改、仍然可用（功能不變）。 */
.aud-nav-opt { white-space: nowrap; }
.aud-nav-toggle { flex: 0 0 auto; }

@media (max-width: 600px) {
  .nav__bar .aud-nav-toggle { display: none; }
}

/* ---------- 第 5 輪：最窄手機的英文品牌組合 ----------
   實測（見 docs/website-refinement.md §5.4）：中文「單車學院」不需要特別處理；
   英文 “Cycling Academy” 比中文長 65px，在 ≤430px 會同 EN／選單互相擠壓，所以：
   · ≤430px：logo 等比縮小（76 → 64px，3:2 比例不變、冇裁剪、冇重畫）＋收窄與品牌字距離；
   · ≤352px：英文品牌字改為自然換行兩行（“Cycling / Academy”），不再壓到 EN 按鈕。
   只作用於 header（.nav）及英文版，中文版在手機完全不受影響。 */
@media (max-width: 430px) {
  html[lang="en"] .nav .logo { gap: 0.125rem; }
  html[lang="en"] .nav .logo .logo__mark { width: 64px; }
}

@media (max-width: 352px) {
  html[lang="en"] .nav .logo__word { max-width: 6.4em; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .route__path { stroke-dashoffset: 0; }
}