/* ==========================================================================
   GRILL RIG CO. — V2 CINEMATIC HOMEPAGE STYLESHEET
   Brand: Grill Rig Co. | Tagline: "Gear Up. Fire Up."
   ========================================================================== */

:root {
  /* Core Palette */
  --bg-obsidian: #060608;
  --bg-charcoal: #0c0d11;
  --bg-surface: #13151c;
  --bg-surface-elevated: #1a1d26;
  --bg-glass: rgba(20, 22, 29, 0.72);
  --bg-glass-strong: rgba(14, 15, 20, 0.88);

  /* Fire & Ember Accents */
  --fire-crimson: #d92600;
  --fire-orange: #ff5500;
  --fire-amber: #ff8800;
  --fire-gold: #ffc145;
  --fire-glow-soft: rgba(255, 85, 0, 0.18);
  --fire-glow-strong: rgba(255, 106, 0, 0.45);

  /* Typography Colors */
  --text-primary: #f7f5f0;
  --text-secondary: #b5b0a6;
  --text-muted: #78746d;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-ember: rgba(255, 102, 0, 0.35);
  --border-ember-bright: rgba(255, 136, 0, 0.75);

  /* Fonts */
  --font-display: 'Bebas Neue', Impact, Haettenschweiler, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Transitions */
  --container-max: 1280px;
  --header-height: 78px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Scroll-Driven Hero State Variables (Updated via JS + CSS Scroll Timelines) */
  --scroll-p: 0;          /* Overall hero scroll progress: 0.0 -> 1.0 */
  --camera-zoom: 0.72;    /* Camera dolly scale: 0.72 -> 1.52 */
  --camera-y: 28px;       /* Camera vertical framing offset */
  --lid-open: 0;          /* Lid opening progress: 0.0 (closed) -> 1.0 (fully open) */
  --fire-power: 0.12;     /* Fire intensity inside grill: 0.12 -> 1.0 */
  --bg-parallax-y: 0px;   /* Background vertical parallax */
  --bg-scale: 1;          /* Background slow zoom */
  --copy-y: 0px;          /* Foreground copy parallax lift */
  --copy-scale: 1;        /* Foreground copy subtle scale */
  --copy-opacity: 1;      /* Foreground copy opacity */
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  timeline-scope: --hero-scroll-tl;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  overflow-x: clip;
  selection-background-color: var(--fire-orange);
}

::selection {
  background: var(--fire-orange);
  color: #ffffff;
}

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

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

button,
input {
  font: inherit;
  color: inherit;
}

.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;
}

/* Subtle Film Grain Texture Overlay */
.ambient-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.028;
  background-image: radial-gradient(rgba(255, 160, 80, 0.8) 1px, transparent 0);
  background-size: 24px 24px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   BUTTONS & UI ATOMS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.28s var(--ease-out-expo),
    box-shadow 0.28s var(--ease-out-expo),
    background-color 0.25s ease,
    border-color 0.25s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 0.92rem;
}

.btn-primary {
  background: linear-gradient(135deg, #ff7b00 0%, #ff4500 60%, #d62200 100%);
  color: #ffffff;
  border-color: rgba(255, 180, 100, 0.35);
  box-shadow:
    0 6px 24px -4px rgba(255, 72, 0, 0.55),
    0 0 0 1px rgba(255, 120, 0, 0.2) inset;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px -4px rgba(255, 85, 0, 0.78),
    0 0 18px rgba(255, 160, 60, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn-glass:hover {
  background: rgba(255, 106, 0, 0.14);
  border-color: var(--fire-amber);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 85, 0, 0.22);
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background: rgba(8, 8, 11, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(8, 8, 11, 0.92);
  border-bottom-color: rgba(255, 95, 0, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-flame-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 65%, rgba(255, 95, 0, 0.28), rgba(255, 95, 0, 0.04));
  border: 1px solid rgba(255, 120, 0, 0.4);
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 0 18px rgba(255, 85, 0, 0.3);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.brand-tagline-mini {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--fire-amber);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--fire-orange), var(--fire-gold));
  transition: width 0.25s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ==========================================================================
   1. HERO SECTION — SCROLL-DRIVEN 3D ZOOM, LID OPENING & LIVE FIRE
   ========================================================================== */
.hero-scroll-track {
  position: relative;
  height: auto;
  min-height: 100vh;
  background: var(--bg-obsidian);
  view-timeline: --hero-scroll-tl block;
}

.hero-sticky-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  perspective: 1200px;
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 3rem;
  background: radial-gradient(circle at 50% 62%, #1a0d07 0%, #09090d 58%, #040406 100%);
}

.hero-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* LAYER 1: Distant Night Backdrop & Horizon */
.hero-bg-environment {
  z-index: 1;
  transform: translate3d(0, var(--bg-parallax-y, 0px), 0) scale(var(--bg-scale, 1));
  transform-origin: 50% 75%;
  will-change: transform;
}

.sky-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 50% at 50% 68%, rgba(255, 77, 0, calc(0.14 + var(--fire-power) * 0.28)), transparent 70%),
    linear-gradient(180deg, #040407 0%, #0a0b10 52%, #130b08 82%, #060608 100%);
}

.distant-stars {
  position: absolute;
  inset: 0;
  height: 60%;
  opacity: calc(0.45 - var(--scroll-p) * 0.25);
  background-image:
    radial-gradient(1.5px 1.5px at 15% 20%, rgba(255, 240, 220, 0.7), transparent),
    radial-gradient(1px 1px at 35% 12%, rgba(255, 210, 170, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 62% 26%, rgba(255, 235, 210, 0.6), transparent),
    radial-gradient(2px 2px at 82% 16%, rgba(255, 190, 140, 0.5), transparent),
    radial-gradient(1px 1px at 48% 32%, rgba(255, 255, 255, 0.4), transparent);
}

.horizon-silhouette {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%;
}

/* LAYER 2: Firelight Bloom & Volumetric Smoke Plumes */
.hero-fire-ambience {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fire-core-bloom {
  position: absolute;
  bottom: 14%;
  left: 50%;
  width: min(580px, 95vw);
  height: min(580px, 95vw);
  transform: translate3d(-50%, 0, 0) scale(calc(0.65 + var(--fire-power) * 1.35));
  background: radial-gradient(
    circle,
    rgba(255, 145, 0, calc(0.22 + var(--fire-power) * 0.55)) 0%,
    rgba(255, 68, 0, calc(0.15 + var(--fire-power) * 0.38)) 38%,
    rgba(180, 20, 0, calc(0.06 + var(--fire-power) * 0.18)) 65%,
    transparent 78%
  );
  filter: blur(28px);
  will-change: transform, opacity;
  animation: ambientPulse 3.2s ease-in-out infinite alternate;
}

.fire-floor-reflection {
  position: absolute;
  bottom: 4%;
  left: 50%;
  width: min(760px, 95vw);
  height: 150px;
  transform: translate3d(-50%, 0, 0) scaleX(calc(0.75 + var(--fire-power) * 0.8));
  background: radial-gradient(
    ellipse at center,
    rgba(255, 94, 0, calc(0.2 + var(--fire-power) * 0.52)) 0%,
    rgba(255, 51, 0, calc(0.08 + var(--fire-power) * 0.22)) 52%,
    transparent 78%
  );
  filter: blur(18px);
}

.smoke-plume {
  position: absolute;
  bottom: 24%;
  left: 50%;
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 70, 0.12) 0%, rgba(90, 80, 75, 0.09) 45%, transparent 72%);
  filter: blur(36px);
  opacity: calc(0.25 + var(--fire-power) * 0.65);
  will-change: transform, opacity;
}

.smoke-plume-1 {
  animation: smokeRise1 9s ease-in-out infinite;
}
.smoke-plume-2 {
  animation: smokeRise2 12s ease-in-out infinite 2.5s;
}
.smoke-plume-3 {
  animation: smokeRise3 10.5s ease-in-out infinite 5s;
}

@keyframes smokeRise1 {
  0% { transform: translate3d(-55%, 40px, 0) scale(0.75); opacity: 0; }
  35% { opacity: 0.55; }
  100% { transform: translate3d(-35%, -260px, 0) scale(1.75); opacity: 0; }
}

@keyframes smokeRise2 {
  0% { transform: translate3d(-45%, 30px, 0) scale(0.65); opacity: 0; }
  40% { opacity: 0.45; }
  100% { transform: translate3d(-68%, -290px, 0) scale(1.9); opacity: 0; }
}

@keyframes smokeRise3 {
  0% { transform: translate3d(-50%, 50px, 0) scale(0.8); opacity: 0; }
  30% { opacity: 0.5; }
  100% { transform: translate3d(-48%, -240px, 0) scale(1.65); opacity: 0; }
}

@keyframes ambientPulse {
  0% { opacity: 0.88; }
  100% { opacity: 1; }
}

/* LAYER 3: DEDICATED VISUAL STAGE FOR THE 3D GRILL CAMERA RIG & OPENING LID
   Positioned in normal flow below the headline, description, and CTA buttons so they NEVER overlap */
.hero-grill-stage {
  position: relative;
  inset: auto;
  order: 2;
  z-index: 6;
  width: min(920px, calc(100% - 2rem));
  height: 510px;
  margin-inline: auto;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 115, 0, 0.24);
  background:
    radial-gradient(circle at 50% 62%, rgba(255, 94, 0, calc(0.14 + var(--fire-power) * 0.25)) 0%, rgba(14, 14, 20, 0.72) 64%, rgba(7, 7, 10, 0.92) 100%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.85),
    0 0 42px rgba(255, 85, 0, 0.12) inset;
}

.grill-camera-rig {
  position: relative;
  width: 560px;
  height: 460px;
  flex-shrink: 0;
  /* Driven smoothly by scroll progress: starts distant, zooms close inside dedicated stage */
  transform: translate3d(0, var(--camera-y, 14px), 0) scale(var(--camera-zoom, 0.78));
  transform-origin: 50% 58%;
  will-change: transform;
}

.grill-rim-backlight {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 420px;
  height: 290px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(255, 115, 0, calc(0.28 + var(--fire-power) * 0.65)) 0%,
    rgba(255, 45, 0, calc(0.1 + var(--fire-power) * 0.3)) 55%,
    transparent 76%
  );
  filter: blur(22px);
  pointer-events: none;
}

.grill-assembly {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.grill-svg-part {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* PART A: HINGED GRILL LID (Pivots Open on Scroll) */
.grill-lid-pivot {
  position: absolute;
  top: 44px;
  left: 0;
  width: 100%;
  z-index: 6;
  transform-origin: 50% 24%; /* Hinged at the upper-rear of the dome */
  /* As --lid-open goes 0 -> 1, lid lifts up, tilts backward in 3D, and foreshortens */
  transform:
    translate3d(0, calc(var(--lid-open, 0) * -98px), calc(var(--lid-open, 0) * -40px))
    rotateX(calc(var(--lid-open, 0) * 52deg))
    scaleY(calc(1 - var(--lid-open, 0) * 0.22));
  will-change: transform;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.85));
}

.grill-lid-exterior {
  position: relative;
  z-index: 2;
  /* Slightly fade exterior crest only at extreme open angle while keeping rim & handle crisp */
  opacity: calc(1 - var(--lid-open, 0) * 0.12);
}

.grill-lid-underside {
  position: absolute;
  inset: 0;
  z-index: 3;
  /* Revealed as the lid swings open */
  opacity: calc(var(--lid-open, 0) * 0.98);
  transform: translateY(calc(var(--lid-open, 0) * 52px)) scaleY(calc(0.08 + var(--lid-open, 0) * 0.82));
  transform-origin: 50% 80%;
  pointer-events: none;
  filter: drop-shadow(0 0 26px rgba(255, 94, 0, 0.65));
}

.lid-fire-reflection {
  opacity: calc(0.2 + var(--fire-power, 0.15) * 0.8);
}

/* PART B: LIVING FIRE CHAMBER (Between Lid & Base Bowl) */
.grill-fire-chamber {
  position: absolute;
  top: 2px;
  left: 0;
  width: 100%;
  height: 295px;
  z-index: 5;
  pointer-events: none;
  transform-origin: 50% 92%;
  /* Grows & erupts upward as the lid opens */
  opacity: calc(0.18 + var(--fire-power, 0.12) * 0.85);
  transform:
    translateY(calc((1 - var(--fire-power, 0.12)) * 34px))
    scaleY(calc(0.28 + var(--fire-power, 0.12) * 0.92))
    scaleX(calc(0.84 + var(--fire-power, 0.12) * 0.22));
  will-change: transform, opacity;
}

.firebox-inner-glow {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: min(390px, 85vw);
  height: 150px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at 50% 75%,
    rgba(255, 230, 120, 0.95) 0%,
    rgba(255, 115, 0, 0.85) 38%,
    rgba(230, 30, 0, 0.45) 68%,
    transparent 85%
  );
  filter: blur(16px);
}

.fire-particle-canvas {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 360px;
  transform: translateX(-50%);
  z-index: 3;
  mix-blend-mode: screen;
}

.vector-flames-svg {
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 270px;
  z-index: 2;
  filter: drop-shadow(0 0 18px rgba(255, 102, 0, 0.8));
}

/* Organic Multi-Frequency CSS Flame Flicker Keyframes */
.flame-layer-back {
  transform-origin: 50% 95%;
  animation: flameFlickerBack 1.35s ease-in-out infinite alternate;
}

.flame-layer-mid {
  transform-origin: 50% 95%;
  animation: flameFlickerMid 0.92s ease-in-out infinite alternate;
}

.flame-layer-licks {
  transform-origin: 50% 95%;
  animation: flameFlickerLicks 0.68s ease-in-out infinite alternate;
}

.flame-layer-core {
  transform-origin: 50% 95%;
  animation: flameFlickerCore 0.54s ease-in-out infinite alternate;
}

@keyframes flameFlickerBack {
  0% { transform: scaleY(0.94) scaleX(0.97) skewX(-2deg); }
  50% { transform: scaleY(1.06) scaleX(1.02) skewX(1.5deg); }
  100% { transform: scaleY(0.98) scaleX(0.96) skewX(-1deg); }
}

@keyframes flameFlickerMid {
  0% { transform: scaleY(0.92) scaleX(1.03) skewX(2deg); }
  50% { transform: scaleY(1.08) scaleX(0.96) skewX(-2.5deg); }
  100% { transform: scaleY(1.02) scaleX(1.01) skewX(1deg); }
}

@keyframes flameFlickerLicks {
  0% { transform: translateY(4px) scaleY(0.88) skewX(-3deg); opacity: 0.72; }
  100% { transform: translateY(-6px) scaleY(1.12) skewX(3deg); opacity: 0.98; }
}

@keyframes flameFlickerCore {
  0% { transform: scaleY(0.9) scaleX(0.94); opacity: 0.85; }
  100% { transform: scaleY(1.1) scaleX(1.05); opacity: 1; }
}

/* PART C: LOWER FIREBOX BOWL & SEAR GRATES */
.grill-base-body {
  position: absolute;
  top: 194px;
  left: 0;
  width: 100%;
  z-index: 4;
}

.firebox-rim-glow {
  opacity: calc(0.45 + var(--fire-power, 0.12) * 0.55);
  filter: drop-shadow(0 0 12px #ff6a00);
}

.charcoal-bed-pulse {
  animation: coalPulse 1.8s ease-in-out infinite alternate;
}

.sear-grate-bars {
  stroke: color-mix(in srgb, #231815 calc((1 - var(--fire-power, 0.12)) * 100%), #ff7700);
  transition: stroke 0.15s ease;
}

.sear-grate-heat-ring {
  opacity: calc(0.15 + var(--fire-power, 0.12) * 0.85);
}

.draft-vent-glow {
  opacity: calc(0.45 + var(--fire-power, 0.12) * 0.55);
  animation: coalPulse 1.4s ease-in-out infinite alternate;
}

@keyframes coalPulse {
  0% { filter: brightness(0.92); }
  100% { filter: brightness(1.22); }
}

/* LAYER 4: Cinematic Vignette Frame */
.hero-foreground-vignette {
  z-index: 3;
}

.cinematic-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 55%, transparent 42%, rgba(4, 4, 6, 0.82) 100%),
    linear-gradient(180deg, rgba(6, 6, 8, 0.72) 0%, transparent 24%, transparent 78%, var(--bg-obsidian) 100%);
}

/* LAYER 5: FOREGROUND BRAND COPY (Order 1: Top) & TELEMETRY HUD (Order 3: Bottom) */
.hero-ui-layer {
  position: static;
  display: contents;
}

.hero-content-container {
  position: relative;
  order: 1;
  z-index: 10;
  pointer-events: auto !important;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  opacity: 1 !important;
  transform: none !important;
}

.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 115, 0, 0.4);
  box-shadow: 0 0 24px rgba(255, 85, 0, 0.2);
  margin-bottom: 0.85rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fire-amber);
  box-shadow: 0 0 10px var(--fire-orange);
  animation: dotPulse 1.6s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--fire-gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 8.5vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-shadow:
    0 10px 35px rgba(0, 0, 0, 0.9),
    0 0 48px rgba(255, 85, 0, 0.28);
  margin-bottom: 0.65rem;
}

.hero-subheadline {
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  font-weight: 700;
  color: var(--text-primary);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 0.55rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9);
}

.hero-supporting-copy {
  font-size: clamp(0.94rem, 1.35vw, 1.06rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 1.55rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 12;
}

/* Bottom Telemetry HUD & Scroll Indicator (Order 3: Below the Dedicated Grill Stage) */
.hero-bottom-hud {
  position: relative;
  order: 3;
  z-index: 10;
  pointer-events: auto;
  width: min(920px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero-hud-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-inline: 0;
}

.pit-telemetry-card {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1rem;
  background: rgba(12, 13, 18, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 115, 0, 0.28);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.telemetry-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.telemetry-value {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
}

.telemetry-status-flame {
  color: var(--fire-amber);
}

.telemetry-divider {
  width: 1px;
  height: 24px;
  background: var(--border-subtle);
}

.hud-ignite-btn {
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  background: rgba(255, 85, 0, 0.16);
  border: 1px solid rgba(255, 120, 0, 0.45);
  color: var(--fire-gold);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hud-ignite-btn:hover {
  background: rgba(255, 85, 0, 0.32);
  box-shadow: 0 0 16px rgba(255, 102, 0, 0.4);
  transform: translateY(-1px);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(12, 13, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, opacity 0.3s ease;
}

.scroll-cue:hover {
  border-color: var(--fire-amber);
}

.scroll-cue-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
}

.scroll-cue-mouse {
  width: 18px;
  height: 28px;
  border: 1.5px solid var(--fire-amber);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.scroll-cue-wheel {
  width: 3px;
  height: 6px;
  border-radius: 999px;
  background: var(--fire-gold);
  animation: scrollWheel 1.6s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* Native CSS Scroll-Driven Animation Progressive Enhancement (per modern-web-guidance) */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .section-header.reveal-on-scroll {
    animation: nativeSectionReveal linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 28%;
  }

  @keyframes nativeSectionReveal {
    from {
      opacity: 0.15;
      transform: translateY(28px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ==========================================================================
   SHARED SECTION STYLING
   ========================================================================== */
.section {
  position: relative;
  padding-block: 6.5rem;
  z-index: 10;
}

.section-header {
  margin-bottom: 3.25rem;
}

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fire-amber);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
}

/* ==========================================================================
   2. FEATURED CATEGORIES
   ========================================================================== */
.categories-section {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 85, 0, 0.1), transparent 70%),
    linear-gradient(180deg, var(--bg-obsidian) 0%, var(--bg-charcoal) 100%);
  border-top: 1px solid rgba(255, 110, 0, 0.16);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.category-card {
  position: relative;
  height: 390px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  cursor: pointer;
  transition:
    transform 0.4s var(--ease-out-expo),
    border-color 0.35s ease,
    box-shadow 0.4s var(--ease-out-expo);
}

.category-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.65s var(--ease-out-expo), filter 0.45s ease;
  filter: brightness(0.65) contrast(1.1);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 12, 0.25) 0%, rgba(8, 8, 12, 0.55) 45%, rgba(6, 6, 9, 0.96) 100%),
    radial-gradient(circle at 50% 100%, rgba(255, 85, 0, 0.28), transparent 65%);
  transition: opacity 0.35s ease;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-8px);
  border-color: var(--border-ember-bright);
  box-shadow:
    0 22px 44px -12px rgba(0, 0, 0, 0.85),
    0 0 28px rgba(255, 85, 0, 0.25);
  outline: none;
}

.category-card:hover .category-card-bg,
.category-card:focus-visible .category-card-bg {
  transform: scale(1.09);
  filter: brightness(0.82) contrast(1.12);
}

.category-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: rgba(10, 11, 15, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--fire-gold);
  backdrop-filter: blur(8px);
}

.category-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 85, 0, 0.18);
  border: 1px solid rgba(255, 120, 0, 0.4);
  color: var(--fire-amber);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.category-card:hover .category-icon {
  transform: rotate(-6deg) scale(1.08);
  background: var(--fire-orange);
  color: #ffffff;
}

.category-name {
  font-family: var(--font-display);
  font-size: 2.3rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.category-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
  line-height: 1.45;
}

.category-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fire-amber);
  transition: gap 0.25s ease, color 0.25s ease;
}

.category-card:hover .category-cta {
  gap: 0.75rem;
  color: var(--fire-gold);
}

/* ==========================================================================
   3. FEATURED PRODUCTS SECTION
   ========================================================================== */
.products-section {
  background: var(--bg-charcoal);
  border-top: 1px solid var(--border-subtle);
}

.category-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: rgba(18, 20, 27, 0.9);
  padding: 0.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.filter-pill {
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.filter-pill:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.filter-pill.active {
  background: linear-gradient(135deg, var(--fire-orange), var(--fire-crimson));
  color: #ffffff;
  border-color: rgba(255, 180, 100, 0.35);
  box-shadow: 0 4px 16px rgba(255, 85, 0, 0.4);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg-surface) 0%, #0e1016 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-out-expo),
    border-color 0.35s ease,
    box-shadow 0.35s var(--ease-out-expo);
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-ember);
  box-shadow:
    0 20px 40px -15px rgba(0, 0, 0, 0.85),
    0 0 25px rgba(255, 85, 0, 0.16);
}

.product-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #090a0e;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out-expo), filter 0.35s ease;
  filter: brightness(0.92) contrast(1.05);
}

.product-card:hover .product-img {
  transform: scale(1.07);
  filter: brightness(1.02) contrast(1.08);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.32rem 0.75rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #ff7700, #d92600);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.product-badge.badge-top-pick {
  background: linear-gradient(135deg, #ff9900, #ff4500);
}

.product-badge.badge-new {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.product-badge.badge-candidate {
  background: rgba(16, 18, 24, 0.9);
  border: 1px solid rgba(255, 136, 0, 0.55);
  color: var(--fire-gold);
  backdrop-filter: blur(8px);
}

.product-category-pill {
  position: absolute;
  bottom: 0.85rem;
  left: 1rem;
  z-index: 2;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: rgba(8, 9, 13, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-equipment-type {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fire-amber);
  margin-bottom: 0.35rem;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
}

.product-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-subtle);
}

.product-price-wrap {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--fire-gold);
}

.candidate-status-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

.candidate-pending-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
}

.product-deal-btn {
  padding: 0.68rem 1.25rem;
  font-size: 0.82rem;
}

.editorial-research-note {
  margin-top: 2.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   4. WHY GRILL RIG CO.
   ========================================================================== */
.why-section {
  background:
    radial-gradient(circle at 85% 50%, rgba(255, 85, 0, 0.08), transparent 55%),
    var(--bg-obsidian);
  border-top: 1px solid var(--border-subtle);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  position: relative;
  padding: 2rem 1.65rem;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(26, 29, 38, 0.7) 0%, rgba(14, 15, 20, 0.9) 100%);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-ember);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.why-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 85, 0, 0.14);
  border: 1px solid rgba(255, 120, 0, 0.35);
  color: var(--fire-amber);
  margin-bottom: 1.35rem;
  box-shadow: 0 0 22px rgba(255, 85, 0, 0.18);
}

.why-number {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
}

.why-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.why-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   5. DEALS / MONTHLY PICKS SECTION
   ========================================================================== */
.deals-section {
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(255, 68, 0, 0.11), transparent 70%),
    var(--bg-charcoal);
  border-top: 1px solid var(--border-subtle);
}

.monthly-stamp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 115, 0, 0.4);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--fire-gold);
}

.stamp-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4500;
  box-shadow: 0 0 10px #ff5500;
  animation: dotPulse 1.5s infinite;
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.deal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, #1b1514 0%, #101117 65%, #0c0d12 100%);
  border: 1px solid rgba(255, 106, 0, 0.32);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.35s ease;
}

.deal-card:hover {
  transform: translateY(-7px);
  border-color: var(--fire-amber);
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.85),
    0 0 32px rgba(255, 85, 0, 0.24);
}

.deal-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.25rem;
  background: linear-gradient(90deg, rgba(255, 85, 0, 0.24), rgba(255, 145, 0, 0.08));
  border-bottom: 1px solid rgba(255, 115, 0, 0.25);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fire-gold);
}

.deal-savings-pill {
  background: var(--fire-orange);
  color: #ffffff;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.68rem;
}

.deal-candidate-tag {
  color: var(--text-secondary);
  font-size: 0.68rem;
}

.deal-price-group {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.deal-original-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ==========================================================================
   6. NEWSLETTER / STAY FIRED UP SECTION
   ========================================================================== */
.newsletter-section {
  background: var(--bg-obsidian);
  padding-block: 5.5rem 6.5rem;
}

.newsletter-box {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4.25rem);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 94, 0, 0.24), transparent 65%),
    linear-gradient(145deg, #191414 0%, #101117 60%, #0a0b0f 100%);
  border: 1px solid rgba(255, 115, 0, 0.38);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(255, 85, 0, 0.12) inset;
  overflow: hidden;
  text-align: center;
}

.newsletter-glow {
  position: absolute;
  bottom: -120px;
  left: 50%;
  width: min(560px, 95vw);
  height: 240px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 95, 0, 0.35) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.newsletter-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-inline: auto;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.newsletter-subtext {
  font-size: 1.06rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.newsletter-input-group {
  display: flex;
  gap: 0.75rem;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 0.9rem;
}

.newsletter-input {
  flex: 1;
  min-width: 0;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(8, 9, 13, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--fire-amber);
  box-shadow: 0 0 0 3px rgba(255, 115, 0, 0.22);
}

.newsletter-privacy-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.newsletter-privacy-note.success {
  color: var(--fire-gold);
  font-weight: 600;
}

.newsletter-privacy-note.notice {
  color: var(--fire-amber);
  font-weight: 500;
}

/* ==========================================================================
   LEGAL PAGES (PRIVACY POLICY & TERMS OF SERVICE)
   ========================================================================== */
.legal-page-main {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5rem;
  min-height: 80vh;
}

.legal-card {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

.legal-card h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--fire-amber);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 2rem;
  display: block;
}

.legal-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}

.legal-card p,
.legal-card li {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.9rem;
}

.legal-card ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.site-footer {
  background: #040406;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand-statement {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 340px;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fire-amber);
  margin-bottom: 1.1rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-list a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-disclaimer-box {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-disclaimer-box strong {
  color: var(--text-secondary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.copyright-text span {
  color: var(--fire-amber);
  font-weight: 600;
}

.copyright-text .impact-verification-text {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-legal-inline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-legal-inline a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   SCROLL REVEAL UTILITY
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1100px) {
  .categories-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid,
  .deals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .brand-text-wrap {
    white-space: nowrap;
  }

  .brand-name {
    font-size: 1.38rem;
  }

  .brand-tagline-mini {
    font-size: 0.54rem;
    letter-spacing: 0.14em;
  }

  .header-actions .btn-sm {
    padding: 0.5rem 0.85rem;
    font-size: 0.74rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 11, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.1rem;
    border-bottom: 1px solid var(--border-ember);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out-expo), opacity 0.3s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-scroll-track {
    height: auto;
  }

  .hero-grill-stage {
    height: 390px;
    margin-top: 1.5rem;
  }

  .hero-hud-inner {
    justify-content: center;
  }

  .scroll-cue {
    display: none;
  }

  .pit-telemetry-card {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
  }

  .section {
    padding-block: 4.5rem;
  }

  .categories-grid,
  .products-grid,
  .why-grid,
  .deals-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    height: 320px;
  }

  .newsletter-input-group {
    flex-direction: column;
  }

  .newsletter-submit {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   ACCESSIBILITY: PREFERS-REDUCED-MOTION SAFETY (per modern-web-guidance)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fire-core-bloom,
  .smoke-plume,
  .flame-layer-back,
  .flame-layer-mid,
  .flame-layer-licks,
  .flame-layer-core,
  .charcoal-bed-pulse,
  .draft-vent-glow,
  .eyebrow-dot,
  .stamp-pulse,
  .scroll-cue-wheel {
    animation: none !important;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
