/* A1 Roadside ads pages, v2. Idea: the hazard light. The first screen is the amber you switch on when you're
   stranded; the ink is wet asphalt; the type is Overpass, drawn from US highway-sign lettering. Three colours,
   one family, heavy weight contrast. */
:root {
  --amber: #f0b323;
  --asphalt: #121316;
  --asphalt-2: #1c1e23;
  --paper: #f6f6f4;
  --paper-2: #e9e9e6;
  --ink: #121316;
  --ink-soft: #3a3d44;
  --silver: #c7cad0;
  --silver-soft: #9a9ea6;

  --fs-body: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem);
  --fs-lead: clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem);
  --fs-h2: clamp(2.4rem, 1.6rem + 3.4vw, 4.6rem);
  --fs-h1: clamp(3rem, 1.2rem + 4.6vw, 5.2rem);

  --m: clamp(20px, 4vw, 56px);
  --gap: clamp(96px, 12vw, 180px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --z-bar: 20;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Overpass", "Helvetica Neue", Arial, sans-serif; font-weight: 400;
  font-size: var(--fs-body); line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
::selection { background: var(--asphalt); color: var(--amber); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--m); top: 8px; z-index: 30; background: var(--asphalt); color: var(--amber); padding: 8px 12px; }

/* ---------- hero: the amber field ---------- */
.hero-wrap { background: var(--amber); color: var(--ink); }
.top {
  display: flex; align-items: center; gap: 24px; padding: 22px var(--m) 0;
  font-weight: 700; font-size: 0.95rem;
}
.mark { font-weight: 900; font-size: 1.35rem; text-decoration: none; letter-spacing: -0.02em; }
.place { font-weight: 600; }
.toplink { margin-left: auto; text-decoration: none; white-space: nowrap; }
.toplink:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

.hero {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px);
  min-height: calc(100svh - 70px); padding: clamp(28px, 4vh, 56px) var(--m) clamp(24px, 4vh, 48px);
  align-items: end;
}
.hero-copy { max-width: 760px; }
h1 { font-weight: 900; font-size: var(--fs-h1); line-height: 0.92; letter-spacing: -0.035em; }
h1 .ln { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.06em; }
h1 .ln > span { display: block; }
h1 .ln:nth-child(2) > span { color: var(--paper); }
.lead { margin-top: 20px; max-width: 46ch; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); font-weight: 500; line-height: 1.35; }

.picker { margin-top: 28px; }
.pq { font-weight: 800; font-size: 0.95rem; margin-bottom: 10px; }
.picker ul { display: flex; flex-wrap: wrap; gap: 8px; }
.pick {
  display: inline-block; padding: 10px 16px; text-decoration: none; font-weight: 700; font-size: 1rem;
  border: 2px solid var(--asphalt); color: var(--asphalt);
  transition: background .18s var(--ease), color .18s var(--ease), transform .15s var(--ease);
}
.pick:hover { background: rgba(18, 19, 22, .1); }
.pick:active { transform: scale(.97); }
.pick[aria-current="page"] { background: var(--asphalt); color: var(--amber); }

.btn {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; min-height: 72px; padding: 0 30px;
  background: var(--asphalt); color: var(--amber); text-decoration: none;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 900; letter-spacing: -0.02em;
  transition: transform .15s var(--ease), background .18s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:hover { background: #000; }
.btn:active { transform: scale(.985); }
.btn-note { display: block; margin-top: 12px; font-weight: 600; font-size: 0.95rem; }

.hero-ph { position: relative; align-self: stretch; min-height: 420px; background: var(--asphalt); overflow: hidden; }
.hero-ph img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%;
  filter: grayscale(1) contrast(1.15) brightness(.95); mix-blend-mode: screen; opacity: .9;
  transform: scale(1.04); transition: transform 12s linear;
}
.ready .hero-ph img { transform: scale(1); }
.hero-ph::after { content: ""; position: absolute; inset: 0; background: var(--amber); mix-blend-mode: multiply; }
.hero-ph figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-size: 0.85rem; font-weight: 700; color: var(--amber); }

/* ---------- services: the asphalt band ---------- */
.fix { background: var(--asphalt); color: var(--paper); padding: var(--gap) var(--m); }
.fix h2 { font-size: var(--fs-h2); font-weight: 900; line-height: .95; letter-spacing: -0.03em; max-width: 14ch; }
.fix h2 em { font-style: normal; color: var(--amber); }
.fix .sub { margin-top: 20px; max-width: 52ch; color: var(--silver); font-size: var(--fs-lead); line-height: 1.4; }
.svc { margin-top: clamp(48px, 7vw, 96px); }
.svc li {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px 40px;
  padding: 32px var(--m); margin: 0 calc(-1 * var(--m));
}
.svc li:nth-child(even) { background: var(--asphalt-2); }
.svc h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 900; line-height: 1; letter-spacing: -0.025em; }
.svc h3 a { text-decoration: none; }
.svc h3 a:hover { color: var(--amber); }
.svc .do { color: var(--amber); font-weight: 700; font-size: var(--fs-lead); line-height: 1.3; }
.svc dl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 14px; }
.svc dt { color: var(--silver-soft); font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.svc dd { color: var(--silver); font-size: 1rem; line-height: 1.45; }

/* ---------- steps: four numerals ---------- */
.how { padding: var(--gap) var(--m); }
.how h2 { font-size: var(--fs-h2); font-weight: 900; line-height: .95; letter-spacing: -0.03em; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(40px, 6vw, 80px); }
.steps li { border-top: 6px solid var(--asphalt); padding-top: 18px; }
.steps .n { display: inline-block; font-size: clamp(4rem, 3rem + 6vw, 9rem); font-weight: 900; line-height: .8; letter-spacing: -0.05em; color: var(--amber); }
.steps .st { margin-top: 18px; font-weight: 900; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); line-height: 1.1; letter-spacing: -0.02em; }
.steps p:not(.st) { margin-top: 10px; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }

.bleed { position: relative; overflow: hidden; background: var(--asphalt); }
.bleed img { aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 60%; }
.bleed figcaption {
  position: absolute; left: var(--m); bottom: 18px; color: var(--paper); font-weight: 700; font-size: 0.9rem;
  background: var(--asphalt); padding: 6px 10px;
}

/* ---------- area ---------- */
.area { padding: var(--gap) var(--m); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.area h2 { font-size: var(--fs-h2); font-weight: 900; line-height: .95; letter-spacing: -0.03em; }
.area .intro { margin-top: 20px; max-width: 48ch; color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.4; }
.rows { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.glabel { font-weight: 900; font-size: 1rem; padding-bottom: 8px; border-bottom: 3px solid var(--amber); margin-bottom: 10px; }
.rows ul li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-weight: 600; }
.mi { color: var(--ink-soft); font-weight: 500; font-variant-numeric: tabular-nums; }
.side { display: grid; gap: 24px; }
.side figure { background: var(--paper-2); }
.side img { aspect-ratio: 4 / 3; object-fit: cover; mix-blend-mode: multiply; }
.side figcaption { padding: 10px 12px 12px; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- faq: amber again ---------- */
.faq { background: var(--amber); color: var(--ink); padding: var(--gap) var(--m); }
.faq h2 { font-size: var(--fs-h2); font-weight: 900; line-height: .95; letter-spacing: -0.03em; margin-bottom: clamp(40px, 6vw, 80px); }
.qa { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 48px; padding: 28px 0; border-top: 2px solid rgba(18, 19, 22, .35); }
.qa:last-of-type { border-bottom: 2px solid rgba(18, 19, 22, .35); }
.qa h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
.qa p { max-width: 52ch; font-weight: 500; font-size: 1.05rem; line-height: 1.5; }

/* ---------- call band ---------- */
.cta {
  display: block; position: relative; background: var(--asphalt); color: var(--amber); text-decoration: none;
  padding: clamp(40px, 6vw, 72px) var(--m) clamp(28px, 4vw, 48px); overflow: hidden;
}
.cta-say { display: block; max-width: 34ch; font-weight: 700; font-size: var(--fs-lead); color: var(--paper); }
.cta-word {
  display: block; margin-top: 16px; font-weight: 900; font-size: clamp(5rem, 22vw, 20rem); line-height: .82; letter-spacing: -0.05em;
  transition: transform .5s var(--ease);
}
.cta:hover .cta-word { transform: translateX(12px); }
.cta-num { display: block; margin-top: 20px; font-weight: 900; font-size: clamp(1.6rem, 1.2rem + 2vw, 3rem); letter-spacing: -0.02em; color: var(--paper); }
.cta:hover .cta-num, .cta:focus-visible .cta-num { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; }

/* ---------- footer ---------- */
.foot { background: var(--asphalt-2); color: var(--silver); padding: 56px var(--m) 32px; }
.frow { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px; align-items: start; }
.fname { font-weight: 900; font-size: 2rem; color: var(--paper); letter-spacing: -0.03em; }
.places { margin-top: 10px; font-weight: 600; }
.places li { padding: 2px 0; }
.places a { color: var(--amber); text-decoration: none; }
.places a:hover { text-decoration: underline; }
.flinks { columns: 2; font-weight: 600; }
.flinks li { margin-bottom: 8px; }
.flinks a { text-decoration: none; }
.flinks a:hover { color: var(--amber); }
.credits { margin-top: 48px; font-size: 0.8125rem; color: var(--silver-soft); max-width: 120ch; line-height: 1.5; }
.credits a { color: var(--silver); }
.legal { display: flex; justify-content: space-between; margin-top: 24px; font-size: 0.85rem; font-weight: 600; }

/* ---------- phone call bar ---------- */
.callbar { display: none; }

/* ---------- motion: keyframes only, every element ends visible with or without script ---------- */
@keyframes rise-in { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.anim h1 .ln > span { animation: rise-in .8s var(--ease) both; }
.anim h1 .ln:nth-child(2) > span { animation-delay: .09s; }
.anim .lead, .anim .picker, .anim .btn, .anim .btn-note { animation: fade-up .55s var(--ease) .35s both; }
.anim .btn, .anim .btn-note { animation-delay: .45s; }
#line1, #lead { transition: opacity .2s; }
#line1.swap, #lead.swap { opacity: 0; }
.steps .n { opacity: 1; }
.js .steps:not(.in) .n { transform: translateY(.15em); opacity: 0; }
.js .steps.in .n { transform: none; opacity: 1; transition: transform .7s var(--ease), opacity .7s var(--ease); }
.js .steps.in li:nth-child(2) .n { transition-delay: .08s; }
.js .steps.in li:nth-child(3) .n { transition-delay: .16s; }
.js .steps.in li:nth-child(4) .n { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .anim h1 .ln > span, .anim .lead, .anim .picker, .anim .btn, .anim .btn-note { animation: none; }
  .js .steps:not(.in) .n { transform: none; opacity: 1; }
  .hero-ph img { transition: none; transform: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-ph { min-height: 300px; aspect-ratio: 16 / 9; }
  .svc li { grid-template-columns: 1fr; gap: 12px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area { grid-template-columns: 1fr; gap: 40px; }
  .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qa { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  .top { padding-top: 18px; gap: 12px; }
  .place { display: none; }
  .mark { font-size: 1.1rem; line-height: 1.1; max-width: 10ch; }
  .hero { padding-top: 40px; padding-bottom: 28px; gap: 28px; }
  h1 { font-size: clamp(2.6rem, 12.2vw, 3.4rem); }
  .lead { font-size: 1.1rem; margin-top: 18px; }
  .picker { margin-top: 26px; }
  .pick { padding: 10px 13px; font-size: 0.95rem; }
  .btn { width: 100%; justify-content: center; margin-top: 24px; min-height: 68px; }
  .hero-ph { min-height: 220px; aspect-ratio: 4 / 3; }
  .svc dl { grid-template-columns: 1fr; gap: 12px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { display: grid; grid-template-columns: 72px 1fr; column-gap: 16px; border-top-width: 4px; }
  .steps .n { grid-row: 1 / span 2; font-size: 4.2rem; }
  .steps .st { margin-top: 0; }
  .rows { grid-template-columns: 1fr; gap: 24px; }
  .side img { aspect-ratio: 16 / 10; }
  .cta-word { font-size: 34vw; }
  .foot { padding-bottom: 100px; }
  .frow { grid-template-columns: 1fr; }
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar); min-height: 64px;
    align-items: center; justify-content: center; gap: 0.35em; background: var(--asphalt); color: var(--amber);
    font-weight: 900; font-size: 1.15rem; text-decoration: none; border-top: 3px solid var(--amber);
    transition: transform .3s var(--ease);
  }
  .callbar.away { transform: translateY(100%); }
}
[data-phone] { white-space: nowrap; }

/* section entrances: only the lists, staggered inside each, visible without script */
.js .rise { opacity: 0; transform: translateY(18px); }
.js .rise.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) { .js .rise { opacity: 1; transform: none; transition: none; } }

/* credits page */
.credits-page { max-width: 70ch; padding: 48px var(--m) 96px; }
.credits-page h1 { font-size: var(--fs-h2); font-weight: 900; letter-spacing: -0.03em; line-height: .95; margin-bottom: 20px; }
.credits-page p { margin: 16px 0; }
.credits-page li { padding: 8px 0; }
.legal a { text-decoration: none; }
.legal a:hover { text-decoration: underline; }
