/*
 * Meri Duniya — A Whole Website, Made For You (Boyfriend Day family).
 * Midnight plum for the opening and the closing, paper for the sections,
 * rose for everything he can touch. Fraunces + Inter (linked in the head).
 * Every motion collapses under prefers-reduced-motion.
 */
:root {
  --plum: #1C1420;
  --plum-2: #2A1D30;
  --paper: #FFFAFC;
  --rose: #E0457B;
  --cream: #FBF3EC;
  --deep: #9C2A5C;
  --ink: #2A1E2C;
  --muted: #7A6A78;
  --line: rgba(42, 30, 44, .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 5vw, 40px);
  --p: 0;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.md-locked { overflow: hidden; height: 100%; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

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

/* ================= progress: bar + filling heart ================= */
.md-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 50;
  background: rgba(224, 69, 123, .14);
}
.md-progress span {
  display: block; height: 100%; width: calc(var(--p) * 100%);
  background: linear-gradient(90deg, var(--rose), #F07AA2);
  transition: width .15s linear;
}
.md-fill {
  position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom));
  width: 38px; height: 38px; z-index: 50;
  filter: drop-shadow(0 6px 14px rgba(156, 42, 92, .28));
  opacity: 0; transition: opacity .6s var(--ease);
}
body.md-in .md-fill { opacity: 1; }
.md-fill svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.md-fill__line path { fill: rgba(255, 250, 252, .92); stroke: var(--rose); stroke-width: 1.6; }
.md-fill__solid path { fill: var(--rose); }
.md-fill__solid { clip-path: inset(calc((1 - var(--p)) * 100%) 0 0 0); transition: clip-path .2s linear; }

/* ================= 0 · the opening ================= */
.md-open {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  padding: var(--gutter);
  background: radial-gradient(90% 70% at 50% 40%, #2C1E31 0%, var(--plum) 70%);
  color: var(--cream); text-align: center;
  transition: opacity .6s var(--ease), visibility 0s .6s;
}
.md-open.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }
.md-open__heart { width: 108px; height: 108px; }
.md-open__heart svg { width: 100%; height: 100%; overflow: visible; }
.md-open__heart path {
  fill: none; stroke: #F4A8BE; stroke-width: 1.1; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(240, 122, 162, .85)) drop-shadow(0 0 18px rgba(224, 69, 123, .45));
}
/* One heartbeat — lub-dub — finished by 1.2s. */
.md-open__heart svg { animation: md-beat 1.2s var(--ease) both; transform-origin: 50% 55%; }
@keyframes md-beat {
  0%   { transform: scale(.82); opacity: 0; }
  18%  { transform: scale(1.06); opacity: 1; }
  32%  { transform: scale(.96); }
  48%  { transform: scale(1.12); }
  70%  { transform: scale(.98); }
  100% { transform: scale(1); opacity: 1; }
}
.md-open__hey {
  margin: 0; max-width: 18ch; text-wrap: balance;
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 7vw, 3rem); line-height: 1.18;
  font-variation-settings: 'opsz' 96;
  animation: md-rise .8s var(--ease) 1.2s both;
}
.md-open__hey em { font-style: italic; font-weight: 400; color: #FFD9E4; }
.md-open__enter {
  appearance: none; border: 1px solid rgba(244, 168, 190, .55); border-radius: 999px;
  background: rgba(224, 69, 123, .14); color: var(--cream);
  padding: 14px 30px; min-height: 48px; cursor: pointer;
  font-size: .78rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  animation: md-rise .7s var(--ease) 2.1s both;
  transition: background .25s, transform .25s var(--ease);
}
.md-open__enter:hover { background: rgba(224, 69, 123, .28); }
.md-open__enter:active { transform: scale(.97); }
@keyframes md-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ================= hero ================= */
.md-hero {
  min-height: 88vh; min-height: 88svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 72px var(--gutter) 56px; text-align: center;
  background: linear-gradient(180deg, var(--plum) 0%, #3A2438 58%, var(--paper) 100%);
  color: var(--cream);
}
.md-hero__eyebrow { margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #F4A8BE; }
.md-hero__name {
  margin: 14px 0 6px; max-width: 12ch; overflow-wrap: anywhere;
  font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 15vw, 6.5rem); line-height: 1;
  font-variation-settings: 'opsz' 144; letter-spacing: -.02em;
}
.md-hero__sub { margin: 0; font-family: var(--serif); font-size: clamp(1.1rem, 4vw, 1.5rem); color: #FFD9E4; }
.md-hero__sub em { font-style: italic; }
.md-hero__cue {
  margin-top: 48px; font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--deep);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.md-hero__cue::after { content: ''; width: 1px; height: 36px; background: linear-gradient(var(--deep), transparent); animation: md-cue 2s ease-in-out infinite; }
@keyframes md-cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); } }

/* ================= sections ================= */
.md-sec { padding: clamp(64px, 12vw, 120px) var(--gutter); max-width: 1040px; margin: 0 auto; }
.md-sec__head { text-align: center; margin-bottom: clamp(32px, 6vw, 56px); }
.md-num {
  display: inline-block; font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--rose);
  border-bottom: 1px solid currentColor; padding-bottom: 2px; margin-bottom: 14px;
}
.md-kicker { margin: 0 0 6px; font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.md-sec__head h2 {
  margin: 0; font-family: var(--serif); font-weight: 400; color: var(--deep);
  font-size: clamp(2.1rem, 8vw, 3.4rem); line-height: 1.05; letter-spacing: -.01em; font-variation-settings: 'opsz' 120;
}

.md-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.md-reveal.is-in { opacity: 1; transform: none; }

/* ================= 1 · the letter ================= */
.md-env { position: relative; display: grid; max-width: 620px; margin: 0 auto; }
.md-env > * { grid-area: 1 / 1; }
.md-letter {
  visibility: hidden; max-height: 420px; overflow: hidden;
}
.md-env.is-torn .md-letter, .md-env.is-open .md-letter { visibility: visible; }
.md-env.is-open .md-letter { max-height: none; overflow: visible; }
.md-letter__paper {
  position: relative; background: #FFFDF9; border-radius: 6px;
  padding: clamp(28px, 7vw, 56px) clamp(22px, 6vw, 52px) clamp(34px, 7vw, 56px);
  box-shadow: 0 1px 0 rgba(42, 30, 44, .04), 0 28px 60px -34px rgba(76, 28, 60, .45);
  background-image: repeating-linear-gradient(180deg, transparent 0 33px, rgba(156, 42, 92, .07) 33px 34px);
  background-position: 0 14px;
}
.md-letter__to { margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.35rem; color: var(--deep); }
.md-letter__body p, .md-sr p { margin: 0 0 1em; }
.md-letter__body {
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.08rem, 3.8vw, 1.22rem); line-height: 1.75;
  color: #3A2A38; white-space: normal; overflow-wrap: anywhere; min-height: 3em;
}
.md-letter__body.is-typing { cursor: pointer; }
.md-caret { display: inline-block; width: 1px; height: 1.1em; margin-left: 1px; vertical-align: -.15em; background: var(--rose); animation: md-caret .9s steps(1) infinite; }
@keyframes md-caret { 50% { opacity: 0; } }
.md-letter__sign { margin-top: 26px; text-align: right; font-family: var(--serif); }
.md-letter__closing { margin: 0; font-style: italic; color: var(--muted); }
.md-letter__from { margin: 4px 0 0; font-size: 1.5rem; color: var(--deep); font-style: italic; }
.md-skip {
  position: absolute; right: 14px; top: 12px; appearance: none; border: 0; background: rgba(224, 69, 123, .1);
  color: var(--deep); border-radius: 999px; padding: 7px 14px; min-height: 34px; cursor: pointer;
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}

.md-env__cover {
  position: relative; z-index: 2; appearance: none; border: 0; padding: 0; cursor: pointer;
  width: 100%; aspect-ratio: 7 / 5; min-height: 300px; align-self: start;
  border-radius: 8px; overflow: hidden;
  background: linear-gradient(160deg, #F6E3E8 0%, #EFCFD9 100%);
  box-shadow: 0 30px 60px -32px rgba(76, 28, 60, .55), inset 0 0 0 1px rgba(156, 42, 92, .12);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  /* The tear: a jagged edge sweeping from top to bottom, 600ms, ease-out, once. */
  clip-path: polygon(0% 0%, 8% 0%, 16% 0%, 24% 0%, 32% 0%, 40% 0%, 48% 0%, 56% 0%, 64% 0%, 72% 0%, 80% 0%, 88% 0%, 100% 0%, 100% 100%, 0% 100%);
  transition: clip-path 600ms cubic-bezier(0, 0, .2, 1);
}
.md-env.is-torn .md-env__cover {
  clip-path: polygon(0% 104%, 8% 110%, 16% 102%, 24% 111%, 32% 103%, 40% 109%, 48% 101%, 56% 110%, 64% 104%, 72% 112%, 80% 102%, 88% 109%, 100% 103%, 100% 112%, 0% 112%);
}
.md-env.is-open .md-env__cover { display: none; }
.md-env__flap {
  position: absolute; inset: 0 0 auto 0; height: 58%;
  background: linear-gradient(180deg, #F2D2DC, #E8BCCB);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  box-shadow: inset 0 -1px 0 rgba(156, 42, 92, .1);
}
.md-env__for { position: absolute; left: 0; right: 0; bottom: 46px; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--deep); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 16px; }
.md-env__for em { font-size: 1.4rem; }
.md-env__seal {
  position: absolute; left: 50%; top: 52%; width: clamp(84px, 20vw, 118px); height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 8px 14px rgba(76, 20, 40, .35));
}
.md-env__hint {
  position: absolute; bottom: 18px; left: 0; right: 0;
  font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--deep);
  animation: md-pulse 2.2s ease-in-out infinite;
}
@keyframes md-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ================= 2 · our story ================= */
.md-tl { list-style: none; margin: 0 auto; padding: 0 0 0 28px; position: relative; max-width: 880px; }
.md-tl::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--rose), rgba(224, 69, 123, .15)); border-radius: 2px; }
.md-tl__item { position: relative; display: grid; gap: 14px; margin-bottom: 44px; }
.md-tl__item:last-child { margin-bottom: 0; }
.md-tl__dot { position: absolute; left: -27px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--rose); }
.md-tl__photo { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream); box-shadow: 0 18px 40px -28px rgba(76, 28, 60, .5); }
.md-tl__photo img { width: 100%; height: 100%; object-fit: cover; }
.md-tl__card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.md-tl__card[data-expandable] { cursor: pointer; }
.md-chip {
  display: inline-block; padding: 4px 11px; border-radius: 999px; background: rgba(224, 69, 123, .1); color: var(--deep);
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; margin-bottom: 8px;
}
.md-tl__card h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.25; color: var(--ink); }
.md-tl__cap {
  margin: 8px 0 0; color: #4E3F4C; line-height: 1.6; font-size: .98rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.md-tl__card[aria-expanded="true"] .md-tl__cap { -webkit-line-clamp: unset; display: block; }
.md-tl__more { display: inline-block; margin-top: 8px; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); }
.md-tl__card[aria-expanded="true"] .md-tl__more,
.md-tl__card.is-short .md-tl__more { display: none; }
@media (min-width: 760px) {
  .md-tl { padding: 0; }
  .md-tl::before { left: 50%; transform: translateX(-1px); }
  .md-tl__item { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .md-tl__dot { left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .md-tl__item[data-side="right"] .md-tl__photo { order: 2; }
}

/* ================= placeholders (no photo yet) ================= */
.md-ph { width: 100%; height: 100%; min-height: 160px; display: flex; align-items: center; justify-content: center; }
.md-ph--0 { background: linear-gradient(135deg, #F7D6E0, #E9A8BE); }
.md-ph--1 { background: linear-gradient(135deg, #FBE7D9, #F1BFA6); }
.md-ph--2 { background: linear-gradient(135deg, #E9DDF2, #C9B2DD); }
.md-ph--3 { background: linear-gradient(135deg, #F9DDE3, #D98AA6); }
.md-ph__heart { width: 44px; height: 44px; }
.md-ph__heart path { fill: rgba(255, 255, 255, .7); }

/* ================= 3 · reasons ================= */
.md-badge {
  display: table; margin: -24px auto 36px; padding: 8px 18px; border-radius: 999px;
  background: var(--plum); color: var(--cream); font-size: .78rem; letter-spacing: .08em;
}
.md-badge span { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: #FFB8CD; margin-right: 2px; }
.md-notes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 640px) { .md-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 900px) { .md-notes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.md-notes li { transform: rotate(var(--tilt)); }
.md-notes li.md-reveal { transform: translateY(18px) rotate(var(--tilt)); }
.md-notes li.md-reveal.is-in { transform: rotate(var(--tilt)); }
.md-note {
  appearance: none; border: 0; padding: 0; background: none; cursor: pointer; width: 100%;
  aspect-ratio: 1 / 1; perspective: 900px; display: block;
}
.md-note__inner {
  position: relative; display: block; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform .6s var(--ease);
}
.md-note[aria-pressed="true"] .md-note__inner { transform: rotateY(180deg); }
.md-note__front, .md-note__back {
  position: absolute; inset: 0; border-radius: 4px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px;
  box-shadow: 0 14px 24px -16px rgba(76, 28, 60, .55), inset 0 -18px 30px -24px rgba(0, 0, 0, .12);
}
.md-note__front::before, .md-note__back::before {
  content: ''; position: absolute; top: -9px; left: 50%; width: 46%; height: 18px; transform: translateX(-50%) rotate(-2deg);
  background: rgba(255, 255, 255, .55); box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}
.md-note--0 .md-note__front, .md-note--0 .md-note__back { background: #FFE7A8; }
.md-note--1 .md-note__front, .md-note--1 .md-note__back { background: #FFD3DF; }
.md-note--2 .md-note__front, .md-note--2 .md-note__back { background: #FBF3EC; }
.md-note__front b { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.9rem; color: var(--deep); }
.md-note__front svg { width: 22px; height: 22px; margin: 6px 0; }
.md-note__front svg path { fill: var(--rose); }
.md-note__front small { font-size: .6rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.md-note__back {
  transform: rotateY(180deg);
  font-family: var(--serif); font-size: clamp(.86rem, 3.3vw, 1.02rem); line-height: 1.38; color: var(--ink);
  overflow: hidden; overflow-wrap: anywhere;
}

/* ================= 4 · numbers ================= */
.md-stats { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.md-stats--1 { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin: 0 auto; }
@media (min-width: 760px) {
  .md-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md-stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.md-stat {
  background: var(--cream); border-radius: 18px; padding: 26px 16px 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.md-stats--3 .md-stat:first-child { grid-column: 1 / -1; }
@media (min-width: 760px) { .md-stats--3 .md-stat:first-child { grid-column: auto; } }
.md-stat__val {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1; color: var(--deep);
  font-variant-numeric: tabular-nums lining-nums; font-variation-settings: 'opsz' 144; overflow-wrap: anywhere;
}
.md-stat__lbl { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.md-stat__since { font-family: var(--serif); font-style: italic; font-size: .9rem; color: var(--muted); }

/* ================= 5 · gallery (full-bleed) ================= */
.md-sec--gallery { max-width: none; padding-left: 0; padding-right: 0; }
.md-gal { position: relative; }
.md-gal__track {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.md-gal__track::-webkit-scrollbar { display: none; }
.md-slide {
  position: relative; flex: 0 0 min(86vw, 720px); margin: 0; scroll-snap-align: center;
  aspect-ratio: 4 / 5; max-height: 78vh; border-radius: 18px; overflow: hidden; background: var(--plum);
}
@media (min-width: 760px) { .md-slide { aspect-ratio: 3 / 2; } }
.md-slide img, .md-slide .md-ph { width: 100%; height: 100%; object-fit: cover; }
.md-slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px;
  background: linear-gradient(transparent, rgba(28, 20, 32, .78));
  color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.35;
}
.md-gal__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.md-gal__btn {
  appearance: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--deep); font-size: 1.6rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.md-gal__btn:disabled { opacity: .35; cursor: default; }
.md-gal__count { font-family: var(--serif); font-style: italic; color: var(--muted); min-width: 4ch; text-align: center; }
.md-song {
  display: flex; align-items: center; gap: 14px; max-width: 460px; margin: 32px auto 0; width: calc(100% - 2 * var(--gutter));
  padding: 14px 18px; border-radius: 16px; background: var(--plum); color: var(--cream); text-decoration: none;
}
a.md-song:hover .md-song__disc { animation-duration: 1.4s; }
.md-song__disc, .md-song .md-song-disc {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle, var(--rose) 0 18%, #111 19% 22%, #2A2A2A 23% 60%, #111 61% 100%);
  animation: md-spin 6s linear infinite;
}
@keyframes md-spin { to { transform: rotate(360deg); } }
.md-song__text, .md-song .md-song-text { display: flex; flex-direction: column; min-width: 0; }
.md-song__text small, .md-song .md-song-text small { font-size: .62rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: #F4A8BE; }
.md-song__text b, .md-song .md-song-text b { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-song__play { margin-left: auto; flex: none; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #FFD9E4; }

/* inline song player — YouTube links play right here, never a redirect */
.md-song-embedwrap {
  display: flex; flex-direction: column; gap: 0; max-width: 460px; margin: 32px auto 0;
  width: calc(100% - 2 * var(--gutter)); padding: 14px 18px 16px; border-radius: 16px; background: var(--plum); color: var(--cream);
}
.md-song-embedwrap__head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.md-song-embedwrap .md-song-disc { flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle, var(--rose) 0 18%, #111 19% 22%, #2A2A2A 23% 60%, #111 61% 100%);
  animation: md-spin 6s linear infinite; }
.md-song-embedwrap__head .md-song-text { display: flex; flex-direction: column; min-width: 0; }
.md-song-embedwrap__head .md-song-text small { font-size: .62rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: #F4A8BE; }
.md-song-embedwrap__head .md-song-text b { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-song-play {
  appearance: none; position: relative; display: flex; align-items: center; justify-content: center; width: 100%;
  aspect-ratio: 16 / 9; margin-top: 14px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer;
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 168, 190, .35) 0 8%, transparent 9%),
    linear-gradient(160deg, #3A2438 0%, #241426 60%, #1C1420 100%);
}
.md-song-play__frame, .md-song-play .song-play__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.md-song-play__frame iframe, .md-song-play .song-play__frame iframe { width: 100%; height: 100%; border: 0; }
.md-song-play__cue { position: relative; z-index: 1; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #FFD9E4; }
.md-song-play.is-playing .md-song-play__cue, .md-song-play.is-playing .song-play__cue { display: none; }
.md-song--pill { cursor: pointer; }
.md-song--pill:hover .md-song__disc { animation-duration: 1.2s; }

/* ================= 6 · the question ================= */
.md-sec--question {
  max-width: none; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(90% 70% at 50% 30%, #2C1E31 0%, var(--plum) 72%); color: var(--cream);
  padding-bottom: 48px;
}
.md-sec--question .md-sec__head { margin-bottom: 18px; }
.md-sec--question .md-kicker { font-family: var(--serif); font-style: italic; font-size: 1.3rem; letter-spacing: 0; text-transform: none; font-weight: 300; color: #F4A8BE; }
.md-q {
  margin: 0 auto 40px; max-width: 18ch; overflow-wrap: anywhere; text-wrap: balance;
  font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 8vw, 3.6rem); line-height: 1.12; color: #FFF4F7;
  font-variation-settings: 'opsz' 144;
}
.md-yes {
  appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; min-height: 52px; border-radius: 999px; background: var(--rose); color: #fff;
  font-size: 1rem; font-weight: 600; letter-spacing: .02em;
  box-shadow: 0 16px 36px -16px rgba(224, 69, 123, .8);
  transition: transform .25s var(--ease), opacity .4s var(--ease);
}
.md-yes svg { width: 18px; height: 18px; }
.md-yes svg path { fill: #fff; }
.md-yes:active { transform: scale(.97); }
.md-yes.is-said { opacity: 0; transform: scale(.9); pointer-events: none; }
.md-promise {
  max-width: 34rem; margin: 0 auto; opacity: 0; visibility: hidden; max-height: 0; overflow: hidden;
  transition: opacity .9s var(--ease) .2s, max-height .9s var(--ease);
}
.md-promise.is-open { opacity: 1; visibility: visible; max-height: 60rem; margin-top: -40px; }
.md-promise p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.15rem, 4.4vw, 1.45rem); line-height: 1.6; color: #FFE6EE; }
.md-promise .md-promise__from { margin-top: 16px; font-size: 1.3rem; color: #F4A8BE; }
.md-end { margin-top: 64px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.md-end__seal { width: 64px; height: 64px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .4)); }
.md-end p { margin: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(251, 243, 236, .6); }
.md-end a { color: #F4A8BE; text-decoration: none; border-bottom: 1px solid rgba(244, 168, 190, .4); }

/* ================= reduced motion ================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .md-reveal { opacity: 1; transform: none; }
  .md-notes li.md-reveal { transform: rotate(var(--tilt)); }
  .md-gal__track { scroll-behavior: auto; }
}

/* focus moved here by script (headings, the promise, the sheet) — no ring */
[tabindex="-1"]:focus { outline: none; }
