/* The Wonderbox by AMP — 全站樣式。
   方向：Pok Pok 嘅版面節奏 + Wonderbox IG 嘅插圖同字款（見 .impeccable/surfaces/index-html.md）。
   白底、淡藍同撕紙色帶、深藍字、橙紅重點加黃色螢光筆線、一種藥丸掣；點綴只用 logo 弧線、撕紙邊、螢光筆線同虛線箭咀。 */

:root {
  --ink: #13264d;          /* AMP 深藍：所有內文 */
  --ink-soft: #46557a;     /* 次要文字：白底 7.4:1，淡藍底 6.8:1 */
  --coral: #e8553e;        /* 大字重點色（白底 3.6:1，只用於 24px 以上，或 19px 以上粗體） */
  --coral-deep: #c9432d;   /* 按鈕底、細字標題：白底 4.9:1 */
  --coral-ink: #b73b26;    /* 按鈕滑鼠移過、淡藍底上嘅細字：淡藍底 5.2:1 */
  --sun: #ffd658;          /* AMP 黃：螢光筆線、時間、貼紙 */
  --sky: #3aa0dc;          /* 天藍色帶：深藍字 5.1:1 */
  --sky-deep: #1f7fb8;     /* focus ring */
  --pale: #eef6fb;         /* 淡藍色帶 */
  --line: #d5e2ec;         /* 虛線分隔 */
  --brown: #623f2d;        /* logo 弧線 */
  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --font: 'Chiron GoRound TC', 'PingFang HK', 'Noto Sans HK', sans-serif;
  --marker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M3 13C38 7 77 15 117 9s62 5 80-2l-1 11c-31 5-70-1-104 4S27 17 4 21z' fill='%23ffd658'/%3E%3C/svg%3E");
  --marker-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M3 13C38 7 77 15 117 9s62 5 80-2l-1 11c-31 5-70-1-104 4S27 17 4 21z' fill='%23ffffff'/%3E%3C/svg%3E");
  --arrow-dash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40' fill='none' stroke='%233aa0dc' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8C28 0 52 8 70 30' stroke-dasharray='1 8'/%3E%3Cpath d='M60 31l11 1 1-11'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scrollbar-color: #b8cfe1 #ffffff;
}
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 17px/1.75 var(--font);
  caret-color: var(--coral);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--sun); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 4px; border-radius: 12px; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: .01em; text-wrap: balance; }
/* 中文標題只喺空格同標點斷行（內容入面嘅「|」都可以斷）；太長先喺任何位置斷，唔會爆出界 */
h2, h3, h4, .h2 { word-break: keep-all; overflow-wrap: anywhere; }
p { text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.nb { display: inline-block; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

/* 重點字：橙紅加黃色螢光筆 */
.hl {
  color: var(--coral);
  background: var(--marker) no-repeat 0 92% / 100% .46em;
  padding: 0 .06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* 標題 */
.h2 { font-size: clamp(28px, 1.4vw + 18px, 42px); line-height: 1.3; }
/* 每頁第一段嘅標題係成頁嘅 h1，大少少 */
h1.h2 { font-size: clamp(32px, 1.7vw + 20px, 48px); line-height: 1.28; }
/* 段落標題一律深藍；重點字（.hl）先用橙紅加黃線 */
.h2--white { color: #fff; }
.band--sky .hl { color: var(--ink); }  /* 天藍底上面橙紅睇唔清，用深藍配黃線 */
.band--sun .hl { color: var(--ink); background-image: var(--marker-paper); }  /* 黃底：橙紅對比不足、黃線睇唔到，用深藍配白線 */
.h3 { font-size: clamp(22px, .6vw + 17px, 27px); line-height: 1.35; }
.section-head { max-width: 40em; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-lead { margin-top: 12px; color: var(--ink-soft); font-size: clamp(17px, .3vw + 15.8px, 19px); }

/* 按鈕：一種藥丸掣，全頁同一個動作 */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--coral-deep); color: #fff;
  font: 800 18px/1 var(--font); text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 22px -12px rgb(201 67 45 / .75);
  transition: transform 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease);
  touch-action: manipulation; -webkit-user-select: none; user-select: none;
}
.btn svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 20px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--coral-ink); box-shadow: 0 14px 26px -12px rgb(201 67 45 / .8); }
  .btn:hover svg { transform: translateX(3px); }
}
.text-link { font-weight: 800; color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 4px; }

/* ------------------------------------------------------------ nav */
.nav { position: relative; z-index: 20; background: #fff; }
.nav__bar { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.nav__logo { display: block; flex: none; margin-right: auto; }
.nav__logo img { height: 50px; width: auto; }
.nav__links { display: flex; gap: 30px; }
.nav__links a, .footer__cols a {
  font-weight: 800; font-size: 17px; text-decoration: none;
  background: var(--marker) no-repeat 0 100% / 0% .5em;
  transition: background-size 260ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .nav__links a:hover, .footer__cols a:hover { background-size: 100% .5em; } }
/* 而家睇緊嗰頁：黃線一直喺度 */
.nav__links a[aria-current="page"] { background-size: 100% .5em; }
.nav__toggle { display: none; }
.no-js .nav__toggle { display: none !important; }

/* ------------------------------------------------------------ hero */
.hero { padding: clamp(8px, 2vw, 32px) 0 clamp(40px, 5vw, 72px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(34px, 1.9vw + 21px, 54px); line-height: 1.32; }
.hero__lead { margin-top: 20px; max-width: 30em; font-size: clamp(17px, .35vw + 15.6px, 20px); line-height: 1.8; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
.note {
  position: relative; display: inline-block; margin: 26px 0 0 clamp(40px, 9vw, 150px);
  color: var(--coral); font-weight: 800; font-size: 19px; transform: rotate(-4deg);
}
.note svg { position: absolute; width: 58px; height: 46px; left: -62px; top: -32px; color: var(--coral); }
.hero__art { position: relative; margin: 0; }
.hero__art img { position: relative; width: 100%; transition: transform 420ms var(--ease); transform-origin: 50% 80%; }
@media (hover: hover) and (pointer: fine) { .hero__art:hover img { transform: rotate(-1.2deg) scale(1.01); } }

/* ------------------------------------------------------------ 首頁：每頁一個入口，好似繪本跨頁咁左右交錯；放喺淡藍撕紙色帶上，首屏底部見到撕紙邊 */
.entries__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(32px, 4.5vw, 64px); }
.entry {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 5vw, 80px); align-items: center; max-width: 1000px; margin-inline: auto;
}
.entry:nth-child(even) .entry__art { order: 2; }
.entry__art { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; }
/* 插圖後面一塊手繪色塊（IG 嘅粉色圓塊），三種淺色輪流 */
.entry__blob {
  position: absolute; left: 6%; top: 4%; width: 88%; height: 92%;
  fill: #ffeeb3; transform: rotate(-8deg); transition: transform 420ms var(--ease);
}
.entry:nth-child(3n+2) .entry__blob { fill: #d9edf9; transform: rotate(14deg); }
.entry:nth-child(3n) .entry__blob { fill: #fbdcd5; transform: rotate(-20deg); }
.entry__art img { position: relative; width: auto; max-width: 78%; max-height: 260px; transition: transform 420ms var(--ease); }
.entry__title { font-size: clamp(26px, 1.2vw + 17px, 36px); line-height: 1.3; }
.entry__title a {
  text-decoration: none; padding: 0 .06em;
  background: var(--marker) no-repeat 0 92% / 0% .46em; transition: background-size 320ms var(--ease);
}
/* 標題條連結嘅撳位鋪滿成個入口 */
.entry__title a::after { content: ""; position: absolute; inset: 0; border-radius: 28px; }
.entry__text p { margin-top: 10px; max-width: 26em; font-size: clamp(17px, .3vw + 15.8px, 19px); line-height: 1.75; color: var(--ink-soft); }
.entry__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 800; font-size: 17px; color: var(--coral-ink); }
.entry__more svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .entry:hover .entry__title a { background-size: 100% .46em; }
  .entry:hover .entry__art img { transform: rotate(-3deg) translateY(-4px); }
  .entry:hover .entry__blob { transform: rotate(0deg) scale(1.03); }
  .entry:hover .entry__more svg { transform: translateX(3px); }
}
.entry:active .entry__art img { transform: scale(.97); transition-duration: 120ms; }

/* logo 嘅同心弧線 */
.arcs { position: absolute; width: clamp(120px, 15vw, 210px); aspect-ratio: 1; color: var(--brown); opacity: .55; pointer-events: none; }
.hero__art .arcs { top: -6%; right: -3%; }

/* ------------------------------------------------------------ 撕紙色帶 */
.band { position: relative; color: var(--band); }
.band--pale { --band: var(--pale); }
.band--sky { --band: var(--sky); }
.band--coral { --band: var(--coral); }
.band--sun { --band: var(--sun); }
.tear { display: block; width: 100%; height: clamp(16px, 1.8vw, 26px); fill: currentColor; }
.tear--top { margin-bottom: -1px; }
.tear--bottom { margin-top: -1px; transform: scaleY(-1); }
.band__body { background: var(--band); color: var(--ink); padding: clamp(56px, 7vw, 104px) 0; }
/* 兩條色帶唔直接相連：中間留一段白紙 */
.band + .band { margin-top: clamp(40px, 5vw, 80px); }
.band--coral .band__body { color: #fff; }
/* 天藍色帶上面嘅次要文字用深藍（灰藍只得 2.5:1） */
.band--sky .section-lead { color: var(--ink); }

/* ------------------------------------------------------------ 品牌理念 */
.idea { position: relative; text-align: center; }
.idea__title { position: relative; margin-bottom: clamp(24px, 3vw, 40px); }
.idea .arcs { left: max(-2vw, -24px); bottom: -24px; transform: rotate(180deg); }
.statement {
  position: relative; max-width: 21em; margin-inline: auto;
  font-size: clamp(22px, 1.5vw + 14px, 36px); font-weight: 800; line-height: 1.7;
}
.statement strong { color: var(--coral); font-weight: 800; }
.statement .key {
  white-space: nowrap;
  background: var(--marker) no-repeat 0 94% / 100% .42em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* 逐字亮起：JS 加 .is-ready 先生效；未亮嘅字仍有 4:1（大字 AA） */
.statement.is-ready > span { color: #6b7896; transition: color 420ms var(--ease); }
.statement.is-ready > .key { background-size: 0% .42em; transition: color 420ms var(--ease), background-size 700ms var(--ease) 120ms; }
.statement.is-ready > .is-lit { color: var(--ink); }
.statement.is-ready > .key.is-lit { background-size: 100% .42em; }
.statement.is-ready > strong, .statement.is-ready > strong.is-lit { color: var(--coral); }

.areas { list-style: none; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px clamp(16px, 3vw, 44px); max-width: 980px; }
.areas li { width: 112px; display: grid; justify-items: center; gap: 8px; }
.areas img { height: 86px; width: auto; transition: transform 320ms var(--ease); }
.areas span { font-weight: 800; font-size: 18px; }
@media (hover: hover) and (pointer: fine) { .areas li:hover img { transform: rotate(-4deg) translateY(-3px); } }
.idea__amp { position: relative; max-width: 34em; margin: clamp(36px, 4vw, 52px) auto 0; color: var(--ink-soft); }

/* ------------------------------------------------------------ 孩子如何練習表達：五步沿路排 */
.practise { padding: clamp(64px, 8vw, 120px) 0 clamp(72px, 8vw, 120px); }
.practise .h2 { text-align: center; }
.path { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 36px); }
.path__step { position: relative; text-align: center; }
.path__step:nth-child(even) { margin-top: 84px; }
.path__art { position: relative; height: 170px; display: grid; place-items: end center; }
.path__art img { max-height: 170px; width: auto; transition: transform 320ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .path__step:hover .path__art img { transform: rotate(-3deg) translateY(-4px); } }
.badge {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin: 14px auto 10px;
  border-radius: 50%; background: var(--sun); color: var(--ink); font: 800 20px/1 var(--font);
}
.path__step :is(h2, h3) { font-size: 20px; line-height: 1.4; }
.path__step p { margin-top: 8px; font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.path__step:not(:last-child)::after {
  content: ""; position: absolute; top: 70px; right: calc(-1 * clamp(36px, 3.8vw, 60px)); width: clamp(52px, 5vw, 76px); height: 40px;
  background: var(--arrow-dash) no-repeat center / contain;
}
.path__step:nth-child(even):not(:last-child)::after { top: 40px; transform: scaleY(-1); }

/* ------------------------------------------------------------ 6 至 8 歲初階班 */
.classes { padding: clamp(32px, 4vw, 48px) 0 clamp(72px, 8vw, 128px); }
/* 一頁嘅第一段：喺選單下面留返足夠位 */
main > .classes:first-child, main > .faq:first-child { padding-top: clamp(40px, 6vw, 88px); }
/* 一張上課票：四格之間用虛線隔開 */
.ticket {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border: 2.5px solid var(--ink); border-radius: 28px; padding: 26px 6px;
  transform: rotate(-.6deg); box-shadow: 0 18px 30px -22px rgb(19 38 77 / .45);
}
.ticket__item { padding: 4px clamp(16px, 2vw, 28px); border-left: 2.5px dashed #c3d2df; }
.ticket__item:first-child { border-left: 0; }
.ticket dt { font-size: 15px; font-weight: 800; color: var(--coral-deep); }
.ticket dd { margin-top: 6px; font-size: clamp(19px, .5vw + 15px, 23px); font-weight: 800; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }

.grow { margin-top: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.grow__head p { margin-top: 12px; color: var(--ink-soft); }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); align-items: end; }
.tier { position: relative; text-align: center; }
/* 三個花盆同一比例縮放（原圖高 376／405／455），盆一樣大，植物愈長愈高 */
.tier img { width: auto; margin: 0 auto; height: 132px; }
.tier:nth-child(2) img { height: 142px; }
.tier:nth-child(3) img { height: 159px; }
.tier :is(h3, h4) { margin-top: 12px; font-size: 20px; }
.tier p { margin-top: 6px; font-size: 16px; color: var(--ink-soft); line-height: 1.7; min-height: 5.1em; }
.tier:not(:last-child)::after {
  content: ""; position: absolute; top: 60px; right: calc(-1 * clamp(30px, 3vw, 46px)); width: clamp(40px, 4vw, 56px); height: 30px;
  background: var(--arrow-dash) no-repeat center / contain; transform: rotate(-12deg);
}

.progress { margin-top: clamp(64px, 8vw, 104px); max-width: 46em; }
.progress > p { margin-top: 12px; color: var(--ink-soft); }
.pills { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 7px 18px; border-radius: 999px; font-weight: 800; font-size: 17px; background: #ffeeb3; }
.pills li:nth-child(3n+2) { background: #d9edf9; }
.pills li:nth-child(3n+3) { background: #fbdcd5; }

/* ------------------------------------------------------------ 每星期：漫畫格 */
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 26px; }
.panel {
  --tilt: -.8deg;
  position: relative; display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 16px; align-items: center;
  background: #fff; border: 2.5px solid var(--ink); border-radius: 22px; padding: 28px 20px 20px;
  transform: rotate(var(--tilt)); box-shadow: 0 14px 24px -18px rgb(19 38 77 / .6);
  transition: transform 260ms var(--ease);
}
.panel:nth-child(even) { --tilt: .7deg; }
.panel--home { border-style: dashed; }
.panel__day {
  position: absolute; top: -16px; left: 18px; padding: 3px 14px; border-radius: 999px;
  background: var(--sun); color: var(--ink); border: 2.5px solid var(--ink); font-weight: 800; font-size: 15px; line-height: 1.5;
}
.panel__art img { width: 108px; height: 96px; object-fit: contain; }
.panel :is(h2, h3) { font-size: 19px; line-height: 1.4; }
.panel p { margin-top: 4px; font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) { .panel:hover { transform: rotate(0deg) translateY(-3px); } }

/* ------------------------------------------------------------ 一個下午：時間線 */
.day { padding: clamp(72px, 8vw, 128px) 0; }
.day__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.day__intro { position: sticky; top: 32px; }
.day__art img { width: min(100%, 400px); margin-top: 28px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 39px; top: 18px; bottom: 18px; border-left: 3px dashed #9fd0ef; }
.timeline li { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 18px; padding: 12px 0; }
.timeline__time {
  position: relative; z-index: 1; justify-self: center; align-self: start; margin-top: 2px;
  padding: 4px 12px; border-radius: 999px; background: var(--sun); color: var(--ink);
  font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums;
}
.timeline :is(h2, h3) { font-size: 19px; line-height: 1.5; }
.timeline p { margin-top: 2px; font-size: 16px; color: var(--ink-soft); }

/* ------------------------------------------------------------ 半年六個主題：交錯排 */
.months { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(28px, 5vw, 72px); }
.month { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 24px; align-items: center; }
.month:nth-child(4n+3), .month:nth-child(4n+4) { grid-template-columns: minmax(0, 1fr) 168px; }
.month:nth-child(4n+3) .month__art, .month:nth-child(4n+4) .month__art { order: 2; }
.month__art img { width: 168px; height: 150px; object-fit: contain; transform: rotate(-3deg); transition: transform 320ms var(--ease); }
.month:nth-child(even) .month__art img { transform: rotate(3deg); }
@media (hover: hover) and (pointer: fine) { .month:hover .month__art img { transform: rotate(0deg) scale(1.04); } }
.month__badge { display: inline-block; padding: 1px 12px; border-radius: 999px; background: var(--coral-deep); color: #fff; font-weight: 800; font-size: 15px; }
.month :is(h2, h3) { margin-top: 8px; font-size: 22px; line-height: 1.4; }
.month__body > p:not(.month__badge) { margin-top: 4px; font-size: 16px; color: var(--ink-soft); }
.month__body > .month__stories { margin-top: 8px; font-size: 14.5px; line-height: 1.8; }
.month__body > .month__end { margin-top: 8px; color: var(--ink); font-weight: 800; }
.month__end span { display: inline-block; margin-right: 8px; padding: 0 10px; border-radius: 999px; background: var(--sun); font-size: 13px; line-height: 1.7; }

/* ------------------------------------------------------------ 故事例子 */
.band--coral .h2 { text-align: center; }
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(32px, 4vw, 48px); }
.story__art img { width: 100%; filter: drop-shadow(0 18px 24px rgb(110 25 10 / .25)); }
.story__page {
  background: #fff; color: var(--ink); border-radius: 32px; padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 24px 40px -28px rgb(80 20 10 / .7); transform: rotate(.6deg);
}
.story__synopsis { font-size: 17px; line-height: 1.9; }
.story__label { margin-top: 24px; font-weight: 800; font-size: 15px; color: var(--coral-deep); }
.words { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.words li {
  --r: -4deg;
  width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px;
  background: var(--sun); color: var(--ink); font-size: 32px; font-weight: 800; line-height: 1;
  transform: rotate(var(--r)); box-shadow: 0 8px 14px -10px rgb(19 38 77 / .55);
}
.words li:nth-child(even) { --r: 3deg; }
.bubbles { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.bubbles li { position: relative; padding: 8px 18px; border-radius: 18px; background: var(--pale); font-weight: 800; font-size: 18px; }
.bubbles li::after { content: ""; position: absolute; left: 22px; bottom: -9px; border: 10px solid transparent; border-top-color: var(--pale); border-bottom: 0; }
.outcomes { margin-top: 24px; display: grid; gap: 10px; padding-top: 20px; border-top: 2px dashed var(--line); }
.outcomes div { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 12px; }
.outcomes dt { font-weight: 800; }
.outcomes dd { color: var(--ink-soft); }

/* ------------------------------------------------------------ 常見問題 */
.faq { padding: clamp(72px, 8vw, 128px) 0; }
/* 404：搵唔到頁 */
.notfound { padding: clamp(64px, 9vw, 144px) 0 clamp(72px, 8vw, 128px); }
.notfound .btn { margin-top: 28px; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__intro { position: sticky; top: 32px; }
.faq__art img { width: min(100%, 320px); margin-top: 24px; }
.qa { padding: 22px 0; border-bottom: 2px dashed var(--line); }
.qa:first-child { padding-top: 0; }
.qa :is(h2, h3) { display: flex; gap: 12px; align-items: flex-start; font-size: 19px; line-height: 1.5; }
.q-icon { flex: none; width: 30px; height: 30px; }
.qa p { margin-top: 8px; padding-left: 42px; color: var(--ink-soft); }

/* ------------------------------------------------------------ 報名查詢 */
.enquiry { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.enquiry .h2 { font-size: clamp(30px, 2vw + 18px, 48px); }
.enquiry .section-lead { color: var(--ink); }
.enquiry .btn { margin-top: 26px; }
.visit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(36px, 4vw, 56px); padding-top: 24px; border-top: 2.5px dashed rgb(19 38 77 / .35); }
.visit__label { font-weight: 800; font-size: 15px; }
.visit address { margin-top: 6px; font-style: normal; font-size: 18px; line-height: 1.6; }
.hours { margin-top: 6px; }
.hours dt { font-weight: 800; }
.hours dt:not(:first-child) { margin-top: 6px; }
.visit__phone { margin-top: 4px; font-size: 22px; font-weight: 800; }
.visit__phone a { text-decoration: none; }
.visit__more { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 2px; }
.enquiry__art img { width: 100%; max-width: 440px; margin-inline: auto; }

/* ------------------------------------------------------------ footer */
.footer { padding: clamp(48px, 6vw, 80px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.footer__brand img { width: 150px; }
.footer__brand p { margin-top: 14px; color: var(--ink-soft); font-size: 15px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer__cols h3 { font-size: 15px; color: var(--coral-deep); }
.footer__cols a { display: inline-block; margin-top: 6px; font-size: 16px; word-break: keep-all; overflow-wrap: anywhere; }
.footer__legal { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; padding-top: 18px; border-top: 2px dashed var(--line); font-size: 14px; color: var(--ink-soft); }
.footer__ig { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); }
.footer__ig svg { width: 24px; height: 24px; }

/* 手機底部致電列 */
.actionbar { display: none; }

/* ------------------------------------------------------------ 平板 */
@media (max-width: 1023px) {
  /* 頁尾四欄喺平板太窄（「半年六個主題」會斷開），改兩欄 */
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .path { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 24px; }
  .path__step { grid-column: span 2; }
  .path__step:nth-child(4) { grid-column: 2 / span 2; }
  .path__step:nth-child(even) { margin-top: 0; }
  .path__step::after { display: none; }
  .ticket { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .ticket__item:nth-child(3) { border-left: 0; }
  .grow { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .day__intro, .faq__intro { position: static; }
  .day__intro { display: grid; grid-template-columns: minmax(0, 1fr) 220px; column-gap: 24px; align-items: end; }
  .day__intro .h2, .day__intro .section-lead { grid-column: 1; }
  .day__art { grid-column: 2; grid-row: 1 / span 2; }
  .day__art img { margin-top: 0; }
  .faq__intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
  .faq__art img { width: 200px; margin-top: 0; }
  .months { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-inline: auto; }
  .month:nth-child(n) { grid-template-columns: 150px minmax(0, 1fr); }
  .month:nth-child(n) .month__art { order: 0; }
  .month:nth-child(even) { grid-template-columns: minmax(0, 1fr) 150px; }
  .month:nth-child(even) .month__art { order: 2; }
  .month__art img { width: 150px; height: 134px; }
  .story { grid-template-columns: minmax(0, 1fr); }
  /* 要有 width：grid 項目加 auto margin 會縮成內容闊度，圖未載入時係 0，載入後先撐開，頁面會跳 */
  .story__art { width: 100%; max-width: 520px; margin-inline: auto; }
  .enquiry { grid-template-columns: minmax(0, 1fr); }
  .enquiry__art { max-width: 360px; }
}
@media (max-width: 899px) {
  .nav__links, .nav .btn--sm { display: none; }
  .nav__bar { min-height: 68px; }
  .nav__logo img { height: 40px; }
  .nav__toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
    border: 0; border-radius: 50%; background: transparent; color: var(--ink); touch-action: manipulation;
  }
  .nav__toggle:active { transform: scale(.94); }
  .nav__menu { border-top: 1px solid #e3edf5; padding: 8px var(--gut) 20px; background: #fff; }
  .nav__menu a { display: block; padding: 12px 0; font-weight: 800; font-size: 20px; text-decoration: none; }
  .nav__menu a[aria-current="page"] span { background: var(--marker) no-repeat 0 100% / 100% .5em; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { width: 100%; max-width: 600px; margin: 8px auto 0; }
  .note { margin-left: 64px; }
  .areas { max-width: 600px; gap: 12px 24px; }
  .areas li { width: calc((100% - 2 * 24px) / 3); }
  .actionbar {
    display: block; position: fixed; z-index: 25; left: 0; right: 0; bottom: 0;
    padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgb(255 255 255 / .94); box-shadow: 0 -8px 24px -18px rgb(19 38 77 / .5);
    transform: translateY(110%); transition: transform 240ms var(--ease);
  }
  .actionbar.is-shown { transform: none; }
  .no-js .actionbar { transform: none; }  /* 冇 JavaScript 都要撳到致電 */
  .actionbar .btn { width: 100%; justify-content: center; }
  /* 底部致電列唔好遮住頁尾 */
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* ------------------------------------------------------------ 手機 */
@media (max-width: 639px) {
  .hero__copy { display: flex; flex-direction: column; }
  .note { order: 3; align-self: flex-start; margin: 26px 0 0 66px; }
  .note svg { top: 10px; transform: scaleY(-1); }
  .hero__actions { order: 4; margin-top: 22px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .idea .arcs { display: none; }
  .areas img { height: 72px; }
  /* 首頁入口：手機用細圖喺左、字喺右，唔再左右交錯 */
  .entry { grid-template-columns: 112px minmax(0, 1fr); gap: 0 16px; align-items: start; }
  .entry:nth-child(even) .entry__art { order: 0; }
  .entry__art { aspect-ratio: 1; }
  .entry__art img { max-width: 92%; max-height: 100px; }
  .entry__title { font-size: 22px; }
  .entry__text p { margin-top: 6px; font-size: 16px; }
  .entry__more { margin-top: 10px; font-size: 16px; }
  .path { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .path__step, .path__step:nth-child(4) { grid-column: auto; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 18px; text-align: left; align-items: start; }
  .path__art { height: 112px; grid-row: span 3; place-items: center; }
  .path__art img { max-height: 112px; }
  .badge { margin: 0 0 6px; width: 34px; height: 34px; font-size: 17px; }
  .path__step :is(h2, h3) { font-size: 19px; }
  .path__step p { margin-top: 4px; }
  .ticket { transform: none; padding: 20px 4px; }
  .ticket__item { padding: 4px 16px; }
  .tiers { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tier { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 18px; text-align: left; align-items: center; }
  .tier img, .tier:nth-child(n) img { height: 96px; grid-row: span 2; }
  .tier :is(h3, h4) { margin-top: 0; }
  .tier p { min-height: 0; }
  .tier::after { display: none; }
  .strip { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .panel { grid-template-columns: 92px minmax(0, 1fr); }
  .panel__art img { width: 92px; height: 82px; }
  /* 一個下午：手機一欄，標題、簡介，插圖放最下 */
  .day__intro { display: block; }
  .day__art img { width: 170px; margin-top: 18px; }
  .timeline::before { left: 31px; }
  .timeline li { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .timeline__time { font-size: 15px; padding: 3px 9px; }
  .month:nth-child(n) { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: start; }
  .month:nth-child(n) .month__art { order: 0; }
  .month__art img { width: 104px; height: 96px; }
  .faq__art img { width: 120px; }
  .words { gap: 10px; }
  .words li { width: 50px; height: 50px; font-size: 26px; border-radius: 14px; }
  .qa p { padding-left: 0; }
  .visit { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__legal { margin-top: 32px; }
}
/* 好細嘅手機（320 闊）：首屏標題兩行都放得落，故事五個字排一行 */
@media (max-width: 359px) {
  .hero h1 { font-size: 26px; }
  .words { gap: 8px; }
  .words li { width: 38px; height: 38px; font-size: 21px; border-radius: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
