@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;
  --hairline: #303030;
  --hairline-on-light: #d2d2d2;
  --ink: #ffffff;
  --body-color: #969696;
  --body-on-light: #181818;
  --muted: #666666;
  --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 { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--canvas);
  color: var(--body-color);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* NAV */
.site-nav {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav .container {
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: space-between;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.08px;
  line-height: 1.2;
}

.nav-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
}

.nav-links a {
  color: var(--body-color);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  line-height: 1.4;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: var(--spacing-xxs);
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 0;
}

/* HERO */
.hero {
  position: relative;
  height: 85vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--canvas);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,24,24,0.15) 0%, rgba(24,24,24,0.72) 100%);
}

.hero-content {
  position: absolute;
  bottom: var(--spacing-xxl);
  left: 0;
  right: 0;
  padding: 0 var(--spacing-md);
  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-title {
  font-size: 80px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -1.6px;
  max-width: 760px;
  margin-bottom: var(--spacing-sm);
}

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--body-color);
  max-width: 520px;
  margin-bottom: var(--spacing-md);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
}

/* 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: 1;
  border-radius: 0;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary:hover { background: var(--primary-active); color: var(--on-primary); }

.btn-outline {
  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: 1;
  border-radius: 0;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-outline:hover { background: var(--ink); color: var(--canvas); }

/* SECTION */
.section { padding: var(--spacing-xxl) 0; }
.section-light { background: var(--canvas-light); }
.section-soft { background: var(--surface-soft-light); }
.section-elevated { background: var(--canvas-elevated); }

.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-dark {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
}

.section-title {
  font-size: 36px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.36px;
  margin-bottom: var(--spacing-sm);
}

.section-title-dark {
  font-size: 36px;
  font-weight: 500;
  color: var(--body-on-light);
  line-height: 1.2;
  letter-spacing: -0.36px;
  margin-bottom: var(--spacing-sm);
}

.section-body {
  font-size: 14px;
  color: var(--body-color);
  max-width: 640px;
  line-height: 1.5;
}

.section-body-dark {
  font-size: 14px;
  color: var(--body-on-light);
  max-width: 640px;
  line-height: 1.5;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.card {
  background: var(--canvas-elevated);
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: var(--spacing-sm);
}

.card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--spacing-xxs);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: var(--spacing-xs);
}

.card-text {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.5;
  margin-bottom: var(--spacing-sm);
}

.card-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: var(--primary);
}

.card-link:hover { color: var(--primary-active); }

/* ARTICLE CARD (light bg) */
.card-light {
  background: var(--canvas-light);
  border: 1px solid var(--hairline-on-light);
  border-radius: 0;
  overflow: hidden;
}

.card-light .card-title { color: var(--body-on-light); }
.card-light .card-text { color: #555; }
.card-light .card-label { color: var(--primary); }

/* TECHNIQUE STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.step-item {
  padding: var(--spacing-md);
  background: var(--canvas-elevated);
  border-left: 3px solid var(--primary);
}

.step-number {
  font-size: 80px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -1.6px;
  margin-bottom: var(--spacing-xs);
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--spacing-xxs);
}

.step-text {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.5;
}

/* LIVERY BAND */
.livery-band {
  background: var(--primary);
  padding: var(--spacing-xxl) 0;
  text-align: center;
}

.livery-band h2 {
  font-size: 36px;
  font-weight: 500;
  color: var(--on-primary);
  letter-spacing: -0.36px;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

.livery-band p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto var(--spacing-md);
  line-height: 1.5;
}

/* CONTACT FORM */
.form-section { background: var(--canvas-elevated); padding: var(--spacing-xxl) 0; }

.form-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-xl);
}

.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-color);
}

.form-group input,
.form-group textarea {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  padding: 14px 16px;
  height: 48px;
  outline: none;
  transition: border-color 0.15s;
}

.form-group textarea {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

/* ARTICLE PAGE */
.article-hero {
  position: relative;
  height: 55vh;
  min-height: 380px;
  overflow: hidden;
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,24,24,0.2) 0%, rgba(24,24,24,0.8) 100%);
}

.article-hero-content {
  position: absolute;
  bottom: var(--spacing-xl);
  left: 0;
  right: 0;
  padding: 0 var(--spacing-md);
  max-width: 1280px;
  margin: 0 auto;
}

.article-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
}

.article-title {
  font-size: 56px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -1.12px;
  max-width: 760px;
}

.article-body {
  padding: var(--spacing-xxl) 0;
}

.article-content {
  max-width: 780px;
}

.article-content h2 {
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: 0.195px;
  margin: var(--spacing-xl) 0 var(--spacing-sm);
}

.article-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: var(--spacing-md) 0 var(--spacing-xs);
}

.article-content p {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.5;
  margin-bottom: var(--spacing-sm);
}

.article-content ul,
.article-content ol {
  padding-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.article-content li {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.5;
  margin-bottom: var(--spacing-xxs);
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
}

.article-img-block {
  margin: var(--spacing-xl) 0;
}

.article-img-block img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 0;
}

.article-img-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: var(--spacing-xxs);
  line-height: 1.4;
}

/* RELATED */
.related-section {
  padding: var(--spacing-xxl) 0;
  border-top: 1px solid var(--hairline);
}

/* FOOTER */
.site-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-color);
  line-height: 1.5;
  margin-top: var(--spacing-xs);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: var(--spacing-xxs); }

.footer-col ul li a {
  font-size: 13px;
  color: var(--body-color);
  line-height: 1.4;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--spacing-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* 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-md);
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

#cookie-banner p {
  font-size: 13px;
  color: var(--body-color);
  line-height: 1.5;
  max-width: 700px;
}

#cookie-banner p a { color: var(--primary); text-decoration: underline; }

.cookie-actions { display: flex; gap: var(--spacing-xs); }

.btn-cookie-accept {
  background: var(--primary);
  color: var(--on-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 0;
}

.btn-cookie-reject {
  background: transparent;
  color: var(--body-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--hairline);
  cursor: pointer;
  border-radius: 0;
}

/* PAGES (about, privacy, terms) */
.page-hero {
  background: var(--canvas-elevated);
  padding: var(--spacing-xxl) 0 var(--spacing-xl);
  border-bottom: 1px solid var(--hairline);
}

.page-hero .section-label { margin-bottom: var(--spacing-xs); }

.page-hero h1 {
  font-size: 56px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -1.12px;
  margin-bottom: var(--spacing-sm);
}

.page-hero p {
  font-size: 16px;
  color: var(--body-color);
  max-width: 600px;
  line-height: 1.5;
}

.page-body {
  padding: var(--spacing-xxl) 0;
  max-width: 820px;
}

.page-body h2 {
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: 0.195px;
  margin: var(--spacing-xl) 0 var(--spacing-sm);
}

.page-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: var(--spacing-md) 0 var(--spacing-xs);
}

.page-body p {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.5;
  margin-bottom: var(--spacing-sm);
}

.page-body ul {
  padding-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.page-body li {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.5;
  margin-bottom: var(--spacing-xxs);
}

/* ABOUT */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.team-card {
  background: var(--canvas-elevated);
  padding: var(--spacing-md);
  border-radius: 0;
  border: 1px solid var(--hairline);
}

.team-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-xxs);
}

.team-card .role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
}

.team-card p {
  font-size: 13px;
  color: var(--body-color);
  line-height: 1.5;
}

/* BADGE */
.badge-pill {
  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;
}

/* DISCLAIMER */
.disclaimer-bar {
  background: var(--canvas-elevated);
  border-top: 1px solid var(--hairline);
  padding: var(--spacing-xs) 0;
}

.disclaimer-bar p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 56px; }
  .article-title { font-size: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--hairline);
    gap: var(--spacing-sm);
  }
  .hero-title { font-size: 32px; letter-spacing: -0.5px; }
  .hero-content { bottom: var(--spacing-xl); }
  .section-title, .section-title-dark { font-size: 26px; }
  .page-hero h1 { font-size: 36px; }
  .article-title { font-size: 28px; letter-spacing: -0.3px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
