/* =====================================================================
   HOME.CSS — R3 Medispa Theme
   Loaded ONLY on the front page, enqueued conditionally from
   inc/enqueue.php (is_front_page()). Depends on global.css loading
   first (uses its tokens/buttons/layout classes).
   Ported section-by-section from mockup v25 — we'll refine each
   section together as we rebuild the homepage part by part.
   ===================================================================== */

/* ===================================================
   HERO  — full-screen cinematic (video-ready)
=================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  overflow: hidden;
}

/* Full-bleed background media layer */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  z-index: 0;
}
/* Fallback poster / static image */
.hero-bg-img {
  display: none;
}

/* Cinematic gradient — heavier at bottom-left, lighter top-right */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top,  rgba(10,26,18,.95) 0%,  rgba(10,26,18,.65) 40%, rgba(10,26,18,.25) 100%),
    linear-gradient(to right, rgba(10,26,18,.82) 0%, rgba(10,26,18,.20) 60%, transparent 100%);
}

/* Content block — bottom-left anchored, inspo style */
.hero-left {
  position: relative; z-index: 2;
  width: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px 72px 100px 72px;
}

/* Inner content max-width so it doesn't sprawl full-width */
.hero-left-inner {
  max-width: 620px;
}

/* Decorative left accent line */
.hero-left::after {
  content: '';
  position: absolute; left: 40px; bottom: 120px; top: 30%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--forest-400), transparent);
}

.hero-eyebrow {
  position: relative; z-index: 1;
  margin-bottom: 24px;
}
.hero-h1 {
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.08;
}
.hero-h1 em { color: var(--forest-300); font-style: italic; }
.hero-sub {
  color: rgba(255,255,255,.70);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 44px;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero-badge {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .78rem; color: rgba(255,255,255,.4);
  letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
}
.hero-badge span { color: var(--forest-300); font-size: .75rem; }

/* Stats strip — bottom-right corner */
.hero-right { display: none; } /* original right panel hidden */

.hero-stats-strip {
  position: absolute; bottom: 0; right: 0; z-index: 3;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.12);
  border-left: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-md) 0 0 0;
  overflow: hidden;
  width: 540px;
}
.hero-stat {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
  background: rgba(10,26,18,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-n {
  display: block;
  font-family: var(--serif); font-size: 2.2rem; font-weight: 300;
  color: var(--forest-200); line-height: 1; margin-bottom: 6px;
}
.hero-stat-l {
  font-size: .67rem; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.45); font-weight: 600;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: .45;
  animation: scrollBob 2.2s ease-in-out infinite;
}
.hero-scroll-hint span {
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: #fff; font-weight: 600;
}
.hero-scroll-hint svg { color: #fff; }
@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

@media(max-width:1100px) {
  .hero-stats-strip { width: 100%; border-left: none; border-radius: 0; }
  .hero-left { padding: 120px 48px 180px 48px; }
}
@media(max-width:700px) {
  .hero-left { padding: 0 24px 180px 24px; }
  .hero-left::after { display: none; }
  .hero-scroll-hint { display: none; }
}
@media(max-width:480px) {
/*   .hero-stats-strip { grid-template-columns: 1fr; } */
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
	.hero-badge{padding-bottom: 30px;}
	.hero{
		padding-top: 10rem;
	}
}

/* ===================================================
   CORPORATE VIDEO — placeholder slot
=================================================== */
.corporate-video-section { background: var(--warm-white); padding: 120px 0 60px 0 !important; }
.video-frame { max-width: 980px; margin: var(--sp-lg) auto 0; }
.video-frame-inner {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--forest-800) 0%, var(--forest-600) 100%);
  border: 2px dashed rgba(255,255,255,.28);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-frame-inner.is-live {
  background: #000;
  border: none;
  gap: 0;
}
.video-embed {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}
.video-play {
  position: relative; z-index: 1;
  width: 84px; height: 84px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--ease);
}
.video-play:hover { background: rgba(255,255,255,.22); transform: scale(1.06); }
.video-play svg { width: 26px; height: 26px; fill: #fff; margin-left: 2px; }
.video-placeholder-label {
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: rgba(255,255,255,.7);
}
.video-facade-poster { object-fit: cover; }
.video-frame-caption {
  text-align: center; margin-top: 18px;
  font-size: .85rem; color: var(--muted);
}
@media(max-width:600px) {
  .video-play { width: 64px; height: 64px; }
  .video-play svg { width: 20px; height: 20px; }
}

/* ===================================================
   START HERE — CONCERNS
=================================================== */
.concerns-section { background: var(--warm-white); padding: 60px 0 var(--sp-3xl) 0 !important; }
.concerns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--forest-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: var(--sp-lg);
}
.concern-card {
  background: var(--warm-white);
  padding: 48px 36px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  transition: var(--ease);
  cursor: pointer;
}
.concern-card:hover {
  background: var(--forest-50);
  z-index: 1;
}
.concern-card-bar {
  position: absolute; left: 0; top: 40px; bottom: 40px;
  width: 3px; background: var(--forest-300);
  border-radius: 0 2px 2px 0;
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s ease;
}
.concern-card:hover .concern-card-bar { transform: scaleY(1); }
.concern-num {
  font-family: var(--serif); font-size: 2.8rem; font-weight: 300;
  color: var(--forest-200); line-height: 1;
}
.concern-title {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 400;
  color: var(--forest-800); line-height: 1.3;
}
.concern-desc { font-size: .875rem; color: var(--muted); line-height: 1.75; }
.concern-link {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--forest-500);
  margin-top: 8px; display: flex; align-items: center; gap: 6px;
  transition: gap .2s;
}
.concern-card:hover .concern-link { gap: 10px; }
.concern-link::after { content: '→'; }
.concerns-footer {
  text-align: center; margin-top: 48px;
  font-size: .95rem; color: var(--muted);
}
.concerns-footer a { color: var(--forest-500); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media(max-width:900px) { .concerns-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:580px) { .concerns-grid { grid-template-columns: 1fr; } }

/* ===================================================
   R³ PRINCIPLES — dark, editorial
=================================================== */
.principles-section { 
  background: var(--forest-900); 
  color: #fff;
}
.principles-section .section {
  padding: var(--sp-3xl) 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.principles-section .section-intro h2 { color: #fff; }
.principles-section .section-intro p { color: rgba(255,255,255,.6); }

/* Three-column pillar grid */
.principles-section {
  display: flex;
  flex-wrap: wrap;
}
.principles-section .section {
  flex: 0 0 100%;
}
.principles-section > .pillar {
  flex: 1 1 calc(33.333% - 0px);
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
  border-top: none;
  border-right: 1px solid rgba(255,255,255,.07);
}
.principles-section > .pillar:last-of-type {
  border-right: none;
}
.principles-section > .principles-quote-wrap {
  flex: 0 0 100%;
}
/* The intro carries both .section and .container; .section's shorthand
   padding wipes out .container's horizontal padding, so restore it here. */
.principles-section > .section.container {
  padding-left: 40px;
  padding-right: 40px;
}
@media(max-width:600px) {
  .principles-section > .section.container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.pillar {
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
  border-top: none;
}
.pillar.flip { direction: ltr; }
.pillar.flip > * { direction: ltr; }
.pillar-img {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--forest-900);
  width: 100%;
  aspect-ratio: 1080 / 1350;   /* match source images (4:5) so nothing is cropped */
  position: relative;
  overflow: hidden;
}
.pillar-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--forest-900));
}
.pillar.flip .pillar-img::after {
  background: linear-gradient(to bottom, transparent, var(--forest-900));
}
.pillar-body {
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pillar-r {
  font-family: var(--serif);
  font-size: 5.5rem;
  font-weight: 300;
  color: var(--forest-700);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -.03em;
}
.pillar-title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 20px;
}
.pillar-desc {
  color: rgba(255,255,255,.6);
  line-height: 1.85;
  font-size: .95rem;
}

.principles-quote-wrap {
  padding: 96px 40px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.07);
}
.principles-quote {
  font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 300; font-style: italic;
  color: var(--forest-200); max-width: 720px; margin: 0 auto 28px;
  line-height: 1.55;
}
.principles-cite {
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.35); font-weight: 600;
}
.principles-cta-wrap { margin-top: 36px; }
/* Was an inline style in the mockup; pulled out to a real class */
.principles-learn-link {
  display: inline-block; margin-top: 20px;
  font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--forest-300);
  text-decoration: underline; text-underline-offset: 4px;
}

/* Desktop always 3 columns — fixed layout enforced */

@media(max-width:768px) {
  .principles-section > .pillar {
    flex: 0 0 100%;
    border-right: none;
    border-top: 1px solid rgba(255,255,255,.07);
  }
  .principles-section > .pillar:first-of-type {
    border-top: none;
  }
  .pillar-body {
    padding: 48px 28px;
  }
  .pillar-img::after, .pillar.flip .pillar-img::after {
    background: linear-gradient(to bottom, var(--forest-900), transparent);
  }
}

/* ===================================================
   OUR STORY
=================================================== */
.story-section { background: var(--sand-100); }
.story-grid {
  display: grid; grid-template-columns: 55fr 45fr;
  gap: 96px; align-items: center;
}
.story-content h2 { margin: 16px 0 24px; color: var(--forest-800); }
.story-content p { margin-bottom: 20px; font-size: 1rem; }
.story-content .story-learn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--forest-600);
  text-decoration: underline; text-underline-offset: 4px;
}
.story-image { position: relative; }
.story-image img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--r-lg);
}
.story-image .r3-admin-placeholder {
  width: 100%; aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
}
.story-caption-eyebrow {
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.5); font-weight: 600;
  margin-top: 12px; margin-bottom: 14px;
}
.story-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, var(--forest-900) 60%, transparent);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: 48px 28px 28px;
  color: #fff;
}
.story-caption .eyebrow--light { margin-bottom: 8px; }
.story-caption h4 { color: #fff; font-size: 1.05rem; font-weight: 400; margin-bottom: 4px; }
.story-caption p { font-size: .82rem; color: rgba(255,255,255,.65); line-height: 1.6; }

@media(max-width:860px) {
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ===================================================
   DR ALICE QUOTE BANNER
=================================================== */
.alice-section {
  background: var(--forest-600);
  padding: 100px 40px;
  text-align: center;
}
.alice-blockquote {
  font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 2.1rem);
  font-weight: 300; font-style: italic;
  color: #fff; max-width: 760px; margin: 0 auto 32px;
  line-height: 1.6;
}
.alice-byline { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 600; }
.alice-tags {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin-top: 40px;
}
.alice-tag {
  padding: 8px 20px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.22);
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 600; color: var(--forest-200);
  transition: var(--ease);
}
.alice-tag:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }

/* ===================================================
   PROTOCOLS
=================================================== */
.protocols-section { background: var(--warm-white); }
.protocols-section .section-intro h2 { color: var(--forest-800); }
.protocol-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: var(--forest-100);
  border-radius: var(--r-lg); overflow: hidden;
  margin-top: var(--sp-lg);
}
.protocol-card {
  background: var(--warm-white);
  padding: 44px 32px 40px;
  position: relative; transition: var(--ease);
  cursor: pointer;
}
.protocol-card:hover { background: var(--forest-50); }
.protocol-card::after {
  content: '→';
  position: absolute; bottom: 32px; right: 28px;
  font-size: 1.1rem; color: var(--forest-300);
  transition: transform .25s, color .25s;
}
.protocol-card:hover::after { transform: translate(4px,-2px); color: var(--forest-500); }
.protocol-n {
  font-family: var(--serif); font-size: 2rem; font-weight: 300;
  color: var(--forest-200); margin-bottom: 16px; line-height: 1;
}
.protocol-name {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 400;
  color: var(--forest-800); margin-bottom: 12px; line-height: 1.35;
}
.protocol-desc { font-size: .82rem; color: var(--muted); line-height: 1.75; }

@media(max-width:1000px) { .protocol-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:540px) { .protocol-grid { grid-template-columns: 1fr; } }

/* ===================================================
   THERAPIES
=================================================== */
.therapies-section { background: var(--forest-800); }
.therapies-section .section-intro h2 { color: #fff; }
.therapies-section .section-intro p { color: rgba(255,255,255,.6); }
.therapies-header-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; flex-wrap: wrap;
  margin-bottom: var(--sp-lg);
}

/* ── Filter tab bar ── */
.therapy-filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 48px;
}
.therapy-filter-btn {
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .22s, border-color .22s, color .22s;
  white-space: nowrap;
}
.therapy-filter-btn:hover {
  border-color: rgba(255,255,255,.5);
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.06);
}
.therapy-filter-btn.active {
  background: var(--forest-500);
  border-color: var(--forest-500);
  color: #fff;
}

/* ── Grid & cards ── */
.therapy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  min-height: 100px;
}
.therapy-card {
  background: var(--forest-900);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.therapy-card.hidden { display: none; }
@keyframes therapyFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.therapy-card.fade-in { animation: therapyFadeIn .35s ease forwards; }

.therapy-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.therapy-card-img {
  width: 100%; height: 220px; object-fit: cover;
  filter: brightness(.75) saturate(.9);
  transition: filter .4s, transform .5s;
}
.therapy-card:hover .therapy-card-img { filter: brightness(.9) saturate(1); transform: scale(1.04); }
.therapy-body { padding: 24px 26px 28px; display: flex; flex-direction: column; }
.therapy-cat {
  font-size: .65rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 600; color: var(--forest-400); margin-bottom: 8px;
}
.therapy-name {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 300;
  color: #fff; margin-bottom: 10px;
}
.therapy-desc { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.75; flex: 1; }
.therapy-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--forest-400);
  transition: gap .2s, color .2s; text-decoration: none;
}
.therapy-link::after { content: '→'; }
.therapy-card:hover .therapy-link { gap: 10px; color: var(--forest-300); }
.therapies-cta { text-align: center; margin-top: 56px; }

@media(max-width:1000px) { .therapy-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px) {
  .therapy-grid { grid-template-columns: 1fr; }
  .therapy-filter-btn { font-size: .7rem; padding: 8px 14px; }
}

/* ===================================================
   MEMBERSHIP
=================================================== */
.membership-section { background: var(--sand-100); }
.membership-section .section-intro h2 { color: var(--forest-800); }
.mem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: var(--sp-lg);
  align-items: stretch;
}
.mem-card {
  background: #fff;
  border: 2px solid var(--forest-100);
  border-radius: var(--r-lg);
  padding: 44px 36px 40px;
  position: relative;
  transition: var(--ease);
  display: flex;
  flex-direction: column;
}
.mem-card:hover { border-color: var(--forest-300); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.mem-card.mem-featured {
  background: var(--forest-600);
  border-color: var(--forest-600);
  color: #fff;
}
.mem-badge {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--terra-500);
  color: #fff; font-size: .65rem; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 700;
  padding: 6px 20px; border-radius: var(--r-pill);
  white-space: nowrap; box-shadow: 0 4px 14px rgba(196,83,46,.3);
}
.mem-tier {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--forest-500); margin-bottom: 6px;
}
.mem-card.mem-featured .mem-tier { color: var(--forest-200); }
.mem-name {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 300;
  color: var(--forest-800); margin-bottom: 4px;
}
.mem-card.mem-featured .mem-name { color: #fff; }
.mem-tagline { font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.mem-card.mem-featured .mem-tagline { color: rgba(255,255,255,.6); }
.mem-price {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 300;
  color: var(--forest-700); line-height: 1; margin-bottom: 4px;
}
.mem-card.mem-featured .mem-price { color: #fff; }
.mem-validity { font-size: .78rem; color: var(--muted); margin-bottom: 32px; }
.mem-card.mem-featured .mem-validity { color: rgba(255,255,255,.5); }
.mem-features { list-style: none; margin-bottom: 36px; flex: 1; }
.mem-features li {
  font-size: .875rem; color: var(--mid); padding: 11px 0;
  border-bottom: 1px solid var(--forest-100);
  display: flex; gap: 10px; align-items: baseline; line-height: 1.5;
}
.mem-features li::before { content: '✓'; color: var(--forest-500); font-weight: 700; flex-shrink: 0; }
.mem-card.mem-featured .mem-features li {
  color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.12);
}
.mem-card.mem-featured .mem-features li::before { color: var(--forest-200); }

@media(max-width:900px) {
  .mem-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .mem-card.mem-featured { order: -1; }
}

/* ===================================================
   WHY CHOOSE US
=================================================== */
.why-section { background: #fff; }
.why-section .section-intro h2 { color: var(--forest-800); }
.why-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 2px; background: var(--forest-100);
  border-radius: var(--r-lg); overflow: hidden;
  margin-top: var(--sp-lg);
}
.why-card {
  background: #fff; padding: 44px 28px;
  transition: var(--ease);
}
.why-card:hover { background: var(--forest-50); }
.why-n {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 300;
  color: var(--forest-200); margin-bottom: 18px; line-height: 1;
}
.why-title {
  font-family: var(--serif); font-size: 1.68rem; font-weight: 400;
  color: var(--forest-800); margin-bottom: 12px; line-height: 1.4;
}
.why-desc { font-size: .82rem; color: var(--muted); line-height: 1.75; }

@media(max-width:1000px) { .why-grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width:600px)  { .why-grid { grid-template-columns: 1fr 1fr; } }

/* ===================================================
   TESTIMONIALS
=================================================== */
.testimonials-section { background: var(--forest-700); }
.testimonials-section .section-intro h2 { color: #fff; }
.testimonials-section .section-intro p { color: rgba(255,255,255,.55); }
.testimonial-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: rgba(255,255,255,.08);
  border-radius: var(--r-lg); overflow: hidden;
  margin-top: var(--sp-lg);
}
.testi-card { background: var(--forest-700); padding: 40px 32px; }
.testi-stars { color: #e8b86d; letter-spacing: 2px; margin-bottom: 20px; font-size: 1rem; }
.testi-quote {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 1.02rem; color: rgba(255,255,255,.85);
  line-height: 1.8; margin-bottom: 24px;
}
.testi-author {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.4); font-weight: 600;
}

@media(max-width:900px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:540px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ===================================================
   EVENTS & COMMUNITY
=================================================== */
.events-section { background: var(--sand-100); }
.events-section .section-intro h2 { color: var(--forest-800); }
.events-grid {
  display: grid; grid-template-columns: 55fr 45fr;
  gap: 80px; align-items: center;
  margin-top: var(--sp-lg);
}
.event-block {
  background: #fff; border-radius: var(--r-md);
  border-left: 4px solid var(--forest-500);
  padding: 32px 32px 32px 28px;
  margin-bottom: 20px;
  transition: var(--ease);
}
.event-block:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.event-block h4 { font-family: var(--serif); color: var(--forest-800); font-weight: 400; margin-bottom: 8px; }
.event-block p { font-size: .88rem; line-height: 1.7; }
.event-block a {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--forest-500);
  text-decoration: underline; text-underline-offset: 3px;
}
.events-photo {
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4/5;
  background: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=800&q=80&fit=crop') center/cover no-repeat;
  /* ^ graceful fallback backdrop if no Customizer image/placeholder renders on top (shouldn't normally happen, but keeps this from ever looking like a broken empty box) */
}
.events-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.events-photo-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; }

/* Email opt-in form */
.email-optin {
  background: #fff; border-radius: var(--r-md);
  border-left: 4px solid var(--terra-500);
  padding: 32px 32px 32px 28px;
  margin-top: 20px;
}
.email-optin h5 {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 400;
  color: var(--forest-800); margin-bottom: 12px; line-height: 1.3;
}
.email-optin p {
  font-size: .88rem; color: var(--muted); margin-bottom: 20px; line-height: 1.6;
}
.email-optin-form {
  display: flex; flex-direction: column; gap: 12px;
}
.email-optin input {
  font-family: var(--sans); font-size: .9rem;
  padding: 12px 14px; border: 1px solid var(--sand-200);
  border-radius: var(--r-sm); background: #fafaf8;
  color: var(--charcoal); transition: var(--ease);
}
.email-optin input:focus {
  outline: none; border-color: var(--terra-500);
  background: #fff; box-shadow: 0 0 0 3px rgba(196, 83, 46, 0.1);
}
.email-optin input::placeholder { color: var(--sand-400); }
.email-optin-submit {
  background: var(--terra-500); color: #fff;
  font-family: var(--sans); font-size: .85rem; font-weight: 600;
  letter-spacing: .04em; padding: 12px 24px;
  border: none; border-radius: var(--r-sm);
  cursor: pointer; transition: var(--ease);
  text-transform: uppercase;
}
.email-optin-submit:hover {
  background: var(--terra-600); transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.email-optin-note {
  font-size: .75rem; color: var(--sand-400);
  margin-top: 12px; line-height: 1.5;
}
.email-optin-status { font-weight: 600; font-size: .88rem; margin-bottom: 16px; }
.email-optin-status--success { color: var(--forest-500); }
.email-optin-status--error { color: #a83232; }

@media(max-width:860px) {
  .events-grid { grid-template-columns: 1fr; gap: 48px; }
  .events-photo { aspect-ratio: 16/9; }
}

/* ===================================================
   VISIT
=================================================== */
.visit-section { background: #fff; }
.visit-section .section-intro h2 { color: var(--forest-800); }
.visit-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
  margin-top: var(--sp-lg);
}
.visit-detail { display: flex; gap: 20px; margin-bottom: 36px; }
.visit-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.visit-label {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 6px;
}
.visit-value {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 400;
  color: var(--forest-800); line-height: 1.65;
}
.visit-value a { color: var(--forest-600); }
.visit-value a:hover { text-decoration: underline; }
.visit-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 48px; }
.visit-map {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--forest-100);
  aspect-ratio: 4/3;
}
.visit-map iframe { width: 100%; height: 100%; border: none; display: block; }
.visit-map .embed-facade {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.visit-map .embed-facade img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.map-play {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--r-pill);
  background: rgba(26,58,40,.85); color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  cursor: pointer; transition: var(--ease);
  font-family: var(--sans); font-weight: 600;
  font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
}
.map-play:hover { background: rgba(26,58,40,1); transform: scale(1.04); }
.map-play svg { width: 18px; height: 18px; }

@media(max-width:860px) {
  .visit-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ===================================================
   FAQ
=================================================== */
.faq-section { background: var(--forest-900); }
.faq-section .section-intro h2 { color: #fff; }
.faq-section .section-intro p { color: rgba(255,255,255,.5); }
.faq-list { max-width: 760px; margin: 64px auto 0; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.1); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 0; cursor: pointer; gap: 20px;
  list-style: none;
}
.faq-q-text {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 300;
  color: rgba(255,255,255,.9); line-height: 1.4;
}
.faq-icon {
  font-size: 1.3rem; color: var(--forest-400); flex-shrink: 0;
  font-family: var(--serif); transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding-bottom: 24px; }
.faq-a-inner p { color: rgba(255,255,255,.6); font-size: .93rem; line-height: 1.85; }

/* Hero load animations */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(32px); }
  to   { opacity:1; transform:translateY(0);    }
}
.ha { opacity:0; animation: fadeUp .75s forwards; }
.ha-1 { animation-delay: .1s }
.ha-2 { animation-delay: .28s }
.ha-3 { animation-delay: .46s }
.ha-4 { animation-delay: .64s }
.ha-5 { animation-delay: .82s }
/* ═══════════════════════════════════════════════ */
/* R³ PATHWAY FINDER (quiz)  — namespaced .r3quiz   */
/* ═══════════════════════════════════════════════ */
.r3quiz-section { background: var(--warm-white); }
.r3quiz-shell { max-width: 760px; margin: 0 auto; }
.r3quiz-card {
  background: #fff; border: 1px solid var(--sand-200);
  border-radius: var(--r-lg, 18px); overflow: hidden;
  box-shadow: 0 24px 60px -32px rgba(15,35,24,.4);
  margin-top: 40px;
}
.r3quiz-top {
  background: var(--forest-900); color: var(--forest-100);
  padding: 18px 26px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.r3quiz-step { font-family: var(--sans); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.r3quiz-tag  { font-family: var(--sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--forest-400); }
.r3quiz-progress { height: 3px; background: rgba(220,238,228,.16); position: relative; }
.r3quiz-progress-fill { height: 100%; width: 0; background: var(--terra-500); transition: width .5s cubic-bezier(.4,0,.2,1); }

.r3quiz-body { padding: 44px 30px 36px; }
@media(min-width:560px){ .r3quiz-body { padding: 52px 48px 40px; } }

.r3quiz-q { font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem,3.4vw,1.7rem); line-height: 1.3; color: var(--forest-900); margin-bottom: 28px; letter-spacing: -.01em; }
.r3quiz-opts { display: flex; flex-direction: column; gap: 12px; }
.r3quiz-opt {
  text-align: left; font-family: var(--sans); font-size: .95rem; font-weight: 400;
  color: var(--charcoal); background: var(--cream);
  border: 1px solid transparent; border-radius: var(--r-md, 12px);
  padding: 17px 20px; cursor: pointer; width: 100%;
  display: flex; align-items: center; gap: 15px;
  transition: background .18s ease, border-color .18s ease;
}
.r3quiz-opt:hover { background: var(--forest-50); border-color: var(--forest-300); }
.r3quiz-opt:focus-visible { outline: 2px solid var(--forest-500); outline-offset: 2px; }
.r3quiz-opt.sel { background: var(--forest-50); border-color: var(--forest-500); }
.r3quiz-opt .dot { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--forest-300); position: relative; transition: border-color .18s; }
.r3quiz-opt.sel .dot { border-color: var(--forest-500); }
.r3quiz-opt.sel .dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--forest-500); }

.r3quiz-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--sand-200); }
.r3quiz-back { background: none; border: none; font-family: var(--sans); font-size: .82rem; letter-spacing: .04em; color: var(--forest-500); cursor: pointer; padding: 6px 0; opacity: 0; pointer-events: none; transition: opacity .2s; }
.r3quiz-back.show { opacity: 1; pointer-events: auto; }
.r3quiz-hint { font-family: var(--sans); font-size: .78rem; color: var(--muted); }

.r3quiz-result { display: none; text-align: center; padding: 6px 0 4px; }
.r3quiz-result.show { display: block; animation: r3fade .55s ease; }
.r3quiz-badge { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--forest-500); font-weight: 600; margin-bottom: 16px; }
.r3quiz-pillar { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem,6vw,3rem); color: var(--forest-900); line-height: 1.05; margin-bottom: 12px; letter-spacing: -.01em; }
.r3quiz-pillar em { font-style: italic; color: var(--forest-400); }
.r3quiz-result-lead { font-family: var(--sans); font-size: .95rem; line-height: 1.7; color: var(--mid); font-weight: 300; max-width: 46ch; margin: 0 auto 26px; }
.r3quiz-focus { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 30px; }
.r3quiz-chip { font-family: var(--sans); font-size: .78rem; letter-spacing: .03em; color: var(--forest-700); background: var(--forest-50); border-radius: 999px; padding: 8px 16px; font-weight: 500; }
.r3quiz-restart { display: block; margin: 16px auto 0; background: none; border: none; font-family: var(--sans); font-size: .8rem; color: var(--forest-500); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.r3quiz-disclaimer { font-family: var(--sans); font-size: .72rem; line-height: 1.6; color: var(--muted); font-weight: 300; max-width: 48ch; margin: 32px auto 0; border-top: 1px solid var(--sand-200); padding-top: 20px; }

@keyframes r3fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.r3quiz-fade { animation: r3fade .4s ease; }
@media(prefers-reduced-motion:reduce){ .r3quiz-card *, .r3quiz-result { animation: none !important; transition: none !important; } }
