:root {
  color-scheme: light;
  --bg:#fff; --surface:#f4f4f4; --text:#151515; --muted:#565656;
  --line:#d8d8d8; --red:#ff0000; --grey:#7f7f7f;
  --light-logo:block; --dark-logo:none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme:dark;
    --bg:#101010; --surface:#1a1a1a; --text:#f8f8f8; --muted:#b9b9b9;
    --line:#3b3b3b; --light-logo:none; --dark-logo:block;
  }
}
:root[data-theme="dark"] {
  color-scheme:dark;
  --bg:#101010; --surface:#1a1a1a; --text:#f8f8f8; --muted:#b9b9b9;
  --line:#3b3b3b; --light-logo:none; --dark-logo:block;
}
* {box-sizing:border-box}
body {margin:0;background:var(--bg);color:var(--text);font:1rem/1.55 system-ui,sans-serif}
a {color:inherit;text-underline-offset:.22em}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible {outline:2px solid var(--red);outline-offset:4px}
.wrap {width:min(100% - 3rem, 1240px);margin-inline:auto}
.sr,.skip:not(:focus),.theme input {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus {position:absolute;top:.5rem;left:.5rem;padding:.5rem;z-index:2;background:var(--bg)}
header {border-bottom:1px solid var(--line)}
.bar {display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:82px}
.brand {flex:none}
.brand img {width:146px;height:auto}
.light-logo {display:var(--light-logo)}
.dark-logo {display:var(--dark-logo)}
nav {display:flex;gap:clamp(.9rem,2vw,1.65rem);align-items:center}
nav a {text-decoration:none;font-size:.9rem;font-weight:650;white-space:nowrap}
nav a:hover,footer a:hover {text-decoration:underline;text-decoration-color:var(--red)}
.theme {display:flex;border:1px solid var(--line);padding:3px;margin:0;gap:2px;min-width:0}
.theme span {display:block;padding:.26rem .43rem;cursor:pointer;font-size:.875rem}
.theme input:checked + span {color:var(--bg);background:var(--text)}
.theme input:focus-visible + span {outline:2px solid var(--red);outline-offset:1px}
.hero {position:relative;isolation:isolate;color:white;background:#141414}
.hero-photo {position:absolute;inset:0 0 0 auto;width:64%;height:100%;object-fit:cover;object-position:55% center;z-index:-2}
.hero::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#141414 33%,rgba(20,20,20,.94) 44%,rgba(20,20,20,.18) 70%,transparent 88%)}
.hero-content {padding-block:clamp(4rem,9vw,9rem)}
.eyebrow {margin:0 0 1rem;font-size:.875rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase;display:flex;align-items:center;gap:.65rem}
.eyebrow::before {content:"";display:inline-block;background:var(--red);width:1.5rem;height:3px;flex:none}
h1,h2,h3 {margin:0;line-height:1.08;letter-spacing:-.035em}
h1 {font-size:clamp(2.65rem,6vw,5.7rem);max-width:11.5ch}
h1 span {color:var(--red);font-size:.62em;vertical-align:.13em}
h2 {font-size:clamp(2rem,4.7vw,4rem);max-width:16ch}
h3 {font-size:clamp(1.35rem,2.2vw,1.8rem)}
p {margin:0 0 1rem}
.hero-content>p:not(.eyebrow) {max-width:46ch;margin:1.4rem 0;color:#eee}
.button {display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.65rem 1.15rem;background:var(--red);color:#000;border:0;border-radius:0;font:inherit;font-weight:760;text-decoration:none;cursor:pointer}
.button:hover {background:#ff4747}
.button:focus-visible {outline-color:currentColor}
.section {padding-block:clamp(3rem,7vw,7rem)}
.band {background:var(--surface);border-block:1px solid var(--line)}
.split {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.25rem,7vw,7rem);align-items:start}
.body-copy {font-size:1.125rem}
.service-grid,.gallery {display:grid;gap:1.25rem;margin-top:2rem}
.service-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.service-grid article {background:var(--bg);border-top:2px solid var(--grey);padding:clamp(1.15rem,3vw,2rem)}
.service-grid p,.muted {color:var(--muted)}
.service-grid p {margin:.75rem 0 0;max-width:50ch}
.gallery {grid-template-columns:repeat(3,minmax(0,1fr))}
figure {margin:0;border-bottom:1px solid var(--line)}
figcaption {padding:.8rem 0;font-weight:650}
#contact h2 {margin-bottom:1rem}
form,.fields {display:grid;gap:1rem}
.fields {grid-template-columns:repeat(2,minmax(0,1fr))}
form label {display:grid;gap:.35rem;font-weight:650}
form label span {display:inline;font-weight:400}
input,textarea {width:100%;min-width:0;padding:.65rem .75rem;background:var(--bg);color:var(--text);border:1px solid var(--grey);border-radius:0;font:inherit}
textarea {resize:vertical}
form p {margin:0}
form button {justify-self:start}
#form-status:empty {display:none}
footer {border-top:1px solid var(--line)}
.footer {display:flex;justify-content:space-between;gap:1rem;padding-block:1.5rem}
@media(max-width:940px){.bar{flex-wrap:wrap;gap:.7rem;padding-block:1rem}.bar nav{order:3;flex-basis:100%;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:.7rem}}
@media(max-width:680px){.wrap{width:calc(100% - 2rem)}.split,.service-grid{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-content{padding-block:3.2rem}.brand img{width:124px}}
@media(max-width:355px){.fields,.gallery{grid-template-columns:1fr}}

footer .footer span {display:flex;align-items:center;gap:.55rem}
footer img {width:27px;height:auto}

#captcha {display:grid;gap:.55rem}
#captcha[hidden] {display:none}
.captcha-row {display:flex;align-items:center;flex-wrap:wrap;gap:.7rem}
.captcha-row img {border:1px solid var(--line)}
.captcha-row button {font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--grey);padding:.5rem .65rem;cursor:pointer}
#captcha-code {max-width:12rem}
form button:disabled {opacity:.65;cursor:default}

.gallery-photo {display:block;overflow:hidden;background:var(--surface)}
.gallery-photo img {display:block;width:100%;aspect-ratio:3/2;object-fit:contain}
@media(max-width:680px) {
  .hero-photo {position:static;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block}
  .hero::before {display:none}
}

.tools-page h1 {max-width:none;margin-bottom:1.5rem}
.tools-page h2 {font-size:clamp(1.6rem,4vw,2.6rem);max-width:none;margin-bottom:.5rem}
.setup-tool,.fuel-tool {max-width:56rem;padding:clamp(.9rem,3vw,2rem);border:1px solid var(--line);background:var(--surface)}
.fuel-tool {margin-top:1.5rem}
