/* J & L Autobody
   Theme: the shop floor. Graphite surfaces, masking-tape yellow, hazard striping.
   Type: Archivo. Expanded and uppercase for headlines, normal width for text. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --bg: #121416;
  --panel: #1a1d21;
  --panel-2: #23272c;
  --line: #32373e;
  --text: #f3f3ef;
  --muted: #a9aeb4;
  --tape: #f2c230;
  --tape-deep: #d9a914;
  --ink: #15171a;
  --ink-soft: #4b5159;
  --paper: #f5f5f1;
  --paper-line: rgba(21, 23, 26, 0.2);
  --stop: #ef5a4c;
  --error: #a3261a;
  --ok: #1d6b3c;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --stripe: repeating-linear-gradient(-45deg, var(--tape) 0 14px, var(--ink) 14px 28px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* The hidden attribute must win over any display rule below (buttons, grids). */
[hidden] { display: none !important; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

h1, h2, h3 { margin: 0; font-weight: 800; }
h1, h2 { font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1; font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.06; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 700; }
.hl { color: var(--tape); }

:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--tape); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
.stripe { height: 10px; background: var(--stripe); }
.stars { color: var(--tape); letter-spacing: 3px; font-size: 1.25rem; line-height: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px;
  font: inherit; font-stretch: 112%; font-weight: 800; font-size: 1rem; line-height: 1.2;
  text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 3px; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-small { min-height: 44px; padding: 0 18px; font-size: 0.875rem; }
.btn-primary { background: var(--tape); color: var(--ink); }
.btn-primary:hover { background: #ffd95a; }
.btn-outline { border-color: rgba(243, 243, 239, 0.55); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--text); background: var(--text); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2b3036; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- utility bar and header ---------- */
.utilbar { background: #0b0c0e; border-bottom: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.utilbar-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 28px; min-height: 40px; flex-wrap: wrap; padding-block: 6px; }
.utilbar a { text-decoration: none; }
.utilbar a:hover { color: var(--text); text-decoration: underline; }
.schedule { display: flex; flex-wrap: wrap; gap: 4px 22px; font-variant-numeric: tabular-nums; }
.schedule span { color: var(--text); font-weight: 700; margin-right: 5px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(18, 20, 22, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.wordmark { font-stretch: 125%; font-weight: 900; font-size: 1.625rem; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; line-height: 1; margin: 0; }
.wordmark .amp { color: var(--tape); }
.wordmark-sub { font-stretch: 112%; font-weight: 700; font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; margin-left: 6px; color: var(--muted); }
.site-nav { display: flex; gap: 24px; margin-left: auto; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 0.9688rem; padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav a:hover { border-bottom-color: var(--tape); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .btn { white-space: nowrap; }
.header-phone { font-weight: 800; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--tape); }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 8vw, 112px); border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 20, 22, 0.97) 0%, rgba(18, 20, 22, 0.88) 42%, rgba(18, 20, 22, 0.5) 100%),
    linear-gradient(0deg, rgba(18, 20, 22, 0.9) 0%, rgba(18, 20, 22, 0) 35%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.kicker {
  display: block; margin-bottom: 20px;
  font-stretch: 112%; font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.08em; line-height: 1.4; color: var(--tape);
}
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.45rem); line-height: 1.02; }
.hero h1 .hl { display: block; }
.lede { margin-top: 26px; font-size: 1.25rem; line-height: 1.5; max-width: 32em; color: #d6d9dc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.rating { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; text-decoration: none; }
.rating:hover span:last-child { text-decoration: underline; }

.starter { background: rgba(26, 29, 33, 0.9); backdrop-filter: blur(6px); border: 1px solid var(--line); }
.starter h2 { font-size: 1.375rem; padding: 26px 26px 0; }
.starter > p { margin: 10px 0 0; padding: 0 26px; color: var(--muted); font-size: 0.9688rem; }
.starter-list { margin-top: 20px; border-top: 1px solid var(--line); }
.starter-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 54px; padding: 10px 26px; text-decoration: none; font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.starter-list li:last-child a { border-bottom: 0; }
.starter-list a::after { content: ""; width: 9px; height: 9px; border: solid var(--tape); border-width: 2px 2px 0 0; transform: rotate(45deg); flex: none; }
.starter-list a:hover { background: var(--tape); color: var(--ink); }
.starter-list a:hover::after { border-color: var(--ink); }

/* ---------- proof ---------- */
.proof { background: var(--panel); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid li { padding: 28px 24px 28px 0; }
.proof-grid li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.proof strong { display: block; font-stretch: 125%; font-size: 1.1875rem; font-weight: 800; text-transform: uppercase; line-height: 1.2; }
.proof span { display: block; margin-top: 6px; font-size: 0.9375rem; color: var(--muted); line-height: 1.4; }

/* ---------- sections ---------- */
main { overflow-x: clip; }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-panel { background: var(--panel); border-block: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head p { margin: 14px 0 0; color: var(--muted); font-size: 1.125rem; }

/* ---------- services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; height: 100%; background: var(--panel); border: 1px solid var(--line); text-decoration: none; overflow: hidden; transition: border-color 0.15s; }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(0.85) brightness(0.9); transition: filter 0.2s; }
.service-card:hover { border-color: var(--tape); }
.service-card:hover img { filter: none; }
.service-card-body { display: flex; flex-direction: column; gap: 8px; padding: 22px; flex: 1; }
.service-card strong { font-stretch: 112%; font-size: 1.1875rem; font-weight: 800; line-height: 1.25; }
.service-card-body > span { color: var(--muted); font-size: 0.9688rem; }
.service-card em { margin-top: auto; padding-top: 10px; font-style: normal; font-weight: 700; font-size: 0.9375rem; color: var(--tape); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- fit ---------- */
.fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fit { background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--tape); padding: clamp(22px, 3vw, 36px); }
.fit-no { border-top-color: var(--stop); }
.fit h3 { font-stretch: 112%; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 18px; }
.fit li { position: relative; padding: 14px 0 14px 38px; border-top: 1px solid var(--line); color: var(--muted); }
.fit li strong { color: var(--text); }
.fit-yes li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 16px; height: 8px; border: solid var(--tape); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.fit-no li::before, .fit-no li::after { content: ""; position: absolute; left: 3px; top: 25px; width: 18px; height: 3px; background: var(--stop); transform: rotate(45deg); }
.fit-no li::after { transform: rotate(-45deg); }

/* ---------- steps: a real sequence, so it is numbered ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 26px 22px 28px; background: var(--panel); }
.steps li + li { border-left: 1px solid var(--line); }
.steps li::before {
  content: "0" counter(step); display: block; margin-bottom: 16px;
  font-stretch: 125%; font-weight: 900; font-size: 2.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--tape);
}
.steps p { margin: 8px 0 0; color: var(--muted); font-size: 0.9688rem; }

/* ---------- taped photo ---------- */
.taped { position: relative; margin: 0; }
.taped img { width: 100%; object-fit: cover; box-shadow: 0 24px 50px -24px #000; }
.taped::before, .taped::after {
  content: ""; position: absolute; z-index: 2; width: 118px; height: 34px;
  background: var(--tape); background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 7px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  clip-path: polygon(0 12%, 3% 0, 6% 14%, 9% 2%, 100% 0, 97% 22%, 100% 44%, 97% 66%, 100% 88%, 96% 100%, 0 100%, 3% 76%, 0 54%, 3% 32%);
}
.taped::before { top: -15px; left: -30px; transform: rotate(-38deg); }
.taped::after { bottom: -15px; right: -30px; transform: rotate(-38deg) scaleX(-1); }

/* ---------- claim ---------- */
.claim-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.claim .taped { transform: rotate(-1.5deg); }
.claim .taped img { aspect-ratio: 4 / 3; }
.claim h2 .hl { display: block; }
.claim p { margin: 18px 0 0; color: #d0d3d6; font-size: 1.125rem; max-width: 34em; }
.claim .btn { margin-top: 28px; }

/* ---------- video ---------- */
.video { position: relative; display: block; width: 100%; max-width: 980px; padding: 0; border: 1px solid var(--line); background: #000; cursor: pointer; aspect-ratio: 16 / 9; margin-top: 28px; }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--tape); }
.video-play::after { content: ""; position: absolute; left: 33px; top: 26px; border: solid transparent; border-width: 16px 0 16px 26px; border-left-color: var(--ink); }

/* ---------- reviews ---------- */
.reviews-row { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.reviews-row > div { max-width: 44em; }
.reviews-stars { color: var(--tape); font-size: 2.25rem; letter-spacing: 8px; line-height: 1; margin-bottom: 18px; }
.reviews p:not(.reviews-stars) { margin: 16px 0 0; color: var(--muted); font-size: 1.125rem; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq { border-top: 2px solid var(--tape); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 44px 20px 0; font-weight: 700; font-size: 1.125rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: var(--tape); transition: transform 0.15s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--tape); }
.faq p { margin: 0; padding: 0 44px 22px 0; color: #cfd2d5; max-width: 44em; }

/* ---------- visit ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.address { margin-top: 20px; font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.visit-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 14px 0 30px; font-weight: 700; }
.visit-links a { color: var(--tape); text-underline-offset: 4px; }
.hours { width: 100%; border-collapse: collapse; border-top: 2px solid var(--tape); }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; color: var(--tape); }
.fineprint { margin-top: 18px; font-size: 0.9688rem; color: var(--muted); }
.map { min-height: 400px; border: 1px solid var(--line); background: var(--panel); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 400px; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* ---------- closer ---------- */
.closer { background: var(--tape); color: var(--ink); }
.closer-row { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; padding-block: clamp(40px, 6vw, 72px); }
.closer p { margin: 12px 0 0; font-size: 1.125rem; font-weight: 500; }
.closer .hero-actions { margin-top: 0; }

/* ---------- footer ---------- */
.site-footer { background: #0b0c0e; color: var(--muted); font-size: 0.9688rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr 1fr; gap: 36px 48px; padding-block: 56px 40px; }
.site-footer .wordmark { color: var(--text); margin-bottom: 14px; }
.site-footer h2 { font-size: 0.875rem; letter-spacing: 0.1em; color: var(--text); margin-bottom: 14px; }
.site-footer li { padding: 4px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--tape); text-decoration: underline; }
.site-footer address { margin-top: 14px; line-height: 1.6; }
.site-footer address a { color: var(--text); font-weight: 700; }
.footer-hours li { display: flex; justify-content: space-between; gap: 16px; }
.footer-base { border-top: 1px solid var(--line); padding-block: 20px; font-size: 0.875rem; }
.footer-base p { margin: 0; }
.callbar { display: none; }

/* ---------- service pages ---------- */
.page-hero { padding-block: clamp(36px, 6vw, 80px); background: var(--panel); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.page-hero-photo { transform: rotate(1.5deg); }
.page-hero-photo img { aspect-ratio: 4 / 3; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 0.9375rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--tape); }

.article-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.article h2 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin: 44px 0 16px; }
.article h2:first-child { margin-top: 0; }
.article p { color: #d3d6d9; font-size: 1.125rem; line-height: 1.65; max-width: 40em; }
.checks li { position: relative; padding: 13px 0 13px 38px; border-top: 1px solid var(--line); font-size: 1.0625rem; }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 16px; height: 8px; border: solid var(--tape); border-width: 0 0 3px 3px; transform: rotate(-45deg); }

.side-card { position: sticky; top: 96px; background: var(--panel); border: 1px solid var(--line); }
.side-card h2 { font-size: 1.25rem; padding: 24px 24px 0; }
.side-card > p { padding: 0 24px; margin: 10px 0 0; color: var(--muted); }
.side-card .btn { margin: 20px 24px 0; }
.side-facts { margin: 24px 24px 0; border-top: 1px solid var(--line); }
.side-facts li { padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 0.9688rem; }
.side-card .side-nap { padding: 18px 24px 24px; font-size: 0.9375rem; }
.side-nap a { color: var(--text); font-weight: 700; }

.link-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.link-list a { display: block; height: 100%; padding: 20px 22px; text-decoration: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.link-list a:hover { background: var(--panel); }
.link-list a:hover strong { color: var(--tape); }
.link-list strong { display: block; font-size: 1.0625rem; }
.link-list span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.9375rem; }
.areas { margin: 28px 0 0; color: var(--muted); }

.plain-page { padding-block: clamp(56px, 10vw, 140px); }

/* ---------- estimate page: a work order on the bench ---------- */
.book { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 8vw, 104px); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.book h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.book-lede { margin: 14px 0 28px; color: var(--muted); font-size: 1.125rem; }

.ticket { background: var(--paper); color: var(--ink); }
.ticket > :not(.stripe) { margin-inline: clamp(18px, 4vw, 44px); }
.ticket .stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: s; margin-top: 26px; margin-bottom: 30px; }
.stepper li { counter-increment: s; padding-top: 10px; border-top: 4px solid var(--paper-line); font-size: 0.875rem; font-weight: 700; color: var(--ink-soft); }
.stepper li::before { content: counter(s) ". "; }
.stepper li.is-done { border-top-color: var(--ink); color: var(--ink); }
.stepper li.is-current { border-top-color: var(--tape-deep); color: var(--ink); }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ticket fieldset { padding-top: 6px; }
.ticket fieldset + fieldset { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--paper-line); }
.ticket.is-stepped fieldset + fieldset { margin-top: 0; padding-top: 6px; border-top: 0; }
.ticket.is-stepped fieldset[hidden] { display: none; }
legend { float: left; width: 100%; padding: 0; margin-bottom: 22px; font-stretch: 125%; font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.15; }
legend + * { clear: both; }
legend:focus { outline: none; }

.field-row { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-row.three { grid-template-columns: 0.6fr 1fr 1.2fr; }
.field { margin-bottom: 22px; }
.field label, .choice-label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 1rem; }
.optional { font-weight: 400; color: var(--ink-soft); }
.hint { display: block; margin-top: 6px; font-size: 0.9375rem; color: var(--ink-soft); }

input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="password"], select, textarea {
  width: 100%; min-height: 52px; padding: 11px 14px;
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #8b9097; border-radius: 3px;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--tape-deep); outline-offset: 1px; border-color: var(--ink); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); border-width: 2px; }
.error-text { display: block; margin-top: 6px; font-size: 0.9375rem; font-weight: 700; color: var(--error); }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 18px; margin: 0;
  background: #fff; border: 1.5px solid #8b9097; border-radius: 3px; font-weight: 600; cursor: pointer;
}
.choices input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; flex: none; }
.choices label:has(input:checked) { background: var(--tape); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choices label:has(input:focus-visible) { outline: 3px solid var(--tape-deep); outline-offset: 2px; }
.choices-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices-tiles label { min-height: 58px; }

.dropzone { padding: 22px; background: #fff; border: 2px dashed #8b9097; border-radius: 3px; text-align: center; }
.dropzone.is-over { border-color: var(--ink); background: #fdf5d3; }
.dropzone p { margin: 0 0 14px; color: var(--ink-soft); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; margin-top: 16px; }
.thumbs li { position: relative; }
.thumbs img, .thumbs .thumb-file { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; background: #dcddd9; }
.thumbs .thumb-file { display: grid; place-items: center; font-size: 0.8125rem; padding: 8px; text-align: center; word-break: break-all; }
.thumb-remove { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.125rem; line-height: 1; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-footer { margin-top: 10px; padding-block: 24px 30px; border-top: 1px solid var(--paper-line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form-footer p { margin: 0 0 0 auto; font-size: 0.9375rem; color: var(--ink-soft); }
.form-alert { padding: 14px 18px; background: #fbeceb; border-left: 4px solid var(--error); font-weight: 700; color: var(--ink); }
.ticket .form-alert { margin-bottom: 24px; }

.aside-card { background: var(--panel); border: 1px solid var(--line); padding: 28px 26px; position: sticky; top: 96px; }
.aside-card h2 { font-size: 1.25rem; }
.next-steps { counter-reset: n; margin-top: 18px; }
.next-steps li { counter-increment: n; position: relative; padding: 12px 0 12px 40px; border-top: 1px solid var(--line); color: #d0d3d6; }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 11px; width: 26px; height: 26px; display: grid; place-items: center; background: var(--tape); color: var(--ink); font-weight: 800; font-size: 0.875rem; }
.aside-phone { display: block; margin-top: 22px; font-stretch: 125%; font-size: 1.5rem; font-weight: 900; color: var(--tape); text-decoration: none; }
.aside-hours { margin: 18px 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.aside-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; color: var(--muted); }
.aside-card > p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

.done { background: var(--paper); color: var(--ink); padding: clamp(28px, 5vw, 56px); border-top: 10px solid var(--tape); }
.done p { margin: 16px 0 0; font-size: 1.125rem; max-width: 36em; }
.done .ref { display: inline-block; margin-top: 22px; padding: 8px 14px; background: var(--ink); color: var(--tape); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.06em; }

/* Two deliberate lines on a wide screen: the claim, then the catch. */
@media (min-width: 1101px) { .hero h1 .hl { white-space: nowrap; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; margin-left: auto; font: inherit; font-weight: 700; font-size: 0.9375rem; color: var(--text); background: transparent; border: 1.5px solid var(--line); border-radius: 3px; cursor: pointer; }
  .header-row { gap: 14px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li + li { border-left: 0; }
  .steps li { border-bottom: 1px solid var(--line); }
  .steps li:nth-child(even) { border-left: 1px solid var(--line); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  body { font-size: 1rem; }
  .utilbar-row > a { display: none; }
  .schedule { gap: 2px 16px; font-size: 0.8125rem; }
  .hero-grid, .claim-grid, .visit-grid, .faq-grid, .page-hero-grid, .article-grid, .book-grid, .fit-grid { grid-template-columns: minmax(0, 1fr); }
  .hero::before { background: linear-gradient(0deg, rgba(18, 20, 22, 0.98) 0%, rgba(18, 20, 22, 0.86) 60%, rgba(18, 20, 22, 0.7) 100%); }
  .hero-bg { object-position: 60% 30%; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid li { padding: 20px 16px 20px 0; }
  .proof-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof-grid li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .faq-grid .section-head { margin-bottom: 8px; }
  .taped::before, .taped::after { width: 88px; height: 28px; }
  .taped::before { left: -18px; } .taped::after { right: -18px; }
  .claim .taped, .page-hero-photo { margin-inline: 8px; }
  .side-card, .aside-card { position: static; }
  .field-row, .field-row.three { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .form-footer p { margin-left: 0; flex-basis: 100%; }
  .header-phone, .header-actions .btn { display: none; }
  .has-callbar { padding-bottom: 76px; }
  .callbar { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #0b0c0e; border-top: 1px solid var(--line); }
  .callbar .btn { min-height: 50px; padding: 0 8px; font-size: 0.875rem; }
}

@media (max-width: 560px) {
  .steps, .service-grid, .footer-grid, .choices-tiles { grid-template-columns: minmax(0, 1fr); }
  /* On a phone a service is a row: small photo, then the text. Six tall cards would be a long scroll. */
  .service-grid { gap: 12px; }
  .service-card { flex-direction: row; }
  .service-card img { width: 108px; flex: none; aspect-ratio: auto; height: auto; align-self: stretch; }
  .service-card-body { padding: 16px; gap: 6px; }
  .service-card strong { font-size: 1.0625rem; }
  .steps li:nth-child(even) { border-left: 0; }
  .hero-actions .btn { width: 100%; }
  .stepper li { font-size: 0; }
  .stepper li.is-current { font-size: 0.875rem; grid-column: span 1; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service-card, .service-card img, .faq summary::before, .faq summary::after { transition: none; }
}
