:root {
  --gold: #daa65e;
  --gold-dark: #b8873f;
  --ink: #212226;
  --muted: #5b5d63;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
  --black: #000000;
  --charcoal: #222222;
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.8rem; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 96px;
}
.brand img { height: 68px; width: auto; }
.nav { display: flex; gap: 32px; }
.nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--gold-dark); }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.menu-btn {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

@media (max-width: 720px) {
  .site-header .wrap { height: 76px; }
  .brand img { height: 52px; }
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(0,0,0,.08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 24px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--gold-dark); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  border: 2px solid var(--ink);
  padding: 13px 30px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.link-arrow {
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  font-size: 14px; text-decoration: none; color: var(--gold-dark);
}
.link-arrow:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.page-title { padding: 64px 0 24px; text-align: center; }
.page-title h1 { margin: 0; }

.video {
  position: relative; aspect-ratio: 16 / 9;
  background: #000; box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.newsletter {
  padding: 40px 0;
}
.newsletter .wrap {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.newsletter h2 {
  font-family: var(--body); font-weight: 900; font-size: 1.15rem;
  letter-spacing: .02em; text-transform: uppercase; line-height: 1.4; margin: 0;
  text-align: center;
}
.signup { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.signup input {
  width: 100%; max-width: 380px;
  padding: 13px 14px; font: inherit; font-size: 15px;
  border: 1px solid #cfcfcf; background: #f1f1f1;
}
.signup input:focus { outline: 2px solid var(--gold); border-color: var(--gold); background: #fff; }
.signup .btn { min-width: 200px; }
.signup-msg { font-weight: 700; color: var(--gold-dark); min-height: 1.4em; margin: 0; }
@media (max-width: 720px) {
  .newsletter .wrap { grid-template-columns: 1fr; gap: 20px; }
}

.hero-photo {
  position: relative;
  min-height: 620px;
  display: flex; align-items: center;
  background: var(--charcoal) center 35% / cover no-repeat;
  color: #fff;
}
.hero-photo::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.hero-photo .wrap { position: relative; }
.hero-photo .copy { max-width: 560px; }
.hero-photo h2 { color: #fff; }
.hero-photo p { font-size: 1.15rem; color: #eee; margin-bottom: 1.8em; }

.races { background: var(--bg-soft); text-align: center; }
.logo-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  align-items: center; justify-items: center; margin: 40px 0 36px;
}
.logo-row img { max-height: 120px; width: auto; filter: grayscale(1); opacity: .85; transition: .2s; }
.logo-row img:hover { filter: none; opacity: 1; }
@media (max-width: 720px) {
  .logo-row { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .logo-row img { max-height: 90px; }
}

.social { background: var(--charcoal); color: #fff; text-align: center; }
.social h2 { color: #fff; }
.social .lead { color: #ccc; max-width: 640px; margin: 0 auto 36px; }
.social-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 36px;
}
.social-grid a { display: block; aspect-ratio: 1; overflow: hidden; }
.social-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.social-grid a:hover img { transform: scale(1.04); }
.social-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Achievements ---------- */
.intro { font-size: 1.15rem; text-align: center; }
.timeline { list-style: none; padding: 0; margin: 48px 0 0; }
.timeline > li {
  display: grid; grid-template-columns: 110px 1fr; gap: 28px;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.timeline .age {
  font-family: var(--display); font-size: 2rem; color: var(--gold-dark); line-height: 1;
}
.timeline ul { list-style: none; margin: 0; padding: 0; }
.timeline ul li { padding: 4px 0; }
.timeline strong { font-weight: 900; }
@media (max-width: 560px) {
  .timeline > li { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Blog ---------- */
.post-list { display: grid; gap: 40px; }
.post-card {
  display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: center;
  text-decoration: none; color: inherit;
}
.post-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .thumb img { transform: scale(1.03); }
.post-card .thumb.placeholder {
  display: flex; align-items: center; justify-content: center; background: var(--ink);
}
.post-card .thumb.placeholder img { width: 60%; height: auto; object-fit: contain; }
.post-card h2 { font-size: 2.1rem; margin-bottom: .3em; }
.post-card:hover h2 { color: var(--gold-dark); }
.meta { color: var(--muted); font-size: 14px; letter-spacing: .04em; margin-bottom: .8em; }
@media (max-width: 720px) {
  .post-card { grid-template-columns: 1fr; gap: 16px; }
}

.article h1 { text-align: center; }
.article .meta { text-align: center; }
.article .cover { margin: 32px 0 40px; }
.article h2 { font-size: 2rem; margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .5em; }
.article blockquote {
  margin: 2em 0; padding: 4px 0 4px 22px;
  border-left: 4px solid var(--gold); font-style: italic; font-size: 1.1rem;
}
.back { display: inline-block; margin-top: 32px; }

/* ---------- Store ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px; }
.product-card { text-decoration: none; color: inherit; }
.product-card .thumb { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-soft); margin-bottom: 14px; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .thumb img { transform: scale(1.03); }
.product-card h2 { font-family: var(--body); font-size: 1.05rem; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.price { font-weight: 700; color: var(--gold-dark); }
.badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 3px 10px; background: var(--ink); color: #fff; margin-left: 8px;
}

.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.gallery .main { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-soft); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.thumbs button {
  padding: 0; border: 2px solid transparent; background: none; cursor: pointer; aspect-ratio: 1; overflow: hidden;
}
.thumbs button[aria-pressed="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
.product .price { font-size: 1.5rem; display: block; margin-bottom: 24px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.field select { width: 100%; max-width: 280px; padding: 12px; font: inherit; border: 1px solid #cfcfcf; background: #fff; }
.btn[aria-disabled="true"] { background: #9a9a9a; border-color: #9a9a9a; cursor: not-allowed; }
.note { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) {
  .product { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #fff; text-align: center; padding: 48px 0 40px; }
.footer-nav { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.footer-nav a { text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.footer-nav a:hover { color: var(--gold); }
.footer-name { width: 220px; margin: 0 auto 20px; }
.icons { display: flex; gap: 12px; justify-content: center; margin-bottom: 24px; }
.icons a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: transform .15s;
}
.icons a:hover { transform: translateY(-2px); }
.icons svg { width: 18px; height: 18px; fill: #fff; }
.icons .fb { background: #1877f2; }
.icons .ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.icons .yt { background: #ff0000; }
.copyright { font-size: 13px; color: #bbb; margin: 0; }
