:root {
  color-scheme: dark;
  --bg: #10100f;
  --paper: #171614;
  --line: #39342c;
  --text: #f7f3ec;
  --muted: #c8c1b5;
  --gold: #ffc55b;
  --red: #ee4d3e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 5; padding: .6rem 1rem; background: var(--gold); color: var(--bg); }
.skip:focus { top: 1rem; }
.bar { border-bottom: 1px solid var(--line); background: #111110; }
.bar-inner { display: flex; min-height: 78px; justify-content: space-between; gap: 24px; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 900; letter-spacing: .07em; line-height: 1.25; white-space: nowrap; }
.brand img { width: 56px; }
.brand small { display: block; margin-top: 4px; font-size: 9px; letter-spacing: .17em; color: var(--muted); }
nav { display: flex; gap: clamp(14px, 3vw, 38px); align-items: center; font-size: 14px; font-weight: 650; }
nav a { padding-block: 12px; }
nav a:hover, .footer a:hover { color: var(--gold); }
.private { border: 1px solid var(--line); border-radius: 40px; padding: 6px 12px; white-space: nowrap; font-size: 12px; color: var(--muted); }
.private span { display: inline-block; vertical-align: .08em; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--gold); }
.hero { background: radial-gradient(ellipse at 76% 44%, #2c2114 0%, #15130f 36%, var(--bg) 70%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; gap: clamp(22px, 4vw, 66px); padding-block: clamp(45px, 6vw, 88px); }
.hero-copy { position: relative; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .19em; }
.eyebrow span { display: inline-block; width: 18px; height: 2px; background: var(--red); }
h1 { margin: 17px 0 20px; font-weight: 950; font-size: clamp(57px, 8vw, 115px); line-height: .83; letter-spacing: -.08em; }
.gold { color: var(--gold); display: block; }
.intro { color: var(--muted); font-size: clamp(17px, 1.55vw, 21px); max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.button { display: inline-flex; align-items: center; gap: 11px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 5px; font-size: 13px; font-weight: 800; min-height: 44px; }
.primary { color: #181106; background: var(--gold); border-color: var(--gold); }
.primary:hover { background: #ffe0a0; }
.secondary:hover { border-color: var(--gold); color: var(--gold); }
.emblem { overflow: hidden; border: 1px solid #644622; border-radius: 12px; box-shadow: 0 22px 45px #0009; background: #090909; }
.emblem img { width: 100%; }
.club-grid { padding-block: clamp(35px, 5vw, 70px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.module { border: 1px solid var(--line); background: var(--paper); padding: clamp(20px, 3vw, 36px); border-radius: 11px; }
h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; letter-spacing: -.05em; margin: 10px 0 12px; }
.module > p:not(.eyebrow), .about p:not(.eyebrow) { color: var(--muted); }
.empty { display: flex; align-items: center; gap: 15px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.empty svg { width: 24px; flex: 0 0 24px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; }
.empty p { color: var(--muted); font-size: 13px; }
.about { padding-block: clamp(36px, 5vw, 65px); border-top: 1px solid var(--line); background: #141310; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 80px); }
.social-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; }
.text-link { display: inline-flex; gap: 7px; align-items: center; color: var(--gold); font-weight: 750; }
.text-link:hover { text-decoration: underline; }
.rules h3 { margin-bottom: 8px; font-size: 20px; }
details { border-bottom: 1px solid var(--line); padding: 10px 0; }
summary { cursor: pointer; font-weight: 650; }
summary::marker { color: var(--gold); }
details p { font-size: 14px; margin: 8px 0 3px; }
.footer { border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 15px; padding-block: 24px; }
.footer-inner span:first-child { font-weight: 900; color: var(--text); }
.footer b { color: var(--gold); }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .bar-inner { flex-wrap: wrap; min-height: auto; gap: 0 14px; padding-top: 10px; }
  .brand img { width: 47px; }
  nav { width: 100%; order: 3; justify-content: space-between; margin-top: 4px; }
  .hero-inner, .club-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-inner { gap: 26px; padding-block: 34px; }
  h1 { font-size: clamp(47px, 10.6vw, 77px); }
  .gold { display: inline; margin-left: .12em; }
  .footer-inner { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.route-card { display: block; margin-top: 19px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--bg); }
.route-card:hover { border-color: var(--gold); }
.route-card img { width: 100%; aspect-ratio: 2.6; object-fit: cover; }
.route-card-copy { display: grid; gap: 5px; padding: 14px 17px 17px; }
.route-card-copy strong { font-size: 20px; line-height: 1.2; }
.route-meta { color: var(--muted); font-size: 14px; }
.ride-page { padding-block: 32px 60px; }
.ride-head { margin: 34px 0 24px; }
.ride-head h1 { font-size: clamp(38px, 6vw, 75px); line-height: 1; letter-spacing: -.06em; }
.ride-head .intro { max-width: 65ch; }
.ride-cover { width: 100%; border-radius: 11px; border: 1px solid var(--line); }
.ride-stats { display: flex; flex-wrap: wrap; gap: 15px 34px; padding: 17px 20px; margin: 20px 0; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.ride-stats dt { color: var(--muted); font-size: 13px; }
.ride-stats dd { margin: 0; color: var(--gold); font-size: clamp(17px, 2.2vw, 27px); font-weight: 800; }
.ride-info { display: grid; grid-template-columns: 1fr minmax(220px, .46fr); align-items: center; gap: 24px; padding-block: 10px 28px; }
.ride-info p { margin-block: 8px; color: var(--muted); }
.ride-photos { border-top: 1px solid var(--line); padding-top: 18px; }
.ride-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 12px; }
.ride-gallery img { width: 100%; border-radius: 6px; }
@media (max-width: 650px) {
  .ride-info { grid-template-columns: 1fr; gap: 13px; }
}

.membership { padding-block: clamp(36px, 5vw, 65px); border-top: 1px solid var(--line); }
.membership p:not(.eyebrow) { color: var(--muted); }
.membership-price { margin-bottom: 10px; }
.membership-price strong { color: var(--gold); font-size: 1.25em; }
.membership-documents { display: flex; flex-wrap: wrap; align-content: center; gap: 10px; }

.ride-start-photo { margin-top: 16px; }
.ride-start-photo img { width: 100%; border-radius: 8px; }
.ride-start-photo figcaption { margin-top: 7px; color: var(--muted); font-size: 13px; }
