/* Route 66 Indian Motorcycle. Colors and type follow imotorsportschicago.com. */
:root {
  --red: #eb2429;
  --red-dark: #b11016;
  --ink: #2a2c2f;
  --black: #050505;
  --text: #1e2939;
  --muted: #5b6372;
  --line: #e5e7eb;
  --soft: #f4f5f7;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.06);
  --head: "Goldman", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); }
a:hover { color: var(--red); }
h1, h2, h3, .h2-light { font-family: var(--head); text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.center { justify-content: center; }

/* Header: white logo row, black menu bar (like imotorsportschicago.com) */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.header-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: none; text-decoration: none; color: var(--ink); }
.brand-logo { height: 40px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 16px; min-width: 0; }
.header-contact { display: none; text-align: right; line-height: 1.25; }
.header-phone { display: block; font-family: var(--head); font-size: 1.25rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone::before { content: "\260E"; color: var(--red); margin-right: 8px; }
.header-phone:hover { color: var(--red-dark); }
.header-address { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.header .header-shop { display: none; }

.header-nav { background: var(--black); border-bottom: 4px solid var(--red); }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { width: 24px; height: 2px; background: var(--ink); }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); border-bottom: 4px solid var(--red); max-height: calc(100vh - 80px); overflow-y: auto; }
.nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
.nav a, .menu-button { display: block; width: 100%; text-align: left; padding: 12px 4px; color: var(--white); text-decoration: none; font-family: var(--body); font-weight: 500; font-size: 1.02rem; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav a[aria-current="page"], .menu-button.is-active { color: var(--red); }
.nav a:hover, .menu-button:hover { color: var(--red); }
.menu-button::after { content: " \25BE"; }
.menu { display: none; padding: 0 0 6px 14px !important; }
.has-menu.is-open .menu { display: block; }
.menu a { font-size: .95rem; padding: 8px 4px; }
.nav-cta { padding-top: 8px; }
.nav-cta .btn { text-align: center; }

@media (min-width: 640px) {
  .header-contact { display: block; }
  .brand-logo { height: 50px; }
}

@media (min-width: 1000px) {
  /* The white row scrolls away; the black menu bar stays at the top. */
  .header { top: -96px; }
  .header-top-inner { min-height: 96px; }
  .brand-logo { height: 58px; }
  .header .header-shop { display: inline-block; }
  .nav-toggle { display: none; }
  .nav { display: block; position: static; border: 0; background: none; max-height: none; overflow: visible; }
  .nav > ul { display: flex; align-items: center; gap: 4px; padding: 0; }
  .nav a, .menu-button { padding: 12px 14px; }
  .nav-cta { display: none; }
  .has-menu { position: relative; }
  .menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 0 !important; }
  .menu a { color: var(--text); padding: 8px 16px; }
  .menu a:hover { background: var(--soft); color: var(--red-dark); }
  .has-menu:hover .menu, .has-menu:focus-within .menu { display: block; }
}

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 6px; border: 2px solid transparent; font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; font-size: .92rem; text-decoration: none; text-align: center; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-red { background: var(--red); color: var(--white) !important; }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: var(--white) !important; }
.btn-dark:hover { background: var(--black); }
.btn-outline { border-color: var(--ink); color: var(--ink) !important; background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white) !important; }
.btn-outline-light { border-color: rgba(255,255,255,.8); color: var(--white) !important; background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--ink) !important; }
.btn-small { padding: 6px 12px; font-size: .8rem; }
.btn-block { display: block; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn-stack { display: grid; gap: 10px; margin: 20px 0; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " \2192"; }

/* Hero */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,.85) 0%, rgba(5,5,5,.35) 70%, rgba(5,5,5,.1) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: clamp(56px, 10vw, 120px); padding-bottom: clamp(56px, 10vw, 120px); max-width: 1240px; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 6vw, 4rem); max-width: 14ch; }
.hero-lead { font-size: clamp(1rem, 2vw, 1.2rem); max-width: 46ch; color: rgba(255,255,255,.88); }
.hero-part-of { max-width: 46ch; font-size: .95rem; color: rgba(255,255,255,.75); }
.hero-part-of a { color: var(--white); font-weight: 600; }
.hero-part-of a:hover { color: var(--red); }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .25em; color: var(--red); font-size: .85rem; margin-bottom: 12px; }

/* Sections */
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section-tight { padding-top: 24px; }
.section-alt { background: var(--soft); }
.section-head { margin-bottom: 24px; }
.section-head p { color: var(--muted); max-width: 60ch; }
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.page-head { background: var(--ink); color: rgba(255,255,255,.9); padding: clamp(32px, 6vw, 56px) 0; border-bottom: 4px solid var(--red); }
.page-head h1 { color: var(--white); }
.lead { font-size: 1.08rem; max-width: 72ch; }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.rounded { border-radius: var(--radius); width: 100%; object-fit: cover; }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 12px 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b3b9c3; }
.crumbs a { color: var(--muted); }

/* Model tiles */
.models { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.model { display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); background: var(--white); color: var(--text); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.model:hover { transform: translateY(-2px); color: var(--text); box-shadow: 0 8px 22px rgba(0,0,0,.1); }
.model-type { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.model-name { font-family: var(--head); text-transform: uppercase; font-size: 1.25rem; color: var(--ink); }
.model-short { font-size: .92rem; color: var(--muted); }
.model-count { margin-top: 6px; font-weight: 700; color: var(--red-dark); }

/* Unit cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.1); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-photo { position: relative; aspect-ratio: 4 / 3; background: #e9ebef; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 4px; font: 700 .72rem/1.6 var(--body); text-transform: uppercase; letter-spacing: .08em; }
.badge-new { background: var(--red); color: var(--white); }
.badge-used { background: var(--ink); color: var(--white); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.card-title { font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 700; margin: 0 0 6px; color: var(--ink); }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .82rem; color: var(--muted); margin: 0 0 6px; }
.card-note { font-size: .82rem; color: var(--red-dark); margin: 0 0 6px; }
.card-price { margin: auto 0 0; padding-top: 6px; font-family: var(--head); font-size: 1.35rem; color: var(--red-dark); }

/* Listing toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 20px; }
.result-count { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
@media (max-width: 799px) { .toolbar { flex-direction: column; align-items: flex-start; } .chips { flex: none; } }
.chip { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--text); font-size: .88rem; text-decoration: none; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.sort { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.sort select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: var(--white); }
.empty { text-align: center; padding: 40px 16px; border: 1px dashed #c9ced6; border-radius: var(--radius); }
.empty .btn-row { justify-content: center; }

/* Tiles */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.tile { padding: 22px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--muted); margin: 0; }
.tile-link { display: inline-block; margin-top: 10px; font-weight: 600; text-decoration: none; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 28px 14px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.4rem; color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); }
.steps { padding-left: 20px; }
.steps li { margin-bottom: 6px; }

/* Dark band */
.band-dark { background: var(--ink); color: rgba(255,255,255,.85); padding: 48px 0; border-top: 4px solid var(--red); }
.band-inner { display: grid; gap: 16px; align-items: center; }
.h2-light { color: var(--white); font-size: clamp(1.4rem, 3vw, 2rem); }
@media (min-width: 900px) { .band-inner { grid-template-columns: 1fr auto; } .band-inner .btn-row { margin-top: 0; } }

/* Unit page */
.unit { display: grid; gap: 28px; }
.unit > *, .unit-main > *, .unit-details > *, .split > * { min-width: 0; }
.unit-description { margin-top: 32px; }
/* Phones and tablets: photos, then title/price/buttons, then description. */
@media (max-width: 959px) { .unit-main { display: contents; } .unit-info { order: 2; } .unit-description { order: 3; margin-top: 8px; } }
.unit-description h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.about-link { margin-bottom: 32px; }
@media (min-width: 960px) { .unit { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } .unit-info { position: sticky; top: 96px; } }
.gallery-main { position: relative; aspect-ratio: 4 / 3; background: #e9ebef; border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #111; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: var(--white); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.gallery-nav:hover { background: var(--red); }
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.gallery-count { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.6); color: var(--white); font-size: .8rem; padding: 2px 8px; border-radius: 4px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 4px; scrollbar-width: thin; }
.thumb { flex: none; width: 92px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: #e9ebef; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on { border-color: var(--red); }
.unit-title { font-size: clamp(1.4rem, 3vw, 2rem); }
.unit-sub { color: var(--muted); }
.unit-price { font-family: var(--head); font-size: 2.4rem; color: var(--red-dark); margin: 8px 0 4px; }
.fine { font-size: .8rem; color: var(--muted); }
.pricebox { margin-top: 16px; padding: 20px 22px; background: var(--ink); color: rgba(255,255,255,.85); border-radius: var(--radius); border-right: 6px solid var(--red); }
.price-lines { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.15); }
.price-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.price-lines dd { margin: 0; color: var(--white); font-variant-numeric: tabular-nums; }
.pricebox-label { margin: 0; font-family: var(--head); text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; color: rgba(255,255,255,.65); }
.pricebox-total { margin: 2px 0 8px; font-family: var(--head); font-size: 2.6rem; line-height: 1.1; color: var(--white); }
.pricebox-note { margin: 0; font-size: .75rem; color: rgba(255,255,255,.6); }
.card-price-label { display: block; font-family: var(--body); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.description { margin-bottom: 28px; }
.perks { list-style: none; padding: 0; margin: 0; }
.perks li { padding: 6px 0 6px 26px; position: relative; font-size: .95rem; }
.perks li::before { content: "\2713"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.unit-details { display: grid; gap: 32px; }
@media (min-width: 900px) { .unit-details { grid-template-columns: 1fr 1fr; } }
.specs { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.specs div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.video { margin-bottom: 28px; }
.video-play, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #000; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.play-icon { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; transform: translate(-50%, -50%); background: var(--red); border-radius: 12px; }
.play-icon::after { content: ""; position: absolute; left: 29px; top: 14px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }

/* Footer */
.footer { background: var(--black); color: rgba(255,255,255,.7); padding-top: 48px; font-size: .92rem; }
.footer a { color: var(--white); }
.footer a:hover { color: var(--red); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-title { color: var(--white); font-size: 1rem; letter-spacing: .1em; }
.brand-footer { display: inline-block; margin-bottom: 14px; }
.brand-footer img { height: 48px; width: auto; }
.part-of { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .8rem; color: rgba(255,255,255,.7); text-decoration: none; }
.part-of img { height: 14px; width: auto; }
.part-of:hover span { color: var(--white); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 12px; max-width: 260px; }
.hours dd { margin: 0; }
.social { display: flex; gap: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; padding-bottom: 24px; font-size: .8rem; }

/* Lead forms */
.lead-forms { display: grid; gap: 28px; }
@media (min-width: 1000px) { .lead-forms { grid-template-columns: 1fr 1fr; align-items: start; } }
.lead-form { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.lead-intro { color: var(--muted); }
.lead-unit { background: var(--soft); border-left: 4px solid var(--red); padding: 10px 14px; border-radius: 6px; }
.lead-grid { display: grid; gap: 14px 16px; grid-template-columns: 1fr; margin-bottom: 16px; }
@media (min-width: 560px) { .lead-grid { grid-template-columns: 1fr 1fr; } .lead-field.is-wide { grid-column: 1 / -1; } }
.lead-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.lead-field label span { color: var(--red); margin-left: 2px; }
.lead-field input, .lead-field textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfd4db; border-radius: 6px; font: inherit; font-size: 1rem; background: var(--white); color: var(--text); }
.lead-field input:focus, .lead-field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(235,36,41,.15); }
.lead-field.has-error input, .lead-field.has-error textarea { border-color: var(--red-dark); }
.lead-error { display: block; color: var(--red-dark); font-size: .82rem; margin-top: 4px; }
.lead-error-box { background: #fdecec; color: var(--red-dark); border-radius: 6px; padding: 10px 14px; font-weight: 600; }
.lead-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin-bottom: 4px; }
.lead-consent input { margin-top: 3px; accent-color: var(--red); width: 18px; height: 18px; flex: none; }
.lead-consent.has-error span { color: var(--red-dark); }
.lead-form .btn { margin-top: 16px; min-width: 180px; }
.lead-trap, .lead-trap[hidden] { display: none !important; }
.link-light { color: var(--white); }
.lead-layout { display: grid; gap: 28px; }
.lead-layout > * { min-width: 0; }
@media (min-width: 960px) { .lead-layout { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; } .lead-side { position: sticky; top: 72px; } }
.lead-side { display: grid; gap: 18px; }
.lead-bike { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--shadow); }
.lead-bike img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lead-bike-body { display: grid; gap: 2px; padding: 12px 16px 14px; }
.lead-bike-title { font-weight: 700; color: var(--ink); }
.lead-bike-meta { font-size: .85rem; color: var(--muted); }
.lead-bike-price { font-family: var(--head); font-size: 1.25rem; color: var(--red-dark); margin-top: 4px; }
.lead-card { background: var(--soft); border-radius: var(--radius); padding: 20px; }
.lead-card h2 { font-size: 1.15rem; }
.lead-card .hours { margin: 0 0 12px; }
.lead-phone { font-family: var(--head); font-size: 1.3rem; text-decoration: none; }

/* Model tiles with separate New / Pre-owned links (11/15/2026) */
.model-card { position: relative; }
.model-card .model-link { color: inherit; text-decoration: none; }
.model-card .model-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.model-count a { position: relative; z-index: 1; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.model-count a:hover, .model-count a:focus { color: var(--red); }
