/* ============================================================
   Green Mumma — Site Styles · v2 (photography-led)
   Built from DESIGN-green-mumma.md
   ============================================================ */

@font-face {
  font-family: 'Gambarino';
  src: url('fonts/gambarino/Gambarino-Regular.woff2') format('woff2'),
       url('fonts/gambarino/Gambarino-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour */
  --primary: #37423C;        /* Deep Pine */
  --on-primary: #FFFDF8;     /* Winter Glow on dark */
  --base: #EDEFE5;           /* Moss Mist */
  --accent: #6B7770;         /* Algae */
  --tertiary: #635E5E;       /* Baked Earth */
  --neutral: #FFFDF8;        /* Winter Glow */
  --pine-deep: #2A332E;
  --pine-soft: #46524B;
  --ink: #37423C;
  --text-body: #4A544D;
  --text-soft: #6B7770;
  --text-mute: #8C948D;
  --clay-soft: #857F7F;
  --moss-deep: #E2E5D6;
  --hairline: #DCE0D1;
  --hairline-cream: #ECE9DF;
  --scrim: #2A332E;
  --footer: #2A332E;

  /* Type */
  --serif: 'Gambarino', 'Times New Roman', serif;
  --sans: 'Switzer', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Motion */
  --dur-fast: 300ms;
  --dur-base: 700ms;
  --dur-slow: 1100ms;
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --container: 1360px;
  --gutter: 40px;
  --section: 96px;
  --section-lg: 140px;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--neutral);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4, .serif {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
}

a { color: inherit; }

::selection { background: var(--moss-deep); color: var(--ink); }

/* ---------- Layout primitives ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 680px; margin-left: auto; margin-right: auto; }

section { padding: var(--section) 0; }
.band-moss { background: var(--base); }
.band-cream { background: var(--neutral); }
.band-pine { background: var(--scrim); }

/* ---------- Type scale ---------- */
.display-xl { font-size: clamp(44px, 6.5vw, 72px); line-height: 1.05; letter-spacing: -0.5px; }
.display    { font-size: clamp(36px, 4.5vw, 52px); line-height: 1.1;  letter-spacing: -0.5px; }
.display-sm { font-size: clamp(30px, 3.5vw, 40px); line-height: 1.15; letter-spacing: -0.25px; }
.heading-md { font-size: clamp(26px, 2.5vw, 32px); line-height: 1.2; }
.heading-sm { font-size: 24px; line-height: 1.3; }
.serif-accent { font-family: var(--serif); font-size: 22px; line-height: 1.4; }

.subtitle { font-size: 19px; line-height: 1.55; }
.body-sm { font-size: 14px; line-height: 1.5; }
.meta { font-size: 13px; line-height: 1.4; letter-spacing: 0.2px; color: var(--text-mute); }

.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px; display: block;
}

.micro-caps {
  font-size: 11px; font-weight: 500; letter-spacing: 1.2px;
  text-transform: uppercase;
}

.lead { font-size: 19px; line-height: 1.55; max-width: 640px; }

/* ---------- Media utilities ---------- */
.img-cover { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: 0.4px; line-height: 1.43;
  height: 48px; padding: 0 28px; border-radius: 9999px;
  text-decoration: none; cursor: pointer; border: none;
  transition: background-color var(--dur-fast) var(--ease-soft),
              color var(--dur-fast) var(--ease-soft),
              border-color var(--dur-fast) var(--ease-soft);
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--pine-deep); }
.btn-on-dark { background: var(--neutral); color: var(--primary); }
.btn-on-dark:hover { background: var(--moss-deep); }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--on-primary); }

.text-link {
  color: var(--primary); font-size: 14px; font-weight: 500;
  text-decoration: underline; text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color var(--dur-fast) var(--ease-in-out);
}
.text-link:hover { text-decoration-color: transparent; }
.text-link--light { color: var(--on-primary); }

/* ---------- Tags ---------- */
.tag {
  display: inline-block; border: 1px solid var(--hairline);
  border-radius: 9999px; padding: 6px 14px;
  color: var(--accent); margin: 0 8px 8px 0;
}

/* ---------- Announcement bar ---------- */
.announcement {
  background: var(--pine-deep); color: var(--on-primary);
  height: 36px; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 16px;
  position: relative; z-index: 110;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-fast) var(--ease-soft),
              border-color var(--dur-fast) var(--ease-soft),
              transform var(--dur-fast) var(--ease-soft),
              top var(--dur-fast) var(--ease-soft);
}
.nav.scrolled {
  background: var(--neutral);
  border-bottom-color: var(--hairline-cream);
}
.nav.hidden { transform: translateY(-100%); }

.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: block; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo .logo-light { display: none; }
.nav-menu { display: flex; gap: 8px; list-style: none; }
.nav-link {
  position: relative; display: block; padding: 8px;
  font-size: 14px; font-weight: 500; line-height: 1.43;
  color: var(--ink); text-decoration: none;
  transition: color var(--dur-fast) var(--ease-soft);
}
.nav-link::after {
  content: ''; position: absolute; left: 8px; right: 8px; bottom: 4px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-in-out);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-right a,
.nav-right .cart-trigger {
  font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none;
  background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit;
  transition: color var(--dur-fast) var(--ease-soft);
}

/* Overlay nav: light chrome over the photo hero until scroll */
.nav--overlay:not(.scrolled) { position: fixed; left: 0; right: 0; top: 36px; }
.nav--overlay.scrolled { position: fixed; left: 0; right: 0; top: 0; }
.nav--overlay:not(.scrolled) .nav-link,
.nav--overlay:not(.scrolled) .nav-right a,
.nav--overlay:not(.scrolled) .nav-right .cart-trigger { color: var(--on-primary); }
.nav--overlay:not(.scrolled) .nav-logo .logo-dark { display: none; }
.nav--overlay:not(.scrolled) .nav-logo .logo-light { display: block; }
.nav--overlay:not(.scrolled) .nav-burger span { background: var(--on-primary); }

.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; position: relative;
}
.nav-burger span {
  position: absolute; left: 8px; right: 8px; height: 1.5px;
  background: var(--ink); transition: background-color var(--dur-fast);
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 26px; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--base);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px 24px 48px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-soft);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-top img { height: 36px; }
.mobile-menu-close { background: none; border: none; font-size: 28px; color: var(--ink); cursor: pointer; line-height: 1; padding: 8px; }
.mobile-menu-links { list-style: none; }
.mobile-menu-links a {
  font-family: var(--serif); font-size: clamp(36px, 9vw, 52px); line-height: 1.3;
  color: var(--ink); text-decoration: none;
}
.mobile-menu-foot { color: var(--accent); }
.mobile-menu-foot span { display: block; margin-bottom: 8px; }

/* ---------- Photo hero ---------- */
.hero-photo {
  position: relative; overflow: hidden;
  min-height: max(92vh, 640px);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 96px) 0 120px;
  background: var(--scrim);
}
.hero-media { position: absolute; inset: -7% 0; z-index: 0; }
.hero-media img { width: 100%; height: 114%; object-fit: cover; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: rgba(42, 51, 46, 0.42); }
.hero-content { position: relative; z-index: 2; }
.hero-content .eyebrow { color: var(--moss-deep); }
.hero-content h1 { color: var(--on-primary); }
.hero-content .lead { color: var(--moss-deep); margin: 24px auto 0; }
.hero-actions { margin-top: 40px; display: flex; gap: 24px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* Quiet text hero (interior pages) */
.hero { padding: var(--section-lg) 0; text-align: center; }
.hero .lead { margin: 24px auto 0; }

/* 404 */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-page .lead { margin: 24px auto 40px; }
.error-page .hero-actions { justify-content: center; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--primary); color: var(--on-primary);
  height: 48px; overflow: hidden; display: flex; align-items: center;
}
.marquee-track {
  display: flex; flex-shrink: 0; gap: 0;
  animation: marquee 44s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: 12px; font-weight: 500; letter-spacing: 1.8px; text-transform: uppercase;
  white-space: nowrap; padding: 0 28px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Section opener lock-up ---------- */
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0 auto; }
.section-head .display { margin-bottom: 24px; }

/* ---------- Product shelf (image-led) ---------- */
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { text-decoration: none; display: block; }
.card-media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 12px; background: var(--moss-deep);
  margin-bottom: 20px;
}
.card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-base) var(--ease-soft), opacity var(--dur-base) var(--ease-soft);
}
.card-media img.alt { opacity: 0; }
.product-card:hover .card-media img { transform: scale(1.05); }
.product-card:hover .card-media img.alt { opacity: 1; }
.product-card h3 { font-size: 24px; line-height: 1.3; margin-bottom: 4px; }
.product-card .benefit { font-size: 14px; line-height: 1.5; color: var(--text-soft); margin-bottom: 8px; max-width: 36ch; }
.product-card .price { font-size: 13px; letter-spacing: 0.2px; color: var(--text-soft); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 40px; border-left: 1px solid var(--hairline); }
.pillar:first-child { border-left: none; }
.pillar-icon { margin-bottom: 24px; }
.pillar-icon svg { width: 36px; height: 36px; stroke: var(--accent); stroke-width: 1.5; fill: none; }
.pillar h3 { font-size: 24px; line-height: 1.3; margin-bottom: 12px; }
.pillar p { font-size: 14px; line-height: 1.5; }

/* ---------- Photographic interlude ---------- */
.interlude {
  position: relative; overflow: hidden;
  background: var(--scrim); color: var(--on-primary);
  padding: var(--section-lg) 0; text-align: center;
}
.interlude-media { position: absolute; inset: -8% 0; z-index: 0; }
.interlude-media img { width: 100%; height: 116%; object-fit: cover; }
.interlude-scrim { position: absolute; inset: 0; z-index: 1; background: rgba(42, 51, 46, 0.48); }
.interlude-content { position: relative; z-index: 2; }
.interlude .eyebrow { color: var(--moss-deep); }
.interlude h2 { color: var(--on-primary); margin-bottom: 24px; }
.interlude .lead { color: var(--moss-deep); margin: 0 auto 40px; }

/* ---------- Arch ingredient cards (photographic) ---------- */
.arch-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.arch-card { text-align: center; }
.arch-media {
  border-radius: 999px 999px 0 0; overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--moss-deep);
  margin-bottom: 28px;
}
.arch-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-soft);
}
.arch-card:hover .arch-media img { transform: scale(1.04); }
.arch-card h3 { font-size: 24px; margin-bottom: 4px; }
.arch-card .latin { font-family: var(--serif); font-size: 16px; color: var(--accent); display: block; margin-bottom: 12px; }
.arch-card p { font-size: 14px; line-height: 1.5; max-width: 32ch; margin: 0 auto; }

/* ---------- Testimonials ---------- */
.testimonial { text-align: center; }
.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px); line-height: 1.4;
  color: var(--ink); max-width: 760px; margin: 0 auto 24px;
}
.testimonial .stars { color: var(--tertiary); letter-spacing: 6px; margin-bottom: 16px; font-size: 14px; }
.testimonial cite { font-style: normal; color: var(--accent); display: block; }

/* ---------- Story split ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.split.reverse { grid-template-columns: 7fr 5fr; }
.split-media {
  border-radius: 24px; overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--moss-deep);
}
.split-media.arch { border-radius: 999px 999px 0 0; aspect-ratio: 3 / 4; }
.split-media--wide { aspect-ratio: 16 / 10; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy .display-sm { margin-bottom: 24px; }
.split-copy p { margin-bottom: 16px; }
.split-copy .actions { margin-top: 32px; }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; }
.newsletter h2 { margin-bottom: 16px; }
.newsletter .lead { margin: 0 auto 48px; }
.newsletter-form {
  max-width: 440px; margin: 0 auto; display: flex; align-items: flex-end; gap: 16px;
  text-align: left;
}
.newsletter-form .field { flex: 1; }
.newsletter-confirm { margin-top: 24px; color: var(--accent); }

/* ---------- Form fields ---------- */
.field label {
  display: block; font-size: 11px; font-weight: 500; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--text-mute); margin-bottom: 6px;
}
.field input {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--hairline);
  padding: 12px 0; font-family: var(--sans); font-size: 16px;
  color: var(--ink); outline: none; border-radius: 0;
  transition: border-color var(--dur-fast) var(--ease-soft);
}
.field input::placeholder { color: var(--text-mute); }
.field input:focus { border-bottom: 1.5px solid var(--ink); }
.field-submit {
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: var(--primary); padding: 12px 0;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: var(--on-primary); padding: 96px 0 40px; }
.footer-logo { display: flex; justify-content: center; margin-bottom: 80px; }
.footer-logo img { width: min(480px, 60vw); }
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  padding-bottom: 64px; border-bottom: 1px solid var(--pine-soft);
}
.footer-col .micro-caps { color: var(--text-mute); display: block; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: var(--on-primary); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-col p { font-size: 14px; color: var(--moss-deep); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-top: 40px; flex-wrap: wrap;
}
.footer-bottom p, .footer-bottom a { font-size: 13px; color: var(--text-mute); text-decoration: none; }
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--on-primary); }

/* ---------- PDP ---------- */
.pdp { padding: 64px 0 var(--section); }
.pdp-grid { display: grid; grid-template-columns: 6fr 1fr 5fr; align-items: start; }
.pdp-gallery { position: sticky; top: calc(var(--nav-h) + 32px); }
.pdp-image {
  border-radius: 12px; overflow: hidden;
  aspect-ratio: 1 / 1; background: var(--moss-deep);
}
.pdp-image img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 16px; margin-top: 16px; }
.pdp-thumb {
  flex: 1; border: none; padding: 0; cursor: pointer;
  border-radius: 8px; overflow: hidden; aspect-ratio: 1;
  background: var(--moss-deep);
  opacity: 0.75; transition: opacity var(--dur-fast) var(--ease-soft);
}
.pdp-thumb:hover, .pdp-thumb.active { opacity: 1; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-panel .breadcrumb { margin-bottom: 16px; }
.pdp-panel .breadcrumb a { color: var(--text-mute); text-decoration: none; font-size: 13px; }
.pdp-panel .breadcrumb a:hover { color: var(--ink); }
.pdp-panel h1 { margin-bottom: 8px; }
.pdp-panel .pdp-benefit { font-size: 19px; line-height: 1.55; color: var(--text-soft); margin-bottom: 16px; }
.pdp-panel .pdp-price { font-size: 19px; color: var(--ink); margin-bottom: 32px; }
.pdp-panel .pdp-price .size { font-size: 13px; color: var(--text-mute); margin-left: 8px; }
.pdp-panel .pdp-price .save { font-size: 13px; color: var(--accent); margin-left: 8px; }
.pdp-tags { margin-bottom: 32px; }
.pdp-panel .btn-primary { width: 100%; margin-bottom: 16px; }
.pdp-note { text-align: center; font-size: 13px; color: var(--text-mute); margin-bottom: 48px; }

/* ---------- Plan picker (subscription-first) ---------- */
.plan-picker { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.plan {
  display: block; cursor: pointer;
  border: 1px solid var(--hairline); border-radius: 12px;
  padding: 20px 24px; background: transparent;
  transition: background-color var(--dur-fast) var(--ease-soft);
}
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan--selected { background: var(--moss-deep); border-color: var(--moss-deep); }
.plan-flag { display: block; color: var(--accent); margin-bottom: 10px; }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.plan-name { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--ink); }
.plan-price { font-size: 19px; color: var(--ink); white-space: nowrap; }
.plan-price s { font-size: 14px; color: var(--text-mute); margin-left: 6px; text-decoration-thickness: 1px; }
.plan-points { list-style: none; margin-top: 12px; }
.plan-points li {
  font-size: 14px; line-height: 1.5; color: var(--text-body);
  padding: 4px 0 4px 18px; position: relative;
}
.plan-points li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}

/* ---------- Trust row ---------- */
.trust-row {
  display: flex; justify-content: center; gap: 40px;
  margin-bottom: 48px; text-align: center;
}
.trust-item { font-size: 13px; color: var(--text-soft); line-height: 1.4; }
.trust-item svg {
  width: 22px; height: 22px; margin: 0 auto 6px;
  stroke: var(--accent); stroke-width: 1.5; fill: none;
}

/* ---------- Cross-sell module ---------- */
.cross-sell {
  margin-top: 40px; border: 1px solid var(--hairline-cream);
  border-radius: 12px; padding: 28px;
}
.cross-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.cross-head h3 { font-size: 22px; }
.cross-sell > p { font-size: 14px; color: var(--text-soft); margin-bottom: 20px; }
.cross-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--hairline-cream);
  text-decoration: none;
}
.cross-item--featured {
  background: var(--moss-deep); border-top: none; border-radius: 12px;
  padding: 16px; margin-top: 16px;
}
.cross-thumb {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden; background: var(--moss-deep);
}
.cross-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cross-info { flex: 1; min-width: 0; }
.cross-info strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 17px; color: var(--ink); }
.cross-info span { display: block; font-size: 13px; line-height: 1.4; color: var(--text-soft); }
.cross-info .price { color: var(--ink); margin-top: 2px; }
.btn--sm { height: 38px; padding: 0 20px; font-size: 13px; flex-shrink: 0; }

@media (max-width: 768px) {
  .trust-row { gap: 24px; }
  .cross-sell { padding: 20px; }
}

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--hairline-cream); }
.accordion-item { border-bottom: 1px solid var(--hairline-cream); }
.accordion-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--ink);
  padding: 20px 0; text-align: left;
}
.accordion-trigger .indicator {
  font-family: var(--serif); font-size: 20px; color: var(--accent);
  transition: transform var(--dur-fast) var(--ease-soft);
}
.accordion-item.open .accordion-trigger .indicator { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height var(--dur-fast) var(--ease-in-out); }
.accordion-body-inner { padding: 0 0 24px; font-size: 14px; line-height: 1.6; }
.accordion-body-inner ul { padding-left: 18px; }
.accordion-body-inner li { margin-bottom: 6px; }

/* ---------- Ingredient benefits (PDP) ---------- */
.ing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px;
  max-width: 1080px; margin: 0 auto;
}
.ing-row { padding: 28px 0; border-bottom: 1px solid var(--hairline); }
.ing-row h3 { font-size: 22px; line-height: 1.3; margin-bottom: 2px; }
.ing-row .latin { font-family: var(--serif); font-size: 15px; color: var(--accent); display: block; margin-bottom: 10px; }
.ing-row p { font-size: 14px; line-height: 1.55; }
@media (max-width: 768px) {
  .ing-grid { grid-template-columns: 1fr; }
}

/* ---------- Pairs-well shelf ---------- */
.pairs .shelf { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin: 0 auto; }

/* ---------- Story page ---------- */
.prose { max-width: 680px; margin: 0 auto; }
.prose p { margin-bottom: 24px; }
.prose .serif-accent { color: var(--ink); margin: 40px 0 24px; }
.drop-cap::first-letter {
  font-family: var(--serif); font-size: 64px; line-height: 0.9;
  color: var(--tertiary); float: left; padding: 8px 12px 0 0;
}

/* ---------- Page transition curtain ----------
   Exit: .page-curtain (JS-injected) wipes up over the leaving page.
   Entrance: html.page-covered::before holds Moss Mist over the new page
   from first paint, then .page-reveal wipes it upward. */
.page-curtain {
  position: fixed; inset: 0; z-index: 9998;
  background: var(--base);
  transform: translateY(103%);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  transition: transform 550ms var(--ease-soft);
}
.page-curtain img {
  width: min(220px, 40vw);
  opacity: 0; transform: translateY(14px);
  transition: opacity 300ms var(--ease-soft) 140ms, transform 300ms var(--ease-soft) 140ms;
}
.page-curtain.active { transform: none; pointer-events: auto; }
.page-curtain.active img { opacity: 1; transform: none; }

html.page-covered::before {
  content: ''; position: fixed; inset: 0; z-index: 9998;
  background: var(--base);
}
html.page-covered::after {
  content: ''; position: fixed; inset: 0; z-index: 9999;
  background: url("TGM Logo Dark.svg") center / min(220px, 40vw) no-repeat;
}
html.page-covered.page-reveal::before {
  transform: translateY(-101%);
  transition: transform 700ms var(--ease-soft);
}
html.page-covered.page-reveal::after {
  opacity: 0;
  transition: opacity 250ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .page-curtain { display: none; }
}

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(42, 51, 46, 0.45);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-soft);
}
body.cart-open .cart-overlay { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 310;
  width: min(440px, 100vw);
  background: var(--neutral);
  display: flex; flex-direction: column;
  transform: translateX(103%);
  transition: transform var(--dur-base) var(--ease-soft);
}
body.cart-open .cart-drawer { transform: none; }

main { transition: transform var(--dur-base) var(--ease-soft); }
body.cart-open main { transform: translateX(-32px) scale(0.985); }

.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 28px; border-bottom: 1px solid var(--hairline-cream);
}
.cart-head h3 { font-size: 24px; }
.cart-close {
  background: none; border: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--ink); padding: 4px 8px;
}
.cart-items { flex: 1; overflow-y: auto; padding: 4px 28px; }
.cart-item {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--hairline-cream);
  opacity: 0; transform: translateY(18px);
  transition: opacity var(--dur-base) var(--ease-soft), transform var(--dur-base) var(--ease-soft);
}
body.cart-open .cart-item { opacity: 1; transform: none; }
.cart-thumb {
  width: 72px; height: 72px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden; background: var(--moss-deep);
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { flex: 1; min-width: 0; }
.cart-info strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 17px; color: var(--ink); }
.cart-info .cart-plan { display: block; font-size: 12px; color: var(--text-soft); margin-top: 2px; }
.cart-line-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.cart-line-foot .price { font-size: 14px; color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--hairline); border-radius: 9999px; }
.qty button { background: none; border: none; cursor: pointer; font-size: 15px; color: var(--ink); width: 30px; height: 30px; }
.qty span { min-width: 18px; text-align: center; font-size: 14px; color: var(--ink); }
.cart-remove {
  background: none; border: none; cursor: pointer;
  font-size: 12px; color: var(--text-mute);
  text-decoration: underline; text-underline-offset: 3px;
}
.cart-empty { padding: 56px 28px; text-align: center; }
.cart-empty h4 { font-size: 22px; margin-bottom: 8px; }
.cart-empty p { font-size: 14px; color: var(--text-soft); margin-bottom: 24px; }
.cart-ship { padding: 16px 28px 0; font-size: 13px; color: var(--text-soft); }
.ship-bar { height: 2px; background: var(--hairline-cream); border-radius: 2px; margin-top: 8px; overflow: hidden; }
.ship-bar i { display: block; height: 100%; background: var(--accent); transition: width var(--dur-base) var(--ease-soft); }
.cart-foot { border-top: 1px solid var(--hairline-cream); padding: 20px 28px 28px; margin-top: 16px; }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 16px; color: var(--ink); margin-bottom: 16px; }
.cart-foot .btn { width: 100%; }
.cart-continue { display: block; text-align: center; margin-top: 14px; }

@media (prefers-reduced-motion: reduce) {
  .cart-drawer { transition: opacity var(--dur-base) ease; transform: none; visibility: hidden; opacity: 0; }
  body.cart-open .cart-drawer { visibility: visible; opacity: 1; }
  body.cart-open main { transform: none; }
  .cart-item { transform: none; }
}

/* ---------- Reveal motion ----------
   Hidden states apply only when JS is running (html.js),
   so content stays visible if the script ever fails to load. */
html.js .reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity var(--dur-base) var(--ease-soft),
              transform var(--dur-base) var(--ease-soft);
}
html.js .reveal.in { opacity: 1; transform: none; }

.reveal-img { overflow: hidden; }
html.js .reveal-img > * {
  transform: scale(1.08);
  transition: transform var(--dur-slow) var(--ease-soft);
}
html.js .reveal-img.in > * { transform: scale(1); }

[data-parallax] img { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transform: none; transition: opacity var(--dur-base) ease; }
  html.js .reveal-img > * { transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Out of stock / notify-me ---------- */
.pdp-panel.is-oos .plan-picker,
.pdp-panel.is-oos .pdp-cta,
.pdp-panel.is-oos .pdp-price,
.pdp-panel.is-oos .pdp-scarcity,
.pdp-panel.is-oos .trust-row,
.pdp-panel.is-oos .pdp-note { display: none; }
.oos { margin-bottom: 40px; }
.oos-title { font-size: 22px; line-height: 1.3; color: var(--ink); margin-bottom: 6px; }
.oos-sub { font-size: 14px; line-height: 1.55; color: var(--text-soft); margin-bottom: 20px; }
.oos-form { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.oos-confirm { margin-top: 16px; color: var(--accent); }

/* ---------- Small-batch scarcity line (PDP buy box) ---------- */
.pdp-scarcity {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--accent); margin: 0 0 24px;
}
.pdp-scarcity span { color: var(--tertiary); }

/* ---------- Ritual steps (transformation) ---------- */
.ritual-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 980px; margin: 0 auto; }
.ritual-step { text-align: center; }
.ritual-num { font-family: var(--serif); font-size: 32px; color: var(--accent); display: block; margin-bottom: 12px; }
.ritual-step h3 { font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.ritual-step p { font-size: 14px; line-height: 1.55; color: var(--text-soft); max-width: 30ch; margin: 0 auto; }
@media (max-width: 700px) { .ritual-row { grid-template-columns: 1fr; gap: 32px; max-width: 360px; } }

/* ---------- Made differently (compare) ---------- */
.difference-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  max-width: 720px; margin: 0 auto;
}
.difference-label { display: block; color: var(--text-mute); margin-bottom: 16px; }
.difference-list { list-style: none; }
.difference-list li {
  font-size: 15px; line-height: 1.5; color: var(--text-body);
  padding: 6px 0 6px 26px; position: relative;
}
.difference-list--out li::before { content: '×'; position: absolute; left: 4px; color: var(--clay-soft); font-size: 16px; line-height: 1.4; }
.difference-list--in li::before { content: '✓'; position: absolute; left: 3px; color: var(--accent); }
@media (max-width: 560px) { .difference-cols { grid-template-columns: 1fr; gap: 32px; max-width: 360px; } }

/* ---------- Sticky add-to-bag (mobile) ---------- */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 20px; background: var(--neutral);
  border-top: 1px solid var(--hairline-cream);
  visibility: hidden; transform: translateY(100%);
  transition: transform var(--dur-fast) var(--ease-soft), visibility var(--dur-fast);
}
.sticky-buy.visible { visibility: visible; transform: none; }
.sticky-buy-info strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 15px; color: var(--ink); }
.sticky-buy-info span { font-size: 13px; color: var(--text-soft); }
.sticky-buy .btn { height: 44px; flex-shrink: 0; }
@media (max-width: 768px) { .sticky-buy { display: flex; } }

/* ---------- FAQ ---------- */
.faq-accordion { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--hairline); }

/* ---------- Outcome statement / Who it's for ---------- */
.outcome { text-align: center; }
.outcome-mark { width: 40px; height: 40px; color: var(--accent); margin: 0 auto 40px; }
.outcome-statement {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(28px, 4.2vw, 46px); line-height: 1.18; letter-spacing: -0.5px;
  color: var(--ink); max-width: 680px; margin: 0 auto 64px;
}
.outcome-accent { font-family: var(--serif); }
.outcome-cols {
  display: flex; justify-content: center; gap: 80px;
  text-align: left; max-width: 620px; margin: 0 auto; flex-wrap: wrap;
}
.outcome-col { min-width: 200px; }
.outcome-label { display: block; color: var(--text-mute); margin-bottom: 16px; }
.outcome-list { list-style: none; }
.outcome-list li {
  font-size: 15px; line-height: 1.5; color: var(--text-body);
  padding: 5px 0 5px 22px; position: relative;
}
.outcome-list--bullet li::before { content: '•'; position: absolute; left: 5px; color: var(--accent); }
.outcome-list--check li::before { content: '✓'; position: absolute; left: 2px; color: var(--accent); }
@media (max-width: 560px) { .outcome-cols { gap: 36px; } }

/* ---------- Reviews section ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  margin: 0; padding: 28px 28px 24px;
  border: 1px solid var(--hairline); border-radius: 12px;
  display: flex; flex-direction: column; gap: 16px;
}
.review-card blockquote {
  font-family: var(--serif); font-size: 18px; line-height: 1.5; color: var(--ink); margin: 0;
}
.review-card figcaption { color: var(--accent); }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- PDP above-the-fold social proof (plain single line) ---------- */
.pdp-social {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  margin: 0 0 14px; font-size: 13px; line-height: 1.4; color: var(--text-soft);
}
.pdp-social-stars { color: var(--tertiary); letter-spacing: 1px; font-size: 13px; flex-shrink: 0; }
.pdp-social-text strong { color: var(--ink); font-weight: 500; }
.pdp-social:hover .pdp-social-text { color: var(--ink); }

/* Reviews section rating line */
.reviews-rating { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; }
.reviews-rating .stars { color: var(--tertiary); letter-spacing: 3px; font-size: 15px; }
.reviews-rating .score { font-size: 14px; color: var(--text-soft); }

/* ---------- Blog / The Journal ---------- */
.journal-empty { text-align: center; margin: 0 auto; }

.journal-feature {
  display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center;
  text-decoration: none; margin-bottom: 72px;
}
.journal-feature-media {
  border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--moss-deep);
}
.journal-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-soft); }
.journal-feature:hover .journal-feature-media img { transform: scale(1.04); }
.journal-feature-copy .eyebrow { margin-bottom: 12px; }
.journal-feature-copy .display-sm { margin-bottom: 12px; }
.journal-feature-copy .meta { margin-bottom: 16px; }
.journal-feature-copy p { margin-bottom: 20px; color: var(--text-body); }

.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 32px; }
.journal-card { text-decoration: none; display: block; }
.journal-card-media {
  aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--moss-deep); margin-bottom: 18px;
}
.journal-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-base) var(--ease-soft); }
.journal-card:hover .journal-card-media img { transform: scale(1.05); }
.journal-card h3 { font-size: 22px; line-height: 1.3; margin-bottom: 6px; }
.journal-card .meta { margin-bottom: 8px; }
.journal-excerpt { font-size: 14px; line-height: 1.55; color: var(--text-soft); }

/* Article */
.article-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.article-head .breadcrumb { margin-bottom: 24px; }
.article-head .breadcrumb a { color: var(--text-mute); text-decoration: none; font-size: 13px; }
.article-head .breadcrumb a:hover { color: var(--ink); }
.article-meta { font-size: 13px; color: var(--text-mute); letter-spacing: 0.2px; margin-top: 16px; }
.article-hero {
  max-width: 1000px; margin: 0 auto 56px; border-radius: 16px; overflow: hidden; background: var(--moss-deep);
}
.article-hero img { width: 100%; height: auto; display: block; }

/* Shopify article HTML rendered in the prose container */
.article-body { max-width: 720px; }
.article-body h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.2; margin: 40px 0 16px; }
.article-body h3 { font-size: 22px; line-height: 1.3; margin: 32px 0 12px; }
.article-body p { margin-bottom: 22px; }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { margin: 0 0 22px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body img {
  width: 100%; height: auto; border-radius: 12px; margin: 32px 0; display: block;
}
.article-body blockquote {
  font-family: var(--serif); font-size: 22px; line-height: 1.45; color: var(--ink);
  margin: 32px 0; padding-left: 24px; border-left: 2px solid var(--hairline);
}
.article-body strong { font-weight: 500; color: var(--ink); }

.article-nav {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  max-width: 720px; margin: 64px auto 0; padding-top: 32px; border-top: 1px solid var(--hairline);
}
.article-nav-link { text-decoration: none; max-width: 48%; }
.article-nav-link--next { text-align: right; margin-left: auto; }
.article-nav-link .micro-caps { display: block; color: var(--text-mute); margin-bottom: 6px; }
.article-nav-link strong { font-family: var(--serif); font-weight: 400; font-size: 17px; color: var(--ink); }
.article-back { max-width: 720px; margin: 40px auto 0; text-align: center; }

@media (max-width: 900px) {
  .journal-feature { grid-template-columns: 1fr; gap: 28px; }
  .journal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .journal-grid { grid-template-columns: 1fr; }
}

/* ---------- Phase 2 markup cleanups (Astro port) ----------
   Visual no-ops: these carry the one-off inline styles into classes and
   support the valid plan-picker pattern (fieldset + stretched label).
   Computed styles are identical to the static prototype. */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
fieldset.plan-picker { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.plan { position: relative; }
.plan-cover { position: absolute; inset: 0; cursor: pointer; border-radius: 12px; }
.price-inline { color: var(--ink); font-weight: 500; }
.testimonial .eyebrow { margin-bottom: 16px; }
.footer-col p + p { margin-top: 12px; }
.accordion-body-inner ul + p { margin-top: 12px; }
.cross-sell > p + .cross-item { border-top: none; padding-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  :root { --gutter: 24px; }
}

@media (max-width: 1024px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .pdp-grid { grid-template-columns: 1fr; gap: 48px; }
  .pdp-gallery { position: static; }
}

@media (max-width: 768px) {
  :root { --section: 64px; --section-lg: 96px; }
  .nav-menu, .nav-right .desktop-only { display: none; }
  .nav-burger { display: block; }
  .hero-photo { min-height: max(86vh, 560px); }
  .shelf { grid-template-columns: 1fr; }
  .pairs .shelf { grid-template-columns: 1fr; }
  .arch-row { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-left: none; border-top: 1px solid var(--hairline); }
  .pillar:first-child { border-top: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
