/* ============================================================
   PUMPOWEEN — base.css
   Fonts, design tokens, reset, typography, utilities, fog.
   ============================================================ */

@font-face {
  font-family: "Unbounded";
  src: url("../assets/fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  /* colour system */
  --orange:        #FF9A00;
  --orange-bright: #FFB133;
  --orange-deep:   #FF7900;
  --white:         #FFFFFF;
  --cream:         #FFF9F1;
  --peach:         #FFF2DC;
  --ink:           #24242D;
  --ink-soft:      #4A4A55;
  --ink-faint:     #8A8A96;
  --night:         #121217;
  --line:          rgba(36, 36, 45, .09);
  --line-strong:   rgba(36, 36, 45, .16);

  /* type */
  --font-display: "Unbounded", "Arial Black", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", -apple-system, sans-serif;

  /* radius + shadow */
  --r-card: 28px;
  --r-pill: 999px;
  --shadow-soft: 0 24px 70px -28px rgba(36, 36, 45, .22);
  --shadow-lift: 0 34px 90px -30px rgba(36, 36, 45, .28);
  --shadow-orange: 0 18px 46px -14px rgba(255, 121, 0, .5);

  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-micro: .22s;
  --t-ui: .45s;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open, body.intro-lock { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
em { font-style: normal; }
code { font-family: var(--font-body); }

::selection { background: var(--orange); color: var(--white); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: rgba(255, 154, 0, .55); border-radius: 8px; border: 3px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: var(--orange-deep); }

:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; top: -60px; left: 20px; z-index: 20000;
  background: var(--ink); color: var(--cream);
  padding: 12px 22px; border-radius: var(--r-pill);
  font-weight: 800; font-size: 13px; letter-spacing: .08em;
  transition: top .3s var(--ease-out);
}
.skip-link:focus-visible { top: 16px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); position: relative; z-index: 3; }
.section { position: relative; padding-block: clamp(88px, 11vw, 164px); }

/* ---------- typography ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 5.4vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.accent { color: var(--orange); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 11px; letter-spacing: .24em;
  color: var(--ink-soft); text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(255, 154, 0, .18);
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; color: var(--ink-soft); }

.section-head { margin-bottom: clamp(44px, 6vw, 76px); position: relative; }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-sub { margin-top: 18px; font-weight: 600; color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.15rem); }

/* ---------- chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 800; letter-spacing: .14em;
  padding: 5px 12px; border-radius: var(--r-pill);
  text-transform: uppercase; white-space: nowrap;
}
.chip--demo {
  background: var(--peach); color: #A05A00;
  border: 1px dashed rgba(255, 121, 0, .45);
}

/* ---------- icons ---------- */
.ic { width: 22px; height: 22px; overflow: visible; }
.ic use { pointer-events: none; }

/* ---------- fog system (transform-only, pre-blurred gradients) ---------- */
.fog { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.fog span {
  position: absolute; border-radius: 50%;
  will-change: transform;
}
.fog .f1 {
  width: 66vw; height: 34vw; left: -22vw; top: 8%;
  background: radial-gradient(closest-side, rgba(255,255,255,.9), rgba(255,255,255,0) 70%);
  animation: fogDriftA 84s linear infinite alternate;
}
.fog .f2 {
  width: 55vw; height: 30vw; right: -18vw; bottom: 4%;
  background: radial-gradient(closest-side, rgba(255,242,220,.85), rgba(255,242,220,0) 70%);
  animation: fogDriftB 104s linear infinite alternate;
}
.fog .f3 {
  width: 42vw; height: 24vw; left: 24vw; bottom: -8%;
  background: radial-gradient(closest-side, rgba(255,255,255,.75), rgba(255,255,255,0) 70%);
  animation: fogDriftA 122s linear infinite alternate-reverse;
}
@keyframes fogDriftA { from { transform: translate3d(-6vw, 0, 0); } to { transform: translate3d(14vw, -2vw, 0); } }
@keyframes fogDriftB { from { transform: translate3d(8vw, 1vw, 0); } to { transform: translate3d(-12vw, -1vw, 0); } }

/* ---------- ambient canvases ---------- */
#fx-bg, #fx-fg {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
#fx-bg { z-index: 1; }
#fx-fg { z-index: 9000; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  height: 200px; z-index: 400; pointer-events: none;
}
.scroll-progress__line {
  position: absolute; right: 8px; top: 0; width: 2px; height: 100%;
  background: rgba(36, 36, 45, .1); border-radius: 2px; overflow: hidden;
}
.scroll-progress__fill {
  width: 100%; height: 100%; background: var(--orange);
  transform-origin: top; transform: scaleY(0);
}
.scroll-progress__pill {
  position: absolute; right: 2px; top: 0;
  width: 14px; height: 24px; border-radius: 8px;
  background: linear-gradient(180deg, var(--white) 0 50%, var(--orange) 50% 100%);
  border: 2.5px solid var(--ink);
  transform: rotate(-38deg);
  box-shadow: 0 4px 12px rgba(36, 36, 45, .25);
}
@media (max-width: 1100px) { .scroll-progress { display: none; } }

/* ---------- reveal defaults (JS animates; no-JS stays visible) ---------- */
html.js [data-reveal],
html.js [data-reveal-heading] { opacity: 0; }
html.js .hero__eyebrow,
html.js .hero__sub,
html.js .hero__actions,
html.js .hero__cap-wrap,
html.js .ca[data-ca]:not(.ca--footer),
html.js .hero__scrollcue { opacity: 0; }

/* ---------- reduced motion (html.force-motion = explicit ?motion=1 override) ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js:not(.force-motion) [data-reveal],
  html.js:not(.force-motion) [data-reveal-heading],
  html.js:not(.force-motion) .hero__eyebrow,
  html.js:not(.force-motion) .hero__sub,
  html.js:not(.force-motion) .hero__actions,
  html.js:not(.force-motion) .hero__cap-wrap,
  html.js:not(.force-motion) .ca[data-ca],
  html.js:not(.force-motion) .hero__scrollcue { opacity: 1 !important; transform: none !important; }
  html:not(.force-motion) .fog span,
  html:not(.force-motion) .scrollcue__pill i { animation: none !important; }
  html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important;
  }
}
