/*
Theme Name: DeepDive China
Description: Premium Chinese-minimalist theme — ink-wash aesthetic, generous whitespace, and refined typography.
Version: 4.0.0
Author: DeepDive China
Text Domain: deepdivechina
*/

:root {
  --snow: #fcfaf7;
  --paper: #f5f2ed;
  --paper-warm: #eee9e0;
  --ink: #1a1714;
  --ink-soft: #3a352d;
  --muted: #7a7468;
  --muted-light: #a8a298;
  --vermillion: #c1272d;
  --vermillion-deep: #9e1f24;
  --vermillion-glow: rgba(193,39,45,0.08);
  --jade: #2d6a5a;
  --jade-soft: #e8f0ed;
  --gold: #8b6914;
  --gold-light: #c9a24d;
  --stroke: rgba(26,23,20,0.06);
  --stroke-md: rgba(26,23,20,0.1);
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(26,23,20,0.04);
  --shadow: 0 8px 32px rgba(26,23,20,0.06);
  --shadow-hover: 0 16px 48px rgba(26,23,20,0.1);
  --font-sans: "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-heading: "ZCOOL XiaoWei", "Noto Serif SC", "STSong", serif;
  --font-kai: "LXGW WenKai", "KaiTi", "STKaiti", serif;
  --font-brush: "Ma Shan Zheng", "STXingkai", cursive;
  --font-serif: "Noto Serif SC", "LXGW WenKai", Georgia, serif;
  --max: 1080px;
  --max-wide: 1200px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  background: var(--snow);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 0.5em;
}

a { color: var(--ink-soft); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--vermillion); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--vermillion-glow); color: var(--ink); }

.wrap { width: min(var(--max), 100% - 3rem); margin-inline: auto; }
.wrap--wide { width: min(var(--max-wide), 100% - 3rem); margin-inline: auto; }

.visually-hidden, .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--snow); padding: 0.5rem 1rem; z-index: 100; }
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

/* ─── Scroll reveal ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal--left { transform: translateX(-30px); }
.reveal--right { transform: translateX(30px); }
.reveal--scale { transform: scale(0.96); }
.reveal.is-visible { opacity: 1; transform: translate(0) scale(1); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Header ─── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252,250,247,0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--stroke);
}

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding: 1rem 0;
}

.brand { display: flex; align-items: baseline; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand__en {
  font-family: var(--font-heading); font-weight: 400;
  font-size: 1.15rem; letter-spacing: 0.06em;
}
.brand__dot { color: var(--vermillion); margin: 0 0.15rem; }
.brand__zh {
  font-family: var(--font-brush); font-size: 0.85rem;
  color: var(--muted-light); letter-spacing: 0.3em;
}

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--stroke-md); border-radius: var(--radius);
  background: transparent; cursor: pointer;
}
.nav-toggle__bar { display: block; width: 18px; height: 1.5px; margin: 0 auto; background: var(--ink); transition: transform 0.25s; }

.nav, .nav ul { list-style: none; margin: 0; padding: 0; }
.nav__list { display: flex; align-items: center; gap: 0.25rem; }
.nav__list a {
  display: inline-block; padding: 0.4rem 0.75rem;
  color: var(--muted); font-weight: 500; font-size: 0.88rem;
  letter-spacing: 0.02em; border-radius: 6px;
  transition: color 0.3s, background 0.3s;
}
.nav__list a:hover { color: var(--ink); background: rgba(26,23,20,0.03); }
.nav__zh { display: block; font-size: 0.62rem; color: var(--muted-light); letter-spacing: 0.1em; text-align: center; margin-top: -1px; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: rgba(252,250,247,0.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--stroke);
    max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease);
  }
  .nav--open { max-height: 720px; }
  .nav__list { flex-direction: column; align-items: stretch; padding: 1rem 1.5rem 1.5rem; gap: 0.15rem; }
  .nav__list a { padding: 0.65rem 0; border-radius: 0; }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.75rem; border-radius: 999px;
  font-weight: 600; font-size: 0.88rem; letter-spacing: 0.03em;
  border: none; cursor: pointer; transition: all 0.3s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--ink); color: var(--snow); }
.btn--primary:hover { background: var(--vermillion); color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border: 1px solid var(--stroke-md); }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost { background: rgba(255,255,255,0.15); color: #fff; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.2); }
.btn--ghost:hover { background: rgba(255,255,255,0.25); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--paper); }
.btn--sm { padding: 0.5rem 1.15rem; font-size: 0.82rem; }
.btn--header { background: var(--ink); color: var(--snow) !important; padding: 0.45rem 1rem !important; font-size: 0.82rem !important; }
.btn--header:hover { background: var(--vermillion); color: #fff !important; }

/* ─── Hero ─── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 30%;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(26,23,20,0.35) 0%, rgba(26,23,20,0.5) 40%, rgba(26,23,20,0.8) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  padding: 0 0 clamp(4rem, 10vh, 8rem);
}
.hero__content { max-width: 640px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }

.hero__seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border: 2px solid var(--vermillion);
  border-radius: 4px;
  font-family: var(--font-brush); font-size: 1.2rem;
  color: var(--vermillion);
  transform: rotate(-8deg);
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.hero__eyebrow {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6); margin: 0 0 1rem;
}
.hero__eyebrow-zh {
  font-family: var(--font-brush); text-transform: none;
  letter-spacing: 0.25em; font-size: 1.2em; color: var(--gold-light);
}

.hero h1 {
  color: #fff; font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.01em; margin-bottom: 1rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.15);
}

.hero__lead {
  color: rgba(255,255,255,0.75); font-size: 1rem;
  line-height: 1.85; margin: 0 0 2rem; max-width: 32rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }

.hero__tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  list-style: none; margin: 0; padding: 0;
}
.hero__tags li {
  font-size: 0.75rem; padding: 0.3rem 0.75rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.65); letter-spacing: 0.03em;
}

/* ─── Ink divider ─── */
.ink-divider {
  position: relative; padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--ink); color: var(--snow);
  overflow: hidden;
}
.ink-divider::before {
  content: attr(data-watermark);
  position: absolute; right: -0.5rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-brush); font-size: clamp(5rem, 14vw, 12rem);
  color: rgba(255,255,255,0.025); white-space: nowrap;
  pointer-events: none; letter-spacing: 0.15em;
}
.ink-divider__inner {
  display: grid; grid-template-columns: auto 1fr;
  gap: 1.5rem 2.5rem; align-items: start;
}
.ink-divider__vertical {
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: var(--font-brush); font-size: 1.6rem;
  letter-spacing: 0.25em; color: var(--vermillion);
  margin: 0; padding-right: 0.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.ink-divider__text {
  margin: 0; font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 2; color: rgba(245,242,237,0.8);
}

/* ─── Photo strip ─── */
.photo-strip { overflow: hidden; padding: 0; background: var(--snow); }
.photo-strip__track { display: flex; gap: 0; animation: strip-scroll 40s linear infinite; }
.photo-strip__track:hover { animation-play-state: paused; }
.photo-strip__item {
  flex: 0 0 auto; width: clamp(240px, 22vw, 360px);
  height: clamp(150px, 15vw, 220px); overflow: hidden;
}
.photo-strip__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease); filter: saturate(0.85);
}
.photo-strip__item:hover img { transform: scale(1.06); filter: saturate(1); }

@keyframes strip-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Sections ─── */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--tinted { background: var(--paper); }
.section--soft { background: var(--jade-soft); }

.section__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 600px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--wide { max-width: 720px; }

.section__label {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--muted-light); margin: 0 0 0.75rem;
}
.section__label-zh {
  font-family: var(--font-brush); text-transform: none;
  letter-spacing: 0.2em; font-weight: 400; font-size: 1.3em;
  color: var(--muted);
}
.section__head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.section__sub { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.8; }
.section__cta { text-align: center; margin-top: 2.5rem; }

.section__divider {
  width: 32px; height: 2px; background: var(--vermillion);
  margin: 0 0 1.25rem; opacity: 0.6;
}
.section__head--center .section__divider { margin-inline: auto; }

/* ─── Horizontal rule with Chinese character ─── */
.hr-char {
  display: flex; align-items: center; gap: 1.5rem;
  margin: clamp(3rem, 6vw, 5rem) 0; color: var(--muted-light);
}
.hr-char::before, .hr-char::after {
  content: ""; flex: 1; height: 1px; background: var(--stroke);
}
.hr-char span {
  font-family: var(--font-brush); font-size: 1.1rem;
  letter-spacing: 0.4em; opacity: 0.5;
}

/* ─── Grid layouts ─── */
.grid-3 { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* ─── Cards (tile) ─── */
.tile {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--stroke); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.tile__img { width: 100%; aspect-ratio: 3/2; overflow: hidden; }
.tile__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease); filter: saturate(0.9);
}
.tile:hover .tile__img img { transform: scale(1.04); filter: saturate(1); }
.tile__body { padding: 1.5rem; }
.tile__tag {
  display: inline-block; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--vermillion); margin-bottom: 0.5rem;
}
.tile h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.tile p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ─── Glance items ─── */
.glance-grid { display: grid; gap: 1px; background: var(--stroke); border: 1px solid var(--stroke); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 720px) { .glance-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .glance-grid { grid-template-columns: repeat(3, 1fr); } }
.glance-item {
  background: #fff; padding: 1.75rem 1.5rem;
  transition: background 0.3s;
}
.glance-item:hover { background: var(--paper); }
.glance-item h3 { font-size: 0.95rem; margin-bottom: 0.4rem; font-family: var(--font-sans); font-weight: 600; }
.glance-item p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ─── Stories ─── */
.story-row { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .story-row { grid-template-columns: repeat(3, 1fr); } }
.story-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--stroke);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.story-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.story-card__img { aspect-ratio: 3/2; overflow: hidden; }
.story-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease); filter: saturate(0.85);
}
.story-card:hover .story-card__img img { transform: scale(1.04); filter: saturate(1); }
.story-card__body { padding: 1.35rem 1.5rem; }
.story-card__meta {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted-light); margin: 0 0 0.6rem;
}
.story-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.story-card p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ─── Stats ─── */
.stats {
  background: var(--ink); color: var(--snow); padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  position: relative; overflow: hidden;
}
.stats::before {
  content: "山水 · 人文 · 深度";
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-brush); font-size: clamp(3rem, 8vw, 6rem);
  color: rgba(255,255,255,0.025); white-space: nowrap; pointer-events: none; letter-spacing: 0.15em;
}
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center; }
@media (min-width: 700px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stats__item strong {
  display: block; font-family: var(--font-heading);
  font-size: 1.75rem; font-weight: 400; color: #fff; margin-bottom: 0.25rem;
}
.stats__item span { font-size: 0.8rem; opacity: 0.55; letter-spacing: 0.05em; }

/* ─── Team ─── */
.team-grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card {
  text-align: center; padding: 2rem 1.25rem 1.75rem;
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  transition: transform 0.35s, box-shadow 0.35s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.team-card__avatar {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto 1rem; overflow: hidden;
  border: 2px solid var(--paper);
}
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card__avatar--placeholder { background: linear-gradient(135deg, #2d4a3e, #5a8a78); }
.team-card__avatar--2 { background: linear-gradient(135deg, #8b3a2f, #c45c4a); }
.team-card__avatar--3 { background: linear-gradient(135deg, #4a6670, #7a9bab); }
.team-card__avatar--4 { background: linear-gradient(135deg, #b8860d, #d4a84b); }
.team-card h3 { font-size: 0.92rem; margin-bottom: 0.3rem; font-family: var(--font-sans); font-weight: 600; }
.team-card p { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* ─── Guilin section ─── */
.guilin { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; overflow: hidden; }
.guilin__bg { position: absolute; inset: 0; z-index: 0; }
.guilin__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.guilin__bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(252,250,247,0.96) 0%, rgba(252,250,247,0.85) 45%, rgba(252,250,247,0.3) 100%);
}
.guilin__grid { position: relative; z-index: 2; display: grid; gap: 3rem; align-items: start; }
@media (min-width: 880px) { .guilin__grid { grid-template-columns: 1.2fr 0.8fr; } }
.guilin__copy p { color: var(--ink-soft); margin-bottom: 1rem; line-height: 1.9; }
.guilin__quote {
  margin: 0; padding: 2rem; background: #fff;
  border-left: 3px solid var(--vermillion);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow);
}
.guilin__quote p {
  font-family: var(--font-kai); font-size: 1.1rem;
  color: var(--ink); margin: 0 0 0.75rem; line-height: 1.8;
}
.guilin__quote cite { font-style: normal; font-size: 0.82rem; color: var(--muted-light); }

/* ─── Week timeline ─── */
.week-section { max-width: 720px; margin-inline: auto; }
.week-timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--stroke-md); }
.week-timeline li {
  position: relative; padding: 0 0 2rem 2rem;
}
.week-timeline li:last-child { padding-bottom: 0; }
.week-timeline li::before {
  content: ""; position: absolute; left: -5px; top: 0.4rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--vermillion); border: 2px solid var(--snow);
  transition: transform 0.3s;
}
.week-timeline li:hover::before { transform: scale(1.4); }
.week-timeline__d {
  display: block; font-weight: 600; color: var(--ink);
  font-size: 0.82rem; letter-spacing: 0.06em; margin-bottom: 0.15rem;
}

/* ─── Testimonial ─── */
.testimonial {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--paper); text-align: center;
}
.testimonial blockquote {
  margin: 0 auto; max-width: 580px;
  font-family: var(--font-kai);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--ink); line-height: 1.85;
}
.testimonial blockquote::before {
  content: "\201C"; display: block;
  font-family: var(--font-brush); font-size: 3.5rem;
  line-height: 1; color: var(--vermillion); opacity: 0.3; margin-bottom: -0.25rem;
}
.testimonial cite {
  display: block; margin-top: 1.25rem;
  font-style: normal; font-size: 0.82rem;
  color: var(--muted-light); letter-spacing: 0.05em;
}

/* ─── Contact CTA ─── */
.contact-cta {
  background: var(--ink); color: var(--snow);
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative; overflow: hidden;
}
.contact-cta::before {
  content: "联系我们";
  position: absolute; right: 2rem; bottom: -0.5rem;
  font-family: var(--font-brush); font-size: clamp(4rem, 10vw, 8rem);
  color: rgba(255,255,255,0.025); pointer-events: none; letter-spacing: 0.2em;
}
.contact-cta__inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 800px) { .contact-cta__inner { grid-template-columns: 1.3fr 1fr; } }
.contact-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
.contact-cta p { margin: 0.5rem 0 0; color: rgba(245,242,237,0.65); max-width: 36rem; line-height: 1.8; }
.contact-cta__actions { text-align: left; }
@media (min-width: 800px) { .contact-cta__actions { text-align: right; } }
.contact-cta__qr {
  margin-top: 0.9rem;
  display: inline-block;
  padding: 0.45rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}
.contact-cta__qr img {
  display: block;
  width: min(220px, 62vw);
  height: auto;
  border-radius: 10px;
}
.contact-cta__fine { margin-top: 0.75rem !important; font-size: 0.82rem !important; opacity: 0.45 !important; }
.contact-cta__fine--channel {
  margin-top: 0.5rem !important;
  opacity: 1 !important;
}
.contact-cta__fine--channel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.contact-cta__fine--channel a:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

/* ─── Inquiry form ─── */
.ddc-inquiry-form {
  margin-top: 1.35rem;
  max-width: 42rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(4px);
}
.ddc-inquiry-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
@media (max-width: 640px) {
  .ddc-inquiry-form {
    padding: 0.82rem;
  }
  .ddc-inquiry-form__row {
    grid-template-columns: 1fr;
  }
}
.ddc-inquiry-form input,
.ddc-inquiry-form textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(16, 16, 16, 0.62) !important;
  color: rgba(245, 242, 237, 0.96) !important;
  font-size: 0.96rem;
  line-height: 1.35;
  font-family: var(--font-sans);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.ddc-inquiry-form input::placeholder,
.ddc-inquiry-form textarea::placeholder {
  color: rgba(245, 242, 237, 0.58);
}
.ddc-inquiry-form input:focus,
.ddc-inquiry-form textarea:focus {
  outline: none;
  border-color: rgba(201, 74, 65, 0.85);
  background: rgba(16, 16, 16, 0.78) !important;
  box-shadow: 0 0 0 3px rgba(201, 74, 65, 0.17);
}
.ddc-inquiry-form textarea {
  margin-bottom: 0.75rem;
  min-height: 102px;
  resize: vertical;
}
.ddc-inquiry-form__submit {
  width: auto;
  min-width: 13rem;
  padding: 0.8rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--vermillion);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}
.ddc-inquiry-form__submit:hover {
  background: #a32422;
}
.ddc-inquiry-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.ddc-inquiry-form__status {
  margin-top: 0.65rem;
  font-size: 0.84rem;
  min-height: 1.2em;
}
.ddc-inquiry-form__status--ok { color: #25d366; }
.ddc-inquiry-form__status--err { color: #e74c3c; }

/* ─── Footer ─── */
.site-footer {
  background: var(--ink); color: rgba(245,242,237,0.55);
  padding: 3rem 0 0; font-size: 0.88rem;
}
.site-footer__grid {
  display: grid; gap: 2.5rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.site-footer__tagline { margin: 0.75rem 0 0; line-height: 1.75; max-width: 24rem; }
.site-footer__h {
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(245,242,237,0.35); margin: 0 0 0.85rem;
}
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: 0.45rem; }
.site-footer__links a { color: rgba(245,242,237,0.6); transition: color 0.2s; }
.site-footer__links a:hover { color: #fff; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  justify-content: space-between; padding: 1.5rem 0 2rem;
  font-size: 0.78rem;
}
.site-footer__fine {
  font-family: var(--font-brush); letter-spacing: 0.2em; opacity: 0.4;
}

/* ─── Text links ─── */
.text-link {
  font-weight: 600; color: var(--ink-soft); position: relative;
  font-size: 0.88rem;
}
.text-link::after {
  content: ""; position: absolute; bottom: -2px; left: 0;
  width: 100%; height: 1px; background: var(--ink-soft);
  transform: scaleX(0); transform-origin: right; transition: transform 0.3s;
}
.text-link:hover::after { transform: scaleX(1); transform-origin: left; }
.text-link:hover { color: var(--vermillion); }
.text-link:hover::after { background: var(--vermillion); }

/* ─── Programs hub page ─── */
.ddc-program-teaser { text-decoration: none; color: inherit; display: block; }
.ddc-program-teaser:hover { color: inherit; }
.ddc-program-teaser:focus-visible { outline: 2px solid var(--vermillion); outline-offset: 4px; border-radius: var(--radius-lg); }
.ddc-program-teaser__hint {
  display: block; margin-top: 0.5rem; font-size: 0.82rem;
  font-weight: 600; color: var(--vermillion); letter-spacing: 0.03em;
}

.ddc-programs-hub__hero { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.ddc-programs-hub__hero-inner { max-width: 44rem; }
.ddc-programs-hub__lead { margin: 0; font-size: clamp(1rem, 1.8vw, 1.1rem); line-height: 1.85; color: rgba(245,242,237,0.85); }
.ddc-programs-hub__note { margin: 1rem 0 0; font-size: 0.88rem; line-height: 1.75; color: rgba(245,242,237,0.55); max-width: 42rem; }
.ddc-programs-hub__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.35rem; }
.ddc-programs-hub__catalog .section__cta { margin-top: 2rem; }

/* ─── Blog index ─── */
.ddc-blog-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 760px) {
  .ddc-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1160px) {
  .ddc-blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ddc-blog-card {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #f9f6f1 100%);
  border: 1px solid rgba(26,23,20,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0 0 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.ddc-blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.ddc-blog-card::before {
  content: "记";
  position: absolute;
  right: 0.75rem;
  top: 0.6rem;
  font-family: var(--font-brush);
  font-size: 1.15rem;
  color: rgba(193,39,45,0.25);
  z-index: 2;
}

.ddc-blog-card__cover {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #efe8de, #e4ddd3);
  border-bottom: 1px solid var(--stroke);
}
.ddc-blog-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.ddc-blog-card:hover .ddc-blog-card__cover img { transform: scale(1.05); }
.ddc-blog-card__cover-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-brush);
  font-size: 3rem;
  color: rgba(26,23,20,0.35);
  letter-spacing: 0.2em;
}
.ddc-blog-card__meta {
  margin: 1.05rem 1.2rem 0.35rem;
  font-size: 0.72rem;
  color: var(--muted-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ddc-blog-card__title {
  margin: 0 1.2rem 0.55rem;
  font-size: 1.1rem;
  line-height: 1.45;
}
.ddc-blog-card__title a { color: var(--ink); }
.ddc-blog-card__title a:hover { color: var(--vermillion); }
.ddc-blog-card__excerpt {
  color: var(--ink-soft);
  margin: 0 1.2rem 0.85rem;
  font-size: 0.92rem;
  line-height: 1.8;
}
.ddc-blog-card__excerpt p { margin: 0; }
.ddc-blog-card .text-link { margin-left: 1.2rem; }

.ddc-blog-pagination { margin-top: 1.25rem; }
.ddc-blog-pagination .page-numbers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.ddc-blog-pagination .page-numbers a,
.ddc-blog-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.6rem;
  border: 1px solid var(--stroke-md);
  border-radius: 999px;
  font-size: 0.82rem;
}
.ddc-blog-pagination .page-numbers .current {
  background: var(--ink);
  color: var(--snow);
  border-color: var(--ink);
}

.page-template-page-blog .section__head {
  max-width: 46rem;
}
.page-template-page-blog .section__head .seal {
  margin-bottom: 0.85rem;
}

/* ─── Why section ─── */
/* ─── Source banner (OTA comparison) ─── */
.source-banner {
  background: var(--paper);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}
.source-banner__compare {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.source-banner__col {
  flex: 0 1 340px;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  text-align: left;
}
.source-banner__col ul {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}
.source-banner__col li {
  padding: 0.4rem 0;
  font-size: 0.93rem;
  line-height: 1.7;
}
.source-banner__col li::before {
  display: inline-block;
  width: 1.3em;
  font-weight: 700;
  margin-right: 0.3em;
}
.source-banner__col-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}
.source-banner__col--ota {
  background: var(--snow);
  border: 1px solid var(--stroke);
}
.source-banner__col--ota .source-banner__col-label { color: var(--muted-light); }
.source-banner__col--ota li::before { content: "✗"; color: var(--muted-light); }
.source-banner__col--ota li { color: var(--muted-light); }
.source-banner__col--us {
  background: var(--snow);
  border: 2px solid var(--vermillion);
  box-shadow: 0 4px 20px rgba(193, 39, 45, 0.06);
}
.source-banner__col--us .source-banner__col-label { color: var(--vermillion); }
.source-banner__col--us li::before { content: "✓"; color: var(--vermillion); }
.source-banner__col--us li { color: var(--ink-soft); }
@media (max-width: 600px) {
  .source-banner__col { flex: 1 1 100%; }
}

.section--why {
  background: var(--paper);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

/* ─── Guest feedback ─── */
.section--feedback {
  background: #faf8f4;
}
.feedback-scroller { overflow: hidden; }
.feedback-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: feedback-scroll 36s linear infinite;
}
.feedback-scroller:hover .feedback-track { animation-play-state: paused; }
.feedback-card {
  flex: 0 0 min(320px, 82vw);
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 1.05rem 1.05rem 1rem;
  box-shadow: 0 10px 24px rgba(18, 18, 18, 0.04);
}
.feedback-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.feedback-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.feedback-card__stars {
  margin: 0;
  color: #cc9f3d;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
}
.feedback-card__text {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 0.92rem;
}
.feedback-card__meta {
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-light);
  text-transform: uppercase;
}
@keyframes feedback-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 0.5rem)); }
}
@media (max-width: 760px) {
  .feedback-track {
    animation-duration: 26s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .feedback-track { animation: none; }
}

/* ─── Seal / stamp ─── */
.seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border: 2px solid var(--vermillion);
  border-radius: 4px;
  font-family: var(--font-brush); font-size: 1.2rem;
  color: var(--vermillion); transform: rotate(-8deg);
  margin-bottom: 1.25rem; opacity: 0.7;
}

/* ─── Page templates ─── */
.page-content { max-width: 70ch; }
.page-content p { margin-bottom: 1.25rem; }
.page-content h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }

/* ─── Utility ─── */
.brand--footer { display: flex; align-items: baseline; gap: 0.5rem; }
.brand--footer .brand__zh { letter-spacing: 0.2em; }

.eyebrow {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--muted-light); margin: 0 0 0.75rem;
}
.eyebrow__zh {
  font-family: var(--font-brush); text-transform: none;
  letter-spacing: 0.25em; font-weight: 400; font-size: 1.2em;
}

/* ─── Floating WhatsApp button ─── */
@keyframes wa-bounce {
  0%, 100% { transform: scale(1); }
  15%      { transform: scale(1.08); }
  30%      { transform: scale(0.96); }
  45%      { transform: scale(1.03); }
  60%      { transform: scale(1); }
}
@keyframes wa-glow {
  0%, 100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.34); }
  50%      { box-shadow: 0 6px 36px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.15); }
}
.ddc-float-stack {
  display: none;
}
.ddc-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff !important;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.ddc-wa-float {
  position: fixed;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 98;
  background: #25d366;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.34);
  animation: wa-bounce 3s ease-in-out infinite, wa-glow 3s ease-in-out infinite;
}
.ddc-wa-float:hover,
.ddc-tg-float:hover {
  transform: translateY(-2px);
}
.ddc-wa-float:hover {
  background: #1fbb59;
  animation: none;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.5);
}
.ddc-tg-float {
  background: #229ed9;
  box-shadow: 0 10px 28px rgba(34, 158, 217, 0.32);
}
.ddc-tg-float:hover {
  background: #1c87ba;
  box-shadow: 0 14px 34px rgba(34, 158, 217, 0.45);
}
.ddc-float-btn__icon {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.ddc-wa-float__icon { color: #25d366; }
.ddc-tg-float__icon { color: #229ed9; }
@media (max-width: 640px) {
  .ddc-wa-float {
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
  }
  .ddc-wa-float {
    padding: 0.58rem 0.78rem;
  }
  .ddc-wa-float__label {
    font-size: 0.8rem;
  }
}
