/* Dramco Bilverksted — black workshop facade, yellow sign light. Tokens first, then sections in page order. */
@font-face { font-family: "Archivo"; src: url(/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(/fonts/manrope.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --ink: #0B0B0C;       /* page */
  --asphalt: #131315;   /* raised panels */
  --steel: #1C1D20;     /* inputs, rows */
  --line: #2A2B2F;
  --paper: #F3F1EA;     /* text */
  --mist: #ABA89E;      /* secondary text, 8.4:1 on ink */
  --sign: #FFD400;      /* the sign's yellow */
  --sign-deep: #E5BE00;
  --on-sign: #0B0B0C;
  --glow: 0 0 24px rgb(255 212 0 / .35);
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --book-w: 460px;
  --top-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 17px/1.6 var(--body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
::selection { background: var(--sign); color: var(--on-sign); }
:focus-visible { outline: 2px solid var(--sign); outline-offset: 3px; border-radius: 2px; }
input, textarea { caret-color: var(--sign); }
html { scrollbar-color: #3a3b40 var(--ink); }
h1, h2, h3 { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; line-height: 1.02; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
h3 { font-size: 1rem; letter-spacing: .02em; }
p { margin: 0; }
.fine { color: var(--mist); font-size: .9rem; max-width: 62ch; }
.lede { font-size: 1.15rem; max-width: 52ch; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--sign); color: var(--on-sign); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 22px; border-radius: 4px;
  background: var(--sign); color: var(--on-sign); font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; border: 0;
  transition: background-color .18s ease-out, box-shadow .18s ease-out, transform .18s ease-out; }
.btn:hover { background: #FFE04D; box-shadow: var(--glow); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px rgb(243 241 234 / .3); }
.btn-ghost:hover { background: rgb(243 241 234 / .06); box-shadow: inset 0 0 0 1px var(--sign); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 20; height: var(--top-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--gut);
  transition: background-color .25s ease-out, box-shadow .25s ease-out; }
.top.is-solid { background: rgb(11 11 12 / .94); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(1px)) { .top.is-solid { background: rgb(11 11 12 / .78); backdrop-filter: blur(14px) saturate(1.2); } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-plate { font: 800 1.05rem/1 var(--display); font-stretch: 125%; letter-spacing: .04em; color: var(--sign); background: #050505;
  padding: 8px 10px 7px; border-radius: 2px; box-shadow: inset 0 0 0 1px #2c2a1c, 0 0 18px rgb(255 212 0 / .18); text-shadow: 0 0 10px rgb(255 212 0 / .45); }
.brand-sub { font: 700 .78rem/1 var(--display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: rgb(243 241 234 / .82); padding: 10px 0; }
.nav a:hover { color: var(--sign); }
.top-call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 4px; text-decoration: none; font-weight: 700;
  box-shadow: inset 0 0 0 1px rgb(255 212 0 / .5); color: var(--sign); font-variant-numeric: tabular-nums; }
.top-call:hover { background: var(--sign); color: var(--on-sign); }
.top-call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Hero: the bay (video) and the booking panel */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) var(--book-w); min-height: 100svh; background: var(--ink); }
.bay { position: relative; overflow: hidden; min-height: 100svh; background: #070708; isolation: isolate; }
.bay-poster img, .bay-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%; }
.bay-video { opacity: 0; transition: opacity .6s ease-out; }
.bay-video.is-on { opacity: 1; }
.bay::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgb(11 11 12 / .55) 0, rgb(11 11 12 / 0) 22%, rgb(11 11 12 / 0) 48%, rgb(11 11 12 / .92) 100%); }
.bay-copy { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: clamp(28px, 6vh, 64px); }
.bay-copy h1 { font-size: clamp(2.3rem, 4.4vw, 4.6rem); max-width: 14ch; }
.bay-copy h1 span { display: block; margin-top: .45em; font: 600 clamp(1.05rem, 1.5vw, 1.35rem)/1.4 var(--body); text-transform: none; letter-spacing: 0; color: rgb(243 241 234 / .9); max-width: 34ch; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 22px 0 0; font-size: .95rem; color: rgb(243 241 234 / .85); }
.facts b { color: var(--sign); font-weight: 800; margin-right: .3em; }

.book { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; background: var(--asphalt); padding-top: var(--top-h);
  box-shadow: -1px 0 0 var(--line); }
.book-head { padding: 22px 24px 16px; position: relative; }
.book-head::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: var(--sign); box-shadow: 0 0 14px rgb(255 212 0 / .55); border-radius: 2px; }
.book-head h2 { font-size: 1.55rem; }
.book-head p { margin-top: 8px; color: var(--mist); font-size: .92rem; }
.book-frame { position: relative; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.book-frame iframe { width: 100%; height: 640px; border: 0; background: transparent; }
.book-skeleton { padding: 8px 24px; display: grid; gap: 10px; }
.book-skeleton i { display: block; height: 64px; border-radius: 8px; background: linear-gradient(90deg, var(--steel), #24252a, var(--steel)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.book-fallback { padding: 8px 24px 24px; display: grid; gap: 16px; }

/* EU-kontroll */
.eu { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding: clamp(72px, 11vw, 140px) var(--gut); max-width: 1320px; margin: 0 auto; }
.eu-media { position: relative; }
.eu-media img { width: 100%; height: auto; border-radius: 6px; aspect-ratio: 900 / 734; object-fit: cover; }
.eu-media::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -10px; height: 2px; background: var(--sign); box-shadow: 0 0 18px rgb(255 212 0 / .6); border-radius: 2px; }
.eu-body .lede { margin-top: 18px; }
.price-tag { display: flex; align-items: flex-end; gap: 10px; margin: 30px 0 34px; color: var(--sign); }
.price-num { font: 800 clamp(3.6rem, 8vw, 6rem)/.85 var(--display); font-stretch: 125%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-shadow: 0 0 30px rgb(255 212 0 / .25); }
.price-unit { font-weight: 700; font-size: .9rem; line-height: 1.2; color: var(--paper); padding-bottom: 4px; }
.checks { list-style: none; padding: 0; margin: 14px 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; background: var(--sign);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Services */
.services { padding: clamp(72px, 10vw, 128px) var(--gut); background: var(--asphalt); box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); }
.services > * { max-width: 1320px; margin-left: auto; margin-right: auto; }
.services-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.services-head p { color: var(--mist); max-width: 52ch; }
.svc-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); margin-top: 56px; }
.svc-group h3 { color: var(--sign); padding-bottom: 14px; box-shadow: 0 1px 0 var(--line); }
.svc-list { margin: 0; }
.svc-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; box-shadow: 0 1px 0 var(--line); }
.svc-list dt { font-weight: 700; }
.svc-list dt small { display: block; font-weight: 500; font-size: .86rem; color: var(--mist); margin-top: 2px; }
.svc-list dd { margin: 0; flex: none; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--paper); white-space: nowrap; }
.svc-list dd.ask { font-weight: 600; color: var(--mist); font-size: .9rem; }
.services > .fine { margin-top: 36px; }

/* Steps */
.steps { padding: clamp(72px, 10vw, 128px) var(--gut); max-width: 1320px; margin: 0 auto; }
.steps ol { list-style: none; counter-reset: s; padding: 0; margin: 44px 0 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: s; display: grid; gap: 8px; padding-top: 18px; box-shadow: 0 -2px 0 var(--sign); }
.steps li::before { content: counter(s); font: 800 2.6rem/1 var(--display); font-stretch: 125%; color: var(--sign); }
.steps li b { font-size: 1.15rem; }
.steps li span { color: var(--mist); }

/* Visit */
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; padding: 0 var(--gut) clamp(72px, 10vw, 128px); max-width: 1320px; margin: 0 auto; }
.visit-list { margin: 28px 0 0; display: grid; gap: 18px; }
.visit-list dt { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }
.visit-list dd { margin: 2px 0 0; font-size: 1.1rem; font-weight: 600; }
.visit-list a { color: var(--sign); text-decoration: none; }
.visit-map { min-height: 360px; border-radius: 6px; overflow: hidden; background: var(--steel); }
.visit-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(1) invert(.9) contrast(.9) brightness(.95); }

/* Footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 40px var(--gut) 48px; box-shadow: 0 -1px 0 var(--line); color: var(--mist); font-size: .9rem; }
.foot-brand { display: flex; gap: 16px; align-items: flex-start; }
.foot-demo { max-width: 46ch; }

/* Mobile dock */
.dock { display: none; }

@media (max-width: 1100px) {
  :root { --book-w: 400px; }
  .nav { display: none; }
  .top-call { margin-left: auto; }
}

@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; }
  .bay { min-height: 0; height: min(78svh, 720px); }
  .book { position: relative; height: auto; padding-top: 0; margin: -36px 12px 0; border-radius: 10px; z-index: 3;
    box-shadow: 0 18px 40px rgb(0 0 0 / .5), inset 0 0 0 1px var(--line); }
  .book-frame { overflow: visible; }
  .book-head { padding: 24px 18px 14px; }
  .book-head::before { left: 18px; right: 18px; }
  .eu, .visit { grid-template-columns: 1fr; }
  .services-head { grid-template-columns: 1fr; }
  .svc-groups { grid-template-columns: 1fr; }
  .steps ol { grid-template-columns: 1fr; gap: 28px; }
  .dock { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(11 11 12 / .92); box-shadow: 0 -1px 0 var(--line);
    transform: translateY(0); transition: transform .25s ease-out; }
  .dock.is-hidden { transform: translateY(110%); }
  .dock a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 4px; font-weight: 700; text-decoration: none; }
  .dock-call { box-shadow: inset 0 0 0 1px rgb(243 241 234 / .3); }
  .dock-book { background: var(--sign); color: var(--on-sign); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* Below 700px the poster and video are a pre-cut portrait crop centred on the door. */
@media (max-width: 699px) {
  .bay-poster img, .bay-video { object-position: 50% 50%; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .top-call span { display: none; }
  .top-call { width: 44px; padding: 0; justify-content: center; }
  .brand-sub { display: none; }
  .checks { grid-template-columns: 1fr; }
  .bay-copy h1 { font-size: 2.05rem; }
  .facts { gap: 6px 18px; font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.book-fallback[hidden] { display: none; }
