/* =========================================================
   Light of Life Source — Ethereal Minimal Design System
   ========================================================= */

:root {
  --cream:        #FAF6EE;
  --cream-deep:   #F2E9D8;
  --paper:        #FFFDF9;
  --ink:          #2E2A3D;
  --ink-soft:     #5B5570;
  --ink-faint:    #948DA3;
  --gold:         #B8904A;
  --gold-light:   #DCB876;
  --gold-pale:    #F1E2C0;
  --line:         #E7DEC9;
  --line-soft:    #EFE8D8;
  --shadow:       0 20px 50px -25px rgba(46, 42, 61, 0.25);
  --shadow-soft:  0 10px 30px -18px rgba(46, 42, 61, 0.18);
  --radius:       22px;
  --radius-sm:    14px;
  --maxw:         1180px;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.12; }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.2; }
h3 { font-size: 1.5rem; }

p { color: var(--ink-soft); margin: 0 0 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 18px;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 620px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #FFFDF6;
  box-shadow: 0 14px 30px -12px rgba(184, 144, 74, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(184, 144, 74, 0.65); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-sm { padding: 11px 24px; font-size: 0.78rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.brand .mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand strong { font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.lang-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 1.5px; background: var(--ink); transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 32px 130px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -220px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(220, 184, 118, 0.35) 0%, rgba(220,184,118,0.08) 45%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 840px; margin: 0 auto; }
.hero-flame {
  display: block;
  width: 64px; height: 64px;
  margin: 0 auto 28px;
  animation: flicker 4s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { transform: scale(1) translateY(0); opacity: 1; }
  50% { transform: scale(1.06) translateY(-4px); opacity: 0.88; }
}
.hero h1 { margin-bottom: 22px; }
.hero .sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.page-hero {
  padding: 96px 32px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { max-width: 800px; margin-left: auto; margin-right: auto; margin-bottom: 14px; }

/* ---------- Sections ---------- */
section { padding: 100px 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.divider {
  width: 70px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

.alt-bg { background: var(--cream-deep); }

/* ---------- Journeys / Service Cards ---------- */
.journeys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.journey-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 42px 32px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.journey-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--gold-pale);
}
.journey-icon {
  width: 52px; height: 52px;
  margin: 0 auto 22px;
  color: var(--gold);
}
.journey-card h3 { margin-bottom: 10px; }
.journey-card .quote {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 26px;
  min-height: 52px;
}
.journey-card .btn {
  margin-top: auto;
}

.notice-banner {
  max-width: 760px;
  margin: 56px auto 0;
  text-align: center;
  padding: 26px 36px;
  border: 1px dashed var(--gold-light);
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.notice-banner strong { color: var(--ink); }

/* ---------- About teaser / split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 70px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1fr 0.85fr; }
.split.reverse .art { order: 2; }

.art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--cream-deep) 60%, var(--gold-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
}
.art svg { width: 46%; height: 46%; color: var(--gold); }
.art::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
  opacity: 0.5;
}

.split .content h2 { margin-bottom: 20px; }
.split .content .btn { margin-top: 12px; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(135deg, #2E2A3D, #423C57);
  border-radius: 28px;
  padding: 70px 50px;
  text-align: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(220,184,118,0.25), transparent 70%);
  top: -200px; right: -120px;
}
.newsletter h2 { color: #fff; }
.newsletter p { color: rgba(250, 246, 238, 0.75); max-width: 460px; margin: 0 auto 30px; }
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.92rem;
}
.newsletter-form input::placeholder { color: rgba(250,246,238,0.5); }
.newsletter-form input:focus { outline: 2px solid var(--gold-light); outline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 60px 32px 34px;
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.footer-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
  max-width: 560px;
  margin: 0 auto 30px;
}
.footer-nav {
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.footer-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}
.footer-nav a:hover { color: var(--gold); }
.footer-social {
  display: flex; justify-content: center; gap: 16px; margin-bottom: 26px;
}
.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: 0.3s ease;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-meta {
  font-size: 0.78rem;
  color: var(--ink-faint);
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Reveal animation ----------
   Content is visible by default so it never depends on JS running
   (no-JS users, slow connections, crawlers, print). Only once the
   'js' class confirms script has loaded do we hide-then-reveal for
   the scroll-in effect. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.in,
.reveal { opacity: 1; transform: translateY(0); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(28px); }

/* ---------- About page specifics ---------- */
.symbol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.symbol-card {
  text-align: center;
  padding: 34px 22px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  transition: 0.4s ease;
}
.symbol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.symbol-card svg { width: 40px; height: 40px; color: var(--gold); margin: 0 auto 16px; }
.symbol-card h4 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 8px; }
.symbol-card p { font-size: 0.92rem; margin: 0; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.service-tags span {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--gold-light);
  background: var(--gold-pale);
  color: var(--ink);
  font-size: 0.9rem;
}

.story-block {
  max-width: 780px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 56px;
  box-shadow: var(--shadow-soft);
}
.story-date {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.quote-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0;
}
.quote-block svg { width: 34px; height: 34px; color: var(--gold-light); margin: 0 auto 18px; }
.quote-block p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--ink);
  line-height: 1.5;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  align-items: start;
}
.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(30, 20, 8, 0.1); }
.testimonial-card .quote-mark {
  position: absolute;
  top: 36px;
  right: 40px;
  width: 30px;
  height: 30px;
  color: var(--gold-pale);
}
.testimonial-card .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 18px; font-size: 0.95rem; }
.testimonial-card .quote-text {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 26px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.testimonial-card .who {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.testimonial-card .avatar {
  width: 58px; height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.2rem;
  border: 2px solid var(--gold-light);
  box-shadow: var(--shadow-soft);
}
.testimonial-card .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial-card .name { font-weight: 500; color: var(--ink); font-size: 0.97rem; }
.testimonial-card .session { font-size: 0.8rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }

/* ---------- Detail pages (healing sessions / journal posts) ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
  transition: color 0.3s ease;
}
.back-link:hover { color: var(--gold); }
.back-link svg { width: 14px; height: 14px; }

.price-card {
  max-width: 420px;
  margin: 0 auto 8px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.price-card .amount {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--ink);
  line-height: 1;
}
.price-card .amount .was {
  font-size: 1.1rem;
  color: var(--ink-faint);
  text-decoration: line-through;
  margin-right: 10px;
  font-family: var(--sans);
}
.price-card .basis {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 10px 0 22px;
}

.detail-body {
  max-width: 720px;
  margin: 0 auto;
}
.included-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}
.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.included-list svg {
  width: 20px; height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.article-body {
  max-width: 700px;
  margin: 0 auto;
}
.article-body p { font-size: 1.08rem; margin-bottom: 1.3em; }
.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-faint); }

/* ---------- Soul Journal ---------- */
.journal-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 820px;
  margin: 0 auto;
}
.journal-entry {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 40px 44px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.journal-entry:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold-pale);
}
.journal-entry h3 { margin-bottom: 12px; color: var(--gold); }
.journal-entry p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 60px;
  align-items: flex-start;
}
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 46px;
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 130px; }

.contact-side { display: flex; flex-direction: column; gap: 28px; }
.info-card {
  background: var(--cream-deep);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 30px;
}
.info-card .icon-row { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.info-card svg { width: 22px; height: 22px; color: var(--gold); }
.info-card a { color: var(--ink); font-weight: 500; }
.info-card a:hover { color: var(--gold); }
.info-card p { margin: 0; font-size: 0.9rem; }
.info-card .spotify-embed { margin-top: 16px; line-height: 0; }
.info-card .spotify-embed iframe { display: block; width: 100%; }

/* ---------- Responsive ---------- */

/* Tablets and below (including landscape): collapse to the hamburger nav.
   The full desktop nav (all links + CTA + lang toggle, in either language)
   needs ~1120px to lay out on one line without individual links wrapping,
   so it must switch well before typical tablet widths — both portrait
   (768-834px) and landscape (1024-1080px) — not just phone widths. */
@media (max-width: 1140px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--line-soft);
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
}

@media (max-width: 920px) {
  .journeys-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .art { order: 0; }
  .art { max-width: 320px; margin: 0 auto; }
  .symbol-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* These CTAs sit under left-aligned text and read fine that way in the
     desktop 2-column layout, but once the column stacks to full-width on
     tablet/phone a short left-flush button looks off-balance — center it. */
  .split .content .btn,
  .journal-entry .btn {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 720px) {
  .journeys-grid { grid-template-columns: 1fr; }
  .hero { padding: 90px 24px 90px; }
  section { padding: 72px 0; }
  .story-block { padding: 34px 26px; }
  .contact-form { padding: 30px 24px; }
  .newsletter { padding: 50px 26px; }
}

/* Small phones: the full "Light of Life Source" wordmark needs a tighter
   nav to stay on one line instead of wrapping into the toggle/lang controls. */
@media (max-width: 480px) {
  .nav { padding: 14px 18px; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand .mark { width: 28px; height: 28px; }
  .nav-cta { gap: 8px; }
  .lang-toggle { width: 30px; height: 30px; font-size: 0.68rem; }
  .nav-toggle { padding: 4px; }
  .story-block { padding: 26px 20px; }
  .journey-card, .testimonial-card, .journal-entry { padding-left: 26px; padding-right: 26px; }
  .price-card { padding: 26px 22px; }
}

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

/* ===== Deep-dive article layout: sticky quick-access TOC + long-form
   content, used on pages with many short topics (e.g. Akashic Records). ===== */
.deepdive-head {
  max-width: var(--maxw);
  margin: 0 auto 32px;
  padding: 0 32px;
  text-align: center;
}
.deepdive-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
}
.deepdive-toc {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 26px 20px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}
.deepdive-toc .toc-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
}
.deepdive-toc a {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 10px;
  line-height: 1.4;
  transition: background 0.25s ease, color 0.25s ease;
}
.deepdive-toc a:hover { color: var(--ink); background: var(--cream-deep); }
.deepdive-toc a.active { color: var(--gold); background: var(--gold-pale); font-weight: 500; }

.deepdive-toc-mobile {
  display: none;
}

.deepdive-article { max-width: 720px; grid-column: 2; }
.deepdive-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line-soft);
  scroll-margin-top: 96px;
}
.deepdive-section:first-child { padding-top: 0; }
.deepdive-section:last-child { border-bottom: none; padding-bottom: 0; }
.deepdive-section h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.deepdive-section p { margin-bottom: 1em; }
.deepdive-section p:last-child { margin-bottom: 0; }
.deepdive-intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 8px;
}

.deepdive-questions {
  list-style: none;
  counter-reset: qnum;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.deepdive-questions li {
  counter-increment: qnum;
  display: flex;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}
.deepdive-questions li::before {
  content: counter(qnum);
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

.chakra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.chakra-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.chakra-card h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 6px;
}
.chakra-card p { font-size: 0.92rem; margin-bottom: 0; }

@media (max-width: 920px) {
  .deepdive-wrap { grid-template-columns: 1fr; gap: 0; }
  .deepdive-article { grid-column: 1; }
  .deepdive-toc { display: none; }
  .deepdive-toc-mobile {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 32px 18px;
    margin: 0 0 8px;
    -webkit-overflow-scrolling: touch;
  }
  .deepdive-toc-mobile a {
    flex-shrink: 0;
    font-family: var(--sans);
    font-size: 0.78rem;
    color: var(--ink-soft);
    text-decoration: none;
    padding: 9px 16px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    white-space: nowrap;
  }
  .deepdive-toc-mobile a.active { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }
  .chakra-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .deepdive-section h3 { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
