/* ============================================================
   AXIOM FUELS GLOBAL — DESIGN SYSTEM
   Industrial Editorial · Poppins · Dark dominant
   ============================================================ */

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Poppins', system-ui, sans-serif; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ── BRAND TOKENS ─────────────────────────────────────────── */
:root {
  --obsidian: #0E0E0E;
  --obsidian-2: #161616;
  --obsidian-3: #1F1F1F;
  --amber: #C87941;
  --amber-soft: #D89060;
  --green: #1DB87A;
  --green-soft: #3FCC92;
  --bone: #F7F4EF;
  --bone-2: #ECEAE4;
  --slate: #4A5568;
  --slate-soft: #6B7280;
  --line: #2A2A2A;
  --line-soft: #DEDAD2;

  --bg: var(--obsidian);
  --text: var(--bone);

  --container: 1280px;
  --gutter: clamp(1.2rem, 4vw, 2.4rem);
  --section-y: clamp(4rem, 10vw, 8rem);

  --radius-sm: 4px;
  --radius-md: 8px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.eyebrow--green { color: var(--green); }
.eyebrow--slate { color: var(--slate-soft); }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.05; letter-spacing: -0.015em; color: var(--bone); }
.h1, h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.h2, h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
.h3, h3 { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 700; }
.h4, h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 700; }

.lede { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--bone); opacity: 0.85; font-weight: 300; max-width: 65ch; }

p { font-size: 1rem; line-height: 1.7; color: inherit; }
p + p { margin-top: 1rem; }

.amber { color: var(--amber); }
.green { color: var(--green); }
.muted { color: var(--slate-soft); }

/* ── LAYOUT ───────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }

.section--dark { background: var(--obsidian); color: var(--bone); }
.section--mid { background: var(--obsidian-2); color: var(--bone); }
.section--light { background: var(--bone-2); color: var(--obsidian); }

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--bone); }
.section--light h1, .section--light h2, .section--light h3, .section--light h4 { color: var(--obsidian); }
.section--light p { color: var(--slate); }
.section--light .lede { color: var(--slate); }
.section--light .muted { color: var(--slate); }

/* Accent rule under section headers */
.section-head { margin-bottom: 3rem; max-width: 60rem; }
.section-head .eyebrow { display: block; margin-bottom: 1rem; }
.section-head h2 { margin-bottom: 1.5rem; }
.section-head .lede { margin-top: 1rem; }

/* ── NAVIGATION ───────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(14, 14, 14, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  transition: background 0.3s var(--ease);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav__brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav__brand img { width: 36px; height: 36px; }
.nav__brand-text { font-weight: 800; letter-spacing: 0.18em; font-size: 1.05rem; color: var(--bone); }
.nav__menu { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav__menu a {
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em; color: var(--bone); opacity: 0.75;
  position: relative; padding: 0.3rem 0;
  transition: opacity 0.2s var(--ease);
}
.nav__menu a:hover, .nav__menu a.active { opacity: 1; color: var(--amber); }
.nav__menu a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--amber);
}
.nav__cta {
  background: var(--amber); color: var(--bone);
  padding: 0.6rem 1.25rem; border-radius: 2px;
  font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav__cta:hover { background: var(--green); transform: translateY(-1px); }

.nav__toggle { display: none; padding: 0.5rem; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--bone); margin: 5px 0; transition: 0.3s var(--ease); }
.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 7px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -7px); }

@media (max-width: 880px) {
  .nav__toggle { display: block; }
  .nav__menu, .nav__cta { display: none; }
  .nav__menu.open {
    display: flex; flex-direction: column; gap: 1rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--obsidian); padding: 2rem var(--gutter); border-bottom: 1px solid var(--line);
  }
  .nav__menu.open a { padding: 0.6rem 0; }
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
}
.btn--primary { background: var(--amber); color: var(--bone); }
.btn--primary:hover { background: var(--green); transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--bone); color: var(--bone); }
.btn--ghost:hover { background: var(--bone); color: var(--obsidian); }
.btn--ghost-dark { border: 1px solid var(--obsidian); color: var(--obsidian); }
.btn--ghost-dark:hover { background: var(--obsidian); color: var(--bone); }
.btn::after { content: '→'; transition: transform 0.2s var(--ease); }
.btn:hover::after { transform: translateX(3px); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--obsidian); position: relative; overflow: hidden;
  padding: 7rem 0 4rem;
}

/* Video hero variant */
.hero--video { padding: 8rem 0 5rem; }
.hero--video {
  background-image: url('../assets/img/hero-poster.jpg');
  background-size: cover;
  background-position: center;
}
.hero__video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  opacity: 0.92;
  filter: saturate(1.05) contrast(1.02);
}
.hero__video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 90% 75% at center, rgba(14,14,14,0.15) 0%, rgba(14,14,14,0.50) 100%),
    linear-gradient(180deg, rgba(14, 14, 14, 0) 0%, rgba(14, 14, 14, 0.05) 50%, rgba(14, 14, 14, 0.92) 100%);
}
.hero__inner--video {
  position: relative; z-index: 2;
  display: block !important;
  grid-template-columns: none !important;
  max-width: 900px; text-align: center; margin: 0 auto; padding: 0 var(--gutter);
}
.hero__content--centre {
  text-align: center; margin: 0 auto; max-width: 760px;
  /* Layered text shadow creates a soft dark halo around text for legibility
     against the bright video background without darkening the video itself */
  text-shadow:
    0 2px 14px rgba(14, 14, 14, 0.95),
    0 0 28px rgba(14, 14, 14, 0.75),
    0 0 60px rgba(14, 14, 14, 0.5);
}
.hero__content--centre .hero__lede {
  margin-left: auto; margin-right: auto;
  /* Body copy needs extra contrast as it's longer-form text */
  font-weight: 400;
  color: var(--bone);
}
.hero__content--centre .hero__cta { justify-content: center; }
.hero__content--centre .hero__cta .btn { text-shadow: none; }
.hero__content--centre .hero__eyebrow,
.hero__content--centre .hero__title,
.hero__content--centre .hero__tagline,
.hero__content--centre .hero__lede {
  position: relative;
}
.hero__mark--small {
  max-width: 110px !important; width: 110px;
  margin: 0 auto 2rem; display: block;
  filter: drop-shadow(0 0 30px rgba(200, 121, 65, 0.4));
}
.hero__content--centre .hero__tagline {
  display: inline-block;
}
.hero__bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200, 121, 65, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 121, 65, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}
.hero__mark {
  width: 100%; max-width: 380px;
  filter: drop-shadow(0 0 60px rgba(200, 121, 65, 0.15));
  animation: heroMark 1.2s var(--ease-out);
}
@keyframes heroMark { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.hero__content { animation: heroContent 1s var(--ease-out) 0.2s; }
@keyframes heroContent { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero__eyebrow { color: var(--amber); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.4rem; display: inline-block; }
.hero__title { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1; margin-bottom: 1.6rem; }
.hero__title .amber { color: var(--amber); }
.hero__title .green { color: var(--green); }
.hero__tagline { font-size: clamp(1rem, 1.4vw, 1.25rem); color: var(--amber); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: inline-block; padding-right: 2rem; }
.hero__lede { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--bone); opacity: 0.78; max-width: 38rem; margin-bottom: 2.5rem; font-weight: 300; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__mark { margin: 0 auto; max-width: 260px; }
  .hero__cta { justify-content: center; }
  .hero__lede { margin-left: auto; margin-right: auto; }
}

/* Hero variants for sub-pages */
.page-hero {
  background: var(--obsidian); padding: 9rem 0 4rem; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.page-hero__eyebrow { color: var(--amber); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); margin-bottom: 1.4rem; max-width: 22ch; }
.page-hero .lede { max-width: 55ch; }
.page-hero__bar {
  display: flex; gap: 0; margin-top: 2.5rem; max-width: 30rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.page-hero__bar > div { flex: 1; }
.page-hero__bar .num { font-size: 1.8rem; font-weight: 700; color: var(--bone); display: block; }
.page-hero__bar .num.amber { color: var(--amber); }
.page-hero__bar .num.green { color: var(--green); }
.page-hero__bar .lbl { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-soft); margin-top: 0.3rem; display: block; }

/* ── CARDS ────────────────────────────────────────────────── */
.card {
  background: var(--obsidian-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 2rem 1.8rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent, var(--amber));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.card:hover { border-color: var(--accent, var(--amber)); transform: translateY(-2px); }
.card:hover::before { transform: scaleX(1); }
.card.is-amber { --accent: var(--amber); }
.card.is-green { --accent: var(--green); }
.card.is-blue { --accent: #4A7FB5; }
.card h3 { margin-bottom: 1rem; font-size: 1.25rem; }
.card p { color: var(--slate-soft); font-size: 0.95rem; }

.card--light { background: #fff; border-color: var(--line-soft); }
.card--light p { color: var(--slate); }

/* ── STAT BLOCK ───────────────────────────────────────────── */
.stat {
  padding: 2.2rem 1.8rem;
  background: var(--obsidian-2);
  border-top: 3px solid var(--accent, var(--amber));
  position: relative;
}
.stat.is-amber { --accent: var(--amber); }
.stat.is-green { --accent: var(--green); }
.stat.is-blue { --accent: #4A7FB5; }
.stat__num {
  font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1;
  color: var(--accent, var(--amber)); margin-bottom: 0.8rem; letter-spacing: -0.02em;
}
.stat__label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bone); margin-bottom: 1rem;
}
.stat__detail { color: #A8B3C1; font-size: 0.92rem; line-height: 1.55; }

/* ── GRID UTILITIES ───────────────────────────────────────── */
.grid { display: grid; gap: 1.6rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
}

/* ── PROCESS FLOW ─────────────────────────────────────────── */
.flow { display: flex; align-items: stretch; gap: 0.6rem; flex-wrap: wrap; }
.flow__node {
  flex: 1; min-width: 150px; padding: 1.5rem 1rem; border-radius: var(--radius-sm);
  background: var(--accent, var(--amber)); color: var(--bone); text-align: center;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 140px;
}
.flow__node h4 { color: var(--bone); font-size: 0.95rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.4rem; }
.flow__node small { font-size: 0.7rem; opacity: 0.8; letter-spacing: 0.1em; text-transform: uppercase; }
.flow__node.is-amber { background: var(--amber); }
.flow__node.is-amber-2 { background: #8B6914; }
.flow__node.is-dark { background: var(--obsidian); border: 1px solid var(--amber); }
.flow__node.is-green { background: var(--green); }
.flow__node.is-green-2 { background: #2A6644; }
.flow__arrow {
  display: flex; align-items: center; color: var(--slate-soft); font-size: 1.3rem;
  padding: 0 0.4rem;
}
@media (max-width: 880px) {
  .flow { flex-direction: column; }
  .flow__arrow { transform: rotate(90deg); padding: 0.2rem 0; align-self: center; }
}

/* ── TIMELINE ─────────────────────────────────────────────── */
.timeline { position: relative; padding: 2rem 0; }
.timeline__bar { position: absolute; top: 1.6rem; left: 1rem; right: 1rem; height: 2px; background: var(--line); }
.timeline__items { display: flex; justify-content: space-between; gap: 0.5rem; position: relative; }
.timeline__item { flex: 1; text-align: center; padding-top: 0; }
.timeline__dot {
  width: 16px; height: 16px; border-radius: 50%; margin: 0 auto;
  position: relative; z-index: 2;
}
.timeline__year { font-size: 1.2rem; font-weight: 800; margin-top: 1rem; }
.timeline__label { font-size: 0.78rem; line-height: 1.4; color: var(--slate-soft); margin-top: 0.4rem; }
.timeline__year.amber { color: var(--amber); }
.timeline__year.green { color: var(--green); }
.timeline__year.blue { color: #4A7FB5; }
.timeline__dot.amber { background: var(--amber); }
.timeline__dot.green { background: var(--green); }
.timeline__dot.blue { background: #4A7FB5; }
@media (max-width: 720px) {
  .timeline__items { flex-direction: column; gap: 1.6rem; }
  .timeline__bar { display: none; }
  .timeline__item { text-align: left; display: flex; gap: 1rem; align-items: center; }
  .timeline__dot { flex-shrink: 0; }
  .timeline__year { margin-top: 0; }
}

/* ── CALLOUT ──────────────────────────────────────────────── */
.callout {
  padding: 1.8rem 2rem; border-left: 4px solid var(--accent, var(--amber));
  background: var(--obsidian-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}
.callout.is-amber { --accent: var(--amber); }
.callout.is-green { --accent: var(--green); }
.callout.on-light { background: #fff; }
.callout p { color: var(--bone); font-style: italic; font-size: 1.05rem; line-height: 1.6; }
.callout.on-light p { color: var(--obsidian); }

/* ── PARTNERS / LOGO STRIP ────────────────────────────────── */
.partners { display: flex; flex-wrap: wrap; gap: 2.5rem 4rem; align-items: center; justify-content: center; opacity: 0.8; }
.partner { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.1em; color: var(--slate-soft); text-transform: uppercase; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: #050505; color: var(--bone); padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
}
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem;
}
.footer__brand img { width: 56px; height: 56px; margin-bottom: 1rem; }
.footer__brand-name { font-size: 1.6rem; font-weight: 800; letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.footer__tagline { font-size: 0.85rem; color: var(--amber); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__about { color: var(--slate-soft); font-size: 0.92rem; max-width: 28rem; line-height: 1.6; }
.footer h4 { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.2rem; font-weight: 600; }
.footer ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer ul a { font-size: 0.92rem; color: var(--slate-soft); transition: color 0.2s; }
.footer ul a:hover { color: var(--bone); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--slate-soft);
}
@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── FORMS ────────────────────────────────────────────────── */
.form { display: grid; gap: 1.4rem; max-width: 38rem; }
.form__field { display: flex; flex-direction: column; gap: 0.5rem; }
.form__field label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--amber); }
.form__field input, .form__field textarea, .form__field select {
  font-family: inherit; font-size: 1rem; padding: 0.85rem 1rem;
  background: var(--obsidian); color: var(--bone); border: 1px solid var(--line);
  border-radius: 2px; transition: border-color 0.2s var(--ease);
}
.form__field input:focus, .form__field textarea:focus, .form__field select:focus {
  outline: none; border-color: var(--amber);
}
.form--light .form__field input, .form--light .form__field textarea, .form--light .form__field select {
  background: #fff; color: var(--obsidian); border-color: var(--line-soft);
}

/* ── ACCENT BARS (the brand signature) ────────────────────── */
.brand-bars { position: absolute; top: 0; left: 0; bottom: 0; width: 6px; pointer-events: none; }
.brand-bars::before { content: ''; position: absolute; inset: 0; background: var(--amber); }
.brand-bars::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 25%; background: var(--green); }

/* ── ANIMATIONS ───────────────────────────────────────────── */
/* Progressive enhancement: reveals only hide when JS adds .has-reveals to body */
body.has-reveals .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
body.has-reveals .reveal.is-visible { opacity: 1; transform: translateY(0); }
body.has-reveals .reveal.delay-1 { transition-delay: 0.1s; }
body.has-reveals .reveal.delay-2 { transition-delay: 0.2s; }
body.has-reveals .reveal.delay-3 { transition-delay: 0.3s; }
body.has-reveals .reveal.delay-4 { transition-delay: 0.4s; }

/* ── UTILITIES ────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── PRINT ────────────────────────────────────────────────── */
@media print { .nav, .footer, .nav__toggle { display: none; } body { background: #fff; color: #000; } }
