/* fpfuel.com — site styles on top of tokens.css */

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- nav ---------- */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px clamp(20px, 4vw, 48px);
  color: var(--cream);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 22px; height: auto; }
.brand-name { font-size: 20px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 12px; }
.nav-links a { text-decoration: none; opacity: .85; }
.nav-links a:hover { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: .78em 1.5em;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--blaze); color: var(--cream); }
.btn-primary:hover { background: var(--ember); }
.btn-ghost { border: 1px solid rgba(246, 241, 231, .4); color: var(--cream); }
.btn-ghost:hover { border-color: rgba(246, 241, 231, .8); }
.btn-dark { background: var(--espresso); color: var(--cream); }
.btn-dark:hover { background: var(--espresso-2); }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100svh;
}
.hero-left {
  position: relative;
  background:
    repeating-linear-gradient(0deg,   rgba(246,241,231,.045) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg,  rgba(246,241,231,.045) 0 1px, transparent 1px 56px),
    var(--espresso);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 6vw, 96px);
  padding-top: clamp(96px, 14vh, 160px);
}
.hero-title {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.hero-accent { color: var(--blaze); }
.ticker {
  display: block;
  position: relative;
  height: 1.12em;
  overflow: hidden;
  color: var(--blaze);
}
.ticker span {
  position: absolute;
  inset: 0 auto auto 0;
  transform: translateY(115%);
  transition: transform .5s cubic-bezier(.2, .75, .2, 1);
  will-change: transform;
}
.ticker span.active { transform: translateY(0); }
.ticker span.above  { transform: translateY(-115%); }
.hero-sub {
  margin-top: 22px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: rgba(246, 241, 231, .78);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.sheet-corner {
  position: absolute;
  left: clamp(28px, 6vw, 96px);
  bottom: 24px;
  right: clamp(28px, 6vw, 96px);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(246, 241, 231, .22);
  font-size: 10.5px;
  color: rgba(246, 241, 231, .55);
}
.hero-right { position: relative; overflow: hidden; background: var(--espresso-2); min-height: 320px; }
.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .65s ease;
}
.hero-right img.show { opacity: 1; }

/* ---------- content bands ---------- */
.band {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 6vw, 96px);
  border-top: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg,  var(--grid) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, var(--grid) 0 1px, transparent 1px 56px),
    var(--bg);
}
.band-alt { background: var(--bg-2); }
.band-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.figure {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 24px 30px;
  background: var(--bg);
}
.figure-no { display: block; color: var(--terra); font-size: 11px; margin-bottom: 16px; }
.figure h3 { font-size: 1.15rem; margin-bottom: 10px; }
.figure p { color: var(--muted); font-size: .95rem; }
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.step { border-top: 1px solid var(--fg); padding-top: 18px; }
.step-no { display: block; color: var(--terra); font-size: 11px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .95rem; max-width: 34ch; }

/* ---------- founder ---------- */
.founder {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.founder-photo {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--espresso);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo.noimg img { display: none; }
.founder-photo.noimg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/mark.png') center / 72px auto no-repeat;
  opacity: .8;
}
.founder-text .band-title { margin-bottom: 18px; }
.founder-text p { color: var(--muted); max-width: 56ch; }
.founder-sig { margin-top: 20px; color: var(--terra); font-size: 11px; }
.founder-social {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  gap: 10px;
}
.founder-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--fg);
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.founder-social svg { width: 20px; height: 20px; display: block; }
.founder-social a:hover {
  color: var(--blaze);
  border-color: var(--blaze);
  background: rgba(244, 81, 11, .08);
}
.founder-social a:focus-visible { outline: 2px solid var(--blaze); outline-offset: 2px; }

/* ---------- cta band (the one blaze flood) ---------- */
.cta-band {
  background: var(--blaze);
  color: var(--espresso);
  text-align: center;
  padding: clamp(64px, 10vw, 128px) 24px;
}
.cta-band h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

/* ---------- footer ---------- */
.footer {
  background: var(--espresso);
  color: var(--cream);
  padding: 40px clamp(20px, 6vw, 96px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-name { font-size: 18px; }
.footer-legal { font-size: 13px; color: rgba(246, 241, 231, .65); }
.footer-legal a { color: inherit; }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .5em 1em;
    font-size: 13px;
  }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left {
    min-height: 100svh;
    justify-content: center;
    padding-top: clamp(104px, 15svh, 150px);
    padding-bottom: 92px;
  }
  .hero-right { display: none; }
  .figures, .steps { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 280px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker span, .hero-right img { transition: none; }
}
