/* ============================================================
   Peugeot 504 — Complete Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

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

:root {
  --navy:    #0a1628;
  --blue:    #003087;
  --blue-lt: #1a4fa0;
  --gold:    #c9a84c;
  --gold-lt: #e0c26e;
  --cream:   #f7f3ec;
  --white:   #ffffff;
  --gray-50: #f9f9f9;
  --gray-100:#f2f2f2;
  --gray-200:#e0e0e0;
  --gray-400:#999;
  --gray-600:#555;
  --gray-800:#222;
  --text:    #1a1a2e;
  --radius:  6px;
  --radius-lg: 12px;
  --shadow:  0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
  --transition: 0.25s ease;
  --max-w:   1200px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body:  'Inter', system-ui, sans-serif;
  --font-prose: 'Crimson Pro', Georgia, serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--gray-600); line-height: 1.75; }

.lead {
  font-family: var(--font-prose);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.8;
  color: var(--gray-600);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ── Layout Utilities ──────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-lg { padding: 120px 0; }
.section-sm { padding: 48px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-blue { color: var(--blue); }
.text-cream { color: var(--cream); }

.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.nav-logo span { color: var(--gold); }

.nav-logo .lion-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  transform: scale(1.03);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,22,40,0.98) 0%,
    rgba(10,22,40,0.7) 55%,
    rgba(10,22,40,0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 24px 80px;
  max-width: 680px;
  padding-left: 24px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-eyebrow .line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-eyebrow span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 8px;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: rgba(247, 243, 236, 0.8);
  font-style: italic;
  margin-bottom: 28px;
}

.hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-stat-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.3); }
}

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  overflow: hidden;
  padding-top: 68px;
}

.page-hero-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.page-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--navy) 20%, rgba(10,22,40,0.5) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 24px 56px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.65); max-width: 600px; font-size: 1.05rem; }

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--gray-100);
}

.card-image-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-lt) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.15);
}

.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { font-size: 0.9rem; margin-top: 8px; }

.card-tag {
  display: inline-block;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 16px;
  transition: var(--transition);
}
.card-link:hover { color: var(--gold); gap: 10px; }

/* ── Stats Bar ─────────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 48px 24px;
}

.stats-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {}
.stat-value {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

/* ── Tables ────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
th {
  background: var(--navy);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 16px;
}
td {
  padding: 11px 16px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--gray-50); }
.td-bold { font-weight: 700; color: var(--text); }
.td-highlight { background: rgba(201, 168, 76, 0.06) !important; }

/* ── Timeline ──────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 32px;
}

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

.timeline-group { margin-bottom: 48px; }

.timeline-decade {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  position: relative;
}

.timeline-decade::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(201,168,76,0.2);
}

.timeline-entry {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  position: relative;
}

.timeline-entry::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--blue-lt);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue-lt);
}

.timeline-year {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
  min-width: 44px;
  padding-top: 1px;
  flex-shrink: 0;
}

.timeline-text {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.timeline-text strong { color: var(--text); }

.timeline-entry.milestone .timeline-text {
  font-weight: 600;
  color: var(--text);
}

.timeline-entry.milestone::before {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.25);
}

/* ── Rally Results ─────────────────────────────────────────── */
.rally-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.rally-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
}

.rally-year {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.rally-event {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  margin-bottom: 16px;
}

.rally-driver { font-weight: 600; font-size: 1.1rem; }
.rally-codriver { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.rally-car {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 10px;
}

/* ── Engine Cards ──────────────────────────────────────────── */
.engine-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.engine-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201,168,76,0.2), var(--shadow);
}

.engine-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.engine-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.engine-type .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}

.dot-petrol { background: var(--blue); }
.dot-diesel { background: #2d8a4e; }
.dot-v6 { background: var(--gold); }

.engine-code {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.engine-name {
  font-size: 0.88rem;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.engine-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.engine-spec-item {}
.engine-spec-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
}
.engine-spec-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2px;
}

/* ── Blockquote ────────────────────────────────────────────── */
blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(201,168,76,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}

blockquote p {
  font-family: var(--font-prose);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray-600);
}

blockquote cite {
  display: block;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
  margin-top: 8px;
}

/* ── Variant Detail ────────────────────────────────────────── */
.variant-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
  box-shadow: var(--shadow-lg);
}

.variant-hero-image {
  position: relative;
  background: var(--gray-100);
  min-height: 300px;
}

.variant-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.variant-hero-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: rgba(255,255,255,0.08);
}

.variant-hero-content {
  background: var(--navy);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.variant-hero-content h2 { color: var(--white); margin-bottom: 12px; }
.variant-hero-content p { color: rgba(255,255,255,0.65); }

.variant-hero-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.variant-spec-item {}
.variant-spec-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}
.variant-spec-value {
  font-weight: 700;
  color: var(--gold);
  margin-top: 2px;
}

/* ── Person Card ───────────────────────────────────────────── */
.person-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.person-card-image {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.15);
  min-height: 300px;
}

.person-card-content {
  padding: 36px;
}

.person-dates {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 4px;
  margin-bottom: 16px;
}

.person-role {
  display: inline-block;
  background: rgba(0,48,135,0.08);
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* ── Market Cards ──────────────────────────────────────────── */
.market-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.market-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.market-card-header {
  background: var(--navy);
  padding: 28px;
  position: relative;
}

.market-flag {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.market-card-header h3 { color: var(--white); }
.market-card-header p { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin-top: 4px; }

.market-card-stats {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.market-stat-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.market-stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}

.market-card-body { padding: 24px; }
.market-card-body p { font-size: 0.9rem; }

/* ── Restoration ───────────────────────────────────────────── */
.issue-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}

.issue-item:last-child { border-bottom: none; }

.issue-severity {
  flex-shrink: 0;
  width: 8px;
  border-radius: 100px;
  align-self: stretch;
}

.severity-high { background: #e53e3e; }
.severity-medium { background: #d97706; }
.severity-low { background: #38a169; }

.issue-content h4 { margin-bottom: 4px; }
.issue-content p { font-size: 0.88rem; }

.supplier-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.supplier-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,48,135,0.1);
}

.supplier-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.supplier-country {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.supplier-note {
  font-size: 0.88rem;
  color: var(--gray-600);
}

/* ── Callout Boxes ─────────────────────────────────────────── */
.callout {
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 32px 0;
}

.callout-gold {
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.3);
}

.callout-blue {
  background: linear-gradient(135deg, rgba(0,48,135,0.08), rgba(0,48,135,0.03));
  border: 1px solid rgba(0,48,135,0.15);
}

.callout-dark {
  background: var(--navy);
  color: var(--white);
}

.callout h4 { margin-bottom: 8px; }
.callout p { font-size: 0.92rem; margin-top: 0; }
.callout-dark h4 { color: var(--gold); }
.callout-dark p { color: rgba(255,255,255,0.7); }

/* ── Availability Grid ─────────────────────────────────────── */
.avail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.avail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.avail-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.avail-good { background: #38a169; border-color: rgba(56,161,105,0.2); background-color: rgba(56,161,105,0.05); }
.avail-mod  { background: #d97706; border-color: rgba(217,119,6,0.2); background-color: rgba(217,119,6,0.05); }
.avail-diff { background: #e53e3e; border-color: rgba(229,62,62,0.2); background-color: rgba(229,62,62,0.05); }

.avail-good .avail-dot { background: #38a169; }
.avail-mod  .avail-dot { background: #d97706; }
.avail-diff .avail-dot { background: #e53e3e; }

.avail-text { font-size: 0.85rem; color: var(--text); }
.avail-level { font-size: 0.72rem; color: var(--gray-400); }

/* ── Section Divider ───────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 56px 0;
}
.divider-line { flex: 1; height: 1px; background: var(--gray-200); }
.divider-icon { font-size: 1.2rem; color: var(--gold); }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 56px 24px 32px;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand span { color: var(--gold); }

.footer-desc { font-size: 0.88rem; line-height: 1.7; }

.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-left { color: rgba(255,255,255,0.4); }

/* ── Tabs ──────────────────────────────────────────────────── */
.tabs {
  border-bottom: 2px solid var(--gray-200);
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  overflow-x: auto;
}

.tab-btn {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-400);
  padding: 12px 20px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.breadcrumb a { color: rgba(255,255,255,0.45); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: rgba(255,255,255,0.7); }

/* ── Responsiveness ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .variant-hero { grid-template-columns: 1fr; }
  .variant-hero-image-placeholder { min-height: 250px; }
  .person-card { grid-template-columns: 1fr; }
  .person-card-image { min-height: 200px; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--navy);
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(201,168,76,0.15);
  }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .market-card-stats { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-up { animation: fadeUp 0.6s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }
