/* Mega Moms website design system (2026-10). Shared by every page.
   Visual language follows the Mega Moms Portal: paper cards on ivory, soft
   champagne borders and shadows, Cormorant Garamond display type with rose
   italic accents, Inter body. Motion: everything reveals on scroll.
   Rules: no decorative dash/rule lines beside or under headings or eyebrows. */

:root {
  --mm-ivory: #fbf6f0;
  --mm-cream: #f7efe7;
  --mm-blush: #eecdc3;
  --mm-blush-soft: #f5dfd8;
  --mm-champagne: #b88a45;
  --mm-champagne-dark: #9a7236;
  --mm-gold-light: #e6cfa3;
  --mm-dark: #2f3030;
  --mm-ink: #3b3936;
  --mm-muted: #7a6a60;
  --mm-rose: #bd8f88;
  --mm-white: #fffaf5;
  --mm-paper: #fffdfa;
  --mm-line: rgba(184, 138, 69, 0.22);
  --mm-line-strong: rgba(184, 138, 69, 0.45);
  --mm-shadow: 0 18px 44px rgba(184, 138, 69, 0.1);
  --mm-shadow-lg: 0 34px 80px rgba(47, 48, 48, 0.16);
  --mm-serif: "Cormorant Garamond", Georgia, serif;
  --mm-script: "Playfair Display", Georgia, serif;
  --mm-sans: "Inter", system-ui, -apple-system, sans-serif;
  --mm-radius: 22px;
  --mm-radius-lg: 32px;
  --mm-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Type ---------- */
.mm-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mm-sans); font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--mm-champagne);
}
.mm-eyebrow .mm-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mm-display {
  font-family: var(--mm-serif); font-weight: 600; letter-spacing: -0.02em; line-height: 0.98; color: var(--mm-dark);
  font-size: clamp(44px, 7vw, 104px); margin: 0;
}
.mm-h2 { font-family: var(--mm-serif); font-weight: 600; letter-spacing: -0.015em; line-height: 1.02; color: var(--mm-dark); font-size: clamp(36px, 4.6vw, 68px); margin: 0; }
.mm-h3 { font-family: var(--mm-serif); font-weight: 600; line-height: 1.1; color: var(--mm-dark); font-size: clamp(24px, 2.4vw, 32px); margin: 0; }
.mm-display em, .mm-h2 em, .mm-h3 em { font-family: var(--mm-script); font-style: italic; font-weight: 400; color: var(--mm-rose); }
.mm-lead { font-family: var(--mm-sans); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.8; color: var(--mm-muted); margin: 0; }
.mm-body { font-family: var(--mm-sans); font-size: 15.5px; line-height: 1.8; color: var(--mm-muted); margin: 0; }
.mm-gradient-text {
  background: linear-gradient(100deg, var(--mm-champagne) 0%, var(--mm-rose) 50%, var(--mm-champagne) 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: mm-shimmer 6s linear infinite;
}

/* ---------- Layout ---------- */
.mm-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.mm-section { position: relative; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.mm-section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.mm-bg-ivory { background: var(--mm-ivory); }
.mm-bg-white { background: var(--mm-white); }
.mm-bg-blush {
  background: radial-gradient(circle at 85% 10%, rgba(238, 205, 195, 0.75), transparent 38%),
    radial-gradient(circle at 10% 90%, rgba(230, 207, 163, 0.35), transparent 40%),
    linear-gradient(135deg, #fbf6f0 0%, #f7efe7 50%, #f5dfd8 100%);
}
.mm-bg-dark { background: radial-gradient(circle at 88% 12%, rgba(238, 205, 195, 0.18), transparent 40%), radial-gradient(circle at 8% 92%, rgba(184, 138, 69, 0.18), transparent 42%), #2b2b2b; color: var(--mm-white); }
.mm-bg-dark .mm-h2, .mm-bg-dark .mm-h3, .mm-bg-dark .mm-display { color: var(--mm-white); }
.mm-bg-dark .mm-lead, .mm-bg-dark .mm-body { color: rgba(255, 250, 245, 0.72); }
.mm-center { text-align: center; }
.mm-center .mm-lead { margin-left: auto; margin-right: auto; }
.mm-stack { display: flex; flex-direction: column; gap: 20px; }
.mm-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: center; }
.mm-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mm-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .mm-grid-3, .mm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .mm-grid-2, .mm-grid-3, .mm-grid-4 { grid-template-columns: minmax(0, 1fr); } }
.mm-grid-2 > *, .mm-grid-3 > *, .mm-grid-4 > * { min-width: 0; }

/* Soft floating color orbs for depth (decorative, behind content). */
.mm-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; pointer-events: none; z-index: 0; animation: mm-float 14s ease-in-out infinite; }
.mm-orb.blush { background: var(--mm-blush); }
.mm-orb.gold { background: var(--mm-gold-light); }
.mm-section > .mm-container { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.mm-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 16px 30px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-family: var(--mm-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none !important; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.35s var(--mm-ease), box-shadow 0.35s var(--mm-ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.mm-btn svg { transition: transform 0.35s var(--mm-ease); }
.mm-btn:hover { transform: translateY(-3px); }
.mm-btn:hover svg { transform: translateX(4px); }
.mm-btn-dark { background: var(--mm-dark); color: var(--mm-white) !important; box-shadow: 0 16px 36px rgba(47, 48, 48, 0.22); }
.mm-btn-dark:hover { box-shadow: 0 22px 46px rgba(47, 48, 48, 0.28); }
.mm-btn-gold { background: linear-gradient(120deg, #c79a55, var(--mm-champagne) 45%, #a77c3c); color: #fff !important; box-shadow: 0 16px 36px rgba(184, 138, 69, 0.32); }
.mm-btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.9s var(--mm-ease); }
.mm-btn-gold:hover::after { transform: translateX(120%); }
.mm-btn-outline { background: rgba(255, 253, 250, 0.7); border-color: var(--mm-line-strong); color: var(--mm-dark) !important; backdrop-filter: blur(8px); }
.mm-btn-outline:hover { border-color: var(--mm-champagne); color: var(--mm-champagne-dark) !important; }
.mm-btn-light { background: var(--mm-white); color: var(--mm-dark) !important; }
.mm-btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (max-width: 520px) { .mm-btn-row .mm-btn { width: 100%; } }

/* ---------- Cards ---------- */
.mm-card {
  position: relative; background: var(--mm-paper); border: 1px solid var(--mm-line); border-radius: var(--mm-radius);
  box-shadow: var(--mm-shadow); padding: clamp(24px, 3vw, 38px);
  transition: transform 0.5s var(--mm-ease), box-shadow 0.5s var(--mm-ease), border-color 0.4s;
}
.mm-card-hover:hover, [data-reveal].mm-card-hover.is-in:hover { transform: translateY(-8px); box-shadow: 0 32px 70px rgba(184, 138, 69, 0.18); border-color: var(--mm-line-strong); }
.mm-card-glass { background: rgba(255, 253, 250, 0.62); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: rgba(255, 255, 255, 0.7); }
.mm-card-dark { background: linear-gradient(160deg, #34302d, #2b2b2b); border-color: rgba(184, 138, 69, 0.35); color: var(--mm-white); }
.mm-icon { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--mm-blush-soft), #fff); color: var(--mm-champagne-dark); border: 1px solid var(--mm-line); }
.mm-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 253, 250, 0.7); border: 1px solid var(--mm-line); font-family: var(--mm-sans); font-size: 12px; font-weight: 600; color: var(--mm-ink); }
.mm-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--mm-radius-lg); display: block; }
.mm-frame { position: relative; border-radius: var(--mm-radius-lg); overflow: hidden; box-shadow: var(--mm-shadow-lg); }

/* Infinite marquee (logos, testimonials, words). Duplicate the track content once. */
.mm-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mm-marquee-track { display: flex; gap: 48px; width: max-content; animation: mm-marquee 38s linear infinite; }
.mm-marquee:hover .mm-marquee-track { animation-play-state: paused; }

/* Forms */
.mm-field { display: flex; flex-direction: column; gap: 8px; }
.mm-label { font-family: var(--mm-sans); font-size: 12px; font-weight: 600; color: var(--mm-ink); }
.mm-input, .mm-select, .mm-textarea {
  width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--mm-line-strong);
  background: #fff; color: var(--mm-dark); font: 15px var(--mm-sans); outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.mm-textarea { min-height: 130px; resize: vertical; }
.mm-input:focus, .mm-select:focus, .mm-textarea:focus { border-color: var(--mm-champagne); box-shadow: 0 0 0 4px rgba(184, 138, 69, 0.14); }
.mm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Motion ----------
   Add data-reveal to any element ("up" default, "fade", "left", "right", "scale", "blur", "mask").
   data-reveal-delay="200" (ms) or put data-stagger on a parent to cascade its children.
   mm.js adds .is-in when the element scrolls into view. */
[data-reveal] { opacity: 0; transition: opacity 1.1s var(--mm-ease), transform 1.1s var(--mm-ease), filter 1.1s var(--mm-ease), clip-path 1.3s var(--mm-ease); will-change: opacity, transform; }
[data-reveal=""], [data-reveal="up"] { transform: translateY(48px); }
[data-reveal="left"] { transform: translateX(-56px); }
[data-reveal="right"] { transform: translateX(56px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="blur"] { filter: blur(14px); transform: translateY(20px); }
[data-reveal="mask"] { opacity: 1; clip-path: inset(100% 0 0 0 round 24px); transform: scale(1.06); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
/* Only the mask reveal clips (to the rounded frame); other reveals never clip text or shadows. */
[data-reveal="mask"].is-in { clip-path: inset(0 0 0 0 round 24px); }
/* Words of a heading rise one by one: add data-split to the heading. */
.mm-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; }
.mm-word > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--mm-ease); }
.is-in .mm-word > span, .mm-word.is-in > span { transform: none; }
/* Subtle parallax: data-parallax="0.15" (fraction of scroll). */
[data-parallax] { will-change: transform; }

@keyframes mm-float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -24px) scale(1.06); } }
@keyframes mm-marquee { to { transform: translateX(-50%); } }
@keyframes mm-shimmer { to { background-position: 200% center; } }
@keyframes mm-pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(184, 138, 69, 0.45); } 100% { box-shadow: 0 0 0 18px rgba(184, 138, 69, 0); } }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .mm-word > span { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; transition: none !important; }
  .mm-orb, .mm-marquee-track, .mm-gradient-text { animation: none !important; }
}

/* =====================================================================
   Blog (2026-10). Post cards (generated by build.py: post_card, post_featured),
   the shared newsletter CTA used on /blog and every article, and .mm-prose
   article typography. Additive only: nothing above is changed.
   ===================================================================== */

/* ---------- Post grid ---------- */
.mm-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.mm-post-grid > * { min-width: 0; }
@media (max-width: 980px) { .mm-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mm-post-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
/* Centered variant for short lists ("Keep reading" with 1 or 2 posts). */
.mm-post-grid-center { display: flex; flex-wrap: wrap; justify-content: center; }
.mm-post-grid-center > * { flex: 0 1 calc((100% - 2 * clamp(20px, 2.4vw, 32px)) / 3); height: auto; }
@media (max-width: 980px) { .mm-post-grid-center > * { flex-basis: calc((100% - clamp(20px, 2.4vw, 32px)) / 2); } }
@media (max-width: 640px) { .mm-post-grid-center > * { flex-basis: 100%; } }

/* ---------- Post card ---------- */
.mm-post-card {
  display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden;
  color: inherit; text-decoration: none !important;
}
.mm-post-card-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--mm-cream); }
.mm-post-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.4s var(--mm-ease); }
.mm-post-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(47, 48, 48, 0.16)); opacity: 0; transition: opacity 0.6s var(--mm-ease); pointer-events: none; }
.mm-post-card:hover .mm-post-card-media img { transform: scale(1.07); }
.mm-post-card:hover .mm-post-card-media::after { opacity: 1; }
.mm-post-card-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: clamp(22px, 2.4vw, 30px) clamp(22px, 2.4vw, 30px) clamp(24px, 2.6vw, 32px); }
.mm-post-card-meta { display: block; font-family: var(--mm-sans); font-size: 10.5px; font-weight: 700; line-height: 1.4; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mm-champagne); }
.mm-post-card-title { display: block; font-family: var(--mm-serif); font-size: clamp(24px, 2vw, 29px); font-weight: 600; line-height: 1.1; letter-spacing: -0.005em; color: var(--mm-dark); transition: color 0.3s; }
.mm-post-card:hover .mm-post-card-title { color: var(--mm-champagne-dark); }
.mm-post-card-excerpt {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
  font-family: var(--mm-sans); font-size: 14.5px; line-height: 1.7; color: var(--mm-muted);
}
.mm-post-card-more {
  display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px;
  font-family: var(--mm-sans); font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mm-champagne-dark);
}
.mm-post-card-more::after {
  content: ""; width: 14px; height: 14px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.5s var(--mm-ease);
}
.mm-post-card:hover .mm-post-card-more::after, .mm-post-featured:hover .mm-post-card-more::after { transform: translateX(5px); }
.mm-post-card:focus-visible, .mm-post-featured:focus-visible { outline: 2px solid var(--mm-champagne); outline-offset: 4px; }

/* ---------- Featured post (newest, on /blog) ---------- */
.mm-post-featured {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center;
  gap: clamp(28px, 4vw, 64px); color: inherit; text-decoration: none !important;
}
.mm-post-featured-media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--mm-radius-lg); overflow: hidden; box-shadow: var(--mm-shadow-lg); background: var(--mm-cream); }
.mm-post-featured-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--mm-ease); }
.mm-post-featured:hover .mm-post-featured-media img { transform: scale(1.05); }
.mm-post-featured-body {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: clamp(28px, 3.4vw, 46px); border-radius: var(--mm-radius-lg);
  background: rgba(255, 253, 250, 0.72); border: 1px solid var(--mm-line); box-shadow: var(--mm-shadow);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  margin-left: clamp(-140px, -9vw, -60px);
}
.mm-post-featured-label {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--mm-blush-soft), #fff); border: 1px solid var(--mm-line);
  font-family: var(--mm-script); font-style: italic; font-size: 14px; color: var(--mm-rose);
}
.mm-post-featured-title { margin: 0; font-family: var(--mm-serif); font-size: clamp(32px, 3.4vw, 50px); font-weight: 600; line-height: 1.04; letter-spacing: -0.015em; color: var(--mm-dark); transition: color 0.3s; }
.mm-post-featured:hover .mm-post-featured-title { color: var(--mm-champagne-dark); }
.mm-post-featured-excerpt { display: block; font-family: var(--mm-sans); font-size: 15.5px; line-height: 1.75; color: var(--mm-muted); }
.mm-post-featured-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 6px; }
.mm-post-featured-foot .mm-post-card-more { margin-top: 0; padding-top: 0; }
.mm-post-featured-date { font-family: var(--mm-sans); font-size: 13px; color: var(--mm-muted); }
@media (max-width: 900px) {
  .mm-post-featured { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mm-post-featured-body { margin: -56px 16px 0; background: rgba(255, 253, 250, 0.94); }
}
@media (max-width: 520px) {
  .mm-post-featured-body { margin: -40px 10px 0; padding: 24px 22px 26px; }
}

/* ---------- Newsletter CTA (blog index + articles) ---------- */
.mm-blog-cta {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(30px, 5vw, 68px); border-radius: var(--mm-radius-lg);
  background:
    radial-gradient(circle at 92% 6%, rgba(238, 205, 195, 0.85), transparent 42%),
    radial-gradient(circle at 4% 96%, rgba(230, 207, 163, 0.4), transparent 44%),
    var(--mm-paper);
  border: 1px solid var(--mm-line); box-shadow: var(--mm-shadow);
}
.mm-blog-cta .mm-h2 { margin: 16px 0 16px; font-size: clamp(34px, 3.8vw, 56px); }
.mm-blog-cta-from { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.mm-blog-cta-from img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 14%; border: 3px solid #fff; box-shadow: 0 8px 20px rgba(184, 138, 69, 0.2); }
.mm-blog-cta-from b { display: block; font-family: var(--mm-script); font-style: italic; font-weight: 400; font-size: 17px; color: var(--mm-dark); }
.mm-blog-cta-from small { display: block; margin-top: 2px; font-family: var(--mm-sans); font-size: 12px; color: var(--mm-muted); }
.mm-blog-cta-form { display: grid; gap: 14px; padding: clamp(22px, 3vw, 34px); border-radius: var(--mm-radius); background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 20px 50px rgba(184, 138, 69, 0.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mm-blog-cta-form[hidden] { display: none; }
.mm-blog-cta-form .mm-btn { width: 100%; }
.mm-blog-cta-form .mm-btn:disabled { opacity: 0.72; cursor: progress; transform: none; }
.mm-blog-cta-form .mm-input[aria-invalid="true"] { border-color: #b5544a; }
.mm-blog-cta-error { margin: 0; font-family: var(--mm-sans); font-size: 13px; line-height: 1.5; color: #a8483f; }
.mm-blog-cta-error:empty { display: none; }
.mm-blog-cta-fine { margin: 0; font-family: var(--mm-sans); font-size: 12px; line-height: 1.6; color: var(--mm-muted); text-align: center; }
.mm-blog-cta-done { text-align: center; padding: clamp(24px, 3vw, 36px); border-radius: var(--mm-radius); background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.9); outline: none; }
.mm-blog-cta-done .mm-icon { margin: 0 auto 16px; border-radius: 50%; animation: mm-pulse-ring 1.6s var(--mm-ease) 2; }
.mm-blog-cta-done .mm-h3 { margin-bottom: 8px; }
@media (max-width: 860px) { .mm-blog-cta { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Article typography ---------- */
.mm-prose {
  min-width: 0; max-width: 68ch; margin: 0 auto;
  font-family: var(--mm-sans); font-size: clamp(16.5px, 1.2vw, 18px); line-height: 1.85; color: var(--mm-ink);
}
.mm-prose > * { margin: 0; }
.mm-prose > * + * { margin-top: 1.35em; }
/* Gentler reveal distance for running text (mm.js adds data-reveal to each block). */
.mm-prose > [data-reveal="up"]:not(.is-in) { transform: translateY(22px); }
.mm-prose > p:first-child::first-letter {
  float: left; margin: 0.06em 0.08em 0 -0.02em; padding: 0;
  font-family: var(--mm-serif); font-size: 4.4em; font-weight: 600; line-height: 0.78; color: var(--mm-rose);
}
.mm-prose h2, .mm-prose h3, .mm-prose h4 { color: var(--mm-dark); scroll-margin-top: 110px; }
.mm-prose h2 { font-family: var(--mm-serif); font-size: clamp(31px, 3vw, 42px); font-weight: 600; line-height: 1.08; letter-spacing: -0.012em; }
.mm-prose h3 { font-family: var(--mm-serif); font-size: clamp(25px, 2.2vw, 30px); font-weight: 600; line-height: 1.15; }
.mm-prose h4 { font-family: var(--mm-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mm-champagne-dark); }
.mm-prose h2 em, .mm-prose h3 em { font-family: var(--mm-script); font-style: italic; font-weight: 400; color: var(--mm-rose); }
.mm-prose > h2 { margin-top: 1.55em; }
.mm-prose > h3 { margin-top: 1.5em; }
.mm-prose > h2 + *, .mm-prose > h3 + *, .mm-prose > h4 + * { margin-top: 0.65em; }
.mm-prose strong { font-weight: 600; color: var(--mm-dark); }
.mm-prose em { font-style: italic; }
.mm-prose a {
  color: var(--mm-champagne-dark); font-weight: 500; text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(transparent 64%, rgba(238, 205, 195, 0.75) 64%); transition: background 0.35s var(--mm-ease), color 0.3s;
}
.mm-prose a:hover { color: var(--mm-dark); background: linear-gradient(transparent 0%, rgba(238, 205, 195, 0.75) 0%); }
.mm-prose ul, .mm-prose ol { padding: 0; list-style: none; }
.mm-prose li { position: relative; padding-left: 1.9em; }
.mm-prose li + li { margin-top: 0.6em; }
.mm-prose ul > li::before { content: ""; position: absolute; left: 0.45em; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--mm-champagne), var(--mm-rose)); }
.mm-prose ol { counter-reset: mm-prose-ol; }
.mm-prose ol > li { counter-increment: mm-prose-ol; }
.mm-prose ol > li::before { content: counter(mm-prose-ol); position: absolute; left: 0; top: 0; min-width: 1.3em; font-family: var(--mm-script); font-style: italic; font-size: 1.05em; color: var(--mm-champagne); }
.mm-prose blockquote {
  position: relative; margin: 2.2em 0; padding: clamp(36px, 4.4vw, 54px) clamp(26px, 4.4vw, 58px) clamp(30px, 3.6vw, 46px);
  border-radius: 28px; overflow: hidden;
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.7), transparent 50%), linear-gradient(135deg, var(--mm-blush-soft), #f9ebe4 60%, var(--mm-cream));
  box-shadow: 0 20px 50px rgba(189, 143, 136, 0.16);
}
.mm-prose > blockquote { margin-top: 2em; }
.mm-prose > blockquote + * { margin-top: 2em; }
.mm-prose blockquote::before {
  content: "\201C"; position: absolute; top: -0.18em; left: 0.14em; pointer-events: none;
  font-family: var(--mm-serif); font-size: clamp(130px, 14vw, 190px); line-height: 1; color: var(--mm-white); opacity: 0.95;
}
.mm-prose blockquote > * { position: relative; margin: 0; }
.mm-prose blockquote > * + * { margin-top: 0.9em; }
.mm-prose blockquote p { font-family: var(--mm-script); font-style: italic; font-size: clamp(21px, 2vw, 26px); line-height: 1.5; color: var(--mm-dark); }
.mm-prose blockquote p:last-child:not(:first-child) { font-family: var(--mm-sans); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mm-champagne-dark); }
.mm-prose blockquote strong { font-weight: 500; }
.mm-prose figure { margin: 2.4em 0; }
.mm-prose > figure + * { margin-top: 2.2em; }
.mm-prose img { display: block; max-width: 100%; height: auto; border-radius: var(--mm-radius); box-shadow: var(--mm-shadow-lg); }
.mm-prose figure img { width: 100%; }
.mm-prose figcaption { margin-top: 14px; font-family: var(--mm-script); font-style: italic; font-size: 15px; line-height: 1.5; color: var(--mm-muted); text-align: center; }
@media (min-width: 1100px) { .mm-prose > figure { margin-left: -70px; margin-right: -70px; } }
.mm-prose hr {
  display: block; width: 62px; height: 12px; margin: 3em auto; border: 0;
  background: radial-gradient(circle, var(--mm-champagne) 2.4px, transparent 3px) center / 22px 12px repeat-x;
  opacity: 0.85;
}
.mm-prose code { padding: 0.15em 0.45em; border-radius: 8px; background: var(--mm-cream); border: 1px solid var(--mm-line); font-size: 0.88em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.mm-prose table {
  width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden;
  border: 1px solid var(--mm-line); border-radius: 18px; background: var(--mm-paper);
  font-size: 0.88em; line-height: 1.55; box-shadow: var(--mm-shadow);
}
.mm-prose th, .mm-prose td { padding: 14px 18px; text-align: left; vertical-align: top; }
.mm-prose th { background: #f8e8e1; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mm-ink); }
.mm-prose tr + tr td, .mm-prose tbody tr:first-child td { border-top: 1px solid var(--mm-line); }
.mm-prose thead + tbody tr:first-child td { border-top: 0; }
.mm-prose tbody tr:nth-child(even) td { background: rgba(247, 239, 231, 0.45); }
@media (max-width: 640px) {
  .mm-prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .mm-prose th, .mm-prose td { padding: 12px 14px; min-width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .mm-post-card-media img, .mm-post-featured-media img, .mm-post-card-more::after { transition: none !important; }
  .mm-post-card:hover .mm-post-card-media img, .mm-post-featured:hover .mm-post-featured-media img { transform: none; }
  .mm-blog-cta-done .mm-icon { animation: none; }
}

/* ---------- Stripe embedded checkout (MMPay.mount) ---------- */
.mm-pay { scroll-margin-top: calc(var(--nav-h, 84px) + 16px); animation: mm-pay-in 0.6s var(--mm-ease) both; }
@keyframes mm-pay-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.mm-pay-head { margin-bottom: 18px; }
.mm-pay-title { margin: 12px 0 6px; font-family: var(--mm-serif); font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; line-height: 1.15; color: var(--mm-dark); }
.mm-pay-sub { margin: 0; font-size: 15px; line-height: 1.6; color: var(--mm-ink, #5b524d); }
.mm-pay-mount { min-height: 420px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(184, 138, 69, 0.18); }
.mm-pay-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-top: 16px; }
.mm-pay-back { padding: 0; border: 0; background: none; font: 600 13px/1.4 var(--mm-sans); letter-spacing: 0.04em; color: var(--mm-champagne-dark, #9a7236); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mm-pay-back:hover { color: var(--mm-dark); }
.mm-pay-lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mm-ink, #5b524d); opacity: 0.8; }
@media (prefers-reduced-motion: reduce) { .mm-pay { animation: none; } }

/* Promo code on the order forms (MMPromo in mm.js) */
.mm-promo { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mm-promo [hidden] { display: none !important; }
.mm-promo-toggle {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; border: 0; background: none; cursor: pointer;
  font: 600 13.5px/1.4 var(--mm-sans); color: var(--mm-champagne-dark);
  text-decoration: underline; text-decoration-color: var(--mm-line-strong); text-underline-offset: 5px; transition: color 0.25s, text-decoration-color 0.25s;
}
.mm-promo-toggle:hover { color: var(--mm-dark); text-decoration-color: var(--mm-champagne); }
.mm-promo-toggle:focus-visible, .mm-promo-remove:focus-visible { outline: 2px solid var(--mm-champagne); outline-offset: 3px; border-radius: 6px; }
.mm-promo-box { display: flex; flex-direction: column; gap: 8px; animation: mm-promo-in 0.45s var(--mm-ease) both; }
.mm-promo-row { display: flex; gap: 10px; align-items: stretch; }
.mm-promo-input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.mm-promo-input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; color: #a2948a; }
/* Three classes deep so page rules like ".remm-bk-form .mm-btn { width: 100% }" don't stretch it. */
.mm-promo .mm-promo-row .mm-promo-apply { flex: 0 0 auto; width: auto; min-width: 104px; min-height: 54px; padding: 14px 24px; font-size: 11.5px; }
.mm-promo .mm-promo-row .mm-promo-apply:disabled { opacity: 0.7; cursor: wait; transform: none; }
.mm-promo-msg { margin: 0; font-size: 12.5px; line-height: 1.5; color: #a8483f; }
.mm-promo-msg:empty { display: none; }
.mm-promo.is-invalid .mm-promo-input { border-color: #b5544a; box-shadow: 0 0 0 4px rgba(181, 84, 74, 0.1); }
.mm-promo-applied {
  display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 16px; border-radius: 16px;
  background: linear-gradient(120deg, #eef5ec, #fff); border: 1px solid rgba(79, 138, 91, 0.3); animation: mm-promo-in 0.45s var(--mm-ease) both;
}
.mm-promo-icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #dfeedd; color: #4f8a5b; }
.mm-promo-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mm-promo-code { font: 700 13.5px/1.3 var(--mm-sans); letter-spacing: 0.1em; color: var(--mm-dark); overflow-wrap: anywhere; }
.mm-promo-detail { font-size: 13px; line-height: 1.45; color: var(--mm-muted); overflow-wrap: anywhere; }
.mm-promo-remove { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--mm-muted); cursor: pointer; transition: background 0.2s, color 0.2s; }
.mm-promo-remove:hover { background: rgba(47, 48, 48, 0.06); color: var(--mm-dark); }
@keyframes mm-promo-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 420px) { .mm-promo .mm-promo-row .mm-promo-apply { min-width: 0; padding: 14px 18px; } }
@media (prefers-reduced-motion: reduce) { .mm-promo-box, .mm-promo-applied { animation: none; } }

/* ---------- SUCCESS bestseller badge (links to the list) ---------- */
.mm-bestseller { display: inline-flex; align-items: center; gap: 12px; margin: 4px 0 18px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255, 253, 250, 0.85); border: 1px solid rgba(184, 138, 69, 0.35); box-shadow: 0 10px 24px rgba(184, 138, 69, 0.12); text-decoration: none !important; color: var(--mm-dark) !important; transition: transform 0.4s var(--mm-ease), box-shadow 0.4s var(--mm-ease); }
.mm-bestseller:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(184, 138, 69, 0.2); }
.mm-bestseller-rank { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #c79a55, #b88a45 50%, #a77c3c); color: #fff; font-family: var(--mm-serif); font-size: 19px; font-weight: 600; }
.mm-bestseller-text b { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.mm-bestseller-text small { display: block; margin-top: 1px; font-size: 11.5px; color: var(--mm-ink, #5b524d); }

/* ---------- One-step checkout: card fields inside the order form (MMPay.card) ---------- */
.mm-card-pay { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mm-card-pay-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; margin: 6px 0 8px; }
.mm-card-pay-label { font: 700 11px/1.4 var(--mm-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mm-muted); }
.mm-card-pay-lock { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1.4 var(--mm-sans); color: var(--mm-muted); }
.mm-card-pay-lock svg { color: var(--mm-champagne); }
.mm-card-mount { min-width: 0; opacity: 0; transition: opacity 0.4s var(--mm-ease); }
.is-ready > .mm-card-mount { opacity: 1; }
.mm-card-skel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.mm-card-skel span { height: 54px; border-radius: 14px; border: 1px solid var(--mm-line); background: linear-gradient(90deg, #fff 0%, var(--mm-white) 45%, #fff 90%); background-size: 200% 100%; animation: mm-card-shimmer 1.4s ease-in-out infinite; }
.mm-card-skel span:first-child { grid-column: 1 / -1; }
.mm-card-skel + .mm-card-mount { position: absolute; inset: 0 0 auto 0; pointer-events: none; }
@keyframes mm-card-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.mm-card-msg { margin: 0; padding: 12px 14px; border-radius: 14px; background: #fbeeec; color: #a8483f; font-size: 13.5px; line-height: 1.5; animation: mm-promo-in 0.35s var(--mm-ease) both; }
.mm-card-msg:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .mm-card-skel span, .mm-card-msg { animation: none; } }

/* ---------- Newsletter signup fields: first, last, email, phone (all required) ---------- */
.mm-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mm-news-grid .mm-field { min-width: 0; }
.mm-news-req { color: var(--mm-rose); font-weight: 700; }
@media (max-width: 420px) { .mm-news-grid { grid-template-columns: minmax(0, 1fr); } }

/* Gradient text inside a word-split heading ([data-split]) renders invisible in iOS Safari,
   because each word is wrapped and transformed. Use solid gold there instead. */
[data-split] .mm-gradient-text {
  background: none !important;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--mm-champagne-dark, #9a7236) !important;
  -webkit-text-fill-color: currentColor;
  animation: none !important;
}
