/* ==================================================
   FOOBOW · 福报 — DIGITAL SANCTUARY DESIGN SYSTEM
   ================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@400;500;700&family=Noto+Serif+SC:wght@400;600;700&display=swap');

:root {
  /* Digital Sanctuary Colors */
  --bg-deep: #052f31;
  --bg-dark: #07383a;
  --bg-card: rgba(8, 58, 58, 0.60);
  --bg-card-strong: rgba(7, 46, 47, 0.84);

  --jade: #70d6b0;
  --jade-light: #aaf0d6;

  --gold: #efc978;
  --gold-light: #ffe7ad;
  --gold-bright: #fff0c7;

  --cream: #f7f1e6;
  --cream-soft: #ebe4d4;

  --pink-lotus: #f4b8a8;
  --pink-soft: #ffd8ca;

  --text-primary: #fffaf0;
  --text-secondary: rgba(255, 250, 240, 0.76);
  --text-dark: #102c2a;

  --border-glass: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(239, 201, 120, 0.44);

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-card: 24px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);

  /* Backward-compatible variables for existing contracts & WCAG contrast */
  --bg: #052f31;
  --bg-2: #07383a;
  --surface: #07383a;
  --surface-glass: rgba(7, 56, 58, 0.72);
  --ink: #fffaf0;
  --muted: #aaf0d6;
  --line: rgba(255, 255, 255, 0.14);
  --vermilion: #efc978;
  --vermilion-bright: #ffe7ad;
  --saffron: #efc978;
  --gold-soft: rgba(239, 201, 120, 0.18);
  --coral: #f4b8a8;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: Inter, "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, .hero-title, .brand-word, .section-eyebrow, .couplet {
  font-family: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==================================================
   GLOBAL LAYERED BACKGROUND EFFECT
   ================================================== */
.cinematic-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.bg-layer-photo {
  position: absolute;
  inset: 0;
  background: url("assets/foobow/backgrounds/hero-night-lake.png") center top / cover no-repeat;
  filter: brightness(0.85) contrast(1.05);
  transform: scale(1.03);
  will-change: transform;
}

.bg-layer-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 47, 49, 0.78) 0%,
    rgba(5, 47, 49, 0.55) 40%,
    rgba(3, 33, 35, 0.82) 80%,
    rgba(3, 27, 29, 0.95) 100%
  );
}

.bg-layer-glow {
  position: absolute;
  top: 15%;
  right: 12%;
  width: 55vw;
  height: 55vw;
  max-width: 650px;
  max-height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 201, 120, 0.22) 0%, rgba(112, 214, 176, 0.08) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.aurora {
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40rem 32rem at 20% 15%, rgba(112, 214, 176, 0.12), transparent 60%),
    radial-gradient(35rem 30rem at 85% 20%, rgba(239, 201, 120, 0.16), transparent 60%),
    radial-gradient(42rem 36rem at 65% 85%, rgba(7, 56, 58, 0.24), transparent 65%);
  animation: aurora-drift 50s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 2%, 0) scale(1.05); }
}

/* ==================================================
   FLOATING PARTICLES & PETALS
   ================================================== */
.bg-layer-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.petal, .dust {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.dust {
  background: rgba(255, 240, 199, 0.7);
  box-shadow: 0 0 8px rgba(239, 201, 120, 0.8);
  animation: dust-float 12s ease-in-out infinite alternate;
}

.d1 { width: 3px; height: 3px; top: 25%; left: 18%; animation-duration: 9s; }
.d2 { width: 4px; height: 4px; top: 45%; left: 75%; animation-duration: 13s; animation-delay: 2s; }
.d3 { width: 2.5px; height: 2.5px; top: 68%; left: 35%; animation-duration: 11s; animation-delay: 1s; }
.d4 { width: 3.5px; height: 3.5px; top: 35%; left: 88%; animation-duration: 14s; animation-delay: 3s; }

.petal {
  width: 9px;
  height: 14px;
  background: linear-gradient(135deg, rgba(244, 184, 168, 0.75), rgba(255, 216, 202, 0.4));
  border-radius: 60% 40% 60% 40% / 70% 30% 70% 30%;
  animation: petal-fall 18s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.p1 { top: -20px; left: 22%; animation-duration: 16s; animation-delay: 0s; }
.p2 { top: -20px; left: 62%; animation-duration: 22s; animation-delay: 5s; }
.p3 { top: -20px; left: 82%; animation-duration: 19s; animation-delay: 9s; }

@keyframes dust-float {
  0% { transform: translateY(0) translateX(0); opacity: 0.3; }
  50% { transform: translateY(-30px) translateX(15px); opacity: 0.85; }
  100% { transform: translateY(-55px) translateX(-10px); opacity: 0.2; }
}

@keyframes petal-fall {
  0% { transform: translateY(-20px) rotate(0deg) translateX(0); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.6; }
  100% { transform: translateY(105vh) rotate(360deg) translateX(60px); opacity: 0; }
}

::selection {
  background: rgba(239, 201, 120, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ==================================================
   GLASSMORPHISM & CARDS
   ================================================== */
.glass-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.28);
  transition:
    transform 280ms var(--ease-premium),
    border-color 280ms var(--ease-premium),
    box-shadow 280ms var(--ease-premium);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 28px 80px rgba(0, 0, 0, 0.35),
    0 0 25px rgba(239, 201, 120, 0.12);
}

/* ==================================================
   BUTTONS
   ================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-full);
  font-family: Inter, sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition:
    transform 220ms var(--ease-premium),
    box-shadow 220ms var(--ease-premium),
    background 220ms ease,
    border-color 220ms ease;
}

.btn-primary, .btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--text-dark);
  box-shadow:
    0 7px 24px rgba(239, 201, 120, 0.28),
    inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.btn-primary:hover, .btn-gold:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(239, 201, 120, 0.42),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

.btn-primary:active, .btn-gold:active {
  transform: scale(0.97);
}

.btn-ghost, .btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-ghost:hover, .btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.btn-ghost:active, .btn-glass:active {
  transform: scale(0.97);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.btn-lg {
  min-height: 56px;
  padding: 0 36px;
  font-size: 1.08rem;
}

/* ==================================================
   HEADER NAVIGATION
   ================================================== */
.site-header {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(20px, 6vw, 64px);
  background: rgba(5, 47, 49, 0.68);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  backdrop-filter: blur(20px) saturate(130%);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-mark-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(239, 201, 120, 0.4));
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--text-dark);
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(239, 201, 120, 0.35);
}

.brand-word {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.brand-word em {
  font-style: normal;
  color: var(--gold);
  margin-left: 6px;
  font-weight: 600;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 8px;
}

.site-nav-item {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--text-secondary);
  font-family: Inter, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 200ms ease, background 200ms ease;
}

.site-nav-item:hover {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch select {
  font-family: Inter, sans-serif;
  font-size: 0.88rem;
  color: var(--text-primary);
  background: rgba(8, 58, 58, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  cursor: pointer;
  outline: none;
  transition: border-color 200ms ease;
}

.lang-switch select:hover, .lang-switch select:focus {
  border-color: var(--gold);
}

.lang-switch select option {
  background: var(--bg-dark);
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
}

/* ==================================================
   HERO SECTION
   ================================================== */
.hero {
  position: relative;
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 32px;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 6vw, 64px);
  max-width: 1440px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 84vh;
    gap: 40px;
    padding: clamp(32px, 6vw, 72px) clamp(20px, 6vw, 64px);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.hero-badge-wrap {
  margin-bottom: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(112, 214, 176, 0.12);
  border: 1px solid rgba(112, 214, 176, 0.35);
  border-radius: var(--radius-full);
  color: var(--jade-light);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-sparkle {
  color: var(--gold);
}

.kicker {
  color: var(--jade);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

.hero-title {
  margin: 0 0 14px 0;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.couplet {
  margin: 0 0 18px 0;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 14px rgba(239, 201, 120, 0.35);
}

.hero-sub {
  margin: 0 0 28px 0;
  max-width: 580px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.play-icon {
  font-size: 0.8rem;
  color: var(--gold);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-light);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: var(--border-glass);
}

/* Phrase Rotator */
.phrase-rotator {
  margin: 0;
  padding: 14px 20px;
  border-left: 2px solid var(--gold);
  background: rgba(8, 58, 58, 0.45);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  max-width: 560px;
  transition: opacity 300ms ease;
}

.phrase-rotator.fade {
  opacity: 0.15;
}

.phrase-zh {
  margin: 0 0 4px 0;
  font-family: "Noto Serif SC", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-light);
}

.phrase-gloss {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-secondary);
  font-style: italic;
}

/* Hero Visual Composition */
.hero-visual {
  display: none;
}

@media (min-width: 768px) {
  .hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 380px;
  }
}

.hero-glow-halo {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 201, 120, 0.35) 0%, rgba(112, 214, 176, 0.15) 45%, transparent 70%);
  filter: blur(28px);
  animation: halo-pulse 6s ease-in-out infinite alternate;
}

@keyframes halo-pulse {
  from { transform: scale(0.92); opacity: 0.65; }
  to { transform: scale(1.1); opacity: 0.95; }
}

.hero-lotus-wrap {
  position: relative;
  z-index: 2;
  animation: lotus-float 6s ease-in-out infinite;
}

.hero-lotus-img {
  width: clamp(240px, 32vw, 380px);
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(239, 201, 120, 0.45));
}

@keyframes lotus-float {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

/* Water Ripple Animation */
.hero-water-ripples {
  position: absolute;
  bottom: 12%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ritual-ripple {
  position: absolute;
  width: 160px;
  height: 48px;
  border: 1.5px solid rgba(239, 201, 120, 0.6);
  border-radius: 50%;
  animation: foobow-ripple 3.2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.ritual-ripple:nth-child(2) {
  animation-delay: 1.1s;
}

.ritual-ripple:nth-child(3) {
  animation-delay: 2.2s;
}

@keyframes foobow-ripple {
  from {
    opacity: 0.8;
    transform: scale(0.4);
  }
  to {
    opacity: 0;
    transform: scale(3.2);
  }
}

/* Maintain .hero-orb and .orb for reduced motion and test expectations */
.hero-orb {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.orb {
  display: block;
  width: 10px;
  height: 10px;
  animation: orb-spin 10s linear infinite;
}

@keyframes orb-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==================================================
   GATES OF KINDNESS (5 SHORTCUT CARDS)
   ================================================== */
.gates {
  padding: clamp(48px, 6vw, 84px) clamp(20px, 6vw, 64px);
  max-width: 1440px;
  margin: 0 auto;
}

.section-eyebrow {
  margin: 0 0 8px 0;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600;
  color: var(--text-primary);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.section-sub {
  margin: 0 0 36px 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
}

.gate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gate-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  transition:
    transform 280ms var(--ease-premium),
    border-color 280ms var(--ease-premium),
    box-shadow 280ms var(--ease-premium);
  cursor: pointer;
}

.gate-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 60px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(239, 201, 120, 0.14);
}

.gate-badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.gate-badge.now {
  background: rgba(112, 214, 176, 0.16);
  color: var(--jade-light);
  border: 1px solid rgba(112, 214, 176, 0.3);
}

.gate-badge.soon {
  background: rgba(239, 201, 120, 0.16);
  color: var(--gold-light);
  border: 1px solid rgba(239, 201, 120, 0.3);
}

.gate-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 10px rgba(239, 201, 120, 0.3));
}

.gate-zh {
  margin: 0 0 4px 0;
  font-family: "Noto Serif SC", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
}

.gate-name {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.gate-desc {
  margin: 0 0 18px 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
  flex-grow: 1;
}

.gate-card::after {
  content: "→";
  align-self: flex-end;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--gold-light);
  font-size: 0.95rem;
  transition: all 220ms ease;
}

.gate-card:hover::after {
  background: var(--gold);
  color: var(--text-dark);
  transform: translateX(3px);
}

/* ==================================================
   STEPS SECTION ("HOW IT WORKS")
   ================================================== */
.steps {
  padding: clamp(48px, 6vw, 84px) clamp(20px, 6vw, 64px);
  max-width: 1440px;
  margin: 0 auto;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  counter-reset: step-counter;
}

.step-list li {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 36px 28px 30px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  counter-increment: step-counter;
}

.step-list li::before {
  content: "0" counter(step-counter);
  position: absolute;
  top: -16px;
  left: 28px;
  padding: 4px 14px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--text-dark);
  border-radius: var(--radius-full);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(239, 201, 120, 0.35);
}

.step-list h3 {
  margin: 10px 0 12px 0;
  font-size: 1.35rem;
  color: var(--text-primary);
}

.step-list p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==================================================
   MERIT & ETHICS CALLOUT PANELS
   ================================================== */
.merit, .ethics {
  padding: clamp(32px, 5vw, 64px) clamp(20px, 6vw, 64px);
  max-width: 1440px;
  margin: 0 auto;
}

.merit-inner, .ethics-inner {
  background: var(--bg-card-strong);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: clamp(32px, 5vw, 54px);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 70px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.merit-inner::before, .ethics-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.merit-body, .ethics-body {
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 14px 0 0 0;
}

/* ==================================================
   WORDS TO CARRY (PHRASE WALL)
   ================================================== */
.phrases {
  padding: clamp(48px, 6vw, 84px) clamp(20px, 6vw, 64px);
  max-width: 1440px;
  margin: 0 auto;
}

.phrase-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.phrase-chip {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 240ms var(--ease-premium);
}

.phrase-chip:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  background: rgba(8, 58, 58, 0.75);
}

.phrase-chip .zh {
  margin: 0 0 6px 0;
  font-family: "Noto Serif SC", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-light);
}

.phrase-chip .gloss {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* ==================================================
   FINAL CTA & FOOTER
   ================================================== */
.final-cta {
  padding: clamp(48px, 6vw, 96px) clamp(20px, 6vw, 64px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.site-footer {
  padding: 48px clamp(20px, 6vw, 64px);
  border-top: 1px solid var(--border-glass);
  background: rgba(3, 27, 29, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
}

.footer-blessing {
  margin: 0 0 8px 0;
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: 1.3rem;
  color: var(--gold-light);
}

.footer-note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* ==================================================
   ACCESSIBILITY & REDUCED MOTION
   ================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
    transition-duration: 0.001s !important;
  }

  .aurora, .bg-layer-photo, .hero-lotus-wrap, .hero-glow-halo, .petal, .dust, .ritual-ripple, .orb, .hero-water-ripples, .hero-visual * {
    animation: none !important;
  }
}
