@font-face { font-family: "Bebas Neue"; src: url("fonts/bebas-neue.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0b0b0c;
  --bg2: #141416;
  --card: #18181b;
  --fg: #f4f4f2;
  --muted: #a1a19b;
  --line: #2a2a2e;
  --accent: #d8b27a; /* tan sidewall */
  --sold: #e05a4f;
  --head: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted, .meta { color: var(--muted); }
h1, h2, h3 { font-family: var(--head); font-weight: 400; letter-spacing: 0.02em; line-height: 0.95; margin: 0 0 0.4em; }
h1 { font-size: clamp(52px, 9vw, 120px); }
h2 { font-size: clamp(40px, 6vw, 72px); }
h3 { font-size: 28px; }
h3.sub, h2.sub { font-size: 30px; margin-top: 56px; color: var(--muted); }
.lead { font-size: clamp(17px, 2vw, 20px); color: #d6d6d1; max-width: 640px; }
.kicker { font-family: var(--head); letter-spacing: 0.25em; color: var(--accent); font-size: 18px; margin-bottom: 12px; }

/* ---------- header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 11, 12, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .bike-icon { width: 34px; }
.wordmark { font-family: var(--head); font-size: 28px; letter-spacing: 0.08em; padding-left: 10px; border-left: 2px solid var(--fg); line-height: 1; }
.logo-img { height: 40px; width: auto; }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a, .lang { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); }
.menu a:hover, .lang:hover { color: var(--fg); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }

/* ---------- buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.buttons.stack { flex-direction: column; align-items: stretch; max-width: 360px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1px solid #3a3a40; text-decoration: none; font-weight: 600; font-size: 15px; transition: background 0.15s, border-color 0.15s; }
.btn:hover { border-color: var(--fg); }
.btn.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.primary:hover { background: #fff; }

/* ---------- hero */
.hero { position: relative; padding: clamp(72px, 14vw, 160px) 0 clamp(64px, 10vw, 120px); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero:not(.has-image) { background: radial-gradient(1200px 500px at 85% 0%, #1f1f23, transparent 70%); }
.hero.has-image { min-height: min(86vh, 820px); display: flex; align-items: flex-end; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 11, 12, 0.95) 10%, rgba(11, 11, 12, 0.35) 60%, rgba(11, 11, 12, 0.2)); }
.hero-text { position: relative; z-index: 1; }
.hero h1 { max-width: 11ch; }

/* ---------- sections */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.band { padding: clamp(56px, 8vw, 100px) 0; background: var(--bg2); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { padding: 10px 0 10px 30px; border-top: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mosaic img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.mosaic.n1 { grid-template-columns: 1fr; }
.mosaic.n1 img { aspect-ratio: 4 / 3; }
.mosaic.n3 img:first-child { grid-row: span 2; aspect-ratio: auto; }
.about-img img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.contact { text-align: left; }
.about-text { max-width: 720px; font-size: 17px; }
.big-mail { font-weight: 700; font-size: clamp(22px, 4vw, 44px); letter-spacing: -0.01em; line-height: 1.2; margin: 24px 0 8px; overflow-wrap: anywhere; }
.big-mail a { text-decoration: none; border-bottom: 3px solid var(--accent); }

/* ---------- bike cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 28px; }
.grid.small { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform 0.2s, border-color 0.2s; }
.card:hover { transform: translateY(-3px); border-color: #45454c; }
.card-img { position: relative; aspect-ratio: 4 / 3; background: #202024; display: flex; align-items: center; justify-content: center; color: #3b3b42; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .bike-icon { width: 38%; }
.card-text { padding: 16px 18px 18px; }
.card h3 { margin: 0 0 4px; font-size: 30px; }
.card .meta { margin: 0 0 8px; font-size: 14px; }
.card .price { margin: 0; font-weight: 700; font-size: 18px; color: var(--accent); }
.card.sold .card-img img { filter: grayscale(1) brightness(0.65); }
.card.sold .price { color: var(--muted); font-weight: 500; }
.grid.small .card h3 { font-size: 22px; }
.grid.small .card-text { padding: 12px 14px 14px; }
.grid.small .price { font-size: 14px; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--fg); color: var(--bg); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 999px; }
.sold .badge { background: var(--sold); color: #fff; }
.badge.inline { position: static; vertical-align: middle; font-family: Inter, sans-serif; display: inline-block; margin-left: 8px; }
.empty { margin-top: 28px; padding: 40px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty .btn { color: var(--fg); }

/* ---------- bike page */
.back { display: inline-block; margin-bottom: 24px; color: var(--muted); text-decoration: none; font-size: 14px; }
.back:hover { color: var(--fg); }
.bike-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.bike-info { position: sticky; top: 88px; }
.bike-info h1 { font-size: clamp(48px, 6vw, 84px); }
.price.big { font-size: 28px; font-weight: 700; color: var(--accent); margin-bottom: 20px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery > :first-child { grid-column: 1 / -1; }
.gallery img, .gallery .card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery a { display: block; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0; }
.specs dt, .specs dd { padding: 10px 0; border-top: 1px solid var(--line); margin: 0; }
.specs dt { color: var(--muted); padding-right: 24px; }

/* ---------- footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }

@media (max-width: 860px) {
  .split, .bike-grid { grid-template-columns: 1fr; }
  .bike-info { position: static; }
  .menu { display: none; }
  .lang { margin-left: auto; }
  .buttons.stack { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
