:root {
  --bg-main: #0b0b11;
  --bg-alt: #181018;
  --bg-deep: #050309;
  --text-main: #fdf8f3;
  --text-soft: #c4b8aa;
  --accent: #fbbf77;
  --accent-soft: rgba(248, 203, 144, 0.15);
  --accent-gold: #f6d68b;
  --border-soft: rgba(248, 203, 144, 0.25);
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 26px 60px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 18px 40px rgba(0, 0, 0, 0.35);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% -10%, rgba(255, 250, 240, 0.12) 0, transparent 55%),
    radial-gradient(circle at 100% 120%, rgba(248, 203, 144, 0.22) 0, transparent 55%),
    radial-gradient(circle at 0% 120%, rgba(248, 113, 113, 0.16) 0, transparent 50%),
    linear-gradient(160deg, #020617 0%, #1e1b4b 40%, #7c2d12 76%, #1c1917 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.9),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.site-header-inner {
  margin: 0 auto;
  max-width: 1080px;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-title {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.site-title-main {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-title-sub {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.site-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease,
    border-color 160ms ease, box-shadow 160ms ease;
}

.site-nav a:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.6);
  transform: translateY(-1px);
}

/* Layout utilities */

.section {
  margin: 0 auto;
  max-width: 960px;
  padding: 3rem 1.5rem;
}

.section-inner {
  position: relative;
  background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.12), transparent 70%),
    radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.4rem 2.6rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  backdrop-filter: blur(14px);
}

.section-header {
  margin-bottom: 1.6rem;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent-gold);
}

.section-title {
  margin: 0.15rem 0 0.4rem;
  font-size: 1.9rem;
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: 0.02em;
}

.section-subtitle {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* Hero */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
  position: relative;
}

.hero-intro {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent);
}

.hero-title {
  font-size: 3.1rem;
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.15;
  position: relative;
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 4.5rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(248, 203, 144, 0.9), transparent);
}

.hero-subtitle {
  color: var(--text-soft);
  font-size: 1rem;
}

.hero-quote {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-size: 1rem;
  color: var(--accent-gold);
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
}

.hero-quote-mark {
  font-size: 1.4rem;
  line-height: 1;
  opacity: 0.9;
}

.hero-quote-text {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease,
    box-shadow 160ms ease, border-color 160ms ease;
}

.hero-button-primary {
  background: #f97316;
  color: #111827;
  border: 1px solid rgba(248, 203, 144, 0.85);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.6);
}

.hero-button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.75);
}

.hero-button-secondary {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.75);
}

.hero-button-secondary:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.9);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.hero-meta-item {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.9);
}

.hero-card {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(255, 245, 235, 0.16), transparent 70%),
    linear-gradient(150deg, #1c1917, #7c2d12 45%, #1e293b 100%);
  border-radius: 22px;
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.7);
  overflow: hidden;
}

.hero-photo {
  border-radius: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.12), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(248, 203, 144, 0.4), transparent 65%),
    linear-gradient(135deg, #1f2937, #111827);
  padding: 0.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.95);
}

.hero-photo img {
  display: block;
  width: 100%;
  max-height: 220px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.hero-photo-label {
  display: block;
  margin-top: 0.35rem;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e5e7eb;
  opacity: 0.9;
  text-align: center;
}

.hero-media {
  margin-bottom: 1.1rem;
}

.hero-media-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.85);
}

.hero-media-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-card-text {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}

.hero-tagline {
  font-size: 0.82rem;
  color: #9ca3af;
}

/* Biography */

.bio-content {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.1rem;
}

.bio-text p {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.bio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.bio-tag {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #f4ede3;
  font-size: 0.78rem;
  color: #7b5b35;
}

.bio-aside {
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius-md);
  background: #f8f1e8;
  border: 1px solid rgba(199, 155, 97, 0.35);
  font-size: 0.88rem;
  color: #6b522f;
}

.bio-photo {
  margin-bottom: 1rem;
}

.bio-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Timeline / moments */

.timeline-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.1rem;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-item {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at top left, rgba(248, 203, 144, 0.15), transparent 70%),
    linear-gradient(145deg, rgba(24, 24, 27, 0.96), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(248, 203, 144, 0.45);
  box-shadow: var(--shadow-subtle);
}

.timeline-year {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.timeline-text {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.timeline-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.timeline-card {
  position: relative;
  height: 120px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(248, 203, 144, 0.32), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(220, 38, 38, 0.6), transparent 65%),
    linear-gradient(145deg, #1f2937, #111827);
  display: flex;
  align-items: flex-end;
  padding: 0.7rem;
  color: #f9fafb;
  font-size: 0.8rem;
}

.timeline-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.35), transparent);
  opacity: 0.9;
}

.timeline-card span {
  position: relative;
}

/* Photo gallery */

.gallery-scroller {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-bottom: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.gallery-scroller::-webkit-scrollbar {
  height: 6px;
}

.gallery-scroller::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.7);
}

.gallery-scroller::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.8);
  border-radius: 999px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(248, 203, 144, 0.22), transparent 65%),
    linear-gradient(145deg, #020617, #111827);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: var(--shadow-subtle);
  min-width: 260px;
  scroll-snap-align: center;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
}

/* Slideshow */

.slideshow {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.slideshow-frame {
  position: relative;
  width: 100%;
  padding-top: 70%; /* taller to better fit mixed aspect ratios */
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(248, 203, 144, 0.22), transparent 65%),
    linear-gradient(145deg, #020617, #111827);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: var(--shadow-subtle);
}

.slideshow-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 200ms ease-out;
}

.slideshow-slide.is-active {
  opacity: 1;
}

.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.slideshow-controls {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.slideshow-button {
  flex: 1;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.85);
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease,
    box-shadow 140ms ease, border-color 140ms ease;
}

.slideshow-button:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(248, 203, 144, 0.8);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

/* Tributes */

.tributes-layout {
  display: block;
}

.tribute-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.tribute-card {
  padding: 1rem 1.05rem 1.15rem;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at top left, rgba(248, 203, 144, 0.16), transparent 70%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.96));
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-subtle);
}

.tribute-text {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.tribute-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #777;
}

.tribute-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.9);
}

.tribute-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tribute-form {
  padding: 1.4rem 1.3rem;
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.tribute-form p {
  margin-top: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.form-field label {
  font-size: 0.8rem;
  color: #555;
}

.form-field input,
.form-field textarea {
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 0.5rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
}

.form-note {
  font-size: 0.75rem;
  color: #777;
  margin-bottom: 0.8rem;
}

.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px dashed rgba(110, 154, 168, 0.6);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  color: var(--accent);
}

/* Reflection */

.reflection-section {
  background: radial-gradient(circle at top left, #020617 0, #020617 45%, #020617 100%);
  color: #f1f5f8;
}

.reflection-inner {
  background: linear-gradient(
    135deg,
    rgba(34, 39, 43, 0.88),
    rgba(44, 50, 56, 0.95)
  );
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.4rem 2.4rem 2.3rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.reflection-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.4rem;
}

.reflection-header h2 {
  margin: 0.2rem 0 0.7rem;
  font-size: 1.8rem;
  font-family: "Georgia", "Times New Roman", serif;
}

.reflection-header p {
  margin: 0;
  font-size: 0.95rem;
  color: #c6d0d9;
}

.reflection-quote {
  margin-top: 1.3rem;
  font-size: 0.9rem;
  color: #d3dde6;
  border-left: 2px solid rgba(199, 155, 97, 0.75);
  padding-left: 0.9rem;
}

.reflection-photo {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
}

.reflection-photo img {
  display: block;
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  box-shadow: var(--shadow-subtle);
}

.reflection-points {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.9rem;
  color: #d6dde4;
}

.reflection-signoff {
  margin-top: 1.4rem;
  text-align: center;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(249, 250, 251, 0.78);
  opacity: 0.9;
}

/* Theme song */

.theme-song-section {
  padding-top: 1.5rem;
}

.theme-song-inner {
  background:
    radial-gradient(circle at top left, rgba(248, 250, 252, 0.1), transparent 70%),
    radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 1));
}

.theme-song-body {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 1.6rem;
  align-items: stretch;
}

.theme-song-lyrics {
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(248, 203, 144, 0.4);
  box-shadow: var(--shadow-subtle);
  font-size: 0.95rem;
  line-height: 1.6;
}

.theme-song-lyrics p {
  margin: 0 0 0.4rem;
}

.theme-song-tagline {
  margin-top: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.theme-song-video {
  display: flex;
  align-items: stretch;
}

.theme-song-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(15, 23, 42, 0.9);
}

.theme-song-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.theme-song-link {
  display: inline-flex;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--accent-gold);
  text-decoration: none;
  opacity: 0.9;
}

.theme-song-link:hover {
  text-decoration: underline;
  opacity: 1;
}

/* Footer */

.site-footer {
  margin: 0 auto;
  max-width: 960px;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Responsive */

@media (max-width: 800px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-grid,
  .bio-content,
  .timeline-grid,
  .tributes-layout,
  .reflection-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-inner {
    padding: 1.8rem 1.7rem;
  }
}
