/* ==========================================================================
   Shane's Tire - customer page
   --------------------------------------------------------------------------
   Mobile first. Industrial, high contrast, heavy. This is a service shop:
   customers want in and out, and so does the page.

   THERE ARE NO LITERAL COLOURS IN THIS FILE. Every colour is a custom property
   generated from config.theme by themeVars(). Re-skinning for the next shop is
   a one-file change, and this file is not that file.
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: Barlow, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--off-white);
  background: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .015em;
  line-height: 1.02;
  margin: 0;
}

p { margin: 0; }
img { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--orange); color: var(--orange-ink);
  padding: 12px 18px; font-weight: 700; text-decoration: none;
}
.skip:focus { left: 0; }

/* ---- Buttons -------------------------------------------------------------
   Minimum 52px tall everywhere. This gets tapped in a parking lot, one handed,
   often with a phone in a case and a hand that has been under a truck.        */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .045em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.btn-call { background: var(--orange); color: var(--orange-ink); }
.btn-call:hover { background: var(--orange-bright); }
.btn-call:active { transform: translateY(1px); }

.btn-ghost { background: transparent; color: var(--off-white); border-color: var(--steel); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ==========================================================================
   Header
   ========================================================================== */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: var(--charcoal);
  border-bottom: 3px solid var(--orange);
}
.hdr-in {
  display: flex; align-items: center; gap: 10px;
  max-width: 1120px; margin: 0 auto;
  padding: 10px 12px;
  padding-left: max(12px, env(safe-area-inset-left));
  padding-right: max(12px, env(safe-area-inset-right));
}
.hdr-name {
  flex: 1 1 auto; min-width: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700; text-transform: uppercase;
  font-size: 1.5rem; letter-spacing: .01em;
  text-decoration: none; color: var(--white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hdr-name .accent { color: var(--orange); }

.hdr-call {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 16px;
  background: var(--orange); color: var(--orange-ink);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em;
  text-decoration: none; border-radius: 3px;
}
.hdr-call:hover { background: var(--orange-bright); }
.hdr-call svg { width: 20px; height: 20px; }

.hdr-menu {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: transparent; color: var(--off-white);
  border: 1px solid var(--charcoal-line); border-radius: 3px;
  cursor: pointer;
}
.hdr-menu svg { width: 24px; height: 24px; }
.hdr-menu:hover { border-color: var(--orange); color: var(--orange); }

/* ==========================================================================
   Drawer - slides in from the RIGHT, same side as the button that opened it
   ========================================================================== */
.scrim {
  position: fixed; inset: 0; z-index: 90;
  background: color-mix(in srgb, var(--charcoal) 78%, transparent);
  backdrop-filter: blur(2px);
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(320px, 86vw);
  background: var(--charcoal-soft);
  border-left: 3px solid var(--orange);
  transform: translateX(102%);
  transition: transform .22s cubic-bezier(.3, .8, .4, 1);
  display: flex; flex-direction: column;
  padding-right: env(safe-area-inset-right);
}
.drawer.open { transform: translateX(0); }

.drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--charcoal-line);
}
.drawer-title {
  font-family: "IBM Plex Mono", monospace; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--steel);
}
.drawer-x {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; border: 0; color: var(--off-white); cursor: pointer;
}
.drawer-x svg { width: 22px; height: 22px; }

.drawer-list { list-style: none; margin: 0; padding: 8px 0; flex: 1 1 auto; }
.drawer-list a {
  display: flex; align-items: center;
  min-height: 58px; padding: 0 18px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em;
  color: var(--off-white); text-decoration: none;
  border-bottom: 1px solid var(--charcoal-line);
}
.drawer-list a:hover { color: var(--orange); background: var(--charcoal); }

.drawer-foot {
  padding: 16px 18px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--charcoal-line);
}
.drawer-login {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: "IBM Plex Mono", monospace; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel-dim); text-decoration: none;
}
.drawer-login:hover { color: var(--orange); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--charcoal); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg .photo, .hero-bg img { width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      color-mix(in srgb, var(--charcoal) 74%, transparent) 0%,
      color-mix(in srgb, var(--charcoal) 88%, transparent) 60%,
      var(--charcoal) 100%);
}
.hero-in {
  position: relative;
  max-width: 1120px; margin: 0 auto;
  padding: 26px 18px 34px;
  padding-left: max(18px, env(safe-area-inset-left));
  padding-right: max(18px, env(safe-area-inset-right));
}

.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  border-radius: 2px; border: 1px solid;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge-open { color: var(--open); border-color: color-mix(in srgb, var(--open) 55%, transparent); background: color-mix(in srgb, var(--open) 14%, transparent); }
.badge-closed { color: var(--closed); border-color: color-mix(in srgb, var(--closed) 55%, transparent); background: color-mix(in srgb, var(--closed) 14%, transparent); }
.badge-wait { color: var(--orange); border-color: color-mix(in srgb, var(--orange) 55%, transparent); background: color-mix(in srgb, var(--orange) 12%, transparent); }
.badge-detail {
  font-family: "IBM Plex Mono", monospace;
  font-size: .74rem; letter-spacing: .08em; color: var(--steel);
}

.hero-h1 { font-size: clamp(2.9rem, 13vw, 5.4rem); color: var(--white); }
.hero-h1 .accent { color: var(--orange); }

.hero-line {
  margin-top: 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.25rem, 5.2vw, 1.8rem);
  letter-spacing: .02em; color: var(--off-white); line-height: 1.12;
}
.hero-line strong { color: var(--orange); font-weight: 700; }

.hero-sub {
  margin-top: 12px; max-width: 46ch;
  color: var(--steel); font-size: 1.02rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-cta .btn { flex: 1 1 220px; }

/* ==========================================================================
   THE WORK ORDER  -  the signature element
   --------------------------------------------------------------------------
   A quote at this shop happens on a piece of paper. So does the one on the
   website: perforated top edge, ruled field lines, monospace labels, a form
   number in the corner. It is the only light-on-dark surface on the page,
   which is also why it is the thing your eye lands on.
   ========================================================================== */
.quote-wrap {
  max-width: 640px; margin: 0 auto;
  padding: 8px 14px 40px;
  padding-left: max(14px, env(safe-area-inset-left));
  padding-right: max(14px, env(safe-area-inset-right));
}
.quote-head { padding: 18px 4px 16px; }

.sec-h {
  font-size: clamp(1.85rem, 7.5vw, 2.6rem);
  color: var(--white);
}
.sec-sub { margin-top: 7px; color: var(--steel); font-size: 1rem; }

.wo {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: 2px;
  box-shadow: 0 18px 44px color-mix(in srgb, #000 55%, transparent);
}
/* The tear-off edge. Purely decorative, and the reason it reads as paper. */
.wo-perf {
  height: 12px;
  background:
    radial-gradient(circle at 6px 0, transparent 0 5px, var(--paper) 5.5px) repeat-x 0 0 / 12px 12px;
  filter: drop-shadow(0 -1px 0 color-mix(in srgb, var(--paper-line) 60%, transparent));
}

.wo-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  padding: 4px 18px 14px;
  border-bottom: 2px solid var(--ink);
}
.wo-brand { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wo-biz {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  text-transform: uppercase; font-size: 1.45rem; line-height: 1; color: var(--ink);
}
.wo-addr, .wo-phone {
  font-family: "IBM Plex Mono", monospace; font-size: .68rem;
  letter-spacing: .04em; color: color-mix(in srgb, var(--ink) 62%, var(--paper));
}
.wo-phone { font-weight: 600; color: var(--ink); }

.wo-stamp { text-align: right; flex: 0 0 auto; }
.wo-stamp-k {
  display: block;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  font-size: .82rem; color: var(--orange);
}
.wo-stamp-n {
  display: block;
  font-family: "IBM Plex Mono", monospace; font-size: .74rem;
  color: color-mix(in srgb, var(--ink) 55%, var(--paper));
}

.wo-body { padding: 16px 18px 22px; }
.wo-row { margin-bottom: 18px; }

.wo-lab {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 60%, var(--paper));
  margin-bottom: 8px;
}
.wo-lab .req { color: var(--orange); letter-spacing: .1em; }
.wo-lab .opt, .opt { color: color-mix(in srgb, var(--ink) 40%, var(--paper)); letter-spacing: .1em; }

/* Ruled lines, like the pad. The field IS the line.                          */
.wo input[type="text"],
.wo input[type="tel"],
.wo input[type="email"],
.wo textarea {
  width: 100%;
  font-family: Barlow, sans-serif;
  font-size: 1.05rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--paper-line);
  border-radius: 0;
  padding: 10px 2px;
  min-height: 46px;
}
.wo textarea { resize: vertical; line-height: 1.45; }
.wo input::placeholder, .wo textarea::placeholder {
  color: color-mix(in srgb, var(--ink) 34%, var(--paper));
}
.wo input:focus, .wo textarea:focus {
  outline: none;
  border-bottom-color: var(--orange);
  border-bottom-width: 2px;
  background: color-mix(in srgb, var(--orange) 6%, transparent);
}
.wo input[aria-invalid="true"], .wo textarea[aria-invalid="true"] {
  border-bottom-color: var(--danger); border-bottom-width: 2px;
}

.wo-3 { display: grid; grid-template-columns: 84px 1fr 1fr; gap: 10px; }
.wo-cell { display: block; min-width: 0; }

.wo-help {
  margin-top: 7px;
  font-size: .86rem; line-height: 1.4;
  color: color-mix(in srgb, var(--ink) 58%, var(--paper));
}

/* ---- Service chips ------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-face {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 0 13px;
  border: 1.5px solid var(--paper-line);
  border-radius: 2px;
  background: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .025em;
  color: color-mix(in srgb, var(--ink) 80%, var(--paper));
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.chip-ico { display: block; width: 19px; height: 19px; opacity: .55; }
.chip-ico svg { width: 100%; height: 100%; }
.chip:hover .chip-face { border-color: var(--orange); }
.chip input:focus-visible + .chip-face { outline: 3px solid var(--orange); outline-offset: 2px; }
.chip input:checked + .chip-face {
  background: var(--orange); border-color: var(--orange); color: var(--orange-ink);
}
.chip input:checked + .chip-face .chip-ico { opacity: 1; }

.wo-err {
  min-height: 1.3em; margin-bottom: 10px;
  font-family: "IBM Plex Mono", monospace; font-size: .82rem;
  color: var(--danger);
}

.btn-send {
  width: 100%;
  background: var(--orange); color: var(--orange-ink);
  min-height: 58px; font-size: 1.35rem;
}
.btn-send:hover { background: var(--orange-bright); }
.btn-send[disabled] { opacity: .6; cursor: progress; }

.wo-note {
  margin-top: 12px; text-align: center;
  font-size: .92rem; line-height: 1.45;
  color: color-mix(in srgb, var(--ink) 62%, var(--paper));
}

/* ---- Sent state ---------------------------------------------------------- */
.wo-done { padding: 40px 22px 44px; text-align: center; }
.wo-done-mark {
  display: grid; place-items: center;
  width: 62px; height: 62px; margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--orange); color: var(--orange-ink);
}
.wo-done-mark svg { width: 30px; height: 30px; }
.wo-done-h { font-size: 2rem; color: var(--ink); }
.wo-done-p { margin-top: 8px; color: color-mix(in srgb, var(--ink) 70%, var(--paper)); }
.wo-done-sub {
  margin-top: 10px;
  font-family: "IBM Plex Mono", monospace; font-size: .82rem;
  color: var(--orange);
}
.btn-done-call { margin-top: 20px; }

.hp { position: absolute !important; left: -9999px !important; opacity: 0 !important; }

/* ==========================================================================
   Sections
   ========================================================================== */
.sec { padding: 42px 0; }
.sec-in {
  max-width: 1120px; margin: 0 auto;
  padding: 0 18px;
  padding-left: max(18px, env(safe-area-inset-left));
  padding-right: max(18px, env(safe-area-inset-right));
}
.sec-svc { background: var(--charcoal-soft); border-top: 1px solid var(--charcoal-line); }

.svc-grid {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 10px;
}
.svc {
  background: var(--charcoal);
  border: 1px solid var(--charcoal-line);
  border-left: 3px solid var(--orange);
  border-radius: 2px;
  padding: 16px 14px 15px;
}
.svc-ico { display: block; width: 28px; height: 28px; color: var(--orange); margin-bottom: 10px; }
.svc-ico svg { width: 100%; height: 100%; }
.svc-h { font-size: 1.22rem; color: var(--white); line-height: 1.06; }
.svc-p { margin-top: 6px; font-size: .9rem; line-height: 1.4; color: var(--steel); }
.svc-price {
  margin-top: 9px;
  font-family: "IBM Plex Mono", monospace; font-weight: 600;
  font-size: .78rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--orange);
}

.flags {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.flags li {
  padding: 7px 12px;
  border: 1px solid var(--charcoal-line);
  border-radius: 2px;
  font-family: "IBM Plex Mono", monospace;
  font-size: .72rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--steel);
}
.svc-not {
  margin-top: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--steel-dim);
}

/* ---- Work strip ---------------------------------------------------------- */
.strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
  background: var(--charcoal-line);
  border-block: 1px solid var(--charcoal-line);
}
.strip-shot { display: block; }
.strip-shot img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }

/* ---- Reviews ------------------------------------------------------------- */
.sec-rev { background: var(--charcoal); border-top: 1px solid var(--charcoal-line); }
.rev-in { text-align: center; }
.rev-stars { display: flex; justify-content: center; gap: 4px; color: var(--orange); }
.star { display: block; width: 30px; height: 30px; }
.star svg { width: 100%; height: 100%; }
.rev-num {
  margin-top: 12px;
  font-family: "IBM Plex Mono", monospace; font-weight: 600;
  font-size: 1.02rem; letter-spacing: .05em; color: var(--off-white);
}
.rev-rating { font-size: 1.9rem; color: var(--orange); vertical-align: -2px; }
.rev-sub { margin-top: 6px; color: var(--steel); font-size: .95rem; }
.btn-rev { margin-top: 20px; }

/* ---- Hours and location -------------------------------------------------- */
.sec-hours { background: var(--charcoal-soft); border-top: 1px solid var(--charcoal-line); }
.hours-in { display: grid; gap: 38px; }

.hours-tbl { width: 100%; border-collapse: collapse; margin-top: 20px; }
.hours-tbl th, .hours-tbl td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--charcoal-line);
  text-align: left;
}
.hours-tbl th {
  font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  text-transform: uppercase; font-size: 1.12rem; letter-spacing: .03em;
  color: var(--off-white);
}
.hours-tbl td {
  font-family: "IBM Plex Mono", monospace; font-size: .88rem;
  color: var(--steel); text-align: right; white-space: nowrap;
}
.hours-tbl .is-today th, .hours-tbl .is-today td {
  background: color-mix(in srgb, var(--orange) 13%, transparent);
  color: var(--white);
}
.hours-tbl .is-today th { box-shadow: inset 3px 0 0 var(--orange); }
.today-tag {
  margin-left: 9px; padding: 2px 7px;
  background: var(--orange); color: var(--orange-ink);
  font-family: "IBM Plex Mono", monospace; font-weight: 600;
  font-size: .6rem; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 2px; vertical-align: 2px;
}
.hours-now {
  margin-top: 14px;
  font-family: "IBM Plex Mono", monospace; font-size: .8rem;
  letter-spacing: .08em; color: var(--orange);
}

.addr { margin-top: 20px; font-style: normal; }
.addr-1, .addr-2 {
  display: block;
  font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: .02em;
  font-size: 1.4rem; line-height: 1.15; color: var(--white);
}
.addr-2 { color: var(--steel); }
.addr-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.addr-btns .btn { flex: 1 1 180px; }
.addr-call {
  display: inline-flex; align-items: center; min-height: 48px; margin-top: 14px;
  font-family: "IBM Plex Mono", monospace; font-weight: 600;
  font-size: 1.05rem; letter-spacing: .05em;
  color: var(--orange); text-decoration: none;
}

/* ---- 404 ----------------------------------------------------------------- */
.sec-404 { padding: 80px 0 90px; }
.four {
  font-family: "IBM Plex Mono", monospace; font-weight: 600;
  font-size: 3.4rem; color: var(--orange); letter-spacing: .06em;
}
.sec-404 .hero-cta { max-width: 520px; }

/* ==========================================================================
   Footer  -  the Honor Built standard
   copyright left, Admin pill centered, "Site by Honor Built" right.
   Stacks vertically on mobile.
   ========================================================================== */
.foot {
  background: var(--charcoal);
  border-top: 3px solid var(--orange);
  padding: 22px 0 calc(96px + env(safe-area-inset-bottom));
}
.foot-in {
  max-width: 1120px; margin: 0 auto;
  padding: 0 18px;
  padding-left: max(18px, env(safe-area-inset-left));
  padding-right: max(18px, env(safe-area-inset-right));
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  justify-items: center;
  text-align: center;
}
.foot p { margin: 0; }
.foot-copy, .foot-credit {
  font-family: "IBM Plex Mono", monospace;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--steel-dim);
}
.foot-credit a {
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.foot-credit a:hover, .foot-credit a:focus-visible { color: var(--orange); border-bottom-color: var(--orange); }

.admin-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 20px;
  border: 1px solid var(--charcoal-line); border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel-dim); text-decoration: none;
}
.admin-pill:hover { border-color: var(--orange); color: var(--orange); }

/* ==========================================================================
   Sticky call bar (phones only)
   ========================================================================== */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--charcoal) 94%, transparent);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--charcoal-line);
}
.callbar-btn {
  flex: 1 1 auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 54px;
  background: var(--orange); color: var(--orange-ink);
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; border-radius: 3px;
}
.callbar-btn svg { width: 20px; height: 20px; }
.callbar-alt {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 92px; min-height: 54px;
  border: 2px solid var(--steel); border-radius: 3px;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--off-white); text-decoration: none;
}
.callbar-alt:hover { border-color: var(--orange); color: var(--orange); }

/* ==========================================================================
   Photo slots
   ========================================================================== */
.photo { display: block; position: relative; aspect-ratio: var(--ratio, 4 / 3); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-empty {
  background:
    linear-gradient(135deg, var(--charcoal-soft) 0%, var(--charcoal) 100%),
    repeating-linear-gradient(45deg, transparent 0 10px, color-mix(in srgb, var(--steel) 8%, transparent) 10px 20px);
  background-blend-mode: normal;
}

/* ==========================================================================
   Wider screens
   ========================================================================== */
@media (min-width: 640px) {
  .wo-note { font-size: .95rem; }
  .strip { gap: 4px; }
}

@media (min-width: 760px) {
  body { font-size: 18px; }
  .hero-in { padding: 46px 24px 56px; }
  .quote-wrap { padding-bottom: 56px; }
  .sec { padding: 60px 0; }
  .hours-in { grid-template-columns: 1fr 1fr; gap: 48px; }

  /* Footer goes three across: copyright left, Admin centered, credit right. */
  .foot { padding-bottom: 26px; }
  .foot-in {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    text-align: left;
  }
  .foot-copy { justify-self: start; }
  .foot-mid { justify-self: center; }
  .foot-credit { justify-self: end; text-align: right; }

  /* The call bar is a phone affordance. On a desktop the header button is
     already in reach and a fixed bar just eats the page. */
  .callbar { display: none; }
}

@media (min-width: 1000px) {
  .hdr-call .lbl::after { content: " Us"; }
  .hero-h1 { font-size: 5.6rem; }
  .quote-wrap { max-width: 700px; }
}

/* ==========================================================================
   PHASE 4  -  photos on the quote form
   --------------------------------------------------------------------------
   The file input itself is off-screen. A bare file input on a phone is a small
   grey control that reads as broken, and this one has to look like the rest of
   the work order.
   ========================================================================== */
.photo-btn, .sidewall-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px;
  background: transparent;
  color: color-mix(in srgb, var(--ink) 75%, var(--paper));
  border: 1.5px dashed var(--paper-line);
  border-radius: 3px;
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.photo-btn:hover, .sidewall-btn:hover { border-color: var(--orange); color: var(--orange); }
.photo-btn[disabled] { opacity: .55; cursor: progress; }

.sidewall-btn { margin-top: 10px; width: 100%; }

.photo-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumb {
  position: relative; display: block;
  width: 74px; height: 74px;
  border: 1px solid var(--paper-line); border-radius: 3px; overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-x {
  position: absolute; top: 0; right: 0;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  color: var(--white);
  border: 0; cursor: pointer;
  font-size: 1.1rem; line-height: 1;
}
.thumb-x:hover { background: var(--danger); }
