/* ============================================================
   Aurora Genesis | 极光补习班
   Design: ink night sky · teal aurora · warm paper
   Distinctive tutoring studio aesthetic — no generic AI gradients
   ============================================================ */

:root {
  --ink: #0C1B24;
  --ink-soft: #163040;
  --teal: #1F8A80;
  --teal-deep: #156B63;
  --teal-soft: #E4F3F1;
  --gold: #B8892A;
  --gold-soft: #F7EFDC;
  --paper: #F8F5F0;
  --paper-pure: #FFFEFB;
  --cloud: #E8EEF0;
  --charcoal: #1A2329;
  --mute: #5A6A72;
  --faint: #8A979E;
  --line: rgba(12, 27, 36, 0.10);
  --line-strong: rgba(12, 27, 36, 0.18);

  --shadow-sm: 0 2px 8px rgba(12, 27, 36, 0.05);
  --shadow-md: 0 10px 30px rgba(12, 27, 36, 0.09);
  --shadow-lg: 0 22px 50px rgba(12, 27, 36, 0.13);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --font-display: "Newsreader", "Noto Serif SC", Georgia, serif;
  --font-body: "Outfit", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  --header-h: 76px;
  --container: 1160px;
  --container-wide: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform 0.18s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2.25rem, var(--container));
  margin-inline: auto;
}
.container-wide {
  width: min(100% - 2.25rem, var(--container-wide));
  margin-inline: auto;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.75rem;
}

.zh { font-family: var(--font-zh); }

.bilingual-sub {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-zh);
  font-size: 0.92em;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.02em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--ink-soft); }
.btn-teal {
  background: var(--teal);
  color: #fff;
}
.btn-teal:hover { background: var(--teal-deep); }
.btn-outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost {
  color: var(--teal-deep);
  padding-inline: 0.5rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-sm { padding: 0.55rem 1rem; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.logo img {
  width: 48px;
  height: 46px;
  object-fit: contain;
  border-radius: 0;
  flex-shrink: 0;
  background: transparent;
}
.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.15;
}
.logo-text span {
  font-size: 0.72rem;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav a {
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mute);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav a:hover,
.nav a.active {
  color: var(--ink);
  background: rgba(12, 27, 36, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.lang-toggle {
  display: inline-flex;
  background: var(--cloud);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 0;
}
.lang-toggle button,
.lang-toggle .lang-btn {
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.lang-toggle button.active,
.lang-toggle .lang-btn.active {
  background: var(--ink);
  color: #fff;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 90% -10%, rgba(31, 138, 128, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(184, 137, 42, 0.08), transparent 50%),
    var(--paper);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  max-width: 14ch;
  margin-bottom: 1rem;
}
.hero-lead {
  font-size: 1.08rem;
  color: var(--mute);
  max-width: 42ch;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--mute);
}
.hero-meta strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
/* Hero contact card: QR + clean label/value rows */
.hero-contact {
  display: flex;
  align-items: center;
  gap: 1rem 1.15rem;
  margin-top: 1.35rem;
  padding: 0.9rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius, 14px);
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.06), rgba(12, 27, 36, 0.03));
}
.hero-qr {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  color: inherit;
}
.hero-qr img {
  width: 92px;
  height: 92px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  object-fit: cover;
  display: block;
}
.hero-qr-cap {
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: center;
  color: var(--mute);
  font-weight: 500;
  white-space: nowrap;
}
.hero-contact-list {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hc-row {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 0.5rem 0.65rem;
  align-items: baseline;
}
.hc-row dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mute);
  letter-spacing: 0.02em;
}
.hc-row dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.hc-sub {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--mute);
}
.hc-id { font-weight: 700; letter-spacing: 0.02em; }
.hc-sep {
  margin: 0 0.3rem;
  color: var(--mute);
  font-weight: 400;
}
.hc-rating {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.hc-star {
  color: #e8a317;
  margin-left: 0.08rem;
}
.hc-row a {
  color: var(--teal, #0d9488);
  text-decoration: none;
  font-weight: 600;
}
.hc-row a:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .hero-contact { padding: 0.75rem; gap: 0.75rem; }
  .hero-qr img { width: 76px; height: 76px; }
  .hc-row {
    grid-template-columns: 2.8rem 1fr;
    gap: 0.35rem 0.45rem;
  }
  .hc-rating { white-space: normal; }
  .hero-qr-cap { white-space: normal; max-width: 5rem; }
}
.hero-visual {
  position: relative;
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  left: -1rem;
  bottom: 1.5rem;
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-md);
  max-width: 200px;
}
.hero-badge span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-deep);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.hero-badge strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.25;
}

/* ---------- Sections ---------- */
.section {
  padding: 4.25rem 0;
}
.section-alt {
  background: var(--paper-pure);
  border-block: 1px solid var(--line);
}
.section-ink {
  background: var(--ink);
  color: #d7e0e4;
}
.section-ink h2,
.section-ink h3 { color: #fff; }
.section-ink .eyebrow { color: #7dccc4; }
.section-ink .mute { color: #9aadb5; }

.section-head {
  max-width: 640px;
  margin-bottom: 2.25rem;
}
.section-head h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  margin-bottom: 0.65rem;
}
.section-head p {
  color: var(--mute);
  font-size: 1.02rem;
}
.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature-card .card-img {
  aspect-ratio: 16/11;
  overflow: hidden;
  background: var(--cloud);
}
.feature-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.feature-card:hover .card-img img { transform: scale(1.04); }
.feature-card .card-body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.feature-card h3 {
  font-size: 1.2rem;
}
.feature-card p {
  color: var(--mute);
  font-size: 0.95rem;
  flex: 1;
}
.feature-card .card-link {
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal-deep);
}

/* Program chips */
.program-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  background: var(--teal-soft);
  color: var(--teal-deep);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
}
.chip-gold {
  background: var(--gold-soft);
  color: #7a5a12;
}

/* ---------- Quote ---------- */
.quote-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 0;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.quote-block .quote-en {
  margin: 0.75rem auto 1rem;
  max-width: 36em;
  font-size: 0.98rem;
  line-height: 1.55;
}
.quote-block cite {
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--mute);
}

/* Header phone — always-visible click-to-call (Sylvan-style accessibility) */
.header-phone {
  display: none;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--teal, #0d9488);
  white-space: nowrap;
  text-decoration: none;
}
@media (min-width: 1100px) {
  .header-phone { display: inline-flex; align-items: center; }
}
.header-phone:hover { text-decoration: underline; }

/* Trust strip under hero */
.trust-strip {
  background: linear-gradient(90deg, #0c1b24 0%, #14303d 100%);
  color: #e8f2f4;
  font-size: 0.88rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: center;
  align-items: center;
}
.trust-strip a { color: #7dccc4; font-weight: 600; }
.trust-strip strong { color: #f5c542; }

/* How it works — beats chain sites with clearer local steps */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.how-card {
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e2e8ea);
  border-radius: var(--radius, 14px);
  padding: 1.15rem 1.1rem 1.25rem;
  box-shadow: 0 4px 18px rgba(12, 27, 36, 0.04);
}
.how-num {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--teal, #0d9488);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}
.how-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.how-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--mute, #5a6b73);
}
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .how-grid { grid-template-columns: 1fr; }
}

/* Google rating strip + testimonial carousel */
.rating-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.75rem;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.95rem;
}
.rating-stars {
  color: #e8a317;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
}
.rating-bar strong { font-size: 1.15rem; }
.rating-link {
  font-weight: 600;
  color: var(--teal, #0d9488);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.t-carousel {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2.75rem;
}
.t-track {
  position: relative;
  min-height: 200px;
}
.t-slide {
  display: none;
  text-align: center;
  margin: 0;
  animation: tFade 0.35s ease;
}
.t-slide.is-active { display: block; }
.t-slide blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 0.65rem;
}
.t-slide .quote-en {
  margin: 0 auto 0.85rem;
  max-width: 36em;
  font-size: 0.95rem;
}
.t-slide cite {
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--mute);
}
.t-nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--paper-pure);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.t-nav:hover { background: var(--ink); color: #fff; }
.t-prev { left: 0; }
.t-next { right: 0; }
.t-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
}
.t-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cloud);
  border: 1px solid var(--line-strong);
  padding: 0;
}
.t-dot.is-active {
  background: var(--teal);
  border-color: var(--teal);
}
@keyframes tFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .t-carousel { padding: 0 2.25rem; }
  .t-nav { width: 36px; height: 36px; font-size: 1.25rem; }
}

/* ---------- Partners (clean, transparent, no logo boxes) ---------- */
.partners-section {
  background: transparent;
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
}
.partners-section .section-head {
  margin-bottom: 0;
}
.partners-title {
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  color: var(--ink, #0c1b24);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.partners-title-sub {
  margin: 0.4rem 0 0;
  font-size: 1.1rem;
  color: var(--mute, #5a6b73);
  font-weight: 500;
}
.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 4rem;
  margin-top: 2.25rem;
  padding: 0;
  background: transparent;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  min-width: 0;
  max-width: none;
}
.partners img,
.partner-logo img {
  max-height: 90px;
  width: auto;
  max-width: 190px;
  height: auto;
  object-fit: contain;
  display: block;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  mix-blend-mode: multiply;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.partner-logo:hover img {
  opacity: 1;
  transform: translateY(-2px);
}
.partners-faq {
  text-align: center;
  margin: 2.25rem 0 0;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 600;
  color: var(--ink, #0c1b24);
  line-height: 1.45;
}
.partners-faq a {
  color: var(--teal, #0d9488);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}
.partners-faq a:hover { color: var(--teal-deep, #0a7a70); }
@media (max-width: 640px) {
  .partners { gap: 1.75rem 2.25rem; }
  .partners img, .partner-logo img { max-height: 72px; max-width: 150px; }
  .partners-faq { font-size: 1.05rem; margin-top: 1.75rem; }
}

/* ---------- Poster / class gallery ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}
.filter-bar button {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mute);
  border: 1px solid var(--line);
  background: var(--paper-pure);
  transition: all 0.15s;
}
.filter-bar button:hover,
.filter-bar button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
}
.poster-card {
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.poster-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.poster-card a.poster-img {
  display: block;
  background: var(--cloud);
  cursor: zoom-in;
}
.poster-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.poster-card .poster-meta {
  padding: 0.85rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.poster-card h3 {
  font-size: 0.98rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.poster-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.poster-card .tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mute);
  background: var(--cloud);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

/* ---------- Photo gallery ---------- */
.gallery-section + .gallery-section { margin-top: 2.75rem; }
.gallery-section h2 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}
.gallery-section .section-note {
  color: var(--mute);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}
.photo-grid a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cloud);
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-sm);
}
.photo-grid a.landscape { aspect-ratio: 4/3; }
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}
.photo-grid a:hover img { transform: scale(1.05); }

/* Organized classes page */
.classes-organized { display: flex; flex-direction: column; gap: 2.5rem; margin-top: 1rem; }
.class-block-head h2 {
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.class-block-head .mute { margin: 0 0 1rem; font-size: 0.92rem; }
.poster-grid-featured {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.poster-card.is-featured {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 8px 28px rgba(12, 27, 36, 0.08);
}
.poster-blurb {
  margin: 0.25rem 0 0.55rem;
  font-size: 0.82rem;
  color: var(--mute);
  line-height: 1.4;
  font-weight: 500;
}
.poster-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.class-video-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius, 14px);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(13,148,136,0.08), rgba(12,27,36,0.04));
}
.class-video-teaser h3 { margin: 0 0 0.25rem; font-size: 1.1rem; }
.class-video-teaser > div { flex: 1 1 200px; }
.jump-chip-accent {
  background: var(--teal, #0d9488) !important;
  color: #fff !important;
  border-color: transparent !important;
}
.gallery-section-head { margin-bottom: 0.85rem; }
.gallery-lead {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  color: var(--mute);
  max-width: 40rem;
  line-height: 1.5;
}
.class-jump-wrap { margin: 0.5rem 0 0.75rem; }

.count-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
  padding: 0.15rem 0.55rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-deep);
  background: var(--teal-soft);
  border-radius: var(--radius-full);
  vertical-align: middle;
}

/* Sticky jump nav for long photo page (mobile + desktop) */
.jump-bar-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(248, 245, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0;
}
.jump-bar {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 0.15rem;
}
.jump-chip {
  flex: 0 0 auto;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mute);
  background: var(--paper-pure);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.jump-chip:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* Videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.video-card {
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.video-frame {
  background: #0a1218;
  aspect-ratio: 16/10;
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #0a1218;
}
.video-meta {
  padding: 0.95rem 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.video-meta h3 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
}
.video-note {
  font-size: 0.8rem;
  color: var(--faint);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .gallery-section h2 {
    font-size: 1.2rem;
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 16, 22, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(96vw, 900px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: #d0d8dc;
  font-size: 0.9rem;
  text-align: center;
  max-width: 90vw;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.35rem;
}
.team-card {
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 180px;
}
.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
  background: var(--cloud);
}
.team-card .team-body {
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.team-card h3 { font-size: 1.15rem; }
.team-card .role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.team-card p {
  font-size: 0.88rem;
  color: var(--mute);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.team-card.expanded p {
  display: block;
  -webkit-line-clamp: unset;
}
.team-card .read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-deep);
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.faq-item {
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--teal);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 1.2rem 1.15rem;
  color: var(--mute);
  font-size: 0.96rem;
}
.faq-item .faq-body ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}
.faq-item .faq-body li { margin-bottom: 0.3rem; }
.faq-zh {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
  font-family: var(--font-zh);
}

/* ---------- Contact forms ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.form-card {
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.form-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.form-card .form-desc {
  color: var(--mute);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.form-card label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mute);
  margin-bottom: 0.3rem;
  margin-top: 0.7rem;
}
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  color: var(--charcoal);
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: transparent;
}
.form-card .btn { margin-top: 1rem; width: 100%; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}
.form-note {
  font-size: 0.82rem;
  color: var(--faint);
  margin-top: 0.75rem;
}

/* ---------- Articles / blog ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.article-card {
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.article-card .card-img {
  aspect-ratio: 16/11;
  background: var(--cloud);
  overflow: hidden;
}
.article-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card .card-body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.article-card time {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article-card h3 {
  font-size: 1.08rem;
  line-height: 1.3;
}
.article-card p {
  color: var(--mute);
  font-size: 0.9rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.prose .meta {
  color: var(--faint);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}
.prose h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}
.prose p {
  margin-bottom: 1rem;
  color: var(--charcoal);
}
.prose ul, .prose ol {
  margin: 0 0 1rem 1.25rem;
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4rem; color: var(--charcoal); }
.prose img {
  border-radius: var(--radius);
  margin: 1.25rem 0;
  box-shadow: var(--shadow-sm);
}
.prose a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 2px; }
.article-source {
  display: grid;
  gap: 0.25rem;
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: var(--mute);
}
.article-source strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.article-source span { font-size: 0.92rem; }
.article-source a {
  width: fit-content;
  margin-top: 0.25rem;
  font-weight: 600;
}

/* ---------- Page hero (inner) ---------- */
.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(31, 138, 128, 0.08), transparent 50%),
    var(--paper);
}
.page-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  margin-bottom: 0.5rem;
}
.page-hero p {
  color: var(--mute);
  max-width: 58ch;
  font-size: 1.05rem;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--faint);
  margin-bottom: 0.85rem;
}
.breadcrumbs a { color: var(--mute); }
.breadcrumbs a:hover { color: var(--teal-deep); }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 3rem 0;
  background: var(--ink);
  color: #c5d2d8;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 0.6rem;
}
.cta-band p {
  max-width: 48ch;
  margin: 0 auto 1.4rem;
  color: #9aadb5;
}
.cta-band .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* ---------- Notice / announcement ---------- */
.notice {
  background: var(--gold-soft);
  border: 1px solid rgba(184, 137, 42, 0.25);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin-bottom: 2rem;
}
.notice h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: #6b4e10;
}
.notice p, .notice li {
  font-size: 0.92rem;
  color: #5c4a22;
  line-height: 1.6;
}
.notice ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}
.notice a {
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- Benefits ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.benefit-card {
  padding: 1.35rem;
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.benefit-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}
.benefit-card p {
  color: var(--mute);
  font-size: 0.94rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #a8b8c0;
  padding: 3.25rem 0 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}
.footer-logo-row img {
  width: 44px;
  height: auto;
  flex-shrink: 0;
}
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0;
  line-height: 1.25;
}
.social-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
}
.social-row a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  transition: background 0.15s;
}
.social-row a:hover { background: rgba(255,255,255,0.16); }
.social-row img { width: 22px; height: 22px; object-fit: contain; }
.wechat-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
}
.inline-icon { border-radius: 4px; }
.wechat-band { max-width: 720px; }
.wechat-card {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.wechat-card.compact {
  padding: 0.75rem 0;
  border: none;
  box-shadow: none;
  background: transparent;
}
.wechat-big { border-radius: 14px; flex-shrink: 0; }
.freeread-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.freeread-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
@media (max-width: 820px) {
  .freeread-grid { grid-template-columns: 1fr; }
  .wechat-card { flex-direction: column; text-align: center; }
  .wechat-card .hero-actions { justify-content: center; }
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 32ch;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7dccc4;
  margin-bottom: 0.85rem;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: #a8b8c0;
}
.footer-col a:hover { color: #fff; }
.footer-wechat-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.footer-wechat-row img.qr {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  background: #fff;
  flex-shrink: 0;
}
.footer-wechat-row strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.footer-wechat-row p {
  color: #9aadb5;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}
.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #6d7f88;
}

/* ---------- Utility ---------- */
.mute { color: var(--mute); }
.seo-intro {
  max-width: 52rem;
  margin: 0 0 1.25rem;
  line-height: 1.65;
  color: var(--ink-soft, #3a4a52);
  font-size: 0.98rem;
}
.prose-seo {
  max-width: 46rem;
}
.prose-seo h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.25rem;
}
.prose-seo h3 {
  margin: 1.1rem 0 0.4rem;
  font-size: 1.05rem;
}
.prose-seo ul, .prose-seo ol {
  margin: 0.5rem 0 1rem 1.2rem;
  line-height: 1.65;
}
.prose-seo li { margin: 0.25rem 0; }
.prose-seo .faq-mini {
  background: var(--surface-alt, #f4f7f8);
  border: 1px solid var(--line, #e2e8ea);
  border-radius: var(--radius, 12px);
  padding: 1rem 1.15rem;
  margin: 1rem 0 1.5rem;
}
.prose-seo .cta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 1rem;
}
.prose-seo .related a { margin-right: 0.35rem; }
.prose-seo .review-pull {
  margin: 0.85rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--surface-alt, #f4f7f8);
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink, #1a2a32);
}
.prose-seo .review-pull cite {
  display: inline;
  font-style: normal;
  font-weight: 600;
  color: var(--mute, #5a6b73);
}
.privacy-doc h2 { margin-top: 1.75rem; }
.privacy-doc ul { margin-bottom: 1rem; }
.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.footer-bottom a:hover { color: var(--teal, #0d9488); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}
.visually-split {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
[data-lang="en"] [data-show="zh"],
[data-lang="zh"] [data-show="en"] { display: none !important; }
[data-lang="en"] .lang-zh-only,
[data-lang="zh"] .lang-en-only { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { max-width: 420px; }
  .hero h1 { max-width: none; }
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-card { grid-template-columns: 100px 1fr; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--paper-pure);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.15rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s var(--ease), opacity 0.2s;
    box-shadow: var(--shadow-md);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  body.menu-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn-primary { display: none; }
}

@media (max-width: 640px) {
  .card-grid,
  .card-grid-3,
  .card-grid-4,
  .benefit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2.5rem; }
  .section { padding: 3rem 0; }
  .team-card {
    grid-template-columns: 1fr;
  }
  .team-card img {
    min-height: 220px;
    max-height: 260px;
  }
  .poster-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo-text span { display: none; }
}

/* ---------- WeChat: impossible to miss ---------- */
.wechat-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.wechat-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem 0.7rem 0.75rem;
  border-radius: var(--radius-full);
  background: #07c160;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 28px rgba(7, 193, 96, 0.35), var(--shadow-md);
  border: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s;
}
.wechat-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(7, 193, 96, 0.42);
}
.wechat-float-btn img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #fff;
}
.wechat-float-panel {
  display: none;
  width: min(280px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1rem 0.9rem;
  text-align: center;
}
.wechat-float-panel.open { display: block; }
.wechat-float-panel img.qr {
  width: 180px;
  height: 180px;
  margin: 0.35rem auto 0.65rem;
  border-radius: 8px;
}
.wechat-float-panel strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.wechat-float-panel p {
  font-size: 0.82rem;
  color: var(--mute);
  margin-bottom: 0.65rem;
  line-height: 1.45;
}
.wechat-float-panel .btn { width: 100%; margin-top: 0.25rem; }
.wechat-float-close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  font-size: 1.25rem;
  color: var(--faint);
  line-height: 1;
  padding: 0.25rem;
}
.wechat-float-panel { position: relative; }

.wechat-banner {
  background: linear-gradient(135deg, #e8f8ef 0%, #f0faf4 50%, #e4f3f1 100%);
  border: 1.5px solid rgba(7, 193, 96, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.25rem;
  align-items: center;
  margin: 1.25rem 0 0;
}
.wechat-banner img.qr {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}
.wechat-banner h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  color: #0b6b3a;
}
.wechat-banner p {
  font-size: 0.92rem;
  color: #2d5a42;
  line-height: 1.5;
}
.wechat-banner .id-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  padding: 0.3rem 0.7rem;
  background: #fff;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  border: 1px solid var(--line);
}
.header-wechat {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #07c160;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-wechat img { width: 22px; height: 22px; border-radius: 4px; background: #fff; }
@media (min-width: 700px) {
  .header-wechat { display: inline-flex; }
}

@media (max-width: 640px) {
  .wechat-banner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .wechat-float {
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .wechat-float-btn span.label-full { display: none; }
  .wechat-float-btn {
    padding: 0.75rem;
    border-radius: 50%;
  }
}

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