body.dedication {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.dedication h1,
.dedication .section-label {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}

/* Hero */

.hero {
  position: relative;
  height: min(78vh, 640px);
  min-height: 420px;
  width: 100%;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  background: #000;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 11, 14, 0.55) 0%, rgba(10, 11, 14, 0.25) 30%, rgba(10, 11, 14, 0.85) 100%);
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 24px 84px;
  text-align: center;
}

.home-link {
  position: absolute;
  top: 20px;
  left: 20px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  background: rgba(15, 17, 21, 0.45);
  border: 1px solid rgba(242, 243, 245, 0.18);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.home-link:hover {
  background: rgba(15, 17, 21, 0.7);
}

.sound-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: rgba(15, 17, 21, 0.45);
  border: 1px solid rgba(242, 243, 245, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background 0.15s ease;
}

.sound-toggle:hover {
  background: rgba(15, 17, 21, 0.7);
}

.sound-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero-content .eyebrow {
  color: #d9c68a;
  margin: 0 0 10px;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 600;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero-sub {
  margin: 14px 0 0;
  color: var(--text-dim);
  font-size: 16px;
  letter-spacing: 0.02em;
}

/* Memory gallery */

.memory-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 900px;
  margin: -60px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.memory-gallery figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  aspect-ratio: 4 / 3;
}

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

/* Player section */

.player-section {
  max-width: 900px;
  margin: 96px auto 0;
  padding: 0 20px;
  text-align: center;
}

.section-label {
  margin: 0 0 20px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.player-section .player-card {
  margin: 0 auto;
  text-align: left;
}

.recording-note {
  max-width: 620px;
  margin: 40px auto 0;
  color: var(--text-dim);
  font-size: 16.5px;
  line-height: 1.75;
}

/* Interview photos */

.interview-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 64px auto 0;
  padding: 0 20px;
}

.interview-photos figure {
  margin: 0;
}

.interview-photos img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  display: block;
}

.interview-photos figcaption {
  margin-top: 12px;
  font-size: 14px;
  font-style: italic;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Footer */

.dedication-footer {
  text-align: center;
  padding: 72px 20px 64px;
  color: var(--text-dim);
  font-size: 14px;
}

.footer-signature {
  margin: 8px 0 0;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 18px;
  color: var(--text);
  letter-spacing: 0.02em;
}


@media (max-width: 640px) {
  .memory-gallery {
    grid-template-columns: 1fr;
    margin-top: -40px;
  }

  .interview-photos {
    grid-template-columns: 1fr;
  }

  .player-section {
    margin-top: 64px;
  }
}
