/* ========================================
   Roger Auerbach 80th Birthday
   Design System & Styles
   ======================================== */

:root {
  --navy: #1a2744;
  --navy-mid: #234d7d;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dark: #a07830;
  --cream: #faf8f3;
  --cream-dark: #f0ece0;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-muted: #666666;
  --text-light: #999999;
  --border: #ddd8cc;
  --shadow: rgba(26, 39, 68, 0.12);
  --shadow-hover: rgba(26, 39, 68, 0.22);

  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

/* ── Layout Utilities ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.gold-rule {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto;
  border-radius: 2px;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 39, 68, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  padding: 0 1.5rem;
  transition: var(--transition);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.15);
  text-decoration: none;
}

.nav-mobile-links {
  display: none;
}

/* ── Hero ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  background: linear-gradient(160deg, var(--navy) 0%, #0d1829 60%, #1a3050 100%);
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(35, 77, 125, 0.3) 0%, transparent 60%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 6rem 3rem 5rem;
  gap: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 0 0 55%;
  max-width: 55%;
  text-align: left;
  padding-right: 2rem;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 20px;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-name span {
  color: var(--gold);
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  font-style: italic;
}

.hero-birthday {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  margin-bottom: 3rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-portrait {
  flex: 0 0 45%;
  max-width: 45%;
  position: relative;
  align-self: stretch;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.4) 12%,
    rgba(0,0,0,0.85) 28%,
    black 50%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.4) 12%,
    rgba(0,0,0,0.85) 28%,
    black 50%
  );
}

.hero-portrait-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) contrast(1.05) brightness(0.82);
}

.hero-name-row {
  display: block;
}

.hero-portrait-circle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-light);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.3);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Timeline Section ── */
#timeline {
  background: var(--white);
}

/* Category Filters */
.timeline-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Timeline Track */
.timeline-track {
  position: relative;
  padding: 1rem 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--border) 5%, var(--border) 95%, transparent);
  transform: translateX(-50%);
}

/* Timeline Item */
.timeline-item {
  position: relative;
  display: flex;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.hidden {
  display: none;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

/* Dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 2;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.timeline-dot:hover {
  background: var(--gold);
  transform: translateX(-50%) scale(1.1);
}

/* Card */
.timeline-card {
  width: calc(50% - 40px);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  margin-right: 0;
}

.timeline-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px var(--shadow);
  transform: translateY(-2px);
}

.timeline-card.expanded {
  border-color: var(--navy);
  box-shadow: 0 8px 30px var(--shadow-hover);
}

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.timeline-category-badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.cat-personal   { background: #e8f0fe; color: #2a5f96; }
.cat-education  { background: #e8f8f0; color: #2d7a5e; }
.cat-career     { background: #fef3e8; color: #a06020; }
.cat-public-service { background: #f0e8fe; color: #6040a0; }
.cat-recognition { background: #fef8e8; color: #a07830; }
.cat-family     { background: #fee8f0; color: #a03060; }

.timeline-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.timeline-card.expanded .timeline-description {
  max-height: 1200px;
  opacity: 1;
  margin-top: 0.5rem;
}

.timeline-share {
  display: none;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--gold-dark);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
}

.timeline-share:hover { text-decoration: underline; }

.timeline-card.expanded .timeline-share {
  display: flex;
}

/* ── Chapters Section ── */
#chapters {
  background: var(--cream-dark);
}

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.chapter-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.chapter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-color, var(--gold));
}

.chapter-card:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 24px var(--shadow);
  transform: translateY(-3px);
}

.chapter-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--cream-dark);
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  line-height: 1;
  user-select: none;
}

.chapter-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.chapter-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
  line-height: 1.3;
  padding-right: 2.5rem;
}

.chapter-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.chapter-years {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-light);
  background: var(--cream);
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.8);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--cream);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-muted);
}

.modal-close:hover {
  background: var(--border);
  color: var(--text);
}

.modal-chapter-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.modal-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.modal-subtitle {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.modal-years {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.modal-rule {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 1rem 0;
}

.modal-summary {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── About Section ── */
#about {
  background: var(--navy);
  color: var(--white);
}

#about .section-header h2 {
  color: var(--white);
}

#about .section-header p {
  color: rgba(255,255,255,0.65);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h3 {
  color: var(--gold);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

/* ── Footer ── */
footer {
  background: #0d1829;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2.5rem 1.5rem;
}

footer .footer-name {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

footer p {
  font-size: 0.85rem;
  line-height: 1.8;
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  z-index: 300;
  transition: transform 0.3s ease;
  border-left: 3px solid var(--gold);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-layout {
    flex-direction: column;
    align-items: center;
    padding: 6rem 1.5rem 4rem;
  }

  .hero-content {
    flex: none;
    max-width: 680px;
    text-align: center;
    padding-right: 0;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-portrait {
    display: none;
  }

  .hero-name-row {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
  }

  .hero-portrait-circle {
    display: block;
    flex-shrink: 0;
    width: 64px;
    height: 88px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(201, 168, 76, 0.5);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1);
  }

  .hero-portrait-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 6%;
    filter: grayscale(100%) contrast(1.05) brightness(0.88);
  }

  .chapters-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 700px) {
  .timeline-track::before {
    left: 22px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: column;
    padding-left: 60px;
  }

  .timeline-dot {
    left: 22px;
    top: 0.5rem;
  }

  .timeline-card,
  .timeline-item:nth-child(odd) .timeline-card,
  .timeline-item:nth-child(even) .timeline-card {
    width: 100%;
    margin: 0;
  }

  .chapters-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-mid {
    display: none;
  }

  .nav-mobile-links {
    display: flex;
    gap: 0.2rem;
  }

  .nav-mobile-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    transition: var(--transition);
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-decoration: none;
  }

  .nav-mobile-links a:hover,
  .nav-mobile-links a.active {
    color: var(--gold-light);
    background: rgba(201, 168, 76, 0.15);
    border-color: rgba(201, 168, 76, 0.6);
    text-decoration: none;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Photo Gallery: Infinite Marquee ── */
#photos {
  background: var(--white);
  overflow: hidden;
}

/* Outer clipping container */
.gallery-grid {
  position: relative;
  overflow: hidden;
  /* Fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Scrolling track — holds 2× the photos for a seamless loop */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
  will-change: transform;
}

.gallery-item {
  flex: 0 0 auto;
  width: 260px;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.gallery-item:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 24px var(--shadow);
  transform: translateY(-3px) scale(1.02);
}

.gallery-img-wrap {
  overflow: hidden;
}

.gallery-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-img-wrap img {
  transform: scale(1.06);
}

.gallery-caption {
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-year {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  margin-right: 0.3rem;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.gallery-empty {
  text-align: center;
  color: var(--text-light);
  font-style: italic;
  padding: 3rem 0;
  font-size: 1.05rem;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 18, 0.95);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox-inner img {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.lightbox-caption {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-year {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-right: 0.4rem;
  letter-spacing: 0.04em;
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.2); }

/* ── Responsive: Gallery & Lightbox ── */
@media (max-width: 768px) {
  .gallery-item { width: 200px; }
  .marquee-track { animation-duration: 28s; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

@media (max-width: 480px) {
  .gallery-item { width: 160px; }
  .marquee-track { animation-duration: 22s; }
}
