/* HigherVibes — Cosmic Black & Gold */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,500;1,400;1,500&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --black: #0A0A0A;
  --gold: #D4AF37;
  --purple: #4B0082;
  --emerald: #228B22;
  --off-white: #FAFAFA;
  --ink-soft: rgba(250, 250, 250, 0.82);
  --line: rgba(212, 175, 55, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* NOTE: no `scroll-behavior: smooth` on html — with this page's paint load,
   CSS smooth-scroll animations starve and anchor navigation dies entirely
   (worst on mobile). Anchors jump instantly; scroll-margin keeps offsets. */
[id] { scroll-margin-top: 120px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ── Typographic system ───────────────────────────────────────
   Cinzel  — the temple voice: headings, nav, buttons, eyebrows
   Cormorant Garamond italic — decorative accents only (large)
   Lora    — everything you actually read: sturdy on dark, warm,
             built for screen body text
   ───────────────────────────────────────────────────────────── */
body {
  background: var(--black);
  color: var(--off-white);
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 1.02rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
p { max-width: 68ch; }
.mission p, .contact p { margin-left: auto; margin-right: auto; }

h1, h2, h3, h4, .nav__logo, .btn,
.hero__eyebrow, .section__eyebrow, .pillars-tagline, .pillar__name {
  font-family: 'Cinzel', 'Lora', serif;
}
h1 { font-weight: 500; }
/* the flourish the brand is built on — kept for large display accents */
h1 em, h2 em, .hero__sub em, .pillars-medicine, .akashic__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
}
.btn { font-weight: 500; letter-spacing: 0.06em; font-size: 0.95rem; }
.btn--small { font-size: 0.85rem; }

/* Cosmic canvas behind everything */
#cosmos {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
}
main, .nav, .topbar, .footer { position: relative; z-index: 1; }

/* ── Ascension layer: aurora grounds of cosmos / emerald / obsidian ── */
body::before, body::after {
  content: ""; position: fixed; inset: -25%; z-index: -2; pointer-events: none;
  will-change: transform, opacity;
}
body::before {
  background:
    radial-gradient(38% 30% at 18% 22%, rgba(34, 139, 34, 0.14), transparent 70%),
    radial-gradient(45% 36% at 82% 12%, rgba(75, 0, 130, 0.20), transparent 70%),
    radial-gradient(30% 26% at 70% 78%, rgba(212, 175, 55, 0.07), transparent 70%);
  filter: blur(70px);
  animation: aurora-a 90s ease-in-out infinite alternate;
}
body::after {
  background:
    radial-gradient(34% 30% at 78% 62%, rgba(34, 139, 34, 0.10), transparent 70%),
    radial-gradient(40% 34% at 12% 80%, rgba(75, 0, 130, 0.14), transparent 70%),
    radial-gradient(24% 22% at 45% 30%, rgba(45, 212, 191, 0.05), transparent 70%);
  filter: blur(80px);
  animation: aurora-b 120s ease-in-out infinite alternate;
}
@keyframes aurora-a {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.9; }
  50%  { transform: translate3d(4%, -3%, 0) scale(1.08); opacity: 1; }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.02); opacity: 0.85; }
}
@keyframes aurora-b {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1.05); opacity: 0.8; }
  50%  { transform: translate3d(-4%, 3%, 0) rotate(1.5deg) scale(1); opacity: 1; }
  100% { transform: translate3d(3%, -2%, 0) rotate(-1deg) scale(1.06); opacity: 0.85; }
}

/* luminous gold — slow breathing glow, never busy */
@keyframes gold-breathe {
  from { box-shadow: 0 0 18px rgba(212, 175, 55, 0.10), inset 0 0 0 1px rgba(212, 175, 55, 0.25); }
  to   { box-shadow: 0 0 34px rgba(212, 175, 55, 0.22), inset 0 0 0 1px rgba(212, 175, 55, 0.45); }
}
.card--featured { animation: gold-breathe 7s ease-in-out infinite alternate; }
@keyframes soft-levitate {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}
.pillar__icon { animation: soft-levitate 6s ease-in-out infinite alternate; }
.pillar:nth-child(2) .pillar__icon { animation-delay: 1.4s; }
.pillar:nth-child(3) .pillar__icon { animation-delay: 2.8s; }
.pillar:nth-child(4) .pillar__icon { animation-delay: 4.2s; }
.welcome__photo { animation: soft-levitate 8s ease-in-out infinite alternate; }
.divider span { animation: gold-breathe 5s ease-in-out infinite alternate; border-radius: 50%; }
h2 { filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.18)); }
h1 { filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.14)); }

@media (prefers-reduced-motion: reduce) {
  body::before, body::after { animation: none; }
  .card--featured, .pillar__icon, .welcome__photo, .divider span { animation: none; }
}

/* user-controlled motion pause (WCAG 2.2.2) */
.motion-toggle {
  position: fixed; bottom: 1rem; left: 1rem; z-index: 50;
  background: rgba(10, 10, 10, 0.85); border: 1px solid rgba(212, 175, 55, 0.55);
  color: rgba(250, 250, 250, 0.82); border-radius: 999px; padding: 0.6rem 1rem;
  font-family: inherit; font-size: 0.8rem; cursor: pointer; min-height: 44px;
}
.motion-toggle:hover { color: var(--gold); }
body.motion-paused #cosmos { display: none; }
body.motion-paused::before, body.motion-paused::after { animation-play-state: paused; }
body.motion-paused .card--featured, body.motion-paused .pillar__icon,
body.motion-paused .welcome__photo, body.motion-paused .divider span,
body.motion-paused h1 em, body.motion-paused h2 { animation: none; }

/* Scroll reveal + shimmer */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: none; }
.card { transition: transform 0.25s ease, opacity 0.7s ease, box-shadow 0.25s ease; will-change: transform; }
.card:hover { box-shadow: 0 18px 45px rgba(75, 0, 130, 0.35), 0 0 0 1px rgba(212, 175, 55, 0.35); }
h1 em, h2 {
  background: linear-gradient(100deg, var(--off-white) 20%, var(--gold) 45%, #f5e6b3 50%, var(--gold) 55%, var(--off-white) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% center; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  h1 em, h2 { animation: none; }
}

h1, h2, h3 { font-weight: 500; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; color: var(--gold); margin-bottom: 0.5rem; }
em { color: var(--gold); font-style: italic; }
p { color: var(--ink-soft); }

/* Nav */
.nav {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  padding: 0.9rem 4vw; position: sticky; top: 0; z-index: 10;
  background: rgba(10, 10, 10, 0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { font-size: 1.2rem; color: var(--off-white); text-decoration: none; letter-spacing: 0.12em; text-transform: uppercase; }
.nav__logo span { color: var(--gold); }
.nav__links { display: flex; gap: 0.9rem; align-items: center; flex-wrap: wrap; }
.nav__links a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; display: inline-block; padding: 0.65rem 0.5rem; }
.nav__links a:hover { color: var(--gold); }

/* Top free-guide bar */
.topbar {
  display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap;
  padding: 0.6rem 6vw; background: var(--purple); color: var(--off-white);
  font-size: 0.95rem;
}
.topbar p { color: var(--off-white); }
.topbar__link { color: var(--gold); text-decoration: none; font-weight: bold; display: inline-block; padding: 0.6rem 0.4rem; margin: -0.3rem 0; }

/* Hero */
.hero {
  text-align: center; padding: 16vh 6vw 12vh;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(75, 0, 130, 0.55), transparent 60%),
    radial-gradient(ellipse at 80% 110%, rgba(212, 175, 55, 0.12), transparent 55%);
}
/* flower-of-life watermark behind hero (from Kim's brand cards) */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -140px; transform: translateX(-50%);
  width: 560px; height: 560px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='242' viewBox='0 0 140 242'%3E%3Cg fill='none' stroke='%23D4AF37' stroke-width='1'%3E%3Ccircle cx='0' cy='0' r='70'/%3E%3Ccircle cx='140' cy='0' r='70'/%3E%3Ccircle cx='70' cy='121' r='70'/%3E%3Ccircle cx='0' cy='242' r='70'/%3E%3Ccircle cx='140' cy='242' r='70'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 70%);
}
.hero > * { position: relative; }
.hero__figure {
  position: absolute !important; right: 6%; top: 50%; margin-top: -190px;
  width: 380px; height: 380px; object-fit: cover; border-radius: 50%;
  opacity: 0.16; pointer-events: none; z-index: 0;
  filter: saturate(0.6) brightness(0.95) contrast(1.05);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 72%);
  will-change: transform;
}
@media (max-width: 900px) { .hero__figure { display: none; } }

/* starburst divider (from Kim's brand cards) */
.divider {
  display: flex; align-items: center; gap: 0.9rem; justify-content: center;
  margin: 2.4rem auto; max-width: 34rem; border: 0;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5));
}
.divider::after { background: linear-gradient(90deg, rgba(212,175,55,0.5), transparent); }
.divider span { color: var(--gold); font-size: 1.1rem; text-shadow: 0 0 12px rgba(212,175,55,0.8); }

/* brand pillars strip (recreated from Kim Alfano brand card) */
.pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0; margin-top: 2.8rem; text-align: center;
}
.pillar { padding: 1.4rem 1.2rem; border-left: 1px solid rgba(212,175,55,0.2); }
.pillar:first-child { border-left: 0; }
.pillar__icon { font-size: 1.7rem; color: var(--gold); display: block; margin-bottom: 0.8rem; filter: drop-shadow(0 0 8px rgba(212,175,55,0.45)); }
.pillar__name { color: var(--off-white); font-size: 0.92rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.7rem; }
.pillar__name::after { content: ""; display: block; width: 2rem; height: 1px; background: var(--gold); margin: 0.6rem auto 0; }
.pillar p { color: var(--gold); font-size: 0.88rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.9; }
.pillars-tagline { text-align: center; margin-top: 2.4rem; color: var(--gold); letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.9rem; }
.pillars-medicine { text-align: center; font-style: italic; font-size: 1.35rem; color: var(--off-white); margin-top: 0.9rem; }

/* testimonial chat wall — HTML/CSS recreation of Kim's text-message screenshots */
.chat-wall { columns: 3; column-gap: 1.4rem; margin-top: 2.4rem; }
@media (max-width: 900px) { .chat-wall { columns: 2; } }
@media (max-width: 600px) { .chat-wall { columns: 1; } }
/* Testimonial flip cards: clean readable text by default;
   click/tap flips to reveal the original screenshot as proof */
.chat {
  break-inside: avoid; margin-bottom: 1.4rem;
  perspective: 1200px; position: relative; cursor: pointer;
}
.chat__inner {
  position: relative; transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.25, 0.7, 0.25, 1);
}
.chat.flipped .chat__inner { transform: rotateY(180deg); }
.chat__front, .chat__back {
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
}
.chat__front {
  position: relative; padding: 1.1rem 1.1rem 2.1rem;
  background: linear-gradient(180deg, rgba(22, 22, 28, 0.92), rgba(12, 12, 16, 0.96));
}
.chat:hover .chat__front { border-color: rgba(212, 175, 55, 0.5); }
.chat__back {
  position: absolute; inset: 0; transform: rotateY(180deg);
  background: #0e0e12;
}
.chat__back img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.chat__flip {
  position: absolute; bottom: 0.55rem; right: 0.8rem; z-index: 2;
  font-size: 0.78rem; letter-spacing: 0.08em; color: var(--gold);
  background: rgba(10, 10, 10, 0.75); padding: 0.2rem 0.65rem; border-radius: 999px;
  pointer-events: none;
}
.chat .bubble--them {
  background: rgba(30, 30, 36, 0.97);
  border: 1px solid rgba(250, 250, 250, 0.07);
}
.chat .bubble--me {
  background: linear-gradient(135deg, rgba(91, 45, 145, 0.97), rgba(75, 0, 130, 0.97));
}
@media (prefers-reduced-motion: reduce) {
  .chat__inner { transition: none; }
}
.chat__meta {
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem;
  color: rgba(250,250,250,0.72); font-size: 0.86rem; letter-spacing: 0.06em;
}
.chat__avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--purple), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: var(--off-white); font-size: 0.72rem; font-weight: bold;
}
.bubble {
  position: relative; padding: 0.8rem 1.05rem; margin: 0.35rem 0;
  border-radius: 18px; font-size: 1rem; line-height: 1.5;
  width: fit-content; max-width: 92%;
}
.bubble--them {
  background: #232328; color: var(--off-white);
  border-bottom-left-radius: 5px;
}
.bubble--me {
  background: linear-gradient(135deg, #5b2d91, var(--purple)); color: var(--off-white);
  border-bottom-right-radius: 5px; margin-left: auto;
}
.bubble--them + .bubble--them { border-top-left-radius: 8px; }
.chat__stamp {
  color: rgba(250,250,250,0.82); background: rgba(10,10,10,0.72);
  display: table; margin: 0 auto 0.4rem; padding: 0.15rem 0.7rem; border-radius: 999px;
  font-size: 0.8rem; letter-spacing: 0.08em;
}
.hero__eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.85rem; color: var(--gold); margin-bottom: 1.4rem; }
.hero__sub { max-width: 34rem; margin: 1.5rem auto 2.2rem; font-size: 1.15rem; }
.hero__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__proof { margin-top: 2.6rem; font-size: 0.95rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(250,250,250,0.5); }

/* Buttons — polished gold metal */
.btn {
  display: inline-block; position: relative; overflow: hidden;
  color: #2b1d00; text-shadow: 0 1px 0 rgba(255, 245, 200, 0.6);
  padding: 0.85rem 2rem; text-decoration: none;
  border: 1px solid #8a6d1f;
  border-radius: 999px; font-family: inherit; font-size: 1rem; cursor: pointer;
  background:
    /* brushed-metal grain */
    repeating-linear-gradient(95deg,
      rgba(255,255,255,0.05) 0 1px, rgba(0,0,0,0.04) 1px 2px, transparent 2px 4px),
    /* vertical metal body — richer 24k depth */
    linear-gradient(180deg,
      #fff6d8 0%, #f6dd8a 12%, #e3bc4e 28%, #d4af37 40%,
      #b8891c 52%, #b8891c 62%, #e8c95c 76%, #fdf0bd 90%, #a87b15 100%);
  box-shadow:
    inset 0 2px 3px rgba(255, 250, 220, 0.85),   /* top bevel light */
    inset 0 -3px 5px rgba(90, 60, 0, 0.55),      /* bottom bevel shade */
    inset 2px 0 3px rgba(255, 245, 200, 0.25),
    inset -2px 0 4px rgba(90, 60, 0, 0.3),
    0 6px 16px rgba(0, 0, 0, 0.55),              /* drop shadow */
    0 1px 0 rgba(255, 235, 170, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
/* moving specular light sweep */
.btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(115deg,
    transparent 30%, rgba(255, 255, 255, 0.55) 48%,
    rgba(255, 255, 255, 0.15) 52%, transparent 65%);
  background-size: 250% 100%; background-position: 120% 0;
  transition: background-position 0.6s ease;
  pointer-events: none;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px);
  box-shadow:
    inset 0 2px 3px rgba(255, 250, 220, 0.9),
    inset 0 -3px 5px rgba(90, 60, 0, 0.55),
    0 10px 24px rgba(0, 0, 0, 0.6),
    0 0 18px rgba(212, 175, 55, 0.35);
}
.btn:hover::after { background-position: -60% 0; }
.btn:active { transform: translateY(1px);
  box-shadow:
    inset 0 3px 6px rgba(90, 60, 0, 0.6),
    inset 0 -1px 2px rgba(255, 250, 220, 0.4),
    0 3px 8px rgba(0, 0, 0, 0.5);
}
/* ghost = engraved gold rim */
.btn--ghost {
  background:
    linear-gradient(180deg, rgba(249, 233, 168, 0.10), rgba(168, 127, 24, 0.08));
  color: var(--gold); text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  border: 1px solid #c79a2a;
  box-shadow:
    inset 0 1px 1px rgba(255, 245, 200, 0.25),
    inset 0 -2px 4px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.45);
}
.btn--ghost:hover { filter: none; color: #f2d883;
  box-shadow:
    inset 0 1px 1px rgba(255, 245, 200, 0.35),
    inset 0 -2px 4px rgba(0, 0, 0, 0.5),
    0 6px 16px rgba(0, 0, 0, 0.5),
    0 0 16px rgba(212, 175, 55, 0.3);
}
.btn--small { padding: 0.7rem 1.2rem; font-size: 0.9rem; min-height: 44px; }

/* Mission */
.mission { max-width: 44rem; margin: 0 auto; padding: 6rem 6vw; text-align: center; }
.mission__points { list-style: none; margin-top: 2rem; display: grid; gap: 0.8rem; text-align: left; max-width: 30rem; margin-left: auto; margin-right: auto; color: var(--ink-soft); }

/* Sections */
.section { padding: 6rem 6vw; max-width: 72rem; margin: 0 auto; }
.section--alt {
  background:
    radial-gradient(60% 80% at 15% 10%, rgba(34, 139, 34, 0.07), transparent 60%),
    linear-gradient(180deg, rgba(75, 0, 130, 0.14), rgba(10, 10, 10, 0) 85%);
  max-width: none;
}
.section--alt > * { max-width: 72rem; margin-left: auto; margin-right: auto; }
.section__eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.86rem; color: #58c878; margin-bottom: 0.6rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1.4rem; margin-top: 2.4rem; }
.cards--two { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.cards--three { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.card {
  border: 1px solid var(--line); border-radius: 14px; padding: 1.8rem;
  background: rgba(250, 250, 250, 0.02);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.card--featured { border-color: var(--gold); background: rgba(212, 175, 55, 0.06); }
.card__badge { font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); }
.hero__badge { letter-spacing: 0.2em; }
.hero__badge--spaced { margin-top: 0.4rem; }
.card__cta { margin-top: auto; color: var(--gold); text-decoration: none; display: inline-block; padding: 0.5rem 0; }
.card__cta:hover { text-decoration: underline; }
.card__form { display: flex; gap: 0.6rem; margin-top: auto; flex-wrap: wrap; }
.card__form input {
  flex: 1; min-width: 150px; padding: 0.7rem 1rem; border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.55); background: var(--black); color: var(--off-white);
  font-family: inherit; font-size: 1rem;
}

/* About */
.about__body { display: flex; gap: 2.5rem; margin-top: 2rem; align-items: flex-start; flex-wrap: wrap; }
.about__photo {
  flex: 0 0 220px; height: 260px; border: 1px dashed var(--line); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: rgba(250,250,250,0.35); font-size: 0.9rem;
}
.about__body > div:last-child { flex: 1; min-width: 260px; display: grid; gap: 1rem; }

/* Photos */
.welcome__photo {
  width: 150px; height: 150px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold); box-shadow: 0 0 34px rgba(212, 175, 55, 0.35);
  margin-bottom: 1.6rem;
}
.story__photo {
  width: 100%; max-width: 420px; display: block; margin: 2.2rem auto 0;
  border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* Testimonials */
.testimonials .quote { background: rgba(75, 0, 130, 0.06); }
.quote { font-style: italic; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; color: var(--gold); font-size: 0.9rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; max-width: 44rem; }
.faq summary { cursor: pointer; color: var(--off-white); font-size: 1.05rem; }
.faq details p { margin-top: 0.7rem; }

/* Contact */
.contact { text-align: center; }
.contact p { max-width: 30rem; margin: 0.8rem auto 1.6rem; }

.placeholder-note { font-size: 0.9rem; color: rgba(250,250,250,0.5); font-style: italic; }

/* Inline links, vortex signup, socials */
.inline-link { color: var(--gold); text-decoration: underline; }
.vortex { margin-top: 2.5rem; border: 1px solid var(--line); border-radius: 14px; padding: 1.8rem; background: rgba(75, 0, 130, 0.12); }
.vortex h3 { margin-bottom: 0.4rem; }
.vortex .card__form { justify-content: center; margin-top: 1rem; }
.socials { display: flex; gap: 0.8rem; justify-content: center; margin-top: 2.2rem; flex-wrap: wrap; }
.socials a { color: var(--ink-soft); text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.92rem; display: inline-block; padding: 0.7rem 0.5rem; }
.socials a:hover { color: var(--gold); }

/* Footer */
.footer { text-align: center; padding: 3rem 6vw; border-top: 1px solid var(--line); }
.footer__disclaimer { font-size: 0.88rem; line-height: 1.7; color: rgba(250,250,250,0.5); margin-top: 0.5rem; }

/* footer legal: always open on desktop (summary hidden = identical to today), tappable on mobile */
.footer__legal { margin-top: 0.5rem; }
.footer__legal summary { display: none; }
@media (max-width: 640px) {
  .footer__legal summary {
    display: list-item; cursor: pointer; min-height: 44px;
    padding: 0.75rem 0.5rem; box-sizing: border-box;
    color: rgba(250, 250, 250, 0.7); font-size: 0.85rem;
    letter-spacing: 0.08em; text-transform: uppercase;
  }
  .footer__legal .footer__disclaimer { margin-top: 0.4rem; text-align: left; }
}

/* mid-page CTA wrapper (replaces inline-styled divs on ritual/masterclass pages) */
.section__cta { text-align: center; margin-top: 2.5rem; }

/* ── Mobile ── */
.nav__toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  color: var(--gold); font-size: 1.3rem; padding: 0.35rem 0.7rem; cursor: pointer;
  min-width: 44px; min-height: 44px;
}
html { scroll-padding-top: 110px; }

@media (max-width: 900px) {
  /* nothing on a phone should fall below comfortable reading size */
  body { font-size: 1.05rem; line-height: 1.8; }
  .hero__sub { font-size: 1.1rem; }
  .card p, .mission p, .section p, .bubble { font-size: 1.02rem; }
  .hero__eyebrow, .section__eyebrow { font-size: 0.88rem; letter-spacing: 0.16em; }
  .card__badge { font-size: 0.86rem; letter-spacing: 0.1em; }
  .pillar__name { font-size: 0.98rem; }
  .pillar p { font-size: 0.95rem; }
  .pillars-tagline { font-size: 0.92rem; letter-spacing: 0.16em; }
  .hero__proof { font-size: 0.95rem; letter-spacing: 0.1em; }
  .chat__meta { font-size: 0.9rem; }
  .chat__stamp { font-size: 0.82rem; }
  .footer__disclaimer { font-size: 0.9rem; }
  .placeholder-note { font-size: 0.92rem; }
  .socials a, .nav__links a { font-size: 1rem; }
  .btn, .btn--small { font-size: 0.95rem; }
  .motion-toggle { font-size: 0.85rem; }
  h3 { font-size: 1.2rem; }

  .nav { flex-wrap: nowrap; }
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 10, 10, 0.98); border-bottom: 1px solid var(--line);
    padding: 0.5rem 0 1rem;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 0.85rem 6vw; font-size: 1.05rem; }
  .nav__links .btn { margin: 0.7rem 6vw 0; text-align: center; }
  html { scroll-padding-top: 70px; }

  .section, .mission { padding-top: 3.2rem; padding-bottom: 3.2rem; }
  .hero { padding: 9vh 6vw 8vh; }
  h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .topbar { font-size: 0.85rem; padding: 0.5rem 4vw; gap: 0.4rem; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 0.5rem 0; }
  .pillar { border-left: 0; border-top: 1px solid rgba(212, 175, 55, 0.15); padding: 1.2rem 0.8rem; }
  .pillar:nth-child(-n+2) { border-top: 0; }
  .cards { gap: 1rem; }
  .card { padding: 1.4rem; }
  .about__body { gap: 1.5rem; }
  .contact .btn { width: 100%; max-width: 22rem; }

  /* single, accurate anchor offset (scroll-padding 70px alone clears the ~64px nav) */
  [id] { scroll-margin-top: 0; }

  /* compact header: 44px toggle + 0.6rem padding + 1px border = ~64px tall */
  .nav { padding-top: 0.6rem; padding-bottom: 0.6rem; }
  .nav__toggle {
    line-height: 1; padding: 0;
    width: 44px; height: 44px;           /* keeps the >=44px touch target */
    display: grid; place-items: center;
  }
}

@media (max-width: 640px) {
  .hero__ctas .btn { width: 100%; max-width: 20rem; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-top: 1px solid rgba(212, 175, 55, 0.15); }
  .pillar:first-child { border-top: 0; }
  .pillar:nth-child(2) { border-top: 1px solid rgba(212, 175, 55, 0.15); }
  .welcome__photo { width: 120px; height: 120px; }

  /* one-line topbar: hide the tail, centre what remains */
  .topbar { font-size: 0.8rem; text-align: center; }
  .topbar__more { display: none; }

  /* tracked-uppercase micro-type, tightened for narrow columns */
  .hero__eyebrow {
    font-size: 0.68rem;        /* 10.88px */
    letter-spacing: 0.14em;
    line-height: 2.1;
    margin-bottom: 1.1rem;
  }
  .section__eyebrow { font-size: 0.72rem; letter-spacing: 0.16em; }
  .pillars-tagline  { font-size: 0.72rem; letter-spacing: 0.18em; }
  .hero__proof      { font-size: 0.78rem; letter-spacing: 0.1em; line-height: 1.9; }
  .hero .card__badge { letter-spacing: 0.12em; }
  h1, h2, .hero__eyebrow, .hero .card__badge { text-wrap: balance; }

  /* email forms: deliberate stack instead of ragged flex-wrap */
  .card__form input { flex: 1 1 100%; min-width: 0; }
  .card__form .btn  { flex: 1 1 100%; text-align: center; }

  /* mission blocks nested in a section keep a single 6vw gutter */
  .section .mission { padding-left: 0; padding-right: 0; }

  /* discreet motion pill, bottom-right (lifts above the CTA bar when it shows) */
  .motion-toggle {
    left: auto; right: 0.75rem; bottom: 0.75rem;
    padding: 0.45rem 0.8rem;
    font-size: 0.72rem;
    background: rgba(10, 10, 10, 0.92);
    transition: bottom 0.3s ease;
  }
  /* reserve the strip the pill lives in so footer text never sits under it */
  .footer { padding-bottom: 5.5rem; }

  /* mid-page CTAs match the hero CTA treatment */
  .section__cta .btn { width: 100%; max-width: 20rem; }

  /* hide on phones; reusable for any tail text */
  .desktop-only { display: none; }
}

/* ── Mobile sticky CTA bar ── */
.cta-bar { display: none; }
@media (max-width: 640px) {
  :root { --cta-bar-h: 3.75rem; }
  .cta-bar {
    display: flex; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; /* under .motion-toggle (50), above content */
    height: calc(var(--cta-bar-h) + env(safe-area-inset-bottom, 0px));
    padding: 0 1rem env(safe-area-inset-bottom, 0px);
    background: rgba(10, 10, 10, 0.92); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); visibility: hidden;
    transition: transform 0.35s ease, visibility 0s linear 0.35s;
  }
  .cta-bar--visible { transform: none; visibility: visible; transition: transform 0.35s ease, visibility 0s; }
  .cta-bar .btn { flex: 1; text-align: center; padding: 0.7rem 1.5rem; min-height: 44px; }

  body.cta-bar-visible .motion-toggle { bottom: calc(var(--cta-bar-h) + env(safe-area-inset-bottom, 0px) + 0.75rem); }

  /* keep last content readable above the fixed bar */
  body.cta-bar-visible .footer { padding-bottom: calc(3rem + var(--cta-bar-h) + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .cta-bar, .cta-bar--visible, .motion-toggle { transition: none; } }
body.motion-paused .cta-bar, body.motion-paused .motion-toggle { transition: none; }

/* ── Mobile testimonial swipe rail ── */
@media (max-width: 640px) {
  .chat-wall {
    display: flex; align-items: flex-start; gap: 0.9rem;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-left: 6vw;
    -webkit-overflow-scrolling: touch;
    margin-left: -6vw; margin-right: -6vw; /* full-bleed inside the section's 6vw padding */
    padding: 0.2rem 6vw 0.8rem;
  }
  .chat { flex: 0 0 84%; max-width: 22rem; margin-bottom: 0; scroll-snap-align: start; }
}
