/* Tokens: Wix Madefor Display 500 + Wix Madefor Text 400 / asphalt, concrete, hazard yellow / one ease / radius 0 / 8px scale */
:root {
  --asph: #17191b;
  --conc: #e8e6e1;
  --haz: #f2c230;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 3.6vw, 64px);
  --disp: "Wix Madefor Display", system-ui, sans-serif;
  --text: "Wix Madefor Text", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --line: rgba(23, 25, 27, .16);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--conc); color: var(--asph); font-family: var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2 { font-family: var(--disp); font-weight: 500; hyphens: none; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 5.4vw, 5rem); line-height: .94; letter-spacing: -.035em; }
p { line-height: 1.6; text-wrap: pretty; }
.label { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; opacity: .6; }

/* Hero: scheme A, full-bleed engine photo, text lower-left on a blurred quiet band */
.hero { position: relative; height: 100svh; min-height: 620px; color: #fff; overflow: hidden; background: var(--asph); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { filter: saturate(.8) contrast(1.08); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 62%; backdrop-filter: blur(20px) brightness(.55); -webkit-backdrop-filter: blur(20px) brightness(.55); mask-image: linear-gradient(to top, #000 40%, transparent); -webkit-mask-image: linear-gradient(to top, #000 40%, transparent); }
.top { position: absolute; inset: 0 0 auto; z-index: 2; padding: var(--pad); display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--disp); font-size: 20px; letter-spacing: .08em; padding: 6px 10px; background: var(--haz); color: var(--asph); }
.nav { display: flex; gap: 28px; font-size: 14px; }
.nav a { padding: 12px 0; position: relative; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--haz); transform: scaleX(0); transform-origin: right; transition: transform 520ms var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hero__content { position: absolute; z-index: 2; left: 0; bottom: 0; padding: var(--pad); max-width: 900px; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(3.2rem, 7.6vw, 8rem); line-height: .88; letter-spacing: -.045em; }
.hero h1 span { color: var(--haz); }
.hero__lead { max-width: 44ch; font-size: 17px; opacity: .85; }
.cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.assure { font-size: 13px; opacity: .75; }

/* Buttons: square */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px; font-size: 15px; }
.btn__fill { position: absolute; inset: 0; z-index: -1; background: var(--haz); transform: translateX(-101%); transition: transform 500ms var(--ease); }
.btn__label { transition: color 320ms var(--ease); }
.btn__arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 520ms var(--ease); }
.btn:hover .btn__fill { transform: none; }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--solid { background: #fff; color: var(--asph); }
.btn--line { box-shadow: inset 0 0 0 1px currentColor; }
.btn:hover .btn__label, .btn:hover .btn__arrow { color: var(--asph); }

/* Signature: diagnostic scanner */
.scan { padding: 140px var(--pad) 120px; }
.scan__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.scan__head p { max-width: 42ch; opacity: .7; justify-self: end; }
.scan__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.scan__opts { display: flex; flex-direction: column; }
.scan__opts button { text-align: left; min-height: 60px; padding: 18px 0 18px 4px; border: 0; border-top: 1px solid var(--line); background: none; color: inherit; font: 500 clamp(19px, 1.9vw, 24px)/1.15 var(--disp); letter-spacing: -.02em; cursor: pointer; opacity: .5; transition: opacity 420ms var(--ease), padding 620ms var(--ease); }
.scan__opts button:last-child { border-bottom: 1px solid var(--line); }
.scan__opts button:hover { opacity: .8; }
.scan__opts button[aria-selected="true"] { opacity: 1; padding-left: 18px; box-shadow: inset 6px 0 0 var(--haz); }
.scan__opts button:focus-visible { outline: 2px solid var(--asph); outline-offset: 2px; }
.term { background: var(--asph); color: #d9f0c9; min-height: 380px; display: flex; flex-direction: column; }
.term__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 12px var(--mono); color: rgba(255, 255, 255, .5); letter-spacing: .1em; }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.term__bar i:first-child { background: var(--haz); }
.term__bar span { margin-left: 10px; }
.term__out { flex: 1; padding: 24px 22px; font: 15px/1.75 var(--mono); white-space: pre-wrap; }
.term__out .ok { color: var(--haz); }
.term__out .caret { display: inline-block; width: 9px; height: 1.1em; background: #d9f0c9; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Photos */
.pics { display: grid; grid-template-columns: 1fr 1.4fr 1fr; height: 70vh; }
.pics figure { overflow: hidden; }
.pics img { filter: saturate(.8) contrast(1.06); transition: transform 900ms var(--ease); }
.pics figure:hover img { transform: scale(1.04); }

/* Reviews */
.say { padding: 140px var(--pad) 130px; }
.say h2 { margin-bottom: 56px; }
.say__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; align-items: end; }
.say blockquote { font-family: var(--disp); font-weight: 500; font-size: 20px; line-height: 1.25; letter-spacing: -.015em; }
.say__big { font-size: clamp(1.7rem, 2.8vw, 2.6rem) !important; line-height: 1.06 !important; letter-spacing: -.03em !important; }
cite { display: block; margin-top: 14px; font-family: var(--text); font-style: normal; font-size: 13px; opacity: .55; }

/* Where */
.where { display: grid; grid-template-columns: 58fr 42fr; background: var(--asph); color: var(--conc); }
.where__body { padding: 120px var(--pad) 100px; display: flex; flex-direction: column; justify-content: flex-end; gap: 26px; }
.where h2 { font-size: clamp(3rem, 7vw, 7rem); line-height: .88; letter-spacing: -.045em; color: var(--haz); }
.where__body > p { max-width: 44ch; opacity: .75; }
.where__grid { display: flex; gap: 56px; flex-wrap: wrap; }
.where__grid dt { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; opacity: .55; margin-bottom: 8px; }
.where__grid dd { font-family: var(--disp); font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); white-space: nowrap; }
.where__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.where__img { overflow: hidden; min-height: 640px; }
.foot { display: flex; justify-content: space-between; gap: 20px; padding: 28px var(--pad); font-size: 13px; }
.foot > * { opacity: .6; }

/* Motion */
.rise, .reveal { opacity: 0; transform: translateY(28px); filter: blur(14px); }
.is-in .rise, .reveal.is-seen { opacity: 1; transform: none; filter: blur(0); transition: opacity 900ms var(--ease) var(--d, 0ms), transform 900ms var(--ease) var(--d, 0ms), filter 900ms var(--ease) var(--d, 0ms); }
.d300 { --d: 300ms; } .d420 { --d: 420ms; } .d900 { --d: 900ms; } .d1040 { --d: 1040ms; } .d1200 { --d: 1200ms; }
@media (prefers-reduced-motion: reduce) {
  * { --d: 0ms !important; transition-delay: 0ms !important; }
  .term__out .caret { animation: none; }
}

@media (max-width: 860px) {
  .hero { min-height: 0; }
  .nav { gap: 16px; font-size: 13px; }
  .nav a:first-child { display: none; }
  .hero h1 { font-size: 3.3rem; }
  .scan { padding: 96px var(--pad) 72px; }
  .scan__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .scan__head p { justify-self: start; }
  .scan__grid { grid-template-columns: 1fr; gap: 24px; }
  .term { min-height: 320px; }
  .pics { grid-template-columns: 1fr 1fr; height: auto; }
  .pics__a { grid-column: 1 / -1; height: 64vw; }
  .pics__b, .pics__c { height: 56vw; }
  .say { padding: 96px var(--pad) 80px; }
  .say__grid { grid-template-columns: 1fr; gap: 32px; }
  .where { grid-template-columns: 1fr; }
  .where__body { padding: 72px var(--pad); }
  .where__img { min-height: 0; height: 80vw; order: -1; }
  .foot { flex-wrap: wrap; }
}
