/* Precision Auto Werks
   Livery red, asphalt and chrome on cool dyno-paper white.
   Display: Saira (condensed, heavy, italic) / Text: Instrument Sans */

:root {
  --red: #C8102E;
  --red-deep: #9E0C24;
  --asphalt: #1D2023;
  --asphalt-2: #272B2F;
  --chrome: #C9CDD2;
  --chrome-dim: #8A9097;
  --paper: #F3F4F2;
  --paper-2: #E6E8E5;
  --ink: #1D2023;
  --ink-soft: #4A5056;

  --display: "Saira", "Arial Narrow", sans-serif;
  --text: "Instrument Sans", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.5rem + 2.8vw, 3.5rem);
  --step-5: clamp(2.75rem, 1.4rem + 5.4vw, 5.75rem);

  --wrap: 75rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 3rem + 5vw, 8rem);
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--red); color: #fff; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, .display {
  font-family: var(--display);
  font-stretch: 78%;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); font-weight: 900; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); font-weight: 750; line-height: 1.1; }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 34em; color: var(--ink-soft); }
.prose { max-width: 38em; }
.prose p, .prose li { color: var(--ink-soft); }
.fine { font-size: var(--step--1); color: var(--chrome-dim); }

/* ---------- Buttons ---------- */
/* Slanted like livery numbers: the skew lives on a pseudo-element so text stays upright */
.btn {
  --btn-bg: var(--red); --btn-bd: var(--red); --btn-fg: #fff;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.75rem;
  font: italic 750 1.0625rem/1 var(--display); font-stretch: 85%;
  letter-spacing: .01em; text-decoration: none;
  color: var(--btn-fg); background: none; border: 0;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-bg); border: 2px solid var(--btn-bd);
  transform: skewX(-14deg); transition: background-color .15s, border-color .15s;
}
.btn:hover { --btn-bg: var(--red-deep); --btn-bd: var(--red-deep); color: var(--btn-fg); }
.btn-ghost { --btn-bg: transparent; --btn-bd: currentColor; --btn-fg: inherit; }
.btn-ghost:hover { --btn-bg: #fff; --btn-bd: #fff; --btn-fg: var(--asphalt); }
.on-paper .btn-ghost:hover { --btn-bg: var(--asphalt); --btn-bd: var(--asphalt); --btn-fg: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; padding-left: .4rem; }

.textlink {
  font: italic 750 1.0625rem/1.2 var(--display); font-stretch: 85%;
  color: var(--red); text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.textlink:hover { color: var(--ink); }

/* Twin livery stripes, from the race MINI's bonnet */
.stripes { height: 14px; background:
  linear-gradient(var(--red), var(--red)) 0 0 / 100% 5px no-repeat,
  linear-gradient(var(--red), var(--red)) 0 9px / 100% 5px no-repeat; }

/* ---------- Top bar (scrolls away; the header below it stays sticky) ---------- */
.topbar { background: #141619; color: var(--chrome-dim); font-size: var(--step--1); }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.5rem; }
.topbar-contact { margin: 0; display: flex; gap: 1.75rem; }
.topbar a { color: var(--chrome); text-decoration: none; }
.topbar a:hover { color: #fff; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.social a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; color: var(--chrome); transition: background-color .15s, color .15s; }
.social a:hover { background: var(--red); color: #fff; }
.social svg { width: 1.125rem; height: 1.125rem; }
.social-top { margin-right: -.5rem; }
/* Icon row inside the mobile menu; selectors outrank the .site-nav list/link rules */
.site-nav > ul.social-menu { display: none; }
@media (max-width: 62em) {
  .topbar { display: none; }
  .site-nav > ul.social-menu { display: flex; flex-direction: row; gap: .5rem; padding-top: .25rem; }
  .site-nav > ul.social-menu > li { border-bottom: 0; }
  .site-nav .social-menu a { display: grid; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid rgba(255,255,255,.15); }
  .site-nav .btn-call { width: auto; align-self: flex-start; margin-left: .4rem; padding-inline: 2rem; }
  .site-nav .social-menu svg { width: 1.25rem; height: 1.25rem; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--asphalt); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand .mark { width: 4.25rem; color: var(--chrome); flex: none; }
.brand-text {
  font: italic 850 1.35rem/0.95 var(--display); font-stretch: 78%;
  display: flex; flex-direction: column;
}
.brand-text span { color: var(--chrome); font-weight: 650; font-size: .82em; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav > ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a, .sub-toggle {
  display: block; padding: .6rem .8rem;
  font: 500 .975rem/1.2 var(--text); color: var(--chrome);
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.site-nav a:hover, .sub-toggle:hover, .site-nav a[aria-current] { color: #fff; }
.site-nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--red); }
.sub-toggle::after {
  content: ""; display: inline-block; width: .4em; height: .4em; margin-left: .45em; vertical-align: .2em;
  border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); transition: transform .15s;
}
.sub-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); vertical-align: -.05em; }
.has-sub { position: relative; }
.sub {
  list-style: none; margin: 0; padding: .5rem 0;
  position: absolute; top: 100%; left: 0; min-width: 13rem;
  background: var(--asphalt-2); border-top: 3px solid var(--red);
  display: none;
}
.sub-toggle[aria-expanded="true"] + .sub { display: block; }
@media (hover: hover) and (min-width: 62.01em) {
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
}
.sub a { padding: .6rem 1.1rem; }
.site-nav .btn-call { min-height: 2.6rem; padding: .5rem 1.4rem; font: italic 750 1.0625rem/1 var(--display); font-stretch: 85%; color: #fff; margin-left: .5rem; }
.site-nav .btn-call:hover { color: #fff; }

.nav-toggle { display: none; }

@media (max-width: 62em) {
  .nav-toggle {
    display: grid; place-items: center; width: 3rem; height: 3rem;
    background: none; border: 0; color: #fff; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 1.5rem; height: 2px; background: currentColor; position: relative; transition: transform .2s, opacity .2s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 2rem; background: var(--asphalt);
    border-top: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; }
  .site-nav a, .sub-toggle { padding: .85rem 0; font-size: 1.125rem; width: 100%; text-align: left; }
  .site-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav a[aria-current] { box-shadow: none; color: #fff; }
  .site-nav a[aria-current]::before { content: ""; display: inline-block; width: .5rem; height: .5rem; background: var(--red); margin-right: .6rem; vertical-align: .1em; }
  .sub { position: static; background: none; border: 0; padding: 0 0 .5rem 1rem; }
  .sub a { padding: .6rem 0; }
}

/* ---------- Hero ----------
   Wide (80em+): copy column on the left, photo panel on the right whose slanted
   edge is pinned to the copy column, so the two never collide at any width.
   Below 80em the panel would turn portrait and crop the car, so the hero stacks:
   a tight car crop on top, sized by its own aspect ratio, copy underneath. */
.hero {
  --copy: 30rem;
  --slant: 7rem;
  position: relative; isolation: isolate;
  background: var(--asphalt); color: #fff; overflow: hidden;
  min-height: min(44rem, calc(100svh - var(--header-h) - 5rem));
  display: flex; align-items: center;
}
.hero-media {
  display: block; position: absolute; top: 0; bottom: 0; right: 0; z-index: -1;
  left: calc(max(0px, (100% - var(--wrap)) / 2) + var(--gutter) + var(--copy) + 1rem);
  clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 8% 42%; }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(29,32,35,.4), rgba(29,32,35,0) 18%); }
.hero-content { padding-block: clamp(3rem, 6vw, 4.5rem); }
.hero-copy { max-width: var(--copy); }
.hero h1 { font-size: clamp(2.75rem, 1.6rem + 4.4vw, 5.25rem); margin-bottom: .4em; }
.hero .lede { color: var(--chrome); margin-bottom: 2rem; }
.hero .lede:last-child { margin-bottom: 0; }
.hero-bar { background: var(--asphalt-2); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.hero-strip {
  padding-block: 1.25rem 1.4rem;
  display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 1.25rem 2rem;
}
.hero-strip div { display: flex; flex-direction: column; }
.hero-strip b { font: italic 800 var(--step-2)/1 var(--display); font-stretch: 78%; }
.hero-strip span { font-size: var(--step--1); color: var(--chrome); }

@media (max-width: 79.99em) {
  .hero { display: block; min-height: 0; }
  .hero-media {
    position: relative; inset: auto;
    /* crop is 1.62:1; never taller than that, never more than ~60% of the screen */
    height: min(calc(100vw / 1.62), 60svh); min-height: 13rem;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 2.5rem));
  }
  .hero-media img { object-position: 40% 55%; }
  .hero-media::after { display: none; }
  .hero-content { padding-block: 1.75rem 3.5rem; }
  .hero-copy { max-width: 40rem; }
}
@media (max-width: 40em) {
  .hero-strip { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 2.5rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-dark { background: var(--asphalt); color: #fff; }
.section-dark .lede, .section-dark .prose p, .section-dark .prose li { color: var(--chrome); }
.section-alt { background: var(--paper-2); }
.section-tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* Owner intro */
.owner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.owner h2 { font-size: var(--step-5); }
.facts { margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.facts div { padding: 1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--paper-2); }
.facts div:nth-child(odd) { border-right: 1px solid var(--paper-2); }
.facts div:nth-child(even) { padding-left: 1rem; }
.facts dt { font: italic 800 var(--step-3)/1 var(--display); font-stretch: 78%; color: var(--red); }
.facts dd { margin: .3rem 0 0; font-size: var(--step--1); color: var(--ink-soft); }
@media (max-width: 52em) { .owner { grid-template-columns: 1fr; } }

/* Service lanes */
.lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.lane { padding: 1.75rem clamp(1rem, 2.5vw, 2rem) 0; display: flex; flex-direction: column; }
.lane + .lane { border-left: 1px solid #cfd2ce; }
.lane:first-child { padding-left: 0; }
.lane:last-child { padding-right: 0; }
.lane-img { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 1.5rem; background: var(--asphalt); }
.lane-img img { width: 100%; height: 100%; object-fit: cover; }
.lane p { color: var(--ink-soft); }
.lane ul { margin: 0 0 1.5rem; padding: 0; list-style: none; color: var(--ink-soft); font-size: var(--step--1); }
.lane li { padding: .35rem 0; border-bottom: 1px solid #d9dbd8; }
.lane .textlink { margin-top: auto; align-self: flex-start; }
@media (max-width: 56em) {
  .lanes { grid-template-columns: 1fr; border-top: 0; }
  .lane, .lane:first-child, .lane:last-child { padding: 2rem 0; border-top: 2px solid var(--ink); }
  .lane + .lane { border-left: 0; }
}

/* ---------- Dyno ---------- */
.dyno-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 62em) { .dyno-layout { grid-template-columns: 1fr; } }
.dyno { margin: 0; }
.dyno svg { width: 100%; overflow: visible; }
.dyno-readout { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1rem 2.5rem; margin-bottom: 1.5rem; }
.readout { display: flex; flex-direction: column; gap: .2rem; }
.readout-label { font-size: var(--step--1); color: var(--chrome-dim); }
.readout-figs { font-size: var(--step--1); color: var(--chrome); }
.readout-figs b { font: italic 800 var(--step-3)/1 var(--display); font-stretch: 78%; font-variant-numeric: tabular-nums; color: #fff; margin-right: .15em; }
.readout-sub { font-size: var(--step--1); color: var(--chrome); font-variant-numeric: tabular-nums; }
.readout-after .readout-figs b { color: #ff3b54; }
@media (max-width: 40em) { .dyno-readout { grid-template-columns: 1fr; } .readout-figs b { font-size: var(--step-2); } }

.dyno-grid line { stroke: rgba(255,255,255,.12); stroke-width: 1; }
.dyno-grid line.v { stroke-dasharray: 2 4; }
.dyno-grid text { fill: var(--chrome-dim); font: 500 13px var(--text); }
.trace { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.trace.power { stroke-width: 3.5; }
.trace.torque { stroke-width: 2; stroke-dasharray: none; opacity: .75; }
.trace.after { stroke: #ff3b54; }
.trace.before { stroke: var(--chrome-dim); }
.trace.torque.before { stroke: #6c727a; }
.tag { font: italic 700 15px var(--display); fill: #ff3b54; }
.dyno figcaption { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; margin-top: 1.25rem; font-size: var(--step--1); color: var(--chrome); }
.key::before { content: ""; display: inline-block; width: 1.5rem; height: 3px; margin-right: .45rem; vertical-align: .25em; }
.key-after::before { background: #ff3b54; }
.key-before::before { background: var(--chrome-dim); }
.key-power::before { background: var(--chrome); height: 4px; }
.key-torque::before { background: var(--chrome); height: 2px; opacity: .7; }
.dyno-note { flex-basis: 100%; color: var(--chrome-dim); }

/* The one orchestrated moment: traces draw in when the chart enters view */
.js .dyno .trace { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.js .dyno.is-drawn .trace { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.5,0,.2,1); }
.js .dyno.is-drawn .trace.after { transition-delay: .5s; }
.js .dyno.is-drawn .trace.torque { transition-duration: 1.4s; }
.js .dyno .dyno-tags { opacity: 0; transition: opacity .4s 1.9s; }
.js .dyno.is-drawn .dyno-tags { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .dyno .trace { stroke-dasharray: none; stroke-dashoffset: 0; }
  .js .dyno .dyno-tags { opacity: 1; transition: none; }
}

/* ---------- MINI stage ladder ---------- */
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; counter-reset: stage; }
.ladder li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); align-items: stretch; gap: 1rem; }
.ladder .stage { font: italic 850 var(--step-2)/1 var(--display); font-stretch: 78%; align-self: center; }
.ladder .bar {
  background: var(--asphalt); color: #fff; padding: .9rem 1.25rem;
  width: var(--w); min-width: min(100%, 16rem);
  clip-path: polygon(0 0, 100% 0, calc(100% - .9rem) 100%, 0 100%);
  display: flex; flex-wrap: wrap; gap: .25rem .5rem; align-items: center;
}
.ladder .bar span { font-size: var(--step--1); padding: .15rem .55rem; border: 1px solid rgba(255,255,255,.25); }
.ladder .bar span.new { background: var(--red); border-color: var(--red); }
.ladder li:nth-child(1) .bar { --w: 40%; }
.ladder li:nth-child(2) .bar { --w: 58%; }
.ladder li:nth-child(3) .bar { --w: 76%; }
.ladder li:nth-child(4) .bar { --w: 100%; }
@media (max-width: 40em) {
  .ladder li { grid-template-columns: 1fr; gap: .4rem; }
  .ladder .bar { width: 100%; }
}

/* ---------- Makes ---------- */
.makes { display: flex; flex-wrap: wrap; gap: .25rem 0; margin: 0; padding: 0; list-style: none; }
.makes li { font: italic 850 var(--step-4)/1.1 var(--display); font-stretch: 75%; color: var(--ink); }
.makes li:not(:last-child)::after { content: "/"; color: var(--red); margin: 0 .35em; font-weight: 400; }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.visit-info { padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); background: var(--red); color: #fff; }
.visit-info h2 { margin-bottom: .6em; }
.visit-info address, .visit-info p { font-size: var(--step-1); line-height: 1.45; }
.visit-info a:not(.btn) { color: #fff; }
.visit-info .btn { --btn-bg: #fff; --btn-bd: #fff; --btn-fg: var(--red); }
.visit-info .btn:hover, .visit-info .btn-ghost:hover { --btn-bg: var(--asphalt); --btn-bd: var(--asphalt); --btn-fg: #fff; }
.visit-info .btn-ghost { --btn-bg: transparent; --btn-bd: #fff; --btn-fg: #fff; }
.visit-google { margin: 1.5rem 0 0; font-size: var(--step-0) !important; }
.visit-map { min-height: 24rem; background: var(--paper-2); }
.visit-map iframe { width: 100%; height: 100%; min-height: 24rem; border: 0; display: block; filter: grayscale(.85) contrast(1.05); }
@media (max-width: 52em) { .visit { grid-template-columns: 1fr; } .visit-info { padding-left: var(--gutter); } }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--asphalt); color: #fff; position: relative; overflow: hidden; }
.page-hero-inner { padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); position: relative; z-index: 1; }
.page-hero h1 { max-width: 12em; }
.page-hero .lede { color: var(--chrome); }
.crumbs { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; font-size: var(--step--1); color: var(--chrome-dim); }
.crumbs li + li::before { content: "/"; margin: 0 .6em; }
.crumbs a { color: var(--chrome); }
.page-hero.has-image .page-hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem clamp(2rem, 4vw, 4rem); align-items: end;
}
/* Banner photos are small (~950px), so they're shown at most at their real size and never cropped */
.page-hero.has-image h1 { font-size: clamp(2.75rem, 1.4rem + 3.6vw, 4.5rem); }
.page-hero-img { margin: 0; justify-self: end; width: 100%; }
.page-hero-img img { width: 100%; height: auto; clip-path: polygon(1.5rem 0, 100% 0, 100% 100%, 0 100%); }
@media (max-width: 62em) {
  .page-hero.has-image .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-img { justify-self: start; }
  .page-hero-img img { clip-path: none; }
}

/* Two-column body for inner pages */
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 56em) { .split { grid-template-columns: 1fr; } }
.aside-card { background: var(--asphalt); color: #fff; padding: 2rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.aside-card h2 { font-size: var(--step-3); }
.aside-card p { color: var(--chrome); }
.aside-card .btn { width: 100%; margin-top: .5rem; }
.aside-card .btn-ghost { --btn-fg: #fff; }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.checklist li { padding: .8rem 1rem .8rem 1.6rem; border-bottom: 1px solid #d5d8d4; position: relative; color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: .7rem; height: 3px; background: var(--red); }
@media (max-width: 40em) { .checklist { grid-template-columns: 1fr; } }

.tags { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { padding: .4rem .85rem; background: #fff; border: 1px solid #d5d8d4; font-size: var(--step--1); }

/* Price list */
.pricelist { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; }
.pricelist caption { text-align: left; font: italic 800 var(--step-2)/1.1 var(--display); font-stretch: 78%; margin-bottom: 1rem; }
.pricelist th, .pricelist td { text-align: left; padding: 1rem 0; border-bottom: 1px solid #d5d8d4; vertical-align: baseline; }
.pricelist thead th { font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); border-bottom: 2px solid var(--ink); padding-block: .6rem; }
.pricelist td:last-child, .pricelist th:last-child { text-align: right; white-space: nowrap; padding-left: 1rem; }
.pricelist .price { font: italic 800 var(--step-2)/1 var(--display); font-stretch: 78%; font-variant-numeric: tabular-nums; }
.pricelist .muted { color: var(--ink-soft); font-size: var(--step--1); }
.pricelist .soon { color: var(--red); font-weight: 600; font-size: var(--step--1); }

/* About */
.quote { margin: 0; padding: 0; border: 0; }
.quote p { font: italic 750 var(--step-3)/1.15 var(--display); font-stretch: 82%; color: var(--ink); max-width: 22em; }
.quote footer { color: var(--ink-soft); }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 40em) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid #b9bdb8; border-radius: 0;
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field .err { color: var(--red); font-size: var(--step--1); margin-top: .35rem; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 1rem 1.25rem; border-left: 4px solid var(--red); background: #fff; margin-bottom: 1.5rem; }
.notice.ok { border-color: #2f7d4f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--asphalt); color: var(--chrome); }
.site-footer .stripes { height: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer-brand p { max-width: 22rem; margin-top: 1rem; font-size: var(--step--1); }
.footer-h { font: italic 750 1.125rem/1.2 var(--display); font-stretch: 85%; color: #fff; margin-bottom: .75rem; }
.site-footer a { color: var(--chrome); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; }
.footer-social { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.footer-base {
  padding-block: 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,.08);
  font-size: var(--step--1); color: var(--chrome-dim);
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; flex-wrap: wrap;
}
.footer-base p { margin: 0; }

/* Builder credit: a slanted badge in the same language as the buttons */
.site-footer a.credit {
  position: relative; isolation: isolate;
  display: inline-flex; flex-direction: column; justify-content: center;
  padding: .55rem 1.6rem .6rem 1.4rem; margin-right: .4rem;
  color: #fff; text-decoration: none; line-height: 1.1;
}
.credit::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border: 1px solid rgba(255,255,255,.18); border-left: 4px solid var(--red);
  background: rgba(255,255,255,.03);
  transform: skewX(-14deg); transition: background-color .15s, border-color .15s;
}
.credit-label { font-size: .75rem; color: var(--chrome-dim); letter-spacing: .02em; transition: color .15s; }
.credit-name { font: italic 850 1.375rem/1 var(--display); font-stretch: 80%; letter-spacing: .01em; }
.site-footer a.credit:hover { color: #fff; text-decoration: none; }
.credit:hover::before { background: var(--red); border-color: var(--red); }
.credit:hover .credit-label { color: rgba(255,255,255,.85); }
@media (max-width: 40em) { .footer-base { flex-direction: column; align-items: flex-start; } .site-footer a.credit { margin-left: .4rem; } }
@media (max-width: 56em) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 30em) { .footer-grid { grid-template-columns: 1fr; } }
