/*
  VOICE   confident local shop, polished but plain-spoken
  IDEA    a race shop's work: painted stripes on a charcoal body, each app in its own paint
  PICTURE real app screens in phone frames, overlapping the stripes and section edges
  COLOUR  charcoal, warm white, Hit It orange (with a painted highlight and lowlight)
  TYPE    Archivo Black for headlines, Source Sans 3 for everything else
*/
:root {
  --char: #141414;
  --white: #fbfbf9;
  --ink: #161616;
  --muted: #5d5d5a;
  --line: #e1e1dc;
  --orange: #e8661f;
  --orange-hi: #ff8b3d;
  --orange-lo: #b9480f;
  --head: "Archivo Black", "Arial Black", sans-serif;
  --body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --edge: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--edge); }
h1, h2, h3 { font-family: var(--head); font-weight: 400; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #f3f3f0;
  background:
    radial-gradient(120% 90% at 15% 0%, #2b2b2b 0%, rgba(43,43,43,0) 60%),
    linear-gradient(180deg, #181818 0%, #0f0f0f 100%);
  padding-bottom: clamp(60px, 7vw, 100px);
}
.stripes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.stripes span { position: absolute; top: -20%; bottom: -20%; right: 16%; width: 150px; transform: rotate(14deg); background: linear-gradient(90deg, var(--orange-lo) 0%, var(--orange) 30%, var(--orange-hi) 52%, var(--orange) 70%, var(--orange-lo) 100%); opacity: 0.92; }
.stripes span:last-child { right: calc(16% - 60px); width: 34px; }

.top { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 26px 0; }
.name { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.name .hex { width: 62px; height: 38px; flex: none; }
.name span { font: 400 20px/1 var(--head); letter-spacing: -0.02em; }
.name small { display: block; margin-top: 5px; font: 700 10.5px/1 var(--body); letter-spacing: 0.24em; text-transform: uppercase; color: #a8a8a3; }
.links { display: flex; gap: 30px; font-size: 16px; font-weight: 600; }
.links a { text-decoration: none; color: #bdbdb8; }
.links a:hover { color: #fff; }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; padding-top: clamp(40px, 7vw, 90px); }
.hero h1 { font-size: clamp(44px, 6.6vw, 92px); line-height: 0.98; letter-spacing: -0.035em; max-width: 11ch; color: #fff; }
.hero-copy p { margin: 30px 0 0; max-width: 33rem; color: #c4c4bf; font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 38px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 18px; color: #fff;
  padding: 15px 26px; border-radius: 8px;
  background: linear-gradient(180deg, var(--orange-hi) 0%, var(--orange) 45%, var(--orange-lo) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 24px rgba(232,102,31,.28);
}
.btn:hover { filter: brightness(1.06); }
.quiet { font-weight: 600; color: #e9e9e4; text-decoration: none; border-bottom: 2px solid #4a4a47; padding-bottom: 2px; }
.quiet:hover { border-color: var(--orange); }

.hero-phone { position: relative; display: flex; justify-content: center; }
.hero-phone .device { width: min(310px, 80%); margin-bottom: -150px; }
.tilt { transform: rotate(-5deg); }
.stamp {
  position: absolute; left: 2%; bottom: -96px; z-index: 2; transform: rotate(-9deg);
  border: 3px solid var(--orange-hi); border-radius: 6px; color: var(--orange-hi);
  padding: 9px 15px 7px; font: 700 12px/1.35 var(--body); letter-spacing: 0.14em; text-transform: uppercase; text-align: center;
  background: rgba(15,15,15,.85);
}
.stamp b { display: block; font: 400 20px/1.25 var(--head); letter-spacing: 0.02em; }

/* ---------- phone frame ---------- */
.device {
  border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #3a3a3a 0%, #121212 40%, #0a0a0a 70%, #2a2a2a 100%);
  box-shadow: 0 0 0 1px #000, inset 0 0 0 1px rgba(255,255,255,.12), 0 40px 70px -20px rgba(0,0,0,.55), 0 18px 30px -18px rgba(0,0,0,.5);
}
.device img { border-radius: 36px; width: 100%; }

/* ---------- intro ---------- */
.intro { padding-top: clamp(200px, 20vw, 250px); padding-bottom: clamp(50px, 6vw, 80px); }
.intro h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; max-width: 14ch; }
.intro p { margin: 22px 0 0; max-width: 34rem; color: var(--muted); font-size: 19px; }

/* ---------- app bands ---------- */
.app { position: relative; padding: clamp(70px, 9vw, 120px) 0; }
.app-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.app-grid.flip .shots { order: 2; }
.shots { display: flex; justify-content: center; }
.shots > .device { width: min(300px, 82%); }
.shots.pair { position: relative; min-height: 600px; display: block; }
.shots.pair .device { position: absolute; width: min(255px, 56%); }
.shots.pair .device:first-child { left: 0; top: 0; transform: rotate(-3deg); }
.shots.pair .device:last-child { right: 0; top: 80px; transform: rotate(3deg); }

.copy { max-width: 32rem; }
.tag { display: inline-block; font-weight: 700; font-size: 15px; margin: 0 0 16px; padding: 5px 12px; border-radius: 99px; }
.copy h3 { font-size: clamp(28px, 3.1vw, 42px); line-height: 1.06; margin-bottom: 20px; }
.copy p { margin: 0 0 18px; }
.copy ul { list-style: none; padding: 0; margin: 26px 0 0; }
.copy li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid rgba(0,0,0,.1); font-weight: 600; font-size: 17px; }
.copy li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 8px; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg); color: var(--orange); }
.copy .status { margin-top: 24px; font-size: 15px; color: var(--muted); }

/* Wrench Log: shop gray with a hazard edge */
.wl { background: linear-gradient(180deg, #ecece7 0%, #e2e2dc 100%); }
.wl::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 12px; background: repeating-linear-gradient(-45deg, #f2b705 0 18px, #1a1a1a 18px 36px); }
.wl .tag { background: #1a1a1a; color: #f2b705; }
.wl li::before { color: #c99500; }

/* FinishFlow: clean blue-gray with its yellow */
.ff { background: linear-gradient(180deg, #f4f7fb 0%, #e8eef6 100%); }
.ff .tag { background: #f5b400; color: #17202c; }
.ff h3 { color: #17202c; }
.ff li::before { color: #1f65c9; }

/* Garage Know-How: night shop with an orange glow */
.gkh { color: #f1f1ee; background: radial-gradient(70% 80% at 25% 50%, rgba(255,107,26,.16) 0%, rgba(255,107,26,0) 60%), #0c0d0d; }
.gkh .tag { background: #ff6b1a; color: #0c0d0d; }
.gkh .copy li { border-color: rgba(255,255,255,.12); }
.gkh li::before { color: #ff8a4b; }
.gkh .copy .status { color: #9b9c98; }
.gkh .device { box-shadow: 0 0 0 1px #2d3030, 0 40px 80px -20px rgba(255,107,26,.22); }

/* ---------- pricing ---------- */
.pricing { padding-top: clamp(90px, 11vw, 140px); padding-bottom: clamp(80px, 10vw, 120px); }
.pricing h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; margin-bottom: 48px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px 32px; background: #fff; }
.plan h3 { font-size: 21px; letter-spacing: -0.01em; margin-bottom: 22px; }
.price { font: 400 46px/1 var(--head); letter-spacing: -0.03em; margin: 0; }
.price span { font: 600 17px var(--body); letter-spacing: 0; color: var(--muted); }
.then { margin: 8px 0 22px; font-weight: 600; color: var(--orange-lo); }
.plan p:last-child { margin: 0; color: var(--muted); font-size: 17px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan.main { color: #f3f3f0; border: 0; background: linear-gradient(160deg, #262626 0%, #141414 60%); box-shadow: 0 24px 50px -24px rgba(0,0,0,.45); position: relative; overflow: hidden; }
.plan.main::after { content: ""; position: absolute; top: 0; right: 28px; width: 12px; height: 100%; background: linear-gradient(90deg, var(--orange-lo), var(--orange-hi), var(--orange-lo)); opacity: .9; }
.plan.main .price span, .plan.main p:last-child { color: #b9b9b4; }
.plan.main p:last-child { border-color: #333; }
.plan.main .then { color: var(--orange-hi); }
.plan.main > * { position: relative; z-index: 1; margin-right: 34px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 100px); align-items: center; padding-bottom: clamp(90px, 11vw, 140px); }
.badge img { width: min(340px, 100%); transform: rotate(-4deg); filter: drop-shadow(0 18px 24px rgba(0,0,0,.18)); }
.about h2 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.04; margin-bottom: 22px; }
.about p { margin: 0 0 16px; max-width: 38rem; }
.about .sign { font-weight: 700; margin-top: 24px; }

/* ---------- contact ---------- */
.contact {
  color: #fff; padding: clamp(80px, 10vw, 130px) 0;
  background: radial-gradient(90% 120% at 85% 0%, var(--orange-hi) 0%, rgba(255,139,61,0) 55%), linear-gradient(180deg, var(--orange) 0%, var(--orange-lo) 100%);
}
.contact h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; }
.contact .big { display: inline-block; margin: 26px 0 18px; font: 400 clamp(42px, 7.6vw, 104px)/1 var(--head); letter-spacing: -0.035em; text-decoration: none; color: #141414; }
.contact .big:hover { color: #fff; }
.contact p { margin: 0; font-size: 19px; color: #fff3ea; }

footer { background: var(--char); color: #8f8f8a; font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; padding-top: 26px; padding-bottom: 30px; }
footer p { margin: 0; }

a:focus-visible { outline: 3px solid var(--orange-hi); outline-offset: 3px; border-radius: 4px; }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .links { gap: 16px; }
  .name .hex { width: 52px; height: 32px; }
  .name span { font-size: 17px; }
  .name small { font-size: 9.5px; letter-spacing: 0.18em; }
  .links a[href="#work"] { display: none; }
  .stripes span { right: -30px; width: 100px; }
  .stripes span:last-child { right: -70px; width: 22px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 30px; }
  .hero-phone { margin-top: 30px; }
  .hero-phone .device { width: 66%; margin-bottom: -170px; }
  .stamp { left: 3%; bottom: -150px; }
  .stripes span { top: 38%; }
  .intro { padding-top: 230px; }
  .app-grid { grid-template-columns: 1fr; }
  .app-grid.flip .shots { order: 0; }
  .shots > .device { width: 72%; }
  .shots.pair { min-height: 0; aspect-ratio: 1 / 1.3; }
  .shots.pair .device { width: 54%; }
  .shots.pair .device:last-child { top: 12%; }
  .about { grid-template-columns: 1fr; }
  .badge img { width: 220px; }
  footer .wrap { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
