/* Bike911 — A.G. Assanti & Associates, P.C. */
:root {
  --bg: #090a0c;
  --bg-2: #111318;
  --bg-3: #181b21;
  --cream: #f4efe6;
  --cream-dim: #d9d2c6;
  --muted: #a39c91;
  --faint: #8a847a; /* was #6f6a62: 3.69:1 contrast, raised to 5.3:1 */
  --line: rgba(244, 239, 230, 0.12);
  --line-strong: rgba(244, 239, 230, 0.22);
  --red: #c44532;
  --red-text: #de5f48; /* small red text on dark bg, 5.5:1 */
  --red-deep: #9c2f20;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1180px;
  --nav: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 380;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--red); color: white;
  padding: 8px 12px; z-index: 20;
}
.skip:focus { top: 12px; }

.util {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 28px; background: #07080a; color: var(--muted);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.util a { color: var(--cream-dim); }
.util a:hover { color: white; }

header.site {
  position: sticky; top: 0; z-index: 30;
  background: rgba(9, 10, 12, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1320px; margin: 0 auto; height: var(--nav);
  display: flex; align-items: center; gap: 28px; padding: 0 28px;
}
.brand { display: flex; align-items: baseline; gap: 12px; min-width: 210px; }
.brand strong {
  font-family: var(--serif); font-weight: 560; font-size: 28px; letter-spacing: -0.03em;
}
.brand strong span { color: var(--red); }
.brand em {
  font-style: normal; font-size: 11px; letter-spacing: 0.18em;
  color: var(--muted); text-transform: uppercase;
}
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a {
  font-size: 14.5px; color: var(--cream-dim);
}
.nav-links a[aria-current="page"], .nav-links a:hover { color: white; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--red); color: white; border: 0; border-radius: 999px;
  padding: 12px 18px; font-size: 14.5px; font-weight: 520; letter-spacing: 0.01em;
  cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--red-deep); }
.btn.ghost {
  background: transparent; color: var(--cream); border: 1px solid var(--line-strong);
}
.btn.ghost:hover { background: rgba(255,255,255,0.04); }
.menu-btn {
  display: none; margin-left: auto; background: transparent; color: var(--cream);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
  align-items: center; padding: 72px 0 36px;
}
.kicker {
  color: var(--red-text); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 560; margin: 0 0 18px;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 520; letter-spacing: -0.03em; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(46px, 6vw, 78px); color: var(--cream); }
h2 { font-size: clamp(34px, 4vw, 52px); }
h3 { font-size: 28px; line-height: 1.15; }
.lede { color: var(--cream-dim); font-size: 18.5px; max-width: 46ch; margin: 22px 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { color: var(--faint); font-size: 13px; margin-top: 14px; }
.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; height: 640px; object-fit: cover; object-position: center 18%;
  border-radius: 18px; box-shadow: var(--shadow);
}
.caption {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(9,10,12,0.72); border: 1px solid var(--line);
  backdrop-filter: blur(8px); border-radius: 12px; padding: 10px 12px;
  font-size: 12.5px; color: var(--cream-dim); max-width: 280px;
}

.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: 28px;
}
.metrics div { background: var(--bg); padding: 22px 8px; }
.metrics strong {
  display: block; font-family: var(--serif); font-size: 28px; font-weight: 520; letter-spacing: -0.03em;
}
.metrics span { color: var(--muted); font-size: 13px; }

section { padding: 84px 0; }
.section-head { display: grid; grid-template-columns: 180px 1fr; gap: 24px; margin-bottom: 36px; }
.section-head p { color: var(--muted); max-width: 62ch; margin: 10px 0 0; }

.grid-3, .grid-2, .grid-4 { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card, .panel {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 22px;
}
.card h3 { font-size: 24px; margin-bottom: 8px; }
.card p, .panel p { color: var(--cream-dim); margin: 0; }
.card .idx { color: var(--red-text); font-size: 12px; letter-spacing: 0.16em; }
.card a.more { display: inline-block; margin-top: 16px; color: white; font-size: 14px; border-bottom: 1px solid var(--red); }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.split img, .frame img { width: 100%; height: 460px; object-fit: cover; border-radius: 16px; }
.quote {
  font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.25;
  letter-spacing: -0.03em; margin: 0 0 18px;
}
.quote span { color: var(--red); }

.steps { counter-reset: step; display: grid; gap: 0; }
.steps article {
  display: grid; grid-template-columns: 72px 1fr; gap: 16px;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.steps article:before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  color: var(--red); font-family: var(--serif); font-size: 22px;
}
.list { margin: 0; padding: 0; list-style: none; }
.list li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--cream-dim); }
.list a { color: var(--cream); }
.list a:hover { color: white; }

.band {
  background:
    radial-gradient(800px 300px at 10% 0%, rgba(196,69,50,0.18), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.band .wrap { display: flex; justify-content: space-between; gap: 28px; align-items: end; padding: 56px 28px; }

footer.site { padding: 56px 0 28px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.foot {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px;
}
footer h4, footer h2.foot-h { font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); margin: 0 0 12px; }
footer a { display: block; padding: 4px 0; color: var(--muted); }
footer a:hover { color: white; }
.legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--faint); max-width: 95ch; }
.mobile-call {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  background: var(--red); color: white; text-align: center; border-radius: 999px;
  padding: 14px; font-weight: 560;
}

.page-hero { padding: 54px 0 10px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); max-width: 16ch; }
.crumbs { color: var(--faint); font-size: 13px; margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.prose { max-width: 74ch; }
.prose p { color: var(--cream-dim); }
.prose h2 { font-size: 34px; margin: 36px 0 12px; }
.prose h3 { font-size: 24px; margin: 26px 0 8px; }
.prose ul { color: var(--cream-dim); padding-left: 18px; }
.prose a { color: white; border-bottom: 1px solid var(--red); }
.note {
  border-left: 3px solid var(--red); padding: 8px 0 8px 16px; color: var(--muted); font-size: 14.5px;
}

form.intake { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }
input, select, textarea {
  background: #0c0d10; color: var(--cream); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 12px 12px; font-size: 16px;
}
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--cream-dim); font-size: 14px; }
.check input { margin-top: 4px; }
.form-ok { display: none; background: #142018; border: 1px solid #2d5a3a; border-radius: 12px; padding: 16px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-size: 18px; color: var(--cream); }
.faq p { color: var(--cream-dim); }

.drawer {
  display: none; border-top: 1px solid var(--line); padding: 8px 28px 18px; background: #0c0d10;
}
.drawer a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }

@media (max-width: 980px) {
  .hero, .split, .section-head, .foot, .grid-3, .grid-4, .grid-2, .metrics { grid-template-columns: 1fr; }
  .nav-links, .brand em { display: none; }
  .menu-btn, .mobile-call { display: inline-flex; }
  .menu-btn { display: inline-flex; }
  .hero-figure img, .split img, .frame img { height: 420px; }
  .band .wrap { flex-direction: column; align-items: start; }
  body { padding-bottom: 72px; }
  section { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Intake form honeypot: hidden from people, visible to bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.note a, .panel a, .prose a { text-decoration: underline; text-underline-offset: 2px; }
.crumbs a { text-decoration: underline; text-underline-offset: 2px; }
