/* ==========================================================================
   Meg Campbell Wellness — Main Stylesheet v2
   Typography: Cormorant Garamond (display) + Jost (body/UI)
   Palette: Sage-teal nav, warm cream, deep charcoal, warm sand
   ========================================================================== */

/* ── CSS Variables ─────────────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --teal:           #6E9C95;
  --teal-dark:      #557E77;
  --teal-deeper:    #3D5F59;
  --teal-pale:      #EDF3F2;
  --cream:          #F7F3EE;
  --sand:           #D4C4A8;
  --sand-light:     #EDE5D8;
  --charcoal:       #1E2220;
  --charcoal-mid:   #2C3330;
  --charcoal-soft:  #4A524F;
  --warm-white:     #FDFAF7;

  /* Functional aliases */
  --accent:         var(--teal);
  --accent-hover:   var(--teal-dark);
  --text-dark:      var(--charcoal);
  --text-body:      var(--charcoal-soft);
  --text-light:     #6B7570;
  --bg-white:       var(--warm-white);
  --bg-cream:       var(--cream);
  --bg-light:       var(--teal-pale);

  /* Spacing */
  --max-w:          1180px;
  --radius:         3px;
  --radius-md:      8px;

  /* Shadows */
  --shadow-sm:      0 1px 6px rgba(30,34,32,0.07);
  --shadow:         0 3px 20px rgba(30,34,32,0.10);
  --shadow-lg:      0 8px 40px rgba(30,34,32,0.14);

  /* Transitions */
  --ease:           cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition:     0.22s var(--ease);
  --transition-slow:0.4s var(--ease);

  /* Nav */
  --nav-h:          58px;
  --nav-z:          1000;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); margin-bottom: 0.85rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.6rem); margin-bottom: 0.65rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
ul li, ol li { margin-bottom: 0.4rem; }

.rich-text h2 { margin-top: 2rem; }
.rich-text h3 { margin-top: 1.6rem; }
.rich-text ul, .rich-text ol { margin-left: 1.5rem; }
.rich-text a { color: var(--accent); border-bottom: 1px solid transparent; }
.rich-text a:hover { color: var(--accent-hover); border-bottom-color: var(--accent-hover); }

/* Intro rich text — larger, more editorial */
.intro-rich-text {
  font-size: 1.1rem;
  line-height: 1.85;
}
.intro-rich-text p:first-child {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  color: var(--charcoal-mid);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* Section headings */
.section-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 0.4rem;
}

.section-heading-group {
  text-align: center;
  margin-bottom: 0;
}

/* Wavy squiggle under section headings */
.section-squiggle {
  display: block;
  width: 120px;
  height: 18px;
  margin: 0.5rem auto 0;
  color: var(--teal);
  opacity: 0.7;
}

/* ── Layout helpers ─────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section         { padding: 5rem 0; }
.section--white  { background: var(--warm-white); }
.section--cream  { background: var(--cream); }
.section--light  { background: var(--teal-pale); }
.section--dark   { background: var(--charcoal); color: #fff; }

.grid-2    { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }

.text-center { text-align: center; }
.text-accent { color: var(--accent); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 2.25rem;
  border-radius: var(--radius);
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-secondary:hover {
  background: var(--charcoal);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--teal-dark);
  border-color: #fff;
}
.btn-white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* ── Hero Wrapper ───────────────────────────────────────────────────────── */
/* The hero wrapper holds the hero image + the nav band.
   The nav band is position:sticky, so once we scroll past the wrapper it
   becomes fixed at the top. */
.hero-wrapper {
  position: relative;
}

/* ── Hero Section ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* content at bottom so nav band sits flush */
}

/* Home hero — tall, dramatic */
.hero--home {
  min-height: 68vh;
  padding-bottom: 0;
}

/* Inner page hero — shorter. Brand-teal gradient shows when a page has no
   hero image (e.g. Shop, Contact); an inline background-image overrides it. */
.hero--inner {
  min-height: 40vh;
  padding-bottom: 0;
  background-image: linear-gradient(135deg, #3D5F59 0%, #6E9C95 100%);
}

/* Gradient scrims for text legibility */
.hero-scrim--left {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20,26,24,0.50) 0%,
    rgba(20,26,24,0.28) 50%,
    rgba(20,26,24,0.02) 100%
  );
  pointer-events: none;
}

.hero-scrim--right {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    255deg,
    rgba(20,26,24,0.22) 0%,
    rgba(20,26,24,0.04) 55%,
    transparent 100%
  );
  pointer-events: none;
}

/* Inner-page banner: stronger, even darkening so the overlaid banner title
   stays clearly legible regardless of how bright the hero image is. */
.hero--inner .hero-scrim--left {
  background: linear-gradient(
    180deg,
    rgba(16,22,20,0.62) 0%,
    rgba(16,22,20,0.40) 45%,
    rgba(16,22,20,0.28) 100%
  );
}

/* Banner title text on inner pages (rendered as .hero-label over the image) */
.hero-label {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 2px 18px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.55);
  margin: 0;
}

.hero-sublabel {
  margin: 0.6rem 0 0;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: clamp(0.72rem, 1.4vw, 0.92rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}
.hero-sublabel:empty { display: none; }

/* ── Content page-title hero (service/about/blog/etc. — bare .hero with
   .hero-content). Make the title + subhead legible on ANY hero image with a
   uniform scrim and white text, instead of dark text that vanishes on dark
   photos (e.g. Wellness Retreats). ─────────────────────────────────────── */
.hero:not(.hero--home):not(.hero--inner) {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 34vh;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
}
.hero:not(.hero--home):not(.hero--inner)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,21,19,0.52) 0%, rgba(15,21,19,0.58) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.hero-content h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.5);
}
.hero-content .hero-subhead {
  color: rgba(255,255,255,0.95);
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: clamp(0.72rem, 1.4vw, 0.9rem);
  margin-top: 0.9rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.65);
}

/* ── Hero credential stack (top-left) ──────────────────────────────────── */
.hero-credential-stack {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 50%;
}

.hero-credential-stack--inner {
  max-width: 80%;
}

.credential-line {
  display: block;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(0.58rem, 1.1vw, 0.78rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
  padding: 0.35em 0;
  opacity: 0;
  transform: translateY(8px);
  animation: credentialReveal 0.65s var(--ease) forwards;
}

.hero--inner .credential-line {
  font-size: clamp(0.65rem, 1.2vw, 0.85rem);
  font-weight: 400;
  letter-spacing: 0.16em;
}

.credential-line--1 { animation-delay: 0.15s; }
.credential-line--2 { animation-delay: 0.30s; }
.credential-line--3 { animation-delay: 0.45s; }
.credential-line--4 { animation-delay: 0.60s; }

.credential-rule {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.5);
  margin: 0.1rem 0;
  opacity: 0;
  animation: credentialReveal 0.5s var(--ease) forwards;
}

/* stagger rules between lines */
.credential-line--1 + .credential-rule { animation-delay: 0.22s; }
.credential-line--2 + .credential-rule { animation-delay: 0.37s; }
.credential-line--3 + .credential-rule { animation-delay: 0.52s; }

@keyframes credentialReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero Signature (top-right) ─────────────────────────────────────────── */
.hero-signature {
  position: absolute;
  top: 1.5rem;
  right: 2.5rem;
  z-index: 5;
  opacity: 0;
  transform: translateY(-10px);
  animation: sigReveal 0.9s var(--ease) 0.5s forwards;
}

@keyframes sigReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-signature--large {
  top: 1.5rem;
  right: 2.5rem;
}

.hero-signature--large .sig-img {
  height: clamp(90px, 14vw, 170px);
  width: auto;
  opacity: 0.88;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18));
}

.hero-signature--small {
  top: 1.25rem;
  right: 2rem;
}

.hero-signature--small .sig-img {
  height: clamp(48px, 7vw, 80px);
  width: auto;
  opacity: 0.75;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.18));
}

/* ── Teal Nav Band ──────────────────────────────────────────────────────── */
.nav-band {
  position: sticky;
  top: 0;
  z-index: var(--nav-z);
  background: var(--teal);
  height: var(--nav-h);
  box-shadow: 0 2px 12px rgba(30,34,32,0.18);
  transition: background var(--transition), box-shadow var(--transition);
}

/* When scrolled, deepen the teal slightly */
.nav-band.is-scrolled {
  background: var(--teal-dark);
  box-shadow: 0 3px 20px rgba(30,34,32,0.25);
}

.nav-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Wordmark */
.nav-wordmark {
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.2em;
  cursor: pointer;
}

.nav-wordmark .wm-meg {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav-wordmark .wm-campbell {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.88);
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav-wordmark:hover .wm-meg,
.nav-wordmark:hover .wm-campbell { color: #fff; }

/* Footer wordmark (same style) */
.footer-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.2em;
  margin-bottom: 0.5rem;
  font-size: 0;
}

.footer-wordmark .wm-meg {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: #fff;
  text-transform: uppercase;
}

.footer-wordmark .wm-campbell {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}

/* Nav menu */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.25em;
  padding: 0 0.65rem;
  height: var(--nav-h);
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
  position: relative;
  cursor: pointer;
}

.nav-menu > li > a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

/* Active nav item */
.nav-menu > li > a.nav-active,
.nav-menu > li > a[aria-current="page"] {
  color: #fff;
  background: var(--teal-dark);
}

/* Biohacking link — slightly distinguished */
.nav-menu > li > a.nav-biohacking {
  color: rgba(255,255,255,0.75);
  gap: 0.3em;
}
.nav-menu > li > a.nav-biohacking:hover { color: #fff; }
.nav-menu > li > a.nav-biohacking svg { opacity: 0.7; }

.nav-caret {
  font-size: 0.7em;
  opacity: 0.8;
  margin-left: 1px;
}

/* Dropdown */
.has-dropdown { position: relative; }

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--charcoal);
  list-style: none;
  padding: 0.5rem 0;
  z-index: 999;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  border-top: 2px solid var(--teal);
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown { display: block; }

.nav-dropdown li a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}

.nav-dropdown li a:hover {
  color: #fff;
  background: var(--teal-deeper);
}

/* Nav social icons */
.nav-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.85);
  transition: all var(--transition);
  cursor: pointer;
}

.nav-social-icon:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

.nav-social-icon:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.9);
  transition: all var(--transition);
  border-radius: 1px;
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(255,255,255,0.8);
  outline-offset: 3px;
}

/* ── Hero min-height adjustments ─────────────────────────────────────────── */
/* Ensure the hero section itself occupies the space without nav */
.hero-wrapper--home .hero--home {
  /* height = target viewport height - nav band height */
  min-height: calc(68vh - var(--nav-h));
}

.hero-wrapper--inner .hero--inner {
  min-height: calc(40vh - var(--nav-h));
}

/* ── Split sections ──────────────────────────────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.split-section.reverse .split-image { order: 2; }
.split-section.reverse .split-content { order: 1; }

.split-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

/* Stand for/against lists */
.stand-list { list-style: none; padding: 0; }
.stand-list li {
  padding: 0.4rem 0 0.4rem 1.6rem;
  position: relative;
  color: var(--text-body);
}
.stand-list--for li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 600;
}
.stand-list--against li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #c0392b;
  font-weight: 600;
}

/* ── Service cards ───────────────────────────────────────────────────────── */
.service-card {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.service-card:hover img { transform: scale(1.03); }

.service-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.service-card-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  flex: 1;
  line-height: 1.7;
}

.service-card-body .btn {
  margin-top: 1.5rem;
  align-self: flex-start;
}

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testimonial-card {
  background: var(--warm-white);
  border-left: 3px solid var(--teal);
  padding: 2rem 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--charcoal-mid);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: -0.5rem;
  color: var(--teal);
  opacity: 0.5;
  margin-right: 0.1em;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sand);
}

.testimonial-author-name {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.testimonial-author-role {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* ── CTA Band ─────────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--charcoal);
  color: #fff;
  text-align: center;
  padding: 5rem 1.5rem;
}

.cta-band h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.cta-band p { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; line-height: 1.8; }

.cta-phone {
  display: inline-block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--sand);
  margin-bottom: 1.5rem;
}

.cta-phone:hover { color: rgba(212,196,168,0.75); }

/* ── Blog ────────────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
}

.blog-card {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  height: 210px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-card-image img { transform: scale(1.04); }

.blog-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.blog-card-category {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.6rem;
}

.blog-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-card h3 a { color: var(--charcoal); }
.blog-card h3 a:hover { color: var(--teal-dark); }

.blog-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-light);
  flex: 1;
  line-height: 1.7;
}

.blog-card .btn { margin-top: 1.25rem; align-self: flex-start; }

.blog-note {
  background: #fefce8;
  border-left: 3px solid var(--sand);
  padding: 0.85rem 1.1rem;
  font-size: 0.85rem;
  color: #78600a;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.5rem;
}

/* ── Shop ─────────────────────────────────────────────────────────────────── */
.product-card {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 380px;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: var(--cream);
  padding: 0.85rem;
  transition: transform 0.5s var(--ease);
}

.product-card:hover img { transform: scale(1.02); }

.product-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--teal-dark);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

/* Buy form */
.buy-form {
  background: var(--teal-pale);
  padding: 2.25rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
  max-width: 500px;
}

.buy-form h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  margin-bottom: 1.25rem;
}

/* ── Forms ────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.35rem; }

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #d4cec8;
  border-radius: var(--radius);
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  color: var(--text-body);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(110,156,149,0.18);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.contact-form { max-width: 600px; }

/* ── Contact page ─────────────────────────────────────────────────────────── */
.contact-info {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.contact-detail { margin-bottom: 1rem; }

.contact-detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-dark);
  margin-bottom: 0.3rem;
}

.contact-detail-value { font-size: 1.05rem; color: var(--text-body); }

.contact-detail-value a { color: var(--charcoal); font-weight: 500; }
.contact-detail-value a:hover { color: var(--teal); }

.social-links { display: flex; gap: 0.75rem; margin-top: 0.5rem; }

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--sand);
  color: var(--charcoal-soft);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

/* ── Alerts ────────────────────────────────────────────────────────────────── */
.alert {
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.alert-success { background: #edf7ef; border: 1px solid #6abc77; color: #205228; }
.alert-error   { background: #fdf2f2; border: 1px solid #e57373; color: #8b1717; }
.alert-warning { background: #fef9ec; border: 1px solid #e8c44a; color: #6b4e07; }
.alert-info    { background: #edf5fd; border: 1px solid #64aedd; color: #1a4d74; }

/* ── Biohacking benefit columns ────────────────────────────────────────────── */
.benefit-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-column h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid var(--sand-light);
}

.benefit-column ul { list-style: none; padding: 0; }

.benefit-column ul li {
  padding: 0.3rem 0 0.3rem 1.25rem;
  position: relative;
}

.benefit-column ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.85em;
}

/* ── Credentials logos ──────────────────────────────────────────────────────── */
.credentials-section { margin: 3rem 0 2rem; }

.credentials-section .section-title {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1.5rem;
  border-bottom: 1.5px solid var(--sand-light);
  padding-bottom: 0.5rem;
}

.credentials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
}

.credential-logo-item {
  flex: 0 0 auto;
  width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--sand-light);
  border-radius: var(--radius);
}

.credential-logo-item img {
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

/* About-page signature block */
.signature-block { margin: 2.5rem 0 1rem; }
.signature-img { max-width: 220px; height: auto; display: block; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 380px;
  margin-bottom: 0.75rem;
  line-height: 1.65;
}

.footer-copyright {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-social { display: flex; gap: 0.75rem; align-items: center; padding-top: 0.25rem; }

.social-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.social-circle:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

/* ── Error/payment pages ─────────────────────────────────────────────────────── */
.payment-not-configured {
  background: #fef9ec;
  border: 2px dashed var(--sand);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  color: #6b4e07;
}

/* ── Blog post inline elements ───────────────────────────────────────────────── */
.blog-inline-image { margin: 2.5rem 0; text-align: center; }

.blog-inline-image--right {
  float: right;
  margin: 0.5rem 0 1.5rem 2.5rem;
  max-width: 45%;
  text-align: left;
}

.blog-inline-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.blog-inline-image figcaption {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 0.4rem;
  font-style: italic;
}

.blog-pullquote {
  border-left: 3px solid var(--teal);
  padding: 1.25rem 1.75rem;
  margin: 2.5rem 0;
  background: var(--teal-pale);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.blog-pullquote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  margin: 0 0 0.5rem;
  color: var(--charcoal-mid);
}

.blog-pullquote cite {
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-body { line-height: 1.85; }

.blog-body::after { content: ''; display: table; clear: both; }

/* ── Wagtail userbar ──────────────────────────────────────────────────────────── */
.wagtail-userbar { z-index: 10000 !important; }

/* ── Reduced motion ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .credential-line,
  .credential-rule,
  .hero-signature {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .service-card,
  .blog-card,
  .product-card,
  .service-card img,
  .blog-card-image img,
  .product-card img {
    transition: none;
  }
}

/* ── Responsive — Tablet 900px ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; gap: 3rem; }
  .split-section.reverse .split-image { order: 0; }
  .split-section.reverse .split-content { order: 0; }
  .hero-credential-stack { max-width: 60%; }

  .nav-menu > li > a { padding: 0 0.5rem; font-size: 0.63rem; letter-spacing: 0.1em; }
}

/* ── Responsive — Mobile 680px ────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .section { padding: 3.5rem 0; }

  /* Hero */
  .hero--home { min-height: calc(62vw + 60px); }
  .hero--inner { min-height: 200px; }

  .hero-credential-stack { top: 1.25rem; left: 1.25rem; max-width: 58%; }
  .credential-line { font-size: 0.5rem; letter-spacing: 0.14em; }
  .credential-rule { width: 32px; }

  .hero-signature--large { top: 1rem; right: 1.25rem; }
  .hero-signature--large .sig-img { height: clamp(60px, 18vw, 90px); }

  .hero-signature--small { top: 0.75rem; right: 1rem; }
  .hero-signature--small .sig-img { height: clamp(36px, 10vw, 56px); }

  /* Nav band */
  .nav-band { height: auto; min-height: var(--nav-h); position: sticky; top: 0; }
  .nav-band-inner { flex-wrap: wrap; padding: 0 1rem; min-height: var(--nav-h); }

  .nav-wordmark { order: 1; }
  .nav-toggle { display: flex; order: 2; }
  .nav-social { display: none; }

  /* Mobile menu */
  .nav-menu {
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
    background: var(--teal-dark);
    padding: 0 1rem;
  }

  .nav-menu.is-open {
    max-height: 80vh;
    padding: 0.5rem 1rem 1rem;
    overflow-y: auto;
  }

  .nav-menu > li { width: 100%; }

  .nav-menu > li > a {
    height: auto;
    padding: 0.85rem 0;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-menu > li:last-child > a { border-bottom: none; }

  /* Mobile dropdown */
  .nav-dropdown {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    border-top: none;
    padding: 0;
    background: rgba(0,0,0,0.15);
    margin-bottom: 0.5rem;
  }

  .has-dropdown.is-open .nav-dropdown { display: block; }

  .nav-dropdown li a {
    padding: 0.65rem 1rem;
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 2rem; }

  .cta-band { padding: 3.5rem 1.25rem; }
}

/* ── Responsive — Small mobile 380px ──────────────────────────────────────────── */
@media (max-width: 380px) {
  .hero-credential-stack { max-width: 52%; }
  .credential-line { font-size: 0.45rem; }
}
