/* mankinracing.com */

:root {
  --bg: #0d0e10;
  --bg-alt: #16181c;
  --card: #1d2026;
  --text: #e8e9eb;
  --muted: #9aa0a8;
  --accent: #e02128;
  --accent-dark: #a3161b;
  --line: #2a2e35;
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Nav */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  background: rgba(13, 14, 16, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  white-space: nowrap;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

/* Hero */
header.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,14,16,0.35) 0%, rgba(13,14,16,0.15) 45%, rgba(13,14,16,0.92) 100%);
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.hero-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 800;
}

.hero-sub {
  margin-top: 0.75rem;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--text);
  max-width: 34em;
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; }

.btn-ghost {
  border: 1px solid var(--text);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* Sections */
section { padding: 4.5rem 0; }
section:nth-of-type(even) { background: var(--bg-alt); }

.section-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 700;
}

section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0.25rem 0 1.5rem;
}

.lead { font-size: 1.1rem; max-width: 46em; }
.muted { color: var(--muted); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-grid img { border-radius: 4px; }

.about-text p + p { margin-top: 1rem; }

/* Results timeline */
.timeline { list-style: none; border-left: 2px solid var(--line); }

.timeline li {
  position: relative;
  padding: 0 0 1.5rem 1.75rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline .year {
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  font-size: 0.9rem;
}

.timeline .what { font-weight: 600; }
.timeline .detail { color: var(--muted); font-size: 0.95rem; }

.more-wins {
  margin-top: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  max-width: 34em;
}

.more-wins h3 {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.more-wins ul { list-style: none; }

.more-wins li {
  padding: 0.25rem 0 0.25rem 1.3rem;
  position: relative;
}

.more-wins li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Now racing cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card img { height: 220px; object-fit: cover; width: 100%; }

.card-body { padding: 1.25rem; flex: 1; }

.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Coaching */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured { border-color: var(--accent); }

.price-card h3 { font-size: 1.1rem; }

.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0.5rem 0 0.25rem;
}

.price small { font-size: 0.85rem; color: var(--muted); font-weight: 400; }

.price-card ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.price-card li { padding: 0.3rem 0 0.3rem 1.4rem; position: relative; }

.price-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Analytics */
.analytics-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 760px) {
  .analytics-grid { grid-template-columns: 1fr; }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 4 / 3;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery a:hover img { transform: scale(1.04); }

/* Contact */
.contact-list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.9rem;
  font-size: 1.1rem;
}

.contact-list .label {
  display: inline-block;
  min-width: 7.5em;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Checkered accent strip */
.checker {
  height: 14px;
  background:
    repeating-conic-gradient(#fff 0% 25%, #0d0e10 0% 50%) 0 0 / 14px 14px;
}

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
