/* self-hosted Barlow (SIL OFL 1.1, fonts/OFL.txt): no request to Google on page load */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --green: #00a16b;
  --green-dark: #00835a;
  --green-tint: #e6f6f0;
  --ink: #16191c;
  --ink-2: #3d444b;
  --muted: #646d75;
  --line: #e3e6e8;
  --bg: #ffffff;
  --bg-2: #f4f5f6;
  --white: #ffffff;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgb(22 25 28 / 0.10), 0 2px 6px rgb(22 25 28 / 0.06);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 700; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--white); }
.skip:focus-visible { top: 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 2px solid transparent; border-radius: var(--radius); font: 600 1.05rem/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); }
.btn--ghost { border-color: rgb(255 255 255 / 0.7); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 1rem; }

/* top bar */
.topbar { background: var(--ink); color: rgb(255 255 255 / 0.85); font-size: 0.9rem; }
.topbar .container { display: flex; gap: 28px; align-items: center; min-height: 40px; }
.topbar a, .topbar span { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar a { position: relative; }
.topbar a::after { content: ""; position: absolute; inset: -8px -12px; } /* 44px hit area in a 40px bar, no layout shift; 24px spread stays inside the 28px item gap */
.topbar .icon { width: 16px; height: 16px; color: var(--green); }
.topbar__hours { margin-left: auto; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.logo { display: flex; text-decoration: none; }
.logo { flex-direction: column; align-items: flex-start; gap: 2px; }
.logo__word { display: inline-flex; align-items: center; font: 700 2rem/1 var(--font-head); color: var(--ink); }
.logo__word img { position: relative; top: 0.047em; width: 0.78em; height: 0.78em; margin: 0 0.02em 0 0.04em; }
.logo__word b { margin-left: 0.22em; color: var(--green); }
.logo__arrow { position: relative; top: 0.047em; width: 0.72em; height: 0.72em; margin-left: 0.08em; fill: none; stroke: var(--green); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.footer .logo { margin: 0 0 12px; }
.footer .logo__word { color: var(--white); font-size: 2.4rem; }
.logo__text { display: grid; line-height: 1; }
.logo__name { font: 700 1.6rem/1 var(--font-head); letter-spacing: 0.01em; }
.logo__name b { color: var(--green); }
.logo__sub { margin-top: 3px; font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.nav { display: flex; gap: 28px; margin-left: auto; font-weight: 500; }
.nav a { text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; inset: -9px -12px; } /* 45px hit area; 24px side reach stays inside the 28px nav gap */
.nav a:hover { color: var(--green-dark); }

/* hero */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--ink); }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(16 19 22 / 0.92) 0%, rgb(16 19 22 / 0.75) 45%, rgb(16 19 22 / 0.25) 100%); }
.hero .container { display: grid; align-content: center; gap: 22px; min-height: min(640px, 78svh); padding-block: 72px 140px; }
.hero h1 { max-width: 13ch; font-size: clamp(2.8rem, 6.4vw, 5rem); }
.hero__lead { max-width: 46ch; font-size: 1.2rem; color: rgb(255 255 255 / 0.88); }
.hero .actions { margin-top: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 8px 0 0; padding: 0; list-style: none; font-weight: 500; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks .icon { color: var(--green); }

/* info bar */
.info { position: relative; z-index: 2; margin-top: -84px; }
.info__card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.info__item { display: flex; gap: 16px; padding: 28px; }
.info__item + .info__item { border-left: 1px solid var(--line); }
.info__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--green-tint); color: var(--green-dark); flex-shrink: 0; }
.info__item h2 { margin-bottom: 4px; font-size: 1.3rem; }
.info__item p, .info__item dd { color: var(--ink-2); }
.info__item a { font-weight: 600; }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px 18px; margin: 0; }
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.status[data-open="true"] { color: var(--green-dark); }
html:not(.js) .status { display: none; }

/* sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--grey { background: var(--bg-2); }
.section__head { display: grid; gap: 12px; max-width: 640px; margin-bottom: 44px; }
.section__head p { font-size: 1.1rem; color: var(--ink-2); }

/* services */
.services { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 981px) {
  .service { grid-column: span 2; }
  .service:nth-child(1), .service:nth-child(2) { grid-column: span 3; padding: 40px 36px; }
  .service:nth-child(1) .icon, .service:nth-child(2) .icon { width: 40px; height: 40px; }
}
.service { display: grid; align-content: start; gap: 10px; padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 160ms var(--ease), transform 160ms var(--ease); }
.service:hover { border-color: var(--green); transform: translateY(-2px); }
.service .icon { width: 32px; height: 32px; color: var(--green); margin-bottom: 6px; }
.service p { color: var(--ink-2); font-size: 1rem; }
.services__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; }
.services__foot p { color: var(--ink-2); }

/* carspot band */
.carspot { background: var(--green); color: var(--white); }
.carspot .container { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.carspot h2 { color: var(--white); }
.carspot__intro { display: grid; gap: 16px; }
.carspot__intro p { color: rgb(255 255 255 / 0.9); }
.carspot__intro a { font-weight: 600; }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.perk { display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: var(--radius); background: rgb(0 0 0 / 0.14); }
.perk .icon { width: 30px; height: 30px; }
.perk p { color: rgb(255 255 255 / 0.9); font-size: 1rem; }
.perk a { font-weight: 600; font-size: 0.95rem; }
.carspot a { position: relative; }
.carspot a::after { content: ""; position: absolute; inset: -13px -8px; } /* hit area only; the extra zone lands on non-interactive text, never on another control */

/* about */
.about .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__img { width: 100%; aspect-ratio: 4 / 5; max-height: 620px; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.about__text { display: grid; gap: 18px; }
.about__text p { color: var(--ink-2); font-size: 1.1rem; }
.about__text .actions { margin-top: 6px; }

/* find us */
.find .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: stretch; }
.find__text { display: grid; align-content: start; gap: 20px; }
.find__text address { font-style: normal; font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.find__text .hours { font-size: 1.05rem; }
.map { position: relative; min-height: 400px; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: clamp(28px, 5vw, 56px); }
.map__consent .icon { width: 36px; height: 36px; color: var(--green); }
.map__consent p { max-width: 22ch; font: 700 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--font-head); }
.map__consent a { font-weight: 600; color: rgb(255 255 255 / 0.85); }
.map__consent a:hover { color: var(--white); }
.map__consent a { position: relative; }
.map__consent a::after { content: ""; position: absolute; inset: -13px -14px; } /* 44px+ target; 13px top reach stays inside the 18px flex gap, clear of the Vis kort button */

/* footer */
.footer { padding-block: 48px; background: var(--ink); color: rgb(255 255 255 / 0.8); font-size: 0.95rem; }
.footer .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; }
.footer .logo__name { color: var(--white); }
.footer p + p { margin-top: 6px; }
.footer a:hover { color: var(--white); }
.footer p a, .footer p .linkbtn { display: inline-block; padding: 12px 3px; margin: -12px -3px; } /* 44px hit area inside prose; padding adds, negative margin cancels, so line rhythm is untouched */
.footer__credits { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.85rem; color: rgb(255 255 255 / 0.6); }

/* mobile call bar */
.callbar { display: none; }

@media (max-width: 980px) {
  .nav { display: none; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:last-child { grid-column: 1 / -1; }
  .carspot .container, .about .container, .find .container { grid-template-columns: minmax(0, 1fr); }
  .perks { grid-template-columns: minmax(0, 1fr); }
  .info__card { grid-template-columns: minmax(0, 1fr); }
  .info__item + .info__item { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .topbar, .header .btn { display: none; }
  .header .container { min-height: 64px; }
  .hero .container { min-height: 0; padding-block: 48px 120px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .info__item { padding: 22px 20px; }
  .callbar { position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(22 25 28 / 0.08); }
  .footer .container { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* car details: number plate, dashboard lights, road, tread */
.hero__call { margin-top: 8px; font-size: 0.95rem; font-weight: 600; color: rgb(255 255 255 / 0.8); }
.hero__call + .actions { margin-top: -10px; }
.plate { display: inline-flex; align-items: stretch; height: 56px; border: 3px solid #c8102e; border-radius: 7px; background: #fbfbf8; color: var(--ink); text-decoration: none; overflow: hidden; box-shadow: 0 3px 0 rgb(0 0 0 / 0.35); transition: transform 120ms var(--ease); }
.plate:active { transform: translateY(2px); box-shadow: 0 1px 0 rgb(0 0 0 / 0.35); }
.plate:hover .plate__num { color: var(--green-dark); }
.plate__eu { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 30px; background: #003399; color: #fff; font: 700 0.72rem/1 var(--font-body); }
.plate__eu svg { width: 20px; height: 17px; }
.plate__num { display: flex; align-items: center; padding: 0 16px 0 14px; font: 700 2rem/1 var(--font-head); letter-spacing: 0.07em; font-variant-numeric: tabular-nums; white-space: nowrap; }

.dash { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 50%; background: var(--ink); }
.dash .icon { width: 26px; height: 26px; margin: 0; color: var(--green); }
.service:hover .dash .icon { color: #ffb020; }

.status { gap: 8px; }
.light { display: inline-flex; flex-direction: column; gap: 2px; padding: 3px; border-radius: 5px; background: var(--ink); }
.light i { width: 6px; height: 6px; border-radius: 50%; background: #3d444b; }
.status[data-open="false"] .light i:nth-child(1) { background: #e0322b; }
.status[data-open="true"] .light i:nth-child(3) { background: #1fc77e; }

.shop { --floor: 26px; --lift: -34px; position: relative; height: 150px; overflow: hidden; background: #2b3035; border-top: 3px solid #3b4148; }
.shop::after { content: ""; position: absolute; inset: auto 0 0; height: var(--floor); background: #3b4148; border-top: 6px solid; border-image: repeating-linear-gradient(-45deg, #f5c400 0 8px, #16191c 8px 16px) 6; }
.bays { position: absolute; left: 50%; top: 16px; bottom: var(--floor); display: flex; gap: clamp(10px, 3vw, 36px); translate: -50% 0; }
.bay { position: relative; width: clamp(96px, 24vw, 190px); border: 5px solid #16191c; border-bottom: 0; background: repeating-linear-gradient(#59616a 0 7px, #474e56 7px 9px); }
.bay--open { background: repeating-linear-gradient(#59616a 0 7px, #474e56 7px 9px) top / 100% 16px no-repeat, #121518; }
.bay b { position: absolute; top: 2px; left: 6px; z-index: 1; padding: 0 6px; border-radius: 3px; background: #f5c400; color: var(--ink); font: 700 0.85rem/1.3 var(--font-head); }
.bay--open b { top: 22px; }
.post { position: absolute; bottom: -6px; left: calc(50% - 52px); width: 8px; height: 92px; background: #f5c400; }
.post--r { left: calc(50% + 44px); }
.parked { position: absolute; bottom: -4px; left: 50%; translate: -50% 0; width: 64px; height: 64px; }
.rig, .arm { position: absolute; z-index: 1; left: 50%; animation: 12s ease-in-out infinite paused; }
.rig { bottom: calc(var(--floor) - 4px); width: 76px; height: 76px; margin-left: -38px; animation-name: rig; }
.rig .veh { width: 100%; height: 100%; transform: scaleX(-1); }
.arm { bottom: calc(var(--floor) - 10px); width: 96px; height: 6px; margin-left: -48px; border-radius: 2px; background: #16191c; animation-name: arm; }
.shop.is-on :is(.rig, .arm) { animation-play-state: running; }
@keyframes rig { from { translate: calc(-50vw - 100px) 0; } 22% { translate: 0 0; } 30%, 62% { translate: 0 var(--lift); } 70% { translate: 0 0; } to { translate: calc(50vw + 100px) 0; } }
@keyframes arm { 0%, 22% { translate: 0 0; } 30%, 62% { translate: 0 var(--lift); } 70%, 100% { translate: 0 0; } }

.tread { height: 26px; background: #111417 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Cpath d='M2 3l11 10L2 23h6l11-10L8 3z' fill='%232c3238'/%3E%3C/svg%3E") repeat-x center / 26px 26px; }

@media (max-width: 640px) {
  .hero .actions .plate { flex: 1 1 100%; height: 60px; }
  .hero .actions .plate__num { flex: 1; justify-content: center; padding-right: 30px; }
  .plate__num { font-size: 2.1rem; }
  .dash { width: 48px; height: 48px; }
  .services { gap: 12px; }
  .service { grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 18px; }
  .service .dash { grid-row: span 2; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rig, .arm { animation: none; }
}

/* Danish street-name sign */
.sign { display: inline-grid; justify-items: start; gap: 2px; width: fit-content; padding: 12px 20px 10px; border-radius: 6px; background: #1d2f6f; color: #fff; font-style: normal; box-shadow: inset 0 0 0 3px #1d2f6f, inset 0 0 0 5px #fff, 0 2px 0 rgb(0 0 0 / 0.18); }
.sign__name { font: 700 2rem/1 var(--font-head); }
.sign__city { font-size: 0.95rem; font-weight: 600; color: rgb(255 255 255 / 0.85); }

.info__item { display: block; }
.info__item h2 { margin-bottom: 14px; }
.info__link { margin-top: 12px; }
.info__link a { display: inline-flex; align-items: center; min-height: 44px; }
.info .sign__name { font-size: 1.7rem; }
.plate--sm { height: 48px; }
.plate--sm .plate__num { font-size: 1.65rem; padding: 0 14px 0 12px; }

/* street sign is the route link */
a.sign { text-decoration: none; transition: transform 120ms var(--ease); }
a.sign:hover .sign__city { color: #fff; }
a.sign:active { transform: translateY(2px); }

/* playful service icons: tap animates, drag pulls and springs back */
.service .dash { position: relative; z-index: 1; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.service .dash.is-drag { z-index: 5; cursor: grabbing; transition: none; box-shadow: 0 10px 24px rgb(22 25 28 / 0.25); }
.service .dash.is-drag .icon { color: #ffb020; }
.dash.is-pop .icon { animation: 600ms var(--ease) both; color: #ffb020; }
.dash[data-fx="wiggle"].is-pop .icon { animation-name: fx-wiggle; }
.dash[data-fx="drip"].is-pop .icon { animation-name: fx-drip; }
.dash[data-fx="spin"].is-pop .icon { animation-name: fx-spin; }
.dash[data-fx="inflate"].is-pop .icon { animation-name: fx-inflate; }
.dash[data-fx="press"].is-pop .icon { animation-name: fx-press; }
.dash[data-fx="twist"].is-pop .icon { animation-name: fx-twist; }
.dash[data-fx="shake"].is-pop .icon { animation-name: fx-shake; }
.dash[data-fx="bounce"].is-pop .icon { animation-name: fx-bounce; }
@keyframes fx-wiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -40deg; } 55% { rotate: 25deg; } 80% { rotate: -10deg; } }
@keyframes fx-drip { 0%, 100% { translate: 0 0; scale: 1; } 35% { translate: 0 5px; scale: 0.85 1.2; } 65% { translate: 0 -3px; scale: 1.1 0.9; } }
@keyframes fx-spin { to { rotate: 360deg; } }
@keyframes fx-inflate { 0%, 100% { scale: 1; } 30% { scale: 0.82 1; } 60% { scale: 1.18 1.06; } 80% { scale: 0.96 1; } }
@keyframes fx-press { 0%, 100% { scale: 1; } 25% { scale: 0.78; } 45% { scale: 1.08; } 65% { scale: 0.94; } }
@keyframes fx-twist { 0%, 100% { rotate: 0deg; } 20% { rotate: 18deg; } 45% { rotate: -14deg; } 70% { rotate: 8deg; } }
@keyframes fx-shake { 0%, 100% { translate: 0 0; } 15%, 55% { translate: -3px 1px; } 35%, 75% { translate: 3px -1px; } }
@keyframes fx-bounce { 0%, 100% { translate: 0 0; } 30% { translate: 0 -9px; } 55% { translate: 0 0; } 75% { translate: 0 -4px; } }
@media (prefers-reduced-motion: reduce) {
  .dash.is-pop .icon { animation: none; }
  .service .dash.is-drag { transform: none !important; }
}

/* plate grows a touch on desktop hover */
@media (hover: hover) { .plate { transition: transform 160ms var(--ease), box-shadow 160ms var(--ease); } .plate:hover { transform: scale(1.01); } }

/* a car noses out from behind the street sign: you're driving there */
a.sign { position: relative; }
.sign__peek { position: absolute; left: 100%; bottom: 0; width: 34px; height: 44px; overflow: hidden; pointer-events: none; }
.sign__peek img { display: block; width: 44px; height: 44px; transform: translateX(-100%) scaleX(-1); transition: transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1); }
a.sign:hover .sign__peek img, a.sign:focus-visible .sign__peek img, a.sign:active .sign__peek img { transform: translateX(-22%) scaleX(-1); }
@media (prefers-reduced-motion: reduce) { .plate:hover { transform: none; } .sign__peek img { transition: none; } }

/* traffic you can play with: tap a vehicle to honk */
.veh { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.honk { position: absolute; z-index: 2; transform-origin: left center; padding: 2px 8px; border-radius: 999px; background: #f5c400; color: var(--ink); font: 700 0.85rem/1.3 var(--font-head); letter-spacing: 0.04em; white-space: nowrap; pointer-events: none; animation: honk 900ms var(--ease) forwards; }
.honk--l { translate: -100% 0; transform-origin: right center; }
@keyframes honk { from { opacity: 0; scale: 0.4; } 20% { opacity: 1; scale: 1.1; } 35% { scale: 1; } 75% { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .honk { animation: honk-calm 900ms forwards; } @keyframes honk-calm { 70% { opacity: 1; } to { opacity: 0; } } }

.sprite { position: absolute; width: 0; height: 0; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #2b3035; }
.linkbtn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { color: var(--green-dark); }
.footer .linkbtn:hover { color: var(--white); }

/* cookie consent: a traffic light that follows the button you point at, a car that drives off on yes */
.consent { position: fixed; z-index: 80; inset: auto 16px calc(16px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; max-width: 580px; margin-inline: auto; padding: 22px 22px 20px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 18px 50px rgb(22 25 28 / 0.22); transform: translateY(calc(100% + 40px)); transition: transform 450ms var(--ease); }
.consent.is-in { transform: none; }
.consent.is-gone { transform: translateY(calc(100% + 40px)); transition-delay: 450ms; }
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.6rem; }
.consent p { margin: 8px 0 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; }
.consent p a, .consent .linkbtn { color: var(--ink); font-weight: 600; }
.consent__light { display: flex; flex-direction: column; gap: 6px; align-self: start; padding: 7px; border-radius: 9px; background: var(--ink); }
.consent__light i { width: 16px; height: 16px; border-radius: 50%; background: #3d444b; transition: background-color 160ms, box-shadow 160ms; }
.consent .consent__light i:nth-child(2) { background: #ffb020; box-shadow: 0 0 10px #ffb020; animation: amber 1.6s steps(1) infinite; }
.consent[data-lamp="yes"] .consent__light i:nth-child(2), .consent[data-lamp="no"] .consent__light i:nth-child(2), .consent.is-yes .consent__light i:nth-child(2), .consent.is-no .consent__light i:nth-child(2) { background: #3d444b; box-shadow: none; animation: none; }
.consent[data-lamp="pick"] .consent__light i:nth-child(2) { animation: none; }
.consent[data-lamp="yes"] .consent__light i:nth-child(3), .consent.is-yes .consent__light i:nth-child(3) { background: #1fc77e; box-shadow: 0 0 10px #1fc77e; }
.consent[data-lamp="no"] .consent__light i:nth-child(1), .consent.is-no .consent__light i:nth-child(1) { background: #e0322b; box-shadow: 0 0 10px #e0322b; }
@keyframes amber { 50% { background: #3d444b; box-shadow: none; } }
.consent__pick { display: grid; gap: 10px; margin-top: 14px; }
.consent__pick[hidden] { display: none; }
.consent__opt { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 0.9rem; line-height: 1.4; color: var(--ink-2); cursor: pointer; }
.consent__opt b { display: block; color: var(--ink); }
.consent__opt input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.consent__actions .btn { min-height: 48px; padding-inline: 20px; }
.consent__car { position: absolute; left: -60px; bottom: 6px; width: 44px; height: 44px; transform: scaleX(-1); pointer-events: none; }
.consent.is-yes .consent__car { animation: drive-off 900ms cubic-bezier(0.5, 0, 0.75, 0) forwards; }
@keyframes drive-off { to { left: calc(100% + 60px); } }
@media (max-width: 640px) {
  .consent { inset: auto 8px calc(8px + env(safe-area-inset-bottom)); gap: 14px; padding: 18px 16px 16px; }
  .consent__actions .btn { flex: 1 1 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .consent, .consent.is-gone { transition: none; }
  .consent .consent__light i:nth-child(2) { animation: none; }
  .consent.is-yes .consent__car { animation: none; }
}

/* subpages: privacy policy, 404 */
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.legal h2 { margin-top: 40px; font-size: clamp(1.6rem, 3vw, 2rem); }
.legal h3 { margin-top: 24px; }
.legal__note { font-size: 0.9rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin: 12px 0 0; }
.legal ul { margin: 12px 0 0; padding-left: 20px; }
.legal li + li { margin-top: 8px; }
.legal li b { color: var(--ink); }
.legal__lead { font-size: 1.15rem; }
.legal__table { margin-top: 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.92rem; }
.legal caption { padding: 12px 14px; text-align: left; font-weight: 600; color: var(--ink); }
.legal th, .legal td { padding: 10px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { background: var(--bg-2); color: var(--ink); }
.lost .container { display: grid; justify-items: start; gap: 14px; min-height: 52vh; align-content: center; }
.lost h1 { font-size: clamp(2.8rem, 7vw, 4.6rem); }
.lost__lead { max-width: 34ch; margin: 0; font-size: 1.15rem; color: var(--ink-2); }
.lost .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.lost__sign { margin: 0; padding: 10px 18px 8px; border-radius: 6px; background: #1d2f6f; color: #fff; font: 700 2.4rem/1 var(--font-head); box-shadow: inset 0 0 0 3px #1d2f6f, inset 0 0 0 5px #fff; }
.topbar a { display: inline-flex; align-items: center; min-height: 28px; } /* WCAG 2.5.8: 24px minimum tap height */
