/* ==========================================================================
   Koichi Sugiyama Fan Page — css/style.css
   Identity: "Swords, symphonies, and slimes — the classical maestro who composed Japan's favourite quest"
   Background: #0d1a1a (deep dark teal-black — ocean of Dragon Quest II; night sky of a fantasy map)
   Accent:     #ffd700 (Dragon Quest gold — golden slime eyes, treasure chests)
   Headings:   Spectral 700 — classical serif with elegant proportions
   Body:       Source Sans 3
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Spectral:wght@700&family=Source+Sans+3:wght@400;600&display=swap');

[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Custom Counter Style — Quest Log
   -------------------------------------------------------------------------- */
@counter-style quest-log {
  system: additive;
  additive-symbols: 10 'Ⅹ', 9 'Ⅸ', 8 'Ⅷ', 7 'Ⅶ', 6 'Ⅵ', 5 'Ⅴ', 4 'Ⅳ', 3 'Ⅲ', 2 'Ⅱ', 1 'Ⅰ';
  suffix: '. ';
}

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --bg:              #0d1a1a;
  --bg-card:         #162828;
  --bg-alt:          #091414;
  --bg-overlay:      rgba(13, 26, 26, 0.96);
  --text:            #e4eded;
  --text-muted:      #6a9a9a;
  --accent:          #ffd700;
  --accent-dim:      rgba(255, 215, 0, 0.10);
  --accent-dark:     #c9a800;
  --border:          #1e3a3a;
  --border-accent:   rgba(255, 215, 0, 0.28);
  --teal-glow:       rgba(0, 180, 180, 0.18);
  --font-heading:    'Spectral', Georgia, 'Times New Roman', serif;
  --font-body:       'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  --nav-height:      60px;
  --container-max:   1140px;
}

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-born-unfurl {
  0%   { opacity: 0; letter-spacing: 0.8em; transform: scaleY(0.3); }
  40%  { opacity: 1; letter-spacing: 0.2em; transform: scaleY(1); }
  75%  { opacity: 1; letter-spacing: 0.1em; }
  90%  { opacity: 1; }
  100% { opacity: 0; letter-spacing: 0.1em; }
}

@keyframes hero-born-bg {
  0%   { opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
  #hero-born-overlay { animation: none !important; }
  #hero-born-text    { animation: none !important; }
}

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

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  overflow-x: hidden;
  padding-top: var(--nav-height);
}

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

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

a:hover,
a:focus {
  color: #ffe94d;
  opacity: 0.9;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text);
}

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

ul, ol { padding-left: 1.5rem; }

ol.quest-list {
  list-style: quest-log;
  padding-left: 2rem;
}

ol.quest-list li {
  padding: 0.3rem 0;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Skip Link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #000;
  font-weight: 700;
}

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

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--bg-overlay);
  border-bottom: 1px solid var(--border-accent);
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-brand:hover { color: #ffe94d; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-link {
  display: block;
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus { color: var(--accent); }

.nav-link--active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--bg-overlay);
    border-bottom: 1px solid var(--border-accent);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }
  .nav-menu--open { display: flex; }
  .nav-link { padding: 0.6rem 1.5rem; font-size: 0.88rem; }
  .nav-link--active { border-bottom: none; border-left: 3px solid var(--accent); }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
#hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-accent);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(255,215,0,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0.22;
  filter: sepia(0.3) hue-rotate(160deg) brightness(0.6);
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.stat-block { text-align: left; }

.stat-block .num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}

.stat-block .label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border: 2px solid var(--accent);
}

.btn-primary:hover { background: #ffe94d; border-color: #ffe94d; color: #000; }

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--border-accent);
}

.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* --------------------------------------------------------------------------
   Screenshot Strip
   -------------------------------------------------------------------------- */
.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.screenshot-strip figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-alt);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.screenshot-strip figure:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 12px var(--teal-glow);
}

.screenshot-strip figcaption {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.4rem 0.6rem;
  font-family: var(--font-body);
  text-align: center;
}

.screenshot-strip img { width: 100%; object-fit: cover; aspect-ratio: 4/3; }

@media (max-width: 640px) {
  .screenshot-strip { grid-template-columns: 1fr; }
}

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

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

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

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--text);
  font-family: var(--font-heading);
}

.section-intro {
  color: var(--text-muted);
  max-width: 720px;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 14px var(--teal-glow);
}

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

.card-body { padding: 1.25rem; }

.card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Trivia Asides
   -------------------------------------------------------------------------- */
aside.trivia {
  background: var(--accent-dim);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 3px 3px 0;
  position: relative;
}

aside.trivia::before {
  content: '◆';
  display: inline-block;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #000;
  font-size: 0.75rem;
  line-height: 24px;
  text-align: center;
  position: absolute;
  top: 1rem;
  left: -14px;
  border-radius: 2px;
}

aside.trivia p { font-size: 0.92rem; color: var(--text); margin: 0; }
aside.trivia strong { color: var(--accent); }

/* --------------------------------------------------------------------------
   Chapter Heading — Vertical Writing Mode (Japanese-style)
   -------------------------------------------------------------------------- */
.chapter-aside {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 1.5rem 0;
}

.chapter-heading-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.5rem 0.2rem;
  border-right: 2px solid var(--border-accent);
}

@media (max-width: 480px) {
  .chapter-aside {
    flex-direction: column;
    gap: 0.5rem;
  }
  .chapter-heading-vertical {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    white-space: normal;
    border-right: none;
    border-bottom: 2px solid var(--border-accent);
    padding: 0.25rem 0;
  }
}

/* --------------------------------------------------------------------------
   Dev Quotes
   -------------------------------------------------------------------------- */
blockquote.dev-quote {
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-card);
  border-radius: 0 3px 3px 0;
  font-style: italic;
}

blockquote.dev-quote p {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

blockquote.dev-quote cite {
  font-size: 0.8rem;
  color: var(--accent);
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   YouTube Embeds
   -------------------------------------------------------------------------- */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 3px;
  overflow: hidden;
  margin: 1.5rem 0;
}

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

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

.video-item h3 {
  font-size: 0.92rem;
  margin-top: 0.6rem;
  color: var(--text);
  font-family: var(--font-heading);
}

.video-item .video-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

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

.filter-btn {
  padding: 0.4rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-dim);
  border-color: var(--border-accent);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Catalogue Table
   -------------------------------------------------------------------------- */
.catalogue-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.catalogue-table th {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: left;
  padding: 0.6rem 0.75rem;
  color: var(--accent);
  border-bottom: 2px solid var(--border-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.catalogue-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.catalogue-table tbody tr:hover { background: var(--bg-card); }

.catalogue-table .thumb {
  width: 60px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
}

.era-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 2px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border-accent);
}

/* --------------------------------------------------------------------------
   People / Bio
   -------------------------------------------------------------------------- */
.people-bio {
  max-width: 800px;
}

.people-bio p { margin-bottom: 1.1rem; }

.people-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

.people-portrait {
  width: 180px;
  border: 2px solid var(--border-accent);
  border-radius: 3px;
  transition: box-shadow 0.25s;
}

.people-portrait:hover {
  box-shadow: 0 0 14px var(--teal-glow);
}

.placeholder {
  background: var(--bg-card);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-body);
  text-align: center;
  padding: 1rem;
}

.placeholder-portrait {
  width: 180px;
  height: 220px;
}

@media (max-width: 640px) {
  .people-grid {
    grid-template-columns: 1fr;
  }
  .people-portrait,
  .placeholder-portrait { width: 100%; height: auto; }
}

/* --------------------------------------------------------------------------
   Resources list
   -------------------------------------------------------------------------- */
.resource-list {
  list-style: none;
  padding: 0;
}

.resource-list li {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.resource-list li:last-child { border-bottom: none; }

.resource-list a {
  font-weight: 600;
  font-size: 1rem;
}

.resource-list p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}

/* --------------------------------------------------------------------------
   Music grid
   -------------------------------------------------------------------------- */
.music-section {
  margin-bottom: 3rem;
}

.music-section h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-accent);
  padding-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Timeline (history)
   -------------------------------------------------------------------------- */
.timeline { padding: 0; }

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

.timeline-entry::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: -3rem;
  width: 2px;
  background: var(--border);
}

.timeline-entry:last-child::before { display: none; }

.timeline-dot {
  position: absolute;
  left: 4px;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255,215,0,0.4);
}

.timeline-year {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.timeline-entry h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.timeline-img {
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--border);
  border-radius: 2px;
  margin: 1rem 0;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.timeline-img:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 12px var(--teal-glow);
}

/* --------------------------------------------------------------------------
   Easter Egg — "A Hero is Born" unfurl
   -------------------------------------------------------------------------- */
#hero-born-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 26, 26, 0.92);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: hero-born-bg 3.5s ease-in-out forwards;
}

#hero-born-text {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 8vw, 5rem);
  color: var(--accent);
  text-align: center;
  letter-spacing: 0.3em;
  text-shadow: 0 0 40px rgba(255,215,0,0.6), 0 0 80px rgba(255,215,0,0.3);
  animation: hero-born-unfurl 3.5s ease-in-out forwards;
  line-height: 1.2;
}

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

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

/* --------------------------------------------------------------------------
   Page Hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-accent);
  padding: 3rem 0 2rem;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.page-hero p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.mt-sm { margin-top: 0.75rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 3rem; }
.mb-sm { margin-bottom: 0.75rem; }
.mb-md { margin-bottom: 1.5rem; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.font-heading { font-family: var(--font-heading); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Two-column layout
   -------------------------------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Theme card (flagship page)
   -------------------------------------------------------------------------- */
.theme-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.theme-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 14px var(--teal-glow);
}

.theme-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.theme-card .key-label {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Album card (catalogue Symphonic Suite section)
   -------------------------------------------------------------------------- */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.album-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.album-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 12px var(--teal-glow);
}

.album-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.album-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

footer a { color: var(--text-muted); }
footer a:hover { color: var(--accent); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
