/* ============================================================
   THE HEARTSPACE — Page styles (pages.css)
   ------------------------------------------------------------
   Section-level and page-specific styling: heroes, home
   sections, testimonials, teachers, accordions, detail pages,
   cart/checkout, plus the scroll-reveal animation classes.
   ============================================================ */

/* ---------- Scroll-reveal base (activated by reveal.js) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* Broken-image fallback (set by reveal.js) */
.img-failed {
  background: linear-gradient(135deg, var(--green-600), var(--coral-400)) !important;
}

.star--empty { color: var(--line); }

/* ============================================================
   HERO (home) — 3D canvas + gradient + copy
   ============================================================ */
.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--cream);
  /* base gradient shows if the photo is slow or unavailable */
  background: linear-gradient(160deg, #0d4238 0%, #0a352e 100%);
}
/* Full-bleed hero image with a slow, gentle "breathing" zoom */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 34%;   /* keep the figure vertically centred */
  animation: heroZoom 24s var(--ease-in-out) infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}
/* Legibility veil (base) */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(10,53,46,0.88) 0%, rgba(10,53,46,0.55) 45%, rgba(10,53,46,0.2) 100%),
    linear-gradient(to top, rgba(10,53,46,0.6), transparent 40%);
}
/* Photo hero: a slightly stronger green wash so the cream copy stays
   crisp over the lighter image, while the scene still shows through. */
.hero--photo::after {
  background:
    linear-gradient(100deg, rgba(8,38,32,0.9) 0%, rgba(8,38,32,0.62) 42%, rgba(8,38,32,0.3) 78%),
    linear-gradient(to top, rgba(8,38,32,0.72), transparent 50%);
}
/* 3D-orb hero: green backdrop; darken only the left so the copy stays
   legible while the warm orb on the right shines through untouched. */
.hero--3d {
  background: linear-gradient(115deg, #072b25 0%, #0b3a32 48%, #114f43 100%);
}
.hero--3d::after {
  background:
    linear-gradient(100deg, rgba(7,43,37,0.92) 0%, rgba(7,43,37,0.5) 30%, rgba(7,43,37,0) 56%),
    linear-gradient(to top, rgba(7,43,37,0.5), transparent 35%);
}

/* The 3D orb — a glossy warm sphere built from layered gradients:
   a sunlit near side, a shaded far side, a specular highlight and an
   outer glow. Floats gently. Pure CSS, so it renders everywhere. */
.hero__orb {
  position: absolute;
  z-index: 0;
  right: clamp(2%, 6vw, 9%);
  top: 50%;
  width: clamp(280px, 40vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 35% 30%,
      #ffe1cc 0%, #f5b491 16%, #ee8a63 38%, #d9663d 62%, #a94a28 84%, #7c351b 100%);
  box-shadow:
    inset -26px -34px 70px rgba(76, 26, 12, 0.6),      /* shaded far side  */
    inset 26px 26px 55px rgba(255, 226, 202, 0.35),    /* soft near light  */
    0 50px 130px -30px rgba(239, 127, 90, 0.55);       /* warm outer glow  */
  animation: orbFloat 9s var(--ease-in-out) infinite;
}
/* specular highlight (the little glint of light) */
.hero__orb::before {
  content: "";
  position: absolute;
  top: 15%; left: 24%;
  width: 30%; height: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(255,255,255,0) 68%);
  filter: blur(4px);
}
/* a faint orbiting ring for depth */
.hero__orb-ring {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  border: 1px solid rgba(243, 221, 201, 0.18);
  transform: rotateX(74deg);
  animation: orbSpin 26s linear infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(-52%) scale(1); }
  50%      { transform: translateY(-46%) scale(1.025); }
}
@keyframes orbSpin { to { transform: rotateX(74deg) rotateZ(360deg); } }

@media (max-width: 820px) {
  .hero__orb { right: -12%; top: 34%; width: 70vw; opacity: 0.55; }
  .hero__orb-ring { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__orb { animation: none; }
  .hero__orb-ring { animation: none; }
}
/* Soft drifting golden "aura" glow — calm, not cosmic */
.hero__aura {
  position: absolute; inset: -20%;
  z-index: 1;
  background:
    radial-gradient(closest-side at 22% 68%, rgba(239,127,90,0.28), transparent),
    radial-gradient(closest-side at 78% 30%, rgba(42,145,123,0.35), transparent);
  filter: blur(30px);
  animation: auraDrift 18s var(--ease-in-out) infinite alternate;
}
@keyframes auraDrift {
  from { transform: translate3d(-3%, 2%, 0) scale(1); }
  to   { transform: translate3d(4%, -3%, 0) scale(1.1); }
}
.hero__inner {
  position: relative;
  z-index: var(--z-content);
  padding-block: 9rem 5rem;
}
.hero__inner .eyebrow { color: var(--coral-300); }
.hero__inner .eyebrow::before { background: var(--coral-300); }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.8rem, 2rem + 3.8vw, 5rem);
  max-width: 16ch;
  margin-block: 1.25rem;
}
.hero h1 .accent { color: var(--coral-300); }
.hero__lead {
  font-size: var(--step-1);
  color: rgba(248, 243, 236, 0.85);
  max-width: 44ch;
  margin-bottom: 2.25rem;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 2rem;
  transform: translateX(-50%);
  z-index: var(--z-content);
  display: grid; justify-items: center; gap: 0.5rem;
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 243, 236, 0.6);
}
.hero__scroll .icon { width: 20px; height: 20px; animation: bob 2s var(--ease-in-out) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Trust strip below hero */
.trust {
  display: flex; flex-wrap: wrap; gap: 2rem 3rem;
  align-items: center; justify-content: center;
  padding-block: var(--space-lg);
  border-bottom: 1px solid var(--line);
}
.trust .stat { text-align: center; }
.trust .stat b { font-family: var(--font-display); font-size: var(--step-2); color: var(--green-700); display: block; }
.trust .stat span { font-size: var(--step--1); color: var(--ink-soft); letter-spacing: 0.04em; }

/* ============================================================
   INNER PAGE HERO (about, shop, programmes, etc.)
   ============================================================ */
.page-hero {
  position: relative;
  padding-top: 10rem;
  padding-bottom: var(--space-xl);
  background:
    radial-gradient(90% 120% at 90% 0%, var(--coral-100) 0%, transparent 50%),
    var(--ivory);
  overflow: hidden;
}
.page-hero__inner { max-width: 720px; }
.page-hero h1 { margin-block: 0.75rem; }
.page-hero p { color: var(--ink-soft); font-size: var(--step-1); }
.page-hero--image { color: var(--cream); }
.page-hero--image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,53,46,0.85), rgba(10,53,46,0.45));
}
.page-hero--image .page-hero__bg {
  position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%;
}
.page-hero--image .page-hero__inner { position: relative; z-index: 1; }
.page-hero--image h1 { color: var(--cream); }
.page-hero--image p { color: rgba(248,243,236,0.85); }

/* Breadcrumb */
.crumbs { display: flex; gap: 0.5rem; font-size: var(--step--1); color: var(--ink-soft); }
.crumbs a:hover { color: var(--coral-600); }

/* ============================================================
   SPLIT sections (image + text)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--float {
  aspect-ratio: auto;
}
/* Floating stat/quote chip over an image */
.float-chip {
  position: absolute;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  max-width: 220px;
}
.float-chip--br { right: -1rem; bottom: 1.5rem; }
.float-chip--tl { left: -1rem; top: 1.5rem; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .float-chip { display: none; }
}

/* Values grid */
.value-card {
  padding: var(--space-md);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .icon {
  width: 40px; height: 40px;
  color: var(--coral-600);
  padding: 8px;
  background: var(--coral-100);
  border-radius: 12px;
  margin-bottom: var(--space-sm);
}
.value-card h4 { margin-bottom: 0.4rem; }
.value-card p { font-size: var(--step--1); color: var(--ink-soft); }

/* ============================================================
   TESTIMONIALS carousel
   ============================================================ */
.testimonials { background: var(--green-800); color: var(--cream); }
.testimonials .eyebrow { color: var(--coral-300); }
.testimonials .eyebrow::before, .testimonials .eyebrow::after { background: var(--coral-300); }
.testimonials h2 { color: var(--cream); }
.testi-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testimonial {
  scroll-snap-align: center;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  padding: var(--space-md);
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.4;
  margin-block: 1.25rem;
}
.testimonial figcaption { color: rgba(248,243,236,0.75); }
.testi-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: var(--space-md); }
.testi-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.testi-dots button.is-active { background: var(--coral-400); width: 22px; border-radius: 999px; }

/* ============================================================
   TEACHERS
   ============================================================ */
.teacher-card { text-align: center; }
.teacher-card__photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
}
.teacher-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.teacher-card:hover .teacher-card__photo img { transform: scale(1.05); }
.teacher-card h3 { font-size: var(--step-1); }

/* ============================================================
   NEWSLETTER / CTA band
   ============================================================ */
.cta-band {
  background:
    radial-gradient(80% 140% at 20% 20%, var(--coral-100), transparent 60%),
    linear-gradient(120deg, var(--green-700), var(--green-500));
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.25rem);
  text-align: center;
}
.cta-band h2 { color: var(--cream); }
.cta-band .subscribe-form {
  display: flex; gap: 0.6rem; max-width: 480px; margin: var(--space-md) auto 0; flex-wrap: wrap;
}
.cta-band .subscribe-form .input { flex: 1; min-width: 200px; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); color: var(--cream); }
.cta-band .subscribe-form .input::placeholder { color: rgba(248,243,236,0.6); }

/* ============================================================
   ACCORDION (faq / schedule)
   ============================================================ */
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; text-align: left;
  padding: 1.25rem 0;
  font-size: var(--step-1);
  font-family: var(--font-display);
  color: var(--green-800);
}
.accordion__trigger .icon { transition: transform var(--dur-fast) var(--ease-out); flex-shrink: 0; }
.accordion__item.is-open .accordion__trigger .icon { transform: rotate(180deg); }
.accordion__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-med) var(--ease-out);
}
.accordion__item.is-open .accordion__panel { max-height: 480px; }
.accordion__panel p { padding-bottom: 1.25rem; color: var(--ink-soft); }

/* FAQ */
.faq-group + .faq-group { margin-top: var(--space-lg); }
.faq-group__title { font-size: var(--step-1); color: var(--coral-600); margin-bottom: 0.5rem; }
.faq-search {
  position: relative; max-width: 480px;
}
.faq-search .input { padding-left: 2.75rem; }
.faq-search .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ink-soft); width: 20px; height: 20px; }

/* ============================================================
   FORM success state
   ============================================================ */
.form-success {
  text-align: center;
  padding: var(--space-lg);
  opacity: 0; transform: scale(0.96);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.form-success.is-in { opacity: 1; transform: none; }
.form-success__mark {
  width: 64px; height: 64px;
  margin: 0 auto var(--space-sm);
  display: grid; place-items: center;
  background: var(--coral-100); color: var(--coral-600);
  border-radius: 50%;
  animation: pop 0.5s var(--ease-out);
}
.form-success__mark .icon { width: 32px; height: 32px; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* ============================================================
   DETAIL PAGES (programme / product)
   ============================================================ */
.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 0.6rem; margin-top: 0.6rem; }
.gallery-thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; border: 2px solid transparent; }
.gallery-thumbs img.is-active { border-color: var(--coral-500); }

.booking-box {
  position: sticky; top: 100px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
}
.booking-box .price-row { display: flex; align-items: baseline; gap: 0.6rem; }
.booking-box .price-row .now { font-family: var(--font-display); font-size: var(--step-3); color: var(--green-700); }
.booking-box .price-row del { color: var(--ink-soft); }
.info-row { display: flex; align-items: center; gap: 0.75rem; padding-block: 0.85rem; border-bottom: 1px solid var(--line); font-size: var(--step--1); }
.info-row .icon { color: var(--coral-600); width: 20px; height: 20px; flex-shrink: 0; }

/* Masonry (past experiences / gallery) */
.masonry { columns: 3 260px; column-gap: var(--space-md); }
.masonry > * { break-inside: avoid; margin-bottom: var(--space-md); }
.masonry img { width: 100%; border-radius: var(--radius-md); }

/* ============================================================
   CART / CHECKOUT pages
   ============================================================ */
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem,4vw,3rem); align-items: start; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }
.summary-box {
  position: sticky; top: 100px;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--space-md);
}
.summary-row { display: flex; justify-content: space-between; padding-block: 0.4rem; font-size: var(--step--1); }
.summary-row--total { font-size: var(--step-1); font-weight: 600; border-top: 1px solid var(--line); margin-top: 0.5rem; padding-top: 0.75rem; }

.pay-methods { display: grid; gap: 0.6rem; }
.pay-method {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-md); cursor: pointer;
}
.pay-method:has(input:checked) { border-color: var(--green-700); background: var(--green-100); }
.pay-method input { accent-color: var(--green-700); }

/* Notice banner (e.g. India-only shipping) */
.notice {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--coral-100);
  border: 1px solid var(--coral-300);
  border-radius: var(--radius-md);
  font-size: var(--step--1);
}
.notice .icon { color: var(--coral-600); flex-shrink: 0; width: 22px; height: 22px; }

/* ============================================================
   AUTH pages (login / register)
   ============================================================ */
.auth {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
/* Keep the sign-in / sign-up screens to a single viewport — compact,
   so there's no page scroll for what is only a short form. */
.auth__form h1 { font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.3rem); line-height: 1.08; }
.auth__form-inner { max-width: 400px; }
.auth__form-inner > .muted { margin-bottom: 0.85rem !important; }
.auth .notice { margin-bottom: 0.85rem !important; padding: 0.65rem 0.85rem; font-size: var(--step--1); }
.auth .form-stack { gap: 0.75rem; }
.auth .input, .auth .select { padding: 0.6rem 0.85rem; }
.auth .field { gap: 0.25rem; }
.auth .divider { margin-block: 0; }
.auth .social-btn { padding: 0.58rem; }
.auth .check { font-size: var(--step--1); }
.auth__back { margin-bottom: 0.65rem !important; }
.auth__aside {
  position: relative;
  background: var(--green-900);
  color: var(--cream);
  display: grid; align-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
}
.auth__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.auth__aside::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(9,42,36,0.82) 0%, rgba(9,42,36,0.6) 55%, rgba(9,42,36,0.75) 100%);
}
.auth__aside-inner { position: relative; z-index: 1; }
.auth__aside .brand { color: var(--cream); margin-bottom: 2.5rem; }
.auth__aside .brand strong { color: var(--cream); }
.auth__aside blockquote { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.25; margin-bottom: 1.25rem; }
.auth__aside p { color: rgba(248,243,236,0.82); max-width: 34ch; }
.auth__form {
  display: grid; align-content: center;
  padding: clamp(1rem, 3vh, 2rem) clamp(1.5rem, 4vw, 3rem);
  overflow-y: auto;   /* if a very short screen still overflows, scroll only this column */
}
.auth__form-inner { max-width: 420px; width: 100%; margin-inline: auto; }
.auth__back { display: inline-block; font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 1.5rem; }
.auth__back:hover { color: var(--coral-600); }
.divider { display: flex; align-items: center; gap: 1rem; color: var(--ink-soft); font-size: var(--step--1); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.social-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-weight: 500; }
.social-btn:hover { border-color: var(--green-300); }
/* Inline form error (wrong password, email taken, …) */
.form-alert { padding: 0.8rem 1rem; background: #fcece9; border: 1px solid #eebcb3; color: #a24f3e; border-radius: var(--radius-sm); font-size: var(--step--1); }
@media (max-width: 800px) { .auth { grid-template-columns: 1fr; } .auth__aside { display: none; } }

/* ============================================================
   CHECKOUT ACCOUNT GATE
   ============================================================ */
.checkout-gate {
  max-width: 560px; margin: 1rem auto;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.checkout-gate__icon {
  width: 64px; height: 64px; margin: 0 auto 1.25rem;
  display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700);
  border-radius: 50%;
}
.checkout-gate__icon .icon { width: 30px; height: 30px; }
.checkout-gate h2 { margin-bottom: 0.75rem; }
.checkout-gate p { margin: 0 auto 1.5rem; }
.checkout-gate__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Signed-in cue on the header account icon */
.icon-btn.is-authed { color: var(--coral-500); }
.icon-btn.is-authed::after {
  content: ""; position: absolute; top: 5px; right: 5px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--coral-500); border: 2px solid var(--ivory);
}
.header--on-dark:not(.is-scrolled) .icon-btn.is-authed::after { border-color: rgba(10,53,46,0.4); }

/* ============================================================
   DASHBOARD
   ============================================================ */
.dash-grid { display: grid; grid-template-columns: 250px 1fr; gap: var(--space-lg); align-items: start; }
.dash-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 0.25rem; }
.dash-nav a, .dash-nav button {
  display: block; width: 100%; text-align: left;
  padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  color: var(--ink-soft); font-size: var(--step-0); font-weight: 500;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.dash-nav button.is-active, .dash-nav a:hover, .dash-nav button:hover {
  background: var(--green-100); color: var(--green-700);
}
.dash-signout { display: flex; align-items: center; gap: 0.4rem; color: var(--status-out) !important; margin-top: 0.5rem; border-top: 1px solid var(--line); border-radius: 0; padding-top: 1rem; }
.dash-signout .icon { transform: rotate(180deg); width: 16px; height: 16px; }
.dash-content > [data-panel] { animation: fadePanel var(--dur-med) var(--ease-out); }
@keyframes fadePanel { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Notification toggle switches */
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: var(--step-0); }
.switch-row:last-child { border-bottom: none; }
.switch { position: relative; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 46px; height: 26px; margin: 0; cursor: pointer; }
.switch__track {
  display: block; width: 46px; height: 26px; border-radius: 999px;
  background: var(--line); position: relative;
  transition: background var(--dur-fast) var(--ease-out);
}
.switch__track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-out);
}
.switch input:checked + .switch__track { background: var(--green-600); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.stat-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-md); }
.stat-card b { font-family: var(--font-display); font-size: var(--step-2); color: var(--green-700); display: block; }
.stat-card span { font-size: var(--step--1); color: var(--ink-soft); }
@media (max-width: 800px) { .dash-grid { grid-template-columns: 1fr; } .dash-nav { position: static; flex-direction: row; overflow-x: auto; } }

/* ============================================================
   Prose (policy / blog article)
   ============================================================ */
.prose { max-width: 720px; }
.prose h2 { font-size: var(--step-2); margin-top: var(--space-lg); margin-bottom: var(--space-sm); }
.prose h3 { font-size: var(--step-1); margin-top: var(--space-md); margin-bottom: 0.5rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: var(--space-sm); }
.prose ul { list-style: disc; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; margin-block: var(--space-sm); }
.prose ul + p { margin-top: var(--space-sm); }
.prose blockquote { border-left: 3px solid var(--coral-400); padding-left: 1.25rem; font-family: var(--font-display); font-size: var(--step-1); color: var(--green-700); margin-block: var(--space-md); }

/* ---------- Blog post (single article) ---------- */
.blog-post { padding-top: clamp(6rem, 9vw, 7rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.blog-post .badge { margin-bottom: 0.25rem; }
.blog-post__hero {
  aspect-ratio: 16 / 9;
  margin-block: 1.75rem 2rem;
  border-radius: var(--radius-lg);
}

/* Section intro helper reused across pages */
.pill-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ============================================================
   MOBILE / TABLET REFINEMENTS
   ============================================================ */
@media (max-width: 900px) {
  .page-hero { padding-top: 8rem; }
}
@media (max-width: 700px) {
  .hero { min-height: 86svh; }
  .hero__inner { padding-block: 7rem 3rem; }
  .hero h1 { font-size: clamp(2.4rem, 8vw, 3.4rem); }
  /* the scroll cue would collide with the stacked CTAs on small screens */
  .hero__scroll { display: none; }
  /* stronger top-to-bottom veil on mobile so copy reads over the image */
  .hero--photo::after {
    background: linear-gradient(to bottom, rgba(8,38,32,0.5) 0%, rgba(8,38,32,0.62) 45%, rgba(8,38,32,0.85) 100%);
  }
  .page-hero { padding-top: 7.5rem; }
  .section-head { margin-bottom: var(--space-md); }
  /* stack any two-column split-style rows fully */
  .detail-grid, .checkout-grid, .dash-grid { gap: var(--space-lg); }
}
@media (max-width: 560px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .cta-band .subscribe-form { flex-direction: column; }
  .cta-band .subscribe-form .input,
  .cta-band .subscribe-form .btn { width: 100%; }
  .trust { gap: 1.25rem 2rem; }
  .masonry { columns: 1; }
}

/* ============================================================
   LUXURY SECTIONS — marquee, press, journey, instagram
   ============================================================ */

/* Scrolling statement marquee */
.marquee {
  overflow: hidden;
  background: var(--green-900);
  color: var(--cream);
  padding-block: 1.15rem;
  border-block: 1px solid rgba(255,255,255,0.08);
}
.marquee__track {
  display: flex; align-items: center; gap: 3rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 3rem;
  font-family: var(--font-display);
  font-size: var(--step-1); letter-spacing: 0.03em;
  white-space: nowrap;
}
.marquee__item::after { content: "✦"; color: var(--coral-400); font-size: 0.7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* "As featured in" press strip */
.press { text-align: center; }
.press__label {
  font-size: var(--step--1); letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-soft);
  max-width: none;          /* let the label span full width so it centres */
}
.press__logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(1.5rem, 5vw, 3.5rem); margin-top: 1.5rem;
}
.press__logos span {
  font-family: var(--font-display); font-size: var(--step-1);
  color: var(--green-700); opacity: 0.55;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.press__logos span:hover { opacity: 1; }

/* Journey — 3 steps */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.journey__step { position: relative; padding-top: 1rem; }
.journey__step::before {
  content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 2px;
  background: var(--coral-400);
}
.journey__num {
  font-family: var(--font-display); font-size: var(--step-3);
  color: var(--coral-500); line-height: 1;
}
.journey__step h3 { margin: 0.75rem 0 0.5rem; }
.journey__step p { color: var(--ink-soft); font-size: var(--step-0); }
@media (max-width: 760px) { .journey { grid-template-columns: 1fr; gap: var(--space-md); } }

/* Instagram feed grid */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.5rem; }
.ig-item {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
}
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.ig-item:hover img { transform: scale(1.08); }
.ig-item::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(10,53,46,0.4); opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.ig-item:hover::after { opacity: 1; }
.ig-item .icon {
  position: absolute; inset: 0; margin: auto; width: 30px; height: 30px;
  color: #fff; opacity: 0; z-index: 1;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.ig-item:hover .icon { opacity: 1; }
@media (max-width: 760px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   CONTACT PAGE — wider form, comfortable spacing
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-form { padding: clamp(2rem, 4vw, 3.25rem); }
.form-stack { display: flex; flex-direction: column; gap: 1.75rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.5rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
