/* Soul Chill 官網 — 照約課系統的 CIS（soulchill-booking/src/index.css）
   主色：棉麻淺米（底）、碧空藍（工作室）、森林綠（文字）
   輔色：粉黃＝實體課、粉藍＝線上課、粉橙＝工作坊與服務、深黃＝孕婦；草植綠・粉綠只給跑步班（跑步課程、越野跑）
   字體：中文 Noto Sans TC；英文標題 Syncopate Bold 全大寫；英文點綴 Style Script
   視覺（Fish 10/9）：實景照片＋手繪線條、用色塊分區、不要明顯框線、不要太童趣；開場先講身心服務與「陪你找到生活的節奏」 */
:root {
  --bg: #f7f8f1;
  --paper: #fffef9;
  --ink: #003f37;
  --ink-2: #48655f;
  --ink-3: #8a9e98;
  --line: #e2e7dd;
  --teal: #7ce0dd;
  --teal-soft: #dcf6f3;
  --yellow: #ffec9c;
  --yellow-soft: #fff7d6;
  --deep-yellow: #fdd91d;
  --mint: #b4efe4;
  --peach: #ffd0a9;
  --peach-soft: #fff0e3;
  --grass: #b9ca74;        /* 跑步班專用 */
  --run-green: #baf4bd;    /* 跑步班專用 */
  --radius: 18px;
  --font-body: 'Noto Sans TC', system-ui, -apple-system, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-en: 'Syncopate', 'Noto Sans TC', sans-serif;
  --font-script: 'Style Script', 'Noto Sans TC', cursive;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.4; letter-spacing: .06em; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.wrap.narrow { max-width: 720px; }
.center { text-align: center; }
.mt { margin-top: 40px; }
.mt-s { margin-top: 16px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }

.en-label {
  font-family: var(--font-en); font-weight: 700; text-transform: uppercase;
  font-size: 12px; letter-spacing: .3em; color: var(--ink-2); margin-bottom: 10px;
}
.script { font-family: var(--font-script); font-size: 28px; color: var(--ink-2); line-height: 1.3; }
.line-title { display: flex; align-items: center; gap: 14px; font-size: clamp(24px, 3.4vw, 32px); }
.line-title::before { content: ''; width: 4px; height: 1.05em; background: var(--teal); border-radius: 2px; flex: none; }
.sub-title { font-size: 18px; margin-bottom: 14px; }

/* 手繪線條（只用細線，色彩跟著 color） */
.ln { position: absolute; pointer-events: none; overflow: visible; z-index: 0; }

/* 按鈕 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 999px; padding: 12px 26px; cursor: pointer;
  font-weight: 700; font-size: 15px; letter-spacing: .08em; text-decoration: none; white-space: nowrap;
  background: var(--ink); color: #fff; transition: transform .2s ease, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn.sm { padding: 8px 18px; font-size: 14px; }
.btn.ghost { background: rgba(0, 63, 55, .07); color: var(--ink); }
.btn.line { background: #06c755; color: #fff; }
.btn.light { background: #fff; color: var(--ink); }
.btn.outline-light { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); backdrop-filter: blur(4px); }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 0; }
.row-btns.centered { justify-content: center; }

.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 11px; font-size: 12.5px; font-weight: 700; white-space: nowrap; letter-spacing: .04em; }
.badge.physical { background: var(--yellow); }
.badge.online { background: var(--mint); }
.badge.hybrid { background: linear-gradient(90deg, var(--yellow) 50%, var(--mint) 50%); }
.tag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--ink-2); }

.dots { list-style: none; margin: 10px 0 0; padding: 0; }
.dots li { position: relative; padding-left: 18px; margin: 6px 0; color: var(--ink-2); }
.dots li::before { content: ''; position: absolute; left: 3px; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.chips { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: rgba(255, 255, 255, .75); border-radius: 999px; padding: 3px 13px; font-size: 13.5px; color: var(--ink-2); }

/* 色塊背景 */
.tone-bg-mint { background: #e9f5f1; }
.tone-bg-yellow { background: #fff9e6; }
.tone-bg-peach { background: #fff3e9; }

/* 頁首：在開場照片上是透明＋白字，往下捲變米白 */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(247, 248, 241, .95); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { position: relative; display: block; }
.brand img { height: 40px; width: auto; }
.brand .light { position: absolute; inset: 0; }
.site-header:not(.scrolled) .brand .dark { opacity: 0; }
.site-header.scrolled .brand .light { opacity: 0; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.site-header:not(.scrolled) .nav-links a:not(.btn) { color: rgba(255, 255, 255, .92); }
.site-header:not(.scrolled) .nav-links .btn { background: #fff; color: var(--ink); }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 開場：照片輪播＋葉影光影 */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; color: #fff; padding: 110px 0 80px; background: #2c4a40; }
.hero-slides { position: absolute; inset: 0; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: slide 28s infinite; }
.hero-slides img:nth-child(1) { animation-delay: 0s; }
.hero-slides img:nth-child(2) { animation-delay: 7s; }
.hero-slides img:nth-child(3) { animation-delay: 14s; }
.hero-slides img:nth-child(4) { animation-delay: 21s; }
@keyframes slide {
  0% { opacity: 0; transform: scale(1.06); }
  5% { opacity: 1; }
  25% { opacity: 1; }
  32% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}
.hero-veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 38, 33, .72) 0%, rgba(0, 38, 33, .42) 45%, rgba(0, 38, 33, .08) 100%); }
.hero-inner { z-index: 2; }
.hero .en-label { color: rgba(255, 255, 255, .85); }
.hero h1 { font-size: clamp(36px, 6vw, 62px); letter-spacing: .12em; line-height: 1.35; margin-bottom: 50px; }
.swashed { position: relative; display: inline-block; }
/* 大標題上面的關鍵字小字（SEO，Fish 11/3）：h1 裡但看起來像小標 */
.hero h1 .h1-kicker { display: block; font-size: clamp(14px, 1.6vw, 17px); letter-spacing: .2em; font-weight: 500; line-height: 1.6; margin-bottom: 14px; color: rgba(255, 255, 255, .9); }
.swashed .swash-grow { position: absolute; left: -2%; bottom: -38px; width: 104%; height: auto; aspect-ratio: 300 / 46; overflow: visible; }
/* 曲線用約 3 秒平順地畫出來，葉子在曲線畫到的位置冒出來（.hero-grow 時開始） */
.swash-line { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: var(--len, 320); stroke-dashoffset: var(--len, 320); }
.hero-grow .swash-line { animation: swash-draw 2.8s linear .2s forwards; }
.sw-leaf { transform-box: fill-box; transform-origin: 0% 50%; opacity: 0; transform: scale(.1); }
.hero-grow .sw-leaf { animation: sw-leaf .9s cubic-bezier(.25, .8, .35, 1) var(--d, 0s) forwards; }
@keyframes swash-draw { to { stroke-dashoffset: 0; } }
@keyframes sw-leaf { to { opacity: 1; transform: scale(1); } }
.hero .lead { font-size: 17px; max-width: 560px; color: rgba(255, 255, 255, .9); margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero .script { color: rgba(255, 255, 255, .85); }

/* 區塊 */
.section { position: relative; padding: 88px 0; overflow-x: clip; }
.sec-head { margin-bottom: 36px; position: relative; }
.sec-lead { color: var(--ink-2); margin-top: 12px; max-width: 660px; }
.sec-head.center .sec-lead { margin-left: auto; margin-right: auto; }
.sec-head.center h2 { font-size: clamp(26px, 3.6vw, 36px); }
.legend { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
/* LOGO 小靈魂旁的植物（取代原本的放射圖） */
.sprig { display: block; width: 116px; height: 40px; margin: 0 auto 12px; }
/* 標語用英文標準字（Syncopate） */
.tagline { font-family: var(--font-en); font-weight: 700; text-transform: uppercase; letter-spacing: .18em; font-size: 13px; line-height: 2; color: var(--ink-2); }
.tagline .tl-2 { white-space: nowrap; }
.offer-tagline { margin-top: 14px; }
.site-footer .tagline { color: var(--teal); }

/* 身心服務總覽 */
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.offer { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .25s ease; }
.offer:hover { transform: translateY(-4px); }
.offer img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; transition: transform .6s ease; }
.offer:hover img { transform: scale(1.04); }
.offer-body { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px 18px; flex: 1; }
.offer-body b { font-size: 18px; letter-spacing: .06em; }
.offer-body small { font-size: 14px; color: var(--ink-2); }
.tone-yellow { background: var(--yellow-soft); }
.tone-peach { background: var(--peach-soft); }
.tone-deep { background: #fef3b8; }
.tone-grass { background: #eef3d8; }
.tone-run { background: #e3f8e4; }
.tone-teal { background: var(--teal-soft); }

/* 生活覺察 */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-lead { font-size: 19px; line-height: 1.9; margin-top: 16px; max-width: 520px; }
.practice { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.practice li { display: grid; gap: 2px; }
.practice b { font-size: 17px; }
.practice span { color: var(--ink-2); }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 220px 220px var(--radius) var(--radius); }

/* 本週課表 */
.week { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.day { background: var(--paper); border-radius: var(--radius); padding: 16px; }
.day-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.day-head .dow { font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: .2em; }
.day-head .date { color: var(--ink-3); font-size: 13px; }
.slot { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 8px 6px; border-radius: 10px; text-decoration: none; margin: 0 -6px; }
.slot:hover { background: var(--yellow-soft); }
.slot .time { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 14px; }
.slot .name { font-size: 14.5px; line-height: 1.5; }
.slot .who { color: var(--ink-2); font-size: 12.5px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
.slot .badge { font-size: 11px; padding: 0 8px; }

/* 瑜珈課程與選課指引 */
.guide { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px 28px; margin-bottom: 22px; }
.guide-head h3 { font-size: 20px; }
.guide-head p { margin-top: 2px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.guide-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.guide-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer;
  background: rgba(255, 255, 255, .07); border: 0; border-radius: 16px; padding: 14px 8px 12px;
  font: inherit; font-weight: 700; color: #fff; letter-spacing: .1em; transition: background .2s, color .2s, transform .15s;
}
.guide-btn svg { width: 46px; height: 46px; overflow: visible; color: var(--yellow); }
.guide-btn:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.guide-btn[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.guide-btn[aria-pressed="true"] svg { color: var(--ink); }
.guide-hint { margin-top: 14px; font-size: 15px; min-height: 1.8em; color: rgba(255, 255, 255, .85); }
.guide-hint b { color: var(--yellow); }

.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.class-card { background: var(--paper); border-radius: var(--radius); padding: 20px 22px; transition: opacity .25s, transform .25s, background .25s; }
.class-card h3 { font-size: 18px; margin: 10px 0 6px; }
.class-card p { color: var(--ink-2); font-size: 15px; }
.cc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cat { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: .08em; }
.cat svg { width: 26px; height: 26px; overflow: visible; color: #c79a1e; }
.class-card .when { margin-top: 10px; font-size: 13.5px; color: var(--ink); }
.class-card .when:empty { display: none; }
.class-card .when span { display: inline-block; background: var(--yellow-soft); border-radius: 999px; padding: 1px 10px; margin: 3px 4px 0 0; }
.class-grid.filtered .class-card { opacity: .35; }
.class-grid.filtered .class-card.match { opacity: 1; transform: translateY(-3px); background: #fff; }

.plans { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; align-items: stretch; padding: 28px; background: var(--paper); border-radius: var(--radius); }
.plans h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.plan-cta { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; max-width: 220px; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(0, 63, 55, .08); }
.price-list li:last-child { border-bottom: 0; }
.price-list b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-list b::before { content: 'NT$ '; font-weight: 400; font-size: 12px; color: var(--ink-3); }
.price-list em { font-style: normal; font-size: 12px; background: var(--yellow); border-radius: 999px; padding: 1px 8px; margin-left: 4px; font-weight: 700; }
.price-list.compact li { padding: 7px 0; font-size: 15px; }

/* 個人服務：照片＋色塊，左右交錯 */
.service-list { display: grid; gap: 22px; }
.service { display: grid; grid-template-columns: 1fr 1.15fr; border-radius: var(--radius); overflow: hidden; }
.service:nth-child(even) img { order: 2; }
.service img { width: 100%; height: 360px; object-fit: cover; }
.service-body { padding: 30px 34px; display: flex; flex-direction: column; gap: 10px; }
.service-body h3 { font-size: 22px; }
.service-body p { color: var(--ink-2); }
.service-body .price-list { margin-top: auto; }

/* 跑步課程・越野跑（只有這兩區用草植綠／粉綠） */
.section.run { background: #eef3dc; }
.section.run-2 { background: #e8f6e6; }
.run .line-title::before { background: var(--grass); }
.run .dots li::before { background: var(--grass); }
.run-head { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; margin-bottom: 30px; }
.run-logo { width: 220px; }
.run-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.run-card { background: rgba(255, 255, 255, .7); border-radius: var(--radius); padding: 24px 26px; }
.run-card h3 { font-size: 18px; }
.run-card p { color: var(--ink-2); margin-top: 10px; }
/* 跑步班：Skool 免費社群 */
.run-skool { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 18px 22px; border-radius: var(--radius); background: var(--run-green); color: var(--ink); text-decoration: none; transition: transform .2s; }
.run-skool:hover { transform: translateY(-2px); }
.run-skool-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; background: #fff; display: grid; place-items: center; }
.run-skool-icon svg { width: 40px; height: 40px; }
.run-skool-body { flex: 1; min-width: 0; }
.run-skool-body b { display: block; font-size: 17px; }
.run-skool-body small { display: block; color: var(--ink-2); font-size: 14px; margin-top: 4px; line-height: 1.7; }
.run-skool-go { flex: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.run-btn { background: var(--grass); color: var(--ink); }
.trail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

/* 照片精選：可左右滑 */
.gallery-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 0 10px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scrollbar-width: thin; }
.gallery-strip img { height: 250px; width: auto; flex: none; border-radius: 14px; scroll-snap-align: start; object-fit: cover; }

/* 工作坊 */
.workshop-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.ws-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s; }
.ws-card:hover { transform: translateY(-3px); }
.ws-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--peach); }
.ws-body { padding: 16px 20px 20px; }
.ws-date { font-weight: 700; font-size: 14px; color: var(--ink-2); }
.ws-body h3 { font-size: 19px; margin: 6px 0; }
.ws-body p { color: var(--ink-2); font-size: 14.5px; }
.empty { background: var(--paper); border-radius: var(--radius); padding: 24px; color: var(--ink-2); }

/* 老師 */
.teacher-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.teacher { display: grid; grid-template-columns: 128px 1fr; gap: 20px; padding: 20px; align-items: start; background: #f1f4ea; border-radius: var(--radius); }
.teacher img { width: 128px; height: 156px; object-fit: cover; border-radius: 999px 999px 14px 14px; }
.teacher h3 { font-size: 20px; }
.teacher h3 small { font-size: 13px; color: var(--ink-2); font-weight: 500; margin-left: 6px; letter-spacing: .04em; }
.teacher .t-bio { font-size: 13px; color: var(--ink-2); margin: 4px 0 10px; font-weight: 500; }
.teacher p:last-child { font-size: 15px; color: var(--ink-2); }

/* 空間 */
.space-mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 12px; }
.space-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.m-a { grid-row: span 2; }
.m-b { grid-row: span 2; }
.floor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
.floor { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.floor img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.floor-body { padding: 20px 24px 24px; }
.floor-tag { font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .2em; display: inline-block; background: var(--teal-soft); border-radius: 999px; padding: 1px 12px; }
.floor h3 { font-size: 19px; margin-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.floor .price { font-size: 20px; }
.floor .price small { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; align-items: start; }

/* 企業合作 */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.biz { background: var(--teal-soft); border-radius: var(--radius); padding: 20px 22px; }
.biz h3 { font-size: 16px; }
.biz p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.partners li { background: #f1f4ea; }

/* 收合（第一次來、租借須知） */
details { background: var(--paper); border-radius: 14px; padding: 4px 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-weight: 400; font-size: 22px; line-height: 1; color: var(--ink-2); }
details[open] summary::after { content: '–'; }
details p { color: var(--ink-2); padding-bottom: 16px; }
details .dots { margin: 0 0 16px; }

/* 交通 */
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.addr { font-size: 20px; font-weight: 700; margin-top: 18px; }
/* 社群：只放圖示（IG／FB／Skool） */
.social { list-style: none; padding: 0; margin: 22px 0 16px; display: flex; gap: 12px; }
.social a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--ink); transition: transform .2s, background .2s; }
.social a:hover, .social a:focus-visible { transform: translateY(-2px); background: var(--mint); }
.social svg { width: 24px; height: 24px; }
.social .sk { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.social .sk svg { width: 34px; height: 34px; }
.map { border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.map iframe { width: 100%; height: 400px; border: 0; display: block; }

/* 頁尾 */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: #e9f6f3; padding: 56px 0 calc(44px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 12px; justify-items: center; text-align: center; }
.footer-grid img { height: 40px; width: auto; }
.site-footer .tiny { color: #9cc3bb; }

/* 平板 */
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 8px 20px 20px; box-shadow: 0 8px 20px rgba(0, 63, 55, .08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .site-header .nav-links a:not(.btn), .site-header:not(.scrolled) .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
  .site-header .nav-links .btn, .site-header:not(.scrolled) .nav-links .btn { margin-top: 14px; background: var(--ink); color: #fff; }
}
@media (max-width: 1060px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan-cta { grid-column: 1 / -1; max-width: none; flex-direction: row; align-items: center; justify-content: space-between; }
  .teacher-grid { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 36px; }
}

/* 手機 */
@media (max-width: 760px) {
  /* 標語在手機分成兩行：SMILE. BREATHE. ／ LISTEN TO YOUR SOUL. */
  .tagline { font-size: 11.5px; letter-spacing: .14em; }
  .tagline .tl-2 { display: block; }
  .run-skool { flex-wrap: wrap; padding: 16px 18px; }
  .run-skool-body { flex-basis: calc(100% - 68px); }
  .run-skool-go { width: 100%; text-align: right; }
  body { font-size: 15.5px; }
  .section { padding: 64px 0; }
  .hero { min-height: 88vh; padding: 100px 0 64px; align-items: flex-end; }
  .hero-veil { background: linear-gradient(180deg, rgba(0, 38, 33, .25) 0%, rgba(0, 38, 33, .55) 45%, rgba(0, 38, 33, .8) 100%); }
  .offer-grid { gap: 12px; }
  .offer-body { padding: 12px 14px 14px; }
  .offer-body b { font-size: 16px; }
  .offer-body small { font-size: 13px; }
  .about-grid, .run-grid, .trail-grid, .floor-grid, .rules, .visit-grid { grid-template-columns: 1fr; }
  .about-photo { order: -1; }
  .about-photo img { aspect-ratio: 4 / 3.6; border-radius: 160px 160px var(--radius) var(--radius); }
  .class-grid { grid-template-columns: 1fr; }
  .guide { padding: 22px 16px; }
  .guide-tabs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .plans { grid-template-columns: 1fr; padding: 22px; }
  .plan-cta { flex-direction: column; align-items: stretch; }
  .service, .service:nth-child(even) { grid-template-columns: 1fr; }
  .service:nth-child(even) img { order: 0; }
  .service img { height: auto; aspect-ratio: 4 / 3; }
  .service-body { padding: 22px 20px 24px; }
  .run-head { grid-template-columns: 1fr; gap: 12px; }
  .run-logo { width: 170px; }
  .gallery-strip img { height: 190px; }
  .teacher { grid-template-columns: 96px 1fr; gap: 16px; padding: 16px; }
  .teacher img { width: 96px; height: 120px; }
  .space-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 150px 150px; }
  .m-a { grid-column: 1 / -1; grid-row: auto; }
  .m-b { grid-row: span 2; }
  .biz-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .map iframe { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slides img { animation: none; }
  .hero-slides img:first-child { opacity: 1; }
  .btn, .offer, .offer img, .ws-card, .class-card, .guide-btn { transition: none; }
}

/* 入場：木漏れ日影片全畫面＋靈魂小人在正中間呼吸（html.intro-on 才顯示；main.js 約 10 秒後淡出） */
html:not(.intro-on) .intro:not(.out) { display: none; }
html.intro-on { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 200; background: #24403a; color: #fff; overflow: hidden; transition: opacity 1.2s ease, visibility 1.2s; --sh: clamp(110px, 20vh, 220px); }
.intro.out { opacity: 0; visibility: hidden; }
.intro-window { position: absolute; inset: 0; animation: intro-fade 1.2s ease both; }
.intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 小人與光暈都放在畫面正中間 */
.intro-glow { position: absolute; left: 50%; top: 50%; width: calc(var(--sh) * 2.6); aspect-ratio: 1; margin: calc(var(--sh) * -1.3) 0 0 calc(var(--sh) * -1.3); background: radial-gradient(closest-side, rgba(255, 246, 214, .5), rgba(255, 246, 214, 0)); opacity: 0; animation: intro-fade 1.4s ease .6s both, glow 10s ease-in-out .8s infinite; }
/* LOGO 的小靈魂＋兩旁的葉子枝條（原 LOGO 排列）：枝條從下往上長出來圍住小靈魂，之後跟著一起呼吸 */
.intro-soul { position: absolute; left: 50%; top: 50%; height: calc(var(--sh) * 1.3); width: calc(var(--sh) * 1.3 * 1.485); margin: calc(var(--sh) * -.68) 0 0 calc(var(--sh) * -.965); overflow: visible; filter: drop-shadow(0 6px 14px rgba(0, 30, 25, .35)); }
.intro-soul .soul { transform-box: fill-box; transform-origin: 50% 100%; animation: intro-rise 1.4s ease .6s both, breathe 10s ease-in-out .8s infinite; }
.intro-soul .branch { transform-box: fill-box; transform-origin: 50% 100%; }
.intro-soul .branch-l { animation: sway-l 10s ease-in-out .8s infinite; }
.intro-soul .branch-r { animation: sway-r 10s ease-in-out .8s infinite; }
.intro-soul .stem { clip-path: inset(100% 0 0 0); animation: grow-stem 4s linear .8s forwards; }
/* 葉子跟著枝條長到的位置，一片一片冒出來（12 片，第一個吸氣的 4 秒內長完） */
.intro-soul .leaf { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; animation: grow-leaf 1.2s cubic-bezier(.25, .8, .35, 1) calc(.85s + var(--i) * .33s) forwards; }
/* 背景是深色葉影，枝條的深綠改成奶油白才看得到（淺綠葉子維持 LOGO 色） */
.intro-soul .branch [fill="#003f37"] { fill: #fff7e2; }
@keyframes grow-stem { to { clip-path: inset(0 0 0 0); } }
@keyframes grow-leaf { from { opacity: 0; transform: scale(.15); } to { opacity: 1; transform: scale(1); } }
/* 吸氣時枝條往外張開、吐氣收回 */
@keyframes sway-l { 0%, 100% { transform: rotate(0) scale(1); } 40% { transform: rotate(-8deg) scale(1.07); } }
@keyframes sway-r { 0%, 100% { transform: rotate(0) scale(1); } 40% { transform: rotate(8deg) scale(1.07); } }
.intro-line { position: absolute; left: 0; right: 0; top: calc(50% + var(--sh) * .7 + 22px); margin: 0; padding: 0 16px; text-align: center; font-family: var(--font-en); font-weight: 700; text-transform: uppercase; font-size: clamp(13px, 1.5vw, 19px); letter-spacing: .32em; text-indent: .32em; line-height: 2.3; color: #fff; text-shadow: 0 2px 14px rgba(0, 30, 25, .6); }
.intro-line span { display: block; opacity: 0; animation: intro-fade 1.4s ease both; }
.intro-line span:nth-child(1) { animation-delay: 1.4s; }
.intro-line span:nth-child(2) { animation-delay: 2.9s; }
.intro-line span:nth-child(3) { animation-delay: 4.4s; }
.intro-enter { position: absolute; left: 50%; bottom: 5vh; transform: translateX(-50%); z-index: 1; padding: 10px 26px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .55); background: rgba(0, 63, 55, .35); color: #fff; font: inherit; font-size: 14px; letter-spacing: .2em; cursor: pointer; backdrop-filter: blur(4px); animation: intro-fade 1.2s ease 1s both; }
.intro-enter:hover, .intro-enter:focus-visible { background: rgba(255, 255, 255, .18); }
@keyframes intro-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-rise { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
/* 一次呼吸 10 秒：吸 4 秒（身體微微長大）、吐 6 秒 */
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 40% { transform: scale(1.03, 1.065); } }
@keyframes glow { 0%, 100% { opacity: .35; scale: .9; } 40% { opacity: 1; scale: 1.08; } }

/* 直的螢幕（手機）：小人小一點 */
@media (max-aspect-ratio: 4 / 5) {
  .intro { --sh: clamp(90px, 13vh, 140px); }
}

/* LOGO 元素（枝條、小靈魂）當裝飾：取代原本的手繪蕨葉、龜背芋 */
.deco { position: absolute; pointer-events: none; overflow: visible; z-index: 0; }
.about-branch { width: 52px; height: 245px; right: 4%; top: 48px; --b-dark: rgba(0, 63, 55, .2); --b-light: rgba(0, 63, 55, .1); }
.yoga-branch { width: 52px; height: 245px; right: 4%; top: 40px; --b-dark: rgba(0, 63, 55, .2); --b-light: rgba(124, 224, 221, .55); }
.space-branch { width: 52px; height: 245px; left: 3%; top: 56px; transform: scaleX(-1); --b-dark: rgba(0, 63, 55, .2); --b-light: rgba(0, 63, 55, .1); }
.footer-wreath { width: 230px; height: 155px; right: 5%; bottom: 24px; --b-dark: rgba(124, 224, 221, .3); --b-light: rgba(124, 224, 221, .5); --b-soul: rgba(124, 224, 221, .45); --b-face: #003f37; }
.about-soul { display: block; width: 132px; height: 89px; margin: 22px 0 10px; }

/* 我要約課：點開選要約哪一種（團體課、1 對 1、工作坊、跑步班的報名頁不一樣） */
.book-menu { position: relative; }
.book-toggle { border: 0; cursor: pointer; font: inherit; }
.book-toggle::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.book-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.book-list { position: absolute; right: 0; top: calc(100% + 10px); width: 270px; padding: 8px; border-radius: 16px; background: var(--paper); box-shadow: 0 14px 34px rgba(0, 63, 55, .16); display: none; z-index: 60; }
.book-list.open { display: block; }
.hero-book .book-list { left: 0; right: auto; text-align: left; }
.book-list a, .site-header:not(.scrolled) .nav-links .book-list a { display: block; padding: 11px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); white-space: normal; }
.book-list a:hover, .book-list a:focus-visible { background: var(--teal-soft); }
.book-list a.run:hover, .book-list a.run:focus-visible { background: var(--run-green); }
.book-list b { display: block; font-size: 15px; }
.book-list small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
@media (max-width: 1240px) {
  /* 手機選單：約課放最上面，選單太長可以捲動 */
  .nav-links { max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav-links .book-menu { order: -1; margin-bottom: 6px; }
  .site-header .nav-links .book-toggle { margin-top: 8px; width: 100%; }
  .nav-links .book-list { position: static; width: auto; box-shadow: none; background: transparent; padding: 6px 0 0; }
  .site-header .nav-links .book-list a { padding: 10px 4px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); }
}
@media (max-width: 760px) {
  .about-branch, .yoga-branch, .space-branch { width: 34px; height: 160px; opacity: .8; }
  .footer-wreath { width: 150px; height: 101px; right: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  .swash-line { stroke-dashoffset: 0; animation: none !important; }
  .sw-leaf { opacity: 1; transform: none; animation: none !important; }
}
