@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@200;300;400;500;600&family=Great+Vibes&display=swap');

:root {
  --cream: #fdf6ef;
  --blush: #f7d8dd;
  --rose: #d4788a;
  --deep-rose: #a34766;
  --wine: #492633;
  --gold: #c9975e;
  --gold-light: #ead0ab;
  --lavender: #dcc8e8;
  --mist: #fffaf5;
  --shadow: rgba(88, 38, 53, 0.14);
  --glass-bg: rgba(255, 255, 255, 0.18);
  --glass-border: rgba(255, 255, 255, 0.38);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 222, 231, 0.7), transparent 32%),
    linear-gradient(180deg, #fff9f5 0%, #fdf6ef 35%, #f9eef6 100%);
  color: #2a1a20;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

.music-toggle {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(58, 28, 40, 0.45);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(52, 21, 34, 0.16);
}

.music-toggle.is-paused {
  background: rgba(58, 28, 40, 0.22);
  color: rgba(255, 255, 255, 0.82);
}

.music-toggle-icon {
  font-size: 1rem;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f7edf2;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--rose), var(--gold));
  border-radius: 999px;
}

#loading-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #fde7ed 0%, #f4e7f8 45%, #fff8f2 100%);
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 9999;
  transition: opacity 0.85s ease, visibility 0.85s ease;
  animation: loadingScreenExit 0.9s ease 2.8s forwards;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-heart {
  font-size: 3.25rem;
  animation: heartbeat 1s ease-in-out infinite;
}

.loading-text {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--rose);
  margin-top: 0.8rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.35s forwards;
}

#balloon-canvas,
.petals-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#balloon-canvas {
  z-index: 0;
}

.petals-layer {
  z-index: 1;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -12vh;
  width: 18px;
  height: 26px;
  background: linear-gradient(180deg, rgba(255, 211, 226, 0.9), rgba(212, 120, 138, 0.55));
  border-radius: 60% 40% 70% 30%;
  opacity: 0.5;
  filter: blur(0.2px);
  animation: petalFall linear forwards;
}

section,
footer,
.nav-dots {
  position: relative;
  z-index: 2;
}

section {
  padding: 6rem 2rem;
}

#hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: 4rem 2rem 3rem;
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  grid-template-columns: minmax(280px, 580px) minmax(260px, 420px);
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 236, 242, 0.95), transparent 28%),
    radial-gradient(circle at 84% 24%, rgba(223, 206, 240, 0.85), transparent 26%),
    linear-gradient(160deg, #fce8ee 0%, #f7edf8 38%, #f5e9f7 62%, #fff2e9 100%);
  overflow: hidden;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.5;
  animation: orbFloat 9s ease-in-out infinite;
}

.hero-orb-1 {
  width: 180px;
  height: 180px;
  left: 8%;
  top: 16%;
  background: rgba(255, 205, 216, 0.9);
}

.hero-orb-2 {
  width: 220px;
  height: 220px;
  right: 14%;
  top: 10%;
  background: rgba(225, 207, 240, 0.72);
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 260px;
  height: 260px;
  right: 8%;
  bottom: 2%;
  background: rgba(255, 220, 188, 0.6);
  animation-delay: -6s;
}

.hero-content {
  text-align: center;
}

.hero-eyebrow,
.section-label,
.finale-eyebrow {
  font-size: 0.73rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-weight: 300;
}

.hero-eyebrow {
  color: #9d7e96;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.7s forwards;
}

.hero-name {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(5rem, 15vw, 10rem);
  line-height: 0.95;
  color: var(--rose);
  text-shadow: 0 10px 32px rgba(212, 120, 138, 0.25);
  opacity: 0;
  animation: fadeInUp 1s ease 1s forwards;
}

.hero-headline {
  margin-top: 0.7rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.3s forwards;
}

.hero-divider,
.section-divider {
  height: 1px;
  margin: 1.8rem auto;
  background: linear-gradient(90deg, transparent, var(--rose), transparent);
}

.hero-divider {
  width: 90px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.6s forwards;
}

.hero-sub {
  max-width: 520px;
  margin: 0 auto;
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.85;
  font-weight: 300;
  color: #714d5b;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.9s forwards;
}

.hero-memory-frame {
  justify-self: center;
  width: min(100%, 400px);
}

.hero-memory-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 28px 70px rgba(101, 45, 61, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.45);
  transform: rotate(3deg);
}

.hero-memory-card::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  z-index: 1;
}

.hero-memory-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-memory-copy {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(57, 25, 37, 0.52);
  backdrop-filter: blur(10px);
  color: #fffaf8;
}

.hero-memory-tag,
.photo-badge,
.video-overlay-label,
.video-chip {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.66rem;
}

.hero-memory-tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--gold-light);
}

.hero-memory-copy p {
  line-height: 1.6;
  font-size: 0.94rem;
}

.hero-scroll-hint {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 2.25s forwards;
}

.hero-scroll-hint span {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #97758f;
}

.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, var(--rose), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.section-label {
  color: #9b7d97;
  text-align: center;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 300;
  text-align: center;
  line-height: 1.1;
}

.section-title em {
  color: var(--rose);
  font-style: italic;
}

.section-divider {
  width: 70px;
  margin-bottom: 3rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.95s ease, transform 0.95s ease;
}

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

.reveal-delay-1 {
  transition-delay: 0.14s;
}

.reveal-delay-2 {
  transition-delay: 0.28s;
}

.reveal-delay-3 {
  transition-delay: 0.42s;
}

#memories {
  background: linear-gradient(180deg, rgba(255, 248, 244, 0.95) 0%, rgba(245, 236, 246, 0.95) 100%);
}

.memory-cinema {
  max-width: 1200px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 320px);
  gap: 2rem;
  align-items: start;
}

.memory-cinema-stage {
  position: sticky;
  top: 10vh;
  min-height: 78vh;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(82, 40, 55, 0.12), rgba(255, 255, 255, 0.55));
  box-shadow:
    0 28px 72px rgba(74, 31, 45, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.memory-focus-card {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  transform: scale(0.88);
  filter: blur(16px) saturate(0.8);
  transition: opacity 0.7s ease, transform 0.9s ease, filter 0.9s ease;
}

.memory-focus-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.memory-focus-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(33, 16, 24, 0.1), rgba(33, 16, 24, 0.58)),
    radial-gradient(circle at top right, rgba(255, 236, 214, 0.28), transparent 32%);
}

.memory-focus-card.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0) saturate(1.02);
  z-index: 2;
}

.memory-focus-copy {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  z-index: 3;
  max-width: 500px;
  padding: 1.25rem 1.35rem;
  border-radius: 24px;
  background: rgba(39, 18, 28, 0.42);
  backdrop-filter: blur(14px);
  color: white;
}

.memory-focus-tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.memory-focus-copy h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 0.55rem;
}

.memory-focus-copy p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.memory-cinema-track {
  display: flex;
  flex-direction: column;
  gap: 18vh;
  padding: 9vh 0 12vh;
}

.memory-cue {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem 1.2rem;
  border-left: 1px solid rgba(163, 71, 102, 0.18);
  color: rgba(86, 51, 65, 0.45);
  transition: color 0.35s ease, transform 0.35s ease;
}

.memory-cue.active {
  color: rgba(86, 51, 65, 0.98);
  transform: translateX(6px);
}

.memory-cue-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--rose);
  margin-bottom: 0.55rem;
}

.memory-cue p {
  line-height: 1.7;
}

.photo-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 110px;
  gap: 16px;
  grid-auto-flow: dense;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 220px;
  background: #eadbe3;
  box-shadow:
    0 16px 42px var(--shadow),
    0 2px 10px rgba(93, 32, 52, 0.08);
  transition: transform 0.38s ease, box-shadow 0.38s ease;
  transform-style: preserve-3d;
}

.photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 45%);
  opacity: 0.75;
}

.photo-card:hover {
  box-shadow:
    0 24px 58px rgba(88, 38, 53, 0.22),
    0 4px 16px rgba(93, 32, 52, 0.12);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.photo-card:hover img {
  transform: scale(1.07);
}

.photo-card-feature {
  grid-column: span 6;
  grid-row: span 4;
}

.photo-card-tall {
  grid-column: span 3;
  grid-row: span 4;
}

.photo-card-wide {
  grid-column: span 6;
  grid-row: span 3;
}

.photo-card:not(.photo-card-feature):not(.photo-card-tall):not(.photo-card-wide) {
  grid-column: span 3;
  grid-row: span 3;
}

.photo-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.38rem 0.8rem;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: white;
}

.photo-card-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 4rem 1.2rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(60, 27, 38, 0.78));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.photo-card:hover .photo-card-overlay {
  opacity: 1;
}

.photo-card-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.45;
  color: white;
}

#video-section {
  text-align: center;
  color: white;
  background:
    radial-gradient(circle at top, rgba(240, 193, 206, 0.18), transparent 22%),
    linear-gradient(160deg, #2a1a20 0%, #3a1f2f 52%, #1b1425 100%);
}

#video-section .section-label {
  color: var(--gold-light);
}

#video-section .section-title {
  color: white;
}

#video-section .section-title em {
  color: var(--gold-light);
}

#video-section .section-divider {
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow:
    0 0 0 1px rgba(234, 208, 171, 0.22),
    0 30px 80px rgba(0, 0, 0, 0.42),
    0 0 60px rgba(212, 120, 138, 0.12);
}

.video-frame::before,
.video-frame::after {
  content: '';
  position: absolute;
  width: 42px;
  height: 42px;
  z-index: 2;
  border-style: solid;
  border-color: rgba(234, 208, 171, 0.8);
}

.video-frame::before {
  top: 14px;
  left: 14px;
  border-width: 2px 0 0 2px;
}

.video-frame::after {
  right: 14px;
  bottom: 14px;
  border-width: 0 2px 2px 0;
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center top;
  background: #120b12;
}

.video-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(34, 16, 27, 0.48);
  backdrop-filter: blur(12px);
}

.video-overlay-label {
  color: rgba(255, 239, 214, 0.9);
}

.video-overlay-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  font-style: italic;
}

.video-playlist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.video-chip {
  border: 1px solid rgba(234, 208, 171, 0.26);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 245, 236, 0.84);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.video-chip:hover,
.video-chip.active {
  transform: translateY(-2px);
  background: rgba(212, 120, 138, 0.16);
  border-color: rgba(234, 208, 171, 0.62);
}

.video-caption {
  margin-top: 1.4rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  font-style: italic;
  color: rgba(255, 236, 214, 0.85);
}

#appreciation {
  background: linear-gradient(180deg, #fff9f5 0%, #fdf6ef 100%);
  text-align: center;
}

.appreciation-grid,
.mcat-affirmations {
  max-width: 1100px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.appreciation-card,
.affirmation-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.appreciation-card {
  padding: 2.3rem 1.9rem;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 120, 138, 0.18);
  box-shadow: 0 12px 36px rgba(114, 53, 70, 0.08);
}

.appreciation-card::before,
.affirmation-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rose), transparent);
}

.appreciation-card:hover,
.affirmation-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.9rem;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  color: var(--deep-rose);
  font-size: 1.45rem;
  margin-bottom: 0.7rem;
}

.card-text,
.affirmation-content p {
  color: #6c4d58;
  line-height: 1.8;
  font-weight: 300;
}

.appreciation-quote,
.mcat-power-quote,
.mcat-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

.appreciation-quote {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.8rem;
  font-size: clamp(1.35rem, 3vw, 1.95rem);
  line-height: 1.7;
  position: relative;
}

.appreciation-quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -1rem;
  font-family: 'Great Vibes', cursive;
  font-size: 5rem;
  color: rgba(212, 120, 138, 0.28);
}

#mcat {
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 228, 212, 0.6), transparent 24%),
    radial-gradient(circle at bottom right, rgba(216, 206, 243, 0.55), transparent 28%),
    linear-gradient(135deg, #fff3ea 0%, #fff3f8 40%, #f3edff 74%, #ecf6ff 100%);
}

.mcat-hero-text {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--rose);
  text-shadow: 0 0 40px rgba(212, 120, 138, 0.2);
}

.mcat-subtitle {
  max-width: 700px;
  margin: 0.7rem auto 3rem;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  color: #785c68;
}

.affirmation-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  text-align: left;
  padding: 2rem 1.75rem;
  background: rgba(255, 255, 255, 0.9);
  border-left: 3px solid var(--rose);
  box-shadow:
    0 10px 30px rgba(102, 51, 68, 0.08),
    0 2px 8px rgba(102, 51, 68, 0.04);
}

.affirmation-num {
  flex-shrink: 0;
  width: 44px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: rgba(212, 120, 138, 0.45);
  line-height: 1;
}

.affirmation-content h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--deep-rose);
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.mcat-progress-bar {
  max-width: 430px;
  margin: 1rem auto 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
  color: #8f7183;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(212, 120, 138, 0.16);
  overflow: hidden;
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lavender), var(--rose), var(--gold));
  transition: width 1.9s ease 0.3s;
}

.mcat-power-quote {
  max-width: 650px;
  margin: 3rem auto 0;
  font-size: clamp(1.45rem, 3.5vw, 2.15rem);
  line-height: 1.6;
}

.mcat-power-quote strong {
  color: var(--rose);
  font-style: normal;
}

#finale {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: linear-gradient(160deg, #291921 0%, #17101e 55%, #0e0815 100%);
  overflow: hidden;
}

.star-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.finale-glow {
  position: absolute;
  width: min(70vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 120, 138, 0.16), transparent 72%);
  animation: glowPulse 4s ease-in-out infinite;
}

.finale-eyebrow {
  color: rgba(234, 208, 171, 0.82);
  margin-bottom: 1.4rem;
}

.finale-name {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(4.4rem, 12vw, 8.4rem);
  line-height: 1;
  color: transparent;
  background: linear-gradient(135deg, var(--gold-light), var(--rose), var(--lavender));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 28px rgba(212, 120, 138, 0.3));
}

.finale-message {
  max-width: 700px;
  margin: 2rem auto;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  font-style: italic;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.86);
}

.finale-sign {
  margin-top: 0.5rem;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--gold-light);
}

.finale-hearts {
  margin-top: 2.6rem;
  font-size: 2rem;
  animation: heartsFloat 3s ease-in-out infinite;
}

.nav-dots {
  position: fixed;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--rose);
  background: rgba(212, 120, 138, 0.22);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.nav-dot:hover,
.nav-dot.active {
  transform: scale(1.28);
  background: var(--rose);
}

footer {
  text-align: center;
  padding: 2rem;
  background: #0d0812;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loadingScreenExit {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.12);
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.06);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes heartsFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.6);
  }
}

@keyframes petalFall {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.55;
  }
  100% {
    transform: translate3d(var(--drift, 70px), 115vh, 0) rotate(var(--rotate, 240deg));
    opacity: 0;
  }
}

@media (max-width: 1050px) {
  #hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 5rem;
  }

  .hero-memory-frame {
    width: min(100%, 420px);
  }

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

  .photo-card-feature,
  .photo-card-wide {
    grid-column: span 6;
  }

  .photo-card-tall,
  .photo-card:not(.photo-card-feature):not(.photo-card-wide):not(.photo-card-tall) {
    grid-column: span 3;
  }

  .memory-cinema {
    grid-template-columns: 1fr;
  }

  .memory-cinema-stage {
    position: relative;
    top: auto;
    min-height: 68vh;
  }

  .memory-cinema-track {
    gap: 1rem;
    padding: 0;
  }

  .memory-cue {
    min-height: auto;
    padding: 1rem 0 0;
  }
}

@media (max-width: 760px) {
  section {
    padding: 4.5rem 1.2rem;
  }

  #hero,
  #finale {
    min-height: 100svh;
  }

  .nav-dots {
    display: none;
  }

  .music-toggle {
    top: auto;
    right: 1rem;
    bottom: 1rem;
    padding: 0.7rem 0.95rem;
  }

  .memory-cinema-stage {
    min-height: 58vh;
    border-radius: 24px;
  }

  .memory-cinema-track {
    gap: 0.5rem;
  }

  .memory-focus-copy {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1rem;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .photo-card,
  .photo-card-feature,
  .photo-card-wide,
  .photo-card-tall,
  .photo-card:not(.photo-card-feature):not(.photo-card-wide):not(.photo-card-tall) {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
  }

  .video-overlay {
    flex-direction: column;
    align-items: flex-start;
  }

  .video-playlist {
    display: grid;
    grid-template-columns: 1fr;
  }

  .video-chip {
    width: 100%;
    text-align: center;
  }

  .appreciation-grid,
  .mcat-affirmations {
    grid-template-columns: 1fr;
  }

  .affirmation-card {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body {
    overflow-x: hidden;
  }

  section {
    padding: 4rem 1rem;
  }

  #hero {
    gap: 1.4rem;
    padding: 5.25rem 1rem 2rem;
  }

  .hero-name {
    font-size: clamp(4.2rem, 20vw, 6.4rem);
  }

  .hero-headline {
    font-size: clamp(1.2rem, 6vw, 1.9rem);
  }

  .hero-sub {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .hero-memory-frame {
    width: 100%;
    max-width: 340px;
  }

  .hero-memory-card {
    transform: rotate(0deg);
  }

  .hero-memory-copy {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.9rem;
  }

  .section-title {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .memory-cinema {
    margin-bottom: 3rem;
    gap: 1rem;
  }

  .memory-cinema-stage {
    min-height: 52vh;
    top: 0;
  }

  .memory-focus-copy h3 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .memory-focus-copy p,
  .memory-cue p {
    font-size: 0.93rem;
  }

  .photo-card,
  .photo-card-feature,
  .photo-card-wide,
  .photo-card-tall,
  .photo-card:not(.photo-card-feature):not(.photo-card-wide):not(.photo-card-tall) {
    min-height: 260px;
    border-radius: 20px;
  }

  .photo-card-overlay {
    opacity: 1;
    padding: 3rem 1rem 1rem;
    background: linear-gradient(180deg, transparent, rgba(60, 27, 38, 0.68));
  }

  .video-frame {
    border-radius: 20px;
  }

  .video-frame video {
    aspect-ratio: 4 / 5;
  }

  .video-overlay {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.8rem 0.9rem;
  }

  .video-overlay-title {
    font-size: 1.05rem;
  }

  .appreciation-card,
  .affirmation-card {
    border-radius: 20px;
  }

  .mcat-subtitle,
  .finale-message {
    font-size: 1.05rem;
    line-height: 1.75;
  }

  footer {
    padding: 1.6rem 1rem 5.5rem;
    line-height: 1.8;
  }
}
