/* TriFleet public site. Mobile first, no external resources.
   Palette: black and white with one race red accent. Change --accent to retune the whole site. */

@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(/static/fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(/static/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url(/static/fonts/barlow-condensed-latin-800-normal.woff2) format('woff2'); }

:root {
  --ink: #0a0a0a;
  --ink-2: #151515;
  --ink-3: #1f1f1f;
  --line-d: rgba(255, 255, 255, 0.12);
  --text-d: #f2f2f2;
  --muted-d: #a6a6a6;
  --paper: #f4f4f4;
  --white: #ffffff;
  --text: #0a0a0a;
  --muted: #5c5c5c;
  --line: #d9d9d9;
  --accent: #e4002b;          /* race red: buttons, bands, highlights */
  --accent-hover: #c20024;
  --accent-bright: #ff3b5c;   /* red for small text on black (better contrast) */
  --accent-rgb: 228, 0, 43;
  --focus: #1f6feb;
  --error: #c62828;
  --radius: 6px;
  --radius-sm: 3px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.05);
  --stripes: repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 30px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.94;
}
.icon { width: 1.2em; height: 1.2em; flex: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.dark :focus-visible, .site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible,
.site-footer :focus-visible, .summary :focus-visible, .notice :focus-visible, .cta-band :focus-visible { outline-color: #fff; }

.skip { position: absolute; left: -9999px; top: 10px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip:focus { left: 10px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-display); font-weight: 700; font-style: normal; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 1.08rem; line-height: 1;
  padding: 1em 1.5em; border-radius: var(--radius-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.15s; }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #333; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #e9e9e9; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(127, 127, 127, 0.14); }
.btn-lg { font-size: 1.2rem; padding: 1.05em 1.6em; }
.btn-sm { font-size: 0.95rem; padding: 0.72em 1.1em; }
.btn-block { width: 100%; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  color: var(--text-d);
  border-bottom: 3px solid var(--accent);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.logo-mark { width: 31px; height: 20px; fill: var(--accent); }
.logo-word { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; letter-spacing: 0.04em; line-height: 1; }
.main-nav { display: none; gap: 2px; margin-left: auto; }
.main-nav a { padding: 8px 12px; text-decoration: none; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1rem; color: #d0d0d0; border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s; }
.main-nav a:hover { color: #fff; border-bottom-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-d); border-radius: var(--radius-sm); padding: 3px; text-decoration: none; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; }
.lang-switch span { padding: 5px 9px; border-radius: 2px; color: var(--muted-d); line-height: 1; }
.lang-switch span.on { background: #fff; color: var(--ink); }
.lang-switch:hover span:not(.on) { color: #fff; }
.header-cta { display: none; }

.mobile-nav { position: relative; }
.mobile-nav summary { list-style: none; width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1px solid var(--line-d); display: grid; place-items: center; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: #fff; transition: transform 0.2s, opacity 0.2s; }
.burger { position: relative; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.mobile-nav[open] .burger { background: transparent; }
.mobile-nav[open] .burger::before { transform: translateY(6px) rotate(45deg); }
.mobile-nav[open] .burger::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav nav {
  position: absolute; right: 0; top: calc(100% + 15px); min-width: 250px;
  display: grid; gap: 2px; padding: 10px;
  background: #000; border: 1px solid var(--line-d); border-top: 3px solid var(--accent); border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}
.mobile-nav nav a:not(.btn) { padding: 12px 14px; text-decoration: none; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.05rem; }
.mobile-nav nav a:not(.btn):hover { background: rgba(255, 255, 255, 0.07); }
.mobile-nav nav .btn { margin-top: 8px; }

@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (min-width: 960px) {
  .main-nav { display: flex; }
  .header-actions { margin-left: 8px; }
  .mobile-nav { display: none; }
}

/* ---------- bike illustration ---------- */

.bike-svg { width: 100%; height: auto; color: #f2f2f2; overflow: visible; }
.bike-svg .bk-disc { fill: #222; }
.bike-svg .bk-tyre { fill: none; stroke: #2f2f2f; stroke-width: 9; }
.bike-svg .bk-disc-ring { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 2; }
.bike-svg .bk-rim { fill: none; stroke: #222; stroke-width: 34; }
.bike-svg .bk-spokes line { stroke: rgba(255, 255, 255, 0.16); stroke-width: 2; }
.bike-svg .bk-hub { fill: #444; }
.bike-svg .bk-ring { fill: none; stroke: #666; stroke-width: 6; }
.bike-svg .bk-crank { stroke: #666; stroke-width: 9; stroke-linecap: round; fill: none; }
.bike-svg .bk-pedal { stroke: #666; stroke-width: 6; stroke-linecap: round; }
.bike-svg .bk-speed line { stroke: var(--accent); stroke-width: 4; stroke-linecap: round; opacity: 0.9; }
.hero-bike { color: #f5f5f5; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.hero-bike .bk-frame path:nth-child(6), .hero-bike .bk-frame path:nth-child(7) { stroke: var(--accent); }
.hero-bike .bk-rim { stroke: #262626; }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; background: #000; color: var(--text-d); padding: clamp(44px, 8vw, 96px) 0 clamp(28px, 5vw, 56px); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 65% at 80% 45%, rgba(var(--accent-rgb), 0.22), transparent 62%),
    linear-gradient(180deg, #000 0%, #0c0c0c 100%);
}
.hero-bg::after { content: ''; position: absolute; inset: 0; background: var(--stripes); -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent); mask-image: linear-gradient(to bottom, #000 50%, transparent); }
.hero-grid { position: relative; display: grid; gap: 28px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
  background: var(--accent); border-radius: var(--radius-sm); padding: 7px 14px 7px 12px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.hero-title { font-size: clamp(3.4rem, 15vw, 6rem); margin: 0 0 22px; color: #fff; }
.hero-title span { display: block; }
.hero-title .accent { color: var(--accent); }
.hero-lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: #cfcfcf; max-width: 33em; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; color: var(--muted-d); font-size: 0.92rem; }
.hero-note .icon { width: 18px; height: 18px; color: var(--accent-bright); }
.hero-art { max-width: 560px; width: 100%; margin: 0 auto; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 40px; }
  .hero-title { font-size: clamp(4.6rem, 7.4vw, 7.2rem); }
  .hero-art { max-width: none; }
  .hero-bike { width: 118%; max-width: none; margin-left: -6%; }
}

.facts { list-style: none; margin: clamp(36px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-d); position: relative; }
.facts li { display: flex; gap: 14px; padding: 20px 0 4px; }
.facts li + li { border-top: 1px solid var(--line-d); padding-top: 18px; }
.fact-icon { flex: none; width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--accent); color: #fff; display: grid; place-items: center; }
.fact-icon .icon { width: 22px; height: 22px; }
.facts h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.12rem; margin: 0 0 4px; color: #fff; }
.facts p { margin: 0; font-size: 0.9rem; color: var(--muted-d); line-height: 1.5; }

@media (min-width: 640px) {
  .facts { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .facts li + li { border-top: 0; padding-top: 20px; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line-d); }
}
@media (min-width: 1000px) {
  .facts { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .facts li:nth-child(n + 3) { border-top: 0; }
  .facts li { padding-right: 20px; }
  .facts li + li { padding-left: 20px; border-left: 1px solid var(--line-d); }
}

/* ---------- request notice ---------- */

.notice { position: relative; overflow: hidden; background: var(--accent); color: #fff; padding: clamp(36px, 5vw, 56px) 0; }
.notice::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(120deg, rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 30px); }
.notice-grid { position: relative; display: grid; gap: 18px; align-items: center; }
.notice h2 { font-size: clamp(2.5rem, 7vw, 4.6rem); margin: 0; }
.notice p { margin: 0 0 16px; font-size: 1.08rem; font-weight: 500; max-width: 36em; }
.notice-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.84rem; }
.notice-points li { display: inline-flex; align-items: center; gap: 6px; }
.notice-points .icon { width: 18px; height: 18px; stroke-width: 3; }
@media (min-width: 860px) { .notice-grid { grid-template-columns: 1fr 1.1fr; gap: 40px; } }

/* ---------- sections ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.white { background: #fff; }
.dark { background: var(--ink); color: var(--text-d); }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ''; width: 28px; height: 3px; background: var(--accent); }
.dark .kicker, .summary .kicker, .page-hero .kicker { color: var(--accent-bright); }
.section-title { font-size: clamp(2.5rem, 6vw, 4.4rem); margin: 0 0 16px; max-width: 16em; }
.dark .section-title { color: #fff; }
.section-title.small { font-size: clamp(2rem, 4.5vw, 3rem); }
.section-lead { font-size: 1.12rem; color: var(--muted); max-width: 40em; margin: 0 0 44px; }
.dark .section-lead { color: var(--muted-d); }

/* steps */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 16px; }
.steps li { position: relative; overflow: hidden; background: #fff; border-radius: var(--radius); padding: 28px 24px 26px; box-shadow: var(--shadow); border-top: 4px solid var(--ink); }
.steps li:first-child { border-top-color: var(--accent); }
.step-num { display: block; font-size: 4.4rem; line-height: 0.8; margin-bottom: 18px; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.steps li:first-child .step-num { -webkit-text-stroke-color: var(--accent); }
.steps h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.4rem; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 0.98rem; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* fleet */
.bike-grid { display: grid; gap: 22px; }
.bike-card { display: flex; flex-direction: column; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--radius); transition: transform 0.2s, border-color 0.2s; }
.bike-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.bike-media { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 22px 26px 8px; background: radial-gradient(80% 90% at 50% 100%, #262626 0%, #121212 72%); border-bottom: 3px solid var(--accent); }
.bike-media.has-photo { padding: 0; }
.bike-media img { width: 100%; height: 100%; object-fit: cover; }
.bike-card:nth-child(3n + 1) .bk-frame { color: var(--accent); }
.bike-card:nth-child(3n + 2) .bk-frame { color: #f5f5f5; }
.bike-card:nth-child(3n + 3) .bk-frame { color: #9c9c9c; }
.photo-tag { position: absolute; top: 14px; left: 14px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-d); border: 1px dashed rgba(255, 255, 255, 0.25); border-radius: var(--radius-sm); padding: 4px 10px; }
.bike-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.bike-tagline { margin: 0 0 6px; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-bright); }
.bike-name { margin: 0 0 12px; font-size: 2.2rem; color: #fff; }
.bike-desc { margin: 0 0 18px; color: var(--muted-d); font-size: 0.96rem; }
.bike-meta { border-top: 1px solid var(--line-d); padding: 14px 0; }
.bike-meta:last-of-type { margin-bottom: 16px; }
.bike-meta h4 { margin: 0 0 10px; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-d); font-weight: 800; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { min-width: 42px; text-align: center; padding: 5px 10px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-d); font-weight: 700; font-size: 0.88rem; color: #fff; }
.mini-prices { margin: 0; display: grid; gap: 7px; }
.mini-prices div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; }
.mini-prices dt { color: var(--muted-d); }
.mini-prices dd { margin: 0; font-weight: 700; color: #fff; white-space: nowrap; }
.mini-prices small { color: var(--muted-d); font-weight: 500; }
.bike-body .btn { margin-top: auto; }
@media (min-width: 700px) { .bike-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .bike-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* prices */
.price-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.price-tile { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 26px 22px 24px; box-shadow: var(--shadow); border-top: 4px solid var(--ink); }
.price-tile h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.3rem; margin: 0 0 4px; }
.price-note { margin: 0 0 18px; color: var(--muted); font-size: 0.88rem; min-height: 1.4em; }
.price { font-size: clamp(3.2rem, 5vw, 4.2rem); margin: auto 0 0; }
.price-unit { margin: 8px 0 0; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; }
.price-tile.featured { background: var(--ink); color: #fff; border-top-color: var(--accent); }
.featured .price { color: #fff; }
.featured .price-note, .featured .price-unit { color: var(--muted-d); }
.fine { margin: 22px 0 0; color: var(--muted); font-size: 0.92rem; }
@media (min-width: 480px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .price-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

/* races */
.race-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); }
.race { display: grid; grid-template-columns: 62px 1fr; gap: 6px 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-d); }
.race-date { grid-row: span 3; align-self: start; display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 800; line-height: 0.9; }
.race-date .d { font-size: 2.3rem; color: #fff; white-space: nowrap; }
.race-date .m { font-size: 1rem; color: var(--accent-bright); text-transform: uppercase; letter-spacing: 0.06em; }
.race-info h3 { margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.45rem; color: #fff; }
.race-info p { margin: 2px 0 0; color: var(--muted-d); font-size: 0.92rem; }
.race-info .race-note { font-style: italic; }
.race-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; }
.tag { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 9px; border-radius: 2px; border: 1px solid var(--line-d); color: #e5e5e5; white-space: nowrap; }
.tag-full { background: var(--accent); border-color: var(--accent); color: #fff; }
.tag-middle { background: #fff; border-color: #fff; color: var(--ink); }
.race-cta { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 9px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1rem; white-space: nowrap; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.race-cta .icon { width: 16px; height: 16px; }
.race-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.races-more { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border: 1px dashed rgba(255, 255, 255, 0.22); border-radius: var(--radius); }
.races-more p { margin: 0; color: var(--muted-d); max-width: 40em; }
.empty { color: var(--muted-d); }
@media (min-width: 800px) {
  .race { grid-template-columns: 90px minmax(0, 1fr) auto auto; gap: 20px; padding: 20px 8px 20px 0; transition: background 0.15s; border-left: 3px solid transparent; }
  .race:hover { background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.12), transparent 70%); border-left-color: var(--accent); }
  .race-date { grid-row: auto; align-self: center; padding-left: 12px; }
  .race-tags { justify-content: flex-end; margin: 0; }
  .race-cta { margin: 0; }
}

/* faq */
.faq-grid { display: grid; gap: 8px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.06rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-icon { flex: none; width: 34px; height: 34px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform 0.2s, background 0.2s; }
.faq-icon .icon { width: 18px; height: 18px; }
.faq-list details[open] .faq-icon { transform: rotate(45deg); background: var(--accent); }
.faq-list p { margin: 0 0 22px; color: var(--muted); max-width: 44em; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; } }

/* cta band */
.cta-band { position: relative; overflow: hidden; background: var(--accent); color: #fff; padding: clamp(48px, 7vw, 84px) 0; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(120deg, rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 30px); }
.cta-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin: 0 0 10px; }
.cta-band p { margin: 0; font-weight: 500; font-size: 1.1rem; }

/* footer */
.site-footer { background: #000; color: var(--muted-d); padding: 56px 0 40px; border-top: 3px solid var(--accent); }
.footer-grid { display: grid; gap: 28px; }
.footer-brand p { max-width: 30em; margin: 14px 0 0; font-size: 0.95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: flex-start; }
.footer-links a { color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.02rem; }
.footer-links a:hover { color: var(--accent-bright); }
.footer-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 0; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: 0.88rem; }
.footer-note .icon { width: 16px; height: 16px; color: var(--accent-bright); }
.footer-note span { margin-left: auto; }
.footer-legal { margin: 0; font-size: 0.8rem; color: #7a7a7a; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .footer-links { justify-content: flex-end; }
  .footer-note, .footer-legal { grid-column: 1 / -1; }
}

/* ---------- inner pages ---------- */

.page-hero { position: relative; overflow: hidden; background: #000; color: var(--text-d); padding: clamp(44px, 7vw, 84px) 0 clamp(36px, 6vw, 64px); }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 90% at 92% 0%, rgba(var(--accent-rgb), 0.25), transparent 65%), var(--stripes); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(3rem, 9vw, 6rem); margin: 0 0 14px; color: #fff; }
.page-hero .lead { font-size: 1.15rem; color: #cfcfcf; max-width: 38em; margin: 0; }
.page-hero.slim h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); margin: 0; }
.error-hero .btn { margin-top: 26px; }

.prose h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.8rem; line-height: 1; margin: 2em 0 0.45em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 0.4em; }
.prose p, .prose ul { margin: 0 0 1em; color: #2b2b2b; }
.prose a { color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* thanks */
.thanks-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.thanks-wrap .lead { margin: 0 auto; }
.thanks-icon { width: 78px; height: 78px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin-bottom: 22px; }
.thanks-icon .icon { width: 40px; height: 40px; stroke-width: 2.6; }
.ref-box { margin: 26px 0 0; display: inline-flex; flex-direction: column; gap: 4px; border: 1px solid var(--line-d); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 14px 28px; background: rgba(255, 255, 255, 0.04); }
.ref-box span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-d); font-weight: 800; }
.ref-box strong { font-family: var(--font-display); font-size: 2.3rem; letter-spacing: 0.08em; color: #fff; line-height: 1; }
.next-steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.next-steps li { display: flex; gap: 18px; align-items: center; background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); border-left: 4px solid var(--accent); }
.next-steps .display { font-size: 2.1rem; color: transparent; -webkit-text-stroke: 1.2px var(--ink); flex: none; }
.next-steps p { margin: 0; font-weight: 500; }

/* ---------- request form ---------- */

.form-section { padding: clamp(28px, 5vw, 56px) 0 clamp(64px, 8vw, 100px); }
.form-grid { display: grid; gap: 28px; align-items: start; }
.request-form { display: grid; gap: 18px; min-width: 0; }
.step { min-width: 0; margin: 0; border: 0; border-top: 4px solid var(--ink); padding: 26px clamp(18px, 3vw, 32px) 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; line-height: 1; }
.step legend + * { clear: both; }
.step-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius-sm); background: var(--accent); color: #fff; font-size: 1.2rem; }
.field { margin: 0 0 18px; min-width: 0; }
.field:last-child { margin-bottom: 0; }
.field > label, .field .label { display: block; margin: 0 0 7px; font-weight: 700; font-size: 0.93rem; }
.opt { font-weight: 500; color: var(--muted); }
.request-form input:not([type='checkbox']):not([type='radio']), .request-form select, .request-form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid #c9c9c9; border-radius: var(--radius-sm);
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.request-form select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.request-form select:disabled { background-color: #f2f2f2; color: #8a8a8a; cursor: not-allowed; }
.request-form textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.request-form input:hover, .request-form select:hover, .request-form textarea:hover { border-color: #8f8f8f; }
.request-form input:focus, .request-form select:focus, .request-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.28); }
.request-form input[type='date'] { min-width: 0; }
.has-error input:not([type='checkbox']), .has-error select, .has-error textarea { border-color: var(--error); background-color: #fff6f6; }
.error-msg { margin: 6px 0 0; color: var(--error); font-size: 0.88rem; font-weight: 600; }
.hint { margin: 6px 0 0; color: var(--muted); font-size: 0.85rem; line-height: 1.45; }
.row { display: grid; gap: 0 16px; }
@media (min-width: 620px) {
  .row { grid-template-columns: 1fr 1fr; }
  .w-half { max-width: calc(50% - 8px); }
}
.suffix { position: relative; }
.suffix input { padding-right: 50px !important; }
.suffix span { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; pointer-events: none; }
.js .cond[hidden] { display: none; }
.cond { padding-top: 2px; }

.bike-options { display: grid; gap: 10px; }
.bike-option { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border: 1.5px solid #cfcfcf; border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s; }
.bike-option input { position: absolute; opacity: 0; pointer-events: none; }
.bike-option-art { flex: none; width: 108px; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); background: #111; overflow: hidden; padding: 6px; display: grid; place-items: center; }
.bike-option-art img { width: 100%; height: 100%; object-fit: cover; }
.bike-option:nth-child(3n + 1) .bk-frame { color: var(--accent); }
.bike-option:nth-child(3n + 2) .bk-frame { color: #f5f5f5; }
.bike-option:nth-child(3n + 3) .bk-frame { color: #9c9c9c; }
.bike-option-name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.15rem; line-height: 1.1; padding-right: 30px; }
.bike-option-check { position: absolute; top: 50%; right: 12px; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(0.6); transition: opacity 0.15s, transform 0.15s; }
.bike-option-check .icon { width: 16px; height: 16px; stroke-width: 3; }
.bike-option:hover { border-color: #8f8f8f; }
.bike-option:has(input:checked), .bike-option.is-checked { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.bike-option:has(input:checked) .bike-option-check, .bike-option.is-checked .bike-option-check { opacity: 1; transform: none; }
.bike-option:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.has-error .bike-option { border-color: var(--error); }
@media (min-width: 760px) {
  .bike-options { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .bike-option { flex-direction: column; align-items: stretch; gap: 10px; padding: 10px 10px 14px; }
  .bike-option-art { width: 100%; }
  .bike-option-check { top: 18px; right: 18px; margin-top: 0; }
  .bike-option:nth-child(3n + 1) .bk-frame { color: var(--accent); }
.bike-option:nth-child(3n + 2) .bk-frame { color: #f5f5f5; }
.bike-option:nth-child(3n + 3) .bk-frame { color: #9c9c9c; }
.bike-option-name { padding-right: 0; }
}
.size-hint { margin: 8px 0 0; font-size: 0.9rem; font-weight: 700; color: var(--ink); padding-left: 10px; border-left: 3px solid var(--accent); }
.size-hint:empty { display: none; }

.check-field { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.check-field input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.check-field label { margin: 0; font-weight: 500; font-size: 0.95rem; line-height: 1.5; cursor: pointer; }
.check-field label a { font-weight: 700; color: var(--accent); }
.check-field .error-msg { grid-column: 2; }
.has-error.check-field input { outline: 2px solid var(--error); outline-offset: 2px; }
.estimate-inline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 22px 0 0; padding: 16px 18px; border-radius: var(--radius); background: var(--ink); color: #fff; border-left: 4px solid var(--accent); }
.estimate-inline span { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-d); font-weight: 800; }
.estimate-inline strong { font-size: 2.3rem; color: #fff; line-height: 1; }
.estimate-inline small { color: var(--muted-d); }
.estimate-inline small:empty { display: none; }
.estimate-inline .estimate-note { flex-basis: 100%; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 22px; }
.submit-row .btn { flex: 1 1 auto; }
.submit-note { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 0.92rem; }
.submit-note .icon { width: 18px; height: 18px; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius); padding: 16px 18px; font-weight: 600; }
.alert p { margin: 0; }
.alert ul { margin: 8px 0 0; padding-left: 18px; font-weight: 500; }
.alert a { color: inherit; }
.alert-error { background: #fdecec; color: #8e1b1b; border: 1.5px solid #f2b8b8; border-left: 5px solid var(--error); }

.summary { display: none; }
.summary-card { background: var(--ink); color: var(--text-d); border-radius: var(--radius); border-top: 4px solid var(--accent); padding: 24px; box-shadow: var(--shadow); }
.summary dl { margin: 0 0 18px; display: grid; gap: 14px; }
.summary dl div { display: grid; gap: 2px; }
.summary dt { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-d); font-weight: 800; }
.summary dd { margin: 0; font-weight: 600; color: #fff; }
.summary dd.is-pending { color: #6f6f6f; font-weight: 500; }
.summary-price { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line-d); }
.summary-price span { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-d); font-weight: 800; }
.summary-price strong { font-size: 3.3rem; color: #fff; line-height: 1; }
.summary-price small { color: var(--muted-d); }
.summary-note { display: flex; gap: 8px; margin: 18px 0 0; font-size: 0.88rem; color: #cfcfcf; }
.summary-note .icon { width: 18px; height: 18px; color: var(--accent-bright); margin-top: 2px; }
@media (min-width: 1000px) {
  .form-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; }
  .summary { display: block; position: sticky; top: 92px; }
  .estimate-inline { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
