@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600&display=swap");

:root {
  --bg: #0e1013;
  --bg-2: #15181d;
  --panel: #1c2026;
  --panel-2: #232830;
  --line: #2d333c;
  --text: #f2f3f5;
  --text-2: #b9bfc8;
  --text-3: #7f8792;
  --flame: #f28c28;
  --flame-2: #ffb15c;
  --heat: #9fc0ff;
  --logo-yellow: #f8f62c;
  --down: #ff6b5e;
  --up: #4fd37a;
  --paper: #ffffff;
  --paper-2: #f3f4f6;
  --ink: #14171c;
  --ink-2: #4a515b;
  --ink-line: #e1e4e8;
  --wrap: 1180px;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- top bar + nav ---------- */

.utility {
  background: #000;
  color: var(--text-2);
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

.utility .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.utility a { color: var(--text); text-decoration: none; }
.utility strong { color: var(--flame-2); font-weight: 600; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}

.brand img { height: 60px; width: auto; }

.brand span {
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  line-height: 1.2;
}

.site-header nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.site-header nav a {
  color: var(--text-2);
  text-decoration: none;
  font-family: var(--head);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 2px solid transparent;
}

.site-header nav a:hover { color: var(--text); }

.site-header nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--flame);
}

.btn {
  display: inline-block;
  font-family: var(--head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 22px;
  border: 2px solid var(--flame);
  color: var(--ink);
  background: var(--flame);
  line-height: 1;
}

.btn:hover { background: var(--flame-2); border-color: var(--flame-2); }

.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn.ghost:hover { border-color: var(--text); background: transparent; }

.site-header .btn { padding: 11px 18px; font-size: 15px; }

/* heat line: the torch colors as a 3px rule */
.heat {
  height: 3px;
  background: linear-gradient(90deg, #ff5a1f 0%, #ffb15c 22%, #ffffff 50%, #9fc0ff 78%, #3b63d8 100%);
}

/* ---------- hero (home) ---------- */

.hero {
  position: relative;
  background: #08090c url("torch.jpg") center top / 100% auto no-repeat;
  color: var(--text);
  display: flex;
  align-items: flex-end;
}

/* the photo is 4.3:1; let the full row of torches show, then fade into the dark band that carries the headline */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,9,12,0) 0%, rgba(8,9,12,0) 9vw, rgba(8,9,12,0.55) 16vw, #08090c 23vw);
}

.hero .wrap {
  position: relative;
  padding-top: 14vw;
  padding-bottom: 72px;
}

.kicker {
  margin: 0 0 10px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--flame-2);
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 11ch;
}

.hero p {
  margin: 0 0 28px;
  max-width: 58ch;
  font-size: 19px;
  color: var(--text-2);
}

.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- stats strip ---------- */

.stats {
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid var(--line);
}

.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 26px 24px 24px 0;
  border-right: 1px solid var(--line);
}

.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }

.stat b {
  display: block;
  font-family: var(--head);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- sections ---------- */

.section { padding: 72px 0; }
.section.tight { padding: 56px 0; }
.section.dark { background: var(--bg-2); color: var(--text); }
.section.gray { background: var(--paper-2); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-head h2,
.page-title h1,
h2.title {
  margin: 0;
  font-family: var(--head);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-head p { margin: 8px 0 0; color: var(--ink-2); max-width: 60ch; }
.section.dark .section-head p { color: var(--text-2); }

.text-link {
  font-family: var(--head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--flame);
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- product cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.five { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--ink-line);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.section.dark .card { background: var(--panel); border-color: var(--line); }

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card .body { padding: 18px 20px 22px; }

.card h3 {
  margin: 0 0 6px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
}

.card .grades {
  margin: 0 0 10px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--flame);
  font-weight: 600;
}

.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.section.dark .card p { color: var(--text-2); }

.spec {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 8px;
  border: 1px solid var(--ink-line);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- oil prices ---------- */

.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.quote {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 20px 22px 18px;
}

.quote header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.quote h3 {
  margin: 0;
  font-family: var(--head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}

.quote .px {
  font-family: var(--head);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.quote .chg { font-weight: 600; font-size: 15px; }
.quote .chg.down { color: var(--down); }
.quote .chg.up { color: var(--up); }

.quote .chart { width: 100%; height: 96px; margin-top: 10px; display: block; }

.quote .ranges { display: flex; gap: 6px; margin-top: 10px; }

.quote .ranges button {
  font: 600 13px var(--body);
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  padding: 5px 11px;
  cursor: pointer;
}

.quote .ranges button[aria-pressed="true"] {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--ink);
}

.source { margin: 14px 0 0; font-size: 13px; color: var(--text-3); }

/* ---------- split (about teaser, what is a rod) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split img { width: 100%; height: 100%; object-fit: cover; }

.split h2 {
  margin: 0 0 14px;
  font-family: var(--head);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  text-transform: uppercase;
}

.split p { color: var(--ink-2); margin: 0 0 14px; }
.section.dark .split p { color: var(--text-2); }

/* ---------- interior page title band ---------- */

.page-title {
  position: relative;
  background: #08090c url("torch.jpg") center 38% / 100% auto no-repeat;
  color: var(--text);
}

.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,12,0.9) 0%, rgba(8,9,12,0.7) 50%, rgba(8,9,12,0.25) 100%),
    linear-gradient(180deg, rgba(8,9,12,0.1) 0%, rgba(8,9,12,0.5) 100%);
}

.page-title .wrap { position: relative; padding-top: 64px; padding-bottom: 56px; }
.page-title h1 { font-size: clamp(40px, 5vw, 60px); }
.page-title p { margin: 12px 0 0; max-width: 62ch; color: var(--text-2); font-size: 18px; }

/* ---------- product groups (products page) ---------- */

.group { padding: 56px 0; border-top: 1px solid var(--ink-line); }
.group:first-of-type { border-top: 0; }

.group-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 24px; }
.group-head h2 { margin: 0; font-family: var(--head); font-weight: 800; font-size: 34px; text-transform: uppercase; line-height: 1; }
.group-head span { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  background: var(--bg);
  color: var(--text);
}

.download h3 { margin: 0 0 4px; font-family: var(--head); font-weight: 700; font-size: 24px; text-transform: uppercase; }
.download p { margin: 0; color: var(--text-2); }

/* ---------- about page ---------- */

.prose { max-width: 70ch; }
.prose p { color: var(--ink-2); }
.prose h2 { font-family: var(--head); font-weight: 800; font-size: 32px; text-transform: uppercase; margin: 0 0 12px; line-height: 1; }

.regions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.regions li {
  padding: 6px 12px;
  border: 1px solid var(--ink-line);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.figure { margin: 0; }
.figure img { width: 100%; }
.figure figcaption { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }

/* ---------- contact page ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }

.contact-block { margin-bottom: 30px; }
.contact-block h3 {
  margin: 0 0 8px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flame);
}
.contact-block p { margin: 0; color: var(--ink-2); }
.contact-block a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-block .big { font-family: var(--head); font-weight: 700; font-size: 30px; color: var(--ink); }

.map { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) contrast(1.05); }

/* ---------- warehouses page ---------- */

.state { padding: 36px 0; border-top: 1px solid var(--ink-line); }
.state:first-of-type { border-top: 0; }

.state-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.state-head h2 { margin: 0; font-family: var(--head); font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: 1; }
.state-head span { font-size: 13.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }

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

.loc {
  border: 1px solid var(--ink-line);
  border-top: 3px solid var(--flame);
  padding: 18px 20px;
  background: var(--paper);
}

.loc h3 { margin: 0 0 6px; font-family: var(--head); font-weight: 700; font-size: 21px; text-transform: uppercase; line-height: 1.1; }
.loc p { margin: 0; color: var(--ink-2); font-size: 15px; }
.loc .tel { margin-top: 10px; color: var(--ink); font-weight: 500; }
.loc .tel a { text-decoration: none; }
.loc .note { margin-top: 8px; font-size: 13px; color: var(--flame); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }

/* ---------- CTA band ---------- */

.cta {
  background: var(--bg);
  color: var(--text);
  padding: 56px 0;
}

.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0 0 6px; font-family: var(--head); font-weight: 800; font-size: 38px; text-transform: uppercase; line-height: 1; }
.cta p { margin: 0; color: var(--text-2); }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */

footer {
  background: #000;
  color: var(--text-2);
  padding: 48px 0 28px;
  font-size: 15px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

footer h4 {
  margin: 0 0 12px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

footer p { margin: 0 0 8px; }
footer a { color: var(--text); text-decoration: none; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 8px; }

.foot-brand img { height: 72px; width: auto; margin-bottom: 14px; }

.api { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.api img { width: 40px; height: auto; background: #fff; padding: 4px; }
.api span { font-size: 13.5px; color: var(--text); letter-spacing: 0.04em; }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  font-size: 13px;
  color: var(--text-3);
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .cards, .cards.four, .cards.five { grid-template-columns: repeat(2, 1fr); }
  .locs { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-header nav a { padding: 10px 10px; font-size: 16px; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .utility .wrap { flex-direction: column; gap: 2px; }
  .site-header .wrap { height: auto; flex-wrap: wrap; gap: 10px 16px; padding-top: 12px; padding-bottom: 12px; }
  .brand img { height: 52px; }
  .brand span { display: none; }
  .site-header .btn { order: 2; margin-left: auto; }
  .site-header nav { order: 3; width: 100%; margin-left: 0; flex-wrap: wrap; gap: 0; }
  .site-header nav a { padding: 8px 10px 8px 0; font-size: 15px; }
  .hero { background: #08090c url("torch.jpg") 62% 0 / auto 200px no-repeat; }
  .hero::before { background: linear-gradient(180deg, rgba(8,9,12,0) 0%, rgba(8,9,12,0) 90px, rgba(8,9,12,0.6) 150px, #08090c 200px); }
  .hero .wrap { padding-top: 150px; padding-bottom: 44px; }
  .page-title { background: #08090c url("torch.jpg") 62% center / auto 100% no-repeat; }
  .hero p { font-size: 17px; }
  .section { padding: 52px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head h2, .cta h2, .split h2 { font-size: 34px; }
  .cards, .cards.four, .cards.five { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; }
  .locs { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 32px; }
  .download, .cta .wrap { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
}
