/* ─────────────────────────────────────────────
   Homepage — 8-beat editorial flow.
   Visual + structure only. Foundation untouched.
   ───────────────────────────────────────────── */

/* Placeholder block — Surface tone, subtle inner Rule frame,
   centered uppercase Hanken micro-label. Replaced by real
   imagery later; markup will swap, this class will retire. */
.placeholder {
  position: relative;
  background: var(--surface);
  overflow: hidden;
  width: 100%;
}
.placeholder::before {
  content: "";
  position: absolute;
  inset: var(--space-3);
  border: 1px solid var(--rule);
  pointer-events: none;
  z-index: 1;
}
.placeholder::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.42;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}

/* ── Reveal-on-scroll ────────────────────── */
html.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms ease;
  will-change: opacity, transform;
}
html.reveal-enabled [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ── Beat scaffolding ────────────────────── */
.beat {
  padding-block: calc(var(--space-7) * 1.1);
}
.beat.ground-cream {
  padding-block: var(--space-7);
}
.beat--paper   { background: var(--paper);   }
.beat--surface { background: var(--surface); }

/* ── Nav over-hero state (home only) ─────── */
body[data-page="home"] [data-nav] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transition: background-color 280ms ease, color 280ms ease, border-color 280ms ease;
}
body[data-page="home"]:not(.is-past-hero) [data-nav] {
  background: transparent;
  color: var(--mgx-cream-text);
  border-bottom-color: transparent;
}
body[data-page="home"]:not(.is-past-hero) [data-nav] .nav__wordmark,
body[data-page="home"]:not(.is-past-hero) [data-nav] .nav__links a {
  color: var(--mgx-cream-text);
}
body[data-page="home"].is-past-hero [data-nav] {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}

/* Scrim behind over-hero nav */
body[data-page="home"] [data-nav]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.30) 0%,
    rgba(0, 0, 0, 0)    100%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 280ms ease;
}
body[data-page="home"]:not(.is-past-hero) [data-nav]::before {
  opacity: 0;
}
body[data-page="home"] [data-nav] .nav__inner {
  position: relative;
  z-index: 1;
}

:root { --nav-h: 4.5rem; }

/* ── BEAT 1 — HERO (BLUSH) ───────────────── */
.hero {
  position: relative;
  background: var(--blush-paper);
  overflow: hidden;
  isolation: isolate;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 100vh;
  align-items: center;
  padding-inline: clamp(2rem, 7vw, 5rem);
  padding-block: var(--space-7) var(--space-7);
  gap: clamp(2rem, 5vw, 5rem);
}

.hero__field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__eyebrow {
  color: var(--blush-rose);
  margin-bottom: var(--space-3);
}

.hero__wordmark {
  font-family: var(--font-serif);
  font-size: var(--fs-display);
  font-weight: 400;
  font-style: normal;
  font-variation-settings: 'SOFT' 100;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--blush-ink);
}

.hero__subline {
  margin-top: var(--space-3);
  max-width: 38ch;
  font-family: var(--font-label);
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.25rem);
  line-height: 1.65;
  color: var(--blush-ink);
  opacity: 0.78;
}

.hero__arch-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: var(--space-3);
}

.hero__arch {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3 / 4;
  border-radius: 50% 50% 0 0;
  overflow: hidden;
  flex-shrink: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: var(--space-5);
  left: clamp(2rem, 7vw, 5rem);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  color: var(--blush-rose);
  opacity: 0.75;
  text-decoration: none;
  background-image: none;
}
.hero__scroll:hover,
.hero__scroll:active {
  text-decoration: none;
  opacity: 1;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: var(--space-3);
  background: var(--blush-rose);
  opacity: 0.7;
}
.hero__sentinel {
  position: absolute;
  top: 80vh;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* ── BEAT 1 — HERO (MARGAUX) ─────────────── */
.mgx-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: calc(var(--nav-h) + var(--space-6)) var(--space-7);
}

.mgx-hero__butterfly {
  position: absolute;
  top: calc(var(--nav-h) + var(--space-3));
  left: clamp(1.25rem, 5vw, 3rem);
  width: clamp(48px, 7vw, 72px);
  color: var(--mgx-brass);
  pointer-events: none;
  user-select: none;
  display: block;
}
.mgx-hero__butterfly svg {
  display: block;
  width: 100%;
  height: auto;
}

.mgx-hero__inner {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.mgx-hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mgx-hero__eyebrow-script {
  display: block;
  font-family: var(--mgx-font-script);
  font-size: clamp(1.4rem, 2.5vw + 0.4rem, 2.5rem);
  color: var(--mgx-rose-script);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.mgx-hero__h1 {
  font-family: var(--mgx-font-display);
  font-variation-settings: 'opsz' 48;
  font-size: clamp(2.5rem, 4.5vw + 0.5rem, 4.5rem);
  font-weight: 400;
  color: var(--mgx-cream-text);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
}

.mgx-hero__script-word {
  display: block;
  font-family: var(--mgx-font-script);
  font-size: clamp(3rem, 6vw + 0.5rem, 6.5rem);
  color: var(--mgx-rose-script);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.mgx-hero__subline {
  font-family: var(--mgx-font-body);
  font-size: clamp(0.9rem, 0.8vw + 0.65rem, 1.0625rem);
  line-height: 1.7;
  color: var(--mgx-cream-text);
  opacity: 0.82;
  max-width: 36ch;
}

.mgx-hero__location {
  display: block;
  color: var(--mgx-cream-text);
  opacity: 0.65;
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
}

/* — Fan stack — */
.mgx-hero__stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(300px, 46vh, 520px);
}

.mgx-hero__card {
  position: absolute;
  width: clamp(140px, 20vw, 210px);
  aspect-ratio: 2 / 3;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(71, 14, 22, 0.55);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: bottom center;
}
.mgx-hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* At rest: deck — top 2 visible, others peeking */
.mgx-hero__card:nth-child(1) { transform: rotate(0deg);                    z-index: 5; }
.mgx-hero__card:nth-child(2) { transform: rotate(3deg) translateX(4px);    z-index: 4; }
.mgx-hero__card:nth-child(3) { transform: rotate(-4deg) translateX(-3px);  z-index: 3; }
.mgx-hero__card:nth-child(4) { transform: rotate(5deg) translateX(6px);    z-index: 2; }
.mgx-hero__card:nth-child(5) { transform: rotate(-6deg) translateX(-5px);  z-index: 1; }

/* Desktop hover fan */
@media (hover: hover) {
  .mgx-hero__stack:hover .mgx-hero__card:nth-child(1) { transform: rotate(-14deg) translate(-88px, 18px); }
  .mgx-hero__stack:hover .mgx-hero__card:nth-child(2) { transform: rotate(-7deg)  translate(-36px,  6px); }
  .mgx-hero__stack:hover .mgx-hero__card:nth-child(3) { transform: rotate(0deg)   translate(0,       0);  }
  .mgx-hero__stack:hover .mgx-hero__card:nth-child(4) { transform: rotate(7deg)   translate(36px,   6px); }
  .mgx-hero__stack:hover .mgx-hero__card:nth-child(5) { transform: rotate(14deg)  translate(88px,  18px); }
}

/* Touch IO trigger + reduced-motion spread state */
.mgx-hero__stack.is-fanned .mgx-hero__card:nth-child(1) { transform: rotate(-14deg) translate(-88px, 18px); }
.mgx-hero__stack.is-fanned .mgx-hero__card:nth-child(2) { transform: rotate(-7deg)  translate(-36px,  6px); }
.mgx-hero__stack.is-fanned .mgx-hero__card:nth-child(3) { transform: rotate(0deg)   translate(0,       0);  }
.mgx-hero__stack.is-fanned .mgx-hero__card:nth-child(4) { transform: rotate(7deg)   translate(36px,   6px); }
.mgx-hero__stack.is-fanned .mgx-hero__card:nth-child(5) { transform: rotate(14deg)  translate(88px,  18px); }

/* ── BEAT 2 — Philosophy ─────────────────── */
.philosophy {
  text-align: center;
}
.philosophy__statement {
  margin: 0 auto;
  max-width: 28ch;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
}

/* Philosophy hero — enhanced quote section */
.beat--philosophy-hero {
  padding-block: 11rem;
}
html.reveal-enabled .beat--philosophy-hero[data-reveal] {
  transform: translateY(20px);
}
html.reveal-enabled .beat--philosophy-hero[data-reveal].is-revealed {
  transform: none;
}
.philosophy-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}
.philosophy-hero__kicker {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
  margin-bottom: var(--space-4);
}
.philosophy-hero__keyline {
  width: 60%;
  height: 1px;
  background: var(--rule);
}
.philosophy-hero__keyline--top  { margin-bottom: var(--space-5); }
.philosophy-hero__keyline--bottom { margin-top: var(--space-5); }
.philosophy-hero__container {
  position: relative;
  padding: var(--space-4) var(--space-5);
  background:
    linear-gradient(var(--accent-40), var(--accent-40)) top    left  / 1px  12px no-repeat,
    linear-gradient(var(--accent-40), var(--accent-40)) top    left  / 12px 1px  no-repeat,
    linear-gradient(var(--accent-40), var(--accent-40)) bottom right / 1px  12px no-repeat,
    linear-gradient(var(--accent-40), var(--accent-40)) bottom right / 12px 1px  no-repeat;
}
.philosophy-hero__container .philosophy__statement {
  max-width: 46ch;
  margin: 0;
}

/* ── Karaoke word spans (philosophy quote) ── */
/* Resting = faint (18% opacity). Only applied after successful content
   split — quote is never invisible. Filled = full ink + weight 500. */
.kw {
  display: inline;
  color: rgba(46, 38, 32, 0.18);
  transition: color 400ms ease;
}
.kw.kw--filled {
  color: var(--ink);
  font-weight: 500;
}
/* kw-breath is set to inline-block at split time (before any fill) so
   width is reserved from the start — no reflow when breathe is added. */
.kw.kw-breath {
  display: inline-block;
  transform-origin: center;
  will-change: transform;
}
/* Breathe — emphasis burst then gentle infinite pulse, scale-only (no layout shift). */
.kw.kw--filled.breathe {
  animation:
    breathe-emphasis 1.4s ease-in-out 1,
    breathe-subtle   3.5s ease-in-out 1.4s infinite alternate;
}
@keyframes breathe-emphasis {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.05); }
  80%  { transform: scale(1); }
  100% { transform: scale(1); }
}
@keyframes breathe-subtle {
  from { transform: scale(1.00); }
  to   { transform: scale(1.03); }
}

/* ── BEAT 3 — Signature work ─────────────── */
.signature__header {
  margin-bottom: var(--space-3);
  text-align: center;
}
.signature__header .label {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  font-variant-caps: small-caps;
  display: block;
}
.signature__label-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-2);
  height: 14px;
}
.signature__label-line::before,
.signature__label-line::after {
  content: '';
  height: 1px;
  background: var(--rule);
  width: 0;
  flex-shrink: 0;
  transition: width 700ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
.signature__label-line.is-drawn::before,
.signature__label-line.is-drawn::after {
  width: 60px;
}
.signature__label-diamond {
  color: var(--accent);
  opacity: 0.5;
  font-size: 0.65em;
  margin-inline: var(--space-1);
  flex-shrink: 0;
  line-height: 1;
}
.signature__bleed {
  margin-block: var(--space-4);
  overflow: visible; /* .img-hover child handles zoom clip; caption must not be clipped */
}
.signature__bleed .img-hover img {
  max-height: 60vh;
  object-fit: cover;
  width: 100%;
}

/* ── Story card captions ──────────────────── */
/* .story-card wraps image + caption in pair layout; bleed cards use caption alone */
.story-card {
  display: flex;
  flex-direction: column;
}
.story-card__caption {
  padding-top: var(--space-2);
}
/* Bleed captions: align to content-area left edge via wrap-equivalent horizontal padding */
.signature__bleed .story-card__caption {
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.story-card__title {
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}
.story-card__meta {
  margin-top: 0.375rem;
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  font-variant-caps: small-caps;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
  line-height: 1.4;
}
.signature__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--space-4) + 4px);
  margin-block: var(--space-5);
}
.signature__footer {
  margin-top: var(--space-5);
  text-align: center;
}

/* Quiet text links (beat 3 + beat 5) */
.text-link {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
}
.text-link:hover,
.text-link:active {
  text-decoration-color: var(--accent);
}

/* ── Image hover utility ─────────────────── */
.img-hover {
  overflow: hidden;
  display: block;
}
.about-teaser__img-wrap {
  width: 100%;
}
@media (hover: hover) {
  .img-hover img {
    transition: transform 700ms cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
  }
  .img-hover:hover img {
    transform: scale(1.03);
  }
}

/* ── BEAT 4 — Featured film ──────────────── */
.film__label {
  display: block;
  margin-bottom: var(--space-3);
  text-align: center;
}
.film__frame {
  margin-inline: auto;
  max-width: 1080px;
}
.film__caption {
  margin-top: var(--space-3);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-body);
  color: var(--ink);
  opacity: 0.85;
  text-align: center;
}

/* ── BEAT 5 — About teaser ───────────────── */
.about-teaser {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(var(--space-4), 5vw, var(--space-6));
  align-items: center;
}
.about-teaser__frame {
  position: relative;
  isolation: isolate;
}
.about-teaser__frame::before,
.about-teaser__frame::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent);
  pointer-events: none;
  z-index: -1;
  transition: transform 600ms cubic-bezier(.22,.61,.36,1);
}
.about-teaser__frame::before { top: calc(-1 * var(--space-2)); right: calc(-1 * var(--space-2)); }
.about-teaser__frame::after  { bottom: calc(-1 * var(--space-2)); left: calc(-1 * var(--space-2)); }
.about-teaser__frame:hover::before { transform: translate(var(--space-1), calc(-1 * var(--space-1))); }
.about-teaser__frame:hover::after  { transform: translate(calc(-1 * var(--space-1)), var(--space-1)); }

.about-teaser__portrait {
  aspect-ratio: 4 / 5;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 520px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 900ms cubic-bezier(.22,.61,.36,1);
}
html.reveal-enabled [data-reveal].is-revealed .about-teaser__portrait {
  clip-path: inset(0 0 0% 0);
}
html:not(.reveal-enabled) .about-teaser__portrait { clip-path: none; }

.about-teaser__dogear {
  position: absolute;
  top: 0; right: 0;
  width: 44px; height: 44px;
  z-index: 2;
  background: linear-gradient(225deg, rgba(242,232,220,0.10) 0 50%, transparent 50%);
  box-shadow: -2px 2px 4px rgba(36,26,20,0.25);
  transition: width 320ms ease, height 320ms ease;
  pointer-events: none;
}
.about-teaser__frame:hover .about-teaser__dogear {
  width: 60px; height: 60px;
}

.about-teaser__text > * + * {
  margin-top: var(--space-3);
}
.about-teaser__text p:not(.label) {
  max-width: 42ch;
  line-height: 1.7;
}

/* Read more link — animated underline sweep + sliding arrow */
.about-teaser__cta {
  position: relative;
  text-decoration: none;
  background-image: linear-gradient(var(--accent-40), var(--accent-40));
  background-repeat: no-repeat;
  background-position: 0 calc(100% + 2px);
  background-size: 100% 1px;
}
.about-teaser__cta::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 400ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
@media (hover: hover) {
  .about-teaser__cta:hover::before,
  .about-teaser__cta:focus-visible::before {
    width: 100%;
  }
}
.about-teaser__cta::after {
  content: ' \2192';
  display: inline-block;
  transition: transform 400ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
@media (hover: hover) {
  .about-teaser__cta:hover::after,
  .about-teaser__cta:focus-visible::after {
    transform: translateX(6px);
  }
}

/* ── BEAT 6 — Social proof ───────────────── */
.testimonials {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-6);
}

/* Section eyebrow */
.testimonials__header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonials__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  font-variant-caps: small-caps;
  display: block;
  margin-bottom: 0;
}
.testimonials__eyebrow-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-2);
  height: 14px;
}
.testimonials__eyebrow-line::before,
.testimonials__eyebrow-line::after {
  content: '';
  height: 1px;
  background: var(--rule);
  width: 0;
  flex-shrink: 0;
  transition: width 700ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
.testimonials__eyebrow-line.is-drawn::before,
.testimonials__eyebrow-line.is-drawn::after {
  width: 60px;
}
.testimonials__eyebrow-diamond {
  color: var(--accent);
  opacity: 0.5;
  font-size: 0.65em;
  margin-inline: var(--space-1);
  flex-shrink: 0;
  line-height: 1;
}

/* Featured quote — corner brackets + oversized opening mark */
.testimonial--hero {
  max-width: 48ch;
  margin: 0;
}
.testimonial__bracket-box {
  position: relative;
  padding: var(--space-4) var(--space-5);
  background:
    linear-gradient(var(--accent-40), var(--accent-40)) top    left  / 1px  12px no-repeat,
    linear-gradient(var(--accent-40), var(--accent-40)) top    left  / 12px 1px  no-repeat,
    linear-gradient(var(--accent-40), var(--accent-40)) bottom right / 1px  12px no-repeat,
    linear-gradient(var(--accent-40), var(--accent-40)) bottom right / 12px 1px  no-repeat;
}
.testimonial__bracket-box::before {
  content: '\201C';
  position: absolute;
  top: -0.05em;
  left: 0.05em;
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--accent-15);
  pointer-events: none;
  user-select: none;
}
.testimonial--hero blockquote {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1.5vw + 0.75rem, 1.8rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}
.testimonial--hero figcaption {
  margin-top: var(--space-3);
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.15em;
  font-variant-caps: small-caps;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
}
.testimonial__sep {
  color: var(--accent);
  opacity: 0.7;
  font-size: 0.75em;
  margin-inline: 0.3em;
}

/* ── Supporting testimonial rotator ─────── */
/* All 3 pairs stack in the same grid cell (grid-area: 1/1).
   Container height = tallest pair; invisible pairs don't affect layout.
   Whip keyframes: outgoing 280ms ease-in, incoming 380ms spring. */
.testimonials__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 72ch;
  overflow: hidden;
}

.tr-pair {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  position: relative;
  /* Non-active default: invisible but in flow (maintains container height) */
  visibility: hidden;
  opacity: 0;
}
/* Vertical keyline between the two testimonial columns */
.tr-pair::before {
  content: '';
  position: absolute;
  left: 50%;
  top: var(--space-3);
  bottom: var(--space-3);
  width: 1px;
  background: var(--accent-40);
  transform: translateX(-50%);
  pointer-events: none;
}

.tr-pair.tr-pair--active {
  visibility: visible;
  opacity: 1;
}
.tr-pair.tr-pair--exiting {
  visibility: visible;
  animation: whip-out 280ms ease-in forwards;
}
.tr-pair.tr-pair--entering {
  visibility: visible;
  animation: whip-in 380ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes whip-out {
  from { transform: translateX(0)    skewX(0deg);  filter: blur(0px); opacity: 1; }
  to   { transform: translateX(-60px) skewX(-6deg); filter: blur(6px); opacity: 0; }
}
@keyframes whip-in {
  from { transform: translateX(60px)  skewX(-6deg); filter: blur(6px); opacity: 0; }
  to   { transform: none;             skewX(0deg);  filter: none;      opacity: 1; }
}

.testimonial {
  max-width: 36ch;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  opacity: 0.85;
}
.testimonial figcaption {
  margin-top: var(--space-2);
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.15em;
  font-variant-caps: small-caps;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
}

/* Featured quote scroll-entry reveal */
html.reveal-enabled .testimonial--hero {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 700ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
html.reveal-enabled .testimonial--hero.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Stats marquee ───────────────────────── */
/* Infinite horizontal scroll: two identical sets. width:max-content makes
   the track's own layout width = both sets combined, so translateX(-50%)
   is exactly one set width — seamless at any viewport. No hover-pause. */
.stats-strip {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-top: var(--space-7);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: var(--space-4);
  overflow: hidden;
}
.stats-strip__track {
  display: flex;
  width: max-content;
  animation: stats-marquee 30s linear infinite;
  will-change: transform;
}
/* Each set ends with a trailing ◇ + padding-right so the gap at the
   loop seam visually matches the gap between items within a set. */
.stats-strip__set {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
  padding-right: var(--space-4);
}
@keyframes stats-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.stats-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.stats-strip__num {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink-muted);
  line-height: 1;
}
.stats-strip__label {
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
  white-space: nowrap;
}
.stats-strip__sep {
  color: var(--accent-40);
  font-size: 0.7em;
  flex-shrink: 0;
}

/* ── BEAT 8 — Inquiry close ──────────────── */
.beat--close-hero {
  padding-block: 11rem;
}
.close-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}
.close-hero__kicker {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
  margin-bottom: var(--space-4);
}
.close-hero__keyline {
  width: 60%;
  height: 1px;
  background: var(--rule);
}
.close-hero__keyline--top    { margin-bottom: var(--space-5); }
.close-hero__keyline--bottom { margin-top: var(--space-5); margin-bottom: var(--space-6); }
.close-hero__container {
  padding: var(--space-4) var(--space-5);
  background:
    linear-gradient(var(--accent-40), var(--accent-40)) top    left  / 1px  12px no-repeat,
    linear-gradient(var(--accent-40), var(--accent-40)) top    left  / 12px 1px  no-repeat,
    linear-gradient(var(--accent-40), var(--accent-40)) bottom right / 1px  12px no-repeat,
    linear-gradient(var(--accent-40), var(--accent-40)) bottom right / 12px 1px  no-repeat;
}
.close-hero__line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2vw + 0.75rem, 2.4rem);
  font-weight: 400;
  line-height: 1.3;
  max-width: 34ch;
  color: var(--ink);
  margin: 0;
}
.close__cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid var(--ink-muted);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: background-color 400ms ease, color 400ms ease, border-color 400ms ease;
  background-image: none;
}
.close__cta:hover,
.close__cta:active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
  text-decoration: none;
}

/* ── S2 — EDITORIAL COLLAGE (parchment) ─────── */
.mgx-collage {
  padding-block: clamp(var(--space-5), 10vw, calc(var(--space-7) * 1.25));
}

.mgx-collage__inner {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(var(--space-4), 6vw, var(--space-6));
  align-items: center;
}

.mgx-collage__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mgx-collage__copy .mgx-lockup__caps {
  color: var(--mgx-oxblood);
}
.mgx-collage__copy .mgx-lockup__script {
  color: color-mix(in srgb, var(--mgx-oxblood) 80%, var(--mgx-ink));
}

.mgx-collage__subline {
  font-family: var(--mgx-font-body);
  font-size: clamp(1rem, 1vw + 0.8rem, 1.25rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--mgx-ink);
  max-width: 32ch;
}

.mgx-collage__scatter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  align-items: start;
}

/* Scatter transforms — applied to figure wrappers so frame+image tilt together */
.mgx-collage__item          { overflow: visible; }
.mgx-collage__item img      { display: block; width: 100%; object-fit: cover; }
.mgx-collage__item--a       { transform: rotate(-2.5deg) translateY(12px); }
.mgx-collage__item--b       { transform: rotate(1.8deg) translateX(8px); }
.mgx-collage__item--c       { transform: rotate(-1.2deg) translateY(-8px); }
.mgx-collage__item--d       { transform: rotate(3deg) translateX(-5px); }

/* Polaroid frame (CSS) — aged parchment mat, not pure white */
.mgx-polaroid {
  background: var(--mgx-parchment);
  padding: 6px 6px 36px;
  box-shadow:
    0 4px 18px rgba(59, 18, 25, 0.18),
    0 1px 4px rgba(59, 18, 25, 0.08);
}
.mgx-polaroid img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  width: 100%;
}

/* Film negative frame (CSS) — dark ink surround, sprocket rows */
.mgx-film-neg {
  background: var(--mgx-ink);
  padding: 16px 4px 8px;
  position: relative;
  box-shadow: 0 6px 22px rgba(59, 18, 25, 0.28);
}
.mgx-film-neg::before,
.mgx-film-neg::after {
  content: "";
  position: absolute;
  left: 6px; right: 6px;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0, transparent 3px,
    color-mix(in srgb, var(--mgx-parchment) 28%, transparent) 3px,
    color-mix(in srgb, var(--mgx-parchment) 28%, transparent) 11px,
    transparent 11px, transparent 15px
  );
}
.mgx-film-neg::before { top: 4px; }
.mgx-film-neg::after  { bottom: 4px; }
.mgx-film-neg img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  width: 100%;
}
.mgx-film-neg__label {
  display: block;
  text-align: center;
  font-family: monospace;
  font-size: 0.4rem;
  letter-spacing: 0.22em;
  color: color-mix(in srgb, var(--mgx-parchment) 40%, transparent);
  padding-bottom: 2px;
  user-select: none;
}

/* ── S3 — LACE SPLIT (50/50) ────────────────── */
.mgx-lace-split {
  display: grid;
  grid-template-columns: 1fr 36px 1fr;
  max-width: none;
  min-height: 70vh;
  overflow: hidden;
}

.mgx-lace-split__left {
  position: relative;
  overflow: hidden;
}

.mgx-lace-split__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  min-height: 70vh;
}

.mgx-lace-split__overlay {
  position: absolute;
  bottom: var(--space-5);
  left: clamp(1.25rem, 5vw, 3rem);
  right: var(--space-3);
}

.mgx-lace-split__overlay-text {
  font-family: var(--mgx-font-display);
  font-variation-settings: 'opsz' 48;
  font-size: clamp(1.6rem, 3.5vw + 0.3rem, 3.75rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--mgx-cream-text);
  text-shadow: 0 2px 12px rgba(59, 18, 25, 0.45);
}

/* Lace seam strip — vertical column in grid */
.mgx-lace-split__seam {
  position: relative;
  z-index: 2;
  align-self: stretch;
  overflow: hidden;
  color: color-mix(in srgb, var(--mgx-brass) 80%, transparent);
}

.mgx-lace-seam--v {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.mgx-lace-seam--h {
  display: none;
}

/* Right panel — oxblood-deep, not using the ground class since this isn't
   an outermost section wrapper; background set via token var, no hex here. */
.mgx-lace-split__right {
  background: var(--mgx-oxblood-deep);
  color: var(--mgx-cream-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) clamp(var(--space-3), 4vw, var(--space-5));
}

.mgx-lace-split__right-inner {
  max-width: 28ch;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}

.mgx-lace-split__oval-wrap {
  width: clamp(130px, 18vw, 190px);
  aspect-ratio: 3 / 4;
  border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
  overflow: hidden;
  margin-inline: auto;
  align-self: center;
}

.mgx-lace-split__oval-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.mgx-lace-split__eyebrow {
  font-family: var(--mgx-font-body);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mgx-cream-text);
  opacity: 0.62;
  line-height: 1.6;
}

.mgx-lace-split__copy {
  font-family: var(--mgx-font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--mgx-cream-text);
}

.mgx-lace-split__cta {
  display: inline-block;
  padding: 0.875rem 2rem;
  border: 1px solid color-mix(in srgb, var(--mgx-cream-text) 55%, transparent);
  color: var(--mgx-cream-text);
  font-family: var(--mgx-font-body);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  background: transparent;
  background-image: none;
  transition: background 280ms ease, color 280ms ease, border-color 280ms ease;
}
@media (hover: hover) {
  .mgx-lace-split__cta:hover {
    background: var(--mgx-cream-text);
    color: var(--mgx-oxblood-deep);
    border-color: var(--mgx-cream-text);
    text-decoration: none;
  }
}

/* ── S4 — ABOUT TEASER (parchment, MARGAUX) ─── */
.mgx-about {
  padding-block: clamp(var(--space-5), 10vw, calc(var(--space-7) * 1.25));
}

.mgx-about__inner {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(var(--space-4), 7vw, var(--space-6));
  align-items: center;
}

/* Photo cluster */
.mgx-about__photos {
  position: relative;
}

.mgx-about__main-frame {
  position: relative;
  display: block;
  overflow: visible;
}

.mgx-about__portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  border-radius: 2px;
}

/* Accent photo — ~-4deg rotation, overlapping bottom-right of main */
.mgx-about__accent-photo {
  position: absolute;
  bottom: -20px;
  right: -28px;
  width: 38%;
  transform: rotate(-4deg);
  transform-origin: top center;
  border-radius: 2px;
  overflow: visible;
  z-index: 2;
  box-shadow: 0 8px 26px rgba(59, 18, 25, 0.30);
}
.mgx-about__accent-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* Paper clip — last child of .mgx-about__accent-photo, rides its top edge */
.mgx-about__clip {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%) rotate(6deg);
  width: 28px;
  color: var(--mgx-parchment);
  display: block;
  z-index: 3;
  filter: drop-shadow(0 1px 3px rgba(59, 18, 25, 0.55));
}
.mgx-about__clip svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Thread + hanging locket — hangs off top-right of frame onto parchment */
.mgx-about__thread-wrap {
  position: absolute;
  top: -4px;
  right: -44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4;
  pointer-events: none;
  user-select: none;
}

.mgx-about__thread {
  display: block;
  width: 1px;
  height: 64px;
  background: var(--mgx-brass);
  opacity: 0.6;
}

.mgx-about__locket {
  display: block;
  width: 44px;
  color: var(--mgx-brass);
  animation: mgx-sway 4s ease-in-out infinite alternate;
  transform-origin: top center;
}
.mgx-about__locket svg {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes mgx-sway {
  from { transform: rotate(-3deg); }
  to   { transform: rotate(3deg); }
}

/* Copy column */
.mgx-about__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.mgx-about__copy .mgx-lockup__caps {
  color: var(--mgx-oxblood);
}
.mgx-about__copy .mgx-lockup__script {
  color: var(--mgx-oxblood);
}

.mgx-about__body {
  font-family: var(--mgx-font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--mgx-ink);
  max-width: 36ch;
}

.mgx-about__cta {
  display: inline-block;
  padding: 0.875rem 2rem;
  border: 1px solid var(--mgx-oxblood);
  color: var(--mgx-oxblood);
  font-family: var(--mgx-font-body);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  background: transparent;
  background-image: none;
  transition: background 280ms ease, color 280ms ease;
}
@media (hover: hover) {
  .mgx-about__cta:hover {
    background: var(--mgx-oxblood);
    color: var(--mgx-parchment);
    text-decoration: none;
  }
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 760px) {
  /* — Existing layout overrides — */
  .signature__pair  { grid-template-columns: 1fr; gap: var(--space-3); }
  .about-teaser     { grid-template-columns: 1fr; }
  .philosophy__statement { font-size: var(--fs-h3); }

  /* Hero BLUSH mobile — single column stack: field → arch → scroll */
  .hero__layout {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: calc(var(--nav-h) + var(--space-4)) var(--space-6);
    padding-inline: clamp(1.25rem, 5vw, 3rem);
    gap: var(--space-4);
  }
  .hero__wordmark { font-size: var(--fs-h1); }
  .hero__arch {
    width: 85vw;
    max-width: none;
    aspect-ratio: 3 / 4;
    margin-inline: auto;
  }
  .hero__arch-wrap {
    justify-content: center;
    padding-block: 0;
  }
  .hero__scroll {
    position: static;
    margin-inline: auto;
    margin-top: var(--space-3);
    margin-bottom: var(--space-5);
  }
  .close-hero__line { font-size: var(--fs-h3); }

  /* MGX hero mobile */
  .mgx-hero {
    min-height: auto;
    padding-block: calc(var(--nav-h) + var(--space-5)) var(--space-6);
    justify-content: flex-start;
  }
  .mgx-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .mgx-hero__text  { order: 1; }
  .mgx-hero__stack {
    order: 2;
    height: clamp(220px, 52vw, 320px);
  }
  .mgx-hero__butterfly {
    top: calc(var(--nav-h) + 0.75rem);
    left: 0.75rem;
    width: 40px;
  }
  .mgx-hero__stack.is-fanned .mgx-hero__card:nth-child(1) { transform: rotate(-9deg)   translate(-54px, 10px); }
  .mgx-hero__stack.is-fanned .mgx-hero__card:nth-child(2) { transform: rotate(-4.5deg) translate(-22px,  4px); }
  .mgx-hero__stack.is-fanned .mgx-hero__card:nth-child(3) { transform: rotate(0deg)    translate(0,       0);  }
  .mgx-hero__stack.is-fanned .mgx-hero__card:nth-child(4) { transform: rotate(4.5deg)  translate(22px,   4px); }
  .mgx-hero__stack.is-fanned .mgx-hero__card:nth-child(5) { transform: rotate(9deg)    translate(54px,  10px); }

  .beat { padding-block: clamp(var(--space-4), 8vw, var(--space-5)); }
  .beat--philosophy-hero { padding-block: clamp(var(--space-4), 10vw, 4rem); }
  .beat--close-hero      { padding-block: clamp(var(--space-4), 10vw, 4rem); }
  /* Tighten keyline margins so quote containers breathe without excess void */
  .philosophy-hero__keyline--top    { margin-bottom: var(--space-3); }
  .philosophy-hero__keyline--bottom { margin-top:    var(--space-3); }
  .close-hero__keyline--top    { margin-bottom: var(--space-3); }
  .close-hero__keyline--bottom { margin-top: var(--space-3); margin-bottom: var(--space-4); }
  /* Reduce testimonials flex gap and stats-strip top margin */
  .testimonials        { gap: var(--space-4); }
  .stats-strip         { margin-top: var(--space-4); }

  .philosophy-hero__container,
  .close-hero__container  { padding: var(--space-3); }
  .testimonial--hero blockquote { font-size: var(--fs-h3); }
  .tr-pair {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .tr-pair::before { display: none; }
  .testimonial__bracket-box { padding: var(--space-3); }
  .close-hero__keyline { width: 80%; }

  /* FIX 4 — Consistent Recent Stories gutters: bleed images get wrap-equiv padding */
  .signature__bleed {
    padding-inline: clamp(1.25rem, 5vw, 3rem);
  }
  /* Caption's own desktop padding-inline becomes double-padding when the bleed
     parent already carries padding-inline on mobile — reset to zero */
  .signature__bleed .story-card__caption {
    padding-inline: 0;
  }

  /* FIX 6 — Framed portrait: halve offset so accent frame stays inside viewport */
  .about-teaser__frame::before { top: calc(-1 * var(--space-1)); right: calc(-1 * var(--space-1)); }
  .about-teaser__frame::after  { bottom: calc(-1 * var(--space-1)); left: calc(-1 * var(--space-1)); }

  /* S2 collage — stack copy above scatter */
  .mgx-collage__inner {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  /* Reduce scatter transforms on mobile — keep subtle tilt but no large offsets */
  .mgx-collage__item--a { transform: rotate(-1.5deg); }
  .mgx-collage__item--b { transform: rotate(1.2deg) translateX(4px); }
  .mgx-collage__item--c { transform: rotate(-1deg); }
  .mgx-collage__item--d { transform: rotate(2deg); }

  /* S3 lace split — stack vertically, lace becomes horizontal divider */
  .mgx-lace-split {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
  }
  .mgx-lace-split__left {
    min-height: auto;
  }
  .mgx-lace-split__photo {
    min-height: 60vw;
    max-height: 80vw;
  }
  .mgx-lace-split__overlay {
    bottom: var(--space-3);
  }
  .mgx-lace-split__seam {
    height: 32px;
    width: 100%;
    align-self: auto;
  }
  .mgx-lace-seam--v { display: none; }
  .mgx-lace-seam--h {
    display: block;
    width: 100%;
    height: 32px;
  }
  .mgx-lace-split__right {
    padding: var(--space-5) clamp(var(--space-3), 5vw, var(--space-4));
  }
  .mgx-lace-split__right-inner { max-width: 100%; }
  .mgx-lace-split__oval-wrap {
    width: clamp(100px, 28vw, 150px);
  }

  /* S4 about — stack photos above copy */
  .mgx-about__inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .mgx-about__accent-photo {
    bottom: -12px;
    right: -16px;
    width: 34%;
  }
  /* Locket: pull back over the photo on mobile so it doesn't overflow off-canvas */
  .mgx-about__thread-wrap {
    right: 8px;
  }

  /* S7 kind-words — stack photo above quotes */
  .mgx-kind-words__panel {
    grid-template-columns: 1fr;
    padding: var(--space-4) clamp(var(--space-3), 5vw, var(--space-4));
  }
  .mgx-kind-words__photo-col {
    flex-direction: row;
    align-items: flex-end;
    gap: var(--space-3);
  }
  .mgx-kind-words__polaroid {
    width: clamp(100px, 30vw, 140px);
  }
  .mgx-kind-words__butterfly {
    display: none;
  }
  .mgx-kind-words__featured blockquote {
    font-size: var(--fs-h3);
  }

  /* S8 invitation — stack letter above photo */
  .mgx-invitation {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .mgx-invitation__left {
    order: 1;
    padding: var(--space-5) clamp(var(--space-3), 5vw, var(--space-4));
  }
  .mgx-invitation__right {
    order: 2;
    min-height: 60vw;
    max-height: 80vw;
  }
  .mgx-invitation__right img {
    min-height: 60vw;
    max-height: 80vw;
  }

  /* S5 services mobile — hide gutter ornament, keep 3-col film strip */
  .mgx-services__ornament {
    display: none;
  }

  /* S6 diary mobile — collapse pin, show static 2-col grid */
  .mgx-diary { height: auto !important; }
  .mgx-diary__pin { position: static; min-height: 0; padding-block: clamp(var(--space-5), 8vw, calc(var(--space-7) * 1.25)); }
  .mgx-diary__clip {
    display: none;
  }
  .mgx-diary__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-block: var(--space-4);
  }
  .mgx-diary__grid img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 20%;
    display: block;
  }
}

/* ── S5 — SERVICES (crushed oxblood) ────────────── */
.mgx-services {
  position: relative;
  padding-block: clamp(var(--space-5), 10vw, calc(var(--space-7) * 1.25));
}

/* Flower embroidery ornament — absolute, left gutter, brass */
.mgx-services__ornament {
  position: absolute;
  left: clamp(1.25rem, 5vw, 3rem);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(52px, 7vw, 72px);
  color: var(--mgx-brass);
  pointer-events: none;
  user-select: none;
  display: block;
  opacity: 0.72;
}
.mgx-services__ornament svg {
  display: block;
  width: 100%;
  height: auto;
}

.mgx-services__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

/* Eyebrow — letterspaced label, FIRST in reading order */
.mgx-services__eyebrow {
  font-family: var(--mgx-font-body);
  font-size: clamp(0.7rem, 0.6vw + 0.5rem, 0.8125rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mgx-cream-text);
  opacity: 0.62;
  text-align: center;
  margin: 0;
}

/* Display lockup: heading + script overlay */
.mgx-services__lockup-wrap {
  text-align: center;
}

.mgx-services__display {
  display: block;
  font-family: var(--mgx-font-display);
  font-variation-settings: 'opsz' 48;
  font-weight: 400;
  font-size: clamp(3rem, 7vw + 0.5rem, 6rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--mgx-cream-text);
  margin: 0;
}

/* Script overlay — decorative only, always paired with .mgx-services__display */
.mgx-services__script {
  display: block;
  font-family: var(--mgx-font-script);
  font-size: clamp(2.25rem, 5vw + 0.5rem, 5rem);
  line-height: 1;
  color: var(--mgx-rose-script);
  margin-top: -0.1em;
}

/* 3 film negatives in a row — contact-sheet feel */
.mgx-services__films {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
}

/* Service film neg: portrait 2:3 for tighter stacking */
.mgx-film-neg--service img {
  aspect-ratio: 2 / 3;
}

/* CTA → experience */
.mgx-services__cta {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  border: 1px solid color-mix(in srgb, var(--mgx-cream-text) 55%, transparent);
  color: var(--mgx-cream-text);
  font-family: var(--mgx-font-body);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  background: transparent;
  background-image: none;
  transition: background 280ms ease, color 280ms ease, border-color 280ms ease;
}
@media (hover: hover) {
  .mgx-services__cta:hover {
    background: var(--mgx-cream-text);
    color: var(--mgx-oxblood);
    border-color: var(--mgx-cream-text);
    text-decoration: none;
  }
}

/* ── S6 — VISUAL DIARY (parchment) ──────────────── */
.mgx-diary {
  /* Height is set by JS: (100vh + travel). Do not set height in CSS. */
}

/* Pin container — sticky so native scroll drives the strip */
.mgx-diary__pin {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(var(--space-5), 8vw, calc(var(--space-7) * 1.25));
}

.mgx-diary__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.mgx-diary__eyebrow {
  font-family: var(--mgx-font-body);
  font-size: clamp(0.7rem, 0.6vw + 0.5rem, 0.8125rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mgx-ink);
  opacity: 0.62;
  margin: 0;
}

.mgx-diary__heading {
  font-family: var(--mgx-font-display);
  font-variation-settings: 'opsz' 48;
  font-weight: 400;
  font-size: clamp(2rem, 4vw + 0.5rem, 3.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--mgx-oxblood);
  margin: 0;
}

/* Scroll-strip viewport — clips the translating strip on desktop */
.mgx-diary__clip {
  overflow: hidden;
  margin-block: var(--space-4);
}

/* Strip — horizontal flex row; JS applies translateX for scroll-link */
.mgx-diary__strip {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.mgx-diary__frame {
  flex-shrink: 0;
  width: clamp(200px, 26vw, 320px);
}

.mgx-diary__frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Accessible static grid (mobile + AT) — hidden on desktop */
.mgx-diary__grid {
  display: none;
}

/* CTA → journal */
.mgx-diary__cta {
  display: block;
  width: fit-content;
  margin-inline: auto;
  margin-top: var(--space-4);
  font-family: var(--mgx-font-body);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mgx-oxblood);
  text-decoration: underline;
  text-decoration-color: var(--mgx-brass-40);
  text-underline-offset: 0.4em;
  text-decoration-thickness: 1px;
  background-image: none;
  transition: text-decoration-color 240ms ease;
}
@media (hover: hover) {
  .mgx-diary__cta:hover {
    text-decoration-color: var(--mgx-brass);
    text-decoration: underline;
  }
}

/* ── S7 — KIND WORDS (oxblood-deep panel on parchment) ── */
.mgx-kind-words {
  position: relative;
  padding-block: clamp(var(--space-5), 10vw, calc(var(--space-7) * 1.25));
}

/* Butterfly ornament — left gutter, brass */
.mgx-kind-words__butterfly {
  position: absolute;
  top: clamp(var(--space-4), 6vw, var(--space-6));
  left: clamp(1.25rem, 5vw, 3rem);
  width: clamp(44px, 6vw, 64px);
  color: var(--mgx-brass);
  pointer-events: none;
  user-select: none;
  display: block;
  opacity: 0.7;
}
.mgx-kind-words__butterfly svg {
  display: block;
  width: 100%;
  height: auto;
}

.mgx-kind-words__eyebrow {
  text-align: center;
  font-family: var(--mgx-font-body);
  font-size: clamp(0.7rem, 0.6vw + 0.5rem, 0.8125rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mgx-oxblood);
  opacity: 0.72;
  margin: 0 0 var(--space-4);
}

/* Inner oxblood-deep panel — scar rule: ground class on outermost section,
   panel gets background via token var directly */
.mgx-kind-words__panel {
  background: var(--mgx-oxblood-deep);
  color: var(--mgx-cream-text);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(var(--space-4), 6vw, var(--space-7));
  align-items: start;
  padding: clamp(var(--space-5), 7vw, var(--space-7));
  max-width: 900px;
  margin-inline: auto;
}

/* Photo column */
.mgx-kind-words__photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

/* Paper-clip rides the polaroid top edge */
.mgx-kind-words__clip-wrap {
  width: 26px;
  color: var(--mgx-parchment);
  align-self: center;
  margin-bottom: -6px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 3px rgba(71, 14, 22, 0.55));
}
.mgx-kind-words__clip-wrap svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Polaroid sizing for kind-words */
.mgx-kind-words__polaroid {
  width: clamp(140px, 18vw, 200px);
}
.mgx-kind-words__polaroid img {
  aspect-ratio: 3 / 4;
}

/* Script attribution below polaroid */
.mgx-kind-words__script-attr {
  margin-top: var(--space-2);
  font-family: var(--mgx-font-script);
  font-size: clamp(1.1rem, 1.8vw + 0.5rem, 1.6rem);
  line-height: 1.2;
  color: var(--mgx-rose-script);
  text-align: center;
}

/* Quote column */
.mgx-kind-words__quote-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Featured quote — override bracket-box, keep .testimonial--hero reveal hook */
.mgx-kind-words__featured {
  margin: 0;
  max-width: none;
  text-align: left;
}
.mgx-kind-words__featured blockquote {
  font-family: var(--mgx-font-display);
  font-variation-settings: 'opsz' 36;
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw + 0.6rem, 2rem);
  line-height: 1.2;
  color: var(--mgx-cream-text);
  font-style: italic;
  margin: 0;
}
.mgx-kind-words__featured figcaption {
  margin-top: var(--space-2);
  font-family: var(--mgx-font-body);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mgx-cream-text);
  opacity: 0.55;
}

/* Rotator testimonials inside dark panel */
.mgx-kind-words__panel .testimonial blockquote {
  color: var(--mgx-cream-text);
  opacity: 0.82;
}
.mgx-kind-words__panel .testimonial figcaption {
  color: var(--mgx-cream-text);
  opacity: 0.45;
}
.mgx-kind-words__panel .tr-pair::before {
  background: color-mix(in srgb, var(--mgx-cream-text) 18%, transparent);
}

/* Fade+drift transition for S7 — overrides whip-pan defined in home.css */
#social-proof .tr-pair.tr-pair--exiting {
  animation: mgx-kind-out 280ms ease forwards;
}
#social-proof .tr-pair.tr-pair--entering {
  animation: mgx-kind-in 380ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes mgx-kind-out {
  from { opacity: 1; transform: translateY(0);    filter: none; }
  to   { opacity: 0; transform: translateY(12px); filter: none; }
}
@keyframes mgx-kind-in {
  from { opacity: 0; transform: translateY(12px); filter: none; }
  to   { opacity: 1; transform: none;             filter: none; }
}

/* ── S8 — INVITATION CTA (50/50 split) ──────────────── */
.mgx-invitation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: none;
  min-height: 70vh;
}

/* Left: oxblood-deep panel, centered letter card */
.mgx-invitation__left {
  background: var(--mgx-oxblood-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(var(--space-5), 8vw, var(--space-7)) clamp(var(--space-3), 5vw, var(--space-5));
}

/* Folded-letter card — paper-aged fill */
.mgx-invitation__letter {
  position: relative;
  background: var(--mgx-paper-aged);
  color: var(--mgx-ink);
  padding: clamp(var(--space-4), 5vw, var(--space-6));
  max-width: 340px;
  width: 100%;
  /* Fold creases: two subtle horizontal lines at thirds */
  background-image:
    linear-gradient(color-mix(in srgb, var(--mgx-ink) 6%, transparent) 0px, color-mix(in srgb, var(--mgx-ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--mgx-ink) 6%, transparent) 0px, color-mix(in srgb, var(--mgx-ink) 6%, transparent) 1px, transparent 1px);
  background-size: 100% 1px;
  background-position: 0 33.33%, 0 66.66%;
  background-repeat: no-repeat;
}

/* Wax seal — top-right, overlapping corner */
.mgx-invitation__seal {
  position: absolute;
  top: -20px;
  right: -20px;
  width: clamp(48px, 7vw, 64px);
  color: var(--mgx-oxblood);
  display: block;
  filter: drop-shadow(0 2px 6px color-mix(in srgb, var(--mgx-oxblood-deep) 60%, transparent));
}
.mgx-invitation__seal svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Oval photo inset */
.mgx-invitation__oval {
  width: clamp(80px, 14vw, 120px);
  aspect-ratio: 3 / 4;
  border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
  overflow: hidden;
  margin-inline: auto;
  margin-bottom: var(--space-3);
}
.mgx-invitation__oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.mgx-invitation__letter-eyebrow {
  font-family: var(--mgx-font-body);
  font-size: clamp(0.65rem, 0.5vw + 0.5rem, 0.75rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mgx-ink);
  opacity: 0.55;
  margin: 0 0 var(--space-2);
  text-align: center;
}

.mgx-invitation__letter-copy {
  font-family: var(--mgx-font-body);
  font-size: clamp(0.9rem, 0.8vw + 0.6rem, 1.0625rem);
  line-height: 1.7;
  color: var(--mgx-ink);
  margin: 0 0 var(--space-4);
  text-align: center;
}

/* CTA → inquire */
.mgx-invitation__cta {
  display: block;
  width: fit-content;
  margin-inline: auto;
  padding: 0.875rem 2rem;
  border: 1px solid var(--mgx-oxblood);
  color: var(--mgx-oxblood);
  font-family: var(--mgx-font-body);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  background: transparent;
  background-image: none;
  transition: background 280ms ease, color 280ms ease;
}
@media (hover: hover) {
  .mgx-invitation__cta:hover {
    background: var(--mgx-oxblood);
    color: var(--mgx-parchment);
    text-decoration: none;
  }
}

/* Deckled edge at bottom of letter — decorative SVG strip */
.mgx-invitation__deckle {
  display: block;
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  width: 100%;
  color: var(--mgx-paper-aged);
  pointer-events: none;
}
.mgx-invitation__deckle svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Right: full-bleed photo */
.mgx-invitation__right {
  position: relative;
  overflow: hidden;
}
.mgx-invitation__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  min-height: 70vh;
}

/* ── Reduced motion ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html.reveal-enabled [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.reveal-enabled [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }
  html.reveal-enabled .beat--philosophy-hero[data-reveal],
  html.reveal-enabled .beat--philosophy-hero[data-reveal].is-revealed {
    transform: none;
  }
  .about-teaser__portrait { clip-path: none !important; transition: none; }
  .about-teaser__frame::before, .about-teaser__frame::after { transition: none; }
  .kw { color: var(--ink); transition: none; }
  .kw.kw--filled.breathe { animation: none; transform: none; }
  .signature__label-line::before,
  .signature__label-line::after,
  .testimonials__eyebrow-line::before,
  .testimonials__eyebrow-line::after { transition: none; width: 60px; }
  .mgx-hero__card { transition: none; }
  .img-hover img { transition: none; will-change: auto; }
  .img-hover:hover img { transform: none; }
  html.reveal-enabled .testimonial--hero {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .about-teaser__cta::before { transition: none; }
  .about-teaser__cta::after  { transition: none; }
  /* Whip → 400ms crossfade */
  .tr-pair.tr-pair--exiting {
    animation: none;
    visibility: visible;
    opacity: 0;
    transition: opacity 400ms ease;
  }
  .tr-pair.tr-pair--entering {
    animation: none;
    visibility: visible;
    opacity: 1;
    transition: opacity 400ms ease;
  }
  /* S4 — sway animation off */
  .mgx-about__locket {
    animation: none;
    transform: none;
  }

  /* Stats: stop marquee, hide duplicate, wrap items */
  .stats-strip__track { animation: none; }
  .stats-strip__set:nth-child(2) { display: none; }
  .stats-strip__set {
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
    padding-right: 0;
    width: 100%;
  }

  /* S6 diary: collapse pin, static 3-col grid on desktop, 2-col on mobile */
  .mgx-diary { height: auto !important; }
  .mgx-diary__pin { position: static; min-height: 0; }
  .mgx-diary__clip {
    overflow: visible;
  }
  .mgx-diary__strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    transform: none !important;
  }
  .mgx-diary__frame {
    width: auto;
  }

  /* S7 kind-words: crossfade only, no drift */
  #social-proof .tr-pair.tr-pair--exiting {
    animation: none;
    visibility: visible;
    opacity: 0;
    transition: opacity 400ms ease;
  }
  #social-proof .tr-pair.tr-pair--entering {
    animation: none;
    visibility: visible;
    opacity: 1;
    transition: opacity 400ms ease;
  }
}

/* ── Section alternation: B / R / B / R / B ─────────────────────── */
/* Philosophy and Close already use beat--paper → noir-base. Override the three
   that need raising so no two adjacent sections share the same background. */
#signature-work { background: var(--surface); }
#about-teaser   { background: var(--paper); }
#social-proof   { background: var(--surface); }

/* ── Gallery vignette (signature work only, not hero or portraits) ─ */
.signature__bleed .img-hover,
.signature__pair  .img-hover {
  position: relative;
}
.signature__bleed .img-hover::after,
.signature__pair  .img-hover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 58%, rgba(22,18,16,0.13) 100%);
  pointer-events: none;
  z-index: 1;
}
