/* Megan Williams: styles.css
   1. TOKENS (generated from design-system/project/tokens.json; edit there, then run _src/build_css.py)
   2. COMPONENTS (design-system/project/components/bundle.css)
   3. SITE LAYOUT (_src/site-layout.css)

   BOOK ACCENT LAYER: --book-accent, --book-accent-dark, --on-book-accent, --book-accent-hover.
   Override them on a book page wrapper for each new book. Nothing else changes. */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/BodoniModa-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/BodoniModa-Italic-latin.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
:root, [data-theme="paper"] {
  --paper: #f7f3ee;
  --linen: #e8dfd3;
  --stone: #b8aea3;
  --ink: #1c1a19;
  --ink-soft: #2a2623;
  --gold: #b08d57;
  --surface: var(--paper);
  --surface-band: var(--linen);
  --text: var(--ink);
  --text-muted: #655b52;
  --text-gold: #7c5e2e;
  --rule: var(--gold);
  --border: var(--stone);
  --border-control: #655b52;
  --action: var(--ink);
  --on-action: var(--paper);
  --focus: var(--ink);
  --book-accent: #c1121f;
  --book-accent-dark: #7a1e12;
  --on-book-accent: #ffffff;
  --book-accent-hover: var(--book-accent-dark);
  --shadow-book: 0 24px 48px -16px rgba(28,26,25,0.38);
}
[data-theme="ink"] {
  --surface: var(--ink);
  --surface-band: var(--ink-soft);
  --text: var(--paper);
  --text-muted: var(--stone);
  --text-gold: #c9a46b;
  --border: #4a433d;
  --border-control: #9c9085;
  --action: var(--paper);
  --on-action: var(--ink);
  --focus: #c9a46b;
  --book-accent: #f0646a;
  --on-book-accent: var(--ink);
  --book-accent-hover: #f58a8f;
  --shadow-book: 0 24px 48px -16px rgba(0,0,0,0.7);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;
  --radius-0: 0;
  --radius-sm: 2px;
  --radius-pill: 999px;
  --container: 1200px;
  --measure: 680px;
  --rule-width: 48px;
  --font-display: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --font-sans: Manrope, "Helvetica Neue", Arial, sans-serif;
}
[data-theme] { background: var(--surface); color: var(--text); }

/* Megan Williams components. Reads the custom properties from tokens.css.
   Prefix: mw-. Book-specific colour comes only from the book-accent tokens. */

.mw-root, .mw-root * { box-sizing: border-box; }
.mw-root {
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
}

/* Eyebrow + gold rule */
.mw-eyebrow {
  display: inline-flex; flex-direction: column; gap: var(--space-3);
  font-family: var(--font-sans); font-size: 12px; line-height: 16px;
  font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-gold); margin: 0;
}
.mw-eyebrow::after { content: ""; display: block; width: var(--rule-width); height: 2px; background: var(--rule); }
.mw-eyebrow--center { align-items: center; }
.mw-rule { border: 0; height: 1px; background: var(--rule); margin: var(--space-8) 0; }
.mw-rule--short { width: var(--rule-width); height: 2px; }

/* Buttons */
.mw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: var(--space-4) var(--space-8);
  font-family: var(--font-sans); font-size: 13px; line-height: 16px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius-0); cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.mw-btn--primary { background: var(--action); color: var(--on-action); border-color: var(--action); }
.mw-btn--primary:hover { background: transparent; color: var(--text); }
.mw-btn--accent { background: var(--book-accent); color: var(--on-book-accent); border-color: var(--book-accent); }
.mw-btn--accent:hover { background: var(--book-accent-hover); border-color: var(--book-accent-hover); }
.mw-btn--outline { background: transparent; color: var(--text); border-color: var(--border-control); }
.mw-btn--outline:hover { border-color: var(--text); }
.mw-btn:focus-visible, .mw-link:focus-visible, .mw-input:focus-visible, .mw-check input:focus-visible + span::before, .mw-nav a:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 3px;
}

/* Text link: ink with a gold underline that thickens on hover */
.mw-link {
  color: var(--action); text-decoration: underline; text-decoration-color: var(--rule);
  text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 600;
}
.mw-link:hover { text-decoration-thickness: 2px; }
.mw-link--arrow { text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; letter-spacing: .02em; }
.mw-link--arrow::after { content: " \2192"; }
.mw-link--arrow:hover { border-bottom-width: 2px; }

/* Status badge (book status) and trope chips */
.mw-badge {
  display: inline-block; padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill);
  font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.mw-badge--soon { background: var(--surface); color: var(--text); border: 1px solid var(--border-control); }
.mw-badge--preorder { background: var(--book-accent); color: var(--on-book-accent); }
.mw-badge--out { background: var(--action); color: var(--on-action); }
.mw-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.mw-chip {
  padding: 6px var(--space-4); border: 1px solid var(--border-control); border-radius: var(--radius-pill);
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text);
}

/* Pull-quote */
.mw-quote { margin: 0; max-width: var(--measure); }
.mw-quote p {
  margin: 0; font-family: var(--font-display); font-style: italic; font-size: 30px; line-height: 1.35;
  color: var(--text);
}
.mw-quote p::before {
  content: "\201C"; display: block; height: 40px; margin-bottom: var(--space-2);
  font-size: 96px; line-height: 1; font-style: normal; color: var(--rule);
}
.mw-quote footer { margin-top: var(--space-4); font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.mw-quote footer::before { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--rule); vertical-align: middle; margin-right: var(--space-3); }

/* Book card */
.mw-book-card { display: flex; flex-direction: column; gap: var(--space-4); text-decoration: none; color: var(--text); max-width: 320px; }
.mw-book-card__cover {
  aspect-ratio: 2 / 3; width: 100%; background: var(--surface-band); box-shadow: var(--shadow-book);
  display: grid; place-items: center; overflow: hidden;
}
.mw-book-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mw-book-card__placeholder { padding: var(--space-6); text-align: center; font-family: var(--font-display); font-size: 26px; line-height: 1.15; }
.mw-book-card__placeholder small { display: block; margin-top: var(--space-3); font-family: var(--font-sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-gold); font-weight: 700; }
.mw-book-card__title { margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 1.2; font-weight: 500; }
.mw-book-card__series { margin: 0; font-size: 15px; line-height: 24px; color: var(--text-muted); }
.mw-book-card:hover .mw-book-card__title { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* Retailer buttons */
.mw-retailers { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.mw-retailers a {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border-control); color: var(--text); text-decoration: none;
  font-size: 14px; line-height: 20px; font-weight: 600; text-align: center;
}
.mw-retailers a:hover { border-color: var(--text); background: var(--surface-band); }
.mw-retailers a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* Forms: reader list */
.mw-field { display: flex; flex-direction: column; gap: var(--space-2); }
.mw-label { font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .06em; }
.mw-input {
  min-height: 48px; padding: var(--space-3) var(--space-4); width: 100%;
  font: inherit; font-size: 16px; color: var(--text); background: var(--surface);
  border: 1px solid var(--border-control); border-radius: var(--radius-sm);
}
.mw-input::placeholder { color: var(--text-muted); }
.mw-check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 15px; line-height: 24px; color: var(--text); cursor: pointer; }
.mw-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mw-check span::before {
  content: ""; flex: none; display: inline-block; width: 20px; height: 20px; margin: 2px var(--space-3) 0 0; vertical-align: top;
  border: 1px solid var(--border-control); border-radius: var(--radius-sm); background: var(--surface);
}
.mw-check span { display: flex; }
.mw-check input:checked + span::before { background: var(--action); border-color: var(--action); box-shadow: inset 0 0 0 4px var(--surface); }
.mw-signup { display: grid; gap: var(--space-6); max-width: 640px; }
.mw-signup__row { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .mw-signup__row { grid-template-columns: 1fr 1.4fr auto; align-items: end; } }
.mw-signup__fine { margin: 0; font-size: 13px; line-height: 20px; color: var(--text-muted); }
.mw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Header + nav */
.mw-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-4) 0; border-bottom: 1px solid var(--border); }
.mw-header__logo { display: block; line-height: 0; }
.mw-header__logo img { height: 30px; width: auto; }
.mw-logo--on-dark { display: none; }
[data-theme="ink"] .mw-logo--on-light { display: none; }
[data-theme="ink"] .mw-logo--on-dark { display: block; }
.mw-nav ul { display: flex; gap: var(--space-8); list-style: none; margin: 0; padding: 0; }
.mw-nav a { color: var(--text); text-decoration: none; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .04em; padding: var(--space-2) 0; border-bottom: 1px solid transparent; }
.mw-nav a:hover, .mw-nav a[aria-current="page"] { border-bottom-color: var(--rule); }

/* Footer */
.mw-footer { background: var(--ink); color: var(--paper); }
.mw-footer a { color: var(--paper); }
.mw-footer__meta { font-size: 13px; line-height: 20px; color: var(--stone); }
.mw-footer .mw-nav a { color: var(--paper); }
.mw-footer .mw-nav a:focus-visible { outline-color: var(--gold); }

/* ==========================================================================
   3. SITE LAYOUT (pages, bands, grids)
   ========================================================================== */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; color: var(--text); font-optical-sizing: auto; }
p { margin: 0; }
a { color: var(--action); }

.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 10; background: var(--action); color: var(--on-action); padding: var(--space-3) var(--space-4); font-weight: 700; }
.skip-link:focus { top: var(--space-4); outline: 2px solid var(--focus); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--space-6)); margin: 0 auto; padding: 0 var(--space-4); }
@media (min-width: 720px) { .container { padding: 0 var(--space-6); } }

.band { padding: var(--space-16) 0; background: var(--surface); color: var(--text); }
@media (min-width: 960px) { .band { padding: var(--space-24) 0; } }
.band--linen { background: var(--surface-band); }
.band--book {
  /* Book band: ink ground (same as the footer) so the cover pops under the ivory header.
     The red is lightened to the Ink theme's book accent with an ink label: #f0646a holds 5.6:1 on ink,
     where the paper-theme red #c1121f is only 2.79:1. */
  background: var(--ink); color: var(--paper);
  --book-accent: #f0646a; --on-book-accent: var(--ink);
  --text: var(--paper); --text-muted: var(--linen); --text-gold: var(--linen);
  --action: var(--paper); --on-action: var(--ink); --focus: var(--paper);
  --border-control: var(--linen); --surface: var(--ink);
}

/* Type helpers */
.t-display { font-size: 56px; line-height: .98; letter-spacing: -.01em; }
.t-h1 { font-size: 40px; line-height: 1.05; letter-spacing: -.01em; }
.t-h2 { font-size: 32px; line-height: 1.1; letter-spacing: -.005em; }
.t-h3 { font-size: 24px; line-height: 1.2; font-weight: 500; }
.t-lead { font-size: 18px; line-height: 28px; }
.t-muted { color: var(--text-muted); }
@media (min-width: 720px) {
  .t-display { font-size: 72px; }
  .t-h1 { font-size: 52px; }
  .t-h2 { font-size: 42px; }
  .t-h3 { font-size: 28px; }
  .t-lead { font-size: 20px; line-height: 32px; }
}
@media (min-width: 1100px) { .t-display { font-size: 88px; line-height: .95; } .t-h1 { font-size: 60px; } }
.stack > * + * { margin-top: var(--space-6); }
.stack-sm > * + * { margin-top: var(--space-3); }
.measure { max-width: var(--measure); }

/* Header */
.site-header { background: var(--surface); position: relative; z-index: 5; }
.site-header .mw-header { border-bottom: 1px solid var(--border); }
.site-header .mw-header__logo img { height: 34px; }
@media (min-width: 720px) { .site-header .mw-header__logo img { height: 44px; } }
.nav-toggle {
  display: none; min-height: 44px; padding: 0 var(--space-4); background: transparent; color: var(--text);
  border: 1px solid var(--border-control); font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.nav-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (max-width: 719px) {
  .js .nav-toggle { display: inline-flex; align-items: center; }
  .js .mw-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--border); padding: var(--space-4); }
  .js .mw-nav.is-open { display: block; }
  .js .mw-nav ul { flex-direction: column; gap: var(--space-2); }
  .js .mw-nav a { display: block; padding: var(--space-3) 0; font-size: 18px; }
  .mw-nav ul { gap: var(--space-4); }
}

/* Hero */
.hero { padding: var(--space-12) 0 var(--space-16); }
.hero__grid { display: grid; gap: var(--space-12); align-items: end; }
.hero__copy .t-lead { max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.hero__photo { position: relative; isolation: isolate; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.hero__photo::before { display: none; content: ""; position: absolute; inset: calc(-1 * var(--space-4)) var(--space-4) var(--space-4) calc(-1 * var(--space-4)); border: 1px solid var(--rule); z-index: -1; }
.hero__photo figcaption { margin-top: var(--space-3); font-size: 13px; line-height: 20px; font-weight: 500; color: var(--text-muted); }
@media (min-width: 900px) {
  .hero { padding: var(--space-24) 0; }
  .hero__grid { grid-template-columns: 7fr 5fr; gap: var(--space-16); }
  .hero__photo::before { display: block; }
}

.hero__title span { display: inline-block; }

/* Current book feature */
.feature__grid { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 900px) { .feature__grid { grid-template-columns: 5fr 7fr; gap: var(--space-16); } .cover-slot { max-width: 360px; } }
.cover-slot {
  aspect-ratio: 2 / 3; max-width: 240px; width: 100%; margin: 0 auto; position: relative;
  border: 1px solid var(--gold); display: grid; place-items: center; text-align: center; padding: var(--space-8);
  background: var(--ink); box-shadow: var(--shadow-book);
}
.cover-slot::after { content: ""; position: absolute; inset: var(--space-3); border: 1px solid rgba(176, 141, 87, .45); pointer-events: none; }
.cover-slot__title { font-family: var(--font-display); color: var(--paper); font-size: 30px; line-height: 1; }
@media (min-width: 900px) { .cover-slot__title { font-size: 40px; } }
.cover-slot__title em { display: block; font-size: 15px; font-family: var(--font-sans); font-style: normal; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #c9a46b; margin-top: var(--space-6); }
.cover-slot__date { margin-top: var(--space-4); font-size: 13px; line-height: 20px; color: var(--stone); letter-spacing: .04em; }
.book-meta { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.band--book .mw-badge--soon { background: transparent; color: var(--paper); border-color: var(--linen); }
.band--book .mw-chip { color: var(--paper); border-color: rgba(232, 223, 211, .7); }
.band--book .feature__grid { align-items: start; }
.book-cover { margin: 0 auto; width: 100%; max-width: 280px; }
.book-cover img { width: 100%; height: auto; box-shadow: var(--shadow-book); }
@media (min-width: 900px) { .book-cover { max-width: 380px; } }
.book-desc > * + * { margin-top: var(--space-4); }
/* Read more: native details, so it works without JavaScript */
.book-more summary {
  display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none;
  font-family: var(--font-sans); font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text);
}
.book-more summary span { text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.book-more summary::-webkit-details-marker { display: none; }
.book-more summary::after { content: "\2193"; margin-left: var(--space-2); }
.book-more[open] summary::after { content: "\2191"; }
.book-more summary:hover span { text-decoration-thickness: 2px; }
.book-more summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.book-more__close, .book-more[open] .book-more__open { display: none; }
.book-more[open] .book-more__close { display: inline; }
.book-more .book-desc { margin-top: var(--space-4); }
/* Buttons and retailer links on the ink ground: hover fills with paper, ember label (9.4:1) */
.band--book .mw-btn--accent:hover { background: var(--paper); border-color: var(--paper); color: var(--book-accent-dark); }
.band--book .mw-retailers a:hover { background: var(--paper); border-color: var(--paper); color: var(--book-accent-dark); }

/* Intro */
.intro__grid { display: grid; gap: var(--space-12); align-items: center; }
.intro__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 5fr 7fr; gap: var(--space-16); } }

/* Reader list */
.signup__grid { display: grid; gap: var(--space-8); }
@media (min-width: 960px) { .signup__grid { grid-template-columns: 5fr 7fr; gap: var(--space-16); align-items: start; } }
.form-status { font-size: 15px; line-height: 24px; font-weight: 600; min-height: 24px; }
.incentive[hidden] { display: none; }

/* Instagram strip */
.ig__follow { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); }
.book-release { font-size: 15px; line-height: 24px; color: var(--text-muted); }
.ig__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-6); margin-bottom: var(--space-8); }
.ig__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .ig__grid { gap: var(--space-4); } }
.ig__grid a { display: block; overflow: hidden; }
.ig__grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease, opacity .2s ease; }
.ig__grid a:hover img { transform: scale(1.03); }
.ig__tile { aspect-ratio: 4 / 5; display: flex !important; flex-direction: column; justify-content: center; align-items: center; gap: var(--space-4); padding: var(--space-6); text-align: center; text-decoration: none; }
.ig__tile--quote { background: var(--surface-band); color: var(--text); }
.ig__tile--ink { background: var(--ink); color: var(--paper); }
.ig__quote { font-family: var(--font-display); font-style: italic; font-size: clamp(13px, 2.2vw, 28px); line-height: 1.3; }
.ig__src { font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-gold); }
.ig__tile--ink .ig__src { color: #c9a46b; }
.ig__grid img.ig__mono { width: 55%; aspect-ratio: 1; transition: none; }
.ig__grid a:hover img.ig__mono { transform: none; }
@media (max-width: 719px) { .ig__tile--quote .ig__src { display: none; } .ig__src { font-size: 9px; letter-spacing: .1em; } .ig__tile { padding: var(--space-3); gap: var(--space-2); } }
.ig__grid a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
/* Instagram post cards: link cards first; real embeds replace them after a click */
.ig__grid--posts { grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 720px) { .ig__grid--posts { grid-template-columns: repeat(3, 1fr); } }
.ig__grid .ig-card__link {
  display: flex; flex-direction: column; gap: var(--space-4); height: 100%; min-height: 220px; padding: var(--space-6);
  background: var(--surface); color: var(--text); border: 1px solid var(--border); text-decoration: none;
}
.ig-card__meta { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-gold); }
.ig-card__caption { font-family: var(--font-display); font-style: italic; font-size: 24px; line-height: 1.3; }
.ig-card__cta { margin-top: auto; font-weight: 600; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
.ig-card__link:hover { border-color: var(--text); }
.ig-card__link:hover .ig-card__cta { text-decoration-thickness: 2px; }
.ig__grid--posts.is-embedded { grid-template-columns: repeat(auto-fit, minmax(min(100%, 328px), 1fr)); align-items: start; }
.ig__grid--posts.is-embedded .instagram-media { margin: 0 !important; }
.ig__load { display: none; margin-top: var(--space-8); }
.js .ig__load { display: grid; gap: var(--space-3); justify-items: start; }
.ig__note { font-size: 14px; line-height: 22px; color: var(--text-muted); max-width: var(--measure); }
.ig__load .mw-btn[hidden] { display: none; }

/* Footer */
.site-footer { padding: var(--space-16) 0 var(--space-8); }
.site-footer__grid { display: grid; gap: var(--space-12); }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
.site-footer__logo img { height: 44px; width: auto; }
.site-footer .mw-nav ul { flex-wrap: wrap; gap: var(--space-6); }
.site-footer .mw-input { background: var(--ink-soft); color: var(--paper); border-color: #9c9085; }
.site-footer .mw-input::placeholder { color: var(--stone); }
.site-footer .mw-label, .site-footer .mw-check { color: var(--paper); }
.site-footer .mw-check span::before { background: var(--ink-soft); border-color: #9c9085; }
.site-footer .mw-check input:checked + span::before { background: var(--paper); border-color: var(--paper); box-shadow: inset 0 0 0 4px var(--ink-soft); }
.site-footer .mw-btn--primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.site-footer .mw-btn--primary:hover { background: transparent; color: var(--paper); }
.site-footer .mw-btn:focus-visible, .site-footer .mw-input:focus-visible, .site-footer .mw-check input:focus-visible + span::before { outline-color: #c9a46b; }
.site-footer__mini { display: grid; gap: var(--space-4); max-width: 520px; }
.site-footer__mini-row { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 520px) { .site-footer__mini-row { grid-template-columns: 1fr auto; } }
.site-footer__mini .mw-signup__fine { color: var(--stone); } /* stone on ink 7.9:1; the default muted text is 2.6:1 here */
.site-footer__bottom { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid #4a433d; display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; }
.site-footer__bottom a { color: var(--stone); }
