/* Scorpio Rides Mechanical Garage demo.
   Palette from their shopfront sign and banner: rose crimson, deep slate, white.
   Anchor: Refero Enter GmbH (flat colour bands, hard seams, no shadows, no gradients).
   Signature device: THE ROAD LINE, the dashed centreline from their logo's S road. */

:root {
  --crimson: #A8264C;
  --crimson-deep: #861D3B;
  --slate: #232C38;
  --slate-2: #2F3A49;
  --cream: #F4F0E8;
  --paper: #FFFFFF;
  --ink: #161B22;
  --muted: #4C5560;
  --w: 1200px;
  --gut: 24px;
  --dash-x: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='52' height='4'><rect width='28' height='4'/></svg>");
  --dash-y: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='52'><rect width='4' height='28'/></svg>");
  --display: "Familjen Grotesk", "Arial Narrow", system-ui, sans-serif;
  --body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; }
p { margin: 0 0 16px; max-width: 62ch; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--crimson); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: #fff; }

/* Header */
.site-header { background: var(--paper); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 48px; }
.brand svg { width: 56px; height: 56px; flex: none; }
.brand b { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1; }
.brand span { display: block; font-size: 0.8125rem; color: var(--muted); font-weight: 500; margin-top: 4px; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { text-decoration: none; font-weight: 700; padding: 12px 16px; min-height: 48px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; text-decoration-color: var(--crimson); }
.nav .phone { margin-left: 8px; background: var(--slate); color: #fff; }
.nav .phone:hover { background: var(--crimson); text-decoration: none; }
.menu-btn { display: none; min-width: 48px; min-height: 48px; background: var(--slate); color: #fff; border: 0; font: 700 1rem var(--body); padding: 0 16px; cursor: pointer; }

/* Road line device */
.road-h { height: 4px; background: currentColor; color: var(--slate); -webkit-mask: var(--dash-x) repeat-x; mask: var(--dash-x) repeat-x; }
.on-crimson .road-h, .on-slate .road-h { color: #fff; opacity: .9; }

/* Buttons and links (typographic, no pills) */
.callbig { display: inline-block; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -0.02em; line-height: 1.1; text-decoration: underline dashed; text-decoration-thickness: 4px; text-underline-offset: 14px; padding: 8px 0 8px; }
.callbig:hover { text-decoration-style: solid; }
.textlink { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.textlink::before { content: "\2192"; margin-right: 8px; text-decoration: none; display: inline-block; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; background: var(--slate); color: #fff; font-weight: 700; text-decoration: none; border-radius: 2px; }
.btn:hover { background: var(--crimson); }
.on-crimson .btn, .on-slate .btn { background: #fff; color: var(--ink); }
.on-crimson .btn:hover, .on-slate .btn:hover { background: var(--cream); }

/* Bands */
.band { padding: 104px 0; position: relative; }
.on-crimson { background: var(--crimson); color: #fff; }
.on-slate { background: var(--slate); color: #fff; }
.on-cream { background: var(--cream); }
.lede { font-size: 1.25rem; line-height: 1.5; }

/* Hero (home): crimson band, headline across the top, photo breaks out of the bottom edge, hours block sits across the seam */
.hero { background: var(--crimson); color: #fff; position: relative; padding: 56px 0 24px; }
.hero .wrap { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; position: relative; }
.hero h1 { grid-column: 1 / 11; grid-row: 1; font-size: clamp(2.5rem, 5.4vw, 4.75rem); margin-bottom: 40px; }
.hero-copy { grid-column: 1 / 6; grid-row: 2; padding-bottom: 104px; position: relative; z-index: 2; }
.hero-copy .lede { margin-bottom: 24px; }
.hero-photo { grid-column: 6 / 13; grid-row: 2; margin: 0 0 -312px; position: relative; z-index: 3; align-self: start; }
.hero-photo img { width: 100%; height: auto; }
.hero-photo figcaption { position: absolute; left: -24px; bottom: 16px; background: var(--paper); color: var(--ink); padding: 8px 16px; font-size: 0.9375rem; }
.hours-block { grid-column: 1 / 5; grid-row: 2; align-self: end; transform: translateY(50%); background: var(--slate); color: #fff; padding: 24px 32px; position: relative; z-index: 4; }
.hours-block b { display: block; font-family: var(--display); font-size: 1.375rem; margin-bottom: 8px; }
.hours-block p { margin: 0; font-size: 1rem; }
.after-hero { padding-top: 144px; }
.after-hero .intro h2 { grid-column: 1 / 6; }
.after-hero .intro .text { grid-column: 1 / 6; padding-top: 0; }

/* Inner page hero */
.page-hero { background: var(--crimson); color: #fff; padding: 72px 0 24px; }
.page-hero .wrap { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.page-hero h1 { grid-column: 1 / 10; padding-bottom: 48px; max-width: 18ch; font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
.page-hero .road-h { margin-top: 0; }
.page-hero .side { grid-column: 10 / 13; padding-bottom: 56px; font-size: 1.0625rem; }

/* Intro offset block */
.intro { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 32px; }
.intro h2 { grid-column: 1 / 7; }
.intro .text { grid-column: 8 / 13; padding-top: 16px; }
.intro .text p:last-child { margin-bottom: 0; }

/* Services run: stops hanging off a dashed road */
.run { position: relative; margin-top: 64px; padding-left: 0; }
.run::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #fff; opacity: .85; -webkit-mask: var(--dash-y) repeat-y; mask: var(--dash-y) repeat-y; }
.stop { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 72px 0 8px 56px; }
.stop::before { content: ""; position: absolute; left: 0; top: 96px; width: 40px; height: 4px; background: #fff; -webkit-mask: var(--dash-x) repeat-x; mask: var(--dash-x) repeat-x; }
.stop h3 { grid-column: 1 / 6; }
.stop p { grid-column: 6 / 12; margin: 0; color: #E7EAEE; }
.stop:nth-child(even) h3 { grid-column: 3 / 8; }
.stop:nth-child(even) p { grid-column: 8 / 13; }
.stop .textlink { grid-column: 6 / 12; margin-top: 8px; color: #fff; }
.stop:nth-child(even) .textlink { grid-column: 8 / 13; }
.stop-photo { position: relative; z-index: 3; width: min(46%, 520px); margin: -24px 0 -176px auto; }
.stop-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.after-overhang { padding-top: 232px; }

/* Services page rows */
.svc { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 72px 0; border-top: 0; position: relative; }
.svc + .svc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--slate); -webkit-mask: var(--dash-x) repeat-x; mask: var(--dash-x) repeat-x; }
.svc h2 { grid-column: 1 / 6; font-size: clamp(1.875rem, 3.4vw, 3rem); }
.svc .body { grid-column: 6 / 13; }
.svc:nth-child(even) h2 { grid-column: 8 / 13; order: 2; }
.svc:nth-child(even) .body { grid-column: 1 / 8; order: 1; }
.svc .from { font-size: 0.9375rem; color: var(--muted); margin-top: 24px; max-width: 54ch; }
.svc-photo { margin-top: 32px; }
.svc-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.svc-photo figcaption, .cap { font-size: 0.9375rem; color: var(--muted); margin-top: 8px; }

/* Hire section: broken photo pair beside text */
.hire { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.hire .p1 { grid-column: 1 / 8; margin-top: 0; }
.hire .p2 { grid-column: 6 / 10; margin-top: -72px; position: relative; z-index: 2; border: 12px solid var(--cream); }
.hire .copy { grid-column: 8 / 13; grid-row: 1; padding-top: 24px; }
.hire .p1 img { aspect-ratio: 7 / 5; object-fit: cover; width: 100%; }
.hire .p2 img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.hire .copy h2 { margin-bottom: 24px; }
.hire .p2 { grid-row: 2; }

/* Reviews: type-led rating, staggered quotes */
.rating { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: 64px; }
.rating .num { grid-column: 1 / 5; font-family: var(--display); font-weight: 700; font-size: clamp(6rem, 16vw, 12rem); line-height: .85; letter-spacing: -0.04em; color: var(--crimson); }
.rating .what { grid-column: 5 / 12; padding-bottom: 8px; }
.rating .what h2 { margin-bottom: 12px; }
.quotes { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 32px; }
.q { margin: 0; padding: 32px; background: var(--cream); }
.q p { margin: 0 0 16px; font-size: 1.1875rem; max-width: none; }
.q cite { font-style: normal; font-weight: 700; font-size: 1rem; display: block; }
.q small { display: block; color: var(--muted); font-size: 0.9375rem; }
.q:nth-child(1) { grid-column: 1 / 6; }
.q:nth-child(2) { grid-column: 6 / 12; margin-top: 56px; background: var(--slate); color: #fff; }
.q:nth-child(2) small { color: #C9CFD6; }
.q:nth-child(3) { grid-column: 2 / 8; }
.q:nth-child(4) { grid-column: 8 / 13; margin-top: -24px; }
.q:nth-child(5) { grid-column: 1 / 7; }
.q:nth-child(6) { grid-column: 7 / 13; margin-top: 40px; }
.src { margin-top: 32px; font-size: 0.9375rem; color: var(--muted); }

/* Visit band */
.visit { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; }
.visit .a { grid-column: 1 / 7; }
.visit .b { grid-column: 8 / 13; }
.visit h2 { margin-bottom: 24px; }
.hours { width: 100%; border-collapse: collapse; font-size: 1.125rem; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.5); font-weight: 500; }
.hours td { text-align: right; }
.on-cream .hours th, .on-cream .hours td { border-bottom-color: rgba(22,27,34,.4); }
address { font-style: normal; font-size: 1.25rem; margin-bottom: 24px; }

/* About */
.story { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; }
.story .photo { grid-column: 1 / 6; }
.story .photo img { width: 100%; height: auto; }
.story .text { grid-column: 7 / 13; padding-top: 48px; }
.facts { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 24px; margin-top: 8px; }
.fact { background: rgba(255,255,255,.08); padding: 24px; }
.fact:nth-child(1) { grid-column: 1 / 5; }
.fact:nth-child(2) { grid-column: 5 / 9; margin-top: 32px; }
.fact:nth-child(3) { grid-column: 9 / 13; margin-top: 64px; }
.fact b { display: block; font-family: var(--display); font-size: 2.5rem; line-height: 1; margin-bottom: 8px; }
.fact p { margin: 0; font-size: 1rem; }

/* Gallery: broken masonry */
.gal { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px; align-items: start; }
.gal figure { margin: 0; }
.gal img { width: 100%; object-fit: cover; }
.g1 { grid-column: 1 / 9; } .g1 img { height: auto; }
.g2 { grid-column: 9 / 13; margin-top: 96px; } .g2 img { aspect-ratio: 3 / 4; }
.g3 { grid-column: 1 / 6; margin-top: -40px; } .g3 img { aspect-ratio: 7 / 5; }
.g4 { grid-column: 7 / 13; margin-top: 40px; } .g4 img { aspect-ratio: 7 / 5; }
.g5 { grid-column: 2 / 8; } .g5 img { aspect-ratio: 4 / 3; }
.g6 { grid-column: 8 / 13; margin-top: -56px; } .g6 img { aspect-ratio: 4 / 3; }
.gal-note { grid-column: 3 / 12; background: var(--crimson); color: #fff; padding: 32px; }
.gal-note p { margin: 0; font-size: 1.25rem; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; }
.contact .a { grid-column: 1 / 8; }
.contact .b { grid-column: 9 / 13; }
.contact .a .callbig { margin: 8px 0 24px; }
.faq { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.faq .head { grid-column: 1 / 5; }
.faq .list { grid-column: 5 / 13; }
details { border-bottom: 4px dashed var(--slate); }
details:first-child { border-top: 4px dashed var(--slate); }
summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.375rem; line-height: 1.2; padding: 24px 48px 24px 0; min-height: 48px; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; top: 20px; font-size: 2rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details .ans { padding: 0 48px 24px 0; }
details .ans p { margin-bottom: 12px; }

/* Footer */
.site-footer { background: var(--slate); color: #E7EAEE; padding: 72px 0 32px; }
.site-footer .road-h { color: #fff; margin-bottom: 56px; opacity: .85; }
.foot { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; }
.foot .c1 { grid-column: 1 / 5; } .foot .c2 { grid-column: 5 / 8; } .foot .c3 { grid-column: 8 / 10; } .foot .c4 { grid-column: 10 / 13; }
.foot h3 { font-size: 1.125rem; color: #fff; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .brand b { color: #fff; }
.foot .brand span { color: #B5BDC7; }
.foot p { font-size: 1rem; margin-bottom: 8px; }
.credit { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); font-size: 0.9375rem; color: #B5BDC7; }

/* Tablet and mobile */
@media (max-width: 1024px) {
  .nav a { padding: 12px 10px; }
  .page-hero h1 { grid-column: 1 / 13; }
  .page-hero .side { grid-column: 1 / 11; padding-top: 0; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .band { padding: 72px 0; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 24px; border-top: 4px dashed var(--slate); z-index: 30; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; min-height: 52px; border-bottom: 1px solid #E5E1D8; }
  .nav .phone { margin: 16px 0 0; justify-content: center; border: 0; }
  .hero { padding-top: 40px; }
  .hero .wrap { display: block; }
  .hero h1 { margin-bottom: 24px; }
  .hero-copy { padding-bottom: 32px; }
  .hero-photo { margin: 0 calc(var(--gut) * -1) 0 24px; }
  .hero-photo figcaption { left: 0; bottom: 0; }
  .hours-block { transform: none; margin: 24px calc(var(--gut) * -1) 0 0; padding: 24px var(--gut); }
  .after-hero { padding-top: 64px; }
  .after-hero .intro .text { padding-top: 24px; }
  .intro, .rating, .visit, .story, .contact, .faq, .foot, .hire, .page-hero .wrap { display: block; }
  .intro .text { padding-top: 24px; }
  .page-hero { padding-top: 48px; }
  .page-hero h1 { padding-bottom: 24px; }
  .page-hero .side { padding-bottom: 40px; }
  .stop, .svc { display: block; padding-left: 40px; }
  .svc { padding-left: 0; padding-top: 48px; padding-bottom: 48px; }
  .stop { padding-top: 32px; padding-bottom: 32px; }
  .stop::before { top: 52px; width: 24px; }
  .stop h3 { margin-bottom: 12px; }
  .stop-photo { width: calc(100% - 24px); margin: 0 0 -96px 24px; }
  .after-overhang { padding-top: 144px; }
  .svc h2 { margin-bottom: 16px; }
  .hire .p1, .hire .p2, .hire .copy { margin: 0; }
  .hire .p2 { width: 62%; margin: 32px 0 0 auto; }
  .hire .copy { padding-top: 32px; }
  .rating .num { margin-bottom: 16px; }
  .rating { margin-bottom: 40px; }
  .quotes { display: block; }
  .q { margin: 0 0 24px !important; padding: 24px; }
  .q:nth-child(even) { margin-left: 24px !important; }
  .visit .b { margin-top: 40px; }
  .story .text { padding-top: 24px; }
  .facts { display: block; }
  .fact { margin: 0 0 16px !important; }
  .gal { display: block; }
  .gal figure { margin: 0 0 32px !important; }
  .g2, .g4, .g6 { margin-left: 24px !important; }
  .g3, .g5 { margin-right: 24px !important; }
  .gal-note { margin: 0; padding: 24px; }
  .faq .head { margin-bottom: 24px; }
  summary { font-size: 1.1875rem; }
  .foot > div { margin-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.home-link { display: none !important; }
@media (max-width: 860px) { .home-link { display: inline-flex !important; } }
