/* =============================================================
   Жаным, 20 — стили
   mobile-first: база под iPhone (375–430px), дальше @media
   ============================================================= */

:root {
  --cream: #f7f1ea;
  --milk: #fbf8f4;
  --paper: #fffdf9;
  --ink: #161213;
  --ink-soft: #4a3f40;
  --muted: #8c7d7c;
  --pink: #f3d6d8;
  --pink-deep: #e7b8bc;
  --burgundy: #6b1d2a;
  --wine: #3d0d16;
  --red: #a3343f;
  --night: #120a0c;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-soft: cubic-bezier(.4, .1, .2, 1);
  --gutter: max(20px, env(safe-area-inset-left));
  --shadow: 0 1px 1px rgba(40, 10, 15, .05), 0 14px 34px -14px rgba(40, 10, 15, .35);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--cream);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; height: 100%; }

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, figure { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 4px; border-radius: 4px; }

.hand { font-family: var(--hand); font-weight: 400; }

.main {
  overflow-x: hidden;
  overflow-x: clip;
  opacity: 0;
  transition: opacity 1.2s var(--ease-soft);
}
body:not(.is-locked) .main { opacity: 1; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 680px; }

.eyebrow {
  font: 500 11px/1.4 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--light { color: rgba(247, 241, 234, .55); }

.section-head { margin-bottom: 48px; position: relative; }
.section-title {
  margin-top: 14px;
  font: 500 clamp(2.6rem, 11.5vw, 5rem)/.98 var(--serif);
  letter-spacing: -.015em;
}
.section-lead {
  margin-top: 16px;
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---------- плёночное зерно и прогресс ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .085;
  transform: translateZ(0);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  transition: opacity 1.6s var(--ease-soft);
}
body.is-night .grain { opacity: .045; }

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 150;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--pink-deep), var(--burgundy));
  transform-origin: 0 50%;
  transform: scaleX(0);
}
body.is-night .progress span { background: linear-gradient(90deg, var(--burgundy), var(--pink)); opacity: .6; }

/* ---------- световые пятна ---------- */
.leak {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
}
.leak--a {
  width: 120vw; height: 120vw; max-width: 900px; max-height: 900px;
  top: -40vw; right: -50vw;
  background: radial-gradient(circle, rgba(243, 214, 216, .95) 0%, rgba(243, 214, 216, 0) 62%);
  animation: drift 18s var(--ease-soft) infinite alternate;
}
.leak--b {
  width: 90vw; height: 90vw; max-width: 700px; max-height: 700px;
  bottom: -20vw; left: -45vw;
  background: radial-gradient(circle, rgba(214, 120, 110, .22) 0%, rgba(214, 120, 110, 0) 65%);
  animation: drift 22s var(--ease-soft) infinite alternate-reverse;
}
.leak--c {
  width: 140vw; height: 140vw; max-width: 1100px; max-height: 1100px;
  top: 50%; left: 50%;
  margin: -70vw 0 0 -70vw;
  background: radial-gradient(circle, rgba(243, 214, 216, .9) 0%, rgba(243, 214, 216, 0) 60%);
}
@media (min-width: 786px) { .leak--c { margin: -550px 0 0 -550px; } }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-6%, 5%, 0) scale(1.08); }
}

/* =============================================================
   ИНТРО
   ============================================================= */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  height: 100vh;
  height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--milk);
  padding: max(24px, env(safe-area-inset-top)) var(--gutter) max(24px, env(safe-area-inset-bottom));
  transition: opacity 1.3s var(--ease-soft), visibility 1.3s;
}
.intro__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 30% at 70% 22%, rgba(243, 214, 216, .9), transparent 70%),
    radial-gradient(45% 35% at 20% 85%, rgba(231, 184, 188, .45), transparent 70%);
  animation: drift 14s var(--ease-soft) infinite alternate;
}
.intro__content {
  position: relative;
  text-align: center;
  max-width: 420px;
  animation: introIn 1.6s var(--ease) both .2s;
  transition: opacity .7s var(--ease-soft), filter .7s var(--ease-soft);
}
@keyframes introIn {
  from { opacity: 0; filter: blur(8px); transform: translateY(14px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
.intro__eyebrow {
  font: 500 11px/1 var(--sans);
  letter-spacing: .3em;
  color: var(--muted);
  margin-bottom: 26px;
}
.intro__title {
  font: 500 clamp(2.3rem, 10.5vw, 3.6rem)/1.04 var(--serif);
  letter-spacing: -.015em;
}
.intro__sub {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 15px;
}
.intro__slot {
  height: 52px;
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.intro__btn {
  position: relative;
  z-index: 3;
  min-height: 52px;
  min-width: 148px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font: 500 15px/1 var(--sans);
  letter-spacing: .04em;
  box-shadow: 0 10px 30px -12px rgba(22, 18, 19, .55);
  transition: transform .55s var(--ease), background .4s, box-shadow .4s;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.intro__btn.is-tired { background: var(--burgundy); }
.intro__btn:active { box-shadow: 0 4px 16px -8px rgba(22, 18, 19, .5); }
.intro__hint {
  min-height: 2em;
  margin-top: 18px;
  font: 400 1.5rem/1.2 var(--hand);
  color: var(--burgundy);
  opacity: 0;
}
.intro__hint.is-on { animation: hintIn .6s var(--ease) forwards; }
@keyframes hintIn {
  from { opacity: 0; transform: translateY(6px) rotate(-2deg); }
  to { opacity: 1; transform: rotate(-2deg); }
}

.intro__light {
  position: fixed;
  z-index: 4;
  width: 140px; height: 140px;
  margin: -70px 0 0 -70px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, #fffdf9 0%, #fbf3ee 40%, rgba(243, 214, 216, .9) 62%, rgba(243, 214, 216, 0) 72%);
  transform: scale(0);
  opacity: 0;
}
.intro.is-opening .intro__light {
  animation: lightOpen 1.6s var(--ease) forwards;
}
@keyframes lightOpen {
  0% { transform: scale(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: scale(26); opacity: 1; }
}
.intro.is-opening .intro__content { opacity: 0; filter: blur(6px); }
.intro.is-opening .intro__btn { transform: scale(.9) !important; }

.intro__after {
  position: absolute;
  z-index: 5;
  inset: auto 0;
  text-align: center;
  font: italic 500 clamp(1.9rem, 8vw, 2.8rem)/1.1 var(--serif);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
}
.intro.is-after .intro__after { animation: afterIn 1.4s var(--ease) forwards; }
@keyframes afterIn {
  from { opacity: 0; filter: blur(8px); transform: translateY(10px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

/* =============================================================
   ФОТО И ЗАГЛУШКИ
   ============================================================= */
.ph {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 25% 20%, rgba(243, 214, 216, .95), transparent 70%),
    radial-gradient(60% 50% at 85% 90%, rgba(107, 29, 42, .16), transparent 70%),
    #efe5dc;
  aspect-ratio: 4 / 5;
}
.ph--1x1 { aspect-ratio: 1 / 1; }
.ph--4x5 { aspect-ratio: 4 / 5; }
.ph--3x2 { aspect-ratio: 3 / 2; }
.ph--9x16 { aspect-ratio: 9 / 16; }
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--cine { aspect-ratio: 4 / 5; }
@media (min-width: 786px) { .ph--cine { aspect-ratio: 21 / 9; } }

.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s var(--ease-soft);
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}
.ph video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .9s var(--ease-soft);
  pointer-events: none;
}
.ph.is-loaded img, .ph.is-loaded video { opacity: 1; }
.ph picture { display: contents; }

.ph__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(74, 63, 64, .6);
  font: 500 10.5px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: .04em;
  text-align: center;
  padding: 8px;
}
.ph__label svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  opacity: .7;
}

/* ---------- полароид ---------- */
.polaroid {
  display: block;
  background: var(--paper);
  padding: 10px 10px 0;
  box-shadow: var(--shadow);
  transform: rotate(var(--r, 0deg));
}
.polaroid__cap {
  display: block;
  min-height: 46px;
  padding: 8px 4px 10px;
  font: 400 1.35rem/1.15 var(--hand);
  color: var(--ink-soft);
  text-align: center;
}
.polaroid__cap small { font-size: .85em; color: var(--muted); }
.polaroid--sm { max-width: 220px; }

/* =============================================================
   ОБЛОЖКА
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(env(safe-area-inset-top) + 64px) 0 110px;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 1; }
.hero__title {
  margin-top: 22px;
  font: 500 clamp(3.1rem, 15vw, 6.8rem)/.92 var(--serif);
  letter-spacing: -.025em;
}
.hero__title span, .hero__title em { display: block; }
.hero__title em { font-style: italic; font-weight: 400; color: var(--burgundy); padding-left: .5em; }
.hero__lead {
  margin-top: 26px;
  max-width: 32ch;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.hero__collage {
  position: relative;
  margin-top: 46px;
  padding-right: 16%;
}
.hero__frame {
  position: relative;
  box-shadow: var(--shadow);
}
.hero__tag {
  position: absolute;
  top: 12px; left: 12px;
  font: 500 10px/1 var(--sans);
  letter-spacing: .2em;
  color: rgba(255, 253, 249, .9);
  mix-blend-mode: difference;
}
.hero__stamp {
  position: absolute;
  right: 0; top: 12%;
  width: 92px; height: 92px;
  border-radius: 50%;
  border: 1.5px solid var(--burgundy);
  color: var(--burgundy);
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(251, 248, 244, .85);
  transform: rotate(12deg);
}
.hero__stamp span { font: italic 500 2.4rem/1 var(--serif); }
.hero__stamp small { font: 500 9px/1 var(--sans); letter-spacing: .25em; margin-top: 4px; }
.hero__stamp.reveal.in { transform: rotate(12deg); }
.hero__note {
  position: relative;
  margin: 22px -16% 0 auto;
  max-width: 70%;
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--burgundy);
  transform: rotate(-4deg);
  text-align: right;
}
.hero__note.reveal.in { transform: rotate(-4deg); }
.hero__scroll {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(26px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font: 500 10px/1 var(--sans);
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll span {
  width: 1px; height: 34px;
  background: linear-gradient(var(--muted), transparent);
  animation: scrollLine 2.4s var(--ease-soft) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* =============================================================
   ТАЙМЛАЙН
   ============================================================= */
.story { padding: 110px 0 40px; position: relative; }
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 4px; top: 8px; bottom: 0;
  width: 1px;
  background: linear-gradient(rgba(107, 29, 42, .35), rgba(107, 29, 42, .12));
}
.chapter {
  position: relative;
  padding-bottom: 110px;
}
.chapter__dot {
  position: absolute;
  left: -26px; top: 6px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--burgundy);
}
.chapter__meta {
  font: 500 10.5px/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.chapter__date {
  margin-top: 12px;
  font: 500 clamp(2.5rem, 12vw, 4.2rem)/1 var(--serif);
  letter-spacing: -.015em;
}
.chapter__place {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 12px;
  border: 1px solid rgba(107, 29, 42, .3);
  border-radius: 999px;
  font: 500 11px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.chapter__title {
  margin-top: 18px;
  font: italic 500 1.6rem/1.25 var(--serif);
  max-width: 24ch;
}
.chapter__text {
  margin-top: 12px;
  color: var(--ink-soft);
  max-width: 36ch;
}
.chapter__media { position: relative; margin-top: 36px; }
.chapter--polaroid .chapter__media,
.chapter--offset .chapter__media { max-width: 290px; }
.chapter .chapter__media--wide { max-width: none; margin-inline: 0; }
.chapter--offset .chapter__media { margin-left: auto; margin-right: 6px; }
.chapter__note {
  margin-top: 18px;
  font-size: 1.4rem;
  line-height: 1.15;
  color: var(--burgundy);
  transform: rotate(-2deg);
  max-width: 24ch;
}
.chapter__note.reveal.in { transform: rotate(-2deg); }

.chapter__cine {
  position: relative;
  margin-right: calc(-1 * var(--gutter));
  box-shadow: var(--shadow);
}
.chapter__cine-cap {
  position: absolute;
  left: 14px; bottom: 12px;
  font: 500 10px/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, .92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

.chapter--quote .chapter__title {
  font-size: clamp(1.8rem, 7.6vw, 2.6rem);
  line-height: 1.15;
  max-width: 20ch;
}
.chapter--quote .chapter__media { max-width: 230px; margin-left: auto; }

.chapter--minimal { padding-block: 40px 140px; }
.chapter--minimal .chapter__title {
  font-size: 1.35rem;
  color: var(--ink-soft);
  font-style: italic;
}
.heart-wrap { margin-top: 30px; display: flex; align-items: center; gap: 14px; min-height: 48px; }
.heart {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  touch-action: manipulation;
}
.heart svg { width: 22px; height: 22px; fill: var(--red); transition: transform .3s var(--ease); }
.heart:active svg { transform: scale(.88); }
.heart.is-beat svg { animation: beat .7s var(--ease); }
@keyframes beat {
  0% { transform: scale(1); }
  30% { transform: scale(1.3); }
  60% { transform: scale(.95); }
  100% { transform: scale(1); }
}
.heart__phrase { font-size: 1.45rem; color: var(--burgundy); opacity: 0; }
.heart__phrase.is-on { animation: hintIn .6s var(--ease) forwards; }

.chapter--us .chapter__body { position: relative; z-index: 1; }
.chapter__we {
  position: absolute;
  top: -40px; right: -10px;
  font: italic 500 clamp(9rem, 48vw, 18rem)/1 var(--serif);
  color: var(--pink);
  opacity: .75;
  pointer-events: none;
  user-select: none;
}
.chapter--us .chapter__title { font-size: 1.9rem; max-width: 18ch; }

/* ---------- таймер ---------- */
.counter {
  position: relative;
  margin: -20px 0 120px -26px;
  padding: 36px 24px 30px;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}
.counter__label { font: italic 500 1.55rem/1.2 var(--serif); }
.counter__grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.counter__cell { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.counter__cell + .counter__cell { border-left: 1px solid rgba(107, 29, 42, .12); }
.counter__num {
  font: 500 clamp(2rem, 9vw, 3rem)/1 var(--serif);
  color: var(--burgundy);
  font-variant-numeric: lining-nums tabular-nums;
}
.counter__unit {
  font: 500 10px/1.2 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.counter__note {
  margin-top: 22px;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--ink-soft);
}

/* ---------- 3 октября ---------- */
.chapter--final {
  margin-left: -26px;
  padding: 46px 26px 50px;
  background: var(--burgundy);
  color: var(--cream);
  box-shadow: 0 24px 60px -30px rgba(61, 13, 22, .8);
  overflow: hidden;
}
.chapter--final::after {
  content: "20";
  position: absolute;
  right: -10px; bottom: -40px;
  font: italic 500 13rem/1 var(--serif);
  color: rgba(243, 214, 216, .1);
  pointer-events: none;
}
.chapter--final .chapter__dot { display: none; }
.chapter--final .chapter__meta { color: rgba(243, 214, 216, .65); }
.chapter--final .chapter__title { font-size: 2.2rem; font-style: italic; color: var(--pink); }
.chapter--final .chapter__text { color: rgba(247, 241, 234, .85); font-size: 1.05rem; }

/* =============================================================
   МЫ НЕ ОДИНАКОВЫЕ
   ============================================================= */
.same { padding: 120px 0; background: linear-gradient(var(--cream), var(--milk) 30%, var(--cream)); }
.same__lead {
  margin-top: 22px;
  font: 500 clamp(1.9rem, 8vw, 2.8rem)/1.12 var(--serif);
  max-width: 18ch;
}
.same__small { margin-top: 10px; color: var(--ink-soft); }
.same__quote {
  margin-top: 46px;
  font: italic 500 clamp(2.5rem, 12vw, 4.6rem)/1 var(--serif);
  color: var(--burgundy);
  letter-spacing: -.02em;
}
.same__sure {
  margin-top: 10px;
  margin-left: 52%;
  font-size: 1.9rem;
  color: var(--ink-soft);
  transform: rotate(-4deg);
}
.same__sure.reveal.in { transform: rotate(-4deg); }
.same__flip { margin-top: 70px; display: flex; flex-direction: column; align-items: center; }
.flip-wrap { width: min(78vw, 300px); }

.flip {
  display: block;
  width: 100%;
  perspective: 1200px;
  -webkit-perspective: 1200px;
  touch-action: manipulation;
}
.flip__inner {
  position: relative;
  display: block;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 1s var(--ease);
  transform: rotate(-3deg);
}
.flip.is-flipped .flip__inner { transform: rotate(2deg) rotateY(180deg); }
.flip__face {
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.flip__back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  background: var(--paper);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background-image: repeating-linear-gradient(transparent 0 31px, rgba(107, 29, 42, .08) 31px 32px);
}
.flip__quote { font: italic 500 2rem/1.1 var(--serif); color: var(--burgundy); }
.flip__note { font-size: 1.35rem; color: var(--ink-soft); }
.flip__hint { margin-top: 26px; font-size: 1.3rem; color: var(--muted); }

/* =============================================================
   АЛЬБОМ
   ============================================================= */
.album { padding: 110px 0 120px; }
.album__block { margin-top: 90px; }
.album__hint { font-size: 1.35rem; color: var(--burgundy); margin-bottom: 8px; }

.cine-list { display: grid; gap: 50px; }
.cine {
  position: relative;
  margin-inline: calc(-1 * var(--gutter));
  padding: 18px 0;
  background: #0d0809;
}
.cine .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(13, 8, 9, .55));
  pointer-events: none;
}
.cine__corner {
  position: absolute;
  top: 34px; right: 16px;
  z-index: 2;
  font: 500 10px/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, .8);
}
.cine__cap {
  position: absolute;
  left: 20px; right: 20px; bottom: 40px;
  z-index: 2;
  font: italic 500 1.4rem/1.25 var(--serif);
  color: var(--paper);
  max-width: 30ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .3);
}

/* карусель */
.swipe {
  display: flex;
  gap: 22px;
  margin-inline: calc(-1 * var(--gutter));
  padding: 26px max(var(--gutter), calc(50% - 150px)) 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.swipe::-webkit-scrollbar { display: none; }
.swipe__item {
  flex: 0 0 min(72vw, 290px);
  scroll-snap-align: center;
  text-align: left;
  touch-action: pan-x pan-y;
}
.swipe__note {
  display: block;
  margin-top: 16px;
  min-height: 1.4em;
  text-align: center;
  font-size: 1.35rem;
  color: var(--burgundy);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.swipe__item.show-note .swipe__note { opacity: 1; transform: none; }
.swipe-dots { display: flex; justify-content: center; gap: 8px; }
.swipe-dots i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(107, 29, 42, .2);
  transition: background .4s, transform .4s var(--ease);
}
.swipe-dots i.on { background: var(--burgundy); transform: scale(1.25); }

/* стопка */
.stack {
  position: relative;
  height: min(118vw, 520px);
  margin-inline: calc(-1 * var(--gutter));
}
.stack__slot { position: absolute; width: min(58vw, 250px); }
.stack__slot:nth-child(1) { left: 6%; top: 2%; }
.stack__slot:nth-child(2) { right: 6%; top: 24%; }
.stack__slot:nth-child(3) { left: 18%; top: 48%; }
.stack__slot:nth-child(4) { right: 12%; top: 60%; }
.stack__item,
.scrap {
  position: relative;
  transform: translate3d(var(--x, 0), var(--y, 0), 0);
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: filter .3s;
}
.stack__item.is-dragging,
.scrap.is-dragging { cursor: grabbing; filter: drop-shadow(0 18px 24px rgba(40, 10, 15, .18)); }
.stack__item .polaroid { transition: transform .4s var(--ease); }
.stack__item.is-dragging .polaroid { transform: rotate(var(--r)) scale(1.03); }

/* плёнка */
.album__block--film { margin-top: 100px; }
.film {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  transform: rotate(-1.5deg);
  margin-inline: -10px;
}
.film::-webkit-scrollbar { display: none; }
.film.reveal.in { transform: rotate(-1.5deg); }
.film__track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 34px 30px;
  background:
    repeating-linear-gradient(90deg, rgba(247, 241, 234, .82) 0 9px, transparent 9px 22px) left 0 top 11px / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, rgba(247, 241, 234, .82) 0 9px, transparent 9px 22px) left 0 bottom 11px / 100% 9px no-repeat,
    #151011;
}
.film__frame {
  flex: 0 0 min(66vw, 340px);
  scroll-snap-align: center;
}
.film__frame .ph { filter: saturate(.92) contrast(1.03); }
.film__frame figcaption {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  font: 500 10px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .1em;
  color: #d8a35b;
}

/* =============================================================
   SCRAPBOOK
   ============================================================= */
.things {
  padding: 110px 0 130px;
  background:
    radial-gradient(60% 40% at 90% 10%, rgba(243, 214, 216, .5), transparent 70%),
    #f3ece3;
}
.things__head .section-title { max-width: 13ch; padding-right: 40px; }
.things__lead { font-size: 1.7rem; color: var(--burgundy); margin-top: 10px; }
.sticker {
  position: absolute;
  top: 46px; right: -4px;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  touch-action: manipulation;
}
.sticker svg {
  width: 30px; height: 30px;
  fill: var(--pink-deep);
  stroke: var(--burgundy);
  stroke-width: 1;
  transform: rotate(var(--spin, 0deg));
  transition: transform .6s var(--ease), fill .4s;
}
.sticker.is-pop svg { animation: pop .45s var(--ease); }
.sticker.is-unlocked svg { fill: var(--red); }
@keyframes pop { 50% { scale: 1.25; } }
.sticker__dots {
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--burgundy);
}
.things__hint {
  margin: -20px 0 34px;
  font: 500 10.5px/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.board {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px 18px;
  align-items: start;
}
.scrap-slot--ticket, .scrap-slot--wide { grid-column: 1 / -1; }
.scrap-slot--wide { max-width: 520px; width: 100%; justify-self: center; }
.scrap-slot:nth-child(even) { margin-top: 30px; }
.scrap-slot--ticket + .scrap-slot { margin-top: 0; }
.scrap { transform: translate3d(var(--x, 0), var(--y, 0), 0) rotate(var(--r, 0deg)); }
.scrap__tape {
  position: absolute;
  top: -10px; left: 50%;
  width: 66px; height: 20px;
  margin-left: -33px;
  z-index: 2;
  background: rgba(243, 214, 216, .72);
  transform: rotate(-4deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.scrap--ticket .scrap__tape, .scrap--paper .scrap__tape { display: none; }
.scrap__note {
  position: absolute;
  left: -6px; right: -6px;
  top: calc(100% + 6px);
  z-index: 3;
  padding: 6px 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
  font-size: 1.2rem;
  line-height: 1.1;
  color: var(--burgundy);
  text-align: center;
  opacity: 0;
  transform: translateY(-6px) rotate(1.5deg);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}
.scrap.is-open .scrap__note { opacity: 1; transform: rotate(1.5deg); }

.ticket {
  display: flex;
  max-width: 360px;
  margin: 0 auto;
  background: #f6e3d6;
  color: var(--wine);
  box-shadow: var(--shadow);
  -webkit-mask: radial-gradient(circle 9px at 72% 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 9px at 72% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 9px at 72% 0, transparent 98%, #000) top / 100% 51% no-repeat,
        radial-gradient(circle 9px at 72% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket__main {
  flex: 0 0 72%;
  padding: 20px 18px;
  border-right: 1.5px dashed rgba(61, 13, 22, .3);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ticket__label { font: 500 9.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.ticket__title { font: italic 600 1.7rem/1.05 var(--serif); }
.ticket__meta { font: 500 11px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .08em; }
.ticket__stub {
  flex: 1;
  display: grid;
  place-items: center;
}
.ticket__stub span {
  writing-mode: vertical-rl;
  font: 500 11px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .16em;
}

.shot {
  padding: 6px;
  border-radius: 20px;
  background: #1b1517;
  box-shadow: var(--shadow);
}
.shot .ph { border-radius: 15px; }

.parcel {
  position: relative;
  padding: 10px;
  background: #cfb08c;
  background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, .025) 0 2px, transparent 2px 6px);
  box-shadow: var(--shadow);
}
.parcel__stamp {
  position: absolute;
  right: 6px; bottom: 14px;
  padding: 4px 8px;
  border: 1.5px solid var(--red);
  color: var(--red);
  font: 600 9px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: rotate(-8deg);
  background: rgba(246, 227, 214, .85);
}

.paper-note {
  padding: 22px 16px;
  min-height: 150px;
  background: #fff7c9;
  background-image: repeating-linear-gradient(transparent 0 27px, rgba(107, 29, 42, .1) 27px 28px);
  box-shadow: var(--shadow);
  font-size: 1.35rem;
  line-height: 28px;
  color: var(--ink-soft);
}

.scrap-slot--secret {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(64vw, 270px);
  opacity: 0;
  transform: scale(.8) rotate(-8deg);
  filter: blur(6px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
.scrap-slot--secret.is-on { opacity: 1; transform: none; filter: none; }
.secret__badge {
  position: absolute;
  top: -12px; left: -10px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--pink);
  font: 500 9.5px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* =============================================================
   ПРО ТЕБЯ
   ============================================================= */
.you {
  padding: 120px 0 130px;
  background: linear-gradient(#f3ece3, #f7e6e4 40%, var(--cream));
}
.love { display: flex; flex-direction: column; gap: 22px; }
.love__line {
  font: 500 clamp(1.55rem, 6.6vw, 2.2rem)/1.22 var(--serif);
  max-width: 24ch;
}
.love__line--aside {
  margin-top: -14px;
  font: 400 15.5px/1.6 var(--sans);
  color: var(--ink-soft);
  max-width: 36ch;
  padding-left: 18px;
  border-left: 1px solid rgba(107, 29, 42, .25);
}
.love__line--accent {
  margin: 18px 0;
  font-style: italic;
  font-size: clamp(1.9rem, 8vw, 2.8rem);
  color: var(--burgundy);
}

/* =============================================================
   20
   ============================================================= */
.twenty {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
  text-align: center;
}
.twenty__inner { position: relative; z-index: 1; }
.twenty__num {
  font: italic 500 clamp(12rem, 76vw, 26rem)/.85 var(--serif);
  letter-spacing: -.06em;
  background: linear-gradient(160deg, var(--pink-deep) 0%, var(--red) 45%, var(--wine) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-right: .08em;
}
.twenty__title {
  margin-top: 18px;
  font: 500 clamp(2rem, 8.8vw, 3.2rem)/1.08 var(--serif);
}
.twenty__text {
  margin: 22px auto 0;
  max-width: 32ch;
  color: var(--ink-soft);
}

.dusk {
  height: 46vh;
  background: linear-gradient(var(--cream), #d9c3c0 30%, #4a1d26 72%, var(--night));
}

/* =============================================================
   НОЧЬ: тишина, письмо, финал
   ============================================================= */
.quiet, .letter, .finale {
  position: relative;
  margin-top: -1px;
  background: var(--night);
  color: var(--cream);
}
body.is-night, html:has(body.is-night) { background: var(--night); }
.quiet { padding: 80px 0 160px; }
.quiet__line {
  font: 400 clamp(1.6rem, 7vw, 2.3rem)/1.35 var(--serif);
  color: rgba(247, 241, 234, .78);
}
.quiet__line--gap { margin-top: 44px; color: rgba(247, 241, 234, .92); }
.quiet__final {
  margin-top: 60px;
  font: italic 500 clamp(2.1rem, 9.5vw, 3.6rem)/1.1 var(--serif);
  color: var(--pink);
  max-width: 14ch;
}

.letter {
  padding: 60px 0 140px;
  background:
    radial-gradient(70% 40% at 50% 30%, rgba(107, 29, 42, .4), transparent 70%),
    var(--night);
}
.paper {
  position: relative;
  margin-top: 22px;
  background: #f6efe4;
  color: var(--ink);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
}
.paper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 50% at 0 0, rgba(214, 170, 140, .18), transparent 70%),
    radial-gradient(60% 40% at 100% 100%, rgba(214, 170, 140, .16), transparent 70%);
}
.paper__sealed {
  position: relative;
  padding: 48px 24px 44px;
  text-align: center;
  transition: opacity .5s var(--ease-soft);
}
.paper__intro { font: italic 500 1.5rem/1.3 var(--serif); color: var(--ink-soft); }
.seal {
  margin-top: 28px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  touch-action: manipulation;
}
.seal__wax {
  width: 74px; height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #a83a47, var(--burgundy) 55%, var(--wine));
  color: rgba(243, 214, 216, .9);
  font: italic 600 2rem/1 var(--serif);
  box-shadow: inset 0 0 0 5px rgba(0, 0, 0, .12), 0 6px 16px -6px rgba(61, 13, 22, .8);
  transition: transform .5s var(--ease);
}
.seal:active .seal__wax { transform: scale(.94); }
.seal__label {
  font: 500 11px/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.paper__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 1.2s var(--ease);
}
.paper__inner { overflow: hidden; min-height: 0; }
.paper.is-open .paper__body { grid-template-rows: 1fr; }
.paper.is-open .paper__sealed { display: none; }
.paper__inner > * { opacity: 0; transition: opacity 1s var(--ease-soft) .3s; }
.paper.is-open .paper__inner > * { opacity: 1; }
.paper__greeting { padding: 44px 26px 0; font-size: 2.1rem; color: var(--burgundy); }
.paper__text {
  padding: 18px 26px 0;
  font: 400 1.28rem/1.62 var(--serif);
}
.paper__text p + p { margin-top: 1em; }
.paper__text.is-placeholder p {
  padding: 40px 12px;
  border: 1px dashed rgba(107, 29, 42, .35);
  text-align: center;
  font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .2em;
  color: var(--muted);
}
.paper__sign { padding: 28px 26px 8px; text-align: right; font-size: 2rem; color: var(--burgundy); }
.paper__date {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 26px 0;
  padding: 22px 0 40px;
  border-top: 1px dashed rgba(107, 29, 42, .25);
}
.postmark {
  flex: 0 0 auto;
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 1.5px solid rgba(163, 52, 63, .75);
  box-shadow: inset 0 0 0 4px #f6efe4, inset 0 0 0 5px rgba(163, 52, 63, .45);
  color: var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transform: rotate(-10deg);
  opacity: .85;
}
.postmark__top, .postmark__year {
  font: 600 8px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.postmark__date { font: italic 600 1.45rem/1 var(--serif); }
.paper__date-note {
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--ink-soft);
}

.finale {
  padding: 40px 0 0;
  text-align: center;
  background:
    radial-gradient(60% 35% at 50% 40%, rgba(107, 29, 42, .35), transparent 70%),
    var(--night);
}
.finale__line {
  font: 400 clamp(1.5rem, 6.4vw, 2.1rem)/1.3 var(--serif);
  color: rgba(247, 241, 234, .85);
}
.finale__line--big {
  font: italic 500 clamp(2.4rem, 11vw, 4.4rem)/1.05 var(--serif);
  color: var(--cream);
  margin-bottom: 14px;
}
.finale__photo {
  width: min(70vw, 300px);
  margin: 70px auto 0;
}
.finale__photo .polaroid { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9); }
.finale__love {
  margin-top: 70px;
  font-size: clamp(2.6rem, 12vw, 4rem);
  color: var(--pink);
}
.finale__space {
  height: 90vh;
  background: linear-gradient(var(--night), #0b0607);
}

/* =============================================================
   ПЛЕЕР
   ============================================================= */
.player {
  position: fixed;
  z-index: 120;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, calc(env(safe-area-inset-bottom) + 6px));
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(251, 248, 244, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(22, 18, 19, .08);
  box-shadow: 0 10px 30px -14px rgba(40, 10, 15, .45);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), background .8s, border-color .8s, color .8s;
}
.player.is-visible { opacity: 1; transform: none; }
.player__btn {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  touch-action: manipulation;
}
.player__btn svg { width: 17px; height: 17px; fill: currentColor; }
.player__btn .i-pause, .player.is-playing .player__btn .i-play { display: none; }
.player.is-playing .player__btn .i-pause { display: block; }
.player__meta {
  display: flex;
  flex-direction: column;
  max-width: 150px;
  padding: 0 4px 0 8px;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width .6s var(--ease), opacity .4s, padding .6s var(--ease);
}
.player__title { font: 500 13px/1.25 var(--sans); }
.player__artist { font: 400 11px/1.25 var(--sans); color: var(--muted); }
.player__bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  padding-right: 12px;
  transition: padding .6s var(--ease);
}
.player__bars i {
  width: 2px;
  height: 30%;
  background: var(--burgundy);
  border-radius: 1px;
}
.player.is-playing .player__bars i { animation: bar 1.1s ease-in-out infinite; }
.player.is-playing .player__bars i:nth-child(2) { animation-delay: -.4s; }
.player.is-playing .player__bars i:nth-child(3) { animation-delay: -.8s; }
@keyframes bar { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.player.is-compact .player__meta { max-width: 0; opacity: 0; padding: 0; }
.player.is-compact .player__bars { padding-right: 10px; padding-left: 4px; }

body.is-night .player {
  background: rgba(30, 18, 21, .7);
  border-color: rgba(247, 241, 234, .1);
  color: var(--cream);
}
body.is-night .player__btn { background: var(--cream); color: var(--night); }
body.is-night .player__artist { color: rgba(247, 241, 234, .55); }
body.is-night .player__bars i { background: var(--pink); }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  z-index: 160;
  left: 50%;
  top: calc(env(safe-area-inset-top) + 18px);
  max-width: calc(100% - 40px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font: 500 13px/1.3 var(--sans);
  text-align: center;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translate(-50%, -14px);
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.toast::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: 1px;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =============================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  filter: blur(5px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; filter: none; }

.reveal-photo {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(.97);
  transition: opacity 1.2s var(--ease), transform 1.4s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal-photo.in { opacity: 1; transform: none; }

.reveal-slow {
  opacity: 0;
  filter: blur(6px);
  transition: opacity 2s var(--ease-soft), filter 2s var(--ease-soft);
  transition-delay: var(--d, 0ms);
}
.reveal-slow.in { opacity: 1; filter: none; }

/* элементы с собственным поворотом не должны терять его после появления */
.hero__stamp.reveal, .hero__note.reveal, .chapter__note.reveal, .same__sure.reveal, .film.reveal { filter: none; }

/* =============================================================
   DESKTOP / ПЛАНШЕТ
   ============================================================= */
@media (min-width: 786px) {
  :root { --gutter: 40px; }
  body { font-size: 17px; }

  .hero__inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 200px);
  }
  .hero__collage { margin-top: 0; padding-right: 14%; }

  .timeline { padding-left: 0; max-width: 980px; margin-inline: auto; }
  .timeline::before { left: 50%; }
  .chapter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding-bottom: 150px;
  }
  .chapter__dot { left: calc(50% - 4.5px); top: 50%; }
  .chapter:nth-child(even) .chapter__body { order: 2; }
  .chapter__media { margin-top: 0; }
  .chapter--polaroid .chapter__media,
  .chapter--offset .chapter__media { max-width: 340px; margin-inline: auto; }
  .chapter__cine { margin-right: 0; }
  .chapter--minimal, .chapter--final { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .chapter--minimal .chapter__dot { top: 0; }
  .chapter--minimal .chapter__body { background: var(--cream); padding: 30px; }
  .chapter--minimal .heart-wrap { justify-content: center; }
  .chapter--final { margin-left: 0; max-width: 720px; margin-inline: auto; padding: 70px 50px; }
  .chapter--final .chapter__title, .chapter--final .chapter__text { margin-inline: auto; }
  .counter { margin: -40px auto 150px; max-width: 640px; padding: 46px 40px; }

  .same__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
  .same__flip { margin-top: 0; }

  .cine { margin-inline: auto; width: 100%; max-width: 1000px; }
  .cine__cap { font-size: 1.8rem; left: 40px; bottom: 50px; }
  .swipe { margin-inline: 0; padding-inline: 0; justify-content: center; }
  .swipe__item { flex-basis: 250px; }
  .swipe-dots { display: none; }
  .album__hint { text-align: center; }
  .stack { height: 560px; max-width: 900px; margin-inline: auto; }
  .stack__slot { width: 280px; }
  .stack__slot:nth-child(1) { left: 8%; top: 4%; }
  .stack__slot:nth-child(2) { right: 30%; top: 22%; left: auto; }
  .stack__slot:nth-child(3) { right: 6%; left: auto; top: 2%; }
  .film { margin-inline: 0; display: flex; justify-content: center; }
  .film__frame { flex-basis: 320px; }

  .board { grid-template-columns: repeat(3, 1fr); gap: 50px 40px; max-width: 980px; margin-inline: auto; }
  .scrap-slot--ticket { grid-column: span 2; }
  .scrap-slot--wide { grid-column: 1 / -1; }
  .scrap-slot--secret { width: 280px; }
  .sticker { right: auto; left: min(560px, 60%); }

  .love__line--aside { margin-left: 40px; }
  .quiet { padding-top: 120px; }
}

@media (min-width: 1100px) {
  .hero__title { font-size: 7.2rem; }
}

/* ---------- маленькие экраны (iPhone SE и уже) ---------- */
@media (max-width: 360px) {
  .counter { padding-inline: 14px; }
  .counter__unit { font-size: 9px; letter-spacing: .06em; }
  .board { gap: 32px 14px; }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  .reveal, .reveal-photo, .reveal-slow { opacity: 1; transform: none; filter: none; }
  .intro__btn { transition: none; }
  .intro__hint.is-on, .heart__phrase.is-on, .intro.is-after .intro__after { opacity: 1; }
  .leak { animation: none; }
}
