/* ==========================================================================
   SEPO 賽波女性健身皮拉提斯 — 手機優先品牌官網
   Layout: 直式品牌手冊。全幅照片 + 金色髮絲線 + 大量留白，
           課程與空間用橫向滑動卡片，底部固定 CTA。
   ========================================================================== */

:root {
  /* 色彩：奶油米、香檳金、咖啡棕，取自 SEPO 品牌視覺 */
  --cream: #F7F1E8;
  --cream-2: #EFE5D8;
  --sand: #E3D4BF;
  --gold: #C6A46B;
  --gold-2: #E4CBA0;
  --gold-deep: #9F7D45;
  --rose: #D8A596;
  --sage: #8F9A84;
  --ink: #2E241D;
  --brown: #5A4537;
  --muted: #8B7868;
  --line: rgba(90, 69, 55, 0.14);
  --espresso: #231B16;
  --espresso-2: #2E241D;
  --cream-on-dark: #F3EADF;
  --muted-on-dark: #B9A997;
  --line-on-dark: rgba(243, 234, 223, 0.14);

  /* 字體：Didone 風英文顯示字（呼應 LOGO）、思源宋體中文標題、思源黑體內文 */
  --font-display: "Bodoni Moda", "Noto Serif TC", "Songti TC", Georgia, serif;
  --font-serif: "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 64px;
  --gutter: 20px;

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
html.is-loading, html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-2); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* 細緻顆粒質感 */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ---------- Typography ---------- */
.container { width: min(100% - var(--gutter) * 2, 1080px); margin-inline: auto; }
.container.narrow { max-width: 760px; }
.container.center { text-align: center; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.dark .eyebrow { color: var(--gold-2); }

.h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 6.6vw, 2.6rem);
  line-height: 1.32;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 26px;
}
.h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
  font-size: 0.78em;
  white-space: nowrap;
}
.dark .h2 { color: var(--cream-on-dark); }
.section-intro, .lead { font-size: 1.02rem; color: var(--brown); max-width: 36em; }
.lead { font-weight: 400; font-size: 1.1rem; color: var(--ink); }

.section { position: relative; padding-block: clamp(76px, 15vw, 128px); }
.dark { background: var(--espresso); color: var(--cream-on-dark); }

/* ---------- Buttons（Uiverse 風格金屬光澤） ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.08em;
  overflow: hidden; isolation: isolate;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.3s, color 0.3s, border-color 0.3s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn.sm { min-height: 44px; padding: 0 20px; font-size: 0.86rem; }
.btn.lg { min-height: 60px; padding: 0 38px; font-size: 1.02rem; }

.btn-gold {
  color: var(--ink);
  background: linear-gradient(135deg, #EBD7B1 0%, #CDAA72 48%, #AE8850 100%);
  box-shadow: 0 14px 34px -14px rgba(159, 125, 69, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(90, 69, 55, 0.25);
}
.btn-gold::after {
  content: ""; position: absolute; top: -40%; bottom: -40%; left: -70%; width: 36%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.72) 50%, transparent 100%);
  transform: skewX(-22deg);
  animation: btn-shine 5.2s var(--ease-soft) infinite;
  z-index: -1;
}
@keyframes btn-shine { 0%, 55% { left: -70%; } 100% { left: 140%; } }
.btn-gold:hover { box-shadow: 0 18px 40px -14px rgba(159, 125, 69, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.6); transform: translateY(-1px); }

.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(90, 69, 55, 0.35);
  background: rgba(247, 241, 232, 0.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.hero .btn-ghost, .dark .btn-ghost { color: var(--cream-on-dark); border-color: rgba(243, 234, 223, 0.45); background: rgba(35, 27, 22, 0.18); }
.hero .btn-ghost:hover, .dark .btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }

/* ShinyText（React Bits 風格文字掃光） */
.shiny {
  background: linear-gradient(110deg, var(--ink) 38%, #8a6d4e 50%, var(--ink) 62%);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: text-shine 3.6s linear infinite;
}
@keyframes text-shine { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }

/* ---------- Preloader ---------- */
.preloader { display: none; }
.js .preloader {
  display: flex; align-items: center; justify-content: center;
  position: fixed; inset: 0; z-index: 100;
  background: var(--cream);
  animation: pre-safety 0s 4.5s forwards; /* 腳本失敗時的保險：4.5 秒後自動消失 */
}
@keyframes pre-safety { to { visibility: hidden; pointer-events: none; opacity: 0; } }
.pre-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pre-word { display: flex; gap: 0.08em; font-family: var(--font-display); font-weight: 500; font-size: clamp(3.4rem, 18vw, 6rem); line-height: 1; color: var(--brown); letter-spacing: 0.08em; overflow: hidden; padding: 0.1em 0; }
.pre-word span { display: inline-block; opacity: 0; }
.pre-line { display: block; width: 88px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); }
.pre-tag { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-deep); opacity: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  display: flex; align-items: center; justify-content: space-between;
  transition: background-color 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft), -webkit-backdrop-filter 0.5s, backdrop-filter 0.5s;
}
.nav.scrolled {
  background: rgba(247, 241, 232, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.nav-logo { position: relative; display: block; width: 118px; height: 42px; }
.nav-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.45s var(--ease-soft); }
.nav .logo-dark { opacity: 0; }
.nav.scrolled .logo-light, .menu-open .nav .logo-light { opacity: 0; }
.nav.scrolled .logo-dark, .menu-open .nav .logo-dark { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta { display: none; }

.nav-burger {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(243, 234, 223, 0.45);
  background: rgba(35, 27, 22, 0.18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color 0.4s, background-color 0.4s;
}
.nav.scrolled .nav-burger, .menu-open .nav-burger { border-color: rgba(90, 69, 55, 0.3); background: rgba(247, 241, 232, 0.6); }
.nav-burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--cream-on-dark); transition: transform 0.45s var(--ease-out), background-color 0.4s, top 0.45s var(--ease-out); }
.nav-burger span:nth-child(1) { top: 18px; }
.nav-burger span:nth-child(2) { top: 26px; }
.nav.scrolled .nav-burger span, .menu-open .nav-burger span { background: var(--brown); }
.menu-open .nav-burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .nav-burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Fullscreen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 65;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 10px) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  background: rgba(247, 241, 232, 0.96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.5s var(--ease-soft), visibility 0s 0.5s;
}
.menu-open .menu { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.5s var(--ease-soft); }
.menu-mark { position: absolute; right: -8%; top: 14%; width: min(62vw, 300px); opacity: 0.1; pointer-events: none; filter: saturate(0.8); }
.menu-list { display: flex; flex-direction: column; gap: 4px; position: relative; }
.menu-list a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 10px 0;
  font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.6rem, 7.4vw, 2.4rem); letter-spacing: 0.08em; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.menu-list a em { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); min-width: 4.6em; }
.menu-list li { opacity: 0; transform: translateY(24px); }
.menu-foot { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; opacity: 0; transform: translateY(16px); }
.menu-ig { font-family: var(--font-display); font-size: 0.86rem; letter-spacing: 0.16em; color: var(--brown); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 0;
  color: var(--cream-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--espresso-2); }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 42%; transform-origin: 50% 40%; }
.js .hero-media img { animation: kenburns 11s var(--ease-out) forwards, drift 22s 11s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
@keyframes drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.06) translate3d(-1.2%, 0.8%, 0); } }

/* Gradient Blinds 的柔光版：細緻金色光帶緩慢流動 */
.hero-rays {
  position: absolute; inset: -20%;
  background: repeating-linear-gradient(104deg, transparent 0 14%, rgba(255, 236, 200, 0.16) 14% 17%, transparent 17% 31%, rgba(255, 236, 200, 0.09) 31% 33%, transparent 33% 46%);
  mix-blend-mode: soft-light; opacity: 0.9;
  animation: rays 18s ease-in-out infinite alternate;
}
@keyframes rays { from { transform: translateX(-4%) rotate(0.001deg); } to { transform: translateX(6%) rotate(0.001deg); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(35, 27, 22, 0.42) 0%, rgba(35, 27, 22, 0.1) 26%, rgba(35, 27, 22, 0.3) 46%, rgba(35, 27, 22, 0.86) 100%),
    radial-gradient(120% 60% at 50% 100%, rgba(35, 27, 22, 0.55), transparent 60%);
}

.hero-content { position: relative; padding-bottom: 28px; max-width: 640px; }
.hero-eyebrow {
  display: inline-block; color: var(--gold-2); margin-bottom: 18px;
  font-size: 0.66rem; letter-spacing: 0.26em; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(35, 27, 22, 0.32); border: 1px solid rgba(228, 203, 160, 0.28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(2.05rem, 9.2vw, 3.6rem); line-height: 1.26; letter-spacing: 0.06em;
  color: #FBF6EE; text-shadow: 0 2px 30px rgba(35, 27, 22, 0.35);
  margin-bottom: 18px;
}
.hero-title .ch { display: inline-block; will-change: transform, opacity, filter; }
.hero-sub { font-size: 0.98rem; line-height: 1.9; color: rgba(251, 246, 238, 0.86); margin-bottom: 26px; max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-foot {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 22px 0 calc(22px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(243, 234, 223, 0.18);
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; letter-spacing: 0.1em; color: rgba(251, 246, 238, 0.9);
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid rgba(243, 234, 223, 0.25); background: rgba(35, 27, 22, 0.25);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 0 rgba(228, 203, 160, 0.6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(228, 203, 160, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(228, 203, 160, 0); } }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(251, 246, 238, 0.75); }
.scroll-cue i { display: block; width: 1px; height: 34px; background: linear-gradient(var(--gold-2), transparent); transform-origin: top; animation: cue 2.2s var(--ease-soft) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- 跑馬燈 ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--cream-2); padding: 14px 0; }
.marquee-track { display: flex; align-items: center; gap: 22px; width: max-content; white-space: nowrap; font-family: var(--font-serif); font-weight: 500; font-size: 0.86rem; letter-spacing: 0.22em; color: var(--brown); }
.marquee-track i { font-style: normal; color: var(--gold); font-size: 0.7rem; }
.marquee-track.run { animation: marquee 34s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal ---------- */
.js .reveal, .js .reveal-group > * { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js .reveal.in, .js .reveal-group.in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal, .js .reveal-group > * { opacity: 1; transform: none; } }

/* ---------- 品牌 ---------- */
.brand { background: var(--cream); }
.brand-grid { display: grid; gap: 28px; margin-top: 10px; }
.brand-figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; box-shadow: 0 30px 60px -36px rgba(90, 69, 55, 0.55); }
.brand-figure > img:first-child { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease-out); }
.brand-figure.in > img:first-child { transform: scale(1); }
.brand-mark { position: absolute; right: 16px; bottom: 14px; width: 78px; opacity: 0.9; filter: drop-shadow(0 8px 18px rgba(90, 69, 55, 0.25)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.brand-copy { display: flex; flex-direction: column; gap: 14px; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 44px; }
.stats li {
  padding: 22px 18px 18px; border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 40px -32px rgba(90, 69, 55, 0.6), inset 0 1px 0 #fff;
  display: flex; flex-direction: column; gap: 4px;
}
.stats strong { font-family: var(--font-display); font-weight: 500; font-size: 2.4rem; line-height: 1; color: var(--brown); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.stats strong small { font-size: 0.5em; margin-left: 2px; color: var(--gold-deep); }
.stats strong i { font-style: italic; color: var(--gold); margin: 0 2px; }
.stats strong em { font-style: italic; font-weight: 400; letter-spacing: 0.04em; color: var(--gold-deep); }
.stats li > span { font-size: 0.8rem; letter-spacing: 0.14em; color: var(--muted); }

/* ---------- 課程：兩個區塊 ---------- */
.programs { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.program-grid { display: grid; gap: 22px; margin-top: 30px; }
.program { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 32px 60px -40px rgba(90, 69, 55, 0.65); }
.program-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.program-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease-out); }
.program.in .program-media img { transform: scale(1); }
.program-body { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.program-tag { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-deep); }
.program h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.4rem; letter-spacing: 0.06em; color: var(--ink); }
.program p { font-size: 0.94rem; color: var(--brown); }
.program-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.program-points li { font-size: 0.78rem; letter-spacing: 0.08em; color: var(--brown); padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(198, 164, 107, 0.45); background: rgba(228, 203, 160, 0.18); }
.carousel-track.dragging, .gallery-track.dragging { scroll-snap-type: none; cursor: grabbing; }

/* ---------- 教練團隊 ---------- */
.coaches { background: var(--cream); }
.team-grid { display: grid; gap: 26px; margin-top: 10px; }
.team-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; background: var(--sand); box-shadow: 0 32px 60px -40px rgba(90, 69, 55, 0.65); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.6s var(--ease-out); }
.team-photo.in img { transform: scale(1); }
.team-copy { display: flex; flex-direction: column; gap: 18px; }
.team-points { display: grid; gap: 12px; }
.team-points li { padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 18px 36px -30px rgba(90, 69, 55, 0.5); display: flex; flex-direction: column; gap: 4px; }
.team-points strong { font-family: var(--font-serif); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.06em; color: var(--ink); }
.team-points span { font-size: 0.9rem; color: var(--brown); }

/* ---------- 體驗流程 ---------- */
.flow { background: var(--cream); }
.steps { position: relative; margin-top: 16px; padding-left: 50px; }
.steps-rail { position: absolute; left: 17px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.steps-progress { position: absolute; inset: 0; background: linear-gradient(var(--gold-2), var(--gold-deep)); transform: scaleY(0); transform-origin: top; }
.steps-list { display: flex; flex-direction: column; gap: 34px; }
.step { position: relative; }
.step-no {
  position: absolute; left: -50px; top: 2px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--brown); background: var(--cream); border: 1px solid var(--line);
  transition: background-color 0.6s var(--ease-soft), color 0.6s, border-color 0.6s, box-shadow 0.6s, transform 0.6s var(--ease-out);
}
.step.is-on .step-no { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); border-color: transparent; box-shadow: 0 10px 24px -12px rgba(159, 125, 69, 0.9); transform: scale(1.06); }
.step-body { display: flex; flex-direction: column; gap: 6px; opacity: 0.45; transform: translateX(10px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.step.is-on .step-body { opacity: 1; transform: none; }
.step h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.18rem; letter-spacing: 0.06em; color: var(--ink); }
.step p { font-size: 0.94rem; color: var(--brown); }
.step small { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.18em; color: var(--gold-deep); }
.flow-notes { margin-top: 44px; display: flex; flex-direction: column; gap: 10px; }
.flow-notes li { position: relative; padding-left: 22px; font-size: 0.9rem; color: var(--brown); }
.flow-notes li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 10px; height: 1px; background: var(--gold); }
.flow-cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.flow-cta-note { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.22em; color: var(--gold-deep); }

/* ---------- 空間：環形畫廊（Circular Gallery 的 CSS 3D 版） ---------- */
.space { background: var(--cream-2); overflow: hidden; }
.gallery { margin-top: 6px; }
.gallery-track {
  display: flex; gap: 14px; align-items: center;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 24px calc(50vw - min(34vw, 150px)) 30px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gslot { position: relative; flex: 0 0 min(68vw, 300px); scroll-snap-align: center; }
.gitem {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  border-radius: 18px; overflow: hidden; background: var(--sand);
  box-shadow: 0 30px 60px -36px rgba(90, 69, 55, 0.7);
  will-change: transform, opacity; backface-visibility: hidden;
}
.gitem img { width: 100%; height: 100%; object-fit: cover; }
.gitem figcaption {
  position: absolute; left: 14px; bottom: 14px;
  padding: 7px 12px; border-radius: 999px;
  font-family: var(--font-serif); font-size: 0.78rem; letter-spacing: 0.16em; color: var(--cream-on-dark);
  background: rgba(35, 27, 22, 0.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(6px); transition: opacity 0.5s, transform 0.5s var(--ease-out);
}
.gitem.is-center figcaption { opacity: 1; transform: none; }
.gallery-hint { text-align: center; font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.gallery-hint::before, .gallery-hint::after { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--gold); vertical-align: middle; margin: 0 12px; }

/* ---------- 學員心得（無限滑動卡片） ---------- */
.reviews { overflow: hidden; }
.reviews .h2 { margin-bottom: 30px; }
.review-marquee { overflow: hidden; margin-top: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.review-track { display: flex; gap: 14px; width: max-content; padding-inline: 7px; }
.review-track.run { animation: marquee 46s linear infinite; }
.review-marquee[data-dir="right"] .review-track.run { animation-direction: reverse; }
.review-marquee.paused .review-track, .review-marquee:hover .review-track { animation-play-state: paused; }
.rcard {
  flex: 0 0 min(76vw, 320px);
  padding: 22px 22px 20px; border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-on-dark);
  display: flex; flex-direction: column; gap: 12px;
}
.stars { color: var(--gold-2); letter-spacing: 0.18em; font-size: 0.8rem; }
.rcard blockquote { font-size: 0.94rem; line-height: 1.85; color: var(--cream-on-dark); font-weight: 300; }
.rcard figcaption { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.18em; color: var(--muted-on-dark); margin-top: auto; }
.source-note { margin: 26px var(--gutter) 0; text-align: center; font-size: 0.76rem; letter-spacing: 0.12em; color: var(--muted-on-dark); }

/* ---------- Accordion（分店、FAQ） ---------- */
.acc { margin-top: 10px; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-h { font: inherit; }
.acc-btn {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 20px 0; text-align: left;
}
.acc-city { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-deep); min-width: 2.6em; }
.acc-title { flex: 1; font-family: var(--font-serif); font-weight: 600; font-size: 1.12rem; letter-spacing: 0.06em; color: var(--ink); transition: color 0.3s; }
.acc-item.open .acc-title { color: var(--gold-deep); }
.acc-icon { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); flex: none; transition: transform 0.5s var(--ease-out), border-color 0.4s, background-color 0.4s; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1px; background: var(--brown); transform: translate(-50%, -50%); transition: transform 0.5s var(--ease-out); }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.open .acc-icon { transform: rotate(180deg); border-color: var(--gold); background: rgba(228, 203, 160, 0.3); }
.acc-item.open .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease-out); }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }
.acc-inner > * { opacity: 0; transform: translateY(8px); transition: opacity 0.5s 0.1s, transform 0.5s 0.1s var(--ease-out); }
.acc-item.open .acc-inner > * { opacity: 1; transform: none; }
.acc-inner p:last-child { padding-bottom: 22px; }
.store-addr { font-family: var(--font-serif); font-weight: 500; font-size: 1rem; letter-spacing: 0.04em; color: var(--ink); }
.store-meta { font-size: 0.88rem; color: var(--brown); margin-top: 6px; }
.store-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 0 24px; }
.faq-acc .acc-inner p { font-size: 0.94rem; color: var(--brown); padding-bottom: 22px; }

/* ---------- 最終 CTA（Lamp 光效） ---------- */
.book { overflow: hidden; padding-top: clamp(110px, 22vw, 160px); }
.lamp { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(86vw, 560px); height: 200px; pointer-events: none; }
.lamp-line { position: absolute; top: 0; left: 8%; right: 8%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); box-shadow: 0 0 30px 6px rgba(228, 203, 160, 0.45); transform: scaleX(0); transition: transform 1.4s var(--ease-out); }
.lamp-glow { position: absolute; inset: 0; background: radial-gradient(60% 100% at 50% 0%, rgba(228, 203, 160, 0.42), rgba(228, 203, 160, 0.08) 45%, transparent 72%); opacity: 0; transition: opacity 1.6s 0.3s; }
.book.lit .lamp-line { transform: scaleX(1); }
.book.lit .lamp-glow { opacity: 1; }
.book .h2 { font-size: clamp(2rem, 8vw, 3rem); }
.book-sub { color: var(--muted-on-dark); max-width: 30em; margin: 0 auto 30px; font-size: 0.98rem; }
.book-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.link-ig { font-size: 0.86rem; letter-spacing: 0.08em; color: var(--muted-on-dark); border-bottom: 1px solid var(--line-on-dark); padding-bottom: 2px; }
.link-ig strong { color: var(--gold-2); font-family: var(--font-display); letter-spacing: 0.1em; }

/* ---------- Footer ---------- */
.footer { background: var(--espresso-2); color: var(--muted-on-dark); padding: 56px 0 calc(110px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-on-dark); }
.footer-logo { width: 150px; opacity: 0.95; }
.footer-tag { margin-top: 6px; font-size: 0.78rem; letter-spacing: 0.3em; color: var(--muted-on-dark); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 0.86rem; letter-spacing: 0.1em; color: var(--cream-on-dark); }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.16em; color: var(--gold-2); }
.copyright { margin-top: 34px; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted-on-dark); }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 68;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(247, 241, 232, 0.88);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 -1px 0 var(--line), 0 -20px 40px -30px rgba(90, 69, 55, 0.5);
  transform: translateY(110%);
  transition: transform 0.6s var(--ease-out);
}
.sticky-cta.show { transform: none; }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 1080px; margin-inline: auto; }
.sticky-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.sticky-text strong { font-family: var(--font-serif); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.08em; color: var(--ink); }
.sticky-text span { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Cursor（桌機） ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .gallery-track { cursor: grab; }
  .js.has-cursor { cursor: none; }
  .js.has-cursor a, .js.has-cursor button { cursor: none; }
  .js.has-cursor .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 110; pointer-events: none; }
  .cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
  .cursor-dot { width: 7px; height: 7px; background: var(--gold-deep); }
  .cursor-ring { width: 36px; height: 36px; border: 1px solid rgba(159, 125, 69, 0.7); transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), background-color 0.35s, border-color 0.35s; }
  .cursor.is-hover .cursor-ring { width: 54px; height: 54px; background: rgba(228, 203, 160, 0.22); border-color: var(--gold); }
  .cursor.is-dark .cursor-dot { background: var(--gold-2); }
  .cursor.is-dark .cursor-ring { border-color: rgba(228, 203, 160, 0.8); }
}

/* ---------- 平板與桌機 ---------- */
@media (min-width: 768px) {
  :root { --gutter: 32px; --nav-h: 76px; }
  .nav-logo { width: 140px; height: 50px; }
  .hero { justify-content: center; padding-top: var(--nav-h); }
  .hero-content { padding-bottom: 60px; }
  .hero-title { font-size: clamp(3rem, 6vw, 4.6rem); }
  .hero-sub { font-size: 1.08rem; }
  .hero-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; }
  .brand-grid { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 56px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .program-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .team-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
  .gallery-track { padding-inline: calc(50vw - 150px); }
  .steps-list { gap: 40px; }
  .footer { padding-bottom: 64px; }
  .sticky-cta { display: none; }
  .nav-cta {
    display: inline-flex; align-items: center; min-height: 42px; padding: 0 20px; border-radius: 999px;
    font-size: 0.84rem; letter-spacing: 0.12em; font-weight: 500;
    color: var(--cream-on-dark); border: 1px solid rgba(243, 234, 223, 0.45); background: rgba(35, 27, 22, 0.18);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: background-color 0.4s, color 0.4s, border-color 0.4s;
  }
  .nav.scrolled .nav-cta, .menu-open .nav-cta { color: var(--ink); border-color: var(--gold); background: linear-gradient(135deg, #EBD7B1, #CDAA72); }
}
@media (min-width: 1024px) {
  .menu { padding-inline: max(var(--gutter), calc(50vw - 540px)); }
  .menu-list a { font-size: 2.6rem; }
  .book-actions { flex-direction: row; justify-content: center; gap: 28px; }
}

/* ==========================================================================
   運動筆記（首頁區塊、列表頁、文章頁）
   ========================================================================== */

/* 內頁共用 */
.page { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }
.page-head { padding: clamp(36px, 8vw, 72px) 0 clamp(20px, 4vw, 36px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--gold-deep); }
.crumbs i { font-style: normal; color: var(--gold); }
.crumbs span[aria-current] { color: var(--brown); }
.h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.7rem, 6.4vw, 2.7rem); line-height: 1.32; letter-spacing: 0.04em; color: var(--ink); text-wrap: balance; margin-bottom: 18px; }
.page-lead { font-size: 1.02rem; color: var(--brown); max-width: 36em; }

/* 主題篩選 */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 18px; margin-bottom: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(90, 69, 55, 0.22); background: rgba(255, 255, 255, 0.4); font-size: 0.84rem; letter-spacing: 0.08em; color: var(--brown); transition: background-color 0.3s, color 0.3s, border-color 0.3s; -webkit-tap-highlight-color: transparent; }
.chip small { font-family: var(--font-display); font-size: 0.7rem; color: var(--gold-deep); }
.chip.is-on { background: linear-gradient(135deg, #EBD7B1, #CDAA72); border-color: transparent; color: var(--ink); }
.chip.is-on small { color: var(--brown); }
.chip-empty { text-align: center; color: var(--muted); font-size: 0.9rem; padding: 30px 0; }

/* 文章卡片 */
.post-grid { display: grid; gap: 18px; }
.post-card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 28px 54px -40px rgba(90, 69, 55, 0.6); }
.post-card-link { display: block; height: 100%; }
.post-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out); }
.post-card:hover .post-card-media img { transform: scale(1.08); }
.post-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.post-tag { font-family: var(--font-serif); font-size: 0.72rem; letter-spacing: 0.22em; color: var(--gold-deep); }
.post-card-title { font-family: var(--font-serif); font-weight: 600; font-size: 1.12rem; line-height: 1.5; letter-spacing: 0.04em; color: var(--ink); text-wrap: balance; }
.post-card-body > p { font-size: 0.88rem; color: var(--brown); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.post-meta i { font-style: normal; color: var(--gold); }
.post-meta-lg { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.06em; margin-top: 18px; }
.journal-more { display: flex; justify-content: center; margin-top: 30px; }
.blog-list { padding-top: 0; }

/* 首頁運動筆記區塊 */
.journal { background: var(--cream-2); }

/* 文章頁 */
.read-progress { position: fixed; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0; height: 2px; z-index: 69; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-2), var(--gold-deep)); box-shadow: 0 0 10px rgba(198, 164, 107, 0.6); }
.post-head { padding: clamp(36px, 8vw, 72px) 0 0; }
.post-cover { margin-top: 30px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -36px rgba(90, 69, 55, 0.55); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-layout { padding: 34px 0 10px; display: flex; flex-direction: column; gap: 30px; }
.kicker { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.quick { padding: 22px 22px 24px; border-radius: var(--radius-sm); border: 1px solid rgba(198, 164, 107, 0.45); background: linear-gradient(135deg, rgba(228, 203, 160, 0.25), rgba(255, 255, 255, 0.5)); }
.quick p:last-child { font-size: 1rem; color: var(--ink); font-weight: 400; }
.toc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px 0; }
.toc summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-family: var(--font-serif); font-weight: 600; letter-spacing: 0.12em; color: var(--ink); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-family: var(--font-display); font-size: 1.2rem; color: var(--gold-deep); transition: transform 0.4s var(--ease-out); }
.toc[open] summary::after { transform: rotate(45deg); }
.toc ol { padding: 0 0 16px; display: flex; flex-direction: column; gap: 8px; counter-reset: toc; }
.toc li { counter-increment: toc; display: flex; gap: 12px; font-size: 0.92rem; color: var(--brown); }
.toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--gold-deep); padding-top: 4px; }
.toc a:hover { color: var(--gold-deep); }

.prose { font-size: 1rem; line-height: 1.95; color: var(--brown); }
.prose > * + * { margin-top: 1.1em; }
.prose p { text-wrap: pretty; }
.prose h2 { font-family: var(--font-serif); font-weight: 600; font-size: 1.42rem; line-height: 1.45; letter-spacing: 0.04em; color: var(--ink); margin-top: 2.2em; padding-top: 1.1em; position: relative; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.prose h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.12rem; letter-spacing: 0.04em; color: var(--ink); margin-top: 1.8em; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose ul, .prose ol { padding-left: 0; display: flex; flex-direction: column; gap: 0.55em; }
.prose li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 10px; height: 1px; background: var(--gold); }
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; }
.prose ol li::before { content: counter(li) "."; position: absolute; left: 0; top: 0; font-family: var(--font-display); color: var(--gold-deep); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--gold-deep); text-decoration: underline; text-decoration-color: rgba(159, 125, 69, 0.4); text-underline-offset: 4px; transition: text-decoration-color 0.3s; }
.prose a:hover { text-decoration-color: var(--gold-deep); }
.prose blockquote { padding: 4px 0 4px 20px; border-left: 2px solid var(--gold-2); color: var(--ink); font-family: var(--font-serif); }
.faq-list { display: flex; flex-direction: column; gap: 14px; margin-top: 1.2em; }
.faq-item { padding: 18px 20px 20px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 18px 36px -30px rgba(90, 69, 55, 0.5); }
.faq-item .faq-q { margin: 0 0 8px; font-size: 1.02rem; }
.faq-item p { font-size: 0.94rem; }

.sources { padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); }
.sources ul { display: flex; flex-direction: column; gap: 8px; }
.sources li { position: relative; padding-left: 16px; }
.sources li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 8px; height: 1px; background: var(--gold); }
.sources a { color: var(--brown); text-decoration: underline; text-decoration-color: rgba(90, 69, 55, 0.25); text-underline-offset: 3px; }
.sources a:hover { color: var(--gold-deep); }
.disclaimer { margin-top: 14px; font-size: 0.78rem; line-height: 1.7; }

.post-cta { padding: 30px 24px 32px; border-radius: var(--radius); background: var(--espresso); color: var(--cream-on-dark); text-align: center; position: relative; overflow: hidden; }
.post-cta::before { content: ""; position: absolute; inset: -40% -20% auto; height: 60%; background: radial-gradient(50% 100% at 50% 100%, rgba(228, 203, 160, 0.35), transparent 70%); pointer-events: none; }
.post-cta .eyebrow { color: var(--gold-2); position: relative; }
.post-cta h2 { position: relative; font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem; letter-spacing: 0.06em; color: var(--cream-on-dark); margin-bottom: 10px; }
.post-cta > p { position: relative; font-size: 0.92rem; color: var(--muted-on-dark); max-width: 28em; margin: 0 auto 22px; }
.post-cta-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.post-cta .btn-ghost { color: var(--cream-on-dark); border-color: rgba(243, 234, 223, 0.45); background: rgba(35, 27, 22, 0.18); }
.related { background: var(--cream-2); }

@media (min-width: 768px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .post-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .post-cover { aspect-ratio: 16 / 7; }
  .post-layout { max-width: 720px; padding-top: 44px; }
  .prose { font-size: 1.04rem; }
  .post-cta { padding: 44px 40px 46px; }
  .post-cta h2 { font-size: 1.9rem; }
}
@media (min-width: 1024px) {
  .post-grid { grid-template-columns: repeat(3, 1fr); }
}
