/*
Theme Name: ML Publications — Maquette
Theme URI: https://www.mlpublications.fr/
Author: Maquette préparée pour ML Publications
Description: Thème de démonstration littéraire et marchand pour Micheline Lise. Compatible avec WooCommerce.
Version: 1.5.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ml-publications
*/

:root {
  --mlp-ink: #241f1a;
  --mlp-muted: #6f665d;
  --mlp-paper: #fbf7ef;
  --mlp-cream: #f1e8d9;
  --mlp-white: #fffdf9;
  --mlp-terracotta: #a43f2e;
  --mlp-terracotta-dark: #7f2e23;
  --mlp-gold: #b58b42;
  --mlp-sage: #687568;
  --mlp-line: rgba(36, 31, 26, 0.14);
  --mlp-shadow: 0 24px 70px rgba(65, 42, 24, 0.13);
  --mlp-radius: 1.5rem;
  --mlp-display: Georgia, "Times New Roman", serif;
  --mlp-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mlp-paper);
  color: var(--mlp-ink);
  font-family: var(--mlp-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--mlp-gold);
  outline-offset: 4px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed !important;
  z-index: 9999;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.7rem 1rem;
  background: var(--mlp-white);
  color: var(--mlp-ink);
}

.mlp-container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.mlp-section {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.mlp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--mlp-terracotta);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mlp-eyebrow::before {
  width: 2.1rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.mlp-title {
  max-width: 760px;
  margin: 0;
  font-family: var(--mlp-display);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.mlp-title em {
  color: var(--mlp-terracotta);
  font-weight: inherit;
}

.mlp-lead {
  max-width: 650px;
  margin: 1.3rem 0 0;
  color: var(--mlp-muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.mlp-button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.82rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--mlp-terracotta);
  color: #fff;
  font-size: 0.87rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.mlp-button:hover {
  background: var(--mlp-terracotta-dark);
  box-shadow: 0 12px 30px rgba(164, 63, 46, 0.2);
  transform: translateY(-2px);
}

.mlp-button--outline {
  border-color: var(--mlp-line);
  background: transparent;
  color: var(--mlp-ink);
}

.mlp-button--outline:hover {
  border-color: var(--mlp-ink);
  background: var(--mlp-ink);
  color: #fff;
}

.mlp-button--light {
  background: var(--mlp-white);
  color: var(--mlp-ink);
}

/* Header */
.mlp-site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: var(--mlp-ink);
  color: #fff;
}

.mlp-header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.mlp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.mlp-brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  color: var(--mlp-gold);
  font-family: var(--mlp-display);
  font-size: 0.92rem;
}

.mlp-brand-copy {
  display: grid;
  line-height: 1.15;
}

.mlp-brand-name {
  font-family: var(--mlp-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.mlp-brand-tagline {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mlp-nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.mlp-primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.5vw, 1.65rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mlp-primary-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.mlp-primary-nav a:hover,
.mlp-primary-nav .current-menu-item > a {
  color: #fff;
}

.mlp-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.mlp-cart-count {
  display: grid;
  min-width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 50%;
  background: var(--mlp-terracotta);
  font-size: 0.68rem;
}

.mlp-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.mlp-menu-toggle span,
.mlp-menu-toggle span::before,
.mlp-menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.mlp-menu-toggle span::before { transform: translateY(-6px); }
.mlp-menu-toggle span::after { transform: translateY(5px); }

/* Hero */
.mlp-hero {
  position: relative;
  overflow: hidden;
  background: var(--mlp-ink);
  color: #fff;
}

.mlp-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 26%, rgba(181, 139, 66, 0.2), transparent 31%),
    repeating-linear-gradient(105deg, transparent 0, transparent 34px, rgba(255,255,255,0.017) 35px, transparent 36px);
  content: "";
  pointer-events: none;
}

.mlp-hero-inner {
  position: relative;
  display: grid;
  min-height: 680px;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(3rem, 6vw, 7rem);
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.mlp-hero-copy {
  position: relative;
  z-index: 2;
}

.mlp-hero .mlp-eyebrow {
  color: #d7b877;
}

.mlp-hero-title {
  max-width: 690px;
  margin: 0;
  font-family: var(--mlp-display);
  font-size: clamp(3.3rem, 7vw, 6.7rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.93;
}

.mlp-hero-title em {
  color: #d7b877;
  font-weight: inherit;
}

.mlp-hero-text {
  max-width: 580px;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.71);
  font-size: clamp(1rem, 1.5vw, 1.13rem);
}

.mlp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.mlp-hero .mlp-button--outline {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.mlp-hero .mlp-button--outline:hover {
  background: #fff;
  color: var(--mlp-ink);
}

.mlp-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  margin-top: 2.4rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.77rem;
  font-weight: 700;
}

.mlp-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.mlp-hero-meta span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mlp-gold);
  content: "";
}

.mlp-hero-visual {
  position: relative;
  min-height: 510px;
}

.mlp-hero-orbit {
  position: absolute;
  inset: 8% 2% 3% 12%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50% 44% 55% 45%;
  transform: rotate(-8deg);
}

.mlp-book-cover {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 18%;
  width: min(62%, 315px);
  border-radius: 3px 12px 12px 3px;
  box-shadow: 34px 42px 75px rgba(0, 0, 0, 0.36), -9px 7px 0 rgba(255,255,255,0.08);
  transform: rotate(4deg);
}

.mlp-quote-card {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 8%;
  width: min(260px, 68%);
  padding: 1.35rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 1rem;
  background: rgba(44, 37, 31, 0.86);
  box-shadow: 0 18px 45px rgba(0,0,0,0.22);
  backdrop-filter: blur(12px);
}

.mlp-quote-card p {
  margin: 0;
  font-family: var(--mlp-display);
  font-size: 1.08rem;
  line-height: 1.45;
}

.mlp-quote-card span {
  display: block;
  margin-top: 0.8rem;
  color: #d7b877;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Books */
.mlp-books {
  background: var(--mlp-white);
}

.mlp-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.4rem, 5vw, 4.5rem);
}

.mlp-section-link {
  flex: none;
  color: var(--mlp-terracotta);
  font-size: 0.86rem;
  font-weight: 800;
}

.mlp-featured-book {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--mlp-line);
  border-radius: var(--mlp-radius);
  background: var(--mlp-paper);
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
}

.mlp-featured-book-visual {
  display: grid;
  min-height: 540px;
  place-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    linear-gradient(145deg, rgba(164, 63, 46, 0.06), rgba(181, 139, 66, 0.15)),
    var(--mlp-cream);
}

.mlp-featured-book-visual img {
  width: min(280px, 80%);
  border-radius: 2px 9px 9px 2px;
  box-shadow: 24px 26px 50px rgba(58, 39, 25, 0.2);
  transform: rotate(-2deg);
}

.mlp-featured-book-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.2rem, 6vw, 5.6rem);
}

.mlp-kicker {
  margin: 0 0 0.8rem;
  color: var(--mlp-terracotta);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mlp-book-title {
  margin: 0;
  font-family: var(--mlp-display);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.mlp-book-description {
  max-width: 590px;
  margin: 1.4rem 0 0;
  color: var(--mlp-muted);
}

.mlp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
}

.mlp-pill {
  padding: 0.42rem 0.75rem;
  border: 1px solid var(--mlp-line);
  border-radius: 999px;
  background: var(--mlp-white);
  font-size: 0.73rem;
  font-weight: 800;
}

.mlp-book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.mlp-book-note {
  margin: 1.35rem 0 0;
  color: var(--mlp-muted);
  font-size: 0.77rem;
}

/* Services */
.mlp-services {
  position: relative;
  overflow: hidden;
}

.mlp-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.mlp-service-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid var(--mlp-line);
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.56);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.mlp-service-card:hover {
  border-color: rgba(164, 63, 46, 0.36);
  box-shadow: 0 18px 50px rgba(65, 42, 24, 0.08);
  transform: translateY(-5px);
}

.mlp-service-number {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 50%;
  background: var(--mlp-cream);
  color: var(--mlp-terracotta);
  font-family: var(--mlp-display);
  font-size: 1rem;
}

.mlp-service-card h3 {
  margin: 1.7rem 0 0;
  font-family: var(--mlp-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
}

.mlp-service-card p {
  margin: 0.9rem 0 1.5rem;
  color: var(--mlp-muted);
  font-size: 0.92rem;
}

.mlp-service-card a {
  margin-top: auto;
  color: var(--mlp-terracotta);
  font-size: 0.8rem;
  font-weight: 800;
}

/* Goodies banner */
.mlp-goodies {
  background: var(--mlp-ink);
  color: #fff;
}

.mlp-goodies-inner {
  display: grid;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
}

.mlp-goodies .mlp-eyebrow { color: #d7b877; }
.mlp-goodies .mlp-lead { color: rgba(255,255,255,0.68); }

.mlp-goodies-visual {
  position: relative;
  min-height: 340px;
}

.mlp-notebook {
  position: absolute;
  top: 10%;
  right: 14%;
  width: 230px;
  height: 285px;
  border-radius: 9px 18px 18px 9px;
  background: #b24c38;
  box-shadow: 24px 28px 55px rgba(0,0,0,0.3), inset 9px 0 rgba(0,0,0,0.09);
  transform: rotate(8deg);
}

.mlp-notebook::after {
  position: absolute;
  inset: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
  content: "ML\A PUBLICATIONS";
  font-family: var(--mlp-display);
  font-size: 1.2rem;
  line-height: 1.2;
  text-align: center;
  white-space: pre;
}

.mlp-bookmark {
  position: absolute;
  right: 9%;
  bottom: 7%;
  width: 72px;
  height: 235px;
  border-radius: 4px 4px 32px 32px;
  background: #d2b16b;
  box-shadow: 18px 20px 40px rgba(0,0,0,0.24);
  transform: rotate(-12deg);
}

.mlp-bookmark::before {
  position: absolute;
  top: 25px;
  left: 50%;
  width: 14px;
  height: 14px;
  border: 1px solid var(--mlp-ink);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

/* About */
.mlp-about {
  background: var(--mlp-white);
}

.mlp-about-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.mlp-about-visual {
  position: relative;
  padding: 0 0 2rem 2rem;
}

.mlp-about-visual::before {
  position: absolute;
  inset: 2rem 2rem 0 0;
  border-radius: 50% 50% 7rem 7rem;
  background: var(--mlp-cream);
  content: "";
}

.mlp-about-visual img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% 7rem 7rem;
  box-shadow: var(--mlp-shadow);
  object-fit: cover;
  object-position: 50% 30%;
}

.mlp-about-signature {
  margin: 1.5rem 0 0;
  color: var(--mlp-terracotta);
  font-family: var(--mlp-display);
  font-size: 1.65rem;
  font-style: italic;
}

.mlp-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.mlp-value {
  padding-top: 1rem;
  border-top: 1px solid var(--mlp-line);
}

.mlp-value strong {
  display: block;
  font-family: var(--mlp-display);
  font-size: 1.2rem;
}

.mlp-value span {
  color: var(--mlp-muted);
  font-size: 0.78rem;
}

/* Journal */
.mlp-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.mlp-article-card {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--mlp-line);
  border-radius: 1.15rem;
  background: var(--mlp-white);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mlp-article-card:hover {
  box-shadow: 0 18px 48px rgba(65, 42, 24, 0.1);
  transform: translateY(-5px);
}

.mlp-article-art {
  position: relative;
  min-height: 155px;
  overflow: hidden;
  background: var(--mlp-cream);
}

.mlp-article-art::before,
.mlp-article-art::after {
  position: absolute;
  content: "";
}

.mlp-article-art--one::before {
  inset: 25% 18% 22% 30%;
  border: 1px solid rgba(36,31,26,0.35);
  border-radius: 50%;
}

.mlp-article-art--one::after {
  top: 28%;
  left: 20%;
  width: 46%;
  height: 45%;
  border: 1px solid var(--mlp-terracotta);
  transform: rotate(-13deg);
}

.mlp-article-art--two {
  background: #d7c3a1;
}

.mlp-article-art--two::before {
  width: 110px;
  height: 110px;
  top: 24px;
  left: calc(50% - 55px);
  border-radius: 50%;
  background: var(--mlp-terracotta);
}

.mlp-article-art--two::after {
  width: 180px;
  height: 1px;
  top: 78px;
  left: calc(50% - 90px);
  background: var(--mlp-ink);
  box-shadow: 0 11px var(--mlp-ink), 0 -11px var(--mlp-ink);
}

.mlp-article-art--three {
  background: var(--mlp-sage);
}

.mlp-article-art--three::before {
  inset: 25px 34%;
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 50% 50% 0 0;
}

.mlp-article-art--three::after {
  top: 50%;
  left: 16%;
  width: 68%;
  height: 1px;
  background: rgba(255,255,255,0.7);
  transform: rotate(-8deg);
}

.mlp-article-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.mlp-article-meta {
  color: var(--mlp-terracotta);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mlp-article-copy h3 {
  margin: 0.8rem 0;
  font-family: var(--mlp-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.18;
}

.mlp-article-copy p {
  margin: 0;
  color: var(--mlp-muted);
  font-size: 0.86rem;
}

.mlp-read-more {
  margin-top: auto;
  padding-top: 1.2rem;
  font-size: 0.78rem;
  font-weight: 800;
}

/* Newsletter and footer */
.mlp-newsletter {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  background: var(--mlp-terracotta);
  color: #fff;
}

.mlp-newsletter-inner {
  display: grid;
  align-items: center;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 6rem);
}

.mlp-newsletter h2 {
  margin: 0;
  font-family: var(--mlp-display);
  font-size: clamp(2.1rem, 4vw, 3.9rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.mlp-newsletter p {
  margin: 0.8rem 0 0;
  color: rgba(255,255,255,0.75);
}

.mlp-newsletter-form {
  display: flex;
  gap: 0.65rem;
}

.mlp-newsletter-form input[type="email"] {
  min-width: 0;
  min-height: 3.55rem;
  flex: 1;
  padding: 0.8rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.mlp-newsletter-form input::placeholder { color: rgba(255,255,255,0.64); }
.mlp-newsletter-form .mlp-button { border: 0; cursor: pointer; }

.mlp-form-note,
.mlp-form-success {
  margin-top: 0.8rem !important;
  font-size: 0.73rem;
}

.mlp-form-success {
  padding: 0.7rem 1rem;
  border-radius: 0.7rem;
  background: rgba(255,255,255,0.16);
}

.mlp-site-footer {
  padding: 4.5rem 0 1.6rem;
  background: #191613;
  color: #fff;
}

.mlp-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.9fr;
  gap: 3rem;
}

.mlp-footer-intro {
  max-width: 430px;
  margin: 1.2rem 0 0;
  color: rgba(255,255,255,0.56);
  font-size: 0.88rem;
}

.mlp-footer-title {
  margin: 0 0 1rem;
  color: #d7b877;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mlp-footer-links {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mlp-footer-links a,
.mlp-footer-contact a {
  color: rgba(255,255,255,0.72);
  font-size: 0.85rem;
  text-decoration: none;
}

.mlp-footer-contact p {
  margin: 0 0 0.55rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.85rem;
}

.mlp-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.42);
  font-size: 0.72rem;
}

/* Inner WordPress pages */
.mlp-content-shell {
  min-height: 55vh;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.mlp-content-shell article {
  width: min(780px, 100%);
  margin-inline: auto;
}

.mlp-entry-title {
  margin: 0 0 1.5rem;
  font-family: var(--mlp-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.mlp-entry-content > * { max-width: 100%; }
.mlp-entry-content p { color: var(--mlp-muted); }

/* WooCommerce */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  padding: 1rem;
  border: 1px solid var(--mlp-line);
  border-radius: 1rem;
  background: var(--mlp-white);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--mlp-display);
  font-size: 1.35rem;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: 999px;
  background: var(--mlp-terracotta);
  color: #fff;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--mlp-terracotta-dark);
  color: #fff;
}

@media (max-width: 1020px) {
  .mlp-menu-toggle { display: grid; }

  .mlp-primary-nav {
    position: fixed;
    z-index: 50;
    inset: 88px 0 0;
    display: none;
    padding: 2rem;
    background: var(--mlp-ink);
  }

  .mlp-primary-nav.is-open { display: block; }
  .mlp-primary-nav ul { align-items: flex-start; flex-direction: column; gap: 1.15rem; }
  .mlp-primary-nav a { font-family: var(--mlp-display); font-size: 1.8rem; }
  .mlp-cart-link { display: none; }

  .mlp-hero-inner {
    grid-template-columns: 1fr 0.72fr;
    gap: 2rem;
  }

  .mlp-hero-title { font-size: clamp(3.5rem, 8.7vw, 5.8rem); }
  .mlp-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mlp-footer-grid { grid-template-columns: 1.1fr 0.9fr; }
  .mlp-footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .mlp-container { width: min(100% - 1.3rem, 1180px); }
  .mlp-header-inner { min-height: 76px; }
  .mlp-brand-tagline { display: none; }
  .mlp-primary-nav { inset-block-start: 76px; }

  .mlp-hero-inner,
  .mlp-featured-book,
  .mlp-goodies-inner,
  .mlp-about-grid,
  .mlp-newsletter-inner {
    grid-template-columns: 1fr;
  }

  .mlp-hero-inner { min-height: auto; padding-top: 4.2rem; }
  .mlp-hero-title { font-size: clamp(3.5rem, 16vw, 5.4rem); }
  .mlp-hero-visual { min-height: 470px; margin-top: 1.5rem; }
  .mlp-book-cover { left: 16%; width: min(59%, 270px); }
  .mlp-quote-card { right: 2%; }

  .mlp-section-head { align-items: flex-start; flex-direction: column; }
  .mlp-featured-book-visual { min-height: 430px; }
  .mlp-featured-book-copy { padding: 2.2rem 1.35rem 2.8rem; }
  .mlp-services-grid,
  .mlp-journal-grid { grid-template-columns: 1fr; }
  .mlp-service-card { min-height: 285px; }
  .mlp-goodies-visual { min-height: 310px; }
  .mlp-about-grid { gap: 3.8rem; }
  .mlp-about-visual { width: min(390px, 92%); margin-inline: auto; }
  .mlp-values { grid-template-columns: 1fr; }
  .mlp-newsletter-form { align-items: stretch; flex-direction: column; }
  .mlp-footer-grid { grid-template-columns: 1fr; }
  .mlp-footer-grid > :last-child { grid-column: auto; }
  .mlp-footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
