/* Big Red Small Engine — site styles
   Warm off-white + charcoal, red only as an accent (Call buttons and a few fine details). */

:root {
  --bone: #f2f3f4;
  --paper: #fafbfb;
  --ink: #161618;
  --ink-2: #26262a;
  --muted: #5d6167;
  --muted-light: #a2a6ac;
  --line: rgba(22, 22, 24, .12);
  --line-strong: rgba(22, 22, 24, .22);
  --line-light: rgba(242, 243, 244, .14);
  --red: #c8262d;
  --red-hover: #ad1f25;
  --red-soft: #e5554e;
  --gold: #a87b23;
  --gold-light: #e2b555;
  --ok: #2f7d4f;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 65px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.005em; line-height: 1; }
p, dl, dd, figure, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 6px; background: var(--ink); color: var(--bone); font-weight: 500; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.star { color: var(--gold); letter-spacing: .04em; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--red); }
.lead { margin-top: 16px; max-width: 34rem; font-size: 17px; color: var(--muted); }
.section h2 { font-size: clamp(40px, 6vw, 68px); }
.section .eyebrow + h2 { margin-top: 16px; }

/* ---------- Buttons + links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px;
  font: 500 15.5px/1.1 var(--sans); letter-spacing: .005em; text-align: center; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .25s, color .25s, border-color .25s, transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-call { background: var(--red); color: #fff; }
.btn-call:hover { background: var(--red-hover); }
.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: #000; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--bone); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; transition: text-decoration-color .2s, color .2s; }
.text-link:hover { text-decoration-color: var(--red); }
.text-link.muted { color: var(--muted); }
.text-link .i { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(242, 243, 244, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 17px; padding-bottom: 17px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { width: 30px; height: 30px; flex: none; border-radius: 7px; }
.brand span { font: 600 16.5px/1.2 var(--sans); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand span { color: var(--red); }
.brand em { font-style: normal; font-weight: 400; color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: 26px; flex: none; font-size: 14.5px; font-weight: 500; }
.nav a { color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--red); }
.nav-wide, .nav-phone { display: none; }
.nav-phone { align-items: center; gap: 7px; }
.nav-phone .i { width: 15px; height: 15px; color: var(--red); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 0; }
.hero-grid { display: grid; }
/* phones: headline, buttons, then the red photo panel, then the facts */
.hero-copy { display: contents; }
.hero-title { order: 1; } .hero-sub { order: 2; } .hero-ctas { order: 3; } .hero-visual { order: 4; margin-top: 34px; } .hero .ledger { order: 5; margin-bottom: 48px; }
.hero-title { font-size: clamp(50px, 8.6vw, 104px); line-height: .9; letter-spacing: -.012em; }
/* extra room at the bottom so letters like g, p and comma tails never get clipped */
.hero-title .line { display: block; overflow: hidden; padding: .04em 0 .22em; margin: -.04em 0 -.22em; }
.hero-title .line.red { color: var(--red); }
.hero-title .line > span { display: block; }
.hero-sub { margin-top: 22px; max-width: 30rem; font-size: 18px; line-height: 1.55; color: var(--muted); }
.hero-ctas { margin-top: 26px; display: grid; gap: 10px; }
.cap-label { font: 500 11.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.ledger { display: grid; border-top: 1px solid var(--line); }
.hero .ledger { margin-top: 30px; }
.ledger > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ledger dt { font: 500 11.5px/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ledger dd { font-size: 15.5px; color: var(--ink); }
.ledger dd a { transition: color .2s; }
.ledger dd a:hover { color: var(--red); }
.ledger strong { font-weight: 600; }

/* the red panel: bleeds off the right edge, fine engraved lines + a big gear mark */
.hero-visual { position: relative; padding: 56px 0 72px; }
.hero-red {
  position: absolute; top: 0; bottom: 0; left: -20px; right: -20px; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 16px),
    radial-gradient(120% 90% at 100% 0%, #dc3a40 0%, var(--red) 46%, #95191f 100%);
}
.hero-gear { position: absolute; right: -70px; bottom: -80px; width: 320px; height: 320px; color: rgba(255, 255, 255, .12); transform: rotate(calc(var(--p, 0) * 120deg)); }
.hero-photo { position: relative; z-index: 1; width: 78%; max-width: 400px; margin: 0 auto; }
.hero-photo-link { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: #d6d9dd; border: 6px solid #fff; box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .45); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; transform: scale(calc(1.06 - var(--p, 0) * .06)); transition: opacity .4s; will-change: transform; }

/* floating cards */
.widget { position: absolute; z-index: 2; display: flex; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: 0 18px 40px -14px rgba(22, 22, 24, .45); transition: transform .3s var(--ease); }
.widget:hover { transform: translateY(-3px); }
.w-rating { top: 22px; right: 2%; align-items: center; gap: 12px; padding: 12px 16px; }
.w-big { font: 600 34px/1 var(--display); }
.w-rating .star { display: block; color: var(--gold); font-size: 13px; letter-spacing: .1em; }
.w-small { display: block; font-size: 12.5px; color: var(--muted); }
.w-sale { left: 2%; bottom: 26px; max-width: 250px; flex-direction: column; gap: 4px; padding: 14px 16px; }
.w-sale[hidden] { display: none; }
#hero-caption-text { font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.w-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.w-go .i { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.w-sale:hover .w-go .i { transform: translateX(3px); }

/* hero load-in: calm, no bounce */
.hero-title .line > span { animation: rise .9s var(--ease) both; }
.hero-title .line:nth-child(2) > span { animation-delay: .08s; }
.hero-sub, .hero-ctas, .hero .ledger { animation: fade .8s var(--ease) both; animation-delay: .3s; }
.hero-red { animation: panel 1s var(--ease) both; }
.hero-photo { animation: fade 1.1s var(--ease) .2s both; }
.w-rating { animation: pop .7s var(--ease) .65s both; }
.w-sale { animation: pop .7s var(--ease) .8s both; }
@keyframes rise { from { transform: translateY(104%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes panel { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes pop { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Seasonal note ---------- */
.season { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.season-in { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
.season-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 15.5px; color: var(--ink-2); }
.season-tag { display: inline-flex; align-items: center; gap: 9px; font: 500 11.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.season-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.season-link { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; transition: text-decoration-color .2s; }
.season-link:hover { text-decoration-color: var(--red); }
.season-link .i { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.season-link:hover .i { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }

/* Repairs: an editorial list, not tiles */
.services { background: var(--bone); }
.svc-layout { display: grid; gap: 40px; }
.svc-intro .text-link { margin-top: 26px; }
.svc-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: 2.6rem 1fr; gap: 2px 12px; padding: 20px 0 21px; }
.svc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-strong); transform-origin: left; transform: scaleX(1); }
.js .svc.reveal::before { transform: scaleX(0); transition: transform 1s var(--ease) .1s; }
.js .svc.reveal.in::before { transform: scaleX(1); }
.svc-n { grid-row: span 2; padding-top: 7px; font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--red); transition: color .25s; }
.svc-name { font: 500 clamp(26px, 3.2vw, 38px)/1.05 var(--display); letter-spacing: -.005em; transition: transform .35s var(--ease); }
.svc-desc { color: var(--muted); font-size: 15.5px; }
.svc:hover .svc-n { color: var(--red); }
.svc:hover .svc-name { transform: translateX(6px); }

/* Machines for sale */
.for-sale { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sale-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.mp-rating { position: relative; display: inline-flex; align-items: baseline; gap: 6px; padding-bottom: 4px; font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--line-strong); transition: border-color .2s, color .2s; }
.mp-rating strong { color: var(--ink); font-weight: 600; }
.mp-rating:hover { color: var(--ink); border-color: var(--red); }
.inv-toolbar { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.inv-toolbar:not(:has(:not([hidden]))) { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters[hidden] { display: none; }
.filter { min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font-size: 14.5px; font-weight: 500; transition: background-color .2s, border-color .2s, color .2s; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.filter .n { margin-left: 7px; font-family: var(--mono); font-size: 12px; opacity: .65; }
.inv-live { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.inv-live[hidden] { display: none; }
.inv-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

.inv-grid { margin-top: 32px; display: grid; gap: 28px; }
.card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); transition: border-color .3s; }
.card:hover { border-color: var(--line-strong); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e6e8eb; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:not(.is-sold):hover .card-media img { transform: scale(1.03); }
.card-media.ph { display: grid; place-items: center; color: #aeb2b8; }
.card-media.ph svg { width: 48%; height: auto; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.pill { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(251, 250, 246, .92); color: var(--ink); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.pill.pending::before { background: #c98a1b; }
.pill.sold { background: var(--ink); color: var(--bone); }
.pill.sold::before { background: var(--red-soft); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
.card-type { font: 500 11.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card h3 { margin-top: 8px; font-size: 30px; font-weight: 500; line-height: 1.02; }
.card-notes { margin-top: 10px; flex: 1; color: var(--muted); font-size: 15.5px; }
.card-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.card-price { font: 600 34px/1 var(--display); letter-spacing: -.01em; color: var(--red); }
.card-price.ask { font-size: 22px; font-weight: 500; }
.card .btn { margin-top: 18px; width: 100%; }
.card-link { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
.card-link:hover { color: var(--ink); }
.card-link .i { width: 14px; height: 14px; }
.card.is-sold .card-media img { filter: grayscale(1); opacity: .7; }
.card.is-sold .card-price { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.card.is-example { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.inv-divider { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 8px; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.inv-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* loading skeleton */
.skel .card-media, .sk { background: linear-gradient(90deg, #e8eaed 25%, #f5f6f8 50%, #e8eaed 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.sk { display: block; height: 13px; margin-top: 12px; border-radius: 3px; }
.sk.w40 { width: 40%; margin-top: 0; }
.sk.w70 { width: 70%; height: 26px; }
.sk.w60 { width: 60%; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* empty state */
.inv-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 40px 28px; border: 1px dashed var(--line-strong); border-radius: 4px; }
.inv-empty svg.art { width: 150px; height: auto; color: var(--muted-light); fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.inv-empty h3 { font-size: 32px; font-weight: 500; }
.inv-empty p { max-width: 34rem; color: var(--muted); }
.inv-empty .btn-row { margin-top: 6px; }

.inv-showmore { grid-column: 1 / -1; display: flex; justify-content: center; padding: 8px 0 4px; }
.inv-showmore .btn { min-width: min(320px, 100%); background: #fff; }
.inv-showmore .i { transform: rotate(90deg); }
.inv-more { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.noscript-note { margin-top: 16px; color: var(--muted); }

/* Reviews: the one dark moment */
.reviews { background: var(--ink); color: var(--bone); }
.reviews .star { color: var(--gold-light); }
.eyebrow.light { color: var(--muted-light); }
.rating-inline { letter-spacing: normal; text-transform: none; font-family: var(--sans); font-size: 14px; color: var(--bone); }
.fill-quote { margin-top: 34px; }
.fill-quote p { max-width: 17ch; font: 500 clamp(40px, 6.6vw, 92px)/.98 var(--display); letter-spacing: -.012em; color: var(--bone); }
.fill-quote .w { color: rgba(242, 243, 244, .17); transition: color .35s; }
.fill-quote .w.on { color: var(--bone); }
.fill-quote .w.hl.on { color: var(--red-soft); }
.fill-quote figcaption { margin-top: 20px; font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.fill-quote figcaption::before { content: "— "; }
.quotes { margin-top: 64px; display: grid; border-top: 1px solid var(--line-light); }
.quote { margin: 0; padding: 26px 0; border-bottom: 1px solid var(--line-light); }
.quote p { font-size: 19px; line-height: 1.5; color: var(--bone); }
.quote p::before { content: "“"; color: var(--red-soft); margin-right: 2px; }
.quote p::after { content: "”"; color: var(--red-soft); margin-left: 1px; }
.q-src { display: block; margin-top: 12px; font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.review-ctas { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.quiet-link { position: relative; font-weight: 500; color: var(--muted-light); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(162, 166, 172, .45); transition: color .2s; }
.quiet-link:hover { color: var(--bone); }

/* How it works */
.how { background: var(--bone); }
.steps { margin: 44px 0 0; padding: 0; list-style: none; display: grid; border-top: 1px solid var(--line); }
.step { display: flex; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step-n { position: relative; display: grid; place-items: center; width: 46px; height: 46px; flex: none; margin: 4px; border-radius: 50%; background: var(--ink); color: var(--bone); font: 600 22px/1 var(--display); transition: background-color .4s, color .4s; }
.step-n .ring { position: absolute; inset: -5px; width: 56px; height: 56px; transform: rotate(-90deg); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.step-n .ring .track { stroke: var(--line); }
.step-n .ring .sweep { stroke: var(--red); stroke-dasharray: 164; stroke-dashoffset: calc((1 - var(--f, 1)) * 164); }
.scrub-on .step:not(.lit) .step-n { background: transparent; color: var(--ink); }
.step-t { font: 500 26px/1.1 var(--display); }
.pickup { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-size: 15.5px; }
.pickup .i { color: var(--red); }
.pickup a { position: relative; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; }
.pickup a:hover { text-decoration-color: var(--red); }

.photo-cta { margin-top: 72px; display: grid; gap: 28px; padding: 40px 26px; border-radius: 6px; background: radial-gradient(120% 140% at 100% 0%, #d4343a 0%, var(--red) 45%, #8f1a20 100%); color: #fff; }
.photo-cta .btn-call { background: var(--ink); }
.photo-cta .btn-call:hover { background: #000; }
.photo-cta h2 { font-size: clamp(38px, 5.4vw, 64px); }
.photo-cta p { margin-top: 12px; max-width: 30rem; color: rgba(255, 255, 255, .86); font-size: 17px; }
.cta-btns { display: grid; gap: 10px; }

/* Contact */
.contact { background: var(--paper); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.contact-ledger { margin-top: 30px; }
.contact-ledger dd a { font-weight: 500; }
.contact .btn-pair { margin-top: 26px; }
.area { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.area label { display: block; font: 500 24px/1.1 var(--display); }
.area-row { margin-top: 14px; display: flex; gap: 8px; }
.area input { flex: 1; min-width: 0; min-height: 50px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink); font-size: 16px; transition: border-color .2s; }
.area input:focus { outline: none; border-color: var(--ink); }
.area-result:empty { display: none; }
.area-result { margin-top: 14px; padding: 16px 18px; border-radius: 4px; font-size: 15.5px; animation: fade .35s var(--ease) both; }
.area-result.yes { background: #eaf3ec; color: #1f5a37; }
.area-result.maybe { background: var(--bone); color: var(--ink); }
.area-result > .i { vertical-align: -3px; margin-right: 3px; }
.area-result .row { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.area-result .btn { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
.map-card { overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.map-frame { position: relative; height: 320px; background: #e3e6e9; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.45) contrast(1.02); }
.map-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 16px 18px; border-top: 1px solid var(--line); }
.map-name strong { display: block; font-weight: 600; font-size: 15px; }
.map-name span { display: block; font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted-light); padding: 64px 0 28px; }
.footer-top { display: flex; flex-direction: column; gap: 28px; padding-bottom: 36px; border-bottom: 1px solid var(--line-light); }
.footer-brand { font: 600 clamp(52px, 11vw, 150px)/.9 var(--display); letter-spacing: -.015em; color: var(--red-soft); }
.footer-brand span { display: block; color: var(--bone); }
.footer-top .btn-pair { display: none; } /* phones already have the sticky Call/Text bar */
.footer-bottom { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-bottom a { transition: color .2s; }
.footer-bottom a:hover { color: var(--bone); }

/* ---------- Sticky Call/Text bar (phones) ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  background: rgba(22, 22, 24, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(242, 243, 244, .1);
  animation: bar-in .5s var(--ease) .6s both;
}
.mobile-bar .btn { min-height: 52px; font-size: 16px; }
@keyframes bar-in { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 560px) {
  .hero-ctas { display: flex; flex-wrap: wrap; }
  .btn-pair { display: flex; }
  .cta-btns { display: flex; flex-wrap: wrap; }
  .season-in { flex-direction: row; align-items: center; justify-content: space-between; }
  .season-link { align-self: auto; flex: none; }
}
@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .nav-phone { display: inline-flex; }
  .hero { padding: 56px 0 0; }
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
  .hero-copy { display: block; padding-bottom: 64px; }
  .hero-visual { margin-top: 0; }
  .hero .ledger { margin-bottom: 0; }
  .hero-sub { font-size: 19px; }
  .hero-visual { align-self: stretch; display: flex; align-items: center; padding: 80px 0 96px; }
  .hero-red { left: 8%; right: calc(-50vw + 50%); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
  @keyframes panel { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } to { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); } }
  .hero-photo { width: 82%; margin: 0 0 0 18%; }
  .w-rating { right: -2%; }
  .w-sale { left: 0; }
  .section { padding: 120px 0; }
  .svc-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .svc-intro { position: sticky; top: calc(var(--header-h) + 40px); }
  .svc { grid-template-columns: 3.4rem minmax(0, 1.2fr) minmax(0, 1fr); align-items: baseline; padding: 26px 0 27px; }
  .svc-n { grid-row: auto; padding-top: 0; }
  .svc-desc { text-align: right; }
  .inv-grid { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-light); }
  .quote { padding: 30px 32px 32px 0; border-bottom: 0; }
  .quote + .quote { padding-left: 32px; border-left: 1px solid var(--line-light); }
  .steps { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .step { flex-direction: column; align-items: flex-start; gap: 22px; padding: 28px 28px 30px 0; border-top: 1px solid var(--line); border-bottom: 0; }
  .photo-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 56px; }
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
  .map-frame { height: 440px; }
  .footer-top { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .footer-top .btn-pair { display: flex; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .nav-wide { display: inline; }
}
@media (min-width: 1100px) {
  .inv-grid { grid-template-columns: repeat(3, 1fr); }
  /* Only 1-2 machines listed: two wide cards instead of a gap on the right */
  .inv-grid:not(:has(> :nth-child(3))) { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-photo img, .hero-gear { transform: none; }
}

/* Bigger tap areas for small text links on phones (same look, easier to hit) */
.nav a, .card-link, .text-link, .quiet-link, .pickup a, .season-link, .mp-rating { position: relative; }
.nav a::after, .card-link::after, .text-link::after, .quiet-link::after, .pickup a::after, .season-link::after { content: ""; position: absolute; inset: -12px -6px; }
