/*
Theme Name: Mon Saladier — L'Édition Française
Theme URI: https://www.monsaladier.com/
Description: Thème enfant Tinysalt pour MonSaladier.com — Édition Française. Design éditorial journal/magazine. Palette crème/encre/brique, typo Playfair Display + Inter + Caveat + JetBrains Mono.
Author: Laura
Author URI: https://www.monsaladier.com/a-propos/
Template: tinysalt
Version: 1.3.0
Text Domain: mon-saladier-edition
Requires at least: 6.0
Tested up to: 6.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --cream: #F5F1E8;
  --cream-soft: #EDE6D3;
  --cream-deep: #E0D6BC;
  --ink: #1A1612;
  --ink-soft: #4A4540;
  --ink-faint: #8A857C;
  --ink-light: #C8C0B0;
  --brick: #A04848;
  --brick-deep: #7A3232;
  --brick-soft: #C26868;
  --brick-glow: rgba(160, 72, 72, 0.08);
  --dust: #C8BEB0;
  --dust-soft: #DCD4C4;
  --olive: #6B7350;
  --olive-soft: #8A9A7A;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --max-w: 1200px;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', cursive;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Subtle noise texture — static background (no fixed overlay, no repaint) */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

::selection {
  background: var(--brick);
  color: #fff;
}

::-moz-selection {
  background: var(--brick);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--cream-soft);
}

::-webkit-scrollbar-thumb {
  background: var(--ink-light);
  border-radius: 5px;
  border: 2px solid var(--cream-soft);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ink-faint);
}

:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1.2rem;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.3s var(--ease-out), text-decoration-color 0.3s var(--ease-out);
}

a:hover {
  color: var(--brick);
  text-decoration-color: var(--brick);
}

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

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}

blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  border-left: 3px solid var(--brick);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--ink-soft);
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--cream-soft);
  padding: 0.15em 0.3em;
  border-radius: 3px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

body.mse-active .site-header,
body.mse-active #masthead,
body.mse-active .site-footer,
body.mse-active #colophon,
body.mse-active .main-navigation,
body.mse-active #sticky-site-header {
  display: none !important;
}

.mse-topbar {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 8px 0;
  position: relative;
  z-index: 101;
}

.mse-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.mse-topbar-left,
.mse-topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mse-topbar-left span,
.mse-topbar-right span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mse-topbar-left span::before,
.mse-topbar-right span::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--brick-soft);
  border-radius: 50%;
  margin-right: 8px;
}

.mse-topbar-left span:first-child::before,
.mse-topbar-right span:first-child::before {
  display: none;
}

.mse-topbar a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

.mse-topbar a:hover {
  color: var(--brick-soft);
}

@media (max-width: 900px) {
  .mse-topbar-left span:nth-child(n+3),
  .mse-topbar-right span:nth-child(n+3) {
    display: none;
  }
}

@media (max-width: 720px) {
  .mse-topbar {
    display: none;
  }
}

/* ============================================================
   NAVIGATION — "La Gazette du Saladier"
   ============================================================ */

.mse-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.5s var(--ease-out),
              box-shadow 0.5s var(--ease-out),
              backdrop-filter 0.5s var(--ease-out);
}

/* Thin decorative accent line — appears on scroll */
.mse-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--olive) 0%,
    var(--olive-soft) 30%,
    var(--brick) 60%,
    var(--brick-soft) 100%
  );
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

/* Scrolled state — frosted glass */
.mse-nav.is-scrolled {
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(26, 22, 18, 0.06),
              0 4px 20px rgba(26, 22, 18, 0.04);
}

.mse-nav.is-scrolled::before {
  opacity: 1;
}

.mse-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  transition: height 0.4s var(--ease-out);
}

.mse-nav.is-scrolled .mse-nav-inner {
  height: 64px;
}

/* --- Nav links --- */
#mse-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#mse-nav-links li {
  margin: 0;
  padding: 0;
  position: relative;
}

#mse-nav-links a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  position: relative;
  transition: color 0.3s var(--ease-out),
              background 0.3s var(--ease-out);
  white-space: nowrap;
}

/* Elegant underline hover — grows from left */
#mse-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--brick);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out);
}

#mse-nav-links a:hover {
  color: var(--ink);
}

#mse-nav-links a:hover::after {
  transform: scaleX(1);
}

/* Active state — olive underline */
#mse-nav-links li.current-menu-item a,
#mse-nav-links li.current_page_item a,
#mse-nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

#mse-nav-links li.current-menu-item a::after,
#mse-nav-links li.current_page_item a::after,
#mse-nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--olive);
}

/* --- Search button (icon only) --- */
.mse-nav-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--ink-light);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-faint);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  flex-shrink: 0;
}

.mse-nav-search svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out);
}

.mse-nav-search:hover {
  border-color: var(--brick);
  color: var(--brick);
  background: var(--brick-glow);
}

.mse-nav-search:hover svg {
  transform: scale(1.1);
}

/* Hide the text label (kept for screen readers) */
.mse-nav-search-text {
  display: none;
}

/* --- Hamburger (mobile) --- */
.mse-nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 120;
}

.mse-nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: all 0.4s var(--ease-out);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mse-nav-hamburger span:nth-child(1) { top: 13px; }
.mse-nav-hamburger span:nth-child(2) { top: 19px; width: 16px; }
.mse-nav-hamburger span:nth-child(3) { top: 25px; }

/* Hamburger → X */
.mse-nav-hamburger.open span:nth-child(1) {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
}

.mse-nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.mse-nav-hamburger.open span:nth-child(3) {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
}

/* --- Mobile overlay backdrop --- */
#mse-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(26, 22, 18, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}

#mse-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* --- Mobile slide-in panel --- */
@media (max-width: 900px) {
  .mse-nav-hamburger {
    display: flex;
  }

  #mse-nav-links:not(.open) {
    display: none;
  }

  #mse-nav-links.open {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, 85vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 80px 48px 48px;
    background: var(--cream);
    z-index: 110;
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(26, 22, 18, 0.12);
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease-out);
  }

  #mse-nav-links.open.visible {
    transform: translateX(0);
    opacity: 1;
  }

  /* Decorative top gradient */
  #mse-nav-links.open::before {
    content: '';
    position: absolute;
    top: 0;
    left: 48px;
    right: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--olive), var(--brick));
    border-radius: 0 0 2px 2px;
  }

  /* Mobile links — editorial serif */
  #mse-nav-links.open a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--ink);
    text-transform: none;
    letter-spacing: -0.01em;
    padding: 14px 0;
    border-bottom: 1px solid rgba(26, 22, 18, 0.06);
    width: 100%;
    position: relative;
    transition: color 0.3s var(--ease-out), padding-left 0.3s var(--ease-out);
  }

  #mse-nav-links.open a:hover,
  #mse-nav-links.open a:active {
    color: var(--brick);
    padding-left: 8px;
  }

  #mse-nav-links.open li.current-menu-item a,
  #mse-nav-links.open li.current_page_item a,
  #mse-nav-links.open a[aria-current="page"] {
    color: var(--brick);
    font-weight: 700;
  }

  #mse-nav-links.open li.current-menu-item a::after,
  #mse-nav-links.open li.current_page_item a::after,
  #mse-nav-links.open a[aria-current="page"]::after {
    display: none;
  }

  /* Handwritten tagline at bottom of mobile panel */
  #mse-nav-links.open::after {
    content: 'Simplicité · Équilibre · Plaisir';
    position: absolute;
    bottom: 48px;
    left: 48px;
    right: 48px;
    font-family: var(--font-hand);
    font-size: 1.1rem;
    color: var(--ink-faint);
    text-align: center;
    letter-spacing: 0.02em;
  }

  .mse-nav-search {
    width: 36px;
    height: 36px;
  }

  .mse-nav-search svg {
    width: 15px;
    height: 15px;
  }

  .mse-nav-inner {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .mse-nav-brand {
    font-size: 1.15rem;
  }

  #mse-nav-links.open {
    padding: 60px 32px 32px;
    width: 100vw;
  }

  #mse-nav-links.open a {
    font-size: 1.3rem;
  }
}

/* ============================================================
   SEARCH OVERLAY — Full-screen
   ============================================================ */
#mse-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(245, 241, 232, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 140px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

#mse-search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mse-search-inner {
  max-width: 600px;
  width: 100%;
  padding: 0 24px;
  transform: translateY(20px);
  transition: transform 0.5s var(--ease-out);
}

#mse-search-overlay.open .mse-search-inner {
  transform: translateY(0);
}

.mse-search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.mse-search-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}

.mse-search-close {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--ink-light);
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  transition: all 0.3s var(--ease-out);
}

.mse-search-close:hover {
  border-color: var(--brick);
  color: var(--brick);
}

.mse-search-close kbd {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  background: var(--cream-soft);
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid var(--ink-light);
  margin-left: 4px;
}

.mse-search-field {
  width: 100%;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  outline: none;
  border-radius: 3px;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.mse-search-field::placeholder {
  color: var(--ink-light);
}

.mse-search-field:focus {
  border-color: var(--brick);
  box-shadow: 0 0 0 3px var(--brick-glow);
}

.mse-search-hint {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-top: 14px;
  text-align: right;
}

.mse-search-hint kbd {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  background: var(--cream-soft);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--ink-light);
}

.mse-hero {
  padding: 60px 0 80px;
}

.mse-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.mse-hero-featured {
  border-top: 4px solid var(--ink);
  padding-top: 24px;
}

.mse-hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brick);
  border-bottom: 1px solid var(--brick-glow);
  padding-bottom: 8px;
  margin-bottom: 16px;
  display: inline-block;
}

.mse-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.mse-hero-title em,
.mse-hero-title i {
  font-style: italic;
  color: var(--brick);
}

.mse-hero-deck {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.mse-hero-image {
  width: 100%;
  height: 360px;
  background: var(--cream-soft);
  border: 1px solid var(--ink-light);
  border-radius: 2px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
}

.mse-hero-image::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--dust);
  border-radius: 1px;
  pointer-events: none;
  transition: border-color 0.4s var(--ease-out);
}

.mse-hero-image:hover::before {
  border-color: var(--brick-soft);
}

.mse-hero-image-emoji {
  font-size: 5rem;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.mse-hero-caption {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--ink-faint);
  text-align: right;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cream-soft);
  margin-bottom: 20px;
}

.mse-hero-byline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.mse-hero-byline-attribution {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mse-hero-byline-attribution a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

.mse-hero-byline-attribution a:hover {
  color: var(--brick);
}

.mse-hero-byline-time {
  color: var(--brick);
}

.mse-hero-byline-time::before {
  content: '·';
  margin-right: 6px;
  color: var(--ink-faint);
}

.mse-hero-excerpt {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.7;
}

.mse-hero-excerpt::first-letter {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--brick);
  float: left;
  line-height: 0.8;
  padding-right: 8px;
  padding-bottom: 4px;
  margin-top: 4px;
}

.mse-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.mse-hero-cta::after {
  content: '→';
  transition: transform 0.3s var(--ease-out);
}

.mse-hero-cta:hover {
  gap: 14px;
  color: var(--brick);
  border-color: var(--brick);
}

.mse-hero-cta:hover::after {
  transform: translateX(2px);
}

.mse-hero-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  border-top: 4px solid var(--ink);
  padding-top: 24px;
}

.mse-hero-sidebar-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brick);
  margin-bottom: 20px;
}

.mse-hero-sidebar-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-soft);
  text-decoration: none;
  color: var(--ink);
  transition: padding-left 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.mse-hero-sidebar-item:hover {
  padding-left: 8px;
  color: var(--brick);
}

.mse-hero-sidebar-item-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-faint);
  flex-shrink: 0;
  min-width: 24px;
}

.mse-hero-sidebar-item-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 1100px) {
  .mse-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mse-hero-sidebar {
    position: static;
    border-top: 4px solid var(--ink);
  }
}

@media (max-width: 720px) {
  .mse-hero {
    padding: 40px 0 60px;
  }

  .mse-hero-image {
    height: 240px;
  }

  .mse-hero-image-emoji {
    font-size: 3.5rem;
  }

  .mse-hero-title {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }

  .mse-hero-deck {
    font-size: 1rem;
  }

  .mse-hero-excerpt {
    font-size: 0.95rem;
  }
}

.mse-pullquote {
  background: var(--ink);
  color: var(--cream);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mse-pullquote-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.mse-pullquote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 30rem;
  color: var(--brick);
  opacity: 0.15;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  pointer-events: none;
}

.mse-pullquote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--cream);
  border: none;
  padding: 0;
  margin: 0 0 24px;
  line-height: 1.3;
}

.mse-pullquote cite {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-style: normal;
  color: var(--brick-soft);
}

.mse-articles {
  padding: 80px 0;
}

.mse-articles-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.mse-articles-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 16px;
  margin-bottom: 48px;
}

.mse-articles-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.mse-articles-filters {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mse-articles-filters a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-decoration: none;
  padding-bottom: 2px;
  transition: color 0.3s var(--ease-out);
  position: relative;
}

.mse-articles-filters a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brick);
  transition: width 0.3s var(--ease-out);
}

.mse-articles-filters a:hover,
.mse-articles-filters a.active {
  color: var(--brick);
}

.mse-articles-filters a.active::after {
  width: 100%;
}

.mse-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px 24px;
}

.mse-article-card {
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.5s var(--ease-out);
  display: block;
}

.mse-article-card:hover {
  transform: translateY(-4px);
}

.mse-article-card-image {
  height: 220px;
  background: var(--cream-soft);
  border: 1px solid var(--ink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.mse-article-card-image::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--dust);
  border-radius: 1px;
  pointer-events: none;
  transition: border-color 0.4s var(--ease-out);
}

.mse-article-card:hover .mse-article-card-image::before {
  border-color: var(--brick-soft);
}

.mse-article-card-emoji {
  font-size: 4.5rem;
  line-height: 1;
  filter: grayscale(1);
  transition: transform 0.5s var(--ease-out), filter 0.5s var(--ease-out);
  position: relative;
  z-index: 1;
}

.mse-article-card:hover .mse-article-card-emoji {
  transform: scale(1.15);
  filter: grayscale(0);
}

.mse-article-card-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brick);
  margin-bottom: 8px;
}

.mse-article-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.25;
  transition: color 0.3s var(--ease-out);
}

.mse-article-card:hover .mse-article-card-title {
  color: var(--brick);
}

.mse-article-card-deck {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: 1.5;
}

.mse-article-card-meta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  padding-top: 12px;
  border-top: 1px solid var(--cream-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mse-article-card-meta-readtime {
  color: var(--brick);
}

@media (max-width: 900px) {
  .mse-articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
}

@media (max-width: 720px) {
  .mse-articles {
    padding: 60px 0;
  }

  .mse-articles-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mse-articles-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .mse-article-card-image {
    height: 200px;
  }

  .mse-article-card-emoji {
    font-size: 3.5rem;
  }
}

.mse-categories {
  background: var(--cream-soft);
  padding: 80px 0;
}

.mse-categories-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.mse-categories-header {
  text-align: center;
  margin-bottom: 48px;
}

.mse-categories-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.mse-categories-header h2 em,
.mse-categories-header h2 i {
  font-style: italic;
  color: var(--brick);
}

.mse-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 320px));
  gap: 20px;
  justify-content: center;
}

.mse-category-item {
  background: var(--cream);
  padding: 0 0 24px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.mse-category-item .mse-cat-img-wrap {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.mse-category-item .mse-cat-img-wrap img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out), filter 0.4s var(--ease-out);
}

.mse-category-item:hover {
  background: var(--ink);
  color: #fff;
}

.mse-category-item:hover .mse-cat-img-wrap img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.mse-category-item-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 16px 0;
}

.mse-category-item-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brick);
  transition: color 0.4s var(--ease-out);
}

.mse-category-item:hover .mse-category-item-num {
  color: var(--brick-soft);
}

.mse-category-item-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  transition: color 0.4s var(--ease-out);
}

.mse-category-item:hover .mse-category-item-name {
  color: #fff;
}

.mse-category-item-count {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  transition: color 0.4s var(--ease-out);
}

.mse-category-item:hover .mse-category-item-count {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
  .mse-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .mse-categories {
    padding: 40px 0;
  }

  .mse-categories-header {
    margin-bottom: 32px;
  }

  .mse-categories-header h2 {
    font-size: 1.5rem;
  }

  .mse-categories-sub {
    font-size: 0.85rem;
  }

  .mse-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mse-category-item {
    padding: 0 0 20px;
  }

  .mse-category-item img {
    aspect-ratio: 4 / 3;
  }

  .mse-category-item-name {
    font-size: 1rem;
  }

  .mse-category-item-count {
    font-size: 0.55rem;
  }
}

@media (max-width: 400px) {
  .mse-categories-grid {
    grid-template-columns: 1fr;
  }
}

.mse-authors {
  padding: 80px 0;
}

.mse-authors-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.mse-authors-header {
  text-align: center;
  border-bottom: 3px double var(--ink);
  padding-bottom: 20px;
  margin-bottom: 48px;
}

.mse-authors-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.mse-authors-header h2 em,
.mse-authors-header h2 i {
  font-style: italic;
  color: var(--brick);
}

.mse-authors-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.mse-author-card {
  padding: 32px;
  background: var(--cream);
  border: 1px solid var(--ink-light);
  transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.mse-author-card:hover {
  border-color: var(--brick);
  box-shadow: 6px 6px 0 var(--brick-glow);
}

.mse-author-card-featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.mse-author-card-featured:hover {
  border-color: var(--brick);
  box-shadow: 6px 6px 0 var(--brick-glow);
}

.mse-author-card-featured .mse-author-card-name,
.mse-author-card-featured .mse-author-card-bio,
.mse-author-card-featured .mse-author-card-link {
  color: #fff;
}

.mse-author-card-featured .mse-author-card-link:hover {
  color: var(--brick-soft);
}

.mse-author-portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brick);
  flex-shrink: 0;
}

.mse-author-card-featured .mse-author-portrait {
  background: var(--brick);
  color: var(--cream);
}

.mse-author-card-role {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brick);
}

.mse-author-card-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.mse-author-card-bio {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.mse-author-card-link {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brick);
  text-decoration: none;
  border-bottom: 1px solid var(--brick);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.mse-author-card-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

@media (max-width: 1100px) {
  .mse-authors-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .mse-authors {
    padding: 60px 0;
  }

  .mse-authors-grid {
    grid-template-columns: 1fr;
  }
}

.mse-newsletter {
  padding: 80px 0;
  text-align: center;
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
  background: var(--cream-soft);
}

.mse-newsletter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.mse-newsletter-kicker {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brick);
  margin-bottom: 12px;
}

.mse-newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
}

.mse-newsletter-deck {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.mse-newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto 16px;
  border: 2px solid var(--ink);
}

.mse-newsletter-form input[type="email"] {
  flex: 1;
  padding: 16px 20px;
  background: var(--cream);
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
}

.mse-newsletter-form input[type="email"]::placeholder {
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.mse-newsletter-form button {
  padding: 16px 28px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.3s var(--ease-out);
  white-space: nowrap;
}

.mse-newsletter-form button:hover {
  background: var(--brick);
}

.mse-newsletter-fineprint {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

@media (max-width: 900px) {
  .mse-newsletter-form {
    flex-direction: column;
    border: none;
    gap: 12px;
  }

  .mse-newsletter-form input[type="email"] {
    border: 2px solid var(--ink);
    padding: 14px 18px;
  }

  .mse-newsletter-form button {
    padding: 14px 24px;
  }
}

.mse-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 60px 0 32px;
}

.mse-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.mse-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mse-footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mse-footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--cream);
  margin: 0;
}

.mse-footer-brand em,
.mse-footer-brand i {
  font-style: italic;
  color: var(--brick-soft);
}

.mse-footer-description {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.mse-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brick-soft);
  margin: 0 0 8px;
}

.mse-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: color 0.3s var(--ease-out);
  padding: 2px 0;
}

.mse-footer a:hover {
  color: var(--cream);
}

.mse-footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

/* Footer newsletter inline — MailerLite */
.mse-footer-newsletter {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mse-footer-newsletter .mailerlite-form-title,
.mse-footer-newsletter .mailerlite-form-description {
  display: none;
}
.mse-footer-newsletter .mailerlite-form-inputs {
  display: flex;
  gap: 6px;
  max-width: 320px;
}
.mse-footer-newsletter .mailerlite-form-field {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.mse-footer-newsletter .mailerlite-form-field label {
  display: none !important;
}
.mse-footer-newsletter input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.mse-footer-newsletter input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}
.mse-footer-newsletter input[type="email"]:focus {
  border-color: var(--brick-soft);
  background: rgba(255, 255, 255, 0.12);
}
.mse-footer-newsletter .mailerlite-subscribe-button-container {
  flex-shrink: 0;
}
.mse-footer-newsletter button[type="submit"] {
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--brick-soft);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s var(--ease-out);
  white-space: nowrap;
}
.mse-footer-newsletter button[type="submit"]:hover {
  background: var(--cream);
}
.mse-footer-newsletter .mailerlite-form-loader {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 10px 0;
}
.mse-footer-newsletter .mailerlite-form-response {
  display: none;
  margin-top: 8px;
}
.mse-footer-newsletter .mailerlite-form-response h4 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
}
.mse-footer-newsletter .mailerlite-form-response h4 p {
  margin: 0;
}
.mse-footer-newsletter .mailerlite-form-response h4 p span {
  color: var(--brick-soft) !important;
}

/* Back to top button */
.mse-back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.mse-back-to-top.mse-btt-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mse-back-to-top:hover {
  background: var(--brick);
  border-color: var(--brick);
}
.mse-back-to-top svg {
  display: block;
}

@media (max-width: 640px) {
  .mse-back-to-top {
    bottom: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 1024px) {
  .mse-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .mse-footer {
    padding: 40px 0 24px;
  }

  .mse-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mse-footer-bottom {
    text-align: center;
  }
}

.mse-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.mse-reveal.mse-visible {
  opacity: 1;
  transform: translateY(0);
}

.mse-d1 { transition-delay: 0.1s; }
.mse-d2 { transition-delay: 0.2s; }
.mse-d3 { transition-delay: 0.3s; }
.mse-d4 { transition-delay: 0.4s; }
.mse-d5 { transition-delay: 0.5s; }
.mse-d6 { transition-delay: 0.6s; }

/* ============================================================
   ALIASES — PHP template class aliases for CSS naming alignment
   ============================================================ */

/* Main wrapper */
.mse-main { position: relative; }

/* Topbar bullet */
.mse-topbar-bullet { color: var(--brick-soft); }

/* Nav brand */
.mse-nav-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  position: relative;
  flex-shrink: 0;
  transition: color 0.3s var(--ease-out);
}

.mse-nav-brand em {
  font-style: italic;
  color: var(--brick);
  font-weight: 600;
  transition: color 0.3s var(--ease-out);
}

/* Decorative olive dot after brand */
.mse-nav-brand::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--olive);
  border-radius: 50%;
  margin-left: 2px;
  align-self: center;
  opacity: 0.6;
  transition: opacity 0.3s var(--ease-out);
}

.mse-nav-brand:hover::after {
  opacity: 1;
}

/* Byline elements */
.mse-separator { color: var(--ink-light); }
.mse-reading { color: var(--brick); }

/* Article card image */
.mse-article-card-img {
  width: 100%;
  height: 220px;
  background: var(--cream-soft);
  border: 1px solid var(--ink-light);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}
.mse-article-card-img::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--ink-light);
  pointer-events: none;
  opacity: 0.4;
  transition: opacity 0.3s var(--ease-out);
}
.mse-article-card:hover .mse-article-card-img::after { opacity: 0; }
.mse-article-card-img .mse-emoji {
  font-size: 4.5rem;
  opacity: 0.4;
  filter: grayscale(0.3);
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}
.mse-article-card:hover .mse-article-card-img .mse-emoji {
  transform: scale(1.1);
  opacity: 0.6;
}
.mse-card-img { width: 100%; height: 100%; object-fit: cover; }

/* Emojis */
.mse-emoji { display: inline-block; }
.mse-emoji-feature {
  font-size: 7rem;
  opacity: 0.4;
  filter: grayscale(0.3);
}

/* Articles filter */
.mse-articles-filter {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.mse-articles-filter a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-left: 12px;
  padding-bottom: 2px;
  transition: all 0.3s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.mse-articles-filter a:hover,
.mse-articles-filter a.active {
  color: var(--brick);
  border-bottom-color: var(--brick);
}

/* Categories subtitle */
.mse-categories-sub {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
}

/* Category item named elements */
.mse-category-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brick);
  margin-bottom: 8px;
  font-weight: 600;
}
.mse-category-item:hover .mse-category-num { color: var(--brick-soft); }
.mse-category-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}
.mse-category-count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.mse-category-item:hover .mse-category-count { color: var(--cream-soft); }

/* Author card named elements */
.mse-author-role {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brick);
  font-weight: 600;
  margin-bottom: 8px;
}
.mse-author-card--featured .mse-author-role { color: var(--brick-soft); }
.mse-author-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.mse-author-card--featured .mse-author-name { color: var(--cream); }
.mse-author-bio {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.mse-author-card--featured .mse-author-bio { color: rgba(245, 241, 232, 0.75); }
.mse-author-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brick);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--brick);
  padding-bottom: 2px;
}
.mse-author-card--featured .mse-author-link { color: var(--brick-soft); border-bottom-color: var(--brick-soft); }
.mse-author-link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Reading time in card meta */
.mse-reading-time { color: var(--brick); }

/* Sidebar elements */
.mse-sidebar-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brick);
  margin-bottom: 16px;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--brick);
}
.mse-sidebar-list { list-style: none; }
.mse-sidebar-item {
  padding: 16px 0;
  border-bottom: 1px dotted var(--ink-light);
  cursor: pointer;
  transition: padding 0.3s var(--ease-out);
}
.mse-sidebar-item:last-child { border-bottom: none; }
.mse-sidebar-item:hover { padding-left: 8px; }
.mse-sidebar-item-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brick);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  font-style: italic;
}
.mse-sidebar-item-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 4px;
}
.mse-sidebar-item-meta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

/* Newsletter form elements */
.mse-newsletter-input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
}
.mse-newsletter-input::placeholder { color: var(--ink-faint); font-style: italic; }
.mse-newsletter-btn {
  padding: 16px 28px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s var(--ease-out);
  white-space: nowrap;
}
.mse-newsletter-btn:hover { background: var(--brick); }

/* Footer elements */
.mse-footer-brand-col {}
.mse-footer-desc {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(245, 241, 232, 0.6);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 16px;
}
.mse-footer-links {
  list-style: none;
}
.mse-footer-links li { margin-bottom: 8px; }
.mse-footer-links a {
  font-family: var(--font-body);
  color: rgba(245, 241, 232, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s var(--ease-out);
}
.mse-footer-links a:hover { color: var(--cream); }

/* Post content */
.mse-post-content p { margin-bottom: 1.25rem; }
.mse-post-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 1.5rem 0; }

/* ============================================
   V5 HOMEPAGE — Hero Split + Slideshow
   ============================================ */

/* --- Hero split layout --- */
.mse-hero-split {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--cream) 0%, #fefcf8 40%, var(--cream) 100%);
}
.mse-hero-split::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 70% 50% at 55% 40%, rgba(107,115,80,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 80% 70%, rgba(160,72,72,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.mse-hero-split::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(107,115,80,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}
.mse-hero-inner {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

/* --- Text side --- */
.mse-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}
.mse-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 28px;
  animation: mseFadeUp 0.7s ease both;
}
.mse-hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--olive);
  display: block;
}
.mse-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  font-weight: 900;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 12px;
  animation: mseFadeUp 0.7s 0.1s ease both;
}
.mse-hero-title em {
  font-style: italic;
  color: var(--olive);
}
.mse-hero-title .mse-hero-accent {
  display: inline-block;
  color: var(--brick);
}
.mse-hero-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 420px;
  margin: 20px 0 30px;
  animation: mseFadeUp 0.7s 0.2s ease both;
}
.mse-hero-ctas {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  animation: mseFadeUp 0.7s 0.3s ease both;
}
.mse-scroll-hint {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 48px;
  animation: mseFadeUp 1s 0.5s ease both;
}
.mse-scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(26,22,18,0.08);
  position: relative;
  overflow: hidden;
}
.mse-scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  height: 100%;
  width: 100%;
  background: var(--olive);
  animation: mseSlideRight 2.2s ease-in-out infinite;
}

/* --- Buttons --- */
.mse-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--olive);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 17px 34px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 28px rgba(107,115,80,0.25);
  cursor: pointer;
  border: none;
  line-height: 1.2;
}
.mse-btn-primary:hover {
  background: var(--olive-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(107,115,80,0.35);
}
.mse-btn-primary svg { display: block; flex-shrink: 0; }
.mse-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s;
}
.mse-btn-ghost:hover { color: var(--ink); }
.mse-btn-circle {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(26,22,18,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, transform 0.25s;
}
.mse-btn-ghost:hover .mse-btn-circle {
  border-color: var(--ink);
  transform: translateX(4px);
}
.mse-btn-circle svg { display: block; }

/* --- Slideshow --- */
.mse-hero-slideshow {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream-soft);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  outline: none;
}
.mse-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.mse-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
  z-index: 1;
}
.mse-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.mse-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.mse-slide-image {
  width: 100%;
  height: 100%;
  position: relative;
}
.mse-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mse-slide-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 4rem;
  background: var(--cream-soft);
}
.mse-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,22,18,0.75) 0%, rgba(26,22,18,0.1) 55%, transparent 80%);
  pointer-events: none;
}
.mse-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  z-index: 3;
}
.mse-slide-cat {
  display: inline-block;
  background: var(--brick);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.mse-slide-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 6px;
}
.mse-slide-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}
/* Slideshow dots */
.mse-slide-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.mse-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
}
.mse-slide-dot:hover { background: rgba(255,255,255,0.6); }
.mse-slide-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}
/* Slideshow arrows */
.mse-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.mse-hero-slideshow:hover .mse-slide-arrow {
  opacity: 1;
  pointer-events: auto;
}
.mse-slide-arrow:hover {
  background: var(--olive);
  border-color: var(--olive);
}
.mse-slide-arrow:active { transform: translateY(-50%) scale(0.94); }
.mse-slide-arrow--prev { left: 12px; }
.mse-slide-arrow--next { right: 12px; }
.mse-slide-arrow svg { display: block; }

/* ============================================
   V5 HOMEPAGE — Story
   ============================================ */
.mse-story {
  background: var(--cream);
  padding: 80px 0;
}
.mse-story-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}
.mse-story-image {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  flex-shrink: 0;
}
.mse-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mse-story-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
}
.mse-story-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
}
.mse-story-text p { margin-bottom: 16px; color: var(--ink-soft); }
.mse-story-highlight {
  background: var(--cream-soft);
  padding: 28px 32px;
  border-radius: 12px;
  margin: 20px 0 24px;
  position: relative;
  border-left: 3px solid var(--brick);
}
.mse-story-highlight::before {
  content: '\201C';
  position: absolute;
  top: -6px;
  left: 14px;
  font-size: 4.5rem;
  font-family: var(--font-display);
  opacity: 0.1;
  color: var(--brick);
  line-height: 1;
  pointer-events: none;
}
.mse-story-highlight p { color: var(--ink-soft); margin-bottom: 0; }
.mse-story-cta {
  color: var(--brick);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--brick-glow);
  padding-bottom: 2px;
  transition: all 0.25s;
}
.mse-story-cta:hover { color: var(--brick-deep); border-color: var(--brick-deep); }

/* ============================================
   V5 HOMEPAGE — Philosophy
   ============================================ */
.mse-philosophy {
  background: var(--cream-soft);
  padding: 80px 0;
  text-align: center;
}
.mse-phil-header {
  max-width: 600px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.mse-phil-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.mse-phil-sub {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.mse-phil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.mse-phil-card {
  background: var(--cream);
  padding: 40px 32px;
  border-radius: 16px;
  transition: all 0.3s var(--ease-out);
  border: 1px solid rgba(200,192,176,0.15);
}
.mse-phil-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}
.mse-phil-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}
.mse-phil-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.mse-phil-card:nth-child(1) .mse-phil-title { color: var(--olive); }
.mse-phil-card:nth-child(2) .mse-phil-title { color: var(--brick); }
.mse-phil-card:nth-child(3) .mse-phil-title { color: var(--brick-soft); }
.mse-phil-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--brick-glow), transparent);
  width: 50%;
  margin: 12px auto;
}
.mse-phil-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-style: italic;
}
.mse-phil-stats {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mse-phil-stat {
  background: var(--cream-deep);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--ink-soft);
  font-weight: 500;
}

/* ============================================
   V5 HOMEPAGE — Featured Recipes
   ============================================ */
.mse-featured-recipes {
  background: var(--cream);
  padding: 80px 0;
}
.mse-recipes-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.mse-recipes-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: var(--ink);
}
.mse-recipes-header p {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-top: 8px;
}
.mse-recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.mse-recipe-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s var(--ease-out);
  border: 1px solid rgba(0,0,0,0.03);
}
.mse-recipe-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.mse-recipe-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.mse-recipe-img-wrap {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.mse-recipe-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.mse-recipe-card:hover .mse-recipe-thumb { transform: scale(1.08); }
.mse-recipe-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 3rem;
  background: var(--cream-soft);
}
.mse-recipe-body {
  padding: 24px;
}
.mse-recipe-badge {
  display: inline-block;
  background: var(--cream-deep);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.mse-recipe-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}
.mse-recipe-excerpt {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.mse-recipe-meta {
  display: flex;
  gap: 8px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--ink-faint);
  padding-top: 14px;
  border-top: 1px solid var(--cream-deep);
}

/* ============================================
   V5 HOMEPAGE — Testimonials Carousel
   ============================================ */
.mse-testimonials {
  padding: 80px 0 70px;
  text-align: center;
  background: var(--cream-soft);
  overflow: hidden;
}
.mse-testimonials h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 40px;
  padding: 0 24px;
}
.mse-carousel {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 70px;
  outline: none;
}
.mse-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}
.mse-carousel-slide {
  flex: 0 0 56%;
  min-width: 0;
  padding: 0 14px;
}
.mse-testimonial-card {
  background: #fff;
  padding: 40px 32px 34px;
  border-radius: 16px;
  border: 1px solid rgba(200,192,176,0.15);
  box-shadow: 0 10px 32px rgba(0,0,0,0.03);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mse-testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 4px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--brick-soft);
  opacity: 0.2;
  pointer-events: none;
}
.mse-testimonial-text {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.55;
  font-style: italic;
  font-weight: 400;
}
.mse-testimonial-author {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--ink-faint);
  font-weight: 500;
}
.mse-testimonial-author::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brick-soft);
  margin: 0 auto 10px;
  border-radius: 2px;
}
.mse-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.mse-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(160,72,72,0.15);
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
}
.mse-carousel-dot:hover { background: rgba(160,72,72,0.35); }
.mse-carousel-dot.active {
  background: var(--brick);
  width: 24px;
  border-radius: 4px;
}
.mse-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(200,192,176,0.3);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  padding: 0;
}
.mse-carousel-arrow:hover {
  background: var(--brick);
  color: #fff;
  border-color: var(--brick);
  box-shadow: 0 6px 20px rgba(160,72,72,0.15);
}
.mse-carousel-arrow:active { transform: translateY(-50%) scale(0.94); }
.mse-carousel-arrow--prev { left: 2px; }
.mse-carousel-arrow--next { right: 2px; }
.mse-carousel-arrow svg { display: block; }

/* ============================================
   V5 HOMEPAGE — CTA Newsletter
   ============================================ */
.mse-cta {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-soft) 50%, var(--cream) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mse-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(107,115,80,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(160,72,72,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.mse-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 550px;
  margin: 0 auto;
  padding: 0 24px;
}
.mse-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
}
.mse-cta-desc {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
  line-height: 1.7;
}
.mse-cta .mse-btn-primary {
  background: var(--brick);
  box-shadow: 0 4px 20px rgba(160,72,72,0.2);
}
.mse-cta .mse-btn-primary:hover {
  background: var(--brick-deep);
  box-shadow: 0 8px 30px rgba(160,72,72,0.3);
}
.mse-cta-social {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.mse-cta-social a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 8px 20px;
  border: 1px solid rgba(200,192,176,0.3);
  border-radius: 50px;
  transition: all 0.25s;
  background: rgba(255,255,255,0.5);
}
.mse-cta-social a:hover {
  color: var(--ink);
  border-color: var(--brick);
  background: rgba(255,255,255,0.9);
}

/* === MailerLite inline form in CTA === */
.mse-cta-form {
  margin: 0 auto 12px;
  max-width: 440px;
}
.mse-cta-form .mailerlite-form {
  display: block;
}
.mse-cta-form .mailerlite-form .mailerlite-form-title,
.mse-cta-form .mailerlite-form .mailerlite-form-description {
  display: none;
}
.mse-cta-form .mailerlite-form label {
  display: none;
}
.mse-cta-form .mailerlite-form-inputs {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.mse-cta-form .mailerlite-form-field {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.mse-cta-form .mailerlite-form input[type="email"],
.mse-cta-form .mailerlite-form input[type="text"] {
  width: 100%;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(200,192,176,0.4);
  border-radius: 50px;
  outline: none;
  transition: all 0.25s;
  box-sizing: border-box;
  height: 100%;
}
.mse-cta-form .mailerlite-form input:hover {
  border-color: rgba(160,72,72,0.3);
}
.mse-cta-form .mailerlite-form input:focus {
  border-color: var(--brick);
  box-shadow: 0 0 0 3px rgba(160,72,72,0.1);
}
.mse-cta-form .mailerlite-form .mailerlite-subscribe-button-container {
  flex-shrink: 0;
}
.mse-cta-form .mailerlite-form button[type="submit"] {
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--brick);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(160,72,72,0.2);
  height: 100%;
  white-space: nowrap;
}
.mse-cta-form .mailerlite-form button[type="submit"]:hover {
  background: var(--brick-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(160,72,72,0.3);
}
.mse-cta-form .mailerlite-form .mailerlite-success {
  padding: 16px;
  text-align: center;
  background: rgba(107,115,80,0.1);
  border-radius: 12px;
  color: var(--brick-deep);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ============================================
   V5 HOMEPAGE — Animations
   ============================================ */
@keyframes mseFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes mseSlideRight {
  0%       { left: -100%; }
  60%, 100% { left: 120%; }
}

/* ============================================
   V5 HOMEPAGE — Responsive
   ============================================ */

/* Tablet landscape */
@media (max-width: 1024px) {
  .mse-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 100px 24px 40px;
  }
  .mse-hero-text { padding: 0; text-align: center; }
  .mse-hero-desc { max-width: 100%; margin: 16px auto 24px; }
  .mse-hero-ctas { justify-content: center; }
  .mse-hero-eyebrow::before { display: none; }
  .mse-scroll-hint { justify-content: center; margin-top: 32px; }
  .mse-hero-slideshow { max-width: 560px; margin: 0 auto; aspect-ratio: 16/10; }
  .mse-slide-arrow { opacity: 1; pointer-events: auto; }

  .mse-story-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .mse-story-image { width: 200px; height: 200px; margin: 0 auto; }
  .mse-story-highlight { text-align: left; }
  .mse-story-highlight::before { left: 10px; }

  .mse-phil-grid { grid-template-columns: 1fr; max-width: 480px; }

  .mse-testimonials { padding: 60px 0 50px; }
  .mse-carousel { padding: 0 50px; }
  .mse-carousel-slide { flex: 0 0 60%; padding: 0 12px; }
  .mse-testimonial-text { font-size: 0.92rem; }
}

/* Tablet portrait / large mobile */
@media (max-width: 768px) {
  .mse-hero-inner { padding: 120px 16px 32px; }
  .mse-hero-title { font-size: clamp(1.6rem, 4vw, 2rem); }
  .mse-hero-desc { font-size: 0.92rem; max-width: 100%; }
  .mse-hero-ctas { flex-direction: column; align-items: stretch; }
  .mse-btn-primary { justify-content: center; padding: 14px 24px; font-size: 0.82rem; }
  .mse-btn-ghost { justify-content: center; font-size: 0.78rem; }
  .mse-scroll-hint { display: none; }
  .mse-hero-slideshow { aspect-ratio: 4/3; max-width: 100%; }

  .mse-story { padding: 60px 0; }
  .mse-story-image { width: 180px; height: 180px; }
  .mse-story-text { font-size: 0.95rem; }

  .mse-philosophy { padding: 60px 0; }

  .mse-featured-recipes { padding: 60px 0; }
  .mse-recipes-grid { grid-template-columns: 1fr; }

  .mse-testimonials { padding: 50px 0 40px; }
  .mse-carousel { padding: 0 40px; }
  .mse-carousel-slide { flex: 0 0 68%; padding: 0 10px; }
  .mse-testimonial-card { padding: 30px 20px 26px; }
  .mse-testimonial-text { font-size: 0.88rem; }
  .mse-carousel-arrow { width: 34px; height: 34px; }

  .mse-cta { padding: 60px 0; }
  .mse-cta-social { flex-direction: column; align-items: center; }
  .mse-cta-form .mailerlite-form-inputs {
    flex-direction: column;
    gap: 10px;
  }
  .mse-cta-form .mailerlite-form button[type="submit"] {
    width: 100%;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .mse-hero-inner { padding: 100px 12px 20px; }
  .mse-hero-title { font-size: 1.4rem; }
  .mse-hero-eyebrow { font-size: 0.6rem; }
  .mse-hero-desc { font-size: 0.85rem; }
  .mse-hero-slideshow { aspect-ratio: 3/2; }

  .mse-story-image { width: 140px; height: 140px; }

  .mse-phil-card { padding: 28px 20px; }

  .mse-recipe-img-wrap { height: 180px; }

  .mse-carousel { padding: 0 16px; }
  .mse-carousel-slide { flex: 0 0 78%; padding: 0 8px; }
  .mse-testimonial-card { padding: 24px 16px 20px; }
  .mse-testimonial-card::before { font-size: 2.6rem; top: 0; left: 12px; }
  .mse-carousel-dot { width: 6px; height: 6px; }
  .mse-carousel-dot.active { width: 16px; }
}

/* Performance hints — will-change only on hover to save GPU memory */
.mse-recipe-card,
.mse-phil-card,
.mse-testimonial-card { contain: layout style paint; }
.mse-recipe-card:hover,
.mse-phil-card:hover,
.mse-testimonial-card:hover { will-change: transform; }

/* Ensure WPRM is visible on homepage */
.wprm-recipe-container { display: block !important; }

/* ============================================================
   PREFERS-REDUCED-MOTION — Respect OS accessibility setting
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .mse-reveal,
  .ms2-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .mse-hero-eyebrow,
  .mse-hero-title,
  .mse-hero-desc,
  .mse-hero-ctas,
  .mse-scroll-hint,
  .mse-hero-badge,
  .ms2-hero-name,
  .ms2-hero-content h1,
  .ms2-trust-bar,
  .ms2-hero-actions,
  .ms2-hero-visual,
  .ms2-scroll {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .mse-scroll-line::after,
  .ms2-scroll-line { animation: none !important; }
  .mse-slide { transition: none !important; }
  .mse-slide-arrow { opacity: 1; pointer-events: auto; }
  .mse-hero-slideshow:hover .mse-slide-arrow { opacity: 1; }
  .mse-article-card:hover,
  .mse-recipe-card:hover,
  .mse-phil-card:hover,
  .mse-category-item:hover,
  .ms2-card:hover,
  .ms2-stat-card:hover,
  .ms2-offer-item:hover,
  .ms2-cat-card:hover {
    transform: none !important;
  }
  .mse-article-card-image img,
  .mse-category-item img,
  .ms2-image-frame img,
  .ms2-cat-image img {
    transition: none !important;
    transform: none !important;
  }
}

/* ============================================================
   À PROPOS PAGE — ms2-* components unified into MSE design
   Uses body.mse-active prefix for specificity over inline Elementor CSS
   Design tokens converted from green palette → MSE cream/ink/brick/olive
   Font: DM Sans replaced with Inter (already loaded by MSE theme)
   ============================================================ */

/* ── Section Basics ── */
body.mse-active .ms2-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
body.mse-active .ms2-section { padding: 100px 0; }
body.mse-active .ms2-section-header {
  text-align: center;
  margin-bottom: 60px;
}
body.mse-active .ms2-section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 16px;
  position: relative;
}
body.mse-active .ms2-section-tag::before,
body.mse-active .ms2-section-tag::after {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--cream-deep);
  margin: 12px auto 0;
}
body.mse-active .ms2-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
}
body.mse-active .ms2-section-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 12px auto 0;
}

/* ── Hero ── */
body.mse-active .ms2-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(165deg, var(--cream) 0%, #fefcf8 40%, var(--cream) 100%);
}
body.mse-active .ms2-hero-botanical {
  position: absolute;
  top: 40px;
  right: 40px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
body.mse-active .ms2-hero-botanical svg { width: 200px; height: auto; }
body.mse-active .ms2-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 100vh;
  align-items: center;
  position: relative;
  z-index: 3;
}
body.mse-active .ms2-hero-content {
  padding: 60px 48px 60px 24px;
  max-width: 580px;
  justify-self: end;
}
body.mse-active .ms2-hero-name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  opacity: 0;
  animation: ms2-fade-up 0.8s 0.3s forwards;
}
body.mse-active .ms2-hero-name span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.32em;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin-top: 4px;
}
body.mse-active .ms2-hero-content h1 {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 350;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 24px;
  opacity: 0;
  animation: ms2-fade-up 0.8s 0.5s forwards;
}
body.mse-active .ms2-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  opacity: 0;
  animation: ms2-fade-up 0.8s 0.6s forwards;
}
body.mse-active .ms2-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  border: 1px solid var(--ink-light);
  border-radius: 100px;
}
body.mse-active .ms2-trust-pill svg {
  width: 12px;
  height: 12px;
  color: var(--olive);
  flex-shrink: 0;
}
body.mse-active .ms2-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: ms2-fade-up 0.8s 0.7s forwards;
}

/* ── Buttons ── */
body.mse-active .ms2-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 100px;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.2;
}
body.mse-active .ms2-btn svg {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}
body.mse-active .ms2-btn-primary {
  color: #fff;
  background: var(--brick);
  border-color: var(--brick);
  box-shadow: 0 4px 20px rgba(160, 72, 72, 0.2);
}
body.mse-active .ms2-btn-primary:hover {
  background: var(--brick-deep);
  border-color: var(--brick-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(160, 72, 72, 0.3);
}
body.mse-active .ms2-btn-outline {
  color: var(--ink-soft);
  border-color: var(--ink-light);
  background: transparent;
}
body.mse-active .ms2-btn-outline:hover {
  border-color: var(--brick-soft);
  color: var(--brick);
  transform: translateY(-2px);
}

/* ── Hero right column ── */
body.mse-active .ms2-hero-visual {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 24px 60px 0;
  opacity: 0;
  animation: ms2-fade-up 0.8s 0.4s forwards;
}
body.mse-active .ms2-hero-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}
body.mse-active .ms2-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  display: block;
}
body.mse-active .ms2-hero-frame::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1.5px solid var(--ink-light);
  border-radius: 20px;
  z-index: -1;
  pointer-events: none;
}
body.mse-active .ms2-hero-frame-accent {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-deep);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}
body.mse-active .ms2-hero-dot {
  position: absolute;
  bottom: 32px;
  left: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brick-soft);
  opacity: 0.25;
  pointer-events: none;
}
body.mse-active .ms2-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 4;
  line-height: 0;
  pointer-events: none;
}
body.mse-active .ms2-hero-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ── Scroll indicator ── */
body.mse-active .ms2-scroll {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: ms2-fade-up 0.8s 1s forwards;
}
body.mse-active .ms2-scroll span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
body.mse-active .ms2-scroll-line {
  width: 1.5px;
  height: 28px;
  background: linear-gradient(180deg, var(--ink-light), transparent);
  border-radius: 1px;
  animation: ms2-scroll-bounce 2.2s ease-in-out infinite;
}

/* ── Noise overlay: disabled — body::before in MSE theme already handles this ── */
body.mse-active .ms2-noise::before { display: none !important; }

/* ── Story section ── */
body.mse-active .ms2-story {
  background: #fff;
  padding: 100px 0;
}
body.mse-active .ms2-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
body.mse-active .ms2-image-block {
  position: relative;
  border-radius: var(--radius, 16px);
  overflow: hidden;
}
body.mse-active .ms2-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}
body.mse-active .ms2-image-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
body.mse-active .ms2-image-block:hover .ms2-image-frame img { transform: scale(1.03); }
body.mse-active .ms2-image-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(160, 72, 72, 0.04), transparent 50%);
  pointer-events: none;
}
body.mse-active .ms2-frame-border {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2.5px solid var(--cream-deep);
  border-radius: 18px;
  top: 14px;
  left: 14px;
  z-index: -1;
  pointer-events: none;
}
body.mse-active .ms2-text-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
body.mse-active .ms2-chapter-number {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--ink-light);
  opacity: 0.2;
  position: relative;
  top: -8px;
  left: -4px;
  user-select: none;
}
body.mse-active .ms2-text-block .ms2-section-tag {
  margin-bottom: 0;
}
body.mse-active .ms2-text-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 8px;
}
body.mse-active .ms2-text-block p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
body.mse-active .ms2-text-block p:last-of-type { margin-bottom: 20px; }
body.mse-active .ms2-signature {
  max-width: 120px;
  opacity: 0.7;
  margin-top: 8px;
}

/* ── Today / Stats ── */
body.mse-active .ms2-today {
  background: var(--cream-soft);
  position: relative;
  padding: 100px 0;
}
body.mse-active .ms2-today::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--cream-deep), transparent);
}
body.mse-active .ms2-today-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
body.mse-active .ms2-today-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
}
body.mse-active .ms2-today-text p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
body.mse-active .ms2-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
body.mse-active .ms2-stat-card {
  background: var(--cream);
  padding: 32px 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(200, 192, 176, 0.15);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
body.mse-active .ms2-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--brick), var(--brick-soft));
  opacity: 0.3;
}
body.mse-active .ms2-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
body.mse-active .ms2-stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--brick);
  line-height: 1;
  margin-bottom: 6px;
}
body.mse-active .ms2-stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

/* ── Philosophy cards ── */
body.mse-active .ms2-philosophy {
  background: var(--cream);
  padding: 100px 0;
}
body.mse-active .ms2-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
body.mse-active .ms2-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  border: 1px solid rgba(200, 192, 176, 0.15);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
body.mse-active .ms2-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(160, 72, 72, 0.04), transparent);
  transition: height 0.4s var(--ease-out);
}
body.mse-active .ms2-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
body.mse-active .ms2-card:hover::before { height: 100%; }
body.mse-active .ms2-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--cream-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease-out);
}
body.mse-active .ms2-card:hover .ms2-card-icon { background: var(--cream-deep); }
body.mse-active .ms2-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--brick);
}
body.mse-active .ms2-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
body.mse-active .ms2-card p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
body.mse-active .ms2-card-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
}
body.mse-active .ms2-card-footer svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
body.mse-active .ms2-card-footer span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  background: var(--cream-soft);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── Offerings grid ── */
body.mse-active .ms2-offerings {
  background: #fff;
  padding: 100px 0;
}
body.mse-active .ms2-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
body.mse-active .ms2-offer-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--cream);
  border-radius: 12px;
  transition: all 0.3s var(--ease-out);
  cursor: default;
}
body.mse-active .ms2-offer-item:hover {
  background: var(--cream-soft);
  transform: translateX(4px);
}
body.mse-active .ms2-offer-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
body.mse-active .ms2-offer-item:hover .ms2-offer-icon {
  background: var(--cream);
}
body.mse-active .ms2-offer-icon svg {
  width: 20px;
  height: 20px;
  color: var(--brick);
}
body.mse-active .ms2-offer-item span {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

/* ── Quote section ── */
body.mse-active .ms2-quote {
  background: var(--cream);
  padding: 100px 0;
  position: relative;
}
body.mse-active .ms2-quote-block {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
}
body.mse-active .ms2-quote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: var(--cream-deep);
  opacity: 0.3;
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}
body.mse-active .ms2-quote-mark svg {
  width: 80px;
  height: 80px;
}
body.mse-active .ms2-quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  position: relative;
  z-index: 1;
  border: none;
  padding: 0;
  margin: 0 0 20px;
}
body.mse-active .ms2-quote-author {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--ink-faint);
  margin-top: 16px;
}
body.mse-active .ms2-leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px auto 0;
}
body.mse-active .ms2-leaf-divider::before,
body.mse-active .ms2-leaf-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--cream-deep);
}
body.mse-active .ms2-leaf-icon {
  width: 20px;
  height: 20px;
  color: var(--olive);
  opacity: 0.5;
}

/* ── Category / Recipe cards ── */
body.mse-active .ms2-recipes {
  background: #fff;
  padding: 100px 0;
}
body.mse-active .ms2-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
body.mse-active .ms2-cat-card {
  display: block;
  background: var(--cream);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.3s var(--ease-out);
  border: 1px solid rgba(200, 192, 176, 0.1);
  text-decoration: none;
  color: inherit;
}
body.mse-active .ms2-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}
body.mse-active .ms2-cat-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}
body.mse-active .ms2-cat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
body.mse-active .ms2-cat-card:hover .ms2-cat-image img { transform: scale(1.06); }
body.mse-active .ms2-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 22, 18, 0.5), transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}
body.mse-active .ms2-cat-card:hover .ms2-cat-overlay { opacity: 1; }
body.mse-active .ms2-cat-cta {
  display: inline-block;
  padding: 10px 24px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  border: 1.5px solid #fff;
  border-radius: 50px;
  transition: all 0.3s var(--ease-out);
}
body.mse-active .ms2-cat-card:hover .ms2-cat-cta {
  background: #fff;
  color: var(--ink);
}
body.mse-active .ms2-cat-body {
  padding: 24px 24px 28px;
}
body.mse-active .ms2-cat-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
body.mse-active .ms2-cat-body p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
body.mse-active .ms2-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brick);
  transition: gap 0.3s var(--ease-out);
}
body.mse-active .ms2-cat-card:hover .ms2-cat-link { gap: 14px; }
body.mse-active .ms2-cat-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-out);
}
body.mse-active .ms2-cat-card:hover .ms2-cat-link svg { transform: translateX(3px); }

/* ── CTA section ── */
body.mse-active .ms2-cta {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-soft) 50%, var(--cream) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
body.mse-active .ms2-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 72, 72, 0.04), transparent 70%);
  pointer-events: none;
}
body.mse-active .ms2-cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 115, 80, 0.04), transparent 70%);
  pointer-events: none;
}
body.mse-active .ms2-cta-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
  padding: 0 24px;
}
body.mse-active .ms2-cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
}
body.mse-active .ms2-cta-content p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
  line-height: 1.7;
}
body.mse-active .ms2-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
body.mse-active .ms2-cta .ms2-btn-primary {
  background: var(--brick);
  border-color: var(--brick);
  color: #fff;
  box-shadow: 0 4px 20px rgba(160, 72, 72, 0.2);
}
body.mse-active .ms2-cta .ms2-btn-primary:hover {
  background: var(--brick-deep);
  border-color: var(--brick-deep);
}
body.mse-active .ms2-cta .ms2-btn-outline {
  color: var(--ink-soft);
  border-color: var(--ink-light);
}
body.mse-active .ms2-cta .ms2-btn-outline:hover {
  border-color: var(--brick-soft);
  color: var(--brick);
}

/* ── Animations ── */
@keyframes ms2-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ms2-scroll-bounce {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

/* ── Scroll reveal ── */
body.mse-active .ms2-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
body.mse-active .ms2-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
body.mse-active .ms2-reveal-delay-1 { transition-delay: 0.1s; }
body.mse-active .ms2-reveal-delay-2 { transition-delay: 0.2s; }
body.mse-active .ms2-reveal-delay-3 { transition-delay: 0.3s; }
body.mse-active .ms2-reveal-delay-4 { transition-delay: 0.45s; }

/* ── Stat counter animation ── */
body.mse-active .ms2-stat-number {
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
body.mse-active .ms2-stat-card.is-visible .ms2-stat-number {
  opacity: 1;
}

/* ── Responsive: 1100px ── */
@media (max-width: 1100px) {
  body.mse-active .ms2-section { padding: 80px 0; }
  body.mse-active .ms2-split { gap: 44px; }
  body.mse-active .ms2-today-inner { gap: 40px; }
  body.mse-active .ms2-image-frame img { height: 480px; }
  body.mse-active .ms2-hero-content { padding: 40px 36px 40px 24px; }
}

/* ── Responsive: 900px ── */
@media (max-width: 900px) {
  body.mse-active .ms2-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  body.mse-active .ms2-image-block { order: -1; }
  body.mse-active .ms2-image-frame img { height: 400px; }
  body.mse-active .ms2-frame-border { display: none; }
  body.mse-active .ms2-chapter-number { font-size: 5rem; top: -32px; left: 0; }
  body.mse-active .ms2-today-inner { grid-template-columns: 1fr; gap: 40px; }
  body.mse-active .ms2-cards { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
  body.mse-active .ms2-offer-grid { grid-template-columns: 1fr 1fr; }
  body.mse-active .ms2-cat-grid { grid-template-columns: repeat(2, 1fr); }
  body.mse-active .ms2-hero-inner { grid-template-columns: 1fr; min-height: auto; }
  body.mse-active .ms2-hero { min-height: auto; }
  body.mse-active .ms2-hero-content {
    padding: 40px 24px 20px;
    max-width: 100%;
    justify-self: center;
    text-align: center;
  }
  body.mse-active .ms2-hero-content h1 { max-width: 100%; }
  body.mse-active .ms2-hero-actions { justify-content: center; }
  body.mse-active .ms2-trust-bar { justify-content: center; }
  body.mse-active .ms2-hero-visual {
    height: auto;
    padding: 0 24px 40px;
    justify-content: center;
  }
  body.mse-active .ms2-hero-frame { max-width: 340px; }
  body.mse-active .ms2-hero-frame-accent { display: none; }
  body.mse-active .ms2-hero-dot { display: none; }
  body.mse-active .ms2-hero-botanical { display: none; }
  body.mse-active .ms2-stats-grid { gap: 14px; }
  body.mse-active .ms2-stat-card { padding: 28px 16px; }
  body.mse-active .ms2-stat-number { font-size: 2.4rem; }
  body.mse-active .ms2-section { padding: 72px 0; }
  body.mse-active .ms2-container { padding: 0 20px; }
  body.mse-active .ms2-section-header { margin-bottom: 44px; }
  body.mse-active .ms2-section-header h2 { font-size: 1.8rem; }
}

/* ── Responsive: 768px ── */
@media (max-width: 768px) {
  body.mse-active .ms2-hero-content { padding: 80px 20px 10px; text-align: center; }
  body.mse-active .ms2-hero-name {
    font-size: clamp(3rem, 12vw, 4.5rem);
    text-align: center;
  }
  body.mse-active .ms2-hero-name span { font-size: 0.35em; }
  body.mse-active .ms2-hero-content h1 { font-size: 0.95rem; }
  body.mse-active .ms2-hero-actions { flex-direction: column; align-items: center; }
  body.mse-active .ms2-hero-actions .ms2-btn { width: 100%; justify-content: center; }
  body.mse-active .ms2-trust-bar { flex-direction: column; align-items: center; }
  body.mse-active .ms2-hero-wave svg { height: 30px; }
  body.mse-active .ms2-scroll { bottom: 32px; }
  body.mse-active .ms2-image-frame img { height: 280px; }
  body.mse-active .ms2-chapter-number { font-size: 4rem; top: -24px; }
  body.mse-active .ms2-text-block h2 { font-size: 1.5rem; }
  body.mse-active .ms2-today-inner { gap: 28px; }
  body.mse-active .ms2-today-text h2 { font-size: 1.5rem; }
  body.mse-active .ms2-today-text p { font-size: 0.92rem; margin-bottom: 16px; }
  body.mse-active .ms2-stats-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; gap: 12px; }
  body.mse-active .ms2-stat-card { padding: 24px 16px; }
  body.mse-active .ms2-signature { max-width: 100px; }
  body.mse-active .ms2-cards { gap: 20px; }
  body.mse-active .ms2-card { padding: 36px 24px; }
  body.mse-active .ms2-offer-grid { grid-template-columns: 1fr; }
  body.mse-active .ms2-cat-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  body.mse-active .ms2-quote-block blockquote { font-size: 1.3rem; }
  body.mse-active .ms2-cta-content h2 { font-size: 1.6rem; }
  body.mse-active .ms2-cta-buttons { flex-direction: column; align-items: center; }
  body.mse-active .ms2-cta-buttons .ms2-btn { width: 100%; justify-content: center; }
  body.mse-active .ms2-leaf-divider::before,
  body.mse-active .ms2-leaf-divider::after { width: 32px; }
}

/* ── Responsive: 600px ── */
@media (max-width: 600px) {
  body.mse-active .ms2-section { padding: 60px 0; }
  body.mse-active .ms2-hero { min-height: auto; }
  body.mse-active .ms2-hero-inner { min-height: auto; }
  body.mse-active .ms2-hero-name { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  body.mse-active .ms2-hero-frame { max-width: 280px; }
  body.mse-active .ms2-section-header h2 { font-size: 1.5rem; }
  body.mse-active .ms2-section-header { margin-bottom: 32px; }
  body.mse-active .ms2-image-frame img { height: 240px; }
  body.mse-active .ms2-text-block h2 { font-size: 1.3rem; }
  body.mse-active .ms2-stat-number { font-size: 2rem; }
  body.mse-active .ms2-stat-card { padding: 20px 14px; }
  body.mse-active .ms2-card { padding: 28px 20px; }
  body.mse-active .ms2-cta-content h2 { font-size: 1.4rem; }
  body.mse-active .ms2-btn { padding: 13px 26px; font-size: 0.78rem; }
}

/* ── Responsive: 400px ── */
@media (max-width: 400px) {
  body.mse-active .ms2-hero-name { font-size: clamp(2rem, 8vw, 2.8rem); }
  body.mse-active .ms2-hero-name span { font-size: 0.38em; }
  body.mse-active .ms2-hero-frame { max-width: 220px; }
  body.mse-active .ms2-container { padding: 0 16px; }
  body.mse-active .ms2-section { padding: 48px 0; }
  body.mse-active .ms2-stat-number { font-size: 1.6rem; }
  body.mse-active .ms2-today-text h2 { font-size: 1.2rem; }
  body.mse-active .ms2-card { padding: 24px 16px; }
  body.mse-active .ms2-cat-image { height: 180px; }
}

/* ============================================================
   SIDEBAR — Content + Sidebar flex layout (single & page)
   ============================================================ */

/* Container for the full-width single/page layout */
.mse-single-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Flex row: content + sidebar side by side */
.mse-content-row {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
}

/* Main content area — keeps original ~720px readability width */
.mse-content-area {
  flex: 1;
  min-width: 0;
  max-width: 720px;
}

/* Sidebar column — fixed width, flex container for sticky */
.mse-sidebar-area {
  flex: 0 0 320px;
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
  align-self: flex-start;
}

.mse-sidebar-inner {
  width: 100%;
  /* This div wraps the widget — sticky child will stick within this */
}

/* Subtle separator between content + sidebar (cosmetic) */
.mse-sidebar-area::before {
  content: '';
  display: block;
  width: 1px;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(
    to bottom,
    var(--ink-light) 0%,
    var(--ink-light) 60%,
    transparent 100%
  );
  position: absolute;
  top: 0;
  left: -1px;
  opacity: 0.15;
  pointer-events: none;
}

/* Sidebar widget container (from register_sidebar) */
.mse-sidebar-widget {
  margin-bottom: 0;
}

.mse-sidebar-widget-title {
  display: none; /* Widget uses its own header */
}

/* ── Responsive: stack on mobile/tablet ── */
@media (max-width: 1100px) {
  .mse-content-row {
    gap: 32px;
  }
  .mse-sidebar-area {
    flex: 0 0 300px;
    width: 300px;
  }
  .mse-sidebar-area::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .mse-content-row {
    flex-direction: column;
    gap: 40px;
  }
  .mse-content-area {
    max-width: 100%;
  }
  .mse-sidebar-area {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    padding-left: 0;
    position: static;
  }
  .mse-sidebar-area::before {
    display: block;
    width: 60px;
    height: 2px;
    min-height: 0;
    background: var(--brick);
    position: static;
    margin-bottom: 24px;
    opacity: 0.4;
    border-radius: 2px;
  }
}
