* {
  box-sizing: border-box;
}

:root {
  --bg: #fdf8f0;
  --bg-alt: #f9efe0;
  --text: #2a1210;
  --muted: #5c4038;
  --red-imperial: #8B1A1A;
  --red-deep: #6B0F0F;
  --red-bright: #B22222;
  --gold: #C9A227;
  --gold-light: #F0E0A8;
  --gold-bright: #FFD878;
  --gold-mid: #D4AF37;
  --gold-dark: #8B6914;
  --gold-deep: #6B4E09;
  --gold-gradient: linear-gradient(
    135deg,
    #faf0c8 0%,
    #e8d48a 18%,
    #d4af37 45%,
    #b8860b 72%,
    #f5e6a8 100%
  );
  --gold-border-gradient: linear-gradient(
    135deg,
    #faf0c8,
    #d4af37,
    #996515,
    #f0df98,
    #c9a227
  );
  --accent: var(--red-imperial);
  --accent-dark: var(--red-deep);
  --border: #e8d4b8;
  --border-gold: rgba(201, 162, 39, 0.45);
  --card: #fffcf7;
  --shadow: 0 24px 64px rgba(107, 15, 15, 0.14);
  --font-serif: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --font-hanzi: "Noto Serif SC", "Source Han Serif SC", serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 162, 39, 0.06), transparent 28rem),
    radial-gradient(circle at 100% 20%, rgba(139, 26, 26, 0.05), transparent 24rem),
    var(--bg);
  line-height: 1.65;
}

a {
  color: inherit;
}

.hanzi {
  font-family: var(--font-hanzi);
  font-weight: 600;
  color: var(--red-imperial);
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-shadow: 0 0 1px rgba(201, 162, 39, 0.35);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.97) 0%, rgba(253, 248, 240, 0.94) 100%);
  backdrop-filter: blur(14px);
  box-shadow:
    0 1px 0 rgba(212, 175, 55, 0.35),
    0 4px 24px rgba(107, 15, 15, 0.06);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gold-dark) 15%,
    var(--gold-bright) 35%,
    var(--gold-mid) 50%,
    var(--gold-bright) 65%,
    var(--gold-dark) 85%,
    transparent 100%
  );
  opacity: 0.85;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-family: var(--font-hanzi);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-bright);
  background: linear-gradient(145deg, var(--red-bright) 0%, var(--red-deep) 100%);
  text-shadow:
    0 1px 0 var(--gold-deep),
    0 0 10px rgba(255, 216, 120, 0.55),
    0 2px 4px rgba(0, 0, 0, 0.35);
  box-shadow:
    0 0 0 2px var(--gold-mid),
    0 0 0 3px rgba(139, 105, 20, 0.35),
    0 0 14px rgba(212, 175, 55, 0.4),
    0 4px 14px rgba(107, 15, 15, 0.25);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  padding: 2px;
  background: var(--gold-border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--red-deep);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.nav a {
  position: relative;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  width: calc(100% - 1rem);
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 999px;
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.28s ease;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.5);
}

.nav a:hover {
  color: var(--red-imperial);
  background: rgba(212, 175, 55, 0.08);
}

.nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.menu-button {
  display: none;
  border: 1px solid var(--gold-mid);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: var(--red-imperial);
  background: linear-gradient(180deg, #fffdf8, #faf3e0);
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
  overflow: hidden;
  color: #fff8ef;
  background:
    radial-gradient(circle at 88% 12%, rgba(201, 162, 39, 0.28), transparent 28rem),
    radial-gradient(circle at 8% 88%, rgba(0, 0, 0, 0.18), transparent 24rem),
    linear-gradient(145deg, var(--red-deep) 0%, var(--red-imperial) 42%, #9f2020 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: "氣";
  position: absolute;
  right: 8%;
  top: 12%;
  font-family: var(--font-hanzi);
  font-size: clamp(8rem, 18vw, 14rem);
  color: rgba(232, 212, 138, 0.1);
  pointer-events: none;
  animation: hanzi-float 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold), var(--gold-light), transparent);
}

@keyframes hanzi-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.hero .eyebrow {
  color: var(--gold-light);
}

.eyebrow .hanzi {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.hero .eyebrow .hanzi,
.hero .hero-quote .hanzi {
  color: var(--gold-light);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #fff8ef;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
}

.hero-quote {
  max-width: 680px;
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0 1.25rem;
  border: 0;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-style: italic;
  line-height: 1.65;
}

.hero .hero-quote {
  color: rgba(255, 244, 225, 0.92);
  border-left-color: var(--gold-light);
}

.hero-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--red-imperial);
}

.hero .hero-quote cite {
  color: var(--gold-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: var(--gold-light);
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  border: 1px solid var(--gold-dark);
  box-shadow: 0 8px 24px rgba(139, 26, 26, 0.28);
}

.hero .primary {
  color: var(--red-deep);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  border: 1px solid #fff3d0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.secondary {
  color: var(--red-imperial);
  background: rgba(255, 252, 247, 0.9);
  border: 1px solid var(--border-gold);
}

.hero .secondary {
  color: #fff8ef;
  background: transparent;
  border: 1px solid rgba(232, 212, 138, 0.75);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.hero .secondary:hover {
  background: rgba(255, 248, 239, 0.1);
}

.hero-card {
  position: relative;
  z-index: 1;
  min-height: 420px;
  border-radius: 2rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--red-deep);
  border: 2px solid var(--gold);
  background:
    linear-gradient(160deg, #fff9ef 0%, #f5e6c8 55%, #edd9b5 100%),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.65), transparent 18rem);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(139, 26, 26, 0.12);
  border-radius: 1.6rem;
  pointer-events: none;
}

.hero-card span {
  font-family: var(--font-hanzi);
  font-size: clamp(7rem, 16vw, 12rem);
  line-height: 1;
  color: var(--red-imperial);
  text-shadow: 0 2px 12px rgba(139, 26, 26, 0.15);
  animation: hanzi-float 6s ease-in-out infinite;
}

.hero-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--red-deep);
}

.hero-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.section-inner {
  width: min(100%, 1140px);
  margin-inline: auto;
}

.section-inner--narrow {
  width: min(100%, 820px);
}

.section-heading {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section-heading--center {
  margin-inline: auto;
  max-width: 780px;
  text-align: center;
}

.section-heading--end {
  margin-left: auto;
  margin-right: clamp(0rem, 6vw, 8%);
  max-width: none;
  width: fit-content;
  text-align: right;
}

.heading-one-line {
  white-space: nowrap;
}

#baduanjin .section-heading--center {
  max-width: none;
  width: 100%;
}

#baduanjin .heading-one-line {
  display: inline-block;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section.alt {
  background:
    linear-gradient(180deg, var(--bg-alt) 0%, #f5ead8 100%);
  border-block: 1px solid var(--border-gold);
}

.section h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--red-deep);
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading--end .eyebrow {
  justify-content: flex-end;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.section-intro {
  max-width: 720px;
  margin: 1rem auto 0;
  color: var(--muted);
  text-align: center;
}

/* —— Ba Duan Jin section layout —— */

.baduanjin-content {
  max-width: 1060px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.baduanjin-intro {
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--text);
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.baduanjin-symbol {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
  padding: 1.25rem 1.75rem;
  border-top: 1px solid rgba(201, 162, 39, 0.25);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.baduanjin-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.baduanjin-card {
  padding: 1.5rem 1.75rem;
  border-radius: 10px;
  background: rgba(255, 252, 247, 0.6);
  border: 1px solid rgba(201, 162, 39, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.baduanjin-card--alt {
  background: rgba(139, 0, 0, 0.04);
  border-color: rgba(139, 0, 0, 0.15);
}

.baduanjin-card__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--red-imperial);
  margin: 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.baduanjin-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.baduanjin-quote {
  margin: 0;
  padding: 1.5rem 2.5rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139,0,0,0.06) 0%, rgba(201,162,39,0.08) 100%);
  border-left: 4px solid var(--red-imperial);
  position: relative;
}

.baduanjin-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.25rem;
  left: 1rem;
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
  font-family: var(--font-serif);
  opacity: 0.5;
}

.baduanjin-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.75;
  color: var(--text);
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.baduanjin-teaser {
  padding: 1.25rem 2rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  border-radius: 8px;
  background: rgba(201, 162, 39, 0.07);
  border: 1px dashed rgba(201, 162, 39, 0.4);
  max-width: 800px;
  margin-inline: auto;
}

@media (max-width: 700px) {
  .baduanjin-duo {
    grid-template-columns: 1fr;
  }
  .baduanjin-quote {
    padding: 1.25rem 1.5rem 1.25rem 1.75rem;
  }
  .baduanjin-symbol,
  .baduanjin-intro,
  .baduanjin-lead {
    text-align: left;
  }
}

/* —— Editorial prose layouts —— */

.prose {
  display: grid;
  gap: 1.15rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.prose p,
.prose .note {
  margin: 0;
}

.prose-editorial {
  max-width: 1100px;
  margin-inline: auto;
}

.prose-editorial > p:first-of-type {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.55;
  color: var(--text);
}

.prose-editorial--wide {
  max-width: 1100px;
}

@media (min-width: 860px) {
  .prose-editorial {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 3rem;
    align-items: start;
  }

  .prose-editorial > p:first-of-type,
  .prose-editorial > .pillar-grid,
  .prose-editorial > .pillar-credits,
  .prose-editorial > .char-list,
  .prose-editorial > .char-list--cards {
    grid-column: 1 / -1;
  }

  .prose-editorial > p:nth-of-type(even):not(:first-of-type) {
    padding-left: 1.5rem;
    border-left: 2px solid rgba(201, 162, 39, 0.35);
  }

  .prose-editorial--wide > p:nth-of-type(3),
  .prose-editorial--wide > p:nth-of-type(6),
  .prose-editorial--wide > p:nth-of-type(8) {
    grid-column: 1 / -1;
    max-width: 88%;
    margin-inline: auto;
    text-align: center;
    padding: 1.25rem 1.5rem;
    border-left: 0;
    background: rgba(255, 252, 247, 0.65);
    border-radius: 1rem;
    border: 1px solid var(--border-gold);
  }
}

.prose-reading {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  font-size: 1.06rem;
}

.prose-reading p + p {
  margin-top: 0.25rem;
}

.note--center {
  max-width: 760px;
  margin: 2rem auto 0;
  padding: 1rem 1.4rem;
  text-align: center;
  border-left: 0;
  border-top: 3px solid var(--gold);
  border-radius: 0.75rem;
  background: rgba(255, 252, 247, 0.85);
  color: var(--muted);
  font-size: 0.98rem;
}

/* —— Lists as cards —— */

.pillar-list,
.char-list,
.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 0.75rem;
}

/* Pilares da Medicina Chinesa — 3 + 2 centralizados */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.35rem);
  max-width: 980px;
  margin: 0.5rem auto 0;
  padding: 0;
  list-style: none;
}

.pillar-grid .pillar-card:nth-child(1) { grid-column: 1 / 3; }
.pillar-grid .pillar-card:nth-child(2) { grid-column: 3 / 5; }
.pillar-grid .pillar-card:nth-child(3) { grid-column: 5 / 7; }
.pillar-grid .pillar-card:nth-child(4) { grid-column: 2 / 4; }
.pillar-grid .pillar-card:nth-child(5) { grid-column: 4 / 6; }

.pillar-card {
  overflow: hidden;
  border-radius: 1.15rem;
  border: 1px solid var(--border-gold);
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 10px 28px rgba(107, 15, 15, 0.08);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(107, 15, 15, 0.12);
}

.pillar-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--border-gold);
  background: #f5e6c8;
}

.pillar-credits {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.pillar-credits a {
  color: var(--red-imperial);
  font-weight: 600;
}

.pillar-card-body {
  padding: 1rem 1rem 1.15rem;
}

.pillar-card-body strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--red-imperial);
  font-family: var(--font-serif);
  font-size: 1.08rem;
}

.pillar-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
}

.pillar-list {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.char-list--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.char-list--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pillar-list li,
.char-list li {
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid var(--border-gold);
  background: rgba(255, 252, 247, 0.85);
  box-shadow: 0 8px 24px rgba(107, 15, 15, 0.05);
}

.char-list strong,
.pillar-list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--red-imperial);
  font-family: var(--font-serif);
  font-size: 1.08rem;
}

.step-list {
  counter-reset: steps;
  gap: 0.85rem;
  max-width: 560px;
  margin-inline: auto;
}

.step-list li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 3rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background: rgba(255, 252, 247, 0.9);
  list-style: none;
}

.step-list li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-light);
  background: linear-gradient(145deg, var(--red-bright), var(--red-deep));
  border: 1px solid var(--gold-mid);
}

/* —— Preparação split —— */

.prep-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.prep-copy {
  max-width: none;
}

.prep-aside {
  padding: 1.35rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border-gold);
  background: linear-gradient(160deg, rgba(255, 252, 247, 0.95), rgba(249, 239, 224, 0.85));
  box-shadow: var(--shadow);
}

.prep-aside .subsection-title {
  margin-top: 0;
  text-align: center;
}

.prep-aside p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

@media (min-width: 900px) {
  .prep-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .prep-aside {
    position: sticky;
    top: 5.5rem;
  }
}

/* —— Movimentos —— */

.section-layout-d .movement-list {
  gap: 3.5rem;
}

.movement-list {
  display: grid;
  gap: 3rem;
  max-width: 980px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .movement-text--split {
    display: flex;
    gap: 1.25rem;
    align-items: stretch;
  }

  .movement-text--split .detail-block {
    flex: 1;
    min-width: 0;
  }
}

.references ul {
  display: grid;
  gap: 0.8rem;
  max-width: 900px;
  margin-inline: auto;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border-gold);
  background: rgba(255, 252, 247, 0.75);
  color: var(--muted);
}

.prose .note {
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--gold);
  background: rgba(255, 252, 247, 0.75);
  border-radius: 0 0.75rem 0.75rem 0;
}

.subsection-title {
  margin: 1.5rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--red-imperial);
}

.prep-video {
  margin: 1rem 0 0;
  overflow: hidden;
  border-radius: 1rem;
  border: 2px solid var(--border-gold);
  background: #1a0808;
  box-shadow: var(--shadow);
}

.prep-video video {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.movement-article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

.movement-article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red-deep), var(--gold), var(--red-imperial));
}

.movement-header {
  position: relative;
  padding: 1.75rem 1.75rem 0;
}

.movement-badge {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-hanzi);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1;
  opacity: 0.14;
  pointer-events: none;
}

.movement-badge .hanzi {
  -webkit-text-fill-color: var(--red-imperial);
  background: none;
  color: var(--red-imperial);
}

.movement-header h3 {
  margin: 0.35rem 0 0;
  max-width: 85%;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--red-deep);
}

.movement-subtitle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 0.65rem 0 0;
  font-size: 0.98rem;
}

.subtitle-pinyin {
  color: var(--muted);
  font-style: italic;
}

.subtitle-hanzi {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(139, 26, 26, 0.08), rgba(201, 162, 39, 0.12));
  border: 1px solid var(--border-gold);
}

.subtitle-hanzi .hanzi {
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
}

.movement-text {
  padding: 0 1.5rem 1.75rem;
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.detail-block {
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 252, 247, 0.8);
}

.detail-block--benefits {
  border-color: var(--border-gold);
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.95), rgba(249, 239, 224, 0.9));
}

.detail-block h4 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red-imperial);
}

.detail-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-family: var(--font-hanzi);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  background: linear-gradient(145deg, var(--red-bright), var(--red-deep));
  border: 1px solid var(--gold);
  flex-shrink: 0;
}

.detail-content p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.detail-content p:last-child {
  margin-bottom: 0;
}

.detail-content--flow p {
  animation: text-breathe 6s ease-in-out infinite;
}

.detail-content--flow p:nth-child(2n) {
  animation-delay: 1.5s;
}

@keyframes text-breathe {
  0%, 100% { opacity: 1; transform: translateX(0); }
  50% { opacity: 0.92; transform: translateX(3px); }
}

.poem {
  margin: 1.25rem 1.5rem 0;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border-gold);
  border-left: 4px solid var(--gold);
  background: linear-gradient(135deg, rgba(249, 239, 224, 0.95), rgba(255, 252, 247, 0.9));
  border-radius: 0 1rem 1rem 0;
}

.poem-hanzi {
  margin: 0 0 1rem;
  font-family: var(--font-hanzi);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--red-deep);
}

.poem-hanzi .hanzi {
  font-size: inherit;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  animation: hanzi-shimmer 4s ease-in-out infinite;
}

.poem-hanzi .hanzi:nth-child(odd) {
  animation-delay: 0.5s;
}

@keyframes hanzi-shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

.poem-pt p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
}

.poem-source {
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-gold);
  font-size: 0.88rem;
  color: var(--muted);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #2a0a0a, #4a1212);
}

.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #000;
}

.movement-article .video-frame {
  margin-top: 1.25rem;
  border-block: 2px solid var(--border-gold);
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: rgba(255, 248, 235, 0.9);
  text-align: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(232, 212, 138, 0.18), transparent 12rem),
    linear-gradient(135deg, var(--red-deep), var(--red-imperial));
}

.video-placeholder strong {
  display: block;
  font-size: 1.25rem;
  color: var(--gold-light);
}

.reveal,
.detail-block {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-delay, 0) * 120ms);
}

.reveal.is-visible,
.detail-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.safety {
  background: #fff;
  border-block: 1px solid var(--border-gold);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  color: var(--gold-light);
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--red-imperial) 100%);
  border-top: 3px solid var(--gold);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--gold-light);
  font-weight: 800;
}

.footer a:hover {
  color: #fff;
}

.footer-academic {
  width: 100%;
  text-align: right;
  padding: 0.75rem 1rem;
  margin-block: 0.25rem;
  border-top: 1px solid rgba(201, 162, 39, 0.3);
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-academic p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 248, 230, 0.8);
  line-height: 1.5;
}

.footer-academic strong {
  color: var(--gold-light);
}

@media (max-width: 820px) {
  .menu-button {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.2rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--gold-mid);
    border-radius: 1rem;
    background: linear-gradient(180deg, #fffdf8, #faf3e0);
    box-shadow:
      0 8px 32px rgba(107, 15, 15, 0.12),
      0 0 0 1px rgba(212, 175, 55, 0.2);
  }

  .nav.is-open {
    display: flex;
  }

  .hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .section-heading--end {
    margin-inline: auto;
    text-align: left;
    max-width: none;
    width: 100%;
  }

  .heading-one-line {
    white-space: normal;
  }

  #baduanjin .heading-one-line {
    display: block;
  }

  .section-heading--end .eyebrow {
    justify-content: flex-start;
  }

  .prose-editorial,
  .prose-editorial--wide {
    grid-template-columns: 1fr;
  }

  .prose-editorial > p:nth-of-type(even):not(:first-of-type) {
    padding-left: 0;
    border-left: 0;
  }

  .prose-editorial--wide > p:nth-of-type(3),
  .prose-editorial--wide > p:nth-of-type(6),
  .prose-editorial--wide > p:nth-of-type(8) {
    max-width: none;
    text-align: left;
    padding: 0;
    background: none;
    border: 0;
  }

  .char-list--cards,
  .char-list--duo {
    grid-template-columns: 1fr;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .pillar-grid .pillar-card:nth-child(n) {
    grid-column: 1 / -1;
  }

  .prep-grid {
    grid-template-columns: 1fr;
  }

  .movement-text--split {
    flex-direction: column;
  }

  .prose-reading {
    text-align: left;
  }

  .movement-header,
  .movement-text,
  .poem {
    padding-inline: 1rem;
  }

  .poem {
    margin-inline: 1rem;
  }

  .movement-badge {
    font-size: 2rem;
    top: 0.75rem;
    right: 0.75rem;
  }

  .hero-card {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .detail-block {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero::before,
  .hero-card span,
  .poem-hanzi .hanzi,
  .detail-content--flow p {
    animation: none;
  }

  .button:hover {
    transform: none;
  }
}
