/* ============================================================
   Maverix Maker — Website stylesheet
   Semantic CSS recreation of the design-system components,
   built for crawlability + direct editing. Imports DS tokens.
   ============================================================ */
@import url("styles.css");

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Global horizontal-overflow guard: nothing may ever push the page sideways on mobile */
html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  background: var(--mm-cream);
  color: var(--mm-ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--mm-terracotta); text-decoration: none; }
a:hover { color: var(--mm-marigold-deep); }

::selection { background: rgba(247,147,46,0.22); }

:focus-visible { outline: 2px solid var(--mm-marigold-deep); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  color: var(--mm-espresso);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-snug);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
p + p { margin-top: 1.05em; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--content-max); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 920px; }
.prose { max-width: var(--prose-max); }
.prose p { color: var(--text-body); line-height: var(--leading-relaxed); font-size: var(--text-body); }
.prose p.lead { font-size: var(--text-lead); line-height: 1.6; color: var(--mm-stone); }

.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--cream { background: var(--mm-cream); }
.section--linen { background: var(--mm-linen); }
.section--ivory { background: var(--mm-ivory); }
.section--ink { background: var(--mm-ink); color: var(--mm-cream); }
.section--forest { background: var(--mm-forest); color: var(--mm-cream); }
.section--feature { position: relative; background: var(--mm-cream); overflow: hidden; }
.section--feature::before { content: ""; position: absolute; top: -14%; left: 50%; transform: translateX(-50%); width: 820px; height: 540px; max-width: 120%; background: radial-gradient(ellipse at center, rgba(247,147,46,0.10), transparent 68%); pointer-events: none; }

.center { text-align: center; }
.measure-head { max-width: 18ch; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: var(--space-5); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-label);
  font-size: var(--text-eyebrow); font-weight: 500;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--mm-gold-deep);
  margin: 0;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow.no-rule::before { display: none; }
.eyebrow--center { justify-content: center; }
.eyebrow--marigold { color: var(--text-accent); }
.eyebrow--cream { color: var(--mm-cream); }
.eyebrow--stone { color: var(--mm-stone); }

/* ---------- Headings scale ---------- */
.t-hero    { font-size: var(--text-hero); line-height: 1.04; font-weight: 500; }
.t-display { font-size: var(--text-display); line-height: 1.08; font-weight: 500; }
.t-h1 { font-size: var(--text-h1); }
.t-h2 { font-size: var(--text-h2); }
.t-h3 { font-size: var(--text-h3); }
.caps { text-transform: uppercase; }
.serif-italic { font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--font-label); font-weight: 500;
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1;
  padding: 0.85rem 1.7rem;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  cursor: pointer; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base), box-shadow var(--dur-base), color var(--dur-base);
}
.btn .arrow { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.72rem; }
.btn--lg { padding: 1.05rem 2.2rem; font-size: 0.86rem; letter-spacing: 0.18em; }
.btn--block { width: 100%; }

.btn--primary { background: var(--mm-marigold); color: var(--mm-ink); box-shadow: var(--shadow-glow); }
.btn--primary:hover { background: var(--mm-marigold-deep); color: var(--mm-ink); transform: translateY(-1px); }

.btn--secondary { background: transparent; color: var(--mm-ink); border-color: var(--border-strong); }
.btn--secondary:hover { background: var(--mm-ink); color: var(--mm-cream); border-color: var(--mm-ink); transform: translateY(-1px); }

.btn--on-dark { background: var(--mm-cream); color: var(--mm-ink); box-shadow: var(--shadow-md); }
.btn--on-dark:hover { background: var(--mm-white); transform: translateY(-1px); }

.btn--ghost { background: transparent; color: var(--mm-stone); }
.btn--ghost:hover { color: var(--mm-ink); background: rgba(204,167,50,0.10); }

.btn--link {
  background: transparent; color: var(--text-accent);
  padding: 0; border-radius: 0; box-shadow: none; letter-spacing: 0.16em;
}
.btn--link:hover { color: var(--mm-marigold); }

/* inline text link with arrow */
.tlink {
  font-family: var(--font-label); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-accent);
  display: inline-flex; align-items: center; gap: 0.5em;
}
.tlink .arrow { transition: transform var(--dur-base) var(--ease-out); }
.tlink:hover { color: var(--mm-marigold); }
.tlink:hover .arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--font-label); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; line-height: 1;
  padding: 0.34rem 0.7rem; border-radius: var(--radius-pill);
  background: rgba(204,167,50,0.14); color: var(--mm-gold-deep); border: 1px solid rgba(204,167,50,0.32);
}
.badge--marigold { background: rgba(247,147,46,0.14); color: var(--mm-marigold-deep); border-color: rgba(247,147,46,0.30); }
.badge--sage { background: rgba(138,154,107,0.16); color: var(--mm-sage-deep); border-color: rgba(138,154,107,0.34); }
.badge--ink { background: var(--mm-ink); color: var(--mm-cream); border-color: transparent; }
.badge--neutral { background: var(--mm-linen); color: var(--mm-stone); border-color: var(--border-hairline); }

/* ---------- Divider ---------- */
.rule-short { display: block; width: 48px; height: 2px; background: var(--mm-gold); border-radius: 2px; }
.ring { display: flex; align-items: center; justify-content: center; gap: 0.9rem; }
.ring::before, .ring::after { content: ""; flex: 1; max-width: 70px; height: 1px; background: var(--mm-gold); opacity: 0.5; }
.ring .dot { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--mm-gold); }
.ring--cream::before, .ring--cream::after { background: var(--mm-gold); opacity: 0.7; }
hr.line { border: 0; height: 1px; background: var(--mm-gold); opacity: 0.45; width: 100%; margin: 0; }

/* ---------- Card ---------- */
.card {
  background: var(--surface-card); color: var(--mm-ink);
  border: 1px solid var(--border-hairline); border-radius: var(--radius-lg);
  padding: var(--space-7); box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.card--cream { background: var(--mm-cream); }
.card--ink { background: var(--mm-forest); color: var(--mm-cream); border-color: rgba(204,167,50,0.22); }
.card--pad-md { padding: var(--space-6); }
.card--pad-sm { padding: var(--space-5); }
.card.is-interactive:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---------- Offer card ---------- */
.offer {
  position: relative; display: flex; flex-direction: column; gap: var(--space-4);
  background: var(--surface-card); color: var(--mm-ink);
  border: 1px solid var(--border-hairline); border-radius: var(--radius-lg);
  padding: var(--space-7); box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.offer--featured { background: var(--mm-forest); color: var(--mm-cream); border-color: rgba(204,167,50,0.30); }
.offer__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.offer__tier {
  font-family: var(--font-label); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--mm-gold-deep);
}
.offer--featured .offer__tier { color: var(--mm-gold); }
.offer__title { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; line-height: 1.1; letter-spacing: -0.01em; color: inherit; }
.offer__desc { font-size: 1rem; line-height: var(--leading-normal); color: var(--text-body); flex: 1; }
.offer--featured .offer__desc { color: rgba(248,241,228,0.82); }
.offer__meta { font-family: var(--font-label); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); padding-top: 0.25rem; }
.offer--featured .offer__meta { color: rgba(248,241,228,0.6); }

.grid { display: grid; gap: 1.5rem; }
.grid--offers { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---------- Testimonial ---------- */
.quote {
  margin: 0; display: flex; flex-direction: column; gap: var(--space-5);
  color: var(--mm-ink);
}
.quote__mark { font-family: var(--font-display); font-size: 3.2rem; line-height: 0.6; height: 1.1rem; color: var(--mm-gold); }
.quote blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 400; font-style: italic;
  font-size: 1.5rem; line-height: 1.32; letter-spacing: -0.01em; color: inherit;
}
.quote--lg blockquote { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.quote--sm blockquote { font-size: 1.15rem; }
.quote figcaption { display: flex; flex-direction: column; gap: 0.15rem; }
.quote__name { font-family: var(--font-label); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.quote__role { font-family: var(--font-sans); font-size: 0.86rem; color: var(--text-muted); }
.quote--card { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); padding: var(--space-7); box-shadow: var(--shadow-md); }
.quote--ink { background: var(--mm-forest); color: var(--mm-cream); border-radius: var(--radius-lg); padding: var(--space-7); }
.quote--ink .quote__role { color: rgba(248,241,228,0.62); }
.quote--center { text-align: center; align-items: center; }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-family: var(--font-label); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--mm-stone);
}
.field .hint { font-family: var(--font-sans); font-size: 0.82rem; color: var(--text-muted); }
.input {
  width: 100%; font-family: var(--font-sans); font-size: 1rem; color: var(--mm-ink);
  background: var(--mm-ivory); border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md); padding: 0.85rem 1.05rem; outline: none;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
textarea.input { padding: 0.85rem 1rem; resize: vertical; min-height: 120px; }
.input:focus { border-color: var(--mm-gold); box-shadow: 0 0 0 4px var(--focus-ring); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.3rem var(--gutter);
  background: transparent;
  transition: padding var(--dur-base) var(--ease-out), background var(--dur-base), border-color var(--dur-base), box-shadow var(--dur-base);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding-block: 0.7rem;
  background: rgba(248,241,228,0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-hairline);
}
.site-header.on-dark { position: absolute; top: 0; left: 0; right: 0; }
.site-header.on-dark.is-scrolled { position: fixed; }
/* solid header variant for pages without a dark hero */
.site-header.is-solid {
  background: rgba(248,241,228,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-hairline);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand__name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; color: var(--mm-ink); letter-spacing: -0.01em; white-space: nowrap; }
.site-header.on-dark:not(.is-scrolled) .brand__name { color: var(--mm-cream); }

.nav { display: flex; align-items: center; gap: 2.4rem; }
.nav__links { display: flex; gap: 1.5rem; }
.nav__links a {
  font-family: var(--font-label); font-size: 0.76rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mm-stone); text-decoration: none;
  transition: color var(--dur-base); white-space: nowrap;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--mm-ink); }
.site-header.on-dark:not(.is-scrolled) .nav__links a { color: rgba(248,241,228,0.86); }
.site-header.on-dark:not(.is-scrolled) .nav__links a:hover,
.site-header.on-dark:not(.is-scrolled) .nav__links a[aria-current="page"] { color: var(--mm-cream); }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem;
  flex-direction: column; gap: 5px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--mm-ink); transition: all var(--dur-base); }
.site-header.on-dark:not(.is-scrolled) .nav__toggle span { background: var(--mm-cream); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--mm-cream);
  display: flex; flex-direction: column; padding: 1.5rem var(--gutter);
  transform: translateY(-100%); transition: transform var(--dur-base) var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__close { background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--mm-ink); cursor: pointer; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.2rem; margin-top: 2rem; }
.mobile-menu nav a {
  font-family: var(--font-display); font-size: 1.9rem; color: var(--mm-espresso);
  padding: 0.5rem 0; border-bottom: 1px solid var(--border-hairline); text-decoration: none;
}
.mobile-menu nav a:hover { color: var(--mm-marigold-deep); }
.mobile-menu .btn { margin-top: 2rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; min-height: 92vh;
  display: flex; flex-direction: column; align-items: stretch;
  padding-top: clamp(140px, 15vh, 190px);
}
.hero--short { min-height: 74vh; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim-x { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(42,37,32,0.84) 0%, rgba(42,37,32,0.66) 38%, rgba(42,37,32,0.32) 60%, rgba(42,37,32,0.06) 84%); }
.hero__scrim-y { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,37,32,0.30) 0%, rgba(42,37,32,0) 30%, rgba(42,37,32,0) 68%, rgba(42,37,32,0.42) 100%); }
.hero__inner { position: relative; width: 100%; max-width: var(--content-max); margin: auto auto 0; padding: 0 var(--gutter) clamp(3rem, 6vw, 5.5rem); }
.hero__copy { max-width: 680px; }
.hero h1 { color: var(--mm-cream); }
.hero p.lead { color: rgba(248,241,228,0.9); }

/* cream/editorial hero (no photo) */
.hero-quiet { position: relative; padding-block: clamp(7rem, 14vw, 12rem) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-quiet__glow { position: absolute; top: -20%; right: -10%; width: 620px; height: 620px; background: radial-gradient(circle, rgba(247,147,46,0.12), transparent 65%); pointer-events: none; }

/* full-bleed CTA band over photo */
.cta-band { position: relative; overflow: hidden; min-height: 64vh; display: flex; align-items: center; }
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cta-band__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248,241,228,0.92), rgba(248,241,228,0.80)); }
.cta-band__inner { position: relative; max-width: 720px; margin: 0 auto; text-align: center; padding: clamp(3rem,7vw,6rem) var(--gutter); }

/* ---------- Image frames ---------- */
.frame { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.frame--lg { border-radius: var(--radius-xl); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.ratio-45 { aspect-ratio: 4/5; }
.ratio-11 { aspect-ratio: 1/1; }
.ratio-32 { aspect-ratio: 3/2; }

/* two-column editorial pairing */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); }
.split--text-first .split__media { order: 2; }

/* numbered method steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.2rem; }
.step__num { font-family: var(--font-display); font-size: 2rem; color: var(--mm-gold); font-weight: 500; }
.step h3 { font-size: 1.45rem; color: var(--mm-ink); margin: 0.4rem 0 0.5rem; }
.step p { font-size: var(--text-sm); line-height: 1.65; color: var(--text-body); }

/* feature / value list */
.vlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.vlist li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.vlist .tick { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1.5px solid var(--mm-gold); display: grid; place-items: center; color: var(--mm-gold-deep); margin-top: 2px; }
.vlist .tick svg { width: 13px; height: 13px; }
.vlist h4 { font-family: var(--font-display); font-size: 1.3rem; color: var(--mm-ink); margin: 0 0 0.2rem; }
.vlist p { color: var(--text-body); font-size: var(--text-sm); line-height: 1.6; }

/* eyebrow stat / pull figures */
.bigstat { font-family: var(--font-display); font-size: clamp(2.6rem,5vw,3.8rem); color: var(--mm-marigold-deep); font-weight: 500; line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--mm-linen); color: var(--mm-ink); border-top: 1px solid var(--border-hairline); padding: clamp(4rem,8vw,7rem) var(--gutter) 2.5rem; }
.footer__top { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.footer__brand { font-family: var(--font-display); font-size: 1.8rem; color: var(--mm-espresso); }
.footer__tag { color: var(--mm-stone); font-size: var(--text-sm); line-height: 1.6; max-width: 34ch; margin-top: 1rem; }
.footer__col h4 { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mm-gold-deep); font-weight: 500; margin-bottom: 1rem; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer__col a { color: var(--mm-stone); font-size: var(--text-sm); text-decoration: none; }
.footer__col a:hover { color: var(--mm-marigold-deep); }
.footer__bottom {
  max-width: var(--content-max); margin: 3.5rem auto 0; padding-top: 1.8rem;
  border-top: 1px solid var(--border-hairline);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer__bottom small { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.socials { display: flex; gap: 1.1rem; }
.socials a { color: var(--mm-stone); display: inline-flex; transition: color var(--dur-base); }
.socials a:hover { color: var(--mm-marigold-deep); }

/* generic lead paragraph */
.lead { font-size: var(--text-lead); line-height: 1.6; color: var(--mm-stone); }

/* quotes inside dark sections */
.section--forest .quote, .section--ink .quote,
.section--forest .quote__name, .section--ink .quote__name { color: var(--mm-cream); }
.section--forest .quote__role, .section--ink .quote__role { color: rgba(248,241,228,0.62); }
.section--forest .quote__mark, .section--ink .quote__mark { color: var(--mm-gold); }
.section--forest .eyebrow, .section--ink .eyebrow { color: var(--mm-gold); }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 820px; }
.faq-item { padding: 1.7rem 0; border-top: 1px solid var(--border-hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--border-hairline); }
.faq-item h3 { font-size: 1.4rem; color: var(--mm-ink); margin-bottom: 0.5rem; }
.faq-item p { color: var(--text-body); max-width: 64ch; line-height: 1.65; }

/* podcast platform row */
.platforms { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.pill-out {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-label); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mm-ink);
  background: var(--mm-ivory); border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill); padding: 0.6rem 1.1rem; text-decoration: none;
  transition: background var(--dur-base), color var(--dur-base), transform var(--dur-fast) var(--ease-out);
}
.pill-out:hover { background: var(--mm-ink); color: var(--mm-cream); transform: translateY(-1px); }
.pill-out svg { width: 15px; height: 15px; }
.section--forest .pill-out, .section--ink .pill-out { background: transparent; color: var(--mm-cream); border-color: rgba(204,167,50,0.4); }
.section--forest .pill-out:hover, .section--ink .pill-out:hover { background: var(--mm-cream); color: var(--mm-ink); }

/* video testimonial cards */
.vidgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.vidcard { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--mm-ink); text-decoration: none; }
.vidcard img { width: 100%; aspect-ratio: 16/10; object-fit: cover; opacity: 0.94; transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out); }
.vidcard:hover img { opacity: 1; transform: scale(1.04); }
.vidcard__play { position: absolute; top: 46%; left: 50%; transform: translate(-50%,-50%); width: 62px; height: 62px; border-radius: 50%; background: rgba(248,241,228,0.94); display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform var(--dur-base) var(--ease-out); }
.vidcard:hover .vidcard__play { transform: translate(-50%,-50%) scale(1.06); }
.vidcard__play svg { width: 22px; height: 22px; margin-left: 3px; color: var(--mm-ink); }
.vidcard__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem; background: linear-gradient(180deg, transparent, rgba(28,38,22,0.85)); }
.vidcard__cap .n { font-family: var(--font-label); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mm-cream); }
.vidcard__cap .r { font-size: 0.84rem; color: rgba(248,241,228,0.72); margin-top: 0.15rem; }

/* footer podcast links */
.footer__listen { margin-top: 1.6rem; }
.footer__listen .lab { font-family: var(--font-label); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mm-gold-deep); display: block; margin-bottom: 0.6rem; }
.footer__listen a { color: var(--mm-stone); font-size: var(--text-sm); text-decoration: none; }
.footer__listen a:hover { color: var(--mm-marigold-deep); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 1.25rem; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(28,38,22,0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: mmFade var(--dur-base) var(--ease-out); }
.modal__panel {
  position: relative; width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto;
  background: var(--mm-ivory); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(1.75rem, 4vw, 2.75rem);
  animation: mmRise var(--dur-base) var(--ease-out);
}
.modal__close { position: absolute; top: 0.7rem; right: 0.9rem; background: none; border: 0; font-size: 1.9rem; line-height: 1; color: var(--mm-stone); cursor: pointer; }
.modal__close:hover { color: var(--mm-ink); }
@keyframes mmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mmRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Reveal on scroll ---------- */
.reveal { transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Utility ---------- */
.glow-bg { position: relative; }
.glow-bg::before { content: ""; position: absolute; top: -25%; right: -8%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(247,147,46,0.10), transparent 65%); pointer-events: none; }
.hairline-top { border-top: 1px solid var(--border-hairline); }
.hairline-bottom { border-bottom: 1px solid var(--border-hairline); }
.tagrow { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.note { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--text-first .split__media { order: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav .btn { display: none; }
}
@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* ---------- Small phones: tighten rhythm so nothing crowds or overlaps ---------- */
@media (max-width: 600px) {
  :root { --text-hero: clamp(2.5rem, 11vw, 3.25rem); --text-display: clamp(2rem, 8.5vw, 2.6rem); }
  .hero { min-height: 88vh; padding-top: clamp(112px, 22vh, 150px); }
  .hero--short { min-height: auto; padding-bottom: 2rem; }
  .section { padding-block: clamp(3rem, 12vw, 4.5rem); }
  .btn-row { gap: 0.75rem; }
  .btn-row .btn { width: 100%; }        /* stacked, full-width, easy tap targets */
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .quote--lg blockquote { font-size: 1.5rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  /* decorative glows never affect layout on small screens */
  .hero-quiet__glow, .glow-bg::before, .section--feature::before { display: none; }
}

/* very small / older devices */
@media (max-width: 360px) {
  :root { --gutter: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .offer, .card, .arrow { transition: none !important; }
}
