/* ───────── Mommy Operative — homepage ─────────
   Same scroll + format as sisterouteast.com / bubblegumoperative.com:
   pinned full-bleed hero, bottom-mounted wordmark, manifesto that rises
   up over it, hairline rules, tiny tracked labels. */

:root {
  --paper: #efe6d6;
  --paper-rgb: 239, 230, 214;
  --ink: #231a14;
  --ink-soft: rgba(35, 26, 20, 0.58);
  --accent: #60112f;              /* plum / deep magenta */
  --pink: #fad2cf;                /* blush */
  --line: rgba(35, 26, 20, 0.16);
  /* Adobe Fonts project pkb1bgx: Megascope for headers, Orpheus Pro italic for editorial lines */
  --font-display: "megascope-variable", "Arial Narrow", sans-serif;
  --font-serif: "orpheuspro", Georgia, serif;   /* used in italic */
  --font-body: "Inter", system-ui, sans-serif;
  --nav-height: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body::before {               /* speckled paper */
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.22; mix-blend-mode: multiply;
}
::selection { background: var(--pink); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}
a { color: var(--ink); text-decoration: none; transition: color 0.3s ease, opacity 0.3s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
button { font-family: var(--font-body); cursor: pointer; }

.eyebrow {
  font-size: 0.65rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft);
}
.text-link {
  align-self: flex-start;
  font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-bottom: 2px solid var(--pink);
  padding-bottom: 0.4rem;
}

/* ── Nav: hidden over the hero, fades in after ─────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center;
  background: linear-gradient(rgba(var(--paper-rgb), 0.94), rgba(var(--paper-rgb), 0));
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.navbar.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.navbar.on-pink { background: linear-gradient(rgba(250, 210, 207, 0.96), rgba(250, 210, 207, 0)); }
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 3rem; }
.nav-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; line-height: 1; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; }

/* ── Hero: pinned, content scrolls over it ─────────────────── */
.hero { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--paper); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  transform: scale(1.12); will-change: transform;
}
.hero-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: 7rem 3rem 2.5rem;
  background: linear-gradient(to bottom,
    rgba(var(--paper-rgb), 0) 0%,
    rgba(var(--paper-rgb), 0.78) 45%,
    rgba(var(--paper-rgb), 0.97) 100%);
}
.hero-eyebrow { display: block; margin-bottom: 1rem; }
.hero-bottom-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  border-top: 1px solid var(--line); padding-top: 1.4rem;
}
.hero-wordmark {
  font-weight: 700;
  font-size: clamp(3.4rem, 10vw, 9.4rem);
  line-height: 0.9;
}
.hero-wordmark .accent {
  color: var(--pink);
  /* pink alone vanishes on cream — a plum offset shadow keeps it legible (and retro) */
  /* thin plum outline (8 directions) + a deeper offset drop, retro-sign style */
  text-shadow:
     0.012em  0      0 var(--accent),
    -0.012em  0      0 var(--accent),
     0       0.012em 0 var(--accent),
     0      -0.012em 0 var(--accent),
     0.009em  0.009em 0 var(--accent),
    -0.009em  0.009em 0 var(--accent),
     0.009em -0.009em 0 var(--accent),
    -0.009em -0.009em 0 var(--accent),
     0.05em   0.05em 0 var(--accent),
     0.07em   0.08em 0.06em rgba(35, 26, 20, 0.35);
}
.hero-tagline {
  font-family: var(--font-serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  line-height: 1.4; max-width: 44ch; margin-top: 1rem;
}
.hero-bottom-right { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.hero-scroll-cue {
  font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-soft);
  animation: cue-drift 2.4s ease-in-out infinite;
}
@keyframes cue-drift { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(5px); opacity: 1; } }

/* ── Everything after the hero rides over it ───────────────── */
.over { position: relative; z-index: 10; background: var(--paper); }

/* Manifesto */
.manifesto {
  min-height: 100svh; display: flex; align-items: center;
  box-shadow: 0 -30px 60px rgba(35, 26, 20, 0.14);
}
.inner { width: 100%; max-width: 760px; margin: 0 auto; padding: 8rem 3rem; display: flex; flex-direction: column; gap: 2rem; }
.inner--wide { max-width: 1080px; }
.manifesto-heading { font-size: clamp(2.3rem, 4.8vw, 4rem); }
.manifesto-heading em { font-style: normal; color: var(--accent); }
.body { font-size: 1.06rem; line-height: 1.9; max-width: 60ch; }
.body + .body { margin-top: -0.6rem; }
.pull {
  font-family: var(--font-serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.4;
  color: var(--accent); max-width: 34ch;
}

/* Pink highlighter behind a heading — sweeps in on reveal */
[data-highlight] { line-height: 1.2; text-wrap: balance; }
h2, h3 { text-wrap: balance; }
.hl {
  background: linear-gradient(var(--pink), var(--pink)) no-repeat 0 50% / 0% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0.02em 0.14em 0.06em;
  margin-left: -0.14em;
  transition: background-size 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
}
.is-visible .hl { background-size: 100% 100%; }

/* Quote band — editorial split */
.quote-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}
.qb-copy {
  display: flex; flex-direction: column; justify-content: center; gap: 2.4rem;
  /* left edge lines up with the 1080px content column used elsewhere */
  padding: 8rem clamp(2rem, 5vw, 5rem) 8rem max(3rem, calc((100vw - 1080px) / 2 + 3rem));
}
.quote {
  position: relative; margin: 0; isolation: isolate;
  font-family: var(--font-serif); font-weight: 400; font-style: italic;
  font-size: clamp(2.1rem, 3.6vw, 3.5rem); line-height: 1.14; letter-spacing: -0.01em;
  color: var(--accent);
  max-width: 19ch;
}
.qb-line { display: block; text-wrap: balance; }
.qb-line + .qb-line { margin-top: 0.35em; }
.qb-mark {
  position: absolute; z-index: -1;
  top: -0.2em; left: -0.24em;
  font-size: 6.5em; line-height: 1;
  color: var(--pink);
  pointer-events: none; user-select: none;
}
.quote .hl { padding: 0 0.12em 0.04em; margin-left: -0.06em; }
.qb-rule { display: block; width: 3.5rem; height: 1px; background: var(--accent); }
.qb-rule[data-reveal] { transform-origin: left; }

.qb-media { position: relative; margin: 0; min-width: 0; }
/* The frame is always a full square (the illustrations are square), so nothing is cropped.
   If the text beside it runs taller, the frame pins in place while the text scrolls past. */
.qb-frame {
  position: sticky; top: 0;
  aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--pink);
}
.qb-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.qb-frame figcaption {
  position: absolute; left: 1.5rem; bottom: 1.5rem;
  background: var(--paper); color: var(--ink);
  padding: 0.55rem 0.85rem;
  font-size: 0.6rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
}
.host-media figcaption { left: auto; right: 1.5rem; }
/* image uncovers upward on reveal */
[data-reveal-img] { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
[data-reveal-img].is-visible { clip-path: inset(0 0 0 0); }
[data-reveal-img].is-visible .qb-frame img { transform: scale(1); }

@media (max-width: 860px) {
  .quote-band { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .qb-copy { padding: 5rem 1.5rem 3.5rem; }
  .quote { max-width: 17ch; }
  .qb-media { aspect-ratio: 1; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal-img] { clip-path: none; }
  .qb-frame img { transform: none; }
}

/* Host — mirrored split */
.host-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}
.host-copy {
  display: flex; flex-direction: column; justify-content: center; gap: clamp(1rem, 1.6vw, 1.4rem);
  padding: clamp(1.5rem, 3vw, 4rem) clamp(2rem, 6vw, 6rem);
}
.host-copy > * { max-width: 34rem; }
.host-copy .body { font-size: 1.02rem; line-height: 1.85; }
@media (max-width: 1120px) {
  .host-copy { gap: 0.85rem; padding-block: 1.25rem; }
  .host-copy .body { font-size: 0.96rem; line-height: 1.72; }
  .host-sign { padding-top: 0.9rem; }
}
.host-copy .body + .body { margin-top: -0.4rem; }
.host-copy .pull { max-width: 30ch; margin-top: 0.4rem; }
.host-sign {
  font-size: 0.62rem; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 1.2rem; border-top: 1px solid var(--line); align-self: flex-start;
}
@media (max-width: 960px) {
  .host-band { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .host-media { order: 2; }
  .host-copy { padding: 5rem 1.5rem 3.5rem; }
}

/* How it goes */
.section-rule { border-top: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; margin-top: 1rem; }
.how-item { border-top: 1px solid var(--accent); padding-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.how-num { font-size: 0.62rem; letter-spacing: 0.22em; color: var(--accent); font-weight: 400; }
.how-item h3 { font-size: 1.55rem; }
.how-item p { font-size: 0.95rem; line-height: 1.75; color: var(--ink-soft); }
.section-heading { font-size: clamp(2rem, 4vw, 3.2rem); }

/* Salons */
.salons { list-style: none; margin-top: 1rem; border-bottom: 1px solid var(--line); }
.salon {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) auto;
  gap: 2rem; align-items: baseline;
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
}
.salon-date { font-family: var(--font-display); font-weight: 700; font-size: 2.8rem; line-height: 0.95; text-transform: uppercase; }
.salon-date small { display: block; font-family: var(--font-body); font-weight: 400; text-transform: uppercase; font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.6rem; }
.salon h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 0.55rem; }
.salon-meta { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.9; }
.salon-meta .fmt { color: var(--accent); }
.salon-blurb { margin-top: 0.75rem; font-size: 0.98rem; line-height: 1.75; max-width: 52ch; }
.salon .text-link { white-space: nowrap; }
.salons-note { font-size: 0.85rem; color: var(--ink-soft); }

/* Interest list */
.list-section { border-top: 1px solid var(--line); background: var(--pink); }
.list-section .field input, .list-section .field textarea { border-bottom-color: rgba(96, 17, 47, 0.25); }
.list-section .chip span { border-color: rgba(96, 17, 47, 0.28); background: rgba(255, 255, 255, 0.35); }
.form { display: flex; flex-direction: column; gap: 2rem; margin-top: 0.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label, .field .label { font-size: 0.62rem; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea {
  font: 300 1.15rem/1.5 var(--font-body); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 0.5rem 0; border-radius: 0;
  transition: border-color 0.3s;
}
.field textarea { resize: vertical; min-height: 2.6rem; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(35, 26, 20, 0.32); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.35rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; cursor: pointer; user-select: none;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.82rem; font-weight: 400;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--accent); color: var(--pink); border-color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.submit {
  background: var(--accent); color: var(--pink);
  border: 1px solid var(--accent); border-radius: 999px;
  padding: 1rem 1.8rem;
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.submit:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.submit:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.submit[disabled] { opacity: 0.6; cursor: wait; }
.fine { font-size: 0.78rem; color: var(--ink-soft); }
.form-msg { font-size: 0.92rem; color: var(--accent); min-height: 1.4em; margin-top: -1rem; }
.form-done { display: none; flex-direction: column; gap: 1.25rem; }
.form-done h3 { font-size: clamp(2rem, 4vw, 3rem); }
.list-wrap.is-done .form { display: none; }
.list-wrap.is-done .form-done { display: flex; animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

/* Footer */
.footer { position: relative; z-index: 10; background: var(--paper); border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 2.2rem 3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.footer-mark { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; border-bottom: 1px solid var(--pink); padding-bottom: 0.2rem; }
.footer-note { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }

/* ── Reveal (same feel as RevealText) ──────────────────────── */
.rw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.rw > span {
  display: inline-block; transform: translateY(110%); opacity: 0;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.is-visible .rw > span { transform: none; opacity: 1; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .nav-inner { padding: 0 1.5rem; }
  .nav-links { gap: 1.25rem; }
  .nav-links a { font-size: 0.62rem; }
  .nav-links .hide-sm { display: none; }
  .hero-img { object-position: 30% 30%; }
  .hero-bottom { padding: 5rem 1.5rem 1.75rem; }
  .hero-bottom-row { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .hero-bottom-right { align-items: flex-start; text-align: left; }
  .inner { padding: 5rem 1.5rem; }
  .salon { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
  .salon-date { font-size: 2.1rem; }
  .salon-date small { display: inline; margin: 0 0 0 0.6rem; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { padding: 1.5rem; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .hero-wordmark { font-size: clamp(2.9rem, 15vw, 4rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rw > span, [data-reveal] { opacity: 1; transform: none; }
  .hl { background-size: 100% 100%; }
}


/* ───────── Phone-only refinements (desktop untouched) ───────── */
.m-only { display: none; }
@media (max-width: 768px) {
  /* solid menu bar so content doesn't show through it */
  .navbar { height: 64px; background: rgba(var(--paper-rgb), 0.97); border-bottom: 1px solid var(--line); }
  .navbar.on-pink { background: rgba(250, 210, 207, 0.97); }
  .nav-wordmark { font-size: 1.2rem; }

  /* pink highlights: give lines room so the bar never clips the line above */
  h2:has(.hl), h2[data-highlight] { line-height: 1.22; }
  .hl { padding-top: 0; padding-bottom: 0.04em; }

  /* "Save me a seat" as a full-width plum pill, like the invite */
  .salon .text-link {
    align-self: stretch; display: block; text-align: center;
    margin-top: 0.4rem; padding: 1.05rem 1.25rem;
    background: var(--accent); color: var(--pink);
    border: 0; border-radius: 999px;
    font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em;
  }
  .salon .text-link:hover, .salon .text-link:active { background: var(--ink); color: var(--paper); }

  /* extra image in "How it goes" */
  .m-only { display: block; }
  .m-img { margin: 0.5rem -1.5rem 0.5rem; }
  .m-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 35% 40%; }
}
@media (max-width: 960px) {
  /* show stacked illustrations right away — no clip animation on small screens */
  [data-reveal-img] { clip-path: none; transition: none; }
  .qb-frame img { transform: none; transition: none; }
  .qb-frame { position: relative; }
}
