/* P04 PREVEZTO · Brutalist / industrial poster */

:root {
  --yellow: oklch(0.9 0.18 95);
  --black: oklch(0.15 0 0);
  --white: oklch(0.98 0 0);
  --concrete: oklch(0.88 0.005 90);
  --muted: oklch(0.4 0 0);
  --line: var(--black);
  --line-dark: oklch(0.55 0 0);
  --grid-faint: oklch(0.15 0 0 / 0.12);

  --bg: var(--white);
  --fg: var(--black);
  --accent: var(--yellow);
  --accent-fg: var(--black);
  --surface: var(--white);

  --section-y: clamp(3rem, 2rem + 3vw, 5rem);
  --pad: clamp(1rem, 0.6rem + 1.2vw, 2rem);
  --bar: 56px;

  --display-1: clamp(2.5rem, 1.5rem + 5vw, 7rem);
  --display-2: clamp(1.75rem, 1.2rem + 2vw, 3.5rem);
  --display-3: clamp(1.375rem, 1.1rem + 1vw, 2rem);
  --step-0: 1rem;
  --step-1: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --step-2: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --mono: 0.875rem;
  --mono-s: 0.75rem;

  --ff: "Archivo", "Arial Narrow", sans-serif;
  --ff-mono: "Space Mono", ui-monospace, monospace;

  color-scheme: light;
  scrollbar-color: var(--black) var(--concrete);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html.motion { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: var(--step-0);
  font-stretch: 100%;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg);
  caret-color: var(--black);
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--black); color: var(--yellow); }
.sec-black ::selection, .foot ::selection { background: var(--yellow); color: var(--black); }
[id] { scroll-margin-top: calc(var(--bar) + 8px); }

:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.ubar :focus-visible, .sec-black :focus-visible, .foot :focus-visible { outline-color: var(--yellow); }

.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;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.25;
  stroke-linecap: round; stroke-linejoin: round;
}

.skip {
  position: absolute; left: 8px; top: -120px; z-index: 100;
  padding: 12px 16px; background: var(--yellow); color: var(--black);
  font-weight: 800; text-decoration: none; border: 2px solid var(--black);
}
.skip:focus { top: 8px; }

/* ---------- type ---------- */
.display-2 {
  font-size: var(--display-2);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.lead { font-size: var(--step-1); max-width: 46ch; text-wrap: pretty; }

/* ---------- cell grid ---------- */
.wrap { max-width: 1440px; margin-inline: auto; }
.cells,
.fleet, .faq, .steps, .extras, .rez, .cfg, .hero-grid, .hero-left, .hero-van, .h1, .variants {
  display: grid;
  gap: 1px;
  background: var(--line);
}
.cells { border: 1px solid var(--line); }
.cell { background: var(--surface); padding: var(--pad); min-width: 0; }

.sec { border-top: 3px solid var(--black); padding-block: var(--section-y); background: var(--surface); }
.sec-white { --surface: var(--white); }
.sec-concrete { --surface: var(--concrete); }
.sec-black { --surface: var(--black); --line: var(--line-dark); color: var(--white); }

.sec-head { display: grid; gap: 1rem; padding-block: calc(var(--pad) * 1.25); }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 1.35fr 1fr; align-items: end; gap: 2rem; }
}

/* ---------- utility bar ---------- */
.ubar {
  position: sticky; top: 0; z-index: 50;
  background: var(--black); color: var(--white);
  height: var(--bar);
}
.ubar-in {
  max-width: 1440px; height: 100%; margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding-inline: var(--pad);
}
.logo {
  justify-self: start;
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 800; font-stretch: 125%; font-size: 1.125rem; letter-spacing: 0.01em;
  text-decoration: none;
}
.ubar-hours { font-family: var(--ff-mono); font-size: var(--mono); white-space: nowrap; }
.ubar-phone {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px;
  color: var(--yellow); font-weight: 800; font-stretch: 112%; font-size: 1.375rem;
  text-decoration: none; white-space: nowrap;
}
.ubar-phone .ico { width: 0.8em; height: 0.8em; }
.ubar-phone:hover, .logo:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 767px) {
  .ubar-in { grid-template-columns: 1fr auto; }
  .ubar-phone { display: none; }
}

/* ---------- hero ---------- */
.hero { --surface: var(--yellow); background: var(--yellow); }

.marquee {
  display: flex; height: 72px;
  border-bottom: 3px solid var(--black);
  background: var(--yellow);
}
.marquee-view { flex: 1; overflow: hidden; display: flex; align-items: center; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-seq {
  flex: none; white-space: nowrap;
  font-family: var(--ff-mono); font-weight: 700; font-size: clamp(1rem, 0.85rem + 0.6vw, 1.375rem);
  text-transform: uppercase; letter-spacing: 0.02em;
}
.marquee:hover .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-btn {
  flex: none; width: 72px; border: 0; border-left: 1px solid var(--black);
  background: var(--yellow); color: var(--black); cursor: pointer;
  display: grid; place-items: center; font-size: 1.25rem;
}
.marquee-btn:hover { background: var(--black); color: var(--yellow); }
.marquee-btn:focus-visible { outline-offset: -6px; }
.marquee-btn .ico-play, .marquee.is-paused .marquee-btn .ico-pause { display: none; }
.marquee.is-paused .marquee-btn .ico-play { display: block; }

.hero-grid { border-inline: 1px solid var(--line); }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; } }

.hero-left { grid-template-rows: auto 1fr; }
.h1-wrap { position: relative; container-type: inline-size; background: var(--line); grid-column: 1 / -1; min-width: 0; }
.h1 { font-weight: 800; font-stretch: 125%; text-transform: uppercase; min-width: 0; }
.h1-line {
  display: block; background: var(--yellow);
  padding: 0.14em var(--pad) 0.06em;
  font-size: min(var(--display-1), calc((100cqi - 2 * var(--pad)) / 13));
  line-height: 0.92; letter-spacing: -0.02em; white-space: nowrap;
  min-width: 0; overflow: clip;
}
.stamp {
  position: absolute; right: var(--pad); bottom: clamp(0.5rem, 1.6cqi, 1.5rem);
  transform: rotate(-4deg);
  background: var(--black); color: var(--yellow);
  font-family: var(--ff-mono); font-weight: 700; text-transform: uppercase;
  font-size: clamp(0.875rem, 0.6rem + 2.4cqi, 1.75rem); line-height: 1;
  padding: 0.5em 0.65em;
}
.stamp span { font-weight: 400; }

.hero-sub { font-size: var(--step-1); max-width: none; }
.hero-sub { padding-block: calc(var(--pad) * 0.9); }
.hero-cta, .rez-call { container-type: inline-size; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; align-content: center; gap: 1rem 2rem; }

.phone-btn {
  display: inline-flex; flex-direction: column; gap: 0.25rem;
  padding: 0.875rem 1.25rem 1rem;
  background: var(--black); color: var(--yellow);
  border: 3px solid var(--black);
  text-decoration: none; max-width: 100%;
}
.phone-label {
  font-family: var(--ff-mono); font-weight: 700; font-size: var(--mono);
  text-transform: uppercase; letter-spacing: 0.02em;
}
.phone-num {
  display: inline-flex; align-items: center; gap: 0.35em;
  font-weight: 800; font-stretch: 112%; line-height: 1;
  font-size: min(clamp(1.5rem, 1rem + 2.5vw, 3rem), calc((100cqi - 3rem) / 11.1));
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.phone-num .ico { width: 0.75em; height: 0.75em; stroke-width: 2.5; }
.phone-btn:hover { background: var(--yellow); color: var(--black); }
.phone-btn:active, .btn:active, .variant:active, .chip:active, .step-btn:active, .callbar:active { transform: translate(2px, 2px); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px;
  font-weight: 800; font-stretch: 112%; font-size: var(--step-2); text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px;
}
.text-link .ico { width: 0.9em; height: 0.9em; stroke-width: 2.75; }
.text-link:hover { background: var(--black); color: var(--yellow); text-decoration: none; }

.hero-van { grid-template-rows: 1fr auto auto; }
.sil { display: grid; place-items: center; min-height: 240px; padding-block: calc(var(--pad) * 1.25); }
.sil-svg { display: none; width: 100%; height: auto; max-width: 720px; overflow: visible; }
.sil-svg path, .sil-svg circle, .sil-svg rect {
  fill: none; stroke: var(--black); stroke-width: 3;
  stroke-linejoin: miter; stroke-linecap: square;
}
.sil-svg .thin, .sil-svg .ground, .sil-svg .dim path { stroke-width: 1.5; }
.sil-svg .cargo { stroke-width: 1.5; stroke-dasharray: 6 5; }
.sil-svg text { fill: var(--black); stroke: none; font-family: var(--ff-mono); font-weight: 700; font-size: 18px; }

.variants { border: 0; margin: 0; padding: 0; min-width: 0; grid-template-columns: repeat(4, 1fr); }
.variant {
  position: relative; display: grid; place-items: center; min-height: 60px;
  background: var(--yellow); cursor: pointer;
  font-weight: 800; font-stretch: 125%; font-size: clamp(0.9375rem, 0.8rem + 0.5vw, 1.25rem);
  text-transform: uppercase;
}
.variant input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.variant:hover span { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.variant:has(input:checked) { background: var(--black); color: var(--yellow); }
.variant:has(input:focus-visible) { outline: 2px solid var(--black); outline-offset: -7px; }
.variant:has(input:checked:focus-visible) { outline-color: var(--yellow); }

.specs { background: var(--yellow); padding: calc(var(--pad) * 0.75) var(--pad); min-height: 96px; }
.spec { display: none; grid-template-columns: 1.4fr 1fr 1fr; gap: 1rem; }
.spec dt { font-family: var(--ff-mono); font-size: var(--mono-s); text-transform: uppercase; }
.spec dd {
  font-family: var(--ff-mono); font-weight: 700; font-size: clamp(1rem, 0.85rem + 0.6vw, 1.375rem);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.hero-van:has(input[value="L1H1"]:checked) [data-sil="L1H1"],
.hero-van:has(input[value="L2H2"]:checked) [data-sil="L2H2"],
.hero-van:has(input[value="L3H2"]:checked) [data-sil="L3H2"],
.hero-van:has(input[value="PRIVES"]:checked) [data-sil="PRIVES"] { display: block; }
.hero-van:has(input[value="L1H1"]:checked) [data-spec="L1H1"],
.hero-van:has(input[value="L2H2"]:checked) [data-spec="L2H2"],
.hero-van:has(input[value="L3H2"]:checked) [data-spec="L3H2"],
.hero-van:has(input[value="PRIVES"]:checked) [data-spec="PRIVES"] { display: grid; }
@supports not selector(:has(*)) {
  [data-sil="L2H2"] { display: block; }
  [data-spec="L2H2"] { display: grid; }
}

@media (max-width: 1023px) {
  .sil { min-height: 0; }
}
@media (max-width: 767px) {
  .marquee { height: 56px; }
  .marquee-btn { width: 56px; }
  .hero-grid, .cells { border-inline: 0; }
  .h1-line { font-stretch: 75%; font-size: min(var(--display-1), calc((100cqi - 2 * var(--pad)) / 8.05)); }
  .spec { grid-template-columns: 1fr 1fr; }
  .spec > div:first-child { grid-column: 1 / -1; }
  .hero-cta { gap: 0.5rem 1.5rem; }
  .phone-btn { width: 100%; }
}

/* Hero intro: hard cuts, CSS only, no JS needed */
@keyframes cut { from { visibility: hidden; } to { visibility: visible; } }
@media (prefers-reduced-motion: no-preference) {
  .h1-line, .stamp, .hero-van .sil-svg { animation: cut 1ms steps(1) both; }
  .h1-line:nth-child(1) { animation-delay: 0.1s; }
  .h1-line:nth-child(2) { animation-delay: 0.22s; }
  .h1-line:nth-child(3) { animation-delay: 0.34s; }
  .hero-van .sil-svg { animation-delay: 0.46s; }
  .stamp { animation-delay: 0.62s; }
}

/* ---------- pricing ---------- */
.table-cell { padding: 0; overflow-x: auto; }
.price { width: 100%; border-collapse: collapse; border-style: hidden; }
.price th, .price td { border: 1px solid var(--line); padding: 0.875rem 1rem; text-align: left; vertical-align: top; }
.price thead th {
  font-weight: 600; font-stretch: 75%; font-size: 0.875rem; text-transform: uppercase;
  letter-spacing: 0.04em; background: var(--concrete); white-space: nowrap;
}
.th-sub { font-family: var(--ff-mono); font-weight: 400; font-stretch: 100%; text-transform: none; letter-spacing: 0; }
.price tbody th { font-weight: 400; }
.veh { display: block; font-weight: 800; font-stretch: 125%; font-size: var(--step-2); text-transform: uppercase; line-height: 1.1; }
.veh-sub { display: block; font-family: var(--ff-mono); font-size: var(--mono-s); color: var(--muted); margin-top: 0.25rem; }
.price td {
  font-family: var(--ff-mono); font-weight: 700; font-size: var(--step-1);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.price tbody tr:hover > * { background: var(--concrete); }

@media (max-width: 759px) {
  .price, .price tbody, .price tr { display: block; }
  .price thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price tbody tr { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
  .price tbody tr:first-child { border-top: 0; }
  .price tbody th { grid-column: 1 / -1; border: 0; border-bottom: 1px solid var(--line); }
  .price td { display: flex; flex-direction: column; gap: 0.125rem; border: 0; border-bottom: 1px solid var(--line); }
  .price td:nth-of-type(odd) { border-right: 1px solid var(--line); }
  .price td:nth-last-of-type(-n + 2) { border-bottom: 0; }
  .price td::before {
    content: attr(data-label); font-family: var(--ff); font-weight: 600; font-stretch: 75%;
    font-size: var(--mono-s); text-transform: uppercase; letter-spacing: 0.04em;
  }
}

.terms { display: grid; gap: 0.5rem; font-family: var(--ff-mono); font-size: var(--mono); }
.terms b { font-family: var(--ff); font-weight: 800; font-stretch: 112%; text-transform: uppercase; margin-right: 0.5em; }
@media (min-width: 1024px) { .terms { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.extras { grid-template-columns: 1fr; }
@media (min-width: 600px) { .extras { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .extras { grid-template-columns: repeat(4, 1fr); } }
.extra { display: grid; gap: 0.25rem; align-content: start; }
.extra > span:first-child { font-weight: 800; font-stretch: 112%; text-transform: uppercase; }
.x-sub { font-family: var(--ff-mono); font-size: var(--mono-s); color: var(--muted); }
.extra b { font-family: var(--ff-mono); font-size: var(--step-2); font-variant-numeric: tabular-nums; margin-top: 0.5rem; }

/* ---------- fleet ---------- */
@media (min-width: 900px) { .fleet { grid-template-columns: 1fr 1fr; } }
.car { padding: 0; display: grid; grid-template-rows: auto 1fr; }
.media {
  position: relative; aspect-ratio: 3 / 2; overflow: hidden;
  background: var(--yellow); border-bottom: 1px solid var(--line);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-missing {
  background-color: var(--yellow);
  background-image: repeating-linear-gradient(-45deg, var(--black) 0 2px, transparent 2px 14px);
  display: grid; place-items: center;
}
.media.is-missing::after {
  content: "FOTO"; font-family: var(--ff-mono); font-weight: 700; font-size: 1rem; letter-spacing: 0.2em;
  background: var(--yellow); color: var(--black); border: 2px solid var(--black); padding: 0.4em 0.8em;
}
.car-body {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 1.5rem;
  padding: var(--pad); background: var(--surface);
}
.car-name { font-weight: 800; font-stretch: 125%; font-size: var(--display-3); text-transform: uppercase; line-height: 1; }
.car-price { font-family: var(--ff-mono); font-size: var(--mono); justify-self: end; white-space: nowrap; }
.car-price b { font-size: var(--step-2); }
.car-specs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-family: var(--ff-mono); font-size: var(--mono); }
.car-specs dt { font-size: var(--mono-s); text-transform: uppercase; color: var(--muted); }
.car-specs dd { font-weight: 700; }
.car .btn { grid-column: 1 / -1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 52px; padding: 0.75rem 1.25rem;
  background: var(--yellow); color: var(--black);
  border: 2px solid var(--black); border-radius: 0; cursor: pointer;
  font-weight: 800; font-stretch: 112%; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.02em;
  text-decoration: none;
}
.btn:hover { background: var(--black); color: var(--yellow); }
.btn-wide { width: 100%; }

/* ---------- configurator ---------- */
.cfg { grid-template-areas: "stage" "chips" "panel"; }
@media (min-width: 1024px) {
  .cfg { grid-template-columns: 2fr 1fr; grid-template-areas: "stage panel" "chips panel"; }
}
.stage { grid-area: stage; position: relative; display: grid; gap: 0.75rem; align-content: start; overflow: hidden; }
.chips-cell { grid-area: chips; }
.panel { grid-area: panel; }

.stage-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem;
  font-family: var(--ff-mono); font-size: var(--mono-s); text-transform: uppercase;
}
.stage-id { font-family: var(--ff); font-weight: 800; font-stretch: 125%; font-size: var(--display-2); line-height: 1; }

.stage { --total: 4.9; --cabm: 1.1; --cab: calc(var(--cabm) / var(--total) * 100%); }
.truck { display: flex; align-items: stretch; padding-block: 0.5rem; }
@media (max-width: 767px) { .stage { --total: 4.3; --cabm: 0.55; } }
.cab { width: var(--cab); height: auto; flex: none; }
.cab path { fill: none; stroke: var(--black); stroke-width: 3; vector-effect: non-scaling-stroke; }
.floor {
  position: relative; flex: none; box-sizing: content-box;
  border: 3px solid var(--black);
  background-color: var(--white);
  background-image:
    linear-gradient(to right, var(--grid-faint) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-faint) 1px, transparent 1px);
}
.dim-line {
  position: relative; margin-left: var(--cab);
  border-top: 1px solid var(--black); padding-top: 0.375rem;
  font-family: var(--ff-mono); font-weight: 700; font-size: var(--mono); text-align: center;
}
.dim-line::before, .dim-line::after { content: ""; position: absolute; top: -7px; width: 1px; height: 13px; background: var(--black); }
.dim-line::before { left: 0; }
.dim-line::after { right: 0; }
.stage[data-van="L1H1"] .floor, .stage[data-van="L1H1"] .dim-line { width: calc(2.6 / var(--total) * 100%); }
.stage[data-van="L2H2"] .floor, .stage[data-van="L2H2"] .dim-line { width: calc(3 / var(--total) * 100%); }
.stage[data-van="L3H2"] .floor, .stage[data-van="L3H2"] .dim-line { width: calc(3.7 / var(--total) * 100%); }
.stage[data-van="L1H1"] .floor { aspect-ratio: 2.6 / 1.7; background-size: calc(100% / 5.2) calc(100% / 3.4); }
.stage[data-van="L2H2"] .floor { aspect-ratio: 3 / 1.8; background-size: calc(100% / 6) calc(100% / 3.6); }
.stage[data-van="L3H2"] .floor { aspect-ratio: 3.7 / 1.8; background-size: calc(100% / 7.4) calc(100% / 3.6); }

.item {
  position: absolute;
  left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: calc(var(--w) * 1%); height: calc(var(--h) * 1%);
  background: var(--black); color: var(--white);
  box-shadow: inset 0 0 0 1px var(--white);
  font-family: var(--ff-mono); font-size: 11px; line-height: 1.15;
  padding: 4px 5px; overflow: hidden; overflow-wrap: anywhere; hyphens: auto;
}
.item.is-vert { writing-mode: vertical-rl; }
.item.is-new { animation: stamp 180ms steps(1); }
@keyframes stamp {
  0% { background: var(--white); color: var(--black); box-shadow: inset 0 0 0 3px var(--black); }
  100% { background: var(--black); color: var(--white); }
}

.stage-flash {
  position: absolute; left: 0; right: 0; top: 0; display: none;
  padding: 0.875rem var(--pad);
  background: var(--black); color: var(--white);
  font-family: var(--ff-mono); font-weight: 700; font-size: var(--step-1); text-transform: uppercase;
}
.stage-flash.is-on { display: block; }

.chips-title, .m-label {
  font-family: var(--ff-mono); font-size: var(--mono-s); text-transform: uppercase;
}
.chips-title { margin-bottom: 0.75rem; }
.chips {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.chip {
  display: grid; gap: 0.125rem; align-content: center; text-align: left;
  min-height: 60px; padding: 0.5rem 0.75rem;
  background: var(--white); border: 0; border-radius: 0; cursor: pointer;
  font-weight: 700; font-size: 0.9375rem; line-height: 1.2;
}
.chip-sub { font-family: var(--ff-mono); font-weight: 400; font-size: 0.6875rem; color: var(--muted); }
.chip:hover { background: var(--concrete); }
.chip[aria-pressed="true"] { background: var(--black); color: var(--white); }
.chip[aria-pressed="true"] .chip-sub { color: var(--concrete); }
.chip:focus-visible { outline-offset: -5px; }
.chip[aria-pressed="true"]:focus-visible { outline-color: var(--yellow); }

.panel { display: grid; gap: 1.25rem; align-content: start; }
.m-label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.375rem; }
.m-label > span:last-child { font-weight: 700; }
.m-note { font-weight: 400 !important; text-transform: none; color: var(--muted); }
.meter { position: relative; height: 32px; border: 1px solid var(--black); background: var(--white); overflow: hidden; }
.meter-fill { position: absolute; inset: 0; background: var(--black); transform-origin: left center; transform: scaleX(0); }
.meter-over {
  position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--black);
  font-family: var(--ff-mono); font-weight: 700; font-size: 0.8125rem; text-transform: uppercase;
}
.meter.is-over .meter-over { display: flex; }
.reco { font-family: var(--ff-mono); font-size: var(--mono); }
.reco b { font-family: var(--ff); font-weight: 800; font-stretch: 112%; font-size: var(--step-1); text-transform: uppercase; }
.nofit { font-family: var(--ff-mono); font-size: var(--mono); border-left: 1px solid var(--black); padding-left: 0.75rem; }

.stepper { display: grid; grid-template-columns: 56px 1fr 56px; border: 1px solid var(--black); }
.step-btn {
  min-height: 56px; border: 0; background: var(--white); cursor: pointer;
  display: grid; place-items: center; font-size: 1.25rem;
}
.step-btn:hover { background: var(--black); color: var(--white); }
.step-btn:disabled { color: var(--muted); background: var(--concrete); cursor: not-allowed; }
.step-btn:focus-visible { outline-offset: -5px; }
.days-out {
  display: grid; place-items: center;
  border-inline: 1px solid var(--black);
  font-weight: 800; font-stretch: 125%; font-size: 1.75rem; font-variant-numeric: tabular-nums;
}
.total-num { font-weight: 800; font-stretch: 125%; font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- steps (black) ---------- */
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { display: grid; gap: 0.75rem; align-content: start; padding-block: calc(var(--pad) * 1.25); }
.num-clip { display: block; overflow: clip; overflow: hidden; }
.num {
  display: block; font-weight: 800; font-stretch: 125%;
  font-size: clamp(4rem, 3rem + 3vw, 6rem); line-height: 0.95; letter-spacing: -0.03em;
}
.step-title { font-weight: 800; font-stretch: 112%; font-size: var(--step-2); text-transform: uppercase; }
.step p { color: oklch(0.86 0 0); max-width: 40ch; }

/* ---------- FAQ ---------- */
@media (min-width: 900px) {
  .faq { grid-template-columns: 1fr 1fr; }
  .faq .qa:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.qa { padding: 0; }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 64px; padding: 1rem var(--pad);
  cursor: pointer; list-style: none;
  font-weight: 700; font-size: var(--step-1); line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.qa summary:focus-visible { outline-offset: -5px; }
.qa-ico { width: 28px; height: 28px; stroke-width: 2.5; transition: transform 150ms steps(3); }
.qa[open] .qa-ico { transform: rotate(45deg); }
.qa p { padding: 0 var(--pad) var(--pad); max-width: 62ch; }

/* ---------- reservation ---------- */
@media (min-width: 1024px) { .rez { grid-template-columns: 1fr 1fr; } }
.rez-call { display: grid; gap: 1.25rem; align-content: start; }
.rez-call .phone-btn { justify-self: start; }
.rez-hours { display: flex; align-items: center; gap: 0.5rem; font-family: var(--ff-mono); font-size: var(--mono); }
.media-keys { border: 1px solid var(--line); background: var(--black); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
.field { display: grid; gap: 0.375rem; align-content: start; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-stretch: 75%; font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.04em; }
.field input:not([type="checkbox"]), .field select {
  width: 100%; min-height: 52px; padding: 0.75rem 0.875rem;
  border: 2px solid var(--black); border-radius: 0; background: var(--white);
  font-size: 1rem; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--black) 50%), linear-gradient(135deg, var(--black) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem;
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
.field [aria-invalid="true"] { border-width: 4px; }
.field-check { grid-template-columns: 28px 1fr; align-items: start; gap: 0.5rem 0.75rem; }
.field-check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--black); }
.field-check label { font-weight: 400; font-stretch: 100%; text-transform: none; letter-spacing: 0; font-size: 0.9375rem; }
.field-check .err { grid-column: 1 / -1; }
.err {
  display: flex; align-items: center; gap: 0.4rem;
  font-family: var(--ff-mono); font-weight: 700; font-size: 0.8125rem;
}
.err::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: var(--black); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.err[hidden] { display: none; }
.form .btn { grid-column: 1 / -1; min-height: 60px; font-size: var(--step-1); }
.ok { display: grid; gap: 0.75rem; padding: var(--pad); border: 3px solid var(--black); }
.ok[hidden] { display: none; }
.ok-title { font-weight: 800; font-stretch: 125%; font-size: var(--display-3); text-transform: uppercase; line-height: 1; }
.ico-lg { width: 40px; height: 40px; stroke-width: 3; }
@media (max-width: 479px) { .form { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot {
  --surface: var(--black); --line: var(--line-dark);
  background: var(--black); color: var(--white);
  border-top: 3px solid var(--black);
  padding-block: var(--section-y);
}
@media (min-width: 900px) { .foot .cells { grid-template-columns: 2fr 1fr; } }
.foot-main { display: grid; gap: 1rem; }
.foot-logo { font-weight: 800; font-stretch: 125%; font-size: var(--display-2); line-height: 1; }
.foot-main p:not(.foot-logo) { font-family: var(--ff-mono); font-size: var(--mono); }
.foot a { text-underline-offset: 4px; }
.foot-main a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.foot-nav { display: grid; align-content: start; }
.foot-nav a {
  display: flex; align-items: center; min-height: 44px;
  font-weight: 700; font-stretch: 112%; text-transform: uppercase; text-decoration: none;
}
.foot-nav a:hover { text-decoration: underline; }
.foot-demo { grid-column: 1 / -1; font-family: var(--ff-mono); font-size: var(--mono); }

/* ---------- mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom)); }
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    height: calc(var(--bar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--yellow); color: var(--black); border-top: 3px solid var(--black);
    font-weight: 800; font-stretch: 125%; font-size: 1.25rem; text-transform: uppercase; text-decoration: none;
  }
  .callbar:hover { background: var(--black); color: var(--yellow); }
  .callbar:focus-visible { outline-offset: -6px; }
}

/* ---------- motion states (only with html.motion) ---------- */
/* cells keep their surface, only their content waits for the cut */
html.motion tr.reveal:not(.is-in),
html.motion .cell.reveal:not(.is-in) > *,
html.motion .chip.reveal:not(.is-in) > * { visibility: hidden; }
html.motion .wipe:not(.is-in) { clip-path: inset(0 100% 0 0); }
html.motion .wipe.is-in { animation: wipe 220ms steps(4) both; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
html.motion.is-safari .wipe:not(.is-in) { clip-path: none; visibility: hidden; }
html.motion.is-safari .wipe.is-in { animation: none; }
html.motion .num:not(.is-in) { transform: translateY(100%); }

@media (prefers-reduced-motion: reduce) {
  .marquee { height: auto; min-height: 72px; }
  .marquee-track { animation: none; width: auto; }
  .marquee-seq { white-space: normal; padding: 0.75rem var(--pad); }
  .marquee-seq[aria-hidden="true"], .marquee-btn { display: none; }
  .qa-ico { transition: none; }
  .item.is-new { animation: none; }
}
