/* High Tech Vinyl - one stylesheet for every page. Tokens come from the build brief. */
:root {
  --ground: #111315;
  --surface: #16191C;
  --line: #2C3035;
  --text: #F2F0EB;
  --text-muted: #A7ADB4;
  --text-muted-2: #B9BEC4;
  --concrete: #ECEAE5;
  --ink: #16181A;
  --ink-muted: #4A4F55;
  --accent: #FF6A13;
  --accent-dark: #9A3B00;
  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--accent-dark); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: var(--gutter); min-height: 44px; display: inline-flex; align-items: center; top: .5rem; z-index: 20; background: var(--accent); color: var(--ground); padding: .6rem .9rem; }

/* ---------- type ---------- */
.h-xl, .h-lg, .h-md {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
.h-xl { font-size: clamp(2.9rem, 6.1vw, 5.5rem); line-height: .92; }
.h-xl span { display: block; }
.h-lg { font-size: clamp(2.4rem, 5.6vw, 4.25rem); line-height: .95; }
.h-md { font-size: 1.65rem; line-height: 1; font-weight: 700; }
.accent { color: var(--accent); }
.eyebrow {
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent); margin-bottom: 1rem;
}
.light .eyebrow { color: var(--accent-dark); }
.lede { color: var(--text-muted-2); max-width: 38rem; margin-top: 1.25rem; }
.light .lede { color: var(--ink-muted); }
.todo { font-size: 14px; color: var(--text-muted); margin-top: .9rem; }
.light .todo { color: var(--ink-muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .2rem 1.5rem;
  border: 2px solid currentColor; background: transparent; color: inherit;
  font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1;
  text-transform: uppercase; letter-spacing: .04em; text-decoration: none; cursor: pointer;
}
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--ground); }
.btn--accent:hover { background: var(--text); border-color: var(--text); }
.light .btn--accent:hover { background: var(--ink); border-color: var(--ink); color: var(--concrete); }
.btn--outline:hover { background: var(--text); border-color: var(--text); color: var(--ground); }
.light .btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--concrete); }
.btn--sm { min-height: 44px; font-size: 1.05rem; padding-inline: 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.link { font-weight: 600; text-underline-offset: .22em; text-decoration-thickness: 2px; }
.link:hover { color: var(--accent); }
.light .link:hover { color: var(--accent-dark); }

/* ---------- header ---------- */
.hdr { background: var(--ground); color: var(--text); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; margin-right: auto; text-decoration: none; min-height: 44px; }
.brand__mark {
  width: 48px; height: 48px; flex: none;
}
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.45rem; line-height: 1; text-transform: uppercase; letter-spacing: .03em; }
.hdr__switch { font-size: 15px; color: var(--text-muted-2); text-underline-offset: .22em; display: inline-flex; align-items: center; min-height: 44px; }
.hdr__switch:hover { color: var(--accent); }
.hdr__phone { font-weight: 600; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.hdr__phone:hover { color: var(--accent); }

/* ---------- sections ---------- */
.sec { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.sec--surface { background: var(--surface); }
.sec--rule { border-top: 1px solid var(--line); }
.light { background: var(--concrete); color: var(--ink); }
.dark { background: var(--ground); color: var(--text); }
.sec__head { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* photos and photo placeholders */
.photo { background: var(--surface); object-fit: cover; object-position: 77% 50%; width: 100%; height: 100%; }
.ph {
  display: grid; place-items: center; text-align: center; padding: 1.5rem;
  border: 1px dashed var(--text-muted); background: var(--surface); color: var(--text-muted-2);
  font-size: 14px; font-weight: 600; letter-spacing: .04em; min-height: 12rem;
}
.light .ph { border-color: var(--ink-muted); background: transparent; color: var(--ink-muted); }

/* ---------- welcome chooser ---------- */
.choose { display: grid; grid-template-rows: auto 1fr; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); }
.choose__head { text-align: center; padding: clamp(1.75rem, 4vw, 3rem) var(--gutter); }
.choose__continue { margin-top: .9rem; font-size: 15px; color: var(--text-muted-2); }
.choose__panels { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.panel {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  --pad: clamp(1.5rem, 4vw, 3.5rem);
  min-height: 26rem; padding: var(--pad); text-decoration: none; overflow: hidden;
}
/* The fleet photo fills the space above the text, edge to edge. It is always at least a strip tall
   enough for the whole truck, grows with the panel to show more sky, and stays anchored to its lower edge. */
.panel__bg {
  flex: 1 1 15.45vw; min-height: 15.45vw; max-height: 31.2vw;
  width: calc(100% + 2 * var(--pad)); max-width: none; margin: 0 calc(-1 * var(--pad)) 1.25rem;
  object-fit: cover; object-position: 50% 100%;
}
.panel__shade { position: absolute; inset: 0; }
.panel--fleet { background: var(--ground); color: var(--text); padding-top: 0; justify-content: flex-start; }
.panel--fleet .panel__body { margin-top: auto; }
.panel--fleet .panel__shade { background: rgba(17, 19, 21, .4); }
.panel--local { background: var(--concrete); color: var(--ink); }
.panel--local .panel__shade { background: rgba(236, 234, 229, .82); }
.panel--local .eyebrow { color: var(--accent-dark); }
.panel__note { position: absolute; top: 1rem; left: 1rem; right: 1rem; font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.panel__body { position: relative; max-width: 32rem; }
.panel__body p:not(.eyebrow) { margin-top: 1rem; }
.panel--fleet .panel__body p:not(.eyebrow) { color: var(--text-muted-2); }
.panel--local .panel__body p:not(.eyebrow) { color: var(--ink-muted); }
.panel .btn { margin-top: 1.75rem; }
.panel:hover .btn--accent { background: var(--text); border-color: var(--text); }
.panel--local:hover .btn--accent { background: var(--ink); border-color: var(--ink); color: var(--concrete); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.hero__text { padding: clamp(2.5rem, 7vw, 6rem) var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.hero__media { min-height: 20rem; position: relative; }
.hero__media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.light.hero { border-bottom-color: rgba(22, 24, 26, .2); }

/* ---------- logo strip ---------- */
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; margin-top: 1.25rem; }
.logos li { display: grid; place-items: center; min-height: 5rem; border: 1px dashed var(--text-muted); color: var(--text-muted-2); font-size: 13px; font-weight: 600; text-align: center; padding: .5rem; }

/* ---------- tiles (what we install) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.tile { padding: 1.75rem 1.5rem 2rem; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.tile svg { width: 40px; height: 40px; stroke: var(--accent-dark); fill: none; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; margin-bottom: 1.25rem; }
.tile p { color: var(--ink-muted); margin-top: .6rem; }

/* ---------- programs ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem 5rem; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.chips li { border: 1px solid var(--line); padding: .45rem .8rem; font-size: 15px; font-weight: 500; color: var(--text-muted-2); }
.numbered li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 0 1rem; padding-block: 1.4rem; border-top: 1px solid var(--line); }
.numbered li:last-child { border-bottom: 1px solid var(--line); }
.numbered .num { font-family: var(--display); font-weight: 800; font-size: 2.1rem; line-height: 1; color: var(--accent); }
.numbered h3 { font-size: 1.05rem; font-weight: 600; }
.numbered p { color: var(--text-muted-2); margin-top: .3rem; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.steps li { border-top: 2px solid var(--accent); padding-top: 1.25rem; }
.steps .num { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--accent); line-height: 1; }
.steps h3 { margin-top: .4rem; }
.steps p { color: var(--text-muted-2); margin-top: .6rem; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shot { border: 1px solid var(--line); background: var(--surface); }
.shot img, .shot .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; min-height: 0; border: 0; }
.shot .ph { border-bottom: 1px dashed var(--text-muted); }
.shot figcaption { padding: .8rem 1rem .9rem; font-size: 15px; color: var(--text-muted-2); border-top: 1px solid var(--line); }
.card { border: 2px solid var(--ink); padding: 1.5rem 1.4rem 1.6rem; display: flex; flex-direction: column; }
.card p { color: var(--ink-muted); margin-top: .6rem; }
.card .price { margin-top: auto; padding-top: 1.25rem; font-family: var(--display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; color: var(--accent-dark); }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.points li { border-top: 2px solid var(--accent); padding-top: 1.1rem; font-weight: 500; }
.review { border: 1px dashed var(--ink-muted); padding: 1.5rem; color: var(--ink-muted); font-size: 15px; font-weight: 600; min-height: 9rem; display: grid; place-items: center; text-align: center; }

/* before / after */
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.ba { --pos: 50%; }
.ba__frame { position: relative; aspect-ratio: 4 / 3; border: 2px solid var(--ink); overflow: hidden; }
.ba__layer { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; }
.ba__after { background: var(--concrete); color: var(--ink-muted); justify-items: end; padding-right: 1rem; }
.ba__before { background: var(--surface); color: var(--text-muted-2); justify-items: start; padding-left: 1rem; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--accent); }
.ba input[type="range"] { width: 100%; height: 44px; margin: .25rem 0 0; accent-color: var(--accent-dark); }
.ba__label { font-size: 15px; color: var(--ink-muted); }

/* visit */
.visit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.visit dt { font-family: var(--display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; }
.visit dd { color: var(--text-muted-2); margin-top: .35rem; }
.visit a { color: var(--text); }

/* ---------- work gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filters button {
  min-height: 44px; padding: .2rem 1.2rem; border: 2px solid var(--line); background: transparent; color: var(--text);
  font-family: var(--display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ground); }

/* ---------- forms ---------- */
.form { max-width: 46rem; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.form__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: .4rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 15px; font-weight: 600; padding: 0; }
.field legend { margin-bottom: .4rem; }
.field input:not([type="radio"]):not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .65rem .8rem; font: inherit; color: inherit;
  background: var(--ground); border: 1px solid var(--text-muted); border-radius: 0;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input[type="file"] { font: inherit; font-size: 15px; min-height: 44px; padding-block: .5rem; max-width: 100%; }
.light .field input:not([type="radio"]):not([type="file"]), .light .field select, .light .field textarea { background: transparent; border: 1.5px solid var(--ink); }
.pills { display: block; }
.pills__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pills label { position: relative; display: inline-flex; }
.pills input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pills span { display: inline-flex; align-items: center; min-height: 44px; padding: .2rem 1.1rem; border: 1px solid var(--text-muted); font-weight: 600; }
.light .pills span { border: 1.5px solid var(--ink); }
.pills input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--ground); }
.pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.light .pills input:focus-visible + span { outline-color: var(--accent-dark); }
.hp { position: absolute; left: -999rem; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.form__status { font-weight: 600; max-width: 26rem; }
.form__status[data-state="error"] { color: var(--accent); }
.light .form__status[data-state="error"] { color: var(--accent-dark); }
.form__done { border: 2px solid var(--accent); padding: 1.5rem; font-weight: 600; max-width: 46rem; }
.light .form__done { border-color: var(--accent-dark); }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.25rem; }

/* ---------- footer ---------- */
.ftr { background: var(--ground); color: var(--text-muted-2); border-top: 1px solid var(--line); padding-block: 2.5rem; font-size: 15px; }
.ftr__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem 3rem; }
.ftr a { color: var(--text); text-underline-offset: .22em; display: inline-flex; align-items: center; min-height: 44px; }
.ftr__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.75rem; }
.ftr__legal { flex-basis: 100%; color: var(--text-muted); }

/* ---------- responsive ---------- */
@media (max-width: 62rem) {
  .hero, .split { grid-template-columns: minmax(0, 1fr); }
  .hero__text { padding-left: var(--gutter); }
  .hero__media { min-height: 0; aspect-ratio: 3 / 2; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .hdr__in { gap: .25rem 1rem; }
  .brand__name { font-size: 1.25rem; }
  .hdr .btn { order: 2; }
  .hdr__phone { order: 3; }
  .hdr__switch { order: 4; margin-left: auto; }
  .choose { min-height: 0; }
  .choose__panels { grid-template-columns: minmax(0, 1fr); }
  .panel { min-height: 20rem; }
  .panel__bg { flex-basis: 30.9vw; min-height: 30.9vw; max-height: 62.4vw; }
  .tiles, .steps, .cards, .cards--4, .points, .ba-grid, .visit, .form__grid, .form__grid--3 { grid-template-columns: minmax(0, 1fr); }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
