:root {
  --bg-primary: #0b1120;
  --bg-secondary: #111827;
  --bg-card: #1e293b;
  --bg-card-hover: #26354d;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-tawny: #f59e0b;
  --accent-tawny-dark: #d97706;
  --accent-gold: #fde68a;
  --accent-ice: #38bdf8;
  --border-subtle: rgba(148, 163, 184, 0.18);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.45), 0 8px 10px -6px rgba(0, 0, 0, 0.35);
  --max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 15% 10%, rgba(245, 158, 11, 0.10), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.08), transparent 40%),
    var(--bg-primary);
}

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

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

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

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent-gold);
}

.brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent-tawny);
  text-decoration: none;
}

/* Hero Section */
.hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent-gold);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  color: var(--accent-tawny);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  max-width: 62ch;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.stat-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.stat-pill strong {
  color: var(--accent-gold);
  margin-right: 0.25rem;
}

.hero-emblem-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.hero-emblem-card img {
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto 1.25rem;
  display: block;
}

.hero-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-caption strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

/* Section Layout */
.section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  max-width: 68ch;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 1.9rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/*Breed At-a-Glance Cards */
.traits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 0.9rem;
  padding: 1.5rem;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.card-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-tawny);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Timeline */
.timeline {
  display: grid;
  gap: 1.5rem;
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-tawny);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.timeline-year {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.2;
}

.timeline-year span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.timeline-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.timeline-body p {
  color: var(--text-secondary);
  font-size: 0.96rem;
}

/* Two-Column Standard Table */
.standard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.spec-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--border-subtle);
  font-size: 0.95rem;
}

.spec-list li span:first-child {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-list li span:last-child {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 2.5rem 0;
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 999px;
  color: var(--accent-ice);
  font-size: 0.8rem;
  font-weight: 600;
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .nav-links {
    gap: 1rem;
    font-size: 0.85rem;
  }
}
