/* ============================================================
   颐宸瑜伽 Yichen Yoga — 视觉风格借鉴 sepo.tw
   奶油底 · 深棕墨色 · 金色渐变 · 衬线标题
   ============================================================ */

:root {
  --cream: #f7f1e8;
  --cream-soft: #f2ebdf;
  --paper: #fffdf8;
  --ink: #2e241d;
  --ink-soft: #7a6a5b;
  --gold-light: #ebd7b1;
  --gold: #c9aa72;
  --gold-deep: #ae8850;
  --gold-grad: linear-gradient(135deg, #efdcb8 0%, #c9aa72 55%, #ae8850 100%);
  --line: rgba(46, 36, 29, 0.12);
  --shadow: 0 24px 60px -28px rgba(46, 36, 29, 0.35);
  --radius-lg: 22px;
  --radius-pill: 999px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.container.narrow { width: min(820px, calc(100% - 48px)); }

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-tint { background: var(--cream-soft); }
.section-dark { background: var(--ink); color: var(--cream); }

/* ---------- 通用标题 ---------- */
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-label {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 18px;
}
.section-label.light { color: var(--gold-light); }
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.section-title em { font-style: normal; color: var(--gold-deep); }
.section-title.light em { color: var(--gold-light); }
.section-desc { margin-top: 18px; color: var(--ink-soft); font-size: 15.5px; }
.section-desc.light { color: rgba(247, 241, 232, 0.7); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold-grad);
  color: var(--ink);
  box-shadow: 0 14px 30px -12px rgba(174, 136, 80, 0.65);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -12px rgba(174, 136, 80, 0.7); }
.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn-outline-light { border: 1px solid rgba(247, 241, 232, 0.55); color: var(--cream); }
.btn-outline-light:hover { background: var(--cream); color: var(--ink); }

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(247, 241, 232, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.site-header.scrolled {
  background: rgba(247, 241, 232, 0.97);
  box-shadow: 0 1px 0 var(--line), 0 10px 26px -20px rgba(46, 36, 29, 0.55);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo {
  height: 46px;
  width: auto;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
}
.brand-text em {
  font-style: normal;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 4px;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.brand-text .em-zh { letter-spacing: .08em; }
.brand-text .em-dot { margin: 0 6px; opacity: .6; }
.brand-text .em-en { letter-spacing: .24em; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a {
  font-size: 14.5px;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color .25s;
}
.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-deep);
  transition: width .3s ease;
}
.main-nav > a:not(.nav-cta):hover::after { width: 100%; }
.main-nav > a:hover { color: var(--gold-deep); }
.main-nav > a.nav-cta {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--cream) !important;
  font-size: 14px;
  transition: transform .3s, box-shadow .3s;
}
.main-nav > a.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(46,36,29,.6); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { position: fixed; inset: 0; background: rgba(46,36,29,.4); z-index: 90; }

/* ---------- HERO ---------- */
.hero { padding: clamp(130px, 16vh, 190px) 0 clamp(70px, 9vw, 110px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  font-size: 12.5px;
  letter-spacing: .3em;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(44px, 5.8vw, 76px);
  line-height: 1.16;
  letter-spacing: .01em;
}
.serif-italic { color: var(--gold-deep); }
.hero-sub { margin-top: 26px; font-size: clamp(15.5px, 1.4vw, 17.5px); color: #4a3d31; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero-note { margin-top: 22px; font-size: 13.5px; color: var(--ink-soft); }
.hero-note::before { content: "✦ "; color: var(--gold); }

.hero-visual { position: relative; }
.hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.hero-img img { transition: transform 1.2s ease; }
.hero-visual:hover .hero-img img { transform: scale(1.04); }

/* ---------- 跑马灯 ---------- */
.marquee {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: 20px 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee-group span {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .12em;
  white-space: nowrap;
}
.marquee-group i { color: var(--gold); font-style: normal; font-size: 13px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 8 / 9;
  box-shadow: var(--shadow);
}
.about-img img { transition: transform 1.2s ease; }
.about-media:hover .about-img img { transform: scale(1.04); }
.about-copy .lead { font-size: 17.5px; font-weight: 500; margin: 22px 0 14px; }
.about-copy p { color: var(--ink-soft); font-size: 15.5px; }
.about-copy .lead { color: var(--ink); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 38px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.stats li { display: flex; flex-direction: column; gap: 6px; }
.stats strong {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1;
}
.stats strong small { font-size: .55em; margin-left: 2px; }
.stats span { font-size: 13px; color: var(--ink-soft); }

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.advantage-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.advantage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201,170,114,.5); }
.card-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold-deep);
  letter-spacing: .1em;
}
.advantage-card h3 { font-family: var(--serif); font-size: 17.5px; font-weight: 600; margin: 14px 0 10px; }
.advantage-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; }

/* ---------- COURSES ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.course-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course-no {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--gold);
  line-height: 1;
}
.course-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin: 16px 0 14px; }
.course-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.course-tags span {
  font-size: 12px;
  color: var(--gold-deep);
  border: 1px solid rgba(174,136,80,.35);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}
.course-card dl { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.course-card dt {
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.course-card dt::before { content: ""; width: 14px; height: 1px; background: var(--gold); }
.course-card dd { font-size: 14px; color: #4a3d31; line-height: 1.8; }

/* ---------- COACHES ---------- */
.coach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.coach-card {
  background: rgba(247,241,232,.05);
  border: 1px solid rgba(235,215,177,.18);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 3.5vw, 46px);
  transition: background .35s, border-color .35s, transform .35s;
}
.coach-card:hover { background: rgba(247,241,232,.08); border-color: rgba(235,215,177,.4); transform: translateY(-4px); }
.coach-portrait {
  width: 220px;
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 26px;
  border: 2px solid rgba(235, 215, 177, .55);
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .6);
  background: rgba(247, 241, 232, .08);
}
.coach-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform .6s ease;
}
.coach-card:hover .coach-portrait img { transform: scale(1.06); }
.coach-title { font-size: 13px; letter-spacing: .12em; color: var(--gold-light); }
.coach-card h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; margin: 8px 0 2px; }
.coach-years { font-size: 14px; color: rgba(247,241,232,.65); margin-bottom: 26px; }
.coach-block { padding: 18px 0; border-top: 1px solid rgba(235,215,177,.16); }
.coach-block h4 {
  font-size: 12.5px;
  letter-spacing: .2em;
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: 8px;
}
.coach-block p { font-size: 14px; color: rgba(247,241,232,.78); line-height: 1.9; }
.coach-list { display: flex; flex-direction: column; gap: 7px; }
.coach-list li { font-size: 14px; color: rgba(247,241,232,.78); padding-left: 18px; position: relative; }
.coach-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: 10px; top: 4px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row span {
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(235,215,177,.3);
  color: rgba(247,241,232,.85);
}

/* ---------- TRIAL STEPS ---------- */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px 30px;
  transition: transform .35s, box-shadow .35s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--gold);
  line-height: 1;
}
.step-card h3 { font-family: var(--serif); font-size: 18.5px; font-weight: 600; margin: 18px 0 10px; }
.step-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 18px; }
.step-tag {
  display: inline-block;
  font-size: 12.5px;
  color: var(--gold-deep);
  background: rgba(201,170,114,.12);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
}
.trial-notes {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
}
.trial-notes li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.trial-notes li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: 3px; }

/* ---------- HOME PRIVATE ---------- */
.home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.home-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px 28px;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.home-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201,170,114,.45); }
.home-no {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
}
.home-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin: 18px 0 12px; }
.home-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.85; }
.home-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.home-tags span {
  font-size: 12px;
  color: var(--gold-deep);
  border: 1px solid rgba(174,136,80,.35);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}
.block-label {
  text-align: center;
  margin: 56px 0 30px;
}
.block-label span {
  position: relative;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  padding: 0 26px;
}
.block-label span::before,
.block-label span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 46px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.block-label span::before { right: 100%; }
.block-label span::after {
  left: 100%;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.home-points {
  margin-top: 44px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px clamp(24px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px 20px;
}
.home-points li {
  color: rgba(247,241,232,.78);
  font-size: 13.5px;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}
.home-points li::before {
  content: "✦";
  position: absolute;
  left: 0; top: 2px;
  color: var(--gold-light);
  font-size: 11px;
}
.home-points strong {
  display: block;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.home-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* ---------- SPACE / GALLERY ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-item img { transition: transform 1s ease; aspect-ratio: 1 / 1; }
.gallery-item:nth-child(1) img { object-position: center 45%; }
.gallery-item:nth-child(2) img { object-position: 80% center; }
.gallery-item:nth-child(3) img { object-position: center 42%; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 18px; bottom: 16px;
  background: rgba(46,36,29,.72);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font-size: 13px;
  letter-spacing: .1em;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
}

/* ---------- LIFE MOMENTS ---------- */
.life-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.life-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.life-item img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 1s ease;
}
.life-item:nth-child(1) img { object-position: 55% center; }
.life-item:nth-child(2) img { object-position: center 43%; }
.life-item:nth-child(3) img { object-position: center 92%; }
.life-item:hover img { transform: scale(1.05); }
.life-item figcaption {
  position: absolute;
  left: 14px; bottom: 12px;
  background: rgba(46,36,29,.72);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: .08em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.life-note {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--ink-soft);
  opacity: .8;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item[open] { border-color: rgba(201,170,114,.55); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold-deep);
  transition: transform .3s;
}
.faq-icon::before { width: 16px; height: 1.6px; top: 7px; left: 0; }
.faq-icon::after { width: 1.6px; height: 16px; left: 7px; top: 0; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-body { padding: 0 28px 24px; }
.faq-body p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 780px;
  margin: 0 auto;
}
.contact-list { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; }
.contact-list li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.ci-label {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gold-light);
  padding-top: 3px;
}
.ci-value { font-size: 15px; color: rgba(247,241,232,.9); line-height: 1.8; }
.ci-value a { border-bottom: 1px solid rgba(235,215,177,.5); }
.ci-value a:hover { color: var(--gold-light); }
.wechat-copy {
  font-size: 15px;
  color: rgba(247,241,232,.9);
  border-bottom: 1px dashed rgba(235,215,177,.6);
  padding: 0 0 2px;
  transition: color .25s;
}
.wechat-copy:hover { color: var(--gold-light); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ---------- FOOTER ---------- */
.site-footer { background: #241c16; color: rgba(247,241,232,.75); padding: 48px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: .08em; color: var(--cream); display: block; }
.footer-brand p { font-size: 13px; color: var(--gold-light); margin-top: 2px; }
.footer-meta { text-align: right; font-size: 13px; line-height: 2; }
.footer-meta a:hover { color: var(--gold-light); }
.copyright { color: rgba(247,241,232,.45); font-size: 12.5px; }

/* ---------- 滚动淡入 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .advantage-grid { grid-template-columns: repeat(3, 1fr); }
  .advantage-card:last-child { grid-column: span 3; max-width: 420px; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .home-grid { grid-template-columns: repeat(2, 1fr); }
  .home-points { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 82vw);
    height: 100dvh;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 96px 32px 40px;
    transition: right .35s ease;
    box-shadow: -20px 0 60px rgba(46,36,29,.25);
  }
  .main-nav.open { right: 0; }
  .main-nav > a { width: 100%; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .main-nav > a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 14px; border-bottom: none !important; }
  .main-nav > a.nav-cta { font-size: 17px; padding: 13px 24px; }
  .nav-toggle { display: flex; z-index: 120; }

  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .about-media { max-width: 460px; }
  .coach-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item img { aspect-ratio: 4/3; }
  .life-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-meta { text-align: left; }
}

@media (max-width: 640px) {
  .container, .container.narrow { width: calc(100% - 36px); }
  .advantage-grid { grid-template-columns: 1fr; }
  .advantage-card:last-child { grid-column: auto; max-width: none; }
  .course-grid, .step-grid,
  .home-grid, .home-points { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .hero-actions .btn { width: 100%; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .life-grid { gap: 12px; }
  .life-item figcaption { font-size: 11px; padding: 5px 10px; left: 10px; bottom: 10px; }
}
