/* ============================================
   Ted 桃園家教式精緻個別指導 — v4
   Type & layout consistency pass
   ------------------------------------------------
   字級系統（桌面 / 手機）— 全站只用這四級：
     --fs-1  首頁主標            48 / 32
     --fs-2  區塊標題、故事主標    32 / 26
     --fs-3  小標、重點引言       22 / 20
     --fs-4  正文、說明、標籤、按鈕 18 / 17
   展示型例外（統一一種樣式）：.display（= --fs-1）
   字體：標題 = Noto Serif TC；其他 = Noto Sans TC
   ============================================ */

:root {
  --ink:        #14171d;
  --ink-2:      #363b45;
  --ink-3:      #5b6270;

  --navy:       #17335a;
  --navy-2:     #0f2544;
  --navy-3:     #2a4a76;
  --navy-tint:  #eaf0f7;

  --paper:      #fbfaf7;
  --paper-2:    #f4f1ea;
  --paper-3:    #ede8dc;
  --line:       #e4e0d7;
  --line-2:     #ecebe6;
  --line-3:     #d3cec3;

  --accent:     #b8894a;
  --accent-2:   #8b6737;
  --success:    #1f7a5a;
  --muted:      #6e6d66;

  --serif: "Noto Serif TC", "Songti TC", "PingFang TC", serif;
  --sans:  "Noto Sans TC", "PingFang TC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  /* type scale */
  --fs-1: 48px;
  --fs-2: 32px;
  --fs-3: 22px;
  --fs-4: 18px;
  --lh-body: 1.85;
  --lh-head: 1.45;

  /* spacing */
  --sp-head: 20px;      /* 標題 → 正文 */
  --sp-label: 14px;     /* 標籤 → 標題 */
  --sp-block: clamp(40px, 5vw, 56px);  /* 區塊之間（圖、引言、數字） */

  --max:      1240px;
  --read:     720px;    /* 單欄長文寬度 */
  --pad-x:    clamp(20px, 4.5vw, 44px);
  --measure:  calc(var(--read) + 2 * var(--pad-x));

  --radius-img: 8px;
  --shadow-sm: 0 1px 2px rgba(20,23,29,0.04), 0 1px 3px rgba(20,23,29,0.06);
  --shadow:    0 2px 6px rgba(20,23,29,0.05), 0 10px 24px rgba(20,23,29,0.06);

  --btn-pad: 13px 26px;
  --btn-h: 50px;
}
@media (max-width: 720px) {
  :root {
    --fs-1: 32px;
    --fs-2: 26px;
    --fs-3: 20px;
    --fs-4: 17px;
    --pad-x: 20px;
    --sp-head: 16px;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: var(--sans);
  font-size: var(--fs-4);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--navy); color: #fff; }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: var(--lh-head);
  letter-spacing: 0.01em;
  text-wrap: balance;
}
p, li, blockquote, figcaption { text-wrap: pretty; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }

section { padding: clamp(64px, 8vw, 112px) 0; }

/* 標籤（eyebrow / kicker）：正文字級，以顏色與字重區分 */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-4);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.nowrap { white-space: nowrap; }

/* ============================================
   BUTTONS — 全站同一套
============================================ */
.btn, .nav-cta, .rv-more, .mobile-bar a {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h);
  padding: var(--btn-pad);
  font-family: var(--sans);
  font-size: var(--fs-4);
  font-weight: 500;
  line-height: 1.3;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover, .nav-cta:hover { transform: translateY(-1px); }
.btn svg, .nav-cta svg { width: 16px; height: 16px; flex: none; }
.btn-line { background: #06C755; color: #fff; box-shadow: 0 4px 14px rgba(6,199,85,0.28); }
.btn-line:hover { background: #05B048; box-shadow: 0 6px 18px rgba(6,199,85,0.36); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
/* 次要：Facebook 粉專（低強調外框，權重低於 LINE / 預約） */
.btn-fb { background: transparent; color: var(--ink-2); border: 1px solid var(--line); }
.btn-fb:hover { border-color: #1877F2; color: #1877F2; background: #fff; }
.btn-fb-icon {
  width: 18px; height: 18px; background: #1877F2; color: #fff;
  border-radius: 50%; font-size: 13px; font-weight: 700; line-height: 1;
  font-family: Helvetica, Arial, sans-serif;
  display: inline-flex; align-items: flex-end; justify-content: center; padding-bottom: 1px; flex: none;
}
@media (max-width: 720px) {
  .final .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .final .hero-ctas .btn { width: 100%; min-height: 52px; }
}
.btn-line-icon {
  width: 18px; height: 18px; background: #fff; color: #06C755;
  border-radius: 4px; font-size: 11px; font-weight: 700; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}

/* ============================================
   NAV
============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line-2); }
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x);
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); min-width: 0; }
.brand-mono { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.brand-cn { font-family: var(--serif); font-size: var(--fs-4); font-weight: 600; color: var(--ink); white-space: nowrap; }
.brand-en { font-family: var(--sans); font-size: var(--fs-4); color: var(--muted); white-space: nowrap; font-weight: 400; }

.nav-links { display: flex; gap: 22px; list-style: none; }
.nav-links a {
  font-size: var(--fs-4); color: var(--ink-2); padding: 6px 0;
  position: relative; transition: color 0.2s; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta { background: var(--navy); color: #fff; }
.nav-cta:hover { background: var(--navy-2); }
.nav-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1240px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--line);
    border-radius: 999px; background: #fff; flex: none;
  }
  .nav-toggle svg { width: 18px; height: 18px; stroke: var(--ink); }
  .mobile-menu {
    display: block;
    position: fixed; top: 72px; left: 0; right: 0;
    max-height: calc(100vh - 72px); overflow-y: auto;
    background: var(--paper); border-bottom: 1px solid var(--line-2);
    padding: 8px var(--pad-x) 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0s 0.25s; z-index: 49;
    box-shadow: var(--shadow);
  }
  .mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; visibility: visible; transition: opacity 0.25s, transform 0.25s; }
  .mobile-menu ul { list-style: none; display: flex; flex-direction: column; max-width: var(--read); margin: 0 auto; }
  .mobile-menu a {
    display: block; padding: 14px 0; font-size: var(--fs-4);
    border-bottom: 1px solid var(--line-2); color: var(--ink);
  }
}
@media (max-width: 400px) {
  .brand-en { display: none; }
}

/* ============================================
   HERO
============================================ */
.hero {
  padding-top: clamp(112px, 13vw, 148px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: #fff; border: 1px solid var(--line);
  color: var(--ink-2); font-size: var(--fs-4); line-height: 1.5; border-radius: 999px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.badge.navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.badge.navy .dot { background: #d3b581; }

.hero h1 {
  font-size: var(--fs-1);
  line-height: 1.4;
  margin-bottom: var(--sp-head);
}
.hero h1 em {
  font-style: normal;
  color: var(--navy);
  background-image: linear-gradient(transparent 70%, rgba(184,137,74,0.22) 70%);
}
.hero-sub {
  font-size: var(--fs-4); color: var(--ink-3); line-height: var(--lh-body);
  margin-bottom: 32px; max-width: 34em;
}
.hero-sub .divider {
  display: inline-block; width: 1px; height: 0.8em;
  background: var(--line-3); vertical-align: middle; margin: 0 10px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-trust {
  display: flex; gap: 8px 22px; flex-wrap: wrap;
  font-size: var(--fs-4); color: var(--ink-3);
  padding-top: 20px; border-top: 1px solid var(--line-2);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--success); flex: none; }

.hero-visual {
  position: relative; padding: 18px;
  background: linear-gradient(180deg, #fff 0%, #f7f4ec 100%);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
}
.hv-photo {
  aspect-ratio: 4 / 5; background: var(--paper-2);
  border-radius: var(--radius-img); overflow: hidden; margin-bottom: 16px;
}
.hv-photo > img { width: 100%; height: 100%; object-fit: cover; }
.hv-caption { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; padding: 4px 4px 0; flex-wrap: wrap; }
.hv-caption-l { display: flex; flex-direction: column; gap: 2px; }
.hv-caption-t { font-size: var(--fs-4); color: var(--muted); line-height: 1.5; }
.hv-caption-n { font-family: var(--serif); font-size: var(--fs-4); color: var(--ink); font-weight: 600; line-height: 1.5; }
.hv-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.hv-tags span { font-size: var(--fs-4); line-height: 1.4; padding: 3px 10px; background: var(--navy-tint); color: var(--navy); border-radius: 4px; }

.hv-stat {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
}
.hv-stat-num { font-family: var(--serif); font-size: var(--fs-3); color: var(--navy); font-weight: 600; line-height: 1; }
.hv-stat-l { font-size: var(--fs-4); color: var(--ink-3); line-height: 1.4; }
.hv-stat.a { top: 32px; left: -20px; }
.hv-stat.b { bottom: 110px; right: -22px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; width: 100%; margin: 8px auto 0; }
  .hv-stat.a { left: 8px; top: 26px; }
  .hv-stat.b { right: 8px; }
}
@media (max-width: 720px) {
  .hero h1 br { display: none; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hv-stat { padding: 10px 12px; gap: 10px; }
}

/* ============================================
   STATEMENT — 全幅照片 + 過場短句
============================================ */
.statement { padding: 0; }
.statement-figure {
  aspect-ratio: 21 / 9;
  background: var(--paper-2);
  overflow: hidden;
}
.statement-figure > img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.statement-line {
  padding: clamp(48px, 7vw, 88px) var(--pad-x);
  max-width: var(--measure);
  margin: 0 auto;
  text-align: center;
}
.statement-line .eyebrow { margin-bottom: 24px; }
.statement-line p {
  font-family: var(--serif);
  font-size: var(--fs-3);
  line-height: 1.8;
  color: var(--ink);
  font-weight: 500;
  text-wrap: balance;
}
.statement-line p.statement-sub {
  margin-top: 1em;
  font-size: var(--fs-4);
  color: var(--muted);
  font-weight: 400;
}
@media (max-width: 720px) {
  .statement-figure { aspect-ratio: 4 / 3; }
}

/* ============================================
   EDITORIAL — long-form story
   共用：字級、正文寬度、行距、基本間距
   各篇版型（置中/靠左標題、圖片位置、引言樣式）保留
============================================ */
.story { padding: clamp(64px, 8vw, 112px) 0; }
.story + .story,
.story-sep { border-top: 1px solid var(--line); }

.story-meta {
  max-width: var(--measure);
  margin: 0 auto var(--sp-label);
  padding: 0 var(--pad-x);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 20px;
  flex-wrap: wrap;
  font-size: var(--fs-4);
  line-height: 1.5;
}
.story-meta .kicker { color: var(--accent-2); font-weight: 600; letter-spacing: 0.02em; }
.story-meta .tag { color: var(--muted); }

.story-title {
  max-width: var(--measure);
  margin: 0 auto clamp(28px, 4vw, 40px);
  padding: 0 var(--pad-x);
  font-size: var(--fs-2);
  line-height: 1.45;
}
.story-title.center { text-align: center; }

.story-hero { margin: 0 auto var(--sp-block); padding: 0 var(--pad-x); }

/* ---------- 證明素材（成績單、對話截圖、手寫心得）---------- */
.proof {
  margin: 0 auto;
  width: 100%;
}
.proof--landscape { max-width: 960px; }
.proof--portrait  { max-width: 480px; }
.proof--long      { max-width: 340px; }

.figure { margin: var(--sp-block) auto; padding: 0 var(--pad-x); }

.proof-media {
  display: block; width: 100%;
  position: relative;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.proof-media:hover { box-shadow: var(--shadow); border-color: var(--line-3); }
.proof-media:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.proof-media > img { width: 100%; height: auto; display: block; }
.proof-zoom-ico {
  position: absolute; right: 10px; bottom: 10px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(20,23,29,0.62); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.85; transition: opacity 0.2s;
}
.proof-zoom-ico svg { width: 18px; height: 18px; }
.proof-media:hover .proof-zoom-ico { opacity: 1; }

.proof figcaption {
  margin-top: 12px;
  font-size: var(--fs-4);
  line-height: 1.7;
  color: var(--ink-3);
  text-align: left;
}
.proof--landscape figcaption { max-width: var(--read); }

@media (max-width: 720px) {
  .proof--long { max-width: 300px; }
}

/* ---------- 長文正文 ---------- */
.prose {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  color: var(--ink-2);
}
.prose > * + * { margin-top: 1em; }
.prose p {
  font-size: var(--fs-4);
  line-height: var(--lh-body);
  color: var(--ink-2);
}
.prose p.lede {
  font-family: var(--serif);
  font-size: var(--fs-3);
  line-height: 1.8;
  color: var(--ink);
  font-weight: 500;
}
.prose p.lede .lede-aside {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: var(--fs-4);
  line-height: 1.75;
  color: var(--ink-3);
  font-weight: 400;
}
.prose p.lede + p { margin-top: 1.2em; }
.prose h3 {
  font-size: var(--fs-3);
  color: var(--ink);
  margin-top: 2em;
}
.prose h3 + p { margin-top: 12px; }
.prose em { font-style: normal; color: var(--navy); font-weight: 500; }
.prose strong { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) {
  .prose p.lede br { display: none; }
}

/* ---------- 重點引言 ----------
   .pullquote        一般重點引言：左側細線 + 縮排（全站統一）
   .pullquote.said   有敘事作用的「學生說的話」：較強的展示樣式（全站統一一種）
*/
.pullquote {
  max-width: var(--measure);
  margin: var(--sp-block) auto;
  padding: 0 var(--pad-x);
}
.pullquote blockquote {
  font-family: var(--serif);
  font-size: var(--fs-3);
  line-height: 1.75;
  color: var(--ink);
  font-weight: 500;
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 24px;
}
.pullquote.said blockquote {
  font-size: var(--fs-2);
  line-height: 1.5;
  font-weight: 600;
  color: var(--navy);
  border-left: none;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 28px 0;
  text-wrap: balance;
}
@media (max-width: 720px) {
  .pullquote blockquote { padding-left: 18px; }
  .pullquote.said blockquote { padding: 22px 0; }
}

/* ---------- 成果數字（同一種展示樣式）---------- */
.stat-callout {
  max-width: var(--measure);
  margin: var(--sp-block) auto;
  padding: 0 var(--pad-x);
}
.stat-callout-in {
  display: flex;
  align-items: center;
  gap: 16px 32px;
  flex-wrap: wrap;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 24px 0;
}
.stat-callout .num {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.stat-callout .from {
  font-size: var(--fs-2); color: var(--ink-3); font-weight: 500;
  text-decoration: line-through; text-decoration-color: var(--line-3); text-decoration-thickness: 2px;
}
.stat-callout .arr { font-family: var(--sans); font-size: var(--fs-3); color: var(--accent); font-weight: 400; }
.stat-callout .to { font-size: var(--fs-1); color: var(--navy); }
.stat-callout sup {
  font-family: var(--sans); font-size: var(--fs-4); font-weight: 500;
  color: var(--muted); margin-left: 4px; vertical-align: super; line-height: 0;
}
.stat-callout .from sup { color: inherit; }
.stat-callout .label {
  flex: 1 1 260px;
  font-size: var(--fs-4);
  line-height: 1.7;
  color: var(--ink-3);
}

/* ---------- 故事結尾大字（展示型例外）---------- */
.bigline {
  max-width: 1100px;
  margin: clamp(56px, 8vw, 96px) auto 0;
  padding: clamp(40px, 6vw, 72px) var(--pad-x) 0;
  border-top: 1px solid var(--line-2);
  text-align: center;
}
.bigline-lead {
  font-family: var(--serif);
  font-size: var(--fs-3);
  color: var(--muted);
  margin: 0 0 16px;
}
.bigline-main, .ted-core-main {
  font-family: var(--serif);
  font-size: var(--fs-1);
  line-height: 1.4;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

/* ============================================
   ABOUT TED
============================================ */
.ted-name {
  max-width: var(--read);
  width: calc(100% - 2 * var(--pad-x));
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.ted-letter {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  padding: 18px 0 16px;
  min-width: 0;
}
.ted-letter + .ted-letter { padding-left: 18px; border-left: 1px solid var(--line); }
.ted-letter .L { font-family: var(--serif); font-weight: 600; font-size: var(--fs-2); line-height: 1; color: var(--navy); }
.ted-letter .w { font-family: var(--serif); font-size: var(--fs-4); color: var(--ink-3); white-space: nowrap; }
.ted-letter .zh { grid-column: 1 / -1; margin-top: 6px; font-size: var(--fs-4); letter-spacing: 0.12em; color: var(--accent-2); font-weight: 500; }
@media (max-width: 560px) {
  .ted-name { grid-template-columns: 1fr; }
  .ted-letter { grid-template-columns: auto 1fr auto; padding: 12px 0; }
  .ted-letter + .ted-letter { padding-left: 0; border-left: none; border-top: 1px solid var(--line); }
  .ted-letter .zh { grid-column: auto; margin-top: 0; }
}

.voices {
  max-width: var(--measure);
  margin: 24px auto 0;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
}
.voice {
  font-family: var(--serif);
  font-size: var(--fs-4);
  line-height: 1.75;
  color: var(--ink);
  padding: 14px 0 14px 1.2em;
  border-top: 1px solid var(--line);
  position: relative;
}
.voice:last-child { border-bottom: 1px solid var(--line); }
.voice::before { content: "「"; position: absolute; left: 0; top: 14px; color: var(--accent); }
.voice::after { content: "」"; color: var(--accent); }
.voices-after {
  max-width: var(--measure);
  margin: 24px auto 1em;
  padding: 0 var(--pad-x);
  font-family: var(--serif);
  font-size: var(--fs-3);
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
}

.ted-core {
  max-width: 1000px;
  margin: var(--sp-block) auto;
  padding: clamp(40px, 6vw, 72px) var(--pad-x);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  text-align: center;
}
.ted-core-main { color: var(--ink); }
.ted-core-main em {
  font-style: normal; color: var(--navy);
  background: linear-gradient(transparent 68%, rgba(184,137,74,0.28) 68%);
  padding: 0 0.08em;
}
@media (max-width: 720px) {
  .ted-core-main { font-size: var(--fs-2); }
  .ted-core-main .nowrap { white-space: normal; }
}

.ted-points {
  list-style: none;
  max-width: var(--read);
  width: calc(100% - 2 * var(--pad-x));
  margin: 32px auto 1em;
}
.ted-point {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.ted-point:last-child { border-bottom: 1px solid var(--line); }
.ted-point .n {
  grid-row: 1 / span 2;
  font-size: var(--fs-4); font-weight: 600; color: var(--accent-2);
  line-height: 1.6; font-variant-numeric: tabular-nums;
}
.ted-point h4 { font-size: var(--fs-3); margin-bottom: 8px; }
.ted-point p { font-size: var(--fs-4); line-height: var(--lh-body); color: var(--ink-2); }
@media (max-width: 480px) { .ted-point { grid-template-columns: 34px 1fr; column-gap: 6px; } }

.ted-sign {
  max-width: var(--measure);
  margin: var(--sp-block) auto 0;
  padding: 0 var(--pad-x);
}
.ted-sign::before { content: ""; display: block; height: 1px; background: var(--ink); margin-bottom: 24px; }
.ted-sign-main { font-family: var(--serif); font-size: var(--fs-3); font-weight: 600; color: var(--navy); line-height: 1.6; text-wrap: balance; }
.ted-sign-sub { font-family: var(--serif); font-size: var(--fs-4); color: var(--ink-3); margin-top: 8px; }
@media (max-width: 720px) { .ted-sign-main br { display: none; } }

/* founder */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.about-photo {
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-img);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.about-body { max-width: var(--read); }
.about-role { font-size: var(--fs-4); font-weight: 600; color: var(--accent-2); margin-bottom: var(--sp-label); }
.about-body .about-lead {
  font-family: var(--serif);
  font-size: var(--fs-2);
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-head);
  text-wrap: balance;
}
.about-body .about-lead em {
  font-style: normal; color: var(--navy);
  background: linear-gradient(transparent 68%, rgba(184,137,74,0.28) 68%);
}
.about-body p { font-size: var(--fs-4); line-height: var(--lh-body); color: var(--ink-2); }
.about-body p + p { margin-top: 1em; }
.about-sign {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
}
.about-sign-name { font-family: var(--serif); font-size: var(--fs-3); font-weight: 600; color: var(--ink); }
.about-sign-role { font-size: var(--fs-4); color: var(--ink-2); }
.about-sign-since { font-size: var(--fs-4); color: var(--accent-2); margin-left: auto; }
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 340px; position: static; }
  .about-body .about-lead br { display: none; }
}
@media (max-width: 480px) { .about-sign-since { margin-left: 0; flex-basis: 100%; } }

/* ============================================
   INFO SECTION HEAD（課程、流程、評論、FAQ 共用）
============================================ */
.info-head {
  max-width: 1120px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  padding: 0 var(--pad-x);
}
.info-head-left { max-width: var(--read); }
.info-head .eyebrow { margin-bottom: var(--sp-label); }
.info-head h2 { font-size: var(--fs-2); margin-bottom: 12px; }
.info-head p { font-size: var(--fs-4); color: var(--ink-3); line-height: var(--lh-body); }

/* ============================================
   COURSES
============================================ */
.course-block { max-width: 1120px; margin: 0 auto; padding: 0 var(--pad-x); }
.course-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  margin-bottom: 32px;
}
.tab-btn {
  min-height: 44px;
  padding: 8px 26px;
  font-size: var(--fs-4);
  font-weight: 500;
  border-radius: 999px;
  color: var(--ink-3);
  transition: background 0.25s, color 0.25s;
}
.tab-btn.active { background: var(--navy); color: #fff; }
.course-panel { display: none; }
.course-panel.active { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.course-side .course-tagline { font-size: var(--fs-4); font-weight: 600; color: var(--accent-2); margin-bottom: var(--sp-label); }
.course-side h3 { font-size: var(--fs-3); line-height: 1.55; margin-bottom: var(--sp-head); }
.course-side .who { font-size: var(--fs-4); color: var(--ink-2); line-height: var(--lh-body); }
.course-side .who + .who { margin-top: 1em; }
.course-detail h5 {
  font-family: var(--serif);
  font-size: var(--fs-4);
  color: var(--navy);
  margin: 32px 0 8px;
  font-weight: 600;
}
.course-detail h5:first-child { margin-top: 0; }
.course-detail p { font-size: var(--fs-4); line-height: var(--lh-body); color: var(--ink-2); }
.course-list { list-style: none; }
.course-list li {
  font-size: var(--fs-4);
  line-height: var(--lh-body);
  color: var(--ink-2);
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--line-2);
  position: relative;
}
.course-list li::before {
  content: ""; position: absolute; left: 0; top: calc(12px + 0.92em);
  width: 10px; height: 1px; background: var(--accent);
}
@media (max-width: 820px) {
  .course-panel.active { grid-template-columns: 1fr; }
  .course-side h3 br { display: none; }
}

/* ============================================
   PROCESS
============================================ */
.process { background: var(--paper-2); }
.proc-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.proc-list { list-style: none; max-width: var(--read); }
.proc-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  position: relative;
  padding-bottom: 28px;
}
.proc-step:last-child { padding-bottom: 0; }
.proc-step::before {
  content: ""; position: absolute; left: 21.5px; top: 44px; bottom: 0;
  width: 1px; background: var(--line-3);
}
.proc-step:last-child::before { display: none; }
.proc-step .pnum {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--navy); background: var(--paper-2); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-4); font-weight: 600; font-variant-numeric: tabular-nums;
  position: relative; z-index: 1;
}
.proc-step .pbody { padding-top: 6px; }
.proc-step h4 { font-size: var(--fs-3); margin-bottom: 6px; }
.proc-step p { font-size: var(--fs-4); color: var(--ink-2); line-height: var(--lh-body); }
.proc-photo { margin: 0; align-self: center; }
.proc-photo img {
  width: 100%; height: auto;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 55%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 72% at 50% 55%, #000 62%, transparent 100%);
}
@media (max-width: 860px) {
  .proc-wrap { grid-template-columns: 1fr; }
  .proc-photo { max-width: 300px; margin: 8px auto 0; }
}

/* ============================================
   PHILOSOPHY
============================================ */
.philosophy { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.philosophy .wrap { position: relative; z-index: 2; max-width: var(--measure); text-align: center; }
.philosophy .eyebrow { color: #d3b581; justify-content: center; }
.philosophy .eyebrow::before { background: #d3b581; }
.phil-quote {
  font-family: var(--serif);
  font-size: var(--fs-2);
  line-height: 1.7;
  color: #fff;
  margin: 28px auto 0;
  font-weight: 500;
  text-wrap: balance;
}
.phil-sign { margin-top: 32px; font-size: var(--fs-4); color: rgba(255,255,255,0.72); }
.phil-bg {
  position: absolute; inset: 0; opacity: 0.06;
  background-image: repeating-linear-gradient(45deg, transparent 0, transparent 40px, #d3b581 40px, #d3b581 41px);
  pointer-events: none;
}

/* ============================================
   REVIEWS — 名稱 → 星等 → 內容 → 來源
============================================ */
.reviews { background: var(--paper-2); border-top: 1px solid var(--line-2); }
.rv-wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--pad-x); }
.rv-grid { columns: 2; column-gap: 20px; }
.rv-card {
  break-inside: avoid;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 28px 22px;
  margin-bottom: 20px;
}
.rv-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.rv-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--navy-tint); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: var(--fs-4);
}
.rv-who { display: flex; flex-direction: column; gap: 2px; line-height: 1.4; min-width: 0; }
.rv-name { font-size: var(--fs-4); font-weight: 600; color: var(--ink); }
.rv-rate { display: flex; align-items: center; gap: 4px 10px; flex-wrap: wrap; }
.rv-stars { color: #d99a12; letter-spacing: 2px; font-size: var(--fs-4); line-height: 1; }
.rv-meta { font-size: var(--fs-4); color: var(--muted); font-size: inherit; }
.rv-rate .rv-meta { font-size: var(--fs-4); }
.rv-hl {
  font-family: var(--serif); font-size: var(--fs-3); font-weight: 600; color: var(--navy);
  line-height: 1.45; margin-bottom: 10px;
}
.rv-body { position: relative; }
.rv-body p { font-size: var(--fs-4); line-height: var(--lh-body); color: var(--ink-2); }
.rv-body p + p { margin-top: 0.8em; }
.rv-body.is-clamped { max-height: calc(var(--fs-4) * 1.85 * 6); overflow: hidden; }
.rv-body.is-clamped::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em;
  background: linear-gradient(rgba(255,255,255,0), #fff 85%);
  pointer-events: none;
}
.rv-toggle {
  align-self: flex-start;
  margin-top: 6px;
  min-height: 44px;
  font-size: var(--fs-4); font-weight: 500; color: var(--navy);
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid transparent;
}
.rv-toggle:hover { color: var(--navy-2); }
.rv-toggle::after { content: "↓"; color: var(--accent); }
.rv-toggle[aria-expanded="true"]::after { content: "↑"; }

.rv-reply { margin-top: 14px; border-top: 1px solid var(--line-2); padding-top: 6px; }
.rv-reply summary {
  list-style: none; cursor: pointer; font-size: var(--fs-4); color: var(--navy-3);
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
}
.rv-reply summary::-webkit-details-marker { display: none; }
.rv-reply summary::after { content: "+"; color: var(--accent); font-size: var(--fs-3); line-height: 1; }
.rv-reply[open] summary::after { content: "−"; }
.rv-reply-body { margin: 4px 0 8px; padding-left: 16px; border-left: 2px solid var(--line); }
.rv-reply-body p { font-size: var(--fs-4); line-height: var(--lh-body); color: var(--ink-3); }
.rv-reply-body p + p { margin-top: 0.6em; }
.rv-src {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2);
  font-size: var(--fs-4); color: var(--muted); line-height: 1.5;
  display: flex; align-items: center; gap: 8px;
}
.rv-src svg { width: 16px; height: 16px; flex: none; }

.rv-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; margin-top: 8px; border-top: 1px solid var(--line);
  font-size: var(--fs-4); color: var(--ink-3);
}
.rv-more { border: 1px solid var(--navy); color: var(--navy); background: #fff; }
.rv-more:hover { background: var(--navy); color: #fff; }
@media (max-width: 760px) {
  .rv-grid { columns: 1; }
  .rv-card { padding: 22px 20px 16px; }
  .rv-foot { flex-direction: column; align-items: stretch; }
  .rv-more { white-space: normal; text-align: center; }
}

/* ============================================
   FAQ
============================================ */
.faq-list { max-width: calc(860px + 2 * var(--pad-x)); margin: 0 auto; padding: 0 var(--pad-x); }
.faq-item {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: var(--line-3); }
.faq-item.open { border-color: var(--navy); box-shadow: 0 0 0 0.5px var(--navy); }
.faq-q {
  width: 100%; text-align: left;
  padding: 16px 22px; min-height: 60px;
  font-family: var(--serif); font-size: var(--fs-4); color: var(--ink); font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  line-height: 1.55;
}
.faq-q-t { display: flex; align-items: baseline; gap: 14px; }
.faq-n { font-family: var(--sans); font-size: var(--fs-4); font-weight: 500; color: var(--accent-2); flex: none; font-variant-numeric: tabular-nums; }
.faq-q .toggle { width: 14px; height: 14px; position: relative; flex-shrink: 0; }
.faq-q .toggle::before, .faq-q .toggle::after { content: ""; position: absolute; background: var(--navy); }
.faq-q .toggle::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.faq-q .toggle::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); transition: transform 0.3s; }
.faq-item.open .faq-q .toggle::after { transform: translateX(-50%) scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.faq-a-inner { padding: 0 22px 20px calc(22px + 2ch + 14px); font-size: var(--fs-4); line-height: var(--lh-body); color: var(--ink-2); }
.faq-a-inner > * + * { margin-top: 0.8em; }
.faq-a-inner strong { color: var(--ink); font-weight: 600; }
.faq-eg { color: var(--ink-3); }

.faq-price { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.faq-price table { width: 100%; border-collapse: collapse; font-size: var(--fs-4); line-height: 1.5; }
.faq-price th, .faq-price td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line-2); }
.faq-price tbody tr:last-child th, .faq-price tbody tr:last-child td { border-bottom: none; }
.faq-price thead th { background: var(--paper-2); font-weight: 500; color: var(--ink-3); }
.faq-price thead th:not(:first-child), .faq-price td { text-align: right; }
.faq-price tbody th { font-weight: 600; color: var(--ink); font-family: var(--serif); }
.faq-price td { color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.faq-price .br-m { display: none; }

@media (max-width: 720px) {
  .faq-q { padding: 14px 16px; gap: 12px; }
  .faq-q-t { gap: 10px; }
  .faq-a-inner { padding: 0 16px 18px; }
  /* 價目表：手機改為逐年級堆疊，不需橫向捲動 */
  .faq-price table, .faq-price tbody, .faq-price tr, .faq-price th, .faq-price td { display: block; }
  .faq-price thead { display: none; }
  .faq-price tbody tr { padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
  .faq-price tbody tr:last-child { border-bottom: none; }
  .faq-price tbody th { padding: 0 0 6px; border: none; }
  .faq-price td {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 4px 0; border: none; text-align: right;
  }
  .faq-price td::before { content: attr(data-label); color: var(--ink-3); text-align: left; white-space: normal; }
}

/* ============================================
   FINAL CTA
============================================ */
.final { background: var(--paper-2); text-align: center; border-top: 1px solid var(--line-2); }
.final .wrap { max-width: var(--measure); }
.final .eyebrow { justify-content: center; }
.final h2 { font-size: var(--fs-2); line-height: 1.5; margin: 16px auto 12px; }
.final p { color: var(--ink-3); font-size: var(--fs-4); margin: 0 auto 32px; line-height: var(--lh-body); max-width: 30em; }
.final .hero-ctas { justify-content: center; margin-bottom: 24px; }
.final-note {
  font-size: var(--fs-4); color: var(--ink-3);
  padding-top: 24px; border-top: 1px solid var(--line); margin-top: 32px;
  display: flex; justify-content: center; gap: 8px 28px; flex-wrap: wrap;
}
.final-note span { display: inline-flex; align-items: center; gap: 8px; }
.final-note svg { width: 16px; height: 16px; }
@media (max-width: 720px) { .final h2 br { display: none; } }

/* ============================================
   FOOTER
============================================ */
footer { padding: 56px 0 32px; background: var(--navy-2); color: rgba(255,255,255,0.78); }
.foot-grid {
  max-width: var(--max); margin: 0 auto 36px;
  padding: 0 var(--pad-x);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px 40px;
}
.foot-brand { font-family: var(--serif); font-size: var(--fs-3); color: #fff; margin-bottom: 12px; font-weight: 600; line-height: 1.45; }
.foot-desc { font-size: var(--fs-4); color: rgba(255,255,255,0.65); line-height: var(--lh-body); max-width: 30em; }
.foot-col h5 { font-family: var(--sans); font-size: var(--fs-4); color: rgba(255,255,255,0.55); margin-bottom: 10px; font-weight: 600; letter-spacing: 0.04em; }
.foot-col a, .foot-col p { display: block; font-size: var(--fs-4); color: rgba(255,255,255,0.8); padding: 3px 0; line-height: 1.7; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  max-width: var(--max); margin: 0 auto;
  padding: 20px var(--pad-x) 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  font-size: var(--fs-4); color: rgba(255,255,255,0.55);
}
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ============================================
   LINE 浮動按鈕 / 手機底部列
============================================ */
.line-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  background: #06C755; color: #fff; border-radius: 999px;
  min-height: var(--btn-h); padding: 0 22px 0 14px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-4); font-weight: 500;
  box-shadow: 0 6px 20px rgba(6,199,85,0.32), 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
}
.line-fab:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(6,199,85,0.42); }
.line-fab .ico {
  width: 24px; height: 24px; background: #fff; color: #06C755;
  border-radius: 6px; font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.line-fab.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
/* 中等寬度：內容離右緣較近，縮成圓形避免壓到 FAQ 與按鈕 */
@media (max-width: 1360px) {
  .line-fab { width: 56px; min-height: 56px; padding: 0; justify-content: center; right: 20px; bottom: 20px; }
  .line-fab .fab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .line-fab .ico { width: 28px; height: 28px; font-size: 15px; }
}

.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: rgba(251,250,247,0.98); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-bar { transition: transform 0.3s ease, opacity 0.3s ease; }
.mobile-bar.is-hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
.mobile-bar a { flex: 1; min-height: 48px; padding: 10px 12px; }
.mobile-bar .m-line { background: #06C755; color: #fff; }
.mobile-bar .m-book { background: var(--navy); color: #fff; }
@media (max-width: 720px) {
  .line-fab { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: 80px; }
}

/* ============================================
   LIGHTBOX — 證明圖片放大
============================================ */
.lb {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(14,17,22,0.92);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0s 0.25s;
}
.lb.open { opacity: 1; visibility: visible; transition: opacity 0.25s; }
.lb-bar {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 16px 12px 24px; color: rgba(255,255,255,0.85);
  font-size: var(--fs-4); line-height: 1.5;
}
.lb-cap { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-close {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.lb-close:hover { background: rgba(255,255,255,0.22); }
.lb-close svg { width: 22px; height: 22px; }
.lb-stage {
  flex: 1; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch;
  display: flex; justify-content: center; align-items: flex-start;
  padding: 8px 16px 32px;
}
.lb-stage img {
  max-width: min(100%, 900px); height: auto; margin: auto;
  border-radius: 6px; background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
@media (max-width: 720px) {
  .lb-bar { padding: 10px 10px 10px 20px; padding-top: calc(10px + env(safe-area-inset-top)); }
  .lb-cap { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .lb-stage { padding: 4px 12px calc(24px + env(safe-area-inset-bottom)); }
}
body.lb-lock { overflow: hidden; }

/* ============================================
   Reveal
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s cubic-bezier(.2,.7,.2,1), transform 0.75s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
