:root {
  --bg: #f7f8fb;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --card: #ffffff;
  --navy: #0b1220;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #16a34a;
  --green-dark: #15803d;
  --radius: 28px;
  --shadow: 0 24px 80px rgba(16, 24, 40, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(840px, calc(100% - 40px)); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 1000; left: 1rem; top: 1rem; background: #fff; color: var(--ink); padding: .75rem 1rem; border-radius: 999px; box-shadow: var(--shadow); }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .2s ease, box-shadow .2s ease, backdrop-filter .2s ease;
}
.site-header.is-scrolled { background: rgba(255,255,255,.88); backdrop-filter: blur(18px); box-shadow: 0 1px 0 rgba(16,24,40,.08); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-weight: 800; letter-spacing: -.03em; font-size: 1.4rem; }
.site-header.is-scrolled .brand { color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #2563eb, #22c55e); color: #fff; box-shadow: 0 12px 34px rgba(37,99,235,.35); }
.nav-menu { display: flex; align-items: center; gap: 1.6rem; color: rgba(255,255,255,.82); font-weight: 650; }
.nav-menu a { transition: color .2s ease; }
.nav-menu a:hover { color: #fff; }
.site-header.is-scrolled .nav-menu { color: #344054; }
.site-header.is-scrolled .nav-menu a:hover { color: var(--blue); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.1); border-radius: 14px; padding: 11px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 99px; }
.site-header.is-scrolled .nav-toggle span:not(.sr-only) { background: var(--ink); }

.hero { position: relative; min-height: 760px; padding: 150px 0 92px; overflow: hidden; background: var(--navy); color: #fff; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(circle at 15% 20%, rgba(37,99,235,.55), transparent 30%),
  radial-gradient(circle at 85% 12%, rgba(34,197,94,.35), transparent 28%),
  radial-gradient(circle at 55% 80%, rgba(99,102,241,.28), transparent 32%),
  linear-gradient(135deg, #050816 0%, #111827 48%, #09111f 100%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, #000, transparent 82%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr); gap: 56px; align-items: center; }
.eyebrow, .section-kicker, .card-label { margin: 0 0 14px; color: #93c5fd; font-size: .78rem; text-transform: uppercase; font-weight: 800; letter-spacing: .14em; }
h1, h2, h3 { line-height: 1.04; margin: 0; letter-spacing: -.055em; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); max-width: 840px; }
h2 { font-size: clamp(2rem, 4vw, 4rem); }
h3 { font-size: 1.65rem; }
.hero-text { max-width: 690px; margin: 26px 0 0; color: rgba(255,255,255,.76); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--blue); color: #fff; box-shadow: 0 16px 40px rgba(37,99,235,.3); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }
.button.secondary:hover { background: rgba(255,255,255,.14); }
.button.small { min-height: 42px; padding-inline: 16px; font-size: .92rem; }
.button.full { width: 100%; }

.hero-panel { display: grid; gap: 16px; }
.panel-card { background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.16); border-radius: 24px; padding: 22px; backdrop-filter: blur(20px); box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.panel-card strong, .panel-card span { display: block; }
.panel-card span { color: rgba(255,255,255,.72); }
.panel-card.large { min-height: 180px; display: flex; flex-direction: column; justify-content: end; background: linear-gradient(135deg, rgba(37,99,235,.7), rgba(34,197,94,.36)); }
.metric { font-size: 5rem; line-height: .8; font-weight: 900; color: #fff !important; letter-spacing: -.08em; }

.section { padding: 96px 0; }
.intro { background: #fff; text-align: center; }
.intro p:not(.section-kicker), .approach p { color: var(--muted); font-size: 1.12rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.brands { background: var(--bg); }
.brands .section-kicker, .approach .section-kicker, .contact-section .section-kicker { color: var(--blue); }
.brand-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.brand-card { min-height: 460px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: 0 20px 50px rgba(16,24,40,.07); }
.brand-logo-wrap { display: grid; place-items: center; height: 120px; border-radius: 22px; background: #f8fafc; border: 1px solid #eef2f7; padding: 18px; }
.brand-logo-wrap img { max-height: 78px; object-fit: contain; }
.brand-card p { color: var(--muted); }
.card-label { color: var(--blue); margin-bottom: 10px; }
.card-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--blue); font-weight: 850; }
.card-link.green { color: var(--green); }
.card-link.muted { color: #475467; }
.bike-card { background: linear-gradient(180deg, #fff, #f3fff7); }
.design-card { background: linear-gradient(180deg, #fff, #f6f9ff); }
.lab-card { background: #111827; color: #fff; border-color: rgba(255,255,255,.1); }
.lab-card p { color: rgba(255,255,255,.7); }
.lab-card .card-label { color: #86efac; }
.lab-icon { width: 74px; height: 74px; border-radius: 24px; display: grid; place-items: center; background: linear-gradient(135deg, #2563eb, #22c55e); font-size: 2rem; }
.lab-card .card-link { color: #fff; }

.approach { background: #fff; }
.approach-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principle { border: 1px solid var(--line); border-radius: 22px; padding: 22px; background: #fff; }
.principle span { display: block; color: var(--blue); font-weight: 900; margin-bottom: 28px; }
.principle strong { display: block; font-size: 1.2rem; margin-bottom: 8px; }
.principle p { margin: 0; font-size: .98rem; }

.contact-section { background: #0b1220; color: #fff; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: start; }
.contact-section p { color: rgba(255,255,255,.72); font-size: 1.08rem; }
.contact-note { margin-top: 28px; padding: 22px; border-radius: 22px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.78); }
.contact-note strong, .contact-note a { color: #fff; }
.contact-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-form label { display: block; margin: 16px 0 7px; color: #344054; font-weight: 750; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #d0d5dd; border-radius: 16px; padding: 14px 16px; color: var(--ink); background: #fff; outline: none; transition: border-color .16s ease, box-shadow .16s ease; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.contact-form textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-message { margin-top: 14px; font-weight: 750; text-align: center; }
.form-message.success { color: var(--green-dark); }
.form-message.error { color: #b42318; }

.site-footer { background: #050816; color: rgba(255,255,255,.72); padding: 44px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.footer-brand { color: #fff; margin-bottom: 12px; }
.footer-links { display: flex; gap: 18px; justify-content: end; }
.footer-links button, .cookie-banner button:not(.button) { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }
.copyright { grid-column: 1 / -1; margin: 0; font-size: .92rem; color: rgba(255,255,255,.48); }

.modal-overlay { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(5,8,22,.62); backdrop-filter: blur(8px); }
.modal { width: min(720px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow: auto; background: #fff; border-radius: 26px; padding: 28px; box-shadow: var(--shadow); }
.modal-close { float: right; border: 0; border-radius: 999px; background: #f2f4f7; padding: 9px 14px; cursor: pointer; font-weight: 800; }
.modal h2 { font-size: 2rem; margin: 14px 0 20px; }
.modal h3 { margin-top: 22px; font-size: 1.2rem; letter-spacing: -.02em; }
.modal p, .modal li { color: #475467; }
.modal a { color: var(--blue); font-weight: 750; }

.cookie-banner { position: fixed; z-index: 70; left: 20px; right: 20px; bottom: 20px; width: min(980px, calc(100% - 40px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: rgba(255,255,255,.96); color: #344054; border: 1px solid var(--line); border-radius: 24px; padding: 16px; box-shadow: var(--shadow); }
.cookie-banner p { margin: 0; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .secondary { color: var(--ink); border-color: var(--line); background: #fff; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu { position: fixed; top: 76px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: #fff; color: var(--ink); border-radius: 22px; box-shadow: var(--shadow); }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 14px 16px; border-radius: 14px; }
  .nav-menu a:hover { background: #f2f4f7; color: var(--blue); }
  .hero { min-height: auto; padding-top: 130px; }
  .hero-grid, .approach-grid, .contact-grid { grid-template-columns: 1fr; }
  .brand-cards { grid-template-columns: 1fr; }
  .brand-card { min-height: auto; }
  .section-heading { display: block; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-links { justify-content: start; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(100% - 28px, 1120px); }
  .nav { height: 68px; }
  .nav-menu { top: 68px; left: 14px; right: 14px; }
  .hero { padding: 112px 0 64px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .section { padding: 68px 0; }
  .principles { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; }
  .cookie-banner { left: 14px; right: 14px; bottom: 14px; width: calc(100% - 28px); flex-direction: column; align-items: stretch; }
  .cookie-actions { width: 100%; }
  .cookie-actions .button { flex: 1; }
}
