/* 4G's Tire & Auto Repair — "carbon-copy repair order" direction.
   Canary duplicate-form yellow, ballpoint blue ink, typed Courier fields. */
:root {
  --c-primary: #1b3a8f;
  --c-primary-dark: #122a6b;
  --c-accent: #1b3a8f;
  --c-ink: #15171c;
  --c-muted: #3f4350;
  --c-bg: #fbf3c4;
  --c-surface: #f4e27c;
  --c-dark: #15171c;
  --c-on-dark: #fbf3c4;
  --c-border: #c9b85a;
  --paper: #fbf3c4;
  --canary: #f4e27c;
  --ink: #1b3a8f;
  --f-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;
  --f-type: "Courier Prime", "Courier New", monospace;
  --f-hand: "Caveat", "Segoe Print", cursive;
  --fw-head: 800;
  --radius: 0;
  --radius-sm: 0;
  --nav-h: 64px;
}
body { background: var(--paper); }
h1, h2, h3 { letter-spacing: 0; text-transform: none; }
:focus-visible { outline-color: var(--ink); }

/* Buttons: squared "stamped" buttons with an inset rule, no pill, no shadow */
.btn { border-radius: 0; box-shadow: none; font-family: var(--f-type); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; }
.btn:hover { transform: none; }
.btn--ink { background: var(--ink); color: #fff; outline: 1px solid var(--ink); outline-offset: 3px; }
.btn--ink:hover { background: #122a6b; color: #fff; }
.btn--paper { background: transparent; color: var(--ink); border: 2px dashed var(--ink); }
.btn--paper:hover { background: rgba(27,58,143,.08); color: var(--ink); }

/* HERO: intro + the ticket */
.wo-hero { padding: clamp(36px, 7vw, 88px) 0 clamp(48px, 8vw, 96px); background:
  repeating-linear-gradient(0deg, transparent 0 31px, rgba(27,58,143,.09) 31px 32px), var(--paper); }
.wo-hero-grid { display: grid; gap: 40px; }
.wo-hero-grid > * { min-width: 0; }
.wo-kicker { font-family: var(--f-type); font-size: .9rem; color: var(--c-muted); margin-bottom: 14px; }
.wo-hero h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); line-height: 1.02; max-width: 15ch; }
.wo-lead { font-size: 1.12rem; max-width: 52ch; }
.wo-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.ticket { position: relative; background: var(--canary); border: 1.5px solid var(--c-ink); padding: 18px 18px 14px; font-family: var(--f-type); box-shadow: 6px 6px 0 rgba(21,23,28,.18); transform: rotate(-1.2deg); }
.ticket::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 9px; background: radial-gradient(circle at 6px 9px, var(--paper) 5px, transparent 5.5px) 0 0/16px 9px repeat-x; }
.ticket-top { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--c-ink); padding-bottom: 8px; margin-bottom: 10px; }
.ticket-title { font-family: var(--f-head); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; }
.ticket-no { color: #8a1c1c; font-weight: 700; }
.ticket-fields { margin: 0 0 12px; }
.ticket-fields div { display: grid; grid-template-columns: 9.5em minmax(0,1fr); border-bottom: 1px solid rgba(21,23,28,.35); padding: 5px 0; }
.ticket-fields dt { font-size: .8rem; text-transform: uppercase; }
.ticket-fields dd { margin: 0; font-size: .95rem; }
.ink { font-family: var(--f-hand); color: var(--ink); font-size: 1.35rem; line-height: 1; }
.ticket-label { font-size: .8rem; text-transform: uppercase; margin: 6px 0; }
.ticket-checks { list-style: none; padding: 0; margin: 0 0 72px; display: grid; grid-template-columns: minmax(0,1fr); gap: 4px 16px; font-size: .92rem; }
@media (min-width: 480px) { .ticket-checks { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.ticket-checks li { position: relative; padding-left: 26px; }
.ticket-checks li::before { content: ""; position: absolute; left: 0; top: .22em; width: 15px; height: 15px; border: 1.5px solid var(--c-ink); background: #fff8d6; }
.ticket-checks li.on::after { content: "\2713"; position: absolute; left: 1px; top: -.35em; font-family: var(--f-hand); font-size: 1.6rem; color: var(--ink); }
.stamp { position: absolute; right: 18px; bottom: 44px; border: 3px solid var(--ink); color: var(--ink); font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1; text-align: center; padding: 8px 12px; transform: rotate(-11deg); opacity: .82; background: rgba(251,243,196,.6); }
.ticket-sig { display: flex; justify-content: space-between; align-items: end; border-top: 1px dashed var(--c-ink); padding-top: 8px; margin: 0; font-size: .8rem; text-transform: uppercase; }
@media (min-width: 900px) {
  .wo-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 64px; }
}

/* SERVICES as rate-sheet lines */
.sheet { background: var(--c-ink); color: var(--paper); padding: clamp(56px, 8vw, 96px) 0; }
.sheet-head { display: grid; gap: 8px; margin-bottom: 30px; border-bottom: 1px solid rgba(251,243,196,.3); padding-bottom: 18px; }
.sheet-head h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0; }
.sheet-head p { font-family: var(--f-type); font-size: .95rem; margin: 0; color: #e8dfae; max-width: 60ch; }
@media (min-width: 900px) { .sheet-head { grid-template-columns: auto minmax(0,1fr); align-items: end; gap: 40px; } }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { display: grid; grid-template-columns: 2.6em minmax(0,1fr); gap: 4px 16px; padding: 18px 0; border-bottom: 1px dashed rgba(251,243,196,.35); }
.lines .code { font-family: var(--f-type); color: var(--canary); font-weight: 700; padding-top: 4px; }
.lines h3 { font-size: 1.5rem; margin: 0 0 4px; color: #fff; }
.lines p { margin: 0; color: #e8dfae; }
.lines .price { grid-column: 2; font-family: var(--f-type); font-size: .9rem; color: var(--canary); }
@media (min-width: 768px) { .lines li { grid-template-columns: 3em minmax(0,1fr) 11em; align-items: baseline; } .lines .price { grid-column: 3; text-align: right; } }

/* OIL tear-off */
.oil { padding: clamp(56px, 8vw, 96px) 0; background: var(--canary); }
.oil-grid { display: grid; gap: 32px; }
.oil-grid > * { min-width: 0; }
.oil-photo { position: relative; background: #d8c769; border: 1.5px solid var(--c-ink); }
.oil-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.oil-photo .photo-note { position: absolute; left: 10px; bottom: 10px; margin: 0; }
.oil h2 { font-size: clamp(2rem, 5vw, 3rem); }
.hand { display: block; font-family: var(--f-hand); color: var(--ink); font-size: 1.15em; transform: rotate(-2deg); margin-top: 6px; }
.tearoff { list-style: none; padding: 0; margin: 22px 0 10px; display: grid; gap: 0; border: 1.5px solid var(--c-ink); background: var(--paper); }
.tearoff li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; font-family: var(--f-type); border-bottom: 2px dashed var(--c-ink); }
.tearoff li:last-child { border-bottom: 0; }
.tearoff b { font-family: var(--f-head); font-size: 2rem; color: var(--ink); width: 1.2em; }
.fine { font-family: var(--f-type); font-size: .8rem; color: var(--c-muted); }
@media (min-width: 900px) { .oil-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 56px; } }

/* REQUEST slip */
.request { padding: clamp(56px, 8vw, 96px) 0; background: var(--ink); color: #fff; }
.request h2 { font-size: clamp(2rem, 5vw, 3rem); }
.request-grid { display: grid; gap: 28px; }
.request-copy p { max-width: 42ch; }
.request-grid > * { min-width: 0; }
.slip { background: var(--canary); color: var(--c-ink); border: 1.5px solid #000; padding: clamp(20px, 4vw, 34px); font-family: var(--f-type); }
.slip .field label { font-family: var(--f-type); text-transform: uppercase; font-size: .8rem; }
.slip .field input, .slip .field select, .slip .field textarea { border-radius: 0; background: #fffbe3; border: 0; border-bottom: 2px solid var(--c-ink); font-family: var(--f-type); }
.slip .field input:focus, .slip .field select:focus, .slip .field textarea:focus { border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.slip .btn--ink { outline-color: #000; }
.slip .form-success p { font-family: var(--f-type); }
@media (min-width: 900px) { .request-grid { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 56px; align-items: start; } }

/* FOOTER: perforated customer copy */
.carbon { background: var(--paper); color: var(--c-ink); padding: 0 0 26px; font-family: var(--f-type); font-size: .92rem; }
.perf { height: 18px; border-top: 3px dashed var(--c-ink); margin-bottom: 18px; position: relative; }
.perf::before { content: "\2702"; position: absolute; left: 0; top: -15px; font-size: 1.3rem; background: var(--paper); padding-right: 6px; }
.carbon-row { display: grid; gap: 8px; }
.carbon-row p { margin: 0; }
.carbon a { color: var(--ink); }
.carbon-copy { color: var(--c-muted); font-size: .8rem; text-transform: uppercase; }
@media (min-width: 768px) { .carbon-row { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) auto; align-items: end; } }

.photo-note { border-radius: 0; }

/* HEADER: the top strip of a shop form (own markup, not the template nav) */
.formhead { position: sticky; top: 0; z-index: 100; background: var(--canary); border-bottom: 3px double var(--ink); font-family: var(--f-type); }
.formhead-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 4px var(--gutter); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid rgba(21,23,28,.35); background: var(--paper); color: var(--c-muted); }
.formhead-addr { display: none; }
@media (min-width: 640px) { .formhead-addr { display: inline; } }
.formhead-bar { position: relative; max-width: var(--container); margin: 0 auto; padding: 8px var(--gutter); display: flex; align-items: center; gap: 14px; min-height: 60px; }
.fh-brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--ink); }
.fh-brand svg { width: 28px; height: 28px; align-self: center; }
.fh-brand b { font-family: var(--f-head); font-size: 1.7rem; line-height: 1; }
.fh-brand span { font-size: .85rem; display: none; }
@media (min-width: 420px) { .fh-brand span { display: inline; } }
.fh-tabs { display: none; margin-left: auto; align-self: stretch; }
.fh-tabs a { display: flex; align-items: center; padding: 0 14px; color: var(--c-ink); text-decoration: none; font-weight: 700; font-size: .85rem; border-left: 1px solid rgba(21,23,28,.35); }
.fh-tabs a:hover { background: var(--paper); color: var(--ink); }
.fh-phone { display: none; text-decoration: none; color: #fff; background: var(--ink); padding: 6px 14px; line-height: 1.15; font-weight: 700; }
.fh-phone small { display: block; font-size: .65rem; text-transform: uppercase; opacity: .8; font-weight: 400; }
.fh-toggle { margin-left: auto; border-radius: 0; background: var(--paper); border: 1.5px solid var(--ink); }
@media (min-width: 960px) { .fh-tabs, .fh-phone { display: flex; } .fh-phone { display: block; } }
/* Menu hangs from the header bar, never from the viewport */
.fh-drawer { position: absolute; inset: auto 0 auto 0; top: 100%; max-height: calc(100dvh - 120px); overflow-y: auto; background: var(--paper); border-bottom: 3px double var(--ink); box-shadow: 0 10px 0 rgba(21,23,28,.12); padding: 6px var(--gutter) 20px; }
.fh-drawer a:not(.btn) { font-family: var(--f-type); font-weight: 700; display: flex; gap: 14px; border-bottom: 1px dashed var(--ink); }
.fh-drawer i { font-style: normal; color: #8a1c1c; }

/* HOURS + MAP band, high on the page */
.clock { background: var(--paper); padding: 0 0 clamp(48px, 7vw, 80px); }
.clock-grid { display: grid; gap: 0; border: 1.5px solid var(--c-ink); background: var(--canary); }
.clock-grid > * { min-width: 0; }
.clock-card { padding: clamp(20px, 4vw, 34px); }
.clock h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.clock .hours { font-family: var(--f-type); margin: 10px 0 16px; }
.clock .hours caption { text-align: left; font-size: .78rem; text-transform: uppercase; padding-bottom: 6px; color: var(--c-muted); }
.clock .hours th { text-align: left; font-weight: 400; padding: 8px 0; border-bottom: 1px solid var(--c-border); }
.clock-addr { font-family: var(--f-type); margin: 0; }
.clock-addr a { color: var(--ink); }
.clock-map { border: 0; border-top: 1.5px solid var(--c-ink); border-radius: 0; box-shadow: none; }
.clock-map iframe { height: 320px; }
@media (min-width: 900px) { .clock-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); } .clock-map { border-top: 0; border-left: 1.5px solid var(--c-ink); } .clock-map iframe { height: 100%; min-height: 340px; } }

/* Request photo + demo line */
.request-photo { margin: 24px 0 0; position: relative; background: #24408f; }
.request-photo img { width: 100%; aspect-ratio: 10/7; object-fit: cover; border: 1.5px solid #000; }
.request-photo .photo-note { position: absolute; left: 10px; bottom: 10px; margin: 0; }
.slip-demo { font-family: var(--f-type); font-size: .8rem; color: var(--c-muted); margin: 0; }

/* SAID: closing section, shop story + reviews */
.said { padding: clamp(56px, 8vw, 104px) 0; }
.said-grid { display: grid; gap: 40px; }
.said-grid > * { min-width: 0; }
.said h2 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); max-width: 18ch; }
.why { list-style: none; padding: 0; margin: 20px 0 0; font-family: var(--f-type); }
.why li { padding: 8px 0 8px 30px; border-bottom: 1px solid var(--c-border); position: relative; }
.why li::before { content: "\2713"; position: absolute; left: 4px; top: 0; font-family: var(--f-hand); font-size: 1.7rem; color: var(--ink); }
.said-notes { border-left: 4px solid var(--ink); padding-left: 22px; }
.said-src { font-family: var(--f-type); font-size: .8rem; text-transform: uppercase; color: var(--c-muted); }
.said-notes blockquote { margin: 0 0 18px; font-family: var(--f-hand); font-size: 1.6rem; line-height: 1.2; color: var(--ink); }
@media (min-width: 900px) { .said-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; align-items: center; } }

/* Mobile action: a claim tag hanging on the right edge (phones only) */
.claim-tag { position: fixed; right: 10px; bottom: 18px; z-index: 90; width: 74px; padding: 22px 0 12px; text-align: center; background: var(--canary); color: var(--ink); border: 1.5px solid var(--c-ink); text-decoration: none; font-family: var(--f-type); clip-path: polygon(50% 0, 100% 14%, 100% 100%, 0 100%, 0 14%); box-shadow: 4px 4px 0 rgba(21,23,28,.25); transform: rotate(4deg); }
.claim-hole { position: absolute; top: 9px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--c-ink); }
.claim-tag b { display: block; font-family: var(--f-head); font-size: 1.5rem; line-height: 1; text-transform: uppercase; }
.claim-tag small { font-size: .75rem; }
.claim-tag:focus-visible { outline: 3px solid var(--ink); }
@media (min-width: 960px) { .claim-tag { display: none; } }
.carbon { padding-bottom: 110px; }
@media (min-width: 960px) { .carbon { padding-bottom: 26px; } }
