/* ==========================================================================
   Taito Corporation Fan Page — css/style.css
   Space Invaders navy/blue meets Bubble Bobble candy-colour storybook.
   Light background: #f5f5f0. Orbitron 700 headings. Quicksand body.
   Accent: #003da5 blue / #e8000b red. No CRT effects.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Quicksand:wght@400;500;600&display=swap');

[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --bg-primary:    #f5f5f0;
  --bg-secondary:  #eeeee8;
  --bg-card:       #ffffff;
  --bg-card-alt:   #f8f8f4;
  --bg-dark:       #001a5e;
  --bg-dark2:      #003da5;

  --border-dim:    rgba(0, 61, 165, 0.15);
  --border-accent: rgba(0, 61, 165, 0.5);

  --text-primary:  #1a1a2e;
  --text-secondary:#4a5070;
  --text-dim:      #8090b0;
  --text-on-dark:  #ffffff;
  --text-on-dark2: rgba(255, 255, 255, 0.75);

  --accent-blue:   #003da5;
  --accent-blue2:  #0052d4;
  --accent-red:    #e8000b;
  --accent-red2:   #ff1a24;

  --font-heading: 'Orbitron', 'Arial Black', 'Impact', sans-serif;
  --font-body:    'Quicksand', 'Segoe UI', 'Arial', sans-serif;

  --nav-height:       64px;
  --container-max:    1200px;
  --radius:           4px;
  --radius-lg:        8px;
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: var(--accent-blue2);
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

.nav-links a:focus-visible {
  outline-color: var(--accent-red);
  outline-offset: -1px;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

h1 { font-size: clamp(2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.6rem); }
h4 { font-size: clamp(0.95rem, 1.5vw, 1.2rem); }
h5 { font-size: clamp(0.85rem, 1.2vw, 1rem); }

p {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--accent-blue);
  color: #fff;
}
.skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
#site-nav {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--accent-blue);
  border-bottom: 3px solid var(--accent-red);
  display: flex;
  align-items: center;
}

#site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #ffffff;
  letter-spacing: 0.12em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  display: block;
  letter-spacing: 0.15em;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.4rem 0.65rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  border-bottom-color: var(--accent-red);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(150deg, #001a5e 0%, var(--accent-blue) 50%, #0052d4 100%);
  color: var(--text-on-dark);
  padding: calc(var(--nav-height) + 5rem) 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(232, 0, 11, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

/* Alien row motif */
.hero::after {
  content: '👾 👾 👾 👾 👾 👾 👾 👾 👾 👾 👾';
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 1.1rem;
  opacity: 0.18;
  letter-spacing: 0.5rem;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0.25;
  filter: sepia(0.4) brightness(0.7);
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 6rem);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-tagline {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--accent-red);
  padding-left: 1rem;
  min-width: 120px;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.05em;
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
}

.btn-primary:hover {
  background: var(--accent-red2);
  border-color: var(--accent-red2);
  color: #ffffff;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.btn-outline:hover {
  background: var(--accent-blue);
  color: #ffffff;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.site-section {
  padding: 5rem 0;
}

.site-section--alt {
  background: var(--bg-secondary);
}

.site-section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.site-section--dark p { color: rgba(255,255,255,0.85); }
.site-section--dark .section-label { color: rgba(255,255,255,0.5); }
.site-section--dark .section-title { color: #ffffff; }
.site-section--dark a { color: rgba(255,255,255,0.8); }

.section-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent-red);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle,
.section-intro {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 2.5rem;
  font-weight: 500;
  line-height: 1.7;
}

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

/* --------------------------------------------------------------------------
   Page hero (non-index inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, #001a5e 0%, var(--accent-blue) 100%);
  color: var(--text-on-dark);
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
}

.page-hero .section-label {
  color: rgba(255, 255, 255, 0.55);
}

.page-title {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.75rem;
}

.page-subtitle {
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  font-weight: 500;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-top: 3px solid var(--accent-blue);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 61, 165, 0.12);
}

.card-figure {
  margin: 0;
  overflow: hidden;
  max-height: 200px;
  background: var(--bg-dark);
}

.card-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}

.card:hover .card-figure img {
  transform: scale(1.02);
}

.card-body {
  padding: 1.25rem;
}

.card-title {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Tags
   -------------------------------------------------------------------------- */
.tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  font-weight: 700;
  text-transform: uppercase;
}

.tag-year {
  background: var(--accent-blue);
  color: #ffffff;
}

.tag-era {
  background: var(--accent-red);
  color: #ffffff;
}

.tag-platform {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-dim);
}

/* --------------------------------------------------------------------------
   Filter buttons
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.era-btn,
.gallery-btn {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.1rem;
  border: 2px solid var(--border-accent);
  border-radius: var(--radius);
  background: transparent;
  color: var(--accent-blue);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.era-btn:hover,
.gallery-btn:hover {
  background: rgba(0, 61, 165, 0.06);
}

.era-btn.active,
.gallery-btn.active {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
}

/* --------------------------------------------------------------------------
   Gallery grid
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 61, 165, 0.1);
}

.gallery-item figure {
  margin: 0;
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Placeholder (when image unavailable)
   -------------------------------------------------------------------------- */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #001a5e, var(--accent-blue));
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 180px;
}

/* --------------------------------------------------------------------------
   Timeline / History
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-blue), var(--accent-red));
}

.timeline-entry {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-entry::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-blue);
  border: 2px solid var(--bg-primary);
  transform: translateX(-4px);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent-red);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.timeline-title {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.timeline-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Bio cards (People page)
   -------------------------------------------------------------------------- */
.bio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.bio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-left: 4px solid var(--accent-blue);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.bio-name {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.bio-title {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent-red);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.bio-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Feature sections (flagship, space-invaders)
   -------------------------------------------------------------------------- */
.feature-intro {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 780px;
  margin-bottom: 3rem;
  font-weight: 500;
}

.feature-block {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.feature-block h3 {
  color: var(--accent-blue);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-dim);
}

/* --------------------------------------------------------------------------
   Video grid
   -------------------------------------------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 2rem;
}

.video-entry {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-top: 3px solid var(--accent-blue);
  border-radius: var(--radius);
  overflow: hidden;
}

.video-entry-header {
  padding: 1.25rem 1.25rem 0;
}

.video-entry-header h3 {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.video-entry-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1rem 0 0;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-meta {
  padding: 0.75rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Links list (Resources)
   -------------------------------------------------------------------------- */
.links-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.links-item {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-left: 4px solid var(--accent-blue);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  transition: all 0.2s;
  color: inherit;
}

.links-item:hover {
  border-left-color: var(--accent-red);
  box-shadow: 0 4px 16px rgba(0, 61, 165, 0.08);
  text-decoration: none;
  transform: translateX(3px);
}

.links-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--accent-blue);
  display: block;
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
}

.links-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Section heading (h3 variant for sub-sections)
   -------------------------------------------------------------------------- */
.section-heading {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  color: var(--text-primary);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-dim);
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   Video caption / section labels within content
   -------------------------------------------------------------------------- */
.video-caption {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Easter egg — INVADER descend animation
   -------------------------------------------------------------------------- */
#invader-easter-egg {
  position: fixed;
  top: var(--nav-height);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  text-align: center;
  pointer-events: none;
}

#invader-easter-egg.invader-hidden {
  display: none;
}

#invader-easter-egg.invader-descend {
  display: block;
  animation: invader-fall 4.5s ease-in-out forwards;
}

.invader-alien {
  font-size: 5rem;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(0, 61, 165, 0.8)) drop-shadow(0 0 24px rgba(232, 0, 11, 0.4));
  animation: invader-pulse 0.4s steps(1) infinite;
}

.invader-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent-red);
  text-transform: uppercase;
  margin-top: 0.5rem;
  background: rgba(0, 26, 94, 0.9);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  display: inline-block;
}

@keyframes invader-fall {
  0%   { top: var(--nav-height); opacity: 0; }
  8%   { opacity: 1; }
  50%  { top: 35vh; }
  80%  { top: 35vh; opacity: 1; }
  100% { top: 35vh; opacity: 0; }
}

@keyframes invader-pulse {
  0%, 49% { transform: scaleX(1); }
  50%, 100% { transform: scaleX(-1); }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.55);
  padding: 3rem 0;
  font-size: 0.85rem;
  line-height: 1.7;
}

.site-footer p {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--accent-blue);
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-direction: column;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.7rem 1.5rem;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .nav-links a:hover,
  .nav-links a.active {
    border-left-color: var(--accent-red);
    border-bottom: none;
    background: rgba(255,255,255,0.06);
  }

  .hero {
    padding: calc(var(--nav-height) + 3rem) 0 3.5rem;
  }

  .hero-stats {
    gap: 1rem;
  }

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

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

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

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(1.6rem, 8vw, 2.5rem); }
  .hero-title { font-size: clamp(2rem, 10vw, 3.5rem); }
}
