/* Odometer Equity — editorial stylesheet
   Asphalt ground, headlight amber, one cool accent. */

:root {
  --asphalt: #101114;
  --asphalt-2: #16181d;
  --asphalt-3: #1e2229;
  --line: #343a44;
  --line-soft: #2a2f38;
  --ink: #f3efe6;
  --muted: #c8c2b6;
  --faint: #8f897e;
  --amber: #e7a23a;
  --amber-soft: #f2c57a;
  --ice: #8fd4d0;
  --ice-deep: #5eaaa6;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --header-h: 4.25rem;
  --measure: 68ch;
  --wide: 1120px;
  --display: "Big Shoulders Display", "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  --serif: "Source Serif 4", Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(231, 162, 58, 0.08), transparent 55%),
    radial-gradient(900px 420px at -10% 20%, rgba(143, 212, 208, 0.06), transparent 50%),
    var(--asphalt);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ice);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--amber-soft);
}

:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--amber);
  color: #101114;
  padding: 0.6rem 0.9rem;
  font-family: var(--sans);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.75rem 1.25rem;
  background: rgba(16, 17, 20, 0.92);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}

.brand:hover {
  color: var(--amber-soft);
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-name small {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--amber-soft);
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--amber);
  color: var(--amber-soft);
}

.site-nav ul {
  display: flex;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--amber);
}

.wrap {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin-inline: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--line-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2.5rem;
  align-items: end;
}

.kicker {
  margin: 0 0 0.8rem;
  color: var(--amber-soft);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(4.2rem, 11vw, 8.4rem);
  font-weight: 800;
}

h1 span {
  display: block;
}

h1 .ice {
  color: var(--ice);
}

.lede {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  font-size: 1.28rem;
  line-height: 1.45;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  background: var(--amber);
  color: #14120c;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.btn:hover {
  background: var(--amber-soft);
  color: #14120c;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ice);
  color: var(--ice);
  background: transparent;
}

.hero-figure {
  margin: 0;
}

.hero-figure svg {
  width: 100%;
  height: auto;
  display: block;
}

.figcaption,
.note {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.hero-figure figcaption {
  margin-top: 0.6rem;
}

.legend {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.85rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.swatch {
  display: inline-block;
  width: 1.4rem;
  height: 3px;
  margin-right: 0.45rem;
  vertical-align: middle;
}

.swatch.amber { background: var(--amber); }
.swatch.ice { background: var(--ice); }

section {
  padding: 4.25rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.section-head p {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.panel {
  background: var(--asphalt-2);
  border: 1px solid var(--line-soft);
  padding: 1.5rem 1.4rem 1.4rem;
  min-height: 100%;
}

.panel.adv {
  box-shadow: inset 3px 0 0 var(--amber);
}

.panel.sport {
  box-shadow: inset 3px 0 0 var(--ice);
}

.panel h3 {
  margin: 0.35rem 0 0.8rem;
  font-size: 2.2rem;
}

.panel p {
  margin: 0 0 0.9rem;
}

.panel p:last-child {
  margin-bottom: 0;
}

.tag {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tag.adv { color: var(--amber-soft); }
.tag.sport { color: var(--ice); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--asphalt-2);
  border: 1px solid var(--line-soft);
  color: inherit;
  text-decoration: none;
  min-height: 100%;
}

.card:hover {
  border-color: var(--amber);
  color: inherit;
}

.card:hover h3 {
  color: var(--amber-soft);
}

.card-art {
  height: 140px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--asphalt-3);
}

.card-art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.card-body {
  padding: 1.1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.card h3 {
  margin: 0;
  font-size: 1.85rem;
  text-transform: uppercase;
}

.index-no {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--amber);
  letter-spacing: 0.08em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card .more {
  margin-top: auto;
  padding-top: 0.8rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice);
}

.journal-tease {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(231, 162, 58, 0.08), transparent 42%),
    var(--asphalt-2);
  border: 1px solid var(--line-soft);
  padding: 1.5rem;
}

.pull {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
}

.page-hero {
  padding: 3.2rem 0 1.5rem;
  border-bottom: 1px solid var(--line-soft);
}

.page-hero h1 {
  font-size: clamp(3.4rem, 8vw, 6.2rem);
}

.page-hero .lede {
  font-size: 1.18rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.route {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.route-meta {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  overflow-wrap: break-word;
}

.route-meta strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--amber-soft);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.route h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.route p {
  margin: 0 0 0.75rem;
  max-width: var(--measure);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.bike-block {
  padding: 1.6rem 0 0.4rem;
}

.bike-block h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
}

.intro-copy {
  max-width: var(--measure);
}

.bike-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

.story {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.story header p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.85rem;
}

.story h2 {
  margin: 0.2rem 0 0;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.story .body {
  max-width: 68ch;
}

.disclaimer {
  margin: 0 0 0.5rem;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--ice);
  background: var(--asphalt-2);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
}

.gear-list {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.gear-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line-soft);
  max-width: 70ch;
}

.gear-list li strong {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-footer {
  margin-top: 1rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.88rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted);
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.draft-note {
  margin: 1rem 0 0;
  max-width: 70ch;
  color: var(--faint);
}

hr.rule {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 0;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-bottom: 0.5rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line-soft);
  }

  .site-nav a {
    width: 100%;
    padding: 0.2rem 0;
  }

  .hero-grid,
  .split,
  .cards,
  .journal-tease,
  .route,
  .bike-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2.6rem 0 2.2rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-art {
    height: 120px;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(var(--wide), calc(100% - 1.5rem));
  }

  h1 {
    font-size: clamp(3.3rem, 18vw, 4.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.wordmark {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
}

.prose p {
  max-width: var(--measure);
}

.fine {
  color: var(--faint);
  font-family: var(--sans);
  font-size: 0.85rem;
}

.journal-tease h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 0.2rem 0 0.8rem;
}

.bike-name {
  margin: 0 0 0.55rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.anchor-mark {
  display: inline-block;
  margin: 0 0 0.55rem;
  padding: 0.2rem 0.5rem;
  background: var(--amber);
  color: #14120c;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.closing {
  margin-top: 0.5rem;
  max-width: var(--measure);
}

article + article.route,
.route + .route {
  margin-top: 0;
}

.lede-sub {
  font-size: 1.05rem;
  color: var(--muted);
}
