:root {
  --ink: #151723;
  --muted: #626572;
  --paper: #f6f5f1;
  --card: #ffffff;
  --line: #deddd7;
  --accent: #ff5136;
  --accent-dark: #d93a24;
  --navy: #1d2638;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand img { width: 124px; height: auto; }
.header-inner nav { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 700; font-size: 14px; }
.header-inner nav a { text-decoration: none; }
.header-inner nav a:hover, .header-inner nav a:focus-visible { color: var(--accent); }

.eyebrow, .card-label {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-index { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 76px 0 110px; }
.blog-intro { max-width: 780px; margin-bottom: 46px; }
h1, h2 { font-family: Roboto, Arial, sans-serif; line-height: 1.08; }
.blog-intro h1 { margin: 14px 0 20px; font-size: clamp(42px, 6vw, 76px); letter-spacing: -.045em; }
.blog-intro p { margin: 0; color: var(--muted); font-size: 20px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 860px); }
.article-card {
  display: grid;
  grid-template-columns: minmax(280px, 44%) 1fr;
  overflow: hidden;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(23, 28, 42, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(23, 28, 42, .14); }
.article-card > img { width: 100%; height: 100%; min-height: 350px; object-fit: cover; object-position: 65% center; }
.card-body { padding: 38px; display: flex; flex-direction: column; align-items: flex-start; }
.card-body h2 { margin: 12px 0 16px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; }
.card-body p { margin: 0 0 28px; color: var(--muted); }
.card-link { margin-top: auto; color: var(--accent-dark); font-weight: 800; }

.article-hero {
  width: min(1260px, calc(100% - 40px));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  min-height: 590px;
  overflow: hidden;
  background: var(--navy);
  color: white;
  border-radius: 22px;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.hero-copy { padding: clamp(42px, 7vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.hero-copy .eyebrow { color: #ff8c78; text-decoration: none; }
.hero-copy h1 { margin: 16px 0 24px; font-size: clamp(43px, 5.6vw, 76px); letter-spacing: -.045em; }
.hero-copy > p { margin: 0; color: #d9dce3; font-size: 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 34px; color: #aeb5c2; font-size: 13px; }

.article-layout {
  width: min(1100px, calc(100% - 40px));
  margin: 72px auto 110px;
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: space-between;
  gap: 70px;
}
.article-toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 9px; font-size: 13px; }
.article-toc strong { margin-bottom: 6px; font-size: 15px; }
.article-toc a { color: var(--muted); text-decoration: none; }
.article-toc a:hover { color: var(--accent-dark); }
.article-body { min-width: 0; font-size: 17px; }
.article-body > p:first-child { font-size: 22px; line-height: 1.55; }
.article-body h2 { margin: 72px 0 24px; padding-top: 18px; font-size: clamp(32px, 4vw, 46px); letter-spacing: -.03em; border-top: 1px solid var(--line); }
.article-body p { margin: 0 0 18px; }
.article-body a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.race {
  margin-bottom: 12px !important;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
}
.race strong { display: block; margin-bottom: 4px; font-family: Roboto, Arial, sans-serif; line-height: 1.35; }
.inline-cta {
  margin: 30px 0 !important;
  padding: 20px 24px;
  background: #fff0ec;
  border-radius: 10px;
}
.site-footer { background: var(--navy); color: white; }
.site-footer > div { width: min(1180px, calc(100% - 40px)); min-height: 150px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.site-footer span { color: #aeb5c2; }

@media (max-width: 900px) {
  .header-inner { padding: 14px 0; align-items: flex-start; }
  .header-inner nav { justify-content: flex-end; gap: 10px 18px; }
  .article-hero { grid-template-columns: 1fr; }
  .hero-image { max-height: 440px; }
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .article-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; background: white; border: 1px solid var(--line); border-radius: 12px; }
  .article-toc strong { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .header-inner { width: min(100% - 28px, 1180px); display: block; }
  .brand img { width: 106px; margin-bottom: 12px; }
  .header-inner nav { justify-content: flex-start; gap: 8px 16px; font-size: 13px; }
  .blog-index { width: min(100% - 28px, 1180px); padding-top: 48px; }
  .article-card { grid-template-columns: 1fr; }
  .article-card > img { min-height: 250px; }
  .card-body { padding: 26px; }
  .article-hero { width: 100%; margin-top: 0; border-radius: 0; }
  .hero-copy { padding: 36px 22px 44px; }
  .hero-copy h1 { font-size: 42px; }
  .article-layout { width: min(100% - 28px, 1100px); margin-top: 44px; }
  .article-toc { grid-template-columns: 1fr; }
  .article-body { font-size: 16px; }
  .article-body > p:first-child { font-size: 19px; }
  .article-body h2 { margin-top: 56px; }
}
