/* Ever Peak Logistics: "Gantry" design system.
   Ontario highway signage as the design language. Overpass (Highway Gothic descendant) throughout. */

@font-face {
  font-family: "Overpass";
  src: url("/assets/fonts/overpass-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --asphalt: #14171a;
  --asphalt-2: #1b1f23;
  --asphalt-3: #262b31;
  --night: #0f1113;
  --steel: #3a4149;
  --sign: #1346c2;
  --sign-deep: #0e3592;
  --amber: #ffb400;
  --shoulder: #9aa2ab;
  --paper: #f3f5f7;
  --ink: #14171a;
  --ink-2: #4a525b;
  --line: #d8dde2;
  --danger: #b42318;
  --ease: cubic-bezier(.3, .7, .2, 1);
  --gutter: clamp(18px, 5vw, 48px);
  --wrap: 1200px;
  --head-h: 56px;
  --plate-h: 82px;
  --bar-h: 64px;
  --focus: var(--amber);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Overpass", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--asphalt);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
[id] { scroll-margin-top: 96px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--amber); color: #000; font-weight: 700; padding: 12px 18px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Themes ---------- */
.theme-dark { background: var(--asphalt); color: #fff; --focus: var(--amber); }
.theme-light { background: var(--paper); color: var(--ink); --focus: var(--sign); }

.section { padding-block: clamp(56px, 8vw, 112px); }
.section--flush { padding-top: 0; }
.section__head { max-width: 46rem; }
.section__head h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); }
.section__head p { margin-top: 16px; font-size: 1.15rem; color: var(--ink-2); }
.theme-dark .section__head p { color: #c4cad1; }

/* ---------- Buttons: signs, not pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border: 0; border-radius: 12px;
  font: inherit; font-weight: 700; font-size: 1.05rem; line-height: 1; text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .15s var(--ease), color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn--sign { background: var(--sign); color: #fff; box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 5px #fff; }
.btn--sign:hover { background: var(--sign-deep); }
.btn--outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--outline-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #e7ecf5; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .98rem; }
.btn[aria-busy="true"] { opacity: .65; pointer-events: none; }

/* ---------- Header: the logo hangs like a sign plate ----------
   The plate is anchored to the page (not the header), so it scrolls away with the content.
   Only the slim nav bar stays pinned, and only on desktop; phones use the bottom tab bar. */
body { position: relative; }
.site-header { position: relative; z-index: 50; background: var(--asphalt); border-bottom: 1px solid var(--asphalt-3); }
.site-header__inner { display: flex; align-items: flex-start; min-height: var(--head-h); }
.plate {
  position: absolute; top: 0; left: max(var(--gutter), calc(50% - var(--wrap) / 2)); z-index: 60;
  display: block; height: var(--plate-h); padding: 10px 12px; background: #fff;
  border-radius: 0 0 14px 14px; box-shadow: 0 10px 28px rgba(0, 0, 0, .4);
}
.plate img { height: calc(var(--plate-h) - 20px); width: auto; }
.site-header__right { margin-left: auto; display: flex; align-items: center; gap: 20px; height: var(--head-h); }
.header-call { display: none; }

.site-nav { display: none; position: relative; height: 100%; }
.site-nav ul { display: flex; list-style: none; height: 100%; }
.site-nav a {
  display: flex; align-items: center; height: 100%; padding: 0 18px;
  color: var(--shoulder); font-weight: 700; text-decoration: none; transition: color .2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav:not(.is-ready) a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--amber); }

.lane-marker {
  position: absolute; left: 0; bottom: 0; height: 3px; width: var(--mw, 0); border-radius: 2px;
  background: var(--amber); transform: translateX(var(--mx, 0)); opacity: 0; pointer-events: none;
  transition: transform .36s var(--ease), width .36s var(--ease);
}
.is-ready > .lane-marker { opacity: 1; }

/* ---------- Mobile tab bar ---------- */
.tabbar { display: none; }

/* ---------- Hero: the gantry ---------- */
.hero { position: relative; overflow: hidden; background: var(--asphalt); }
.hero__copy { max-width: 860px; margin-left: max(var(--gutter), calc(50% - var(--wrap) / 2)); }
.hero h1 { font-size: clamp(2.16rem, .9rem + 3.78vw, 3.6rem); line-height: 1.03; letter-spacing: -.03em; }
.nowrap { white-space: nowrap; }
.hero__sub { margin-top: 20px; max-width: 34em; font-size: clamp(1.1rem, 1rem + .5vw, 1.32rem); line-height: 1.5; color: #d3d8dd; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.gantry { margin-top: clamp(32px, 4.4vw, 56px); }
.gantry__beam { height: 16px; background: linear-gradient(#566069, #2c3238 55%, #1e2327); box-shadow: 0 2px 0 var(--night); }
.gantry__signs { display: grid; gap: clamp(14px, 2.4vw, 28px); grid-template-columns: 1fr; }
.sign-slot { position: relative; padding-top: 22px; }
.sign-slot::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 22px;
  background:
    linear-gradient(#4a525b, #4a525b) 16% 0 / 8px 100% no-repeat,
    linear-gradient(#4a525b, #4a525b) 84% 0 / 8px 100% no-repeat;
}
.sign {
  position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; isolation: isolate; overflow: hidden;
  min-height: clamp(150px, 16vw, 210px); padding: clamp(30px, 3vw, 42px) clamp(32px, 3.6vw, 48px);
  background: var(--sign); color: #fff; border-radius: 18px; text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.sign::before { content: ""; position: absolute; inset: 9px; border: 3px solid #fff; border-radius: 11px; pointer-events: none; z-index: 2; }
.sign::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .36) 50%, transparent 62%);
  transform: translateX(-130%); animation: sheen 1.3s var(--ease) .7s 1 forwards;
}
.sign-slot:nth-child(2) .sign::after { animation-delay: .9s; }
@keyframes sheen { to { transform: translateX(130%); } }
.sign__text { position: relative; z-index: 1; }
.sign__title { display: block; font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.8rem); font-weight: 800; line-height: 1.05; letter-spacing: -.015em; }
.sign__sub { display: block; margin-top: 10px; max-width: 24em; font-size: 1.05rem; line-height: 1.4; color: #dbe5ff; }
.sign__arrow { position: relative; z-index: 1; flex: none; align-self: center; width: clamp(38px, 4vw, 58px); height: auto; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.sign:active { transform: scale(.985); }
@media (hover: hover) {
  .sign:hover { background: var(--sign-deep); }
  .sign:hover .sign__arrow--down { transform: translateY(5px); }
  .sign:hover .sign__arrow--exit { transform: translate(4px, -4px); }
}
.gantry { position: relative; z-index: 1; padding-bottom: clamp(40px, 6vw, 84px); }
.hero__copy { position: relative; z-index: 1; }
.hero > .lane-line { position: relative; z-index: 1; }

/* Entrance: one short sequence on load (headline, intro, buttons rise in). The photo itself never animates.
   Plus a quiet scroll reveal for the steps and the call strip. Transform and opacity only. */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.hero__copy > * { animation: rise .8s var(--ease) both; }
.hero__copy > h1 { animation-delay: .05s; }
.hero__copy > .hero__sub { animation-delay: .17s; }
.hero__copy > .hero__cta { animation-delay: .29s; }
.will-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.will-reveal.is-in { opacity: 1; transform: none; }

/* The owners' real truck photo (hero and Drive with us). It sits beside the headline, never behind type,
   and fades into the road-dark background on desktop; on phones it follows the buttons as a full-width block. */
.hero__stage { position: relative; padding-top: calc(var(--plate-h) - var(--head-h) + clamp(24px, 3.6vw, 48px)); }
.hero__photo { position: relative; margin-top: 28px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--asphalt-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 94%; }
.page-head--photo { padding-bottom: 0; }
.page-head--photo .hero__photo { aspect-ratio: 2 / 1; }
.page-head--photo .hero__photo img { object-position: 50% 50%; }

@media (min-width: 860px) {
  .hero__stage { display: flex; align-items: center; min-height: 560px; padding-bottom: clamp(32px, 4vw, 56px); }
  /* The hero copy hangs 120px left of the page column (and may sit closer to the screen edge) so the truck gets the room. */
  .hero__stage > .hero__copy { max-width: 33rem; margin-left: max(32px, calc(50% - var(--wrap) / 2 - 120px)); }
  /* The photo is only lightly dimmed behind the copy, so a soft dark halo keeps the letters crisp over the trailer. */
  .hero__copy h1, .hero__copy .hero__sub { text-shadow: 0 1px 3px rgba(10, 12, 14, .7), 0 0 22px rgba(10, 12, 14, .6); }
  .hero__photo {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(84%, 1220px); margin: 0; aspect-ratio: auto; background: none;
  }
  .hero__photo img { object-position: 50% 88%; clip-path: inset(2px 0 2px 2px); }
  /* Dark and nearly opaque under the headline, easing off toward the truck; soft top and bottom edges. */
  .hero__photo::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      linear-gradient(90deg, var(--asphalt) 0%, rgba(20, 23, 26, .93) 8%, rgba(20, 23, 26, .6) 20%, rgba(20, 23, 26, .5) 30%, rgba(20, 23, 26, .34) 40%, rgba(20, 23, 26, .15) 52%, rgba(20, 23, 26, 0) 66%),
      linear-gradient(180deg, var(--asphalt) 0%, rgba(20, 23, 26, 0) 18%, rgba(20, 23, 26, 0) 82%, var(--asphalt) 100%);
  }
  .page-head--photo { padding-bottom: clamp(36px, 5vw, 64px); }
  .page-head--photo .page-head__copy { max-width: 34rem; }
  .page-head--photo .page-head__copy h1, .page-head--photo .page-head__copy p { text-shadow: 0 1px 3px rgba(10, 12, 14, .7), 0 0 22px rgba(10, 12, 14, .6); }
  .page-head--photo .hero__photo { width: min(84%, 1220px); margin: 0; aspect-ratio: auto; }
  .page-head--photo .hero__photo img { object-position: 50% 50%; }
  /* The Drive photo has a pale trailer running under the copy, so the fade is a little deeper than on the home hero. */
  .page-head--photo .hero__photo::after {
    background:
      linear-gradient(90deg, var(--asphalt) 0%, rgba(20, 23, 26, .95) 10%, rgba(20, 23, 26, .8) 22%, rgba(20, 23, 26, .64) 32%, rgba(20, 23, 26, .44) 42%, rgba(20, 23, 26, .2) 54%, rgba(20, 23, 26, 0) 68%),
      linear-gradient(180deg, var(--asphalt) 0%, rgba(20, 23, 26, 0) 18%, rgba(20, 23, 26, 0) 82%, var(--asphalt) 100%);
  }
  .page-head--photo .page-head__copy p { text-wrap: balance; }
}
/* Smaller laptops and tablets: the copy column takes a bigger share of the screen, so the photo starts further right
   and favours the logo and hiring door, which keeps the type clear of the pale trailer. */
@media (min-width: 860px) and (max-width: 1279px) {
  .page-head--photo .hero__photo { width: 58%; }
  .page-head--photo .hero__photo img { object-position: 78% 50%; }
}
@media (min-width: 860px) and (max-width: 959px) {
  .page-head--photo .hero__photo { width: 50%; }
}

/* ---------- Page head (inner pages) ---------- */
.page-head { position: relative; overflow: hidden; background: var(--asphalt); padding-top: calc(var(--plate-h) - var(--head-h) + clamp(28px, 5vw, 64px)); padding-bottom: clamp(36px, 5vw, 64px); }
.page-head__copy { position: relative; z-index: 1; max-width: 52rem; margin-left: max(var(--gutter), calc(50% - var(--wrap) / 2)); }
.page-head h1 { font-size: clamp(2.2rem, 1.1rem + 4.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em; }
.page-head p { margin-top: 18px; max-width: 36em; font-size: 1.2rem; line-height: 1.5; color: #d3d8dd; }
.lane-line { height: 6px; background: repeating-linear-gradient(90deg, #fff 0 30px, transparent 30px 60px); opacity: .9; }

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps { list-style: none; display: grid; gap: 30px; margin-top: 44px; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; align-content: start; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 62px; bottom: -30px; border-left: 3px dashed #b9c1c9; }
.step__n {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
  background: var(--sign); color: #fff; font-size: 1.5rem; font-weight: 800;
  box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 5px #fff, 0 0 0 6px var(--paper);
}
.step h3 { font-size: 1.3rem; letter-spacing: -.01em; }
.step p { margin-top: 6px; color: var(--ink-2); }

/* ---------- Legends (three plain facts) ---------- */
.legends { display: grid; gap: 28px; margin-top: 44px; }
.legend { padding-top: 18px; border-top: 4px solid var(--sign); }
.legend h3 { font-size: 1.4rem; letter-spacing: -.01em; }
.legend p { margin-top: 10px; color: var(--ink-2); }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 48px; padding: 18px 22px; background: #fff; border: 2px solid var(--ink); border-radius: 14px; width: fit-content; max-width: 100%; }
.rating__stars { display: flex; gap: 3px; }
.rating__stars svg { width: 22px; height: 22px; fill: #f5a300; }
.rating strong { font-size: 1.2rem; }
.rating a { font-weight: 700; color: var(--sign); text-underline-offset: .2em; text-decoration-thickness: 2px; }

/* ---------- Full-width sign band ---------- */
.band { position: relative; background: var(--sign); color: #fff; padding-block: clamp(64px, 9vw, 120px); --focus: #fff; }
.band::before { content: ""; position: absolute; inset: clamp(10px, 1.6vw, 18px); border: 3px solid #fff; border-radius: clamp(14px, 2vw, 22px); pointer-events: none; }
.band h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); max-width: 16em; }
.band p { margin-top: 16px; max-width: 34em; font-size: 1.2rem; color: #dbe5ff; }
.band .btn { margin-top: 28px; }
.band .wrap { position: relative; }
.band__arrow { display: none; }
@media (min-width: 900px) {
  .band__arrow { display: block; position: absolute; right: 0; top: 50%; width: clamp(180px, 20vw, 290px); height: auto; transform: translateY(-50%); fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
}

/* ---------- Contact strip + phone numbers ---------- */
.call-strip { display: grid; gap: 36px; }
.phone-big { display: block; font-size: clamp(1.9rem, 1.08rem + 3.42vw, 3.42rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; text-decoration: none; color: #fff; }
.phone-big:hover { color: var(--amber); }
.call-strip h2 { font-size: clamp(1.71rem, 1.08rem + 2.34vw, 2.79rem); }
.call-strip__sub { margin-top: 14px; color: #c4cad1; font-size: 1.15rem; max-width: 30em; }
.call-strip .btn { margin-top: 26px; }
.addr { font-style: normal; line-height: 1.5; color: #c4cad1; }
.addr strong { display: block; color: #fff; font-size: 1.1rem; }
.addr + .addr { margin-top: 18px; }
.addr a { color: #fff; font-weight: 700; text-underline-offset: .2em; text-decoration-thickness: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--shoulder); padding: 56px 0 40px; }
.site-footer__grid { display: grid; gap: 36px; }
.site-footer img { width: 210px; height: auto; }
.site-footer h2 { font-size: .98rem; letter-spacing: 0; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.55; }
.site-footer__base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--asphalt-3); font-size: .95rem; }

/* ---------- Photo strip (services): the owners' truck in profile, framed like the cards ---------- */
.photo-strip { margin: 0; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--asphalt-2); }
.photo-strip img { display: block; width: 100%; height: auto; }

/* ---------- Lane tabs (services) ---------- */
.lane-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 520px); margin-top: 32px; padding: 6px; background: var(--asphalt-3); border-radius: 18px; }
.lane-tabs__ind { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 2); border-radius: 12px; background: var(--sign); box-shadow: inset 0 0 0 2px #fff; transition: transform .36s var(--ease); pointer-events: none; }
.lane-tabs button { position: relative; z-index: 1; min-height: 54px; border: 0; background: none; font: inherit; font-size: 1.08rem; font-weight: 700; color: var(--shoulder); cursor: pointer; transition: color .2s; -webkit-tap-highlight-color: transparent; }
.lane-tabs button[aria-selected="true"] { color: #fff; }
.lane-panel { display: grid; gap: 36px; }
.lane-panel[hidden] { display: none; }
.lane-panel h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
.lane-panel__lead { margin-top: 16px; font-size: 1.2rem; color: var(--ink-2); max-width: 32em; }
.lane-panel__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.card { background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: clamp(22px, 3vw, 34px); }
.card h2, .card h3 { font-size: 1.35rem; letter-spacing: -.01em; }
.card .form { margin-top: 22px; }
.split > div > .lane-panel__lead { margin-top: 28px; }
.checklist { list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; line-height: 1.45; }
.checklist li::before {
  content: ""; width: 28px; height: 28px; border-radius: 8px; background: var(--sign) center / 17px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- FAQ ---------- */
.faq { margin-top: 36px; max-width: 52rem; }
.faq details { border-top: 2px solid var(--ink); }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 0; font-size: 1.15rem; font-weight: 700; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; background: currentColor; transition: transform .28s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 1rem; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.input {
  width: 100%; min-height: 54px; padding: 12px 14px; border: 2px solid #9aa4ad; border-radius: 12px;
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
}
textarea.input { min-height: 140px; resize: vertical; line-height: 1.5; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314171a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 20px no-repeat;
}
.input:focus-visible { outline: 3px solid var(--sign); outline-offset: 2px; border-color: var(--ink); }
.field.has-error .input { border-color: var(--danger); }
.field__error { color: var(--danger); font-weight: 700; font-size: .95rem; }
.form__note { font-size: .95rem; color: var(--ink-2); }
.form-status { padding: 16px 18px; border-radius: 12px; font-weight: 700; line-height: 1.45; }
.form-status[hidden] { display: none; }
.form-status[data-state="success"] { background: #e6f4ea; border: 2px solid #1e7a3e; color: #0f4a25; }
.form-status[data-state="error"] { background: #fdeceb; border: 2px solid var(--danger); color: #7a1710; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.split { display: grid; gap: clamp(36px, 6vw, 72px); }
.contact-block + .contact-block { margin-top: 32px; padding-top: 32px; border-top: 2px solid var(--line); }
.contact-block h2 { font-size: 1.1rem; letter-spacing: 0; color: var(--ink-2); font-weight: 700; margin-bottom: 8px; }
.contact-block .phone-big { color: var(--ink); }
.contact-block .phone-big:hover { color: var(--sign); }
.contact-block address { font-style: normal; font-size: 1.25rem; line-height: 1.45; font-weight: 700; }
.contact-block a.link { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--sign); text-underline-offset: .2em; text-decoration-thickness: 2px; }
.contact-block p { color: var(--ink-2); margin-top: 6px; }
.link { text-underline-offset: .2em; text-decoration-thickness: 2px; }
.contact-block a.link--mail { margin-top: 0; font-size: clamp(1rem, .6rem + 1.9vw, 1.3rem); overflow-wrap: anywhere; }
.site-footer a[href^="mailto:"] { overflow-wrap: anywhere; }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; align-items: center; padding-block: 72px; }
.lost .sign { max-width: 640px; min-height: 220px; }

/* ---------- Page-to-page motion (progressive; falls back to normal navigation) ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.tabbar { view-transition-name: site-tabbar; }
main { view-transition-name: page; }
::view-transition-group(site-header), ::view-transition-group(site-tabbar) { animation: none; }
::view-transition-old(site-header), ::view-transition-old(site-tabbar) { display: none; }
::view-transition-new(site-header), ::view-transition-new(site-tabbar) { animation: none; }
::view-transition-old(page) { animation: page-out .16s ease-in both; }
::view-transition-new(page) { animation: page-in .3s var(--ease) both; }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Breakpoints ---------- */
@media (min-width: 700px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .gantry__signs { grid-template-columns: 1fr 1fr; }
  .legends { grid-template-columns: repeat(3, 1fr); gap: 36px; }
}

@media (min-width: 860px) {
  :root { --head-h: 68px; --plate-h: 108px; }
  .site-header { position: sticky; top: 0; }
  .plate { padding: 12px 16px; }
  .plate img { height: calc(var(--plate-h) - 24px); }
  .site-nav { display: block; }
  .header-call { display: inline-flex; }
  .header-quote { display: none; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
  .steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: calc((100% - 84px) / 4 - 28px); border-top: 3px dashed #b9c1c9; }
  .step { grid-template-columns: 1fr; gap: 16px; }
  .step:not(:last-child)::before { display: none; }
  .call-strip { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .site-footer__grid { grid-template-columns: 1.2fr .85fr 1fr 1.3fr; }
  .lane-panel { grid-template-columns: 1.1fr .9fr; align-items: start; gap: 56px; }
  .split { grid-template-columns: .9fr 1.1fr; align-items: start; }
}

@media (max-width: 859.98px) {
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: repeat(5, 1fr);
    height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--night); border-top: 1px solid var(--asphalt-3);
  }
  .tabbar a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    font-size: .75rem; font-weight: 700; line-height: 1; color: var(--shoulder); text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .tabbar a[aria-current="page"] { color: #fff; }
  .tabbar:not(.is-ready) a[aria-current="page"] { box-shadow: inset 0 3px 0 var(--amber); }
  .tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .28s var(--ease); }
  .tabbar a[aria-current="page"] svg { transform: translateY(-2px); }
  .tabbar a:active svg { transform: scale(.88); }
  .tabbar .lane-marker { top: 0; bottom: auto; }
  .tab-call { color: #fff; }
  .tab-call__sign {
    display: grid; place-items: center; width: 54px; height: 54px; margin-top: -26px; border-radius: 16px; background: var(--sign);
    box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 4px #fff, 0 6px 16px rgba(0, 0, 0, .5);
    transition: transform .2s var(--ease);
  }
  .tab-call:active .tab-call__sign { transform: scale(.93); }
  .tab-call svg, .tab-call:active svg { transform: none; }
  .site-footer { padding-bottom: 32px; }
  .site-header__right .header-quote { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .sign::after { display: none; }
  @view-transition { navigation: none; }
}
