:root {
  --black: #070707;
  --ink: #171717;
  --charcoal: #202124;
  --red: #e32322;
  --deep-red: #9d1618;
  --yellow: #ffd31a;
  --gold: #f3b91c;
  --cream: #f8f4e8;
  --paper: #ffffff;
  --muted: #707177;
  --line: rgba(23, 23, 23, 0.14);
  --white: #ffffff;
  --max: 1180px;
  --header: 78px;
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
}

body.is-nav-open {
  overflow: hidden;
}

body.has-scrolled .site-header {
  min-height: 68px;
  background: rgba(7, 7, 7, 0.96);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 12px clamp(18px, 4vw, 44px);
  color: var(--white);
  background: rgba(7, 7, 7, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  transition: min-height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--red));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  transition: transform 80ms linear;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--black);
  background: linear-gradient(135deg, var(--yellow), var(--gold));
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 1000;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.18);
}

.brand-copy strong,
.brand-copy em {
  display: block;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 1000;
}

.brand-copy em {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 34px);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta,
.button,
.finder-form button,
.footer-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 950;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  padding: 0 18px;
  color: var(--black);
  background: var(--yellow);
  font-size: 0.78rem;
  box-shadow: 0 12px 28px rgba(255, 211, 26, 0.2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  color: var(--black);
  background: var(--yellow);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(92vh - var(--header));
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(34px, 5.5vw, 64px) clamp(18px, 5vw, 72px);
  color: var(--white);
}

.hero > img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.06) translateY(calc(var(--hero-shift, 0) * 1px));
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.66) 37%, rgba(0, 0, 0, 0.08) 74%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.12) 54%, rgba(0, 0, 0, 0.28));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-bottom: 34px;
  opacity: 0;
  transform: translateY(28px);
  animation: heroRise 860ms cubic-bezier(0.22, 1, 0.36, 1) 120ms forwards;
}

.eyebrow,
.section-kicker {
  display: block;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 16px 0 0;
  font-size: clamp(3rem, 6vw, 4.9rem);
  font-weight: 1000;
  line-height: 0.86;
  text-transform: uppercase;
}

.hero p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  min-width: 166px;
  padding: 0 20px;
}

.button.primary {
  color: var(--black);
  background: var(--yellow);
}

.button.secondary {
  color: var(--white);
  background: var(--red);
}

.button.dark {
  width: fit-content;
  color: var(--white);
  background: var(--black);
}

.header-cta:hover,
.header-cta:focus-visible,
.button:hover,
.button:focus-visible,
.finder-form button:hover,
.finder-form button:focus-visible,
.footer-form button:hover,
.footer-form button:focus-visible {
  transform: translateY(-2px);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(18px, 3.5vw, 46px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(72px, 1fr));
  gap: 10px;
  width: min(390px, calc(100% - 36px));
  padding: 16px;
  background: rgba(7, 7, 7, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 4px solid var(--yellow);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(28px);
  animation: heroRise 820ms cubic-bezier(0.22, 1, 0.36, 1) 420ms forwards;
}

.hero-panel span {
  grid-row: 1;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel strong {
  grid-row: 2;
  color: var(--yellow);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
}

.finder,
.intro,
.service-section,
.promo-section,
.news-section,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding-right: clamp(18px, 4vw, 34px);
  padding-left: clamp(18px, 4vw, 34px);
}

.finder {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) 1fr;
  gap: 28px;
  align-items: end;
  padding-top: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.finder h2,
.intro h2,
.section-heading h2,
.product-copy h2,
.promo-card h2 {
  margin: 10px 0 0;
  color: var(--black);
  font-size: clamp(2rem, 4.5vw, 4.6rem);
  font-weight: 1000;
  line-height: 0.92;
  text-transform: uppercase;
}

.finder-form label,
.footer-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.finder-form div,
.footer-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid var(--line);
  background: var(--white);
}

.finder-form input,
.footer-form input {
  min-width: 0;
  min-height: 54px;
  padding: 0 16px;
  border: 0;
  outline: 0;
}

.finder-form button,
.footer-form button {
  padding: 0 20px;
  color: var(--black);
  background: var(--yellow);
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  padding-top: clamp(58px, 8vw, 106px);
  padding-bottom: clamp(42px, 7vw, 88px);
}

.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.service-section,
.news-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(52px, 7vw, 88px);
  padding-bottom: clamp(52px, 7vw, 88px);
}

.intro,
.promo-section {
  position: relative;
  overflow: hidden;
}

.intro::before,
.service-section::before,
.promo-section::before,
.news-section::before {
  position: absolute;
  top: 0;
  left: clamp(18px, 4vw, 34px);
  width: min(210px, 42vw);
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--yellow), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

.intro.is-visible::before,
.service-section.is-visible::before,
.promo-section.is-visible::before,
.news-section.is-visible::before {
  transform: scaleX(1);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(240px, 0.45fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
}

.section-heading p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.55;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 292px;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 32px);
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  background: var(--cream);
  box-shadow: 0 24px 50px rgba(7, 7, 7, 0.08);
  transform: translateY(-5px);
}

.service-card span {
  color: var(--red);
  font-size: 1.1rem;
  font-weight: 1000;
}

.service-card h3,
.news-grid h3 {
  margin: 28px 0 0;
  color: var(--black);
  font-size: 1.45rem;
  line-height: 1.12;
}

.service-card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.product-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(60px, 8vw, 110px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(227, 35, 34, 0.9), rgba(7, 7, 7, 0) 36%),
    var(--black);
}

.product-copy {
  max-width: 700px;
}

.product-copy h2 {
  color: var(--white);
}

.product-copy p {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  line-height: 1.7;
}

.fuel-stack {
  display: grid;
  gap: 14px;
}

.fuel-stack article {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid var(--yellow);
  transition: transform 200ms ease, background 200ms ease;
}

.fuel-stack article:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateX(6px);
}

.fuel-stack strong {
  font-size: 1.2rem;
}

.fuel-stack span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.promo-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(56px, 8vw, 100px);
  padding-bottom: clamp(56px, 8vw, 100px);
}

.promo-card {
  display: grid;
  gap: 18px;
}

.promo-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stats-grid article {
  min-height: 210px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid strong {
  color: var(--red);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.stats-grid span {
  color: var(--muted);
  font-weight: 850;
  text-transform: uppercase;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-grid article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(227, 35, 34, 0.86), rgba(7, 7, 7, 0.92)),
    var(--black);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.news-grid article:hover {
  box-shadow: 0 26px 54px rgba(7, 7, 7, 0.18);
  transform: translateY(-5px);
}

.news-grid span {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.news-grid h3 {
  color: var(--white);
}

.news-grid a {
  width: fit-content;
  margin-top: auto;
  color: var(--yellow);
  font-weight: 950;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.7fr 1fr;
  gap: 28px;
  padding-top: 44px;
  padding-bottom: 44px;
  color: var(--white);
  background: var(--black);
}

.site-footer p,
.site-footer address,
.footer-links {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-style: normal;
  line-height: 1.6;
}

.site-footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  width: fit-content;
}

.footer-form div {
  border-color: rgba(255, 255, 255, 0.16);
}

.footer-form input {
  background: var(--white);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.scroll-reveal[data-reveal="left"] {
  transform: translateX(-38px);
}

.scroll-reveal[data-reveal="right"] {
  transform: translateX(38px);
}

.scroll-reveal[data-reveal="scale"] {
  transform: translateY(24px) scale(0.96);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

@keyframes heroRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: block;
    order: 3;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    top: var(--header);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 18px clamp(18px, 5vw, 42px) 28px;
    background: rgba(7, 7, 7, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-cta {
    justify-self: end;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 760px;
    align-items: center;
    padding-top: 72px;
  }

  .hero > img {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.48)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.12));
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 24px;
  }

  .finder,
  .intro,
  .section-heading,
  .product-band,
  .promo-section {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .brand-copy em,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    order: initial;
  }

  .hero {
    min-height: calc(92vh - var(--header));
    padding-top: 46px;
    padding-bottom: 36px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    padding: 12px;
  }

  .hero-panel span,
  .hero-panel strong {
    text-align: center;
  }

  .hero-panel span {
    grid-row: 1;
    font-size: 0.58rem;
  }

  .hero-panel strong {
    grid-row: 2;
    font-size: 1.7rem;
  }

  .finder-form div,
  .footer-form div,
  .service-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .finder-form button,
  .footer-form button {
    min-height: 50px;
  }
}
