:root {
  --bg: #0c070b;
  --surface: #140b11;
  --surface2: #1b0d15;
  --pink: #f29ab6;
  --pink2: #ffd5df;
  --cream: #fff8fa;
  --muted: #bdaeb5;
  --line: rgba(255, 255, 255, 0.12);
  --max: 1240px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
img {
  display: block;
}
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.035;
  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 baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hearts {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  overflow: hidden;
}
.heart-float {
  position: absolute;
  color: rgba(255, 174, 198, 0.65);
  filter: drop-shadow(0 0 12px rgba(255, 100, 150, 0.25));
  animation: rise linear forwards;
}
@keyframes rise {
  from {
    transform: translateY(20vh) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 0.75;
  }
  to {
    transform: translateY(-110vh) translateX(var(--drift)) rotate(25deg);
    opacity: 0;
  }
}
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #080508;
  display: grid;
  place-content: center;
  text-align: center;
  transition:
    opacity 0.8s,
    visibility 0.8s;
}
.loader.hide {
  opacity: 0;
  visibility: hidden;
}
.loader-heart {
  font-size: 44px;
  color: var(--pink);
  animation: pulse 1.1s infinite;
}
.loader-kicker {
  margin-top: 18px;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #b9a8b0;
}
.loader-name {
  font:
    500 64px/1 "Cormorant Garamond",
    serif;
  margin-top: 6px;
}
.loader-line {
  width: 170px;
  height: 1px;
  background: #30222a;
  margin: 25px auto;
  overflow: hidden;
}
.loader-line i {
  display: block;
  width: 55%;
  height: 100%;
  background: var(--pink);
  animation: load 1.3s infinite;
}
@keyframes load {
  from {
    transform: translateX(-180%);
  }
  to {
    transform: translateX(300%);
  }
}
@keyframes pulse {
  50% {
    transform: scale(1.14);
  }
}
.topbar {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  padding: 25px 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mark {
  font:
    600 27px/1 "Cormorant Garamond",
    serif;
}
.mark span {
  color: var(--pink);
  font-size: 17px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e4d8dd;
}
.topbar-right a {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.topbar-right b {
  color: var(--pink);
  font-size: 13px;
  margin-left: 5px;
}
.hero {
  height: 100svh;
  min-height: 680px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #10080d;
}
.hero-image,
.hero-vignette {
  position: absolute;
  inset: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-vignette {
  background:
    linear-gradient(
      180deg,
      rgba(5, 2, 5, 0.48) 0%,
      rgba(8, 3, 7, 0.08) 28%,
      rgba(8, 3, 7, 0.28) 53%,
      rgba(8, 3, 7, 0.88) 100%
    ),
    linear-gradient(
      90deg,
      rgba(8, 3, 7, 0.48),
      transparent 45%,
      rgba(8, 3, 7, 0.25)
    );
}
.hero-glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  max-width: 760px;
  max-height: 760px;
  border-radius: 50%;
  background: rgba(255, 118, 159, 0.12);
  filter: blur(90px);
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero-content {
  position: relative;
  z-index: 5;
  width: min(820px, 90%);
  text-align: center;
  margin-top: 35px;
}
.hero-kicker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  color: #f8e8ed;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.hero-kicker span {
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}
.hero-mini {
  margin-top: 16px;
  color: #d6c3cb;
  font-size: 10px;
  letter-spacing: 1px;
}
.hero h1 {
  font:
    500 clamp(78px, 10vw, 148px)/0.73 "Cormorant Garamond",
    serif;
  letter-spacing: -5px;
  margin: 30px 0 25px;
  color: #ff0101;
}
.hero h1 em {
  font-style: italic;
  color: #fff;
}
.hero-name {
  font:
    500 27px "Cormorant Garamond",
    serif;
  letter-spacing: 7px;
  text-transform: uppercase;
}
.hero-content p {
  max-width: 440px;
  margin: 18px auto 0;
  color: #eee0e5;
  font:
    18px/1.5 "Cormorant Garamond",
    serif;
}
.primary-btn,
.ending button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding: 14px 19px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(10, 4, 9, 0.22);
  color: #fff;
  backdrop-filter: blur(12px);
  font-size: 9px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  transition: 0.3s;
}
.primary-btn span,
.ending button span {
  color: var(--pink);
  font-size: 16px;
}
.primary-btn:hover,
.ending button:hover {
  transform: translateY(-3px);
  border-color: var(--pink);
  background: rgba(20, 8, 15, 0.45);
}
.hero-bottom {
  position: absolute;
  z-index: 5;
  left: 4vw;
  right: 4vw;
  bottom: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #c8b8bf;
  font-size: 8px;
  letter-spacing: 2px;
}
.hero-bottom i {
  position: absolute;
  left: 50%;
  width: 1px;
  height: 32px;
  background: linear-gradient(var(--pink), transparent);
  bottom: -9px;
}
.hero-date {
  position: absolute;
  z-index: 5;
  right: 4vw;
  bottom: 84px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-date strong {
  font:
    500 57px/1 "Cormorant Garamond",
    serif;
  color: var(--pink2);
}
.hero-date span {
  font-size: 8px;
  line-height: 1.45;
  letter-spacing: 2px;
}
.section {
  padding: 145px max(22px, 7vw);
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2.7px;
  color: #d8c6cd;
  text-transform: uppercase;
}
.statement {
  background: linear-gradient(180deg, #0c070b, #160b12);
}
.statement-grid {
  max-width: var(--max);
  margin: 55px auto 0;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 9vw;
}
.statement h2,
.section-intro h2,
.gallery-head h2 {
  font:
    500 clamp(56px, 7vw, 104px)/0.84 "Cormorant Garamond",
    serif;
  letter-spacing: -4px;
}
.statement h2 em,
.section-intro h2 em,
.gallery-head h2 em {
  font-style: italic;
  color: var(--pink2);
}
.statement-copy {
  padding-top: 10px;
  color: #cbbbc2;
  font-size: 15px;
  line-height: 1.9;
}
.statement-copy p + p {
  margin-top: 22px;
}
.signature {
  margin-top: 30px;
  color: var(--pink2);
  font:
    italic 22px "Cormorant Garamond",
    serif;
}
.signature span {
  color: var(--pink);
}
.memories {
  background: var(--surface);
}
.section-intro,
.gallery-head {
  max-width: var(--max);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
}
.section-intro p,
.gallery-head p {
  max-width: 270px;
  color: #aa9ba3;
  font-size: 11px;
  line-height: 1.7;
}
.feature-grid {
  max-width: var(--max);
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  align-items: start;
}
.feature.f1 {
  margin-top: 55px;
}
.feature.f3 {
  margin-top: 105px;
}
.portrait {
  position: relative;
  background: #20131b;
  overflow: hidden;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.portrait:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, 0.35));
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.feature.f1 .portrait,
.feature.f3 .portrait {
  aspect-ratio: 4/5;
}
.feature.f2 .portrait {
  aspect-ratio: 3/4;
}
.portrait span {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  font-size: 8px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}
.tag {
  margin-top: 17px;
  color: var(--pink);
  font-size: 8px;
  letter-spacing: 2px;
}
.feature h3 {
  margin-top: 8px;
  font:
    500 30px/1 "Cormorant Garamond",
    serif;
}
.gallery {
  background: #0d070c;
}
.gallery-head {
  margin-top: 25px;
}
.gallery-grid {
  max-width: var(--max);
  margin: 65px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 330px;
  gap: 16px;
}
.memory {
  position: relative;
  overflow: hidden;
  background: #1a1016;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
}
.memory-inner {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.memory-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.memory.tall {
  grid-row: span 2;
}
.memory.wide {
  grid-column: span 2;
}
.memory:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(4, 1, 4, 0.7));
  pointer-events: none;
}
.memory figcaption {
  position: absolute;
  z-index: 2;
  left: 13px;
  bottom: 13px;
  background: rgba(7, 3, 6, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 9px 12px;
  font:
    12px "Cormorant Garamond",
    serif;
  color: #f6e9ee;
  backdrop-filter: blur(8px);
}
.letter {
  background: radial-gradient(circle at 50% 45%, #2a1520, #140910 58%, #0c070b);
  padding-top: 160px;
  padding-bottom: 160px;
}
.letter-card {
  max-width: 1050px;
  margin: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.3);
}
.letter-top {
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: #aa9ca3;
  font-size: 8px;
  letter-spacing: 2px;
}
.letter-layout {
  display: grid;
  grid-template-columns: 150px 1fr;
}
.letter-number {
  padding: 38px 28px;
  border-right: 1px solid var(--line);
  font:
    500 70px/1 "Cormorant Garamond",
    serif;
  color: var(--pink);
}
.letter-body {
  padding: 45px 7vw 60px;
}
.dear {
  font:
    500 17px "Cormorant Garamond",
    serif;
  color: #f0e3e8;
  display: flex;
  justify-content: space-between;
}
.dear span {
  color: var(--pink);
}
.letter-body h2 {
  font:
    500 clamp(50px, 6vw, 80px)/0.87 "Cormorant Garamond",
    serif;
  letter-spacing: -3px;
  margin: 58px 0 38px;
}
.letter-body h2 em {
  color: var(--pink2);
  font-style: italic;
}
.letter-body p {
  max-width: 700px;
  color: #cbbbc2;
  font:
    16px/1.85 "Cormorant Garamond",
    serif;
}
.letter-body p + p {
  margin-top: 18px;
}
.love-sign {
  margin-top: 35px;
  color: #e7d9df;
  font:
    italic 20px/1.3 "Cormorant Garamond",
    serif;
}
.love-sign strong {
  color: var(--pink2);
  font-size: 26px;
  font-weight: 500;
}
.love-sign span {
  color: var(--pink);
}
.ending {
  height: 100svh;
  min-height: 650px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  background: #11080e;
}
.ending-image {
  position: absolute;
  inset: 0;
}
.ending-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ending-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(8, 3, 7, 0.55),
      rgba(8, 3, 7, 0.18) 40%,
      rgba(8, 3, 7, 0.88)
    ),
    linear-gradient(90deg, rgba(8, 3, 7, 0.4), transparent, rgba(8, 3, 7, 0.35));
}
.ending-content {
  position: relative;
  z-index: 3;
  width: min(750px, 90%);
}
.ending h2 {
  font:
    500 clamp(76px, 9vw, 132px)/0.72 "Cormorant Garamond",
    serif;
  letter-spacing: -5px;
  margin: 30px 0;
}
.ending h2 em {
  font-style: italic;
  color: var(--pink2);
}
.ending p {
  font:
    17px/1.65 "Cormorant Garamond",
    serif;
  color: #eee0e5;
}
.ending-heart {
  position: absolute;
  z-index: 3;
  right: 8%;
  top: 23%;
  color: rgba(255, 185, 204, 0.65);
  font-size: 32px;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(-14px) rotate(8deg);
  }
}
footer {
  text-align: center;
  padding: 27px 16px 35px;
  background: #0c070b;
  color: #81747b;
  font-size: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.music-hint {
  position: fixed;
  z-index: 65;
  right: 15px;
  bottom: 15px;
  background: rgba(16, 7, 13, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  padding: 9px 12px;
  color: #b8a9b0;
  font-size: 8px;
  letter-spacing: 1px;
  transition: 0.5s;
}
.music-hint.hide {
  opacity: 0;
  transform: translateY(12px);
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 800px) {
  .topbar {
    padding: 17px 18px;
  }
  .topbar-right {
    gap: 14px;
    font-size: 7px;
  }
  .topbar-right > span {
    display: none;
  }
  .hero {
    min-height: 720px;
    height: 100svh;
  }
  .hero-image img {
    object-position: center center;
  }
  .hero-vignette {
    background: linear-gradient(
      180deg,
      rgba(5, 2, 5, 0.52),
      rgba(8, 3, 7, 0.06) 30%,
      rgba(8, 3, 7, 0.32) 57%,
      rgba(8, 3, 7, 0.94) 100%
    );
  }
  .hero-content {
    width: calc(100% - 34px);
    margin-top: 30px;
  }
  .hero-kicker {
    font-size: 8px;
    letter-spacing: 2px;
  }
  .hero-kicker span {
    width: 20px;
  }
  .hero-mini {
    font-size: 9px;
    margin-top: 13px;
  }
  .hero h1 {
    font-size: 76px;
    letter-spacing: -4px;
    margin: 27px 0 20px;
  }
  .hero-name {
    font-size: 23px;
    letter-spacing: 5px;
  }
  .hero-content p {
    font-size: 16px;
    max-width: 310px;
    margin-top: 15px;
  }
  .primary-btn {
    margin-top: 24px;
    padding: 13px 16px;
  }
  .hero-date {
    right: 18px;
    bottom: 78px;
  }
  .hero-date strong {
    font-size: 43px;
  }
  .hero-date span {
    font-size: 7px;
  }
  .hero-bottom {
    left: 18px;
    right: 18px;
    bottom: 22px;
    font-size: 6.5px;
    letter-spacing: 1.5px;
  }
  .hero-bottom i {
    display: none;
  }
  .section {
    padding: 30px 20px;
  }
  .statement-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 40px;
  }
  .statement h2,
  .section-intro h2,
  .gallery-head h2 {
    font-size: 55px;
    letter-spacing: -2.5px;
  }
  .statement-copy {
    font-size: 14px;
    line-height: 1.85;
  }
  .section-intro,
  .gallery-head {
    display: block;
    margin-top: 20px;
  }
  .section-intro p,
  .gallery-head p {
    margin-top: 20px;
    max-width: 330px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 45px;
    margin-top: 44px;
  }
  .feature.f1,
  .feature.f3 {
    margin-top: 0;
  }
  .feature.f2 {
    margin-top: 0;
  }
  .portrait {
    aspect-ratio: 4/5 !important;
  }
  .feature h3 {
    font-size: 29px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
    margin-top: 42px;
  }
  .memory,
  .memory.tall,
  .memory.wide {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4/5;
    height: auto;
  }
  .memory.tall {
    aspect-ratio: 2/3;
  }
  /* .memory.wide {
    aspect-ratio: 4/3;
  } */
  .memory-inner img {
    object-fit: contain;
  }
  .memory figcaption {
    font-size: 11px;
  }
  .letter {
    padding: 90px 18px;
  }
  .letter-top {
    padding: 16px 18px;
    font-size: 7px;
  }
  .letter-layout {
    grid-template-columns: 1fr;
  }
  .letter-number {
    display: none;
  }
  .letter-body {
    padding: 30px 23px 42px;
  }
  .letter-body h2 {
    font-size: 50px;
    letter-spacing: -2px;
    margin: 43px 0 28px;
  }
  .letter-body p {
    font-size: 15px;
    line-height: 1.8;
  }
  .ending {
    min-height: 680px;
  }
  .ending-image img {
    object-position: center;
  }
  .ending h2 {
    font-size: 75px;
    letter-spacing: -3px;
  }
  .ending p {
    font-size: 15px;
    max-width: 330px;
    margin: auto;
  }
  .ending-heart {
    right: 11%;
    top: 19%;
    font-size: 25px;
  }
  .music-hint {
    right: 9px;
    bottom: 9px;
  }
}
@media (max-width: 420px) {
  .hero {
    min-height: 690px;
  }
  .hero h1 {
    font-size: 68px;
  }
  .hero-name {
    font-size: 21px;
  }
  .statement h2,
  .section-intro h2,
  .gallery-head h2 {
    font-size: 50px;
  }
  .letter-body h2 {
    font-size: 46px;
  }
  .ending h2 {
    font-size: 68px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .heart-float,
  .ending-heart,
  .loader-heart {
    animation: none;
  }
  .reveal {
    transition: none;
  }
}
