:root {
  --ink: #0f0b0a;
  --ink-2: #1a1412;
  --cream: #f4ece2;
  --muted: rgba(244, 236, 226, 0.55);
  --line: rgba(244, 236, 226, 0.14);
  --rose: #f2a7b0;
  --red: #e0455a;
  --bg: var(--ink);
  --fg: var(--cream);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.76, 0, 0.24, 1);
}

body.theme-light {
  --bg: var(--cream);
  --fg: var(--ink);
  --muted: rgba(15, 11, 10, 0.55);
  --line: rgba(15, 11, 10, 0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color 0.8s var(--ease), color 0.8s var(--ease);
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; height: 100vh; }
@media (hover: hover) and (pointer: fine) { body, button, a { cursor: none; } }

::selection { background: var(--red); color: var(--cream); }
em, .italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; height: 100%; object-fit: cover; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow em { text-transform: none; letter-spacing: 0; font-size: 1.5em; color: var(--rose); }

/* ---------- grain + cursor ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); }
  40% { transform: translate(4%, -6%); } 60% { transform: translate(-3%, 7%); } 80% { transform: translate(6%, -2%); }
}

.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 100; display: none; mix-blend-mode: difference; opacity: 0; transition: opacity .4s; }
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255,255,255,.6);
  display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s;
}
.cursor.is-hover .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: #fff; border-color: #fff; }
.cursor__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__label { opacity: 1; }

.click-heart {
  position: fixed; z-index: 95; pointer-events: none; color: var(--red); font-size: 18px;
  animation: floatHeart 1.1s ease-out forwards;
}
@keyframes floatHeart {
  from { transform: translate(-50%, -50%) scale(.4); opacity: 1; }
  to { transform: translate(calc(-50% + var(--dx)), calc(-50% - 90px)) scale(1.2) rotate(var(--r)); opacity: 0; }
}

.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 85; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 80; background: var(--ink); color: var(--cream);
  display: grid; place-items: center;
}
.loader__inner { width: min(560px, 100% - 2 * var(--gutter)); }
.loader__for { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244,236,226,.6); }
.loader__for em { font-size: 1.8em; letter-spacing: 0; text-transform: none; color: var(--rose); }
.loader__count { overflow: hidden; font-family: var(--serif); font-size: clamp(96px, 22vw, 240px); line-height: 1; margin: 8px 0 18px; }
.loader__count span { display: inline-block; }
.loader__bar { height: 1px; background: rgba(244,236,226,.15); }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--rose); transform-origin: left; transform: scaleX(0); }

/* ---------- gate ---------- */
.gate {
  position: fixed; inset: 0; z-index: 70; background: var(--ink-2); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--gutter); gap: 28px;
  background-image: radial-gradient(ellipse at 50% 120%, rgba(224,69,90,.35), transparent 60%);
}
.gate__panel { display: none; flex-direction: column; align-items: center; gap: 28px; }
.gate.is-nokey .gate__nokey, .gate.is-open .gate__open { display: flex; }
.gate__title { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 6.5vw, 86px); line-height: 1.02; }
.gate__title em { color: var(--rose); }
.gate__btn {
  position: relative; width: 132px; height: 132px; border-radius: 50%;
  border: 1px solid rgba(244,236,226,.35); display: grid; place-items: center; overflow: hidden;
}
.gate__btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red);
  transform: scale(0); transition: transform .6s var(--ease);
}
.gate__btn:hover::before { transform: scale(1); }
.gate__btn-text, .gate__btn svg { position: relative; }
.gate__btn-text { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.gate__btn svg { position: absolute; width: 18px; bottom: 30px; fill: var(--rose); animation: beat 1.2s infinite; }
.gate__btn:hover svg { fill: var(--cream); }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } }

/* ---------- nav / chrome ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--gutter); mix-blend-mode: difference; color: #fff;
}
.nav__logo { font-family: var(--serif); font-size: 26px; display: flex; gap: 8px; align-items: center; }
.nav__logo i { font-style: normal; font-size: 14px; color: var(--rose); animation: beat 1.6s infinite; }
.nav__day { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.nav__day b { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: 0; margin-left: 4px; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 61; }
.progress i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

.sound {
  position: fixed; right: var(--gutter); bottom: 24px; z-index: 60; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; gap: 3px; transition: border-color .8s;
}
.sound span { width: 2px; height: 14px; background: var(--fg); transform-origin: bottom; transform: scaleY(.25); transition: background .8s; }
.sound.is-on span { animation: eq 0.9s ease-in-out infinite alternate; }
.sound.is-on span:nth-child(2) { animation-delay: -.3s; }
.sound.is-on span:nth-child(3) { animation-delay: -.6s; }
.sound.is-on span:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.sound.is-hidden { display: none; }

/* ---------- shared section bits ---------- */
.section { padding: clamp(110px, 16vw, 200px) var(--gutter); position: relative; }
.section__head { display: flex; gap: 14px; align-items: baseline; margin-bottom: clamp(28px, 4vw, 48px); }
.num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--red); }
.title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 9.5vw, 150px); line-height: .95; letter-spacing: -0.02em; }
.title > span { display: block; overflow: hidden; padding-bottom: .06em; }
.title > span > span { display: inline-block; }
.title em { color: var(--rose); }
body.theme-light .title em { color: var(--red); }

.line { display: block; overflow: hidden; }
.split .ch { display: inline-block; will-change: transform; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 60px; position: relative;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(224,69,90,.18), transparent 70%);
}
.hero__eyebrow em { font-size: 2em; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(110px, 24vw, 400px); line-height: .82; letter-spacing: -0.045em; margin: 10px 0 0 -0.04em; }
.hero__title .line:nth-child(2) { padding-left: 11vw; color: var(--rose); padding-bottom: .2em; margin-bottom: -.12em; }
.hero__sub { max-width: 340px; color: var(--muted); font-size: 15px; margin-top: 24px; align-self: flex-end; }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 60px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--fg); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; }
.marquee__track { display: flex; width: max-content; }
.marquee__track span { font-family: var(--serif); font-size: clamp(40px, 6vw, 84px); white-space: nowrap; padding-right: .6em; }
.marquee__track span:nth-child(even) { font-style: italic; color: var(--rose); }

/* ---------- letter ---------- */
.letter__body { max-width: 1100px; }
.letter__body p { font-family: var(--serif); font-size: clamp(28px, 4.2vw, 60px); line-height: 1.12; margin-bottom: .8em; }
.letter__body .w { opacity: .14; }
.letter__sign { margin-top: 48px; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.letter__sign em { font-size: 2.6em; letter-spacing: 0; text-transform: none; color: var(--rose); }

/* ---------- stats ---------- */
.clock { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); }
.clock div { padding: 24px 0; border-right: 1px solid var(--line); text-align: center; }
.clock div:last-child { border-right: 0; }
.clock b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 7vw, 110px); line-height: 1; font-variant-numeric: tabular-nums; }
.clock span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 36px 20px 28px 0; border-right: 1px solid var(--line); }
.stat:not(:first-child) { padding-left: 20px; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6vw, 96px); line-height: 1; color: var(--rose); }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- journey ---------- */
.journey { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 160px) 0 80px; }
.journey__intro { flex-shrink: 0; }
.journey__hint { margin-top: 18px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.journey__track { display: flex; gap: clamp(24px, 4vw, 64px); padding: 0 var(--gutter); width: max-content; }
.jcard { width: clamp(300px, 34vw, 520px); flex-shrink: 0; }
.jcard__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.jcard__idx { font-family: var(--serif); font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--rose); }
.jcard__month { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.jcard__media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; position: relative; background: var(--ink-2); }
.jcard__media > * { position: absolute; top: 0; left: -10%; width: 120%; height: 100%; }
.jcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0,0,0,.35)); pointer-events: none; }
.jcard__title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 46px); line-height: 1.05; margin: 18px 0 8px; }
.jcard__text { color: var(--muted); font-size: 15px; max-width: 42ch; }
.journey__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; height: 1px; background: var(--line); }

@media (min-width: 900px) {
  .journey { height: 100vh; padding: 0; display: flex; align-items: center; }
  .journey__track { align-items: center; }
  .journey__intro { width: 38vw; margin-right: 4vw; }
  .journey__intro .title { font-size: clamp(56px, 7vw, 120px); }
  .jcard { width: calc(min(56vh, 600px) * .8); }
  .jcard:nth-child(odd) { margin-top: 10vh; }
  .jcard:nth-child(even) { margin-top: -6vh; }
  .jcard__media { height: min(56vh, 600px); aspect-ratio: auto; }
  .jcard__title { font-size: clamp(26px, 2.4vw, 38px); margin-top: 14px; }
  .jcard__text { font-size: 14px; }
}
.journey__bar i { display: block; height: 100%; background: var(--rose); transform-origin: left; transform: scaleX(0); }

/* placeholder for missing media */
.ph {
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; gap: 4px;
  background:
    radial-gradient(circle at 30% 25%, rgba(242,167,176,.55), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(224,69,90,.5), transparent 55%),
    #2a1d1b;
  color: var(--cream);
}
.ph b { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 28px; line-height: 1; }
.ph small { font-size: 11px; opacity: .7; letter-spacing: .04em; }
.ph-heart { position: absolute; top: 18px; right: 18px; font-size: 18px; opacity: .8; }

/* ---------- reasons ---------- */
.reasons { min-height: 100svh; }
.reasons__stage { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 5vw, 80px); align-items: center; margin-top: clamp(40px, 6vw, 80px); }
.reasons__card { border-top: 1px solid var(--line); padding-top: 28px; min-height: 260px; perspective: 800px; }
.reasons__idx { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.reasons__text { font-family: var(--serif); font-size: clamp(34px, 5vw, 76px); line-height: 1.05; margin-top: 14px; max-width: 18ch; }
.reasons__btn {
  width: clamp(130px, 16vw, 200px); aspect-ratio: 1; border-radius: 50%; background: var(--red);
  display: grid; place-items: center; box-shadow: 0 30px 60px -20px rgba(224,69,90,.6); transition: transform .3s;
}
.reasons__btn:active { transform: scale(.94); }
.reasons__btn svg { width: 38%; fill: var(--cream); animation: beat 1.4s infinite; }

/* ---------- gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.gcol { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 28px); }
.gcol:nth-child(2) { margin-top: 120px; }
.gitem { position: relative; overflow: hidden; border-radius: 6px; background: var(--ink-2); }
.gitem:nth-child(3n+1) { aspect-ratio: 3 / 4; }
.gitem:nth-child(3n+2) { aspect-ratio: 1 / 1; }
.gitem:nth-child(3n+3) { aspect-ratio: 4 / 5; }
.gitem > img, .gitem > video, .gitem > .ph { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.gitem:hover > img, .gitem:hover > video, .gitem:hover > .ph { transform: scale(1.06); }
.gitem figcaption {
  position: absolute; left: 14px; bottom: 12px; z-index: 2; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--cream);
  transform: translateY(120%); transition: transform .6s var(--ease);
}
.gitem:hover figcaption { transform: none; }
.gitem::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.5)); opacity: 0; transition: opacity .6s; }
.gitem:hover::after { opacity: 1; }
.gitem .ph b { display: none; }
.gitem .ph { justify-content: flex-start; }

/* ---------- promises ---------- */
.promises__list { list-style: none; margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.promise {
  position: relative; display: flex; gap: clamp(16px, 4vw, 60px); align-items: baseline; padding: clamp(22px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.promise::before {
  content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease); z-index: -1;
}
.promise:hover::before { transform: scaleY(1); }
.promise > * { transition: transform .6s var(--ease), color .4s; }
.promise:hover > * { transform: translateX(16px); color: var(--cream); }
.promise__n { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--red); min-width: 2ch; }
.promise__t { font-family: var(--serif); font-size: clamp(28px, 4.4vw, 68px); line-height: 1.05; }
.promises__list { position: relative; z-index: 0; }

/* ---------- final ---------- */
.final {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 120px var(--gutter); position: relative;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(224,69,90,.3), transparent 70%);
}
.final .section__head { justify-content: center; }
.final__q { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 9vw, 140px); line-height: .98; max-width: 12ch; }
.final__btns { display: flex; gap: 20px; margin-top: 56px; align-items: center; justify-content: center; min-height: 80px; }
.final__yes, .final__no { height: 64px; padding: 0 40px; border-radius: 999px; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.final__yes { background: var(--red); color: var(--cream); transition: transform .4s var(--ease); box-shadow: 0 20px 50px -18px rgba(224,69,90,.8); }
.final__no { border: 1px solid var(--line); transition: transform .35s var(--ease), left .35s var(--ease), top .35s var(--ease); }
.final__no.is-loose { position: fixed; z-index: 65; background: var(--bg); }

/* ---------- after ---------- */
.after {
  position: fixed; inset: 0; z-index: 75; background: var(--red); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--gutter); gap: 18px;
  clip-path: circle(0% at 50% 50%); pointer-events: none; overflow-y: auto;
}
.after.is-open { pointer-events: auto; }
.after .eyebrow { color: rgba(244,236,226,.75); }
.after .eyebrow em { color: var(--cream); }
.after__big { font-family: var(--serif); font-weight: 400; font-size: clamp(80px, 18vw, 280px); line-height: .9; overflow: hidden; padding-bottom: .1em; }
.after__msg { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.2; max-width: 30ch; }
.after__from { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.after__replay { margin-top: 18px; padding: 14px 26px; border: 1px solid rgba(244,236,226,.5); border-radius: 999px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.after__replay:hover { background: var(--cream); color: var(--red); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 78; background: rgba(10,7,6,.94); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 70px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__media { max-width: min(1100px, 100%); max-height: 78vh; display: flex; justify-content: center; }
.lightbox__media img, .lightbox__media video { width: auto; height: auto; max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 6px; }
.lightbox__media .ph { width: min(420px, 80vw); aspect-ratio: 4/5; border-radius: 6px; position: relative; }
.lightbox__cap { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--cream); }
.lightbox__close { position: absolute; top: 20px; right: var(--gutter); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(244,236,226,.3); color: var(--cream); }

/* ---------- mobile ---------- */
@media (max-width: 899px) {
  .journey__track { flex-direction: column; width: auto; gap: 64px; }
  .jcard { width: 100%; }
  .jcard__media > * { left: 0; width: 100%; }
  .journey__hint, .journey__bar { display: none; }
  .journey__intro { padding: 0 0 16px; }
  .journey__track { padding: 0 var(--gutter); }
  .clock, .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .clock div:nth-child(2) { border-right: 0; }
  .clock div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat { padding: 28px 14px !important; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gcol:nth-child(2) { margin-top: 60px; }
  .reasons__stage { grid-template-columns: 1fr; justify-items: start; }
  .gitem figcaption { transform: none; font-size: 18px; }
  .gitem::after { opacity: 1; }
  .final__btns { flex-direction: column; }
  .hero__sub { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .nav__logo i, .gate__btn svg, .reasons__btn svg { animation: none; }
  .letter__body .w { opacity: 1; }
}
.jcard__media .ph { padding-left: calc(8% + 18px); }
.jcard__media .ph .ph-heart { right: calc(8% + 18px); }

/* encrypted media still decrypting: soft shimmer, then fade the photo in */
.jcard__media, .gitem {
  background: linear-gradient(110deg, #1d1513 30%, #2b1f1c 50%, #1d1513 70%) 0 0 / 200% 100%;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.jcard__media img, .gitem img, .jcard__media video, .gitem video { transition: opacity .6s ease; }
[data-enc-src] { opacity: 0; }

/* ---------- phones: polish ---------- */
@media (max-width: 899px) {
  /* solid fade behind the top bar so it never sits on top of headings */
  .nav {
    mix-blend-mode: normal; color: var(--fg); padding-top: calc(14px + env(safe-area-inset-top)); padding-bottom: 26px;
    background: linear-gradient(var(--bg) 55%, transparent); transition: background .8s, color .8s;
  }
  .nav__logo { font-size: 22px; }
  .reasons { min-height: auto; }
  .reasons__stage { justify-items: center; gap: 36px; margin-top: 28px; }
  .reasons__card { width: 100%; min-height: 200px; }
  .sound { width: 40px; height: 40px; bottom: calc(16px + env(safe-area-inset-bottom)); right: 12px; }
  .section { padding-top: 96px; padding-bottom: 96px; }
  .final__q { font-size: clamp(44px, 13vw, 64px); }
  .after__msg { font-size: 20px; }
  .lightbox { padding-top: calc(70px + env(safe-area-inset-top)); }
}

/* ---------- keep photos and videos from being saved ---------- */
img, video {
  pointer-events: none; /* long-press / right-click lands on the frame, not the file */
  -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.jcard__media, .gitem, .lightbox__media { -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
video::-webkit-media-controls-download-button { display: none; }
.lightbox__media { position: relative; cursor: pointer; }
.lightbox__tap {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px;
  background: rgba(0,0,0,.45); color: var(--cream); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; pointer-events: none;
}
@media print {
  body > * { display: none !important; }
  body::after { content: "This one's just for you ♥"; display: block; padding: 40px; font: 24px serif; }
}
