/* ─────────────────────────────────────────────────────
   LIFEWATER · Body Archive — Scarlet / Hóngbāo theme
   Deep crimson ground · Warm ivory paper · Gold accent
   ───────────────────────────────────────────────────── */
:root {
  --red-deep:    #5C0A0A;
  --red-mid:     #8B1515;
  --gold:        #C9A84B;
  --gold-soft:   #E8C870;
  --gold-bright: #F0D585;
  --ivory:       #FFF8F0;
  --ivory-warm:  #FFF2E4;
  --ink:         #1A0505;
  --wine:        #7A2020;
  --line:        rgba(201, 168, 75, 0.22);
  --shadow:      0 2px 8px rgba(80, 0, 0, 0.18), 0 20px 56px rgba(80, 0, 0, 0.24);

  --serif: 'Iosevka', ui-monospace, 'SF Mono', Menlo, monospace;
  --sans:  'Inter', system-ui, sans-serif;
  --mono:  'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: #000000;
  background: #020204;
  background-image:
    radial-gradient(ellipse at 20% 15%, rgba(25, 10, 50, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 85%, rgba(5, 15, 35, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 40%, rgba(10, 30, 15, 0.20) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Subtle diamond-mesh inspired by traditional hongbao texture */

/* ── Top Nav (sits on scarlet ground) ─────────── */
.brand-mark { width: 32px; height: 32px; }

/* ── Article — ivory paper card on red ────────── */
article {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 48px 100px;
  background: linear-gradient(170deg, #ff7060 0%, #ff8070 50%, #ff6050 100%);
  border-top: 3px solid #C91E3A;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(180, 20, 20, 0.08);
  border-radius: 0 0 2px 2px;
  position: relative;
  z-index: 1;
}

/* ── Article Meta ─────────────────────────────── */
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.meta-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.series-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(6, 2, 2, 0.88), rgba(16, 4, 4, 0.78));
  border: 1px solid rgba(212, 175, 55, 0.30);
  border-radius: 100px;
  color: #D4AF37;
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #000000;
  margin-bottom: 20px;
}
h1 em { font-style: italic; color: #000000; font-weight: 400; }

.subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: #000000;
  line-height: 1.4;
  margin-bottom: 36px;
  max-width: 600px;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag {
  padding: 5px 12px;
  background: linear-gradient(135deg, rgba(6, 2, 2, 0.82), rgba(14, 3, 3, 0.72));
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

/* ── Wave Divider ─────────────────────────────── */
.wave-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 56px 0 48px;
  gap: 14px;
}
.wave-divider svg { flex-shrink: 0; }
.wave-divider .line {
  height: 1px;
  width: 80px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
}

/* ── Sections ─────────────────────────────────── */
.section { margin-bottom: 56px; scroll-margin-top: 40px; }

.section-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #D4AF37;
  font-weight: 500;
  margin-bottom: 8px;
  display: inline-block;
  background: linear-gradient(135deg, rgba(6, 2, 2, 0.78), rgba(14, 3, 3, 0.68));
  padding: 3px 10px;
  border-radius: 4px;
}

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #000000;
  margin-bottom: 24px;
  position: relative;
}
h2::before {
  content: '';
  position: absolute;
  left: -20px; top: 18px;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(201, 168, 75, 0.2);
}
@media (max-width: 600px) { h2::before { display: none; } }

p {
  margin-bottom: 20px;
  font-size: 17px;
  color: rgba(26, 5, 5, 0.85);
}
p strong { color: #000000; font-weight: 600; }
p em     { color: #000000; }

/* ── Pull Quote ───────────────────────────────── */
.pullquote {
  margin: 48px 0;
  padding: 32px 36px;
  background: linear-gradient(135deg, rgba(180, 20, 20, 0.05), rgba(180, 20, 20, 0.02));
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: #000000;
  position: relative;
}
.pullquote::before {
  content: '"';
  position: absolute;
  top: 8px; left: 18px;
  font-size: 60px;
  color: var(--gold);
  opacity: 0.3;
  font-family: var(--serif);
  line-height: 1;
}

/* ── Spec Grid ────────────────────────────────── */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.spec-card {
  background: var(--ivory-warm);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
  box-shadow: 0 1px 3px rgba(80,0,0,.06), 0 4px 12px rgba(80,0,0,.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.spec-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(80,0,0,.1), 0 12px 28px rgba(80,0,0,.1);
}
.spec-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
}
.spec-value {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: #000000;
  line-height: 1.3;
}

/* ── Callouts ─────────────────────────────────── */
.callout {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--ivory-warm);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(80,0,0,.06);
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--gold-soft));
}
.callout-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
}
.callout-trap::before { background: linear-gradient(to bottom, #C97B3F, #8B4A1F); }
.callout-trap .callout-label { color: #C97B3F; }
.callout-coach::before { background: linear-gradient(to bottom, var(--wine), var(--red-deep)); }
.callout-coach .callout-label { color: #000000; }

/* ── Verdict ──────────────────────────────────── */
.verdict {
  margin: 64px 0 32px;
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--ivory-warm) 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(80,0,0,.06), 0 8px 24px rgba(80,0,0,.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.verdict::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,168,75,.15), transparent 70%);
  border-radius: 50%;
}
.verdict-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}
.verdict-rating { font-size: 36px; margin-bottom: 16px; letter-spacing: 4px; }
.verdict-rating .star {
  color: var(--gold);
  filter: drop-shadow(0 2px 4px rgba(201,168,75,.4));
}
.verdict-rating .star-empty { color: rgba(26,5,5,.18); filter: none; }
.verdict-score {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 24px;
}
.verdict-final {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: #000000;
  max-width: 560px;
  margin: 0 auto 18px;
}
.verdict-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  color: #000000;
  margin-top: 12px;
}

/* ── Sign-off ─────────────────────────────────── */
.signoff {
  margin: 32px 0 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: #000000;
}
.signoff-name {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  color: #000000;
  letter-spacing: 0.04em;
}

/* ── Up Next ──────────────────────────────────── */
.up-next {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.up-next-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
}
.up-next-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 8px;
}
.up-next-desc { font-size: 15px; color: #000000; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.post-nav-link { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; color: inherit; opacity: 0.55; transition: opacity 0.2s; }
.post-nav-link:hover { opacity: 1; }
.post-nav-next { margin-left: auto; }

/* ── Centered Home Return Button ──────────────── */
.home-return {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 32px 36px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 42px;
  background: transparent;
  border: 1.5px solid rgba(201, 168, 75, 0.45);
  border-radius: 100px;
  color: rgba(255, 248, 240, 0.8);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
}
.home-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 75, 0.3);
}
.home-btn svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ── Drop cap ─────────────────────────────────── */
.intro p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 600;
  color: #000000;
  float: left;
  line-height: 0.85;
  margin: 6px 10px 0 0;
  padding-top: 4px;
}

/* ── Animations ───────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
article > * { animation: fadeUp 0.6s ease-out backwards; }
article > *:nth-child(1) { animation-delay: 0.05s; }
article > *:nth-child(2) { animation-delay: 0.12s; }
article > *:nth-child(3) { animation-delay: 0.19s; }
article > *:nth-child(4) { animation-delay: 0.26s; }
article > *:nth-child(5) { animation-delay: 0.33s; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 640px) {
  article { padding: 32px 58px 80px 24px; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .subtitle { font-size: 19px; }
  .pullquote { font-size: 19px; padding: 24px 24px 24px 28px; }
  .verdict { padding: 36px 24px; }
  .verdict-final { font-size: 19px; }
  body { font-size: 16px; }
}

/* ── Back to Top ─────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ivory);
  color: #000000;
  border: 1px solid rgba(201,168,75,0.4);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(80,0,0,0.2);
  transition: opacity 0.25s, transform 0.25s, border-color 0.2s, color 0.2s;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { border-color: var(--gold); color: var(--gold); }
.back-to-top svg { width: 18px; height: 18px; }

/* ── SIDE DOCK ── */
.side-dock { position: fixed; right: 1.25rem; top: 50%; transform: translateY(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 0.4rem; background: rgba(4,6,14,0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(26,127,168,0.22); border-radius: 18px; padding: 0.65rem 0.5rem; box-shadow: 0 8px 32px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.04), 0 0 28px rgba(0,200,150,0.05); }
.dock-item { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; text-decoration: none; color: rgba(139,160,180,0.65); transform-origin: right center; transition: color 0.22s ease, background 0.22s ease, transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease; outline: none; }
.dock-item::before { content: ''; position: absolute; inset: 0; border-radius: 12px; background: radial-gradient(ellipse at center, rgba(0,200,150,0.26) 0%, transparent 72%); opacity: 0; transition: opacity 0.25s ease; }
.dock-item:hover::before, .dock-item.active::before { opacity: 1; }
.dock-item:hover { color: #00c896; background: rgba(0,200,150,0.1); transform: scale(1.18); box-shadow: 0 0 22px rgba(0,200,150,0.48), 0 0 9px rgba(0,200,150,0.3), 0 4px 14px rgba(0,0,0,0.32); }
.dock-item:focus-visible { outline: 2px solid #00c896; outline-offset: 2px; }
.dock-item.active { color: #00c896; background: rgba(0,200,150,0.08); box-shadow: 0 0 12px rgba(0,200,150,0.22); }
.dock-item.active::after { content: ''; position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: #00c896; box-shadow: 0 0 7px rgba(0,200,150,0.9); }
.dock-icon { width: 22px; height: 22px; display: block; flex-shrink: 0; }
.dock-label { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(8px); background: rgba(4,6,14,0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #dde6f4; font-family: 'Inter', system-ui, sans-serif; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.26rem 0.62rem; border-radius: 6px; border: 1px solid rgba(26,127,168,0.28); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.18s ease, transform 0.18s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.38); }
.dock-item:hover .dock-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 768px) {
  .side-dock { right: 0.55rem; padding: 0.5rem 0.35rem; gap: 0.3rem; border-radius: 14px; }
  .dock-item { width: 36px; height: 36px; border-radius: 10px; }
  .dock-item:hover { transform: scale(1.1); }
  .dock-icon { width: 17px; height: 17px; }
  .dock-label { display: none; }
  .dock-item.active::after { width: 3px; height: 3px; bottom: 2px; }
}

@media (max-width: 768px) {
  body { background-attachment: scroll; }
}

@media (prefers-reduced-motion: reduce) {
  article > * { animation: none; }
}

@media (hover: none) and (pointer: coarse) {
  .spec-card:hover { transform: none; box-shadow: var(--shadow); }
}

/* Dark glassmorphism aesthetic — inner sections */
.trinity {
  background: var(--root-deep);
  border-color: rgba(201, 168, 75, 0.2);
}

.trinity-title {
  color: var(--sky-soft);
}

.trinity-pillar {
  background: rgba(122, 32, 32, 0.4);
  border: 1px solid rgba(201, 168, 75, 0.15);
}

.trinity-name {
  color: var(--sky-soft);
}

.trinity-desc {
  color: rgba(255, 248, 240, 0.75);
}

.spec-card {
  background: rgba(122, 32, 32, 0.4);
  border-color: rgba(201, 168, 75, 0.15);
}

.spec-label {
  color: var(--sky);
}

.spec-value {
  color: var(--sky-soft);
}

.variant-card {
  background: rgba(122, 32, 32, 0.4);
  border-color: rgba(201, 168, 75, 0.15);
}

.variant-name {
  color: var(--sky-soft);
}

.variant-subname {
  color: var(--sky);
}

.variant-row-text {
  color: rgba(255, 248, 240, 0.85);
}

.variant-row-text strong {
  color: var(--sky-soft);
}

.variant-row {
  border-bottom-color: rgba(201, 168, 75, 0.15);
}

#canopy-glass {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100vw - 40px), 1160px);
  height: 100%;
  background: linear-gradient(90deg, rgba(10,4,8,0) 0%, rgba(196,30,58,.045) 20%, rgba(212,175,55,.09) 50%, rgba(196,30,58,.045) 80%, rgba(10,4,8,0) 100%);
  border-left: 1px solid rgba(212,175,55,.07);
  border-right: 1px solid rgba(212,175,55,.07);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) { #canopy-glass { display: none; } }
/* ── Footer ── */
footer {
  background: #090308;
  border-top: 1px solid #1a0a10;
  padding: 2.5rem 3rem 2rem;
  text-align: center;
}
.footer-logo-img { width: 44px; height: auto; margin: 0 auto 0.6rem; display: block; opacity: 0.8; filter: drop-shadow(0 0 6px rgba(212,175,55,0.2)); }
.footer-logo { font-family: 'Cinzel', serif; font-size: 1.3rem; font-weight: 700; color: #dde6f4; margin-bottom: 0.4rem; }
.footer-logo span { color: #D4AF37; }
.footer-tagline { font-size: 0.78rem; color: #7a6570; font-style: italic; margin-bottom: 1.5rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a { color: #7a6570; text-decoration: none; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.3s ease; }
.footer-links a:hover { color: #D4AF37; }
.footer-coffee-link { color: #f4b400 !important; }
.footer-coffee-link:hover { color: #D4AF37 !important; }
.footer-bottom { font-size: 0.7rem; color: #7a6570; border-top: 1px solid #1a0a10; padding-top: 1.2rem; }
.copyright-disclaimer { font-size: 0.68rem; color: #7a6570; font-style: italic; margin: 1rem auto 1.5rem; max-width: 560px; line-height: 1.6; }
@media (max-width: 768px) {
  article { padding: 24px 58px 60px 20px; }
  footer { padding: 2.5rem 1.25rem 2rem; padding-right: 70px; }
}

/* Extracted from inline style= attributes */
.xs-e2b74ba6 { margin: 0; }
.xs-1add7762 { color:inherit;text-decoration:none;border-bottom:1px solid var(--line); }
.xs-93b8ea5b { display:none; }
