/* Pavara concept. Tokens follow DESIGN.md. */
@font-face { font-family: "Tanker"; src: url(fonts/tanker-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4; }
@font-face { font-family: "Inter"; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
:root {
  --char: #141619; --steel: #1f2328; --line-dark: #343a42; --paper: #f3f2ee; --concrete: #ecebe6; --line-light: #cfccc4;
  --ink: #141619; --muted-dark: #a9b0b8; --muted-light: #555c64; --orange: #ff6a1a;
  --display: "Tanker", "Arial Narrow", Impact, sans-serif; --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --gutter: 24px; --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--concrete); color: var(--ink); font: 400 1.0625rem/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .9; letter-spacing: .01em; }
h1 { font-size: clamp(3.5rem, 1.6rem + 7vw, 9.5rem); }
h2 { font-size: clamp(2.5rem, 1.4rem + 4vw, 5.5rem); }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.25; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
ol, ul { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.dark { background: var(--char); color: var(--paper); }
.light { background: var(--concrete); color: var(--ink); }
.section { padding-block: clamp(4rem, 2.5rem + 5vw, 8rem); }
.label { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.light .label { color: var(--muted-light); }
.note { font-size: .875rem; color: var(--muted-dark); }
.light .note { color: var(--muted-light); }
.skip { position: fixed; left: 16px; top: 16px; transform: translateY(-200%); z-index: 99; background: var(--orange); color: var(--char); padding: 10px 16px; font-weight: 700; }
.skip:focus { transform: none; }

/* Concept ribbon and header */
.ribbon { background: var(--orange); color: var(--char); font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-align: center; padding: 6px var(--gutter); }
.header { position: sticky; top: 0; z-index: 20; background: var(--char); color: var(--paper); border-bottom: 2px solid var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: baseline; gap: 12px; font-family: var(--display); font-size: 2rem; line-height: 1; text-transform: uppercase; text-decoration: none; }
.logo small { font-family: var(--body); font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--muted-dark); }
.logo-mark { width: 22px; height: 22px; align-self: center; background: var(--orange); clip-path: polygon(50% 0, 61% 18%, 82% 11%, 82% 32%, 100% 41%, 87% 58%, 96% 78%, 75% 80%, 66% 100%, 50% 88%, 34% 100%, 25% 80%, 4% 78%, 13% 58%, 0 41%, 18% 32%, 18% 11%, 39% 18%); }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: .9375rem; }
.nav a:not(.btn) { text-decoration: none; padding-block: 8px; border-bottom: 2px solid transparent; transition: border-color .18s var(--ease); }
.nav a:not(.btn):hover { border-color: var(--orange); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 2px solid var(--orange); background: transparent; color: inherit; font: 700 .875rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease), transform .12s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-orange { background: var(--orange); color: var(--char); }
.btn-orange:hover { background: var(--paper); border-color: var(--paper); }
.btn-outline { border-color: var(--paper); }
.btn-outline:hover { background: var(--paper); color: var(--char); }
.btn-small { min-height: 42px; padding: 0 18px; }
.btn:disabled { background: transparent; border-color: var(--line-light); color: var(--muted-light); cursor: not-allowed; transform: none; }

/* Hero */
.hero { padding-top: clamp(3rem, 1rem + 5vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); max-width: 30ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
/* The wheel photo spins with the scroll; the callouts stay put. */
.wheel { position: relative; aspect-ratio: 640 / 600; }
.wheel-spin { position: absolute; left: 4%; top: 6.25%; width: 82%; aspect-ratio: 1; will-change: transform; }
.wheel-spin img { width: 100%; height: 100%; }
.callouts { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.credit { position: absolute; left: 0; bottom: -28px; font-size: .75rem; color: var(--muted-dark); }
.credit a { color: inherit; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(2.5rem, 1rem + 4vw, 5rem); border-top: 2px solid var(--line-dark); }
.facts div { display: grid; gap: 6px; padding: 24px 24px 28px 0; }
.facts div + div { padding-left: 24px; border-left: 2px solid var(--line-dark); }
.facts dt { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.facts dd { font-family: var(--display); font-size: clamp(2rem, 1.4rem + 1.8vw, 3.25rem); line-height: 1; text-transform: uppercase; }
.hazard { height: 20px; background: repeating-linear-gradient(-45deg, var(--orange) 0 18px, var(--char) 18px 36px); }

/* Section heads */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 48px; }
.section-head p { max-width: 46ch; font-size: 1.125rem; }
.dark .section-head p { color: var(--muted-dark); }

/* Services board */
.board { border-top: 2px solid var(--ink); }
.board li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 2px solid var(--line-light); transition: background-color .18s var(--ease), padding .18s var(--ease); }
.board li:hover { background: var(--paper); padding-inline: 16px; }
.board-no { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--muted-light); }
.board p { color: var(--muted-light); margin-top: 4px; }
.board-price { font-family: var(--display); font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.5rem); line-height: 1; text-transform: uppercase; white-space: nowrap; }

/* Tire calculator */
.calc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 2px; background: var(--line-dark); border: 2px solid var(--line-dark); }
.calc fieldset, .calc-out { background: var(--steel); padding: 24px; display: grid; align-content: start; gap: 14px; }
.calc legend, .field-label { float: left; width: 100%; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); padding: 0; margin-bottom: 14px; }
.light .field-label { color: var(--muted-light); }
.chips { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.chips label, .check { position: relative; display: inline-flex; }
.chips input, .check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--line-dark); font-weight: 600; font-size: .9375rem; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease); }
.light .chips span { border-color: var(--line-light); background: var(--paper); }
.chips label:hover span { border-color: var(--orange); }
.chips input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--char); }
.chips input:focus-visible + span, .check input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.chips input:disabled + span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.check { clear: both; }
.check span { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.check span::before { content: ""; width: 22px; height: 22px; border: 2px solid var(--line-dark); background: var(--char); }
.check input:checked + span::before { background: var(--orange); border-color: var(--orange); box-shadow: inset 0 0 0 4px var(--char); }
.calc-out { background: var(--char); }
.calc-price { font-family: var(--display); font-size: clamp(4rem, 2.5rem + 4vw, 7rem); line-height: .9; color: var(--orange); }
.calc-price output.bump { animation: bump .3s var(--ease); }
@keyframes bump { 40% { transform: translateY(-6px); } }
.calc-price output { display: inline-block; }
.calc-lines { color: var(--muted-dark); font-size: .9375rem; }
.no-js .calc fieldset, .no-js .calc-out { pointer-events: none; }
.tires > .note { margin-top: 14px; }
.table-wrap { margin-top: 48px; overflow-x: auto; }
.prices { width: 100%; border-collapse: collapse; min-width: 560px; }
.prices caption { text-align: left; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); padding-bottom: 12px; }
.prices th, .prices td { padding: 14px 16px 14px 0; border-bottom: 2px solid var(--line-dark); text-align: left; }
.prices thead th { font-size: .8125rem; font-weight: 600; color: var(--muted-dark); }
.prices tbody th { font-family: var(--display); font-size: 1.5rem; font-weight: 400; }
.prices td { font-weight: 600; }
.table-wrap .note { margin-top: 12px; }

/* Booking demo */
.book-grid .section-head { margin-bottom: 40px; }
.book { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.35fr) minmax(0, 1.6fr) minmax(0, 1.1fr); gap: 2px; background: var(--line-light); border: 2px solid var(--line-light); }
.book > * { background: var(--concrete); padding: 24px; }
.book .field-label { display: block; }
.book select { width: 100%; padding: 0 14px; min-height: 52px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); font: 600 1rem var(--body); color: var(--ink); }
.times span { min-width: 72px; justify-content: center; }
.book-out { display: grid; align-content: start; gap: 14px; background: var(--char) !important; color: var(--paper); }
.book-out .label { color: var(--muted-dark); }
.book-summary { font-family: var(--display); font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1; text-transform: uppercase; }
.book-out .btn:disabled { border-color: var(--line-dark); color: var(--muted-dark); }
.book-out .note { color: var(--muted-dark); }

/* Steps */
.steps-section { padding-top: 0; }
.steps-title { margin-bottom: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.steps li { display: grid; gap: 10px; padding: 28px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 2px solid var(--line-light); }
.steps span { font-family: var(--display); font-size: 3.5rem; line-height: 1; color: var(--orange); -webkit-text-stroke: 1px var(--ink); }
.steps p { color: var(--muted-light); max-width: 34ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.contact-list { display: grid; gap: 18px; margin: 32px 0; }
.contact-list dt { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.contact-list dd { font-size: 1.375rem; font-weight: 600; }
.hours { border-collapse: collapse; min-width: 280px; }
.hours caption { text-align: left; padding-bottom: 10px; }
.hours th, .hours td { padding: 10px 24px 10px 0; border-bottom: 2px solid var(--line-dark); text-align: left; }
.hours th { font-family: var(--display); font-weight: 400; font-size: 1.375rem; }
.map { display: grid; gap: 10px; }
.map svg { width: 100%; height: auto; border: 2px solid var(--line-dark); }

/* Footer */
.footer { padding-block: 40px; border-top: 2px solid var(--line-dark); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .note { max-width: 60ch; }
.footer .note a { color: inherit; }

/* Entrances */
.motion [data-in] { opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.motion [data-in].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; } }

@media (max-width: 1100px) {
  .calc { grid-template-columns: 1fr 1fr; }
  .book { grid-template-columns: 1fr 1fr; }
  .book-out { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .wheel { max-width: 420px; justify-self: center; width: 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n + 3) { border-top: 2px solid var(--line-dark); }
  .section-head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0 8px; border-left: 0; }
  .steps li + li { border-top: 2px solid var(--line-light); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .logo small { display: none; }
  .ribbon { font-size: .75rem; }
  .calc, .book { grid-template-columns: 1fr; }
  .calc fieldset, .calc-out, .book > * { padding: 18px; }
  .board li { grid-template-columns: 40px minmax(0, 1fr); }
  .board-price { grid-column: 2; }
  .board-no { font-size: 1.5rem; }
  .actions .btn { width: 100%; }
}
.chips .note { min-height: 0; padding: 0; border: 0; background: none; font-weight: 400; }
