:root {
  --ink: #2d1723;
  --cream: #fff7ef;
  --paper: #fffdf9;
  --rose: #d64f7e;
  --berry: #7a2748;
  --wine: #321322;
  --gold: #d9ad63;
  --teal: #78c8bd;
  --plum: #51305f;
  --shadow: 0 28px 90px rgba(30, 9, 24, 0.28);
  color: var(--ink);
  background: #170914;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.theme-morning {
  --time-bg-a: #fff2df;
  --time-bg-b: #f8c98c;
  --time-bg-c: #ffd9cf;
  --time-overlay: rgba(255, 197, 122, 0.18);
  --time-hero: rgba(52, 25, 26, 0.7);
  --time-star-opacity: 0.18;
}

body.theme-day {
  --time-bg-a: #fff7ef;
  --time-bg-b: #bde6de;
  --time-bg-c: #f7d6a5;
  --time-overlay: rgba(120, 200, 189, 0.14);
  --time-hero: rgba(24, 17, 22, 0.62);
  --time-star-opacity: 0.1;
}

body.theme-evening {
  --time-bg-a: #321322;
  --time-bg-b: #7a2748;
  --time-bg-c: #d9ad63;
  --time-overlay: rgba(214, 79, 126, 0.2);
  --time-hero: rgba(20, 8, 17, 0.86);
  --time-star-opacity: 0.42;
}

body.theme-night {
  --time-bg-a: #090610;
  --time-bg-b: #24152f;
  --time-bg-c: #78c8bd;
  --time-overlay: rgba(120, 200, 189, 0.16);
  --time-hero: rgba(8, 5, 12, 0.9);
  --time-star-opacity: 0.64;
}

body.dark-mode {
  --ink: #fff5ef;
  --cream: #120711;
  --paper: #1c0d19;
  --wine: #fff0e9;
  --berry: #ff8fb4;
  --shadow: 0 34px 110px rgba(0, 0, 0, 0.52);
  --time-bg-a: #06040a;
  --time-bg-b: #1b0b1c;
  --time-bg-c: #b78cff;
  --time-overlay: rgba(183, 140, 255, 0.17);
  --time-hero: rgba(4, 3, 8, 0.92);
  --time-star-opacity: 0.76;
  color: #fff5ef;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, color-mix(in srgb, var(--time-bg-c, #d9ad63) 36%, transparent), transparent 22rem),
    radial-gradient(circle at 92% 14%, color-mix(in srgb, var(--time-bg-b, #78c8bd) 24%, transparent), transparent 24rem),
    linear-gradient(135deg, var(--time-bg-a, #170914) 0%, var(--time-bg-b, #321322) 48%, #fff7ef 48.1%, #fff7ef 100%);
  overflow-x: hidden;
  transition: background 900ms ease;
}

body,
button,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.starfield,
.cursor-aura,
.scroll-progress,
.time-orb {
  position: fixed;
}

.starfield {
  inset: 0;
  z-index: 0;
  opacity: var(--time-star-opacity, 0.42);
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 800ms ease;
}

.cursor-aura {
  z-index: 60;
  left: 0;
  top: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, rgba(217, 173, 99, 0.2), rgba(214, 79, 126, 0.1) 42%, transparent 68%);
  filter: blur(8px);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.scroll-progress {
  top: 0;
  left: 0;
  z-index: 80;
  width: var(--progress, 0%);
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--rose), var(--teal));
  box-shadow: 0 0 20px rgba(217, 173, 99, 0.7);
  pointer-events: none;
}

.time-orb,
.dark-toggle {
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 58;
  min-height: 58px;
  max-width: min(260px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 9px 15px 9px 10px;
  border: 1px solid rgba(255, 250, 245, 0.28);
  border-radius: 999px;
  color: #fffaf5;
  background: linear-gradient(135deg, rgba(255, 250, 245, 0.16), rgba(255, 250, 245, 0.04));
  backdrop-filter: blur(22px) saturate(1.35);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.dark-toggle {
  right: clamp(14px, 3vw, 28px);
  bottom: calc(clamp(14px, 3vw, 28px) + 72px);
  min-height: 52px;
}

.time-orb:hover,
.dark-toggle:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 26px 82px rgba(0, 0, 0, 0.3), 0 0 32px rgba(217, 173, 99, 0.22);
}

.time-orb span,
.dark-toggle span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--wine);
  background: radial-gradient(circle at 32% 28%, #fff, var(--gold));
  font-size: 0;
  box-shadow: 0 0 24px color-mix(in srgb, var(--time-bg-c, #d9ad63) 60%, transparent);
}

.time-orb span::before,
.dark-toggle span::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(50, 19, 34, 0.12);
}

.dark-toggle span {
  overflow: hidden;
  background: radial-gradient(circle at 62% 36%, #fff 0 18%, #27355e 19% 100%);
}

.dark-toggle span::before {
  width: 20px;
  height: 20px;
  transform: translateX(-6px);
  background: #fff7ef;
  box-shadow: 8px 0 0 #27355e;
}

body.dark-mode .dark-toggle {
  border-color: rgba(183, 140, 255, 0.42);
  background: linear-gradient(135deg, rgba(183, 140, 255, 0.26), rgba(255, 143, 180, 0.08));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), 0 0 34px rgba(183, 140, 255, 0.28);
}

body.dark-mode .dark-toggle span {
  background: radial-gradient(circle at 35% 35%, #ffffff, #b78cff 54%, #27133f 100%);
}

body.dark-mode .dark-toggle span::before {
  transform: translateX(0);
  background: #0b0612;
  box-shadow: 7px 0 0 #b78cff;
}

.time-orb strong,
.dark-toggle strong {
  color: #fffaf5;
  font-size: 0.86rem;
  line-height: 1.08;
  text-align: left;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow-x: clip;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  padding: 22px clamp(18px, 4vw, 56px) clamp(28px, 6vw, 72px);
  color: #fffaf5;
  isolation: isolate;
  perspective: 1200px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 250, 245, 0.1), transparent 18rem),
    linear-gradient(90deg, var(--time-hero, rgba(20, 8, 17, 0.9)), rgba(20, 8, 17, 0.3) 52%, rgba(20, 8, 17, 0.72)),
    linear-gradient(0deg, rgba(20, 8, 17, 0.94), rgba(20, 8, 17, 0.05) 48%);
}

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  width: min(92vw, 760px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 3vw, 34px);
  padding: 10px;
  border: 1px solid rgba(255, 250, 245, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 250, 245, 0.1), rgba(255, 250, 245, 0.02));
  backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 250, 245, 0.88);
  font-size: clamp(0.76rem, 2.3vw, 0.95rem);
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease, color 180ms ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: rgba(255, 250, 245, 0.15);
  transform: translateY(-1px);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--wine);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 32%;
  transform: scale(1.05);
  filter: saturate(1.04) contrast(0.96);
}

.hero-glow,
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(62px);
  will-change: transform;
}

.hero-glow {
  right: 8%;
  bottom: 10%;
  width: min(46vw, 520px);
  aspect-ratio: 1;
  background: rgba(217, 173, 99, 0.3);
  animation: breathe 8s ease-in-out infinite;
}

.aurora-one {
  width: min(42vw, 520px);
  aspect-ratio: 1;
  left: 6%;
  top: 18%;
  background: rgba(214, 79, 126, 0.3);
  animation: drift-one 12s ease-in-out infinite alternate;
}

.aurora-two {
  width: min(38vw, 460px);
  aspect-ratio: 1;
  right: 14%;
  top: 8%;
  background: rgba(120, 200, 189, 0.18);
  animation: drift-two 14s ease-in-out infinite alternate;
}

.hero-layout {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
}

.hero-copy {
  width: min(720px, 100%);
  padding-top: 90px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 12vw, 9.5rem);
  line-height: 0.86;
  text-wrap: balance;
}

.hero-title {
  position: relative;
  min-height: 0.86em;
  transform-style: preserve-3d;
  perspective: 900px;
}

.hero-title span {
  display: inline-block;
  transform-origin: 50% 70%;
  will-change: transform, filter, opacity;
  transition: font-family 220ms ease, letter-spacing 220ms ease, font-style 220ms ease;
}

.hero-title.style-serif span {
  font-family: "DM Serif Display", Georgia, serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-title.style-serif-italic span {
  font-family: "DM Serif Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-title.style-playfair span {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-title.style-cormorant span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-title.style-modern span {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.hero-title.style-wide span {
  font-family: Inter, system-ui, sans-serif;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.9;
}

.hero-title::after {
  content: "";
  position: absolute;
  inset: -8% -6%;
  border-radius: 999px;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 250, 245, 0.24), rgba(217, 173, 99, 0.22), transparent 72%);
  opacity: 0;
  transform: translateX(-34%) rotate(-2deg);
  filter: blur(10px);
  pointer-events: none;
}

.hero-title.is-changing span {
  animation: title-swap 1100ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-title.is-changing::after {
  animation: title-shimmer 1100ms ease both;
}

h2 {
  color: var(--wine);
  font-size: clamp(2.7rem, 8vw, 6.8rem);
  line-height: 0.95;
  text-wrap: balance;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 250, 245, 0.9);
  font-size: clamp(1rem, 2.1vw, 1.25rem);
  line-height: 1.7;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.icon-action {
  min-height: 52px;
  border-radius: 999px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  transition: transform 190ms ease, box-shadow 190ms ease, background 190ms ease;
}

.primary-action {
  padding: 0 24px;
  color: var(--wine);
  background: #fffaf5;
  box-shadow: 0 14px 34px rgba(255, 250, 245, 0.18);
}

.primary-action:hover,
.icon-action:hover {
  transform: translateY(-2px) scale(1.03);
}

.icon-action {
  width: 76px;
  padding: 0;
  color: #fffaf5;
  background: rgba(255, 250, 245, 0.16);
  border: 1px solid rgba(255, 250, 245, 0.3);
}

.icon-action span {
  font-size: 0.8rem;
}

.hero-3d-stage {
  position: relative;
  height: min(64vh, 560px);
  min-height: 430px;
  transform-style: preserve-3d;
  pointer-events: none;
}

.memory-polaroid {
  position: absolute;
  margin: 0;
  width: clamp(160px, 18vw, 245px);
  padding: 10px 10px 48px;
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.88);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.36), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transform-style: preserve-3d;
  animation: float-card 6s ease-in-out infinite;
  will-change: transform;
}

.memory-polaroid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}

.memory-polaroid figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: var(--wine);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1;
}

.memory-one {
  right: 16%;
  bottom: 7%;
  z-index: 3;
  transform: rotateY(-16deg) rotateZ(7deg) translateZ(86px);
}

.memory-two {
  left: 8%;
  top: 14%;
  z-index: 2;
  transform: rotateY(18deg) rotateZ(-10deg) translateZ(26px);
  animation-delay: -1.5s;
}

.memory-three {
  right: 0;
  top: 2%;
  z-index: 1;
  transform: rotateY(-10deg) rotateZ(12deg) translateZ(-16px);
  animation-delay: -3s;
}

.intro-band {
  padding: clamp(56px, 10vw, 120px) clamp(20px, 7vw, 96px);
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.94), rgba(255, 247, 239, 0.88)),
    radial-gradient(circle at 10% 60%, rgba(120, 200, 189, 0.24), transparent 22rem);
}

body.dark-mode .intro-band {
  background:
    radial-gradient(circle at 18% 20%, rgba(183, 140, 255, 0.22), transparent 24rem),
    linear-gradient(135deg, rgba(18, 7, 17, 0.98), rgba(42, 14, 34, 0.96));
}

.intro-band p {
  max-width: 1060px;
  margin: 0 auto;
  color: var(--wine);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.1rem, 6.4vw, 6rem);
  line-height: 1.02;
  text-align: center;
}

body.dark-mode .intro-band p,
body.dark-mode h2 {
  color: #fff5ef;
}

.song-section,
.gallery-section,
.reasons-section,
.letter-section {
  padding: clamp(64px, 10vw, 130px) clamp(18px, 5vw, 72px);
}

.song-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 520px);
  align-items: center;
  gap: clamp(24px, 6vw, 72px);
  background:
    radial-gradient(circle at 18% 20%, rgba(214, 79, 126, 0.18), transparent 22rem),
    radial-gradient(circle at 84% 30%, rgba(120, 200, 189, 0.16), transparent 24rem),
    linear-gradient(135deg, #fff7ef, #f6e4dc);
}

.song-copy {
  max-width: 680px;
}

.song-copy .kicker {
  color: var(--rose);
}

.song-copy p:not(.kicker) {
  margin: 22px 0 0;
  max-width: 520px;
  color: #583347;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.75;
  font-weight: 700;
}

.spotify-card {
  position: relative;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 245, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
}

.spotify-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 18px;
  background: conic-gradient(from 180deg, rgba(217, 173, 99, 0.28), rgba(214, 79, 126, 0.22), rgba(120, 200, 189, 0.18), rgba(217, 173, 99, 0.28));
  filter: blur(24px);
  opacity: 0.86;
}

.spotify-card iframe {
  display: block;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #120711;
}

.spotify-card a {
  min-height: 44px;
  margin-top: 12px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fffaf5;
  background: linear-gradient(135deg, var(--rose), var(--berry));
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(122, 39, 72, 0.2);
}

.song-float {
  position: fixed;
  left: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 58;
  min-height: 54px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 15px 8px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 250, 245, 0.28);
  color: #fffaf5;
  background: linear-gradient(135deg, rgba(255, 250, 245, 0.16), rgba(255, 250, 245, 0.04));
  backdrop-filter: blur(22px) saturate(1.35);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.song-float:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 26px 82px rgba(0, 0, 0, 0.3), 0 0 32px rgba(214, 79, 126, 0.22);
}

.song-float span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff, var(--rose));
  box-shadow: 0 0 24px rgba(214, 79, 126, 0.42);
}

.song-float span::before {
  content: "";
  width: 15px;
  height: 18px;
  background: #321322;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateX(2px);
}

.song-float strong {
  font-size: 0.84rem;
  line-height: 1;
}

body.dark-mode .song-section {
  background:
    radial-gradient(circle at 18% 20%, rgba(183, 140, 255, 0.2), transparent 22rem),
    radial-gradient(circle at 84% 30%, rgba(214, 79, 126, 0.14), transparent 24rem),
    linear-gradient(135deg, #100710, #21101d);
}

body.dark-mode .song-copy p:not(.kicker) {
  color: rgba(255, 245, 239, 0.82);
}

body.dark-mode .spotify-card {
  background: linear-gradient(145deg, rgba(255, 245, 239, 0.1), rgba(255, 245, 239, 0.04));
  border-color: rgba(255, 245, 239, 0.16);
}

.gallery-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 0%, rgba(217, 173, 99, 0.22), transparent 23rem),
    linear-gradient(180deg, #fff7ef 0%, #f3e6df 100%);
}

body.dark-mode .gallery-section {
  background:
    radial-gradient(circle at 86% 0%, rgba(183, 140, 255, 0.2), transparent 24rem),
    radial-gradient(circle at 16% 28%, rgba(214, 79, 126, 0.16), transparent 26rem),
    linear-gradient(180deg, #100710 0%, #21101d 100%);
}

.gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--gallery-x, 50%) var(--gallery-y, 35%), rgba(214, 79, 126, 0.18), transparent 18rem);
  pointer-events: none;
  transition: opacity 220ms ease;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto clamp(34px, 6vw, 72px);
  text-align: center;
}

.section-heading .kicker {
  color: var(--rose);
}

.photo-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 16px;
  perspective: 1300px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #eadfd7;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.photo-card.is-featured {
  outline: 2px solid color-mix(in srgb, var(--gold) 65%, transparent);
  box-shadow: 0 42px 100px rgba(122, 39, 72, 0.36), 0 0 0 10px rgba(217, 173, 99, 0.08);
}

.photo-card.tall {
  grid-row: span 2;
}

.photo-card.wide {
  grid-column: span 2;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
}

.photo-card:hover {
  box-shadow: 0 38px 90px rgba(58, 21, 38, 0.34);
}

.photo-card:hover img {
  transform: scale(1.08) translateZ(18px);
  filter: saturate(1.08);
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 2;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.34), transparent 58%);
  transform: translateX(-62%) rotate(8deg);
  transition: transform 700ms ease;
  pointer-events: none;
}

.photo-card:hover::before {
  transform: translateX(62%) rotate(8deg);
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(45, 23, 35, 0.76), transparent 55%);
}

.photo-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  color: #fffaf5;
  transform: translateZ(32px);
}

.photo-card span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
}

.photo-card p {
  margin: 4px 0 0;
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.2;
  font-weight: 900;
}

.reasons-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(214, 79, 126, 0.24), transparent 24rem),
    radial-gradient(circle at 86% 18%, rgba(120, 200, 189, 0.16), transparent 24rem),
    #351926;
}

body.dark-mode .reasons-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(183, 140, 255, 0.2), transparent 24rem),
    radial-gradient(circle at 86% 18%, rgba(120, 200, 189, 0.12), transparent 24rem),
    #0e0710;
}

.reasons-section::before {
  content: "";
  position: absolute;
  inset: auto 5% 10% auto;
  width: 280px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 250, 245, 0.18);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(20deg);
  box-shadow: 0 0 60px rgba(217, 173, 99, 0.18);
}

.reasons-section h2 {
  color: #fffaf5;
}

.reason-board {
  position: relative;
  z-index: 1;
  width: min(1050px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  perspective: 1000px;
}

.reason-card {
  min-height: 220px;
  padding: 20px;
  border: 1px solid rgba(255, 250, 245, 0.18);
  border-radius: 8px;
  color: #fffaf5;
  background: linear-gradient(145deg, rgba(255, 250, 245, 0.12), rgba(255, 250, 245, 0.04));
  backdrop-filter: blur(18px);
  text-align: left;
  transform-style: preserve-3d;
  transition: transform 220ms ease, background 180ms ease, border-color 180ms ease, box-shadow 220ms ease;
}

.reason-card:hover,
.reason-card.active {
  transform: translateY(-8px) rotateX(8deg) rotateY(-6deg);
  background: linear-gradient(145deg, rgba(214, 79, 126, 0.42), rgba(120, 200, 189, 0.08));
  border-color: rgba(255, 250, 245, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.reason-card span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reason-card strong {
  display: block;
  margin-top: 62px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 0.95;
  font-weight: 400;
  transform: translateZ(30px);
}

.reason-output {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  min-height: 82px;
  margin: 32px auto 0;
  color: rgba(255, 250, 245, 0.9);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.6;
  font-weight: 700;
  text-align: center;
}

.letter-section {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(255, 247, 239, 0.88), rgba(255, 247, 239, 0.88)),
    url("/assets/love/photo-5.jpg") center / cover fixed;
}

body.dark-mode .letter-section {
  background:
    linear-gradient(rgba(7, 4, 9, 0.88), rgba(7, 4, 9, 0.9)),
    url("/assets/love/photo-5.jpg") center / cover fixed;
}

.letter-card {
  width: min(1120px, 100%);
  padding: clamp(26px, 5vw, 58px);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  transform-style: preserve-3d;
  border: 1px solid rgba(255, 255, 255, 0.54);
}

body.dark-mode .letter-card {
  background: rgba(20, 10, 19, 0.82);
  border-color: rgba(255, 245, 239, 0.18);
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.54), 0 0 80px rgba(183, 140, 255, 0.12);
}

.letter-card:hover {
  transform: rotateX(1.5deg) rotateY(-1deg);
}

.letter-card .kicker {
  color: var(--rose);
}

.letter-languages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 54px);
  align-items: start;
}

.letter-card p {
  margin: 22px 0 0;
  color: #583347;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.75;
  font-weight: 600;
}

body.dark-mode .letter-card p {
  color: rgba(255, 245, 239, 0.82);
}

.letter-card strong {
  display: block;
  margin-top: 28px;
  color: var(--berry);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 400;
}

body.dark-mode .letter-card strong,
body.dark-mode .letter-card .kicker,
body.dark-mode .section-heading .kicker {
  color: #ff9fc0;
}

.amharic-letter {
  font-family: "Noto Sans Ethiopic", Inter, system-ui, sans-serif;
}

.amharic-letter h2 {
  font-family: "Noto Sans Ethiopic", Inter, system-ui, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.12;
}

.amharic-letter strong {
  font-family: "Noto Sans Ethiopic", Inter, system-ui, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
}

.heart-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  overflow: hidden;
}

.floating-heart {
  position: absolute;
  bottom: -40px;
  color: var(--rose);
  font-size: 28px;
  text-shadow: 0 0 22px rgba(214, 79, 126, 0.8);
  animation: float-heart 2200ms ease-out forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 760ms ease, transform 760ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16, 5, 14, 0.82);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(86vw, 760px);
  max-height: 78vh;
  border-radius: 8px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.54);
  transform: rotateX(0deg) rotateY(0deg) scale(0.94);
  transition: transform 260ms ease;
}

.lightbox.open img {
  transform: rotateX(0deg) rotateY(0deg) scale(1);
}

.lightbox p {
  margin: 14px 0 0;
  color: #fffaf5;
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 250, 245, 0.28);
  border-radius: 999px;
  color: #fffaf5;
  background: rgba(255, 255, 255, 0.08);
}

.sparkle {
  position: fixed;
  z-index: 95;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, #fff, var(--gold) 45%, transparent 72%);
  box-shadow: 0 0 20px rgba(217, 173, 99, 0.8);
  animation: sparkle-pop 720ms ease-out forwards;
}

@keyframes float-heart {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.7) rotate(0deg);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-110vh) scale(1.35) rotate(18deg);
  }
}

@keyframes float-card {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -16px;
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.96);
  }
  50% {
    transform: scale(1.12);
  }
}

@keyframes drift-one {
  from {
    transform: translate3d(-4%, 0, 0) scale(1);
  }
  to {
    transform: translate3d(12%, 16%, 0) scale(1.18);
  }
}

@keyframes drift-two {
  from {
    transform: translate3d(6%, -4%, 0) scale(0.96);
  }
  to {
    transform: translate3d(-10%, 12%, 0) scale(1.16);
  }
}

@keyframes sparkle-pop {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.35);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--spark-x, 20px), var(--spark-y, -24px), 0) scale(1.4);
  }
}

@keyframes title-swap {
  0% {
    opacity: 1;
    filter: blur(0);
    transform: rotateX(0deg) translateY(0) scale(1);
    text-shadow: 0 0 0 rgba(217, 173, 99, 0);
  }
  34% {
    opacity: 0;
    filter: blur(12px);
    transform: rotateX(48deg) translateY(-22px) scale(0.96);
  }
  35% {
    opacity: 0;
    filter: blur(12px);
    transform: rotateX(-48deg) translateY(22px) scale(0.96);
  }
  72% {
    opacity: 1;
    filter: blur(0);
    transform: rotateX(0deg) translateY(0) scale(1.02);
    text-shadow: 0 0 32px rgba(217, 173, 99, 0.34);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: rotateX(0deg) translateY(0) scale(1);
    text-shadow: 0 0 0 rgba(217, 173, 99, 0);
  }
}

@keyframes title-shimmer {
  0% {
    opacity: 0;
    transform: translateX(-34%) rotate(-2deg);
  }
  42% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(34%) rotate(-2deg);
  }
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .song-section {
    grid-template-columns: 1fr;
  }

  .hero-3d-stage {
    display: none;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 230px;
  }

  .reason-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .letter-languages {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .cursor-aura {
    display: none;
  }

  .time-orb {
    right: 10px;
    bottom: 10px;
    min-height: 50px;
    padding: 7px 11px 7px 8px;
  }

  .song-float {
    left: 10px;
    bottom: 10px;
    min-height: 50px;
    padding: 7px 11px 7px 8px;
  }

  .song-float span {
    width: 34px;
    height: 34px;
  }

  .song-float strong {
    font-size: 0.76rem;
  }

  .dark-toggle {
    right: 10px;
    bottom: 70px;
    min-height: 50px;
    padding: 7px 11px 7px 8px;
  }

  .time-orb span,
  .dark-toggle span {
    width: 34px;
    height: 34px;
  }

  .time-orb strong,
  .dark-toggle strong {
    max-width: 112px;
    font-size: 0.76rem;
  }

  .nav {
    width: calc(100vw - 20px);
    justify-content: space-between;
    gap: 0;
    padding: 7px;
  }

  .nav a {
    min-height: 34px;
    padding: 0 7px;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(20, 8, 17, 0.96), rgba(20, 8, 17, 0.2) 58%),
      linear-gradient(90deg, rgba(20, 8, 17, 0.36), rgba(20, 8, 17, 0.12));
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-copy {
    padding-top: 76px;
  }

  h1 {
    font-size: clamp(3.7rem, 17vw, 5.3rem);
  }

  .photo-grid,
  .reason-board {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-auto-rows: 420px;
  }

  .photo-card.tall,
  .photo-card.wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .photo-card.wide {
    min-height: 310px;
  }

  .reason-card {
    min-height: 170px;
  }

  .reason-card strong {
    margin-top: 38px;
  }

  .letter-section {
    background-attachment: scroll;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
