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

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

:root {
  --canvas: #181818;
  --canvas-elevated: #303030;
  --canvas-light: #ffffff;
  --surface-soft-light: #f7f7f7;
  --surface-strong-light: #ebebeb;
  --primary: #da291c;
  --primary-active: #b01e0a;
  --ink: #ffffff;
  --body: #969696;
  --body-on-light: #181818;
  --muted: #666666;
  --hairline: #303030;
  --hairline-on-light: #d2d2d2;
  --on-primary: #ffffff;
  --spacing-xxxs: 4px;
  --spacing-xxs: 8px;
  --spacing-xs: 16px;
  --spacing-sm: 24px;
  --spacing-md: 32px;
  --spacing-lg: 48px;
  --spacing-xl: 64px;
  --spacing-xxl: 96px;
  --spacing-super: 128px;
}

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

body {
  background-color: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-xs);
}

/* ===== TOP NAV ===== */
.top-nav {
  background: var(--canvas);
  height: 64px;
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
}
.top-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-xxs);
}
.nav-brand-mark {
  width: 32px;
  height: 32px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-brand-mark svg { width: 20px; height: 20px; fill: var(--on-primary); }
.nav-brand-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: var(--ink);
  padding: var(--spacing-xxs) 0;
}
.nav-links a:hover { text-decoration: none; color: var(--primary); }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xxs);
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== HERO BAND ===== */
.hero-band {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: var(--canvas);
}
.hero-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,24,24,0.1) 0%, rgba(24,24,24,0.7) 60%, rgba(24,24,24,0.95) 100%);
}
.hero-content {
  position: absolute;
  bottom: var(--spacing-xxl);
  left: 0;
  right: 0;
  padding: 0 var(--spacing-xs);
  max-width: 1280px;
  margin: 0 auto;
}
.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
}
.hero-h1 {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.12px;
  color: var(--ink);
  max-width: 800px;
  margin-bottom: var(--spacing-sm);
}
.hero-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--body);
  max-width: 600px;
  line-height: 1.5;
}

/* ===== ARTICLE HERO ===== */
.article-hero {
  height: 480px;
}
.article-hero .hero-h1 {
  font-size: 36px;
  letter-spacing: -0.36px;
}

/* ===== SECTION BANDS ===== */
.band-dark {
  background: var(--canvas);
  padding: var(--spacing-xxl) 0;
}
.band-elevated {
  background: var(--canvas-elevated);
  padding: var(--spacing-xxl) 0;
}
.band-light {
  background: var(--canvas-light);
  padding: var(--spacing-xxl) 0;
}
.band-soft {
  background: var(--surface-soft-light);
  padding: var(--spacing-xxl) 0;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
}
.section-label-light {
  color: var(--primary);
}
.section-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.36px;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}
.section-title-light {
  color: var(--body-on-light);
}
.section-desc {
  font-size: 14px;
  color: var(--body);
  max-width: 600px;
  line-height: 1.5;
  margin-bottom: var(--spacing-lg);
}
.section-desc-light {
  color: var(--body-on-light);
}

/* ===== CARD GRIDS ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

/* ===== FEATURE CARD (DARK) ===== */
.feature-card {
  background: var(--canvas-elevated);
  overflow: hidden;
}
.feature-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.feature-card-body {
  padding: var(--spacing-sm);
}
.feature-card-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--spacing-xxs);
}
.feature-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-xxs);
}
.feature-card-excerpt {
  font-size: 13px;
  color: var(--body);
  line-height: 1.5;
  margin-bottom: var(--spacing-sm);
}
.feature-card-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--primary);
}
.feature-card-link:hover { text-decoration: none; color: var(--primary-active); }

/* ===== FEATURE CARD (LIGHT) ===== */
.feature-card-light {
  background: var(--canvas-light);
  border: 1px solid var(--hairline-on-light);
  overflow: hidden;
}
.feature-card-light .feature-card-body { padding: var(--spacing-md); }
.feature-card-light .feature-card-title { color: var(--body-on-light); }
.feature-card-light .feature-card-excerpt { color: #555; }
.feature-card-light .feature-card-meta { color: var(--primary); }

/* ===== ARTICLE CARD ===== */
.article-card {
  background: var(--canvas-elevated);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.article-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.article-card-body {
  padding: var(--spacing-sm);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--spacing-xxs);
  flex: 1;
}
.article-card-date {
  font-size: 12px;
  color: var(--muted);
  margin-top: var(--spacing-xs);
}

/* ===== LIVERY BAND ===== */
.livery-band {
  background: var(--primary);
  padding: var(--spacing-xxl) 0;
  text-align: center;
}
.livery-band .livery-title {
  font-size: 36px;
  font-weight: 500;
  color: var(--on-primary);
  letter-spacing: -0.36px;
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto var(--spacing-sm);
}
.livery-band .livery-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 14px 32px;
  height: 48px;
  line-height: 20px;
  border: none;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--primary-active); text-decoration: none; }
.btn-outline-dark {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 14px 32px;
  height: 48px;
  line-height: 20px;
  border: 1px solid var(--ink);
  cursor: pointer;
  border-radius: 0;
}
.btn-outline-dark:hover { background: rgba(255,255,255,0.05); text-decoration: none; }
.btn-outline-light {
  display: inline-block;
  background: transparent;
  color: var(--body-on-light);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 14px 32px;
  height: 48px;
  line-height: 20px;
  border: 1px solid var(--body-on-light);
  cursor: pointer;
  border-radius: 0;
}

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  background: var(--canvas-elevated);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
}
.badge-light {
  background: var(--surface-strong-light);
  color: var(--body-on-light);
}

/* ===== FORM ===== */
.contact-band {
  background: var(--canvas-elevated);
  padding: var(--spacing-xxl) 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  max-width: 720px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxs);
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--body);
}
.form-group input,
.form-group textarea {
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
  height: 48px;
  width: 100%;
}
.form-group textarea {
  height: 120px;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* ===== DIVIDER ===== */
.hairline { border: none; border-top: 1px solid var(--hairline); margin: var(--spacing-lg) 0; }
.hairline-light { border: none; border-top: 1px solid var(--hairline-on-light); margin: var(--spacing-lg) 0; }

/* ===== ARTICLE CONTENT ===== */
.article-content {
  max-width: 800px;
  margin: 0 auto;
}
.article-content h2 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  margin: var(--spacing-lg) 0 var(--spacing-sm);
  letter-spacing: 0.195px;
}
.article-content h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin: var(--spacing-md) 0 var(--spacing-xs);
}
.article-content p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
  margin-bottom: var(--spacing-sm);
}
.article-content ul, .article-content ol {
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-sm);
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
  margin-bottom: var(--spacing-xxs);
}
.article-content a { color: var(--primary); }
.article-content a:hover { color: var(--primary-active); }
.article-content figure {
  margin: var(--spacing-lg) 0;
}
.article-content figure img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.article-content figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: var(--spacing-xxs);
  line-height: 1.4;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--hairline);
}
.article-date {
  font-size: 12px;
  color: var(--muted);
}
.article-updated {
  font-size: 12px;
  color: var(--muted);
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: var(--spacing-lg);
}
.breadcrumbs a {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
}
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span {
  font-size: 12px;
  color: var(--muted);
  margin: 0 var(--spacing-xxs);
}
.breadcrumbs .current {
  font-size: 12px;
  color: var(--body);
}

/* ===== STATS ROW ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  margin: var(--spacing-xxl) 0;
}
.stat-cell {
  background: var(--canvas);
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
}
.stat-value {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.6px;
  color: var(--ink);
  margin-bottom: var(--spacing-xxs);
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}
.footer-brand p {
  font-size: 13px;
  color: var(--body);
  line-height: 1.5;
  margin-top: var(--spacing-xs);
  max-width: 280px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}
.footer-links a {
  font-size: 13px;
  color: var(--body);
  line-height: 1.5;
}
.footer-links a:hover { color: var(--ink); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}
.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.footer-bottom-links {
  display: flex;
  gap: var(--spacing-md);
}
.footer-bottom-links a {
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom-links a:hover { color: var(--ink); text-decoration: none; }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--canvas-elevated);
  border-top: 1px solid var(--hairline);
  padding: var(--spacing-sm) var(--spacing-xs);
  z-index: 999;
  display: none;
}
.cookie-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}
.cookie-text {
  font-size: 13px;
  color: var(--body);
  line-height: 1.5;
  flex: 1;
  min-width: 280px;
}
.cookie-text a { color: var(--primary); }
.cookie-actions { display: flex; gap: var(--spacing-xs); }
.cookie-accept {
  background: var(--primary);
  color: var(--on-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 0;
}
.cookie-reject {
  background: transparent;
  color: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--hairline);
  cursor: pointer;
  border-radius: 0;
}

/* ===== DISCLAIMER ===== */
.disclaimer-band {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--spacing-sm) 0;
}
.disclaimer-band p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
}

/* ===== PAGE CONTENT (STATIC PAGES) ===== */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xxl) var(--spacing-xs);
}
.page-content h1 {
  font-size: 36px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.36px;
}
.page-content h2 {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: var(--spacing-lg) 0 var(--spacing-sm);
}
.page-content p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
  margin-bottom: var(--spacing-sm);
}
.page-content ul {
  list-style: disc;
  padding-left: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}
.page-content li {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
  margin-bottom: var(--spacing-xxs);
}
.page-content a { color: var(--primary); }
.page-last-updated {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: var(--spacing-xl);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: var(--spacing-md); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .hero-band { height: 480px; }
  .hero-h1 { font-size: 32px; letter-spacing: -0.5px; }
  .hero-content { bottom: var(--spacing-lg); }
  .section-title { font-size: 26px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    padding: var(--spacing-md) var(--spacing-xs);
    gap: var(--spacing-sm);
    border-bottom: 1px solid var(--hairline);
    z-index: 99;
  }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .livery-band .livery-title { font-size: 26px; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-value { font-size: 36px; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
}
