:root {
  --ink: #0b1726;
  --ink-soft: #16283a;
  --paper: #f5f2eb;
  --white: #ffffff;
  --muted: #6b747d;
  --line: rgba(11, 23, 38, .15);
  --accent: #f2a900;
  --accent-dark: #d89200;
  --green: #4ba66a;
  --max: 1220px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 112px 0; }
.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; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; background: var(--white); padding: 10px 16px; }
.skip-link:focus { top: 12px; }

.utility-bar { background: var(--ink); color: #dbe1e6; font-size: 12px; letter-spacing: .02em; }
.utility-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; }
.utility-inner p { margin: 0; display: flex; align-items: center; gap: 8px; }
.utility-inner a { text-decoration: none; }
.utility-inner a:hover { color: var(--accent); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(75,166,106,.13); }
.utility-contact { gap: 14px !important; }

.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; color: var(--white); }
.nav-wrap { min-height: 96px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.18); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; position: relative; }
.brand-mark::after { content: ""; position: absolute; width: 7px; height: 7px; top: -3px; right: 4px; background: var(--accent); border-radius: 50%; }
.brand-mark span { font: italic 700 21px/1 var(--serif); }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { text-transform: uppercase; font-size: 15px; letter-spacing: .11em; }
.brand-copy small { margin-top: 5px; font-size: 11px; letter-spacing: .06em; opacity: .7; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { text-decoration: none; font-size: 13px; font-weight: 650; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--accent); transition: right .25s ease; }
.main-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { border: 1px solid rgba(255,255,255,.45); padding: 12px 18px; transition: .2s ease; }
.nav-cta:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.menu-toggle { display: none; color: inherit; background: none; border: 0; width: 42px; height: 42px; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: currentColor; margin: 6px 0; }

.hero { min-height: 790px; position: relative; display: flex; align-items: stretch; color: var(--white); background: var(--ink); }
.hero-bg { position: absolute; inset: 0; background-image: url('assets/garage-kompas-hero-v2.png'); background-size: cover; background-position: center center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,13,22,.95) 0%, rgba(5,13,22,.74) 35%, rgba(5,13,22,.12) 70%, rgba(5,13,22,.28) 100%), linear-gradient(0deg, rgba(5,13,22,.75) 0%, transparent 35%); }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; padding-top: 120px; padding-bottom: 140px; }
.hero-copy { max-width: 660px; }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 12px; color: #59636c; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .19em; }
.eyebrow > span { width: 32px; height: 2px; background: var(--accent); }
.eyebrow.light { color: rgba(255,255,255,.72); }
h1, h2 { margin: 0; font-weight: 650; line-height: .98; letter-spacing: -.045em; }
h1 { font-size: clamp(62px, 7vw, 106px); }
h2 { font-size: clamp(44px, 5vw, 70px); }
h1 em, h2 em { color: var(--accent); font-family: var(--serif); font-weight: 400; }
.hero-lead { max-width: 620px; margin: 30px 0 0; color: rgba(255,255,255,.8); font-size: 19px; line-height: 1.65; }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 23px; text-decoration: none; border: 0; cursor: pointer; font-size: 13px; font-weight: 800; letter-spacing: .02em; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-accent { background: var(--accent); color: var(--ink); }
.button-accent:hover { background: #ffc12a; }
.button-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.45); background: transparent; }
.button-ghost:hover { background: var(--white); color: var(--ink); }
.text-link { display: inline-flex; gap: 10px; margin-top: 26px; font-size: 13px; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.light-link { margin-top: 0; color: var(--white); border-color: rgba(255,255,255,.55); }
.hero-proof { position: absolute; inset: auto 0 0; z-index: 3; background: rgba(9,20,32,.9); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,.1); }
.proof-grid { min-height: 112px; display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid > div { display: grid; align-content: center; gap: 4px; padding-left: 32px; border-left: 1px solid rgba(255,255,255,.12); }
.proof-grid > div:first-child { padding-left: 0; border-left: 0; }
.proof-grid strong { font-size: 14px; }
.proof-grid span { color: rgba(255,255,255,.6); font-size: 12px; }

.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 110px; align-items: start; }
.intro-copy { padding-top: 48px; }
.intro-copy p { color: var(--muted); font-size: 15px; }
.intro-copy .large-copy { margin-top: 0; color: var(--ink); font-size: 21px; line-height: 1.55; }

.services { background: var(--white); }
.section-head { display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: end; margin-bottom: 62px; }
.section-head > p { margin: 0 0 4px; color: var(--muted); font-size: 15px; }
.section-head.compact { display: block; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 52px 62px 1fr 86px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.service-row:hover { padding-left: 18px; padding-right: 18px; background: var(--paper); }
.service-number { color: #9aa1a6; font: italic 15px var(--serif); }
.service-icon { width: 54px; height: 54px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
.service-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-row h3 { margin: 0 0 5px; font-size: 20px; }
.service-row p { margin: 0; color: var(--muted); font-size: 14px; }
.service-row > a { text-decoration: none; font-size: 12px; font-weight: 800; }
.service-row > a span { color: var(--accent-dark); margin-left: 6px; }

.workshop { overflow: hidden; background: #ebe7dd; }
.workshop-head { margin-bottom: 48px; }
.workshop-gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 260px; gap: 14px; }
.work-card { position: relative; grid-column: span 4; margin: 0; overflow: hidden; background: var(--ink); }
.work-card-wide { grid-column: span 7; grid-row: span 2; }
.work-card-tall { grid-column: span 5; grid-row: span 2; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .55s ease; }
.work-card-wide img { object-position: 58% center; }
.work-card-tall img { object-position: 50% center; }
.work-card::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(5,12,20,.92)); pointer-events: none; }
.work-card:hover img { transform: scale(1.035); filter: saturate(1.06); }
.work-card figcaption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; display: flex; align-items: flex-end; gap: 14px; color: var(--white); }
.work-card figcaption > span { padding-bottom: 3px; color: var(--accent); font: italic 15px var(--serif); }
.work-card figcaption div { display: grid; }
.work-card figcaption strong { font-size: 16px; }
.work-card figcaption small { color: rgba(255,255,255,.66); font-size: 11px; }

.diagnostic-band { overflow: hidden; padding: 100px 0; color: var(--white); background: var(--ink); }
.diagnostic-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 120px; align-items: center; }
.diagnostic-copy p:not(.eyebrow) { max-width: 570px; color: rgba(255,255,255,.68); }
.diagnostic-visual { min-height: 390px; position: relative; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); background: radial-gradient(circle, rgba(242,169,0,.1), transparent 62%); }
.diagnostic-visual::before, .diagnostic-visual::after { content: ""; position: absolute; background: rgba(255,255,255,.1); }
.diagnostic-visual::before { width: 1px; inset-block: 0; left: 50%; }
.diagnostic-visual::after { height: 1px; inset-inline: 0; top: 50%; }
.dial { position: relative; z-index: 2; width: 146px; height: 146px; border: 1px solid rgba(242,169,0,.75); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 24px rgba(242,169,0,.05), 0 0 0 58px rgba(242,169,0,.025); }
.dial::before { content: ""; position: absolute; inset: 11px; border: 1px dashed rgba(255,255,255,.22); border-radius: 50%; }
.dial span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--ink); background: var(--accent); font-size: 24px; }
.diagnostic-visual small { position: absolute; bottom: 28px; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.55); }
.diag-line { position: absolute; background: var(--accent); height: 2px; width: 46px; }
.line-one { left: 16%; top: 28%; }.line-two { right: 12%; bottom: 28%; }

.process-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 1px solid var(--line); }
.process-steps li { min-height: 260px; padding: 34px 28px 30px 0; border-right: 1px solid var(--line); }
.process-steps li + li { padding-left: 28px; }
.process-steps li:last-child { border-right: 0; }
.process-steps span { color: var(--accent-dark); font: italic 18px var(--serif); }
.process-steps h3 { margin: 60px 0 10px; font-size: 18px; }
.process-steps p { margin: 0; color: var(--muted); font-size: 14px; }

.appointment { padding: 110px 0; color: var(--white); background: linear-gradient(120deg, #112639, #08121e); }
.appointment-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.appointment-copy > p:not(.eyebrow) { max-width: 430px; color: rgba(255,255,255,.67); }
.contact-cards { display: grid; gap: 12px; margin-top: 36px; }
.contact-cards a { max-width: 380px; padding: 15px 18px; display: grid; text-decoration: none; border-left: 2px solid var(--accent); background: rgba(255,255,255,.06); }
.contact-cards span { color: rgba(255,255,255,.55); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.contact-cards strong { font-size: 15px; }
.appointment-form { padding: 38px; background: var(--white); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.appointment-form label { display: grid; gap: 8px; margin-bottom: 18px; color: #44505a; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.appointment-form input, .appointment-form select, .appointment-form textarea { width: 100%; border: 1px solid #d9dde0; border-radius: 0; background: #fafafa; color: var(--ink); padding: 13px 14px; text-transform: none; letter-spacing: 0; outline: none; }
.appointment-form input:focus, .appointment-form select:focus, .appointment-form textarea:focus { border-color: var(--accent-dark); box-shadow: 0 0 0 3px rgba(242,169,0,.15); }
.appointment-form .invalid { border-color: #b63e3e; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 8px; }
.form-footer p { max-width: 230px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.form-message { min-height: 24px; margin: 15px 0 0; color: #25633b; font-size: 13px; font-weight: 700; }

.site-footer { padding: 70px 0 24px; color: rgba(255,255,255,.68); background: #050c14; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; }
.brand-light { color: var(--white); }
.footer-brand > p { max-width: 280px; font-size: 13px; }
.footer-grid h3 { margin: 0 0 18px; color: var(--white); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid p { margin: 0; font-size: 13px; }
.footer-grid > div:not(.footer-brand) a { display: block; width: fit-content; margin-top: 10px; font-size: 13px; text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { margin-top: 60px; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }
.mobile-call { display: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; transition-duration: .01ms !important; } }

@media (max-width: 900px) {
  .shell { width: min(calc(100% - 36px), var(--max)); }
  .section { padding: 84px 0; }
  .site-header { position: absolute; }
  .nav-wrap { min-height: 78px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 114px; left: 18px; right: 18px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 16px; color: var(--ink); background: var(--white); box-shadow: 0 18px 50px rgba(0,0,0,.2); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px; }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 8px; color: var(--ink); background: var(--accent); border-color: var(--accent); }
  .hero { min-height: 760px; }
  .hero-inner { padding-top: 150px; }
  .hero-bg { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,13,22,.93), rgba(5,13,22,.5) 75%, rgba(5,13,22,.35)); }
  .intro-grid, .diagnostic-grid, .appointment-grid { grid-template-columns: 1fr; gap: 56px; }
  .intro-copy { padding-top: 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps li:nth-child(2) { border-right: 0; }
  .diagnostic-visual { min-height: 330px; }
  .workshop-gallery { grid-auto-rows: 230px; }
  .work-card, .work-card-wide, .work-card-tall { grid-column: span 6; grid-row: span 1; }
  .work-card-wide { grid-column: span 12; grid-row: span 2; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { display: none; }
}

@media (max-width: 620px) {
  body { padding-bottom: 62px; }
  .shell { width: min(calc(100% - 30px), var(--max)); }
  .utility-contact { display: none !important; }
  .utility-inner { justify-content: center; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { font-size: 10px; }
  .hero { min-height: 780px; }
  .hero-bg { background-position: 70% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,13,22,.96), rgba(5,13,22,.62)), linear-gradient(0deg, rgba(5,13,22,.9), transparent 55%); }
  .hero-inner { align-items: flex-start; padding-top: 180px; }
  h1 { font-size: clamp(53px, 16vw, 72px); }
  h2 { font-size: clamp(40px, 12vw, 54px); }
  .hero-lead { font-size: 17px; }
  .hero-proof { position: absolute; }
  .proof-grid { min-height: 120px; grid-template-columns: 1fr 1fr; }
  .proof-grid > div { padding: 18px 12px; border-left: 1px solid rgba(255,255,255,.12); }
  .proof-grid > div:nth-child(3) { display: none; }
  .service-row { grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
  .service-icon { display: none; }
  .service-row > a { grid-column: 2; }
  .workshop-gallery { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 10px; }
  .work-card, .work-card-wide, .work-card-tall { grid-column: 1; grid-row: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .work-card-wide { aspect-ratio: 16 / 11; }
  .work-card figcaption { left: 17px; right: 17px; bottom: 15px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps li, .process-steps li + li { min-height: auto; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-steps h3 { margin-top: 22px; }
  .appointment { padding: 82px 0; }
  .appointment-form { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { display: block; }
  .footer-bottom { gap: 20px; }
  .mobile-call { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; height: 62px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ink); background: var(--accent); font-weight: 850; text-decoration: none; box-shadow: 0 -8px 24px rgba(0,0,0,.18); }
}
