:root {
  --night: #0b1220;
  --night-soft: #121d31;
  --ink: #182338;
  --paper: #f5eee5;
  --paper-dim: #d8d0c8;
  --rose: #c78386;
  --rose-light: #e3b2ad;
  --gold: #d9b66b;
  --mist: #9db6c7;
  --line: rgba(245, 238, 229, 0.18);
  --line-dark: rgba(24, 35, 56, 0.16);
  --display: "Fraunces", "Iowan Old Style", "Baskerville", Georgia, serif;
  --body: "DM Sans", "Avenir Next", Avenir, Helvetica, Arial, sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  touch-action: pan-y;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  color: var(--paper);
  background: var(--night);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  touch-action: pan-y;
  overscroll-behavior-y: none;
  position: relative;
}

body.is-intro {
  overflow: hidden;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

a {
  text-decoration: none;
}

::selection {
  color: var(--night);
  background: var(--rose-light);
}

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

.grain {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.075;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: var(--rose);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.6rem;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.75;
}

.eyebrow--light {
  color: var(--rose-light);
}

.intro {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: 100svh;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(circle at 50% 28%, rgba(227, 140, 148, 0.32) 0%, rgba(217, 182, 107, 0.12) 36%, transparent 68%),
    radial-gradient(circle at 12% 75%, rgba(199, 131, 134, 0.22), transparent 48%),
    radial-gradient(circle at 88% 68%, rgba(142, 68, 72, 0.25), transparent 48%),
    linear-gradient(180deg, #101828 0%, #080d16 100%);
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease), transform 0.9s var(--ease);
}

.intro.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.04);
}

.intro__sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.intro__sky::before,
.intro__sky::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(227, 178, 173, 0.22);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.intro__sky::before {
  width: min(76vw, 880px);
  height: min(28vw, 320px);
  top: 22%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-16deg);
}

.intro__sky::after {
  width: min(60vw, 700px);
  height: min(20vw, 220px);
  top: 22%;
  left: 50%;
  border-color: rgba(217, 182, 107, 0.22);
  transform: translate(-50%, -50%) rotate(16deg);
}

.intro__orbit {
  position: absolute;
  top: 22%;
  left: 50%;
  border: 1px solid rgba(245, 238, 229, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.intro__orbit--outer {
  width: min(94vw, 1100px);
  height: min(34vw, 380px);
  animation: drift-orbit 20s ease-in-out infinite alternate;
}

.intro__orbit--inner {
  width: min(68vw, 780px);
  height: min(22vw, 260px);
  border-color: rgba(227, 178, 173, 0.2);
  animation: drift-orbit 15s ease-in-out -4s infinite alternate-reverse;
}

.intro__aura {
  position: absolute;
  top: 20%;
  left: 50%;
  width: min(38vw, 440px);
  height: min(38vw, 440px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 197, 200, 0.38) 0%, rgba(199, 131, 134, 0.18) 42%, transparent 72%);
  filter: blur(44px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: aura-breathe 7s ease-in-out infinite alternate;
}

@keyframes aura-breathe {
  0% { transform: translate(-50%, -50%) scale(0.88); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.intro__moon {
  position: absolute;
  top: 20%;
  left: 50%;
  width: min(15vw, 170px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 32%, #ffffff 0%, #ffe2e4 22%, #e59ba0 54%, #281724 90%);
  filter: blur(0.3px);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 35px rgba(255, 235, 237, 0.85),
    0 0 85px rgba(227, 140, 148, 0.6),
    0 0 160px rgba(217, 182, 107, 0.35);
  animation: moon-pulse 8s ease-in-out infinite alternate;
}

@keyframes moon-pulse {
  0% { transform: translate(-50%, -50%) scale(0.96); }
  100% { transform: translate(-50%, -50%) scale(1.04); }
}

.star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.95), 0 0 16px rgba(247, 197, 200, 0.7);
  animation: twinkle 3.5s ease-in-out infinite;
}

.star--one { top: 14%; left: 13%; width: 3px; height: 3px; animation-delay: -1.2s; }
.star--two { top: 26%; left: 84%; width: 2px; height: 2px; animation-delay: -2.5s; }
.star--three { top: 60%; left: 16%; width: 3px; height: 3px; animation-delay: -0.7s; }
.star--four { top: 72%; left: 86%; width: 2px; height: 2px; animation-delay: -3.2s; }
.star--five { top: 9%; left: 60%; width: 3px; height: 3px; animation-delay: -1.8s; }
.star--six { top: 78%; left: 66%; width: 3px; height: 3px; animation-delay: -2.1s; }
.star--seven { top: 20%; left: 30%; width: 2px; height: 2px; animation-delay: -0.4s; }
.star--eight { top: 42%; left: 7%; width: 3px; height: 3px; animation-delay: -2.8s; }
.star--nine { top: 48%; left: 93%; width: 2px; height: 2px; animation-delay: -1.5s; }
.star--ten { top: 85%; left: 33%; width: 3px; height: 3px; animation-delay: -3.6s; }

.intro__petals {
  position: absolute;
  inset: 0;
}

.petal {
  position: absolute;
  width: 14px;
  height: 20px;
  border-radius: 75% 25% 75% 25%;
  background: radial-gradient(ellipse at 35% 35%, #ffd6d9 0%, #e08b91 75%);
  box-shadow: 0 2px 10px rgba(224, 139, 145, 0.35);
  transform: rotate(24deg);
  animation: petal-fall var(--fall-duration) linear var(--fall-delay) infinite;
  pointer-events: none;
  opacity: 0.85;
}

.intro__content {
  position: relative;
  z-index: 1;
  width: min(92vw, 640px);
  max-width: 100%;
  min-width: 0;
  margin-top: 1.5rem;
  text-align: center;
  animation: intro-rise 1.2s var(--ease) both;
}

.intro__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.25rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: rgba(199, 131, 134, 0.18);
  border: 1px solid rgba(247, 197, 200, 0.5);
  backdrop-filter: blur(12px);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 4px 22px rgba(199, 131, 134, 0.28);
  animation: badge-float 3.5s ease-in-out infinite alternate;
}

.intro__badge-heart {
  font-size: 0.95rem;
  animation: pulse-heart 1.4s ease-in-out infinite;
}

.intro__content h1 {
  margin: 0.6rem 0 1.1rem;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(4.4rem, 13vw, 9.2rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.88;
  text-shadow: 0 4px 35px rgba(199, 131, 134, 0.4);
}

.intro__content h1 em {
  color: #fca7ad;
  font-style: italic;
  font-weight: 500;
  text-shadow: 0 0 35px rgba(252, 167, 173, 0.7);
}

.intro__lede {
  max-width: 29rem;
  margin: 0 auto 2.5rem;
  color: rgba(245, 238, 229, 0.9);
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 400;
  overflow-wrap: break-word;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.sound-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 13.5rem;
  height: 13.5rem;
  margin: 0 auto;
  padding: 1.4rem;
  border: 1px solid rgba(247, 197, 200, 0.65);
  border-radius: 50%;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% 30%, rgba(247, 197, 200, 0.28) 0%, rgba(199, 131, 134, 0.16) 45%, rgba(11, 18, 32, 0.7) 100%);
  backdrop-filter: blur(14px);
  cursor: pointer;
  isolation: isolate;
  box-shadow:
    0 14px 40px rgba(199, 131, 134, 0.35),
    0 0 28px rgba(217, 182, 107, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.sound-orbit::before,
.sound-orbit::after {
  position: absolute;
  inset: -0.65rem;
  border: 1px solid rgba(247, 197, 200, 0.35);
  border-radius: inherit;
  content: "";
  animation: orbit-pulse 3s ease-in-out infinite;
}

.sound-orbit::after {
  inset: -1.25rem;
  border-color: rgba(217, 182, 107, 0.25);
  animation-delay: -1.3s;
}

.sound-orbit:hover,
.sound-orbit:focus-visible {
  border-color: #fff;
  background:
    radial-gradient(circle at 50% 30%, rgba(247, 197, 200, 0.45) 0%, rgba(199, 131, 134, 0.32) 45%, rgba(11, 18, 32, 0.8) 100%);
  transform: scale(1.05);
  box-shadow:
    0 18px 50px rgba(199, 131, 134, 0.55),
    0 0 35px rgba(247, 197, 200, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.sound-orbit:focus-visible,
.header-sound:focus-visible,
.audio-dock button:focus-visible,
.back-to-top:focus-visible,
.text-link:focus-visible,
.lightbox__close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

.sound-orbit__icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 0.6rem;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #c78386, #8e4448);
  box-shadow: 0 4px 16px rgba(199, 131, 134, 0.6);
}

.sound-orbit__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.15rem;
}

.sound-orbit__label {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.sound-orbit__meta {
  margin-top: 0.25rem;
  color: #fbd5d7;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.audio-hint {
  min-height: 1.5rem;
  margin: 1.5rem auto 0;
  max-width: min(24rem, 90vw);
  color: rgba(245, 238, 229, 0.78);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: break-word;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.intro__foot {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  margin: 0;
  width: min(34rem, 90vw);
  text-align: center;
  color: rgba(245, 238, 229, 0.65);
  font-family: var(--mono);
  font-size: 0.6rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.site-content {
  position: relative;
  z-index: 1;
  opacity: 0;
  background: var(--paper);
  color: var(--ink);
  transition: opacity 1s 0.3s var(--ease);
}

body.is-entered .site-content {
  opacity: 1;
}

body.is-entered {
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  z-index: 8;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem clamp(1.2rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(24, 35, 56, 0.1);
  background: rgba(245, 238, 229, 0.86);
  backdrop-filter: blur(18px);
}

.wordmark,
.site-nav,
.header-sound {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 500;
}

.wordmark__mark {
  color: var(--rose);
  font-size: 1rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.8rem);
  color: rgba(24, 35, 56, 0.6);
}

.site-nav a,
.header-sound {
  transition: color 0.25s ease;
}

.site-nav a:hover,
.header-sound:hover {
  color: var(--rose);
}

.header-sound {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.header-sound__bars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  width: 0.8rem;
  height: 0.9rem;
}

.header-sound__bars i {
  display: block;
  width: 2px;
  height: 55%;
  background: currentColor;
  animation: equalize 0.9s ease-in-out infinite alternate;
}

.header-sound__bars i:nth-child(2) { height: 90%; animation-delay: -0.4s; }
.header-sound__bars i:nth-child(3) { height: 70%; animation-delay: -0.7s; }
.is-paused .header-sound__bars i { animation-play-state: paused; }

.section-frame {
  position: relative;
  width: min(100% - 2.4rem, 1180px);
  margin: 0 auto;
}

/* ========================================================
   LOVE ANNIVERSARY COUNTER (15 HAZİRAN 2025'TEN BERİ)
   ======================================================== */
.intro__counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.95rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: rgba(227, 178, 173, 0.14);
  border: 1px solid rgba(227, 178, 173, 0.35);
  color: var(--rose-light);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 90vw;
  box-shadow: 0 2px 12px rgba(199, 131, 134, 0.2);
}

.love-counter-wrap {
  padding-top: 1.8rem;
  padding-bottom: 0.5rem;
  width: min(100% - 2.4rem, 1180px);
  margin: 0 auto;
  box-sizing: border-box;
}

.love-counter {
  position: relative;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.4rem 1.8rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(227, 178, 173, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(217, 182, 107, 0.18) 0%, transparent 45%),
    rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(227, 178, 173, 0.45);
  border-radius: 20px;
  box-shadow:
    0 12px 35px rgba(24, 35, 56, 0.07),
    0 0 25px rgba(199, 131, 134, 0.15);
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.love-counter__header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.love-counter__badge-heart {
  font-size: 1rem;
  animation: pulse-heart 1.5s ease-in-out infinite;
}

.love-counter__sparkle {
  color: var(--gold);
  font-size: 0.85rem;
}

.love-counter__title {
  font-family: var(--display);
  font-size: clamp(0.92rem, 2.5vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.love-counter__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1.4vw, 1.1rem);
  flex-wrap: nowrap;
  margin: 0.2rem 0 0.85rem;
}

.love-counter__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: clamp(2.8rem, 8vw, 4.4rem);
  padding: 0.5rem 0.4rem 0.4rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(24, 35, 56, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(24, 35, 56, 0.04);
}

.love-counter__num {
  font-family: var(--display);
  font-size: clamp(1.45rem, 4.5vw, 2.3rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.love-counter__unit--sec .love-counter__num {
  color: var(--rose);
}

.love-counter__tag {
  margin-top: 0.35rem;
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(24, 35, 56, 0.55);
}

.love-counter__sep {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--rose-light);
  line-height: 1;
  user-select: none;
}

.love-counter__note {
  margin: 0;
  font-family: var(--display);
  font-size: 0.86rem;
  font-style: italic;
  color: rgba(24, 35, 56, 0.72);
  line-height: 1.5;
}

.love-counter__note strong {
  color: var(--rose);
  font-weight: 600;
  font-style: normal;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(230px, 0.9fr);
  gap: clamp(3rem, 10vw, 9rem);
  min-height: min(760px, calc(100svh - 74px));
  padding-top: clamp(5rem, 12vw, 10rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.hero__copy {
  align-self: center;
}

.hero h2,
.section-heading h2,
.closing h2 {
  margin: 1.2rem 0 1.7rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(3.6rem, 8vw, 7.6rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.hero__lede {
  max-width: 30rem;
  margin: 0 0 2.2rem;
  color: rgba(24, 35, 56, 0.68);
  font-size: 1rem;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s ease, border-color 0.25s ease, gap 0.35s var(--ease);
}

.text-link:hover {
  gap: 1.1rem;
  color: var(--rose);
  border-color: var(--rose);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.hero__btn--primary {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 4px 16px rgba(24, 35, 56, 0.15);
}

.hero__btn--primary:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--night);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(199, 131, 134, 0.4);
}

.hero__btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(24, 35, 56, 0.25);
}

.hero__btn--ghost:hover {
  border-color: var(--rose);
  color: var(--rose);
  background: rgba(199, 131, 134, 0.08);
  transform: translateY(-2px);
}

.hero__aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.2rem;
}

.hero__visual {
  position: relative;
  width: min(22rem, 85vw);
  height: min(22rem, 85vw);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__glow {
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle, rgba(199, 131, 134, 0.32) 0%, rgba(217, 182, 107, 0.18) 45%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  animation: hero-glow-pulse 6s ease-in-out infinite alternate;
}

@keyframes hero-glow-pulse {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.08); opacity: 1; }
}

.hero__polaroid {
  position: absolute;
  width: 13.5rem;
  background: #fff;
  padding: 0.65rem 0.65rem 1.6rem;
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(11, 18, 32, 0.18), 0 2px 6px rgba(11, 18, 32, 0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
  z-index: 1;
}

.hero__polaroid--back {
  top: 0.5rem;
  left: 0.5rem;
  transform: rotate(-7deg);
}

.hero__polaroid--back:hover {
  transform: rotate(-9deg) translateY(-4px) scale(1.03);
  z-index: 3;
}

.hero__polaroid--front {
  bottom: 0.8rem;
  right: 0.8rem;
  transform: rotate(5deg);
  z-index: 2;
}

.hero__polaroid--front:hover {
  transform: rotate(3deg) translateY(-4px) scale(1.03);
  z-index: 3;
}

.hero__polaroid-frame {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #111a2e;
  border-radius: 2px;
}

.hero__polaroid-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__polaroid-caption {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 500;
  color: #2c2523;
  text-align: center;
  letter-spacing: -0.01em;
}

.hero__polaroid-tape {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 3.2rem;
  height: 1.1rem;
  background: rgba(227, 178, 173, 0.55);
  backdrop-filter: blur(2px);
  border: 1px dashed rgba(255, 255, 255, 0.4);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.hero__badge {
  position: absolute;
  bottom: -0.5rem;
  left: 0.5rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: blur(8px);
  color: var(--paper);
  border: 1px solid rgba(227, 178, 173, 0.4);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  animation: badge-float 4s ease-in-out infinite alternate;
}

@keyframes badge-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

.hero__badge-sparkle {
  color: var(--gold);
}

.hero__stats-card {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.2rem;
  width: min(22rem, 90vw);
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(24, 35, 56, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(24, 35, 56, 0.06);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
}

.hero__stat-num {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--rose-dark);
  line-height: 1;
}

.hero__stat-label {
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(24, 35, 56, 0.6);
}

.hero__stat-sep {
  width: 1px;
  height: 1.8rem;
  background: rgba(24, 35, 56, 0.12);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 0;
  display: grid;
  gap: 0.6rem;
  justify-items: center;
  color: rgba(24, 35, 56, 0.42);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 3rem;
  overflow: hidden;
  background: rgba(24, 35, 56, 0.2);
}

.scroll-cue i::after {
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 60%;
  content: "";
  background: var(--rose);
  animation: scroll-line 2.2s ease-in-out infinite;
}

.memories {
  padding-top: clamp(5rem, 11vw, 10rem);
  padding-bottom: clamp(5rem, 12vw, 11rem);
}

.section-heading {
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.52fr);
  gap: 3rem;
  align-items: end;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading__note {
  max-width: 20rem;
  margin: 0 0 0.4rem;
  color: rgba(24, 35, 56, 0.62);
  font-size: 0.88rem;
  line-height: 1.75;
}

.memory-list {
  border-top: 1px solid var(--line-dark);
}

.memory-card {
  display: grid;
  grid-template-columns: 7rem minmax(0, 0.95fr) minmax(260px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  padding: clamp(2.6rem, 6vw, 5.2rem) 0;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.memory-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.memory-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: rgba(24, 35, 56, 0.48);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.memory-card__number {
  color: var(--rose);
  font-size: 1rem;
}

.memory-card__body {
  align-self: center;
}

.memory-card__body h3 {
  max-width: 28rem;
  margin: 0.7rem 0 1.2rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.memory-card__text {
  max-width: 30rem;
  color: rgba(24, 35, 56, 0.68);
  font-size: 0.92rem;
  line-height: 1.8;
}

.memory-card__text p {
  margin: 0 0 0.8rem;
}

.memory-card__text p:last-child {
  margin-bottom: 0;
}

.memory-card__location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
  color: rgba(24, 35, 56, 0.5);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.memory-card__location::before {
  width: 0.35rem;
  height: 0.35rem;
  border: 1px solid var(--rose);
  border-radius: 50%;
  content: "";
}

.memory-card__media {
  position: relative;
  align-self: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
}

.memory-card:nth-child(even) .memory-card__media {
  aspect-ratio: 1 / 1.12;
}

.memory-card__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 1px solid rgba(245, 238, 229, 0.18);
  content: "";
  pointer-events: none;
}

.memory-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s ease;
}

.memory-card:hover .memory-card__media img {
  transform: scale(1.04);
}

.memory-card__media video,
.media-pane--video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #080d17;
}

.memory-card:hover .memory-card__media video,
.memory-card:hover .media-pane--video video {
  transform: none !important;
}

/* Portrait video display - naturally fit phone videos (especially 06) */
.memory-card__media--portrait-video {
  aspect-ratio: 9 / 16 !important;
  max-height: 560px !important;
  max-width: 330px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.memory-card__media img {
  cursor: zoom-in;
}

.memory-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(4.5rem, 0.75fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  width: 100%;
  height: 100%;
}

.memory-gallery--single {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.memory-gallery--dual {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}

.memory-gallery__item {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--ink);
  cursor: zoom-in;
}

.memory-gallery__item.is-main {
  grid-row: 1 / -1;
}

.memory-gallery__item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.memory-gallery__more-badge {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(4px);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
  pointer-events: none;
}

.memory-gallery__item:hover .memory-gallery__more-badge {
  background: rgba(199, 131, 134, 0.85);
  color: var(--night);
}

.media-composite {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.media-tabs {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  max-width: calc(100% - 1.3rem);
  z-index: 5;
  display: flex;
  gap: 0.35rem;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 238, 229, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.media-tabs::-webkit-scrollbar {
  display: none;
}

.media-tab {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.3rem 0.75rem;
  border: none;
  background: transparent;
  color: var(--paper-dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.media-tab:hover {
  color: var(--paper);
}

.media-tab.is-active {
  background: var(--rose);
  color: var(--night);
  font-weight: 600;
}

.media-pane {
  display: none;
  width: 100%;
  height: 100%;
}

.media-pane.is-active {
  display: block;
}

.media-pane--video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #080d17;
}

.media-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 17rem;
  color: rgba(245, 238, 229, 0.66);
  background:
    linear-gradient(145deg, rgba(199, 131, 134, 0.24), transparent 42%),
    radial-gradient(circle at 78% 20%, rgba(217, 182, 107, 0.35), transparent 30%),
    linear-gradient(160deg, #263652, #121d31 68%);
}

.media-placeholder--poetic {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.2rem 1.8rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(199, 131, 134, 0.16), transparent 65%),
    linear-gradient(155deg, #182338, #0e1626);
  border: 1px solid rgba(245, 238, 229, 0.14);
}

.media-placeholder__frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  max-width: 22rem;
}

.media-placeholder__quote {
  margin: 0;
  font-family: var(--display);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--paper);
}

.media-placeholder__sub {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-light);
  opacity: 0.9;
}

.media-placeholder__mark {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(245, 238, 229, 0.3);
  border-radius: 50%;
  color: var(--rose-light);
  font-size: 1.5rem;
}

.media-placeholder__text {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  color: rgba(245, 238, 229, 0.58);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.empty-state {
  display: grid;
  justify-items: center;
  padding: 5rem 1rem;
  border-top: 1px solid var(--line-dark);
  text-align: center;
}

.empty-state__symbol {
  color: var(--rose);
  font-size: 2rem;
}

.empty-state h3 {
  margin: 1rem 0 0.3rem;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
}

.empty-state p {
  margin: 0;
  color: rgba(24, 35, 56, 0.6);
}

.letter {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.2fr);
  gap: clamp(2rem, 8vw, 8rem);
  min-height: 38rem;
  padding-top: clamp(5rem, 12vw, 11rem);
  padding-bottom: clamp(5rem, 12vw, 11rem);
  border-top: 1px solid var(--line-dark);
}

.letter__rule {
  position: relative;
  width: 1px;
  min-height: 18rem;
  margin-left: 2rem;
  background: linear-gradient(var(--rose), transparent);
}

.letter__rule::before,
.letter__rule::after {
  position: absolute;
  left: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid var(--rose);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.letter__rule::before { top: 0; }
.letter__rule::after { bottom: 0; }

.letter__content {
  max-width: 40rem;
}

.letter__content h2 {
  margin: 1rem 0 1.8rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.letter__content p:not(.eyebrow):not(.letter__signature) {
  max-width: 32rem;
  color: rgba(24, 35, 56, 0.68);
  font-size: 1rem;
  line-height: 1.85;
}

.letter__content .letter__lead {
  color: var(--ink) !important;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 2rem) !important;
  letter-spacing: -0.03em;
  line-height: 1.25 !important;
}

.letter__signature {
  margin-top: 3rem !important;
  color: var(--rose) !important;
  font-family: var(--mono);
  font-size: 0.62rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.letter__prompt {
  margin-top: 2rem !important;
  color: var(--ink) !important;
  font-family: var(--display);
  font-size: 1.18rem !important;
  font-style: italic;
  font-weight: 500;
  line-height: 1.6 !important;
}

.reconcile-cta {
  margin: 2.4rem 0 1.8rem;
}

.reconcile-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 2.4rem;
  border: 1px solid var(--rose);
  border-radius: 999px;
  color: var(--paper);
  background: linear-gradient(135deg, #c78386, #8e4448);
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(199, 131, 134, 0.38);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.reconcile-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 42px rgba(199, 131, 134, 0.58);
}

.reconcile-btn:active {
  transform: translateY(0) scale(0.98);
}

.reconcile-btn__icon {
  font-size: 1.35rem;
  animation: pulse-heart 1.6s ease-in-out infinite;
}

@keyframes pulse-heart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.28); }
}

.reconcile-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.reconcile-modal[hidden] {
  display: none;
}

.reconcile-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
}

.reconcile-modal__card {
  position: relative;
  z-index: 1;
  width: min(36rem, 100%);
  max-height: calc(100svh - 3rem);
  overflow-y: auto;
  padding: clamp(2rem, 5vw, 2.8rem) clamp(1.2rem, 4vw, 2.4rem);
  background:
    radial-gradient(circle at 80% 15%, rgba(199, 131, 134, 0.25), transparent 50%),
    radial-gradient(circle at 20% 85%, rgba(217, 182, 107, 0.12), transparent 45%),
    linear-gradient(160deg, #182338, #0e1626);
  border: 1px solid rgba(227, 178, 173, 0.35);
  border-radius: 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 35px rgba(199, 131, 134, 0.2);
  text-align: center;
  animation: modal-pop 0.45s var(--ease) both;
}

@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.92) translateY(1.5rem); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.reconcile-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(245, 238, 229, 0.25);
  border-radius: 50%;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.reconcile-modal__close:hover {
  background: var(--rose);
  color: var(--night);
  border-color: var(--rose);
}

.reconcile-modal__sparkle {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.8rem;
  animation: pulse-heart 2s ease-in-out infinite;
}

.reconcile-modal__card h3 {
  margin: 0 0 1rem;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 500;
  line-height: 1.15;
}

.reconcile-modal__card p {
  color: var(--paper-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.reconcile-modal__sub {
  color: var(--rose-light) !important;
  font-style: italic;
  font-size: 0.9rem !important;
  margin-bottom: 1.4rem !important;
}

.reconcile-presets {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  text-align: left;
}

.reconcile-preset {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(245, 238, 229, 0.15);
  background: rgba(11, 18, 32, 0.45);
  color: var(--paper-dim);
  cursor: pointer;
  text-align: left;
  font-family: var(--display);
  font-size: 0.88rem;
  line-height: 1.4;
  transition: all 0.25s ease;
}

.reconcile-preset:hover {
  border-color: var(--rose-light);
  color: #fff;
  background: rgba(199, 131, 134, 0.18);
  transform: translateX(3px);
}

.reconcile-preset.is-active {
  border-color: var(--rose);
  background: rgba(199, 131, 134, 0.25);
  color: #fff;
  box-shadow: 0 0 16px rgba(199, 131, 134, 0.3);
}

.reconcile-preset__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.reconcile-preset__text {
  font-style: italic;
}

.reconcile-input-wrap {
  margin: 0 0 1.4rem;
  text-align: left;
}

.reconcile-input-label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 238, 229, 0.7);
}

.reconcile-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(11, 18, 32, 0.65);
  border: 1px solid rgba(227, 178, 173, 0.4);
  border-radius: 12px;
  color: #fff;
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  min-height: 5.5rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.reconcile-textarea:focus {
  border-color: var(--rose-light);
  box-shadow: 0 0 18px rgba(199, 131, 134, 0.4);
}

.reconcile-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: stretch;
}

.reconcile-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.reconcile-modal__btn--primary {
  background: #25d366;
  color: #fff;
  border: 1px solid #25d366;
}

.reconcile-modal__btn--primary:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.reconcile-modal__btn--secondary {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(245, 238, 229, 0.3);
}

.reconcile-modal__btn--secondary:hover {
  background: rgba(245, 238, 229, 0.1);
  border-color: var(--rose);
  color: var(--rose-light);
}

.reconcile-wa-btn__title {
  font-weight: 600;
}

.reconcile-wa-btn__phone {
  opacity: 0.92;
  font-size: 0.9em;
}

.floating-hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  overflow: hidden;
}

.floating-heart {
  position: absolute;
  bottom: -2rem;
  color: var(--rose);
  font-size: 1.8rem;
  user-select: none;
  pointer-events: none;
  animation: float-up 3.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes float-up {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.5) rotate(0deg);
  }
  70% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(-110vh) scale(1.4) rotate(var(--rot, 35deg));
  }
}

.letter__number {
  position: absolute;
  right: 0;
  bottom: 3rem;
  color: rgba(24, 35, 56, 0.08);
  font-family: var(--display);
  font-size: 14rem;
  line-height: 0.8;
}

.closing {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  min-height: 35rem;
  padding-top: clamp(5rem, 12vw, 10rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--line-dark);
  text-align: center;
}

.closing__line {
  width: 1px;
  height: 4rem;
  margin-bottom: 2rem;
  background: linear-gradient(transparent, var(--rose));
}

.closing h2 {
  max-width: 50rem;
  margin-bottom: 1.6rem;
}

.closing p:not(.eyebrow) {
  max-width: 30rem;
  margin: 0 0 2rem;
  color: rgba(24, 35, 56, 0.65);
  line-height: 1.8;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem clamp(1.2rem, 4vw, 4.5rem);
  border-top: 1px solid var(--line-dark);
  color: rgba(24, 35, 56, 0.48);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer p:nth-child(2) {
  text-align: center;
}

.back-to-top {
  justify-self: end;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(24, 35, 56, 0.24);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease);
}

.back-to-top:hover {
  color: var(--rose);
  border-color: var(--rose);
  transform: translateY(-0.2rem);
}

.audio-dock {
  position: fixed;
  z-index: 9;
  right: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: min(28rem, calc(100vw - 2.4rem));
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(245, 238, 229, 0.18);
  background: rgba(11, 18, 32, 0.88);
  box-shadow: 0 1rem 3rem rgba(11, 18, 32, 0.18);
  backdrop-filter: blur(18px);
  animation: dock-in 0.8s 1.1s var(--ease) both;
}

.audio-dock[hidden] {
  display: none;
}

.audio-dock__play,
.audio-dock__mute {
  flex: 0 0 auto;
  border: 0;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
}

.audio-dock__play {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(227, 178, 173, 0.55);
  border-radius: 50%;
  color: var(--rose-light);
}

.audio-dock__icon {
  font-family: var(--mono);
  font-size: 0.65rem;
}

.audio-dock__track {
  flex: 1 1 auto;
  min-width: 0;
}

.audio-volume {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.35rem;
  color: rgba(245, 238, 229, 0.55);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.audio-volume input {
  width: 3.7rem;
  height: 0.9rem;
  accent-color: var(--rose-light);
  cursor: pointer;
}

.audio-dock__labels {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  color: rgba(245, 238, 229, 0.76);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
}

.audio-progress {
  height: 2px;
  overflow: hidden;
  background: rgba(245, 238, 229, 0.18);
}

.audio-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--rose-light);
  transition: width 0.2s linear;
}

.audio-dock__mute {
  color: rgba(245, 238, 229, 0.55);
  font-family: var(--mono);
  font-size: 0.53rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  z-index: 30;
  bottom: 5.7rem;
  left: 50%;
  max-width: min(24rem, calc(100vw - 2.4rem));
  padding: 0.7rem 1rem;
  border: 1px solid rgba(227, 178, 173, 0.3);
  color: var(--paper-dim);
  background: rgba(11, 18, 32, 0.92);
  font-family: var(--mono);
  font-size: 0.58rem;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.5rem);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.lightbox {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.9);
  backdrop-filter: blur(10px);
}

.lightbox__figure {
  position: relative;
  z-index: 1;
  width: min(60rem, 100%);
  max-height: calc(100svh - 4rem);
  margin: 0;
}

.lightbox__figure img {
  display: block;
  width: 100%;
  max-height: calc(100svh - 7rem);
  object-fit: contain;
}

.lightbox__figure figcaption {
  margin-top: 0.8rem;
  color: var(--paper-dim);
  font-family: var(--mono);
  font-size: 0.6rem;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  z-index: 2;
  top: -2.5rem;
  right: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(245, 238, 229, 0.35);
  border-radius: 50%;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lightbox__close:hover {
  background: var(--rose);
  color: var(--night);
  border-color: var(--rose);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(245, 238, 229, 0.35);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(11, 18, 32, 0.65);
  backdrop-filter: blur(6px);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  user-select: none;
}

.lightbox__nav:hover {
  background: var(--rose);
  color: var(--night);
  border-color: var(--rose);
}

.lightbox__nav--prev {
  left: -3.6rem;
}

.lightbox__nav--next {
  right: -3.6rem;
}

.lightbox__counter {
  margin-top: 0.5rem;
  color: var(--rose-light);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-align: center;
}

@media (max-width: 760px) {
  .lightbox__nav--prev {
    left: 0.5rem;
  }
  .lightbox__nav--next {
    right: 0.5rem;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes intro-rise {
  from { opacity: 0; transform: translateY(1.4rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes drift-orbit {
  from { transform: translate(-50%, -50%) rotate(-3deg) scale(0.98); }
  to { transform: translate(-50%, -50%) rotate(4deg) scale(1.02); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.28; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.3); }
}

@keyframes orbit-pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.98); }
  50% { opacity: 0.8; transform: scale(1.02); }
}

@keyframes petal-fall {
  0% { opacity: 0; transform: translate3d(0, -12vh, 0) rotate(0deg); }
  15% { opacity: 0.8; }
  80% { opacity: 0.5; }
  100% { opacity: 0; transform: translate3d(var(--drift), 108vh, 0) rotate(270deg); }
}

@keyframes equalize {
  from { transform: scaleY(0.5); }
  to { transform: scaleY(1); }
}

@keyframes scroll-line {
  0% { top: -70%; }
  55%, 100% { top: 120%; }
}

@keyframes dock-in {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  /* Layout frames & header */
  .site-nav {
    display: none;
  }

  .site-header {
    padding: 0.85rem 1rem;
  }

  .section-frame {
    width: min(100% - 1.8rem, 1180px);
  }

  /* Intro screen on mobile */
  .intro {
    padding: 1.5rem 0.8rem 2rem;
    align-items: center;
    justify-items: center;
  }

  .intro__content {
    width: 100%;
    max-width: 440px;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
  }

  .intro__badge {
    font-size: 0.62rem;
    padding: 0.4rem 0.95rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
  }

  .intro__content h1 {
    font-size: clamp(2.8rem, 11vw, 4.4rem);
    line-height: 0.95;
    margin: 0.4rem 0 0.8rem;
  }

  .intro__lede {
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0 auto 1.6rem;
    padding: 0 0.5rem;
  }

  .sound-orbit {
    width: 11.2rem;
    height: 11.2rem;
    padding: 1rem;
  }

  .sound-orbit__icon {
    width: 2.8rem;
    height: 2.8rem;
    margin-bottom: 0.45rem;
  }

  .sound-orbit__icon svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  .sound-orbit__label {
    font-size: 0.86rem;
  }

  .sound-orbit__meta {
    font-size: 0.54rem;
  }

  .audio-hint {
    margin: 1.2rem 0 0;
    font-size: 0.62rem;
    padding: 0 0.5rem;
  }

  .intro__foot {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 1.4rem auto 0.5rem;
    font-size: 0.56rem;
    width: 100%;
    padding: 0 0.5rem;
  }

  /* Love Counter mobile */
  .love-counter-wrap {
    padding-top: 1.2rem;
    padding-bottom: 0.2rem;
    width: min(100% - 1.8rem, 1180px);
  }

  .love-counter {
    padding: 1rem 0.65rem;
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .love-counter__header {
    gap: 0.35rem;
    margin-bottom: 0.65rem;
  }

  .love-counter__title {
    font-size: 0.88rem;
  }

  .love-counter__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .love-counter__sep {
    display: none;
  }

  .love-counter__unit {
    min-width: 0;
    width: 100%;
    padding: 0.45rem 0.15rem;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .love-counter__num {
    font-size: clamp(1.2rem, 5vw, 1.45rem);
  }

  .love-counter__tag {
    font-size: 0.5rem;
  }

  .love-counter__note {
    font-size: 0.78rem;
    margin-top: 0.4rem;
  }

  /* Hero section */
  .hero {
    grid-template-columns: 1fr;
    gap: 2.8rem;
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero__copy {
    text-align: center;
  }

  .hero__copy .eyebrow {
    justify-content: center;
  }

  .hero h2 {
    font-size: clamp(2.4rem, 10vw, 3.8rem);
    line-height: 0.98;
    margin: 0.6rem auto 1rem;
  }

  .hero__lede {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .hero__actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero__btn {
    padding: 0.8rem 1.4rem;
    font-size: 0.65rem;
  }

  .hero__aside {
    align-items: center;
    width: 100%;
    gap: 2rem;
  }

  .hero__visual {
    width: min(19rem, 86vw);
    height: min(19rem, 86vw);
  }

  .hero__polaroid {
    width: min(11.8rem, 64vw);
    padding: 0.55rem 0.55rem 1.35rem;
  }

  .hero__polaroid-caption {
    font-size: 0.74rem;
    margin-top: 0.45rem;
  }

  .hero__stats-card {
    width: min(22rem, 100%);
    padding: 0.75rem 1rem;
    gap: 0.8rem;
  }

  .hero__stat-num {
    font-size: 1.3rem;
  }

  .hero__stat-label {
    font-size: 0.55rem;
  }

  .scroll-cue {
    display: none;
  }

  /* Section heading */
  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
  }

  .section-heading h2 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    line-height: 1.02;
  }

  .section-heading__note {
    max-width: 100%;
    font-size: 0.84rem;
  }

  /* Memory cards - clean single-column mobile reading flow */
  .memory-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2.2rem 0;
  }

  .memory-card__meta {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.65rem;
  }

  .memory-card__number {
    font-size: 1.1rem;
    font-weight: 600;
  }

  .memory-card__meta time {
    display: inline-block;
    color: rgba(24, 35, 56, 0.6);
  }

  .memory-card__body {
    width: 100%;
    align-self: auto;
  }

  .memory-card__body h3 {
    font-size: clamp(1.6rem, 6.5vw, 2.3rem);
    line-height: 1.08;
    margin: 0.2rem 0 0.8rem;
  }

  .memory-card__text {
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .memory-card__location {
    margin-top: 1rem;
    font-size: 0.54rem;
  }

  .memory-card__media,
  .memory-card:nth-child(even) .memory-card__media {
    grid-column: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 0.5rem;
  }

  /* CRITICAL: Portrait video (Memory 06) preserves 9:16 vertical phone aspect ratio */
  .memory-card__media--portrait-video {
    aspect-ratio: 9 / 16 !important;
    max-height: 480px !important;
    max-width: 270px !important;
    margin: 0.5rem auto 0 !important;
  }

  /* Letter section */
  .letter {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .letter__rule {
    display: none;
  }

  .letter__content {
    max-width: 100%;
  }

  .letter__content h2 {
    font-size: clamp(2.2rem, 8.5vw, 3.4rem);
    line-height: 1.02;
    margin: 0.6rem 0 1.2rem;
  }

  .letter__content .letter__lead {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1.2rem;
  }

  .letter__content p:not(.eyebrow):not(.letter__signature) {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .letter__prompt {
    font-size: 1.05rem !important;
    margin-top: 1.8rem !important;
  }

  .reconcile-cta {
    margin: 2rem 0 1.5rem;
  }

  .reconcile-btn {
    width: 100%;
    max-width: 22rem;
    padding: 1rem 1.6rem;
    font-size: 1.05rem;
    justify-content: center;
  }

  .letter__number {
    display: none;
  }

  /* Closing section */
  .closing {
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .closing h2 {
    font-size: clamp(2.2rem, 8.5vw, 3.2rem);
    line-height: 1.05;
  }

  .closing p:not(.eyebrow) {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  /* Footer - extra bottom spacing for fixed audio dock */
  .site-footer {
    grid-template-columns: 1fr auto;
    padding: 1.2rem clamp(1rem, 4vw, 2rem) 6.5rem;
  }

  .site-footer p:nth-child(2) {
    display: none;
  }

  /* Reconcile Modal */
  .reconcile-modal {
    padding: 0.75rem;
  }

  .reconcile-modal__card {
    padding: 1.8rem 1.1rem 1.4rem;
    max-height: calc(100svh - 1.5rem);
    border-radius: 1.25rem;
  }

  .reconcile-modal__sparkle {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }

  .reconcile-modal__card h3 {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    margin-bottom: 0.6rem;
    line-height: 1.25;
  }

  .reconcile-modal__card p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
  }

  .reconcile-modal__sub {
    font-size: 0.82rem !important;
    margin-bottom: 1rem !important;
  }

  .reconcile-presets {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .reconcile-preset {
    padding: 0.65rem 0.8rem;
    font-size: 0.82rem;
    line-height: 1.35;
    gap: 0.6rem;
  }

  .reconcile-preset__icon {
    font-size: 1.05rem;
  }

  .reconcile-input-wrap {
    margin-bottom: 1.2rem;
  }

  .reconcile-input-label {
    font-size: 0.54rem;
  }

  .reconcile-textarea {
    font-size: 16px;
    padding: 0.75rem 0.85rem;
    min-height: 4.8rem;
    border-radius: 10px;
  }

  .reconcile-modal__actions {
    gap: 0.65rem;
  }

  .reconcile-modal__btn {
    padding: 0.85rem 1rem;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .reconcile-modal__close {
    top: 0.65rem;
    right: 0.65rem;
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }

  /* Lightbox */
  .lightbox {
    padding: 0.75rem 0.5rem;
  }

  .lightbox__close {
    top: 0.6rem;
    right: 0.6rem;
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.3rem;
    background: rgba(11, 18, 32, 0.8);
    backdrop-filter: blur(8px);
  }

  .lightbox__figure {
    max-height: calc(100svh - 3rem);
  }

  .lightbox__figure img {
    max-height: calc(100svh - 6.5rem);
  }

  .lightbox__nav {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.5rem;
  }

  .lightbox__nav--prev {
    left: 0.25rem;
  }

  .lightbox__nav--next {
    right: 0.25rem;
  }
}

@media (max-width: 480px) {
  .header-sound {
    font-size: 0;
  }

  .header-sound__bars {
    width: 1rem;
  }

  .hero h2,
  .section-heading h2,
  .closing h2 {
    font-size: clamp(2rem, 9.5vw, 3rem);
  }

  .hero__visual {
    width: min(17rem, 80vw);
    height: min(17rem, 80vw);
  }

  .hero__polaroid {
    width: min(10.5rem, 56vw);
  }

  .audio-dock {
    right: 0.5rem;
    bottom: 0.5rem;
    width: calc(100vw - 1rem);
    padding: 0.55rem 0.7rem;
    gap: 0.5rem;
  }

  .audio-volume__label {
    display: none;
  }

  .audio-volume input {
    width: 2.8rem;
  }

  .audio-dock__mute {
    max-width: 3.2rem;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.5rem;
  }

  .toast {
    bottom: 4.8rem;
    max-width: calc(100vw - 1.5rem);
    font-size: 0.55rem;
    padding: 0.6rem 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
