/* ==========================================================================
   GOODRYDE — Master Stylesheet
   Palette:  Cloud Dancer #f2f2f4 · Charcoal #1a1a1e · Safety Orange #f75b00
   Type:     Barlow Condensed (display) · Barlow (body) · JetBrains Mono (spec tags)
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Reset
--------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--cloud-dancer);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

/* ---------------------------------------------------------------------------
   Design Tokens
--------------------------------------------------------------------------- */
:root {
  /* Brand palette (mandated) */
  --cloud-dancer: #f2f2f4;
  --charcoal: #1a1a1e;
  --safety-orange: #f75b00;
  --white: #ffffff;

  /* Slightly darker off-white, for sections that need to separate from the
     main --cloud-dancer background without leaving the light palette */
  --surface-dim: #e8e8eb;

  /* Structural derivatives of charcoal (hero / portal gradients) */
  --charcoal-light: #232327;
  --charcoal-deep: #101012;

  /* Functional ink & overlay tones */
  --charcoal-70: rgba(26, 26, 30, 0.7);
  --charcoal-45: rgba(26, 26, 30, 0.45);
  --charcoal-15: rgba(26, 26, 30, 0.15);
  --charcoal-08: rgba(26, 26, 30, 0.08);
  --orange-dark: #c94900;
  --white-70: rgba(255, 255, 255, 0.7);
  --white-40: rgba(255, 255, 255, 0.4);
  --white-15: rgba(255, 255, 255, 0.15);

  /* Type */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 88px;
  --header-h-condensed: 68px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------------------------------
   Typography
--------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.75rem, 9vw, 7rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: 0; }

p { color: var(--charcoal-70); }

/* Eyebrow label — quiet ink text, orange used only as the accent dash */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--charcoal-70);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--safety-orange);
  flex-shrink: 0;
}
.hero .eyebrow { color: var(--white-70); }

/* Spec tag — recurring signature motif, real lubricant-engineering vernacular
   used as a structural label, not decoration. Orange marks the stripe, ink
   carries the words (keeps small text at accessible contrast). */
.spec-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal-70);
  border-left: 2px solid var(--safety-orange);
  padding: 3px 0 3px 12px;
  display: inline-block;
}

/* ---------------------------------------------------------------------------
   Buttons
--------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid transparent;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--safety-orange);
  border-color: var(--safety-orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); }

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

.btn-ghost--light { border-color: var(--white); color: var(--white); }
.btn-ghost--light:hover { background: var(--white); color: var(--charcoal); }

.btn-sm { padding: 12px 22px; font-size: 0.8rem; }

/* Nav CTA — distinct from generic .btn-primary so header sizing can be tuned
   independently of hero / portal buttons */
.nav-cta { padding: 13px 26px; font-size: 0.82rem; }

/* ---------------------------------------------------------------------------
   Accessibility — visible focus states
--------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
select:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--safety-orange);
  outline-offset: 3px;
}


/* ---------------------------------------------------------------------------
   Header / Navigation
--------------------------------------------------------------------------- */
/*.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(242, 242, 244, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--charcoal-08);
  transition: height 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  height: var(--header-h-condensed);
  background: rgba(242, 242, 244, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}*/
/* ---------------------------------------------------------------------------
   Header / Navigation (DARK MODE)
--------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(18, 18, 20, 0.85); /* Deep Charcoal with glass transparency */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Subtle bright border */
  transition: height 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  height: var(--header-h-condensed);
  background: rgba(18, 18, 20, 0.98); /* Solidifies on scroll */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.nav-container {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-logo .accent { color: var(--safety-orange); }

.nav-links { display: flex; align-items: center; gap: 42px; }
/*light nav -.nav-links a {
  position: relative;
  padding: 4px 0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}*/
.nav-links a {
  position: relative;
  padding: 4px 0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white); /* Forcing text white */
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--safety-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 22px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
/*light nav- .hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}*/
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white); /* Forcing mobile menu lines white */
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 480px) {
  .nav-cta { display: none; }
}

/* ---------------------------------------------------------------------------
   Mobile overlay menu
--------------------------------------------------------------------------- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-8%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), visibility 0s linear 0.4s;
}
.mobile-overlay.is-active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2.1rem;
  text-transform: uppercase;
  color: var(--white);
}
.mobile-overlay .btn { margin-top: 10px; }
.mobile-overlay-close {
  position: absolute;
  top: 24px; right: var(--gutter);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--white);
}

/* Force the internal navigation to stack links vertically */
.mobile-overlay nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

/* Ensure the links behave as block elements to fill the space */
.mobile-nav-link {
  display: block;
  text-align: center;
}

/* ---------------------------------------------------------------------------
   Hero
--------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* --- IMAGE AND OVERLAY SETTINGS --- */
  background: 
    /* 1. The dark gradient overlay (85% opacity so image shows through) */
    linear-gradient(165deg, rgba(35, 35, 39, 0.50) 0%, rgba(26, 26, 30, 0.50) 55%, rgba(16, 16, 18, 0.60) 100%),
    /* 2. Your image link */
    url('assets/images/index/landing-page-banner.webp');
    
  /* 3. Image positioning rules */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* ---------------------------------- */
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) var(--gutter) 140px;
}

/* faint engineering blueprint grid, vignetted toward the edges */
/*.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--charcoal-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--charcoal-light) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.3;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black, transparent 72%);
}*/

/* ambient heat glow */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 22%, rgba(247, 91, 0, 0.22), transparent 55%);
  animation: heatPulse 9s ease-in-out infinite;
}
@keyframes heatPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero h1 { color: var(--white); }
.hero-sub {
  color: var(--white-70);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 540px;
  margin: 28px auto 40px;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* staggered page-load reveal */
.hero .eyebrow, .hero h1, .hero-sub, .hero-actions {
  animation: heroIn 0.8s var(--ease) both;
}
.hero h1 { animation-delay: 0.1s; }
.hero-sub { animation-delay: 0.22s; }
.hero-actions { animation-delay: 0.34s; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------------------
   Quick Lube Selector — floating card bridging hero into the light body
--------------------------------------------------------------------------- */
.lube-selector {
  position: relative;
  z-index: 5;
  max-width: 1120px;
  margin: -68px auto 0;
  padding: 0 var(--gutter);
}
.selector-bar {
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: stretch;
  padding: 6px;
  gap: 6px;
}
.selector-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 26px;
  min-width: 0;
}
.selector-field label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-45);
  margin-bottom: 4px;
}
.selector-field select {
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  width: 100%;
}
.selector-divider { width: 1px; background: var(--charcoal-08); margin: 10px 0; }
.selector-submit { border-radius: 2px; flex-shrink: 0; }

@media (max-width: 760px) {
  .lube-selector { margin-top: -48px; }
  .selector-bar { flex-direction: column; padding: 10px; }
  .selector-divider { display: none; }
  .selector-field { padding: 14px 12px; border-bottom: 1px solid var(--charcoal-08); }
  .selector-submit { width: 100%; margin-top: 6px; }
}


/* ---------------------------------------------------------------------------
   Video Bridge Placeholder (Smart Injector)
--------------------------------------------------------------------------- */
.video-bridge {
  position: relative;
  z-index: 5;
  max-width: 1000px;
  margin: -80px auto 0; /* Floats up into the hero background */
  padding: 0 var(--gutter);
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  /* Thumbnail with subtle dark gradient overlay */
  background: 
    linear-gradient(rgba(26, 26, 30, 0.4), rgba(16, 16, 18, 0.7)), 
    url('assets/images/index/video-thumb.webp') center/cover no-repeat;
  border: 1px solid var(--charcoal-08);
  border-radius: 4px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}

/* Groups the play button and text */
.video-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 2;
  transition: opacity 0.3s var(--ease);
}

.video-placeholder:hover .play-button {
  transform: scale(1.1);
  background: var(--safety-orange);
  color: var(--white);
}

.play-button {
  width: 76px; 
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--safety-orange);
  display: flex; 
  align-items: center; 
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s var(--ease);
}

.play-button svg { width: 32px; height: 32px; margin-left: 4px; }

.video-label {
  font-family: var(--font-mono); 
  font-size: 0.8rem;
  text-transform: uppercase; 
  letter-spacing: 0.1em;
  color: var(--white-40);
}

/* Wrapper for the injected iframe */
.iframe-wrapper {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none; /* Allows clicks to register on the container first */
}

/* Ensures the injected YouTube video fills the responsive box */
.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* ---------------------------------------------------------------------------
   Category Portals — full-bleed, borderless
--------------------------------------------------------------------------- */
.category-portals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 130px;
  background: var(--charcoal);
}
.portal-block {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  padding: 36px;
  overflow: hidden;
}
/*
.portal-block--passenger { background: linear-gradient(150deg, #2b2b30 0%, var(--charcoal) 100%); }
.portal-block--motorcycle { background: linear-gradient(150deg, #332218 0%, var(--charcoal) 100%); }
.portal-block--heavy { background: linear-gradient(150deg, #1e242e 0%, var(--charcoal) 100%); }
*/

.portal-block--passenger { 
  background: linear-gradient(150deg, rgba(43, 43, 48, 0.40) 0%, rgba(26, 26, 30, 0.50) 100%), 
  url('assets/images/index/landing-passenger.webp') center/cover no-repeat; 
}

.portal-block--motorcycle { 
  background: linear-gradient(150deg, rgba(51, 34, 24, 0.40) 0%, rgba(26, 26, 30, 0.50) 100%), 
  url('assets/images/index/landing-motorcycle.webp') center/cover no-repeat; 
}

.portal-block--heavy { 
  background: linear-gradient(150deg, rgba(30, 36, 46, 0.40) 0%, rgba(26, 26, 30, 0.50) 100%), 
  url('assets/images/index/landing-heavyduty.webp') center/cover no-repeat; 
}

.portal-block::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.15);
  transition: background 0.3s var(--ease);
}
.portal-block:hover::before { background: rgba(0, 0, 0, 0); }
.portal-block:hover .portal-label { transform: translateX(6px); }

.portal-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  text-transform: uppercase;
  transition: transform 0.3s var(--ease);
}
.portal-label svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--safety-orange); }

@media (max-width: 900px) {
  .category-portals { grid-template-columns: 1fr; gap: 1px; margin-top: 90px; }
  .portal-block { aspect-ratio: 16 / 8; }
}

/* ---------------------------------------------------------------------------
   The Goodryde Standard — typography-only benefit strip
--------------------------------------------------------------------------- */
.goodryde-standard { padding: 150px var(--gutter) 130px; max-width: var(--container); margin: 0 auto; }
.standard-head { text-align: center; max-width: 640px; margin: 0 auto 90px; }
.standard-head .eyebrow { justify-content: center; margin-bottom: 20px; }

.standard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--charcoal-08);
  border-top: 1px solid var(--charcoal-08);
  border-bottom: 1px solid var(--charcoal-08);
}
.standard-item { background: var(--cloud-dancer); padding: 40px 32px; }
.standard-item .spec-tag { margin-bottom: 22px; }
.standard-item h3 { margin-bottom: 12px; }
.standard-item p { font-size: 0.92rem; }

@media (max-width: 960px) { .standard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .standard-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: var(--white); padding: 100px var(--gutter) 36px; }

.footer-brandbar { max-width: var(--container); margin: 0 auto 56px; padding: 0 var(--gutter); }
.footer-logo { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; text-transform: uppercase; }
.footer-logo .accent { color: var(--safety-orange); }

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-40);
  font-weight: 500;
  margin-bottom: 22px;
}
.footer-col p { color: var(--white-70); font-size: 0.92rem; max-width: 280px; }
.footer-col li { margin-bottom: 13px; }
.footer-col a { font-size: 0.92rem; color: var(--white-70); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--safety-orange); }

.footer-bottom {
  max-width: var(--container);
  margin: 90px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--white-15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--white-40);
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   WhatsApp floating action
--------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
  z-index: 900;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); background: var(--safety-orange); }
.whatsapp-float svg { width: 26px; height: 26px; color: var(--white); }

/* ---------------------------------------------------------------------------
   Scroll reveal utility
--------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===========================================================================
   STEP 2 — Catalog (products.html) & Product Template (product.html)
   Appended on top of the Step 1 foundation. Reuses existing tokens, the
   .eyebrow / .spec-tag signature system, buttons, and the .reveal utility.
=========================================================================== */

/* ---------------------------------------------------------------------------
   Shared: page header band (light bg, any non-hero page)
--------------------------------------------------------------------------- */
.page-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 64px) var(--gutter) 56px;
}
.page-header h1 { max-width: 760px; }

/* Small pill badge — e.g. "Full Synthetic" on the product hero */
.type-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  border: 1px solid var(--charcoal-15);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
}

/* ---------------------------------------------------------------------------
   Catalog layout
--------------------------------------------------------------------------- */
.catalog-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 130px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}
.catalog-content { min-width: 0; }

.filter-group { margin-bottom: 40px; }
.filter-group h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-45);
  margin-bottom: 16px;
}
.filter-check { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.92rem; cursor: pointer; }
.filter-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--safety-orange); cursor: pointer; }
.filter-reset { width: 100%; }

.sidebar-mobile-head { display: none; }
.sidebar-apply { display: none; }
.mobile-filter-trigger { display: none; }
.catalog-scrim {
  position: fixed; inset: 0;
  background: rgba(26, 26, 30, 0.5);
  z-index: 1090;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.catalog-scrim.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease); }

@media (max-width: 880px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .mobile-filter-trigger { display: inline-flex; margin-bottom: 28px; }
  .catalog-sidebar {
    position: fixed; left: 0; right: 0; bottom: 0;
    max-height: 82vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 16px 16px 0 0;
    padding: 28px var(--gutter) 32px;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(110%);
    transition: transform 0.4s var(--ease);
    z-index: 1100;
  }
  .catalog-sidebar.is-open { transform: translateY(0); }
  .sidebar-mobile-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; padding-bottom: 16px;
    border-bottom: 1px solid var(--charcoal-08);
  }
  .sidebar-mobile-head h4 { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; }
  .sidebar-close { font-size: 1.8rem; line-height: 1; }
  .sidebar-apply { display: inline-flex; width: 100%; margin-top: 8px; }
}

/* ---------------------------------------------------------------------------
   Product grid & cards
--------------------------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--charcoal-08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08); }

.card-visual { background: var(--cloud-dancer); display: flex; align-items: center; justify-content: center; padding: 32px; aspect-ratio: 1 / 1; }
.card-visual svg { height: 100%; max-height: 170px; width: auto; }
.card-bottle { object-fit: contain; max-width: 100%; max-height: 200px; display: block; margin: 0 auto; }

.card-body { padding: 24px 26px 28px; border-top: 1px solid var(--charcoal-08); }
.card-viscosity { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 0.95; letter-spacing: -0.01em; }
.card-name { font-size: 1.05rem; margin-top: 6px; }
.card-type {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal-45);
  margin-top: 8px;
}
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  transition: color 0.25s var(--ease);
}
.card-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.product-card:hover .card-link { color: var(--safety-orange); }
.product-card:hover .card-link svg { transform: translateX(4px); }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  color: var(--charcoal-45);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   Product hero — split viewer
--------------------------------------------------------------------------- */
.product-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 56px) var(--gutter) 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.product-visual {
  background: var(--cloud-dancer);
  border: 1px solid var(--charcoal-08);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  min-height: 460px;
  position: relative;
  overflow: hidden;
}
.hero-can-wrap { animation: floatCan 6s ease-in-out infinite; }
.hero-can-wrap svg { height: 320px; width: auto; }
@keyframes floatCan {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}
.product-info { min-width: 0; }

.product-viscosity { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 7vw, 5rem); line-height: 0.95; margin: 8px 0 22px; }
.product-tagline { font-size: 1.05rem; max-width: 420px; margin-bottom: 36px; }

@media (max-width: 860px) {
  .product-hero { grid-template-columns: 1fr; gap: 40px; text-align: center; padding-top: calc(var(--header-h) + 32px); }
  .product-visual { min-height: 320px; }
  .hero-can-wrap svg { height: 220px; }
  .product-tagline { margin-left: auto; margin-right: auto; }
  .product-hero .hero-actions { justify-content: center; }
}

/* ---------------------------------------------------------------------------
   Technical data sheet
--------------------------------------------------------------------------- */
.tech-data { max-width: var(--container); margin: 0 auto; padding: 40px var(--gutter) 130px; }
.tech-data-head { margin-bottom: 48px; max-width: 520px; }
.tech-data-head .eyebrow { margin-bottom: 16px; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--charcoal-08); }
.spec-table tr:first-child { border-top: 1px solid var(--charcoal-08); }
.spec-table th, .spec-table td { padding: 20px 24px; text-align: left; font-weight: 400; }
.spec-table th {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal-45);
  width: 40%;
}
.spec-table td { font-family: var(--font-mono); font-size: 0.98rem; color: var(--charcoal); font-weight: 500; }

@media (max-width: 600px) {
  .spec-table th, .spec-table td { padding: 14px 6px; font-size: 0.85rem; }
  .spec-table th { width: 54%; }
}

/* ---------------------------------------------------------------------------
   Benefits grid (3 blocks)
--------------------------------------------------------------------------- */
.product-benefits { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) 140px; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--charcoal-08); }
.benefit-block { background: var(--cloud-dancer); padding: 44px 36px; }
.benefit-block svg { width: 32px; height: 32px; color: var(--safety-orange); margin-bottom: 24px; }
.benefit-block h3 { font-size: 1.1rem; margin-bottom: 10px; }
.benefit-block p { font-size: 0.9rem; }

@media (max-width: 820px) { .benefits-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   Not-found state (product.html, unmatched ?id=)
--------------------------------------------------------------------------- */
.not-found { text-align: center; max-width: 560px; margin: 0 auto; padding: calc(var(--header-h) + 140px) var(--gutter) 160px; }
.not-found p { margin: 20px auto 36px; }

/* ===========================================================================
   STEP 3 — Oil Finder (oil-finder.html)
   Appended on top of Steps 1-2. GSAP drives the step transitions in JS;
   this file only supplies the visual states GSAP animates between, plus a
   couple of purely-CSS flourishes (spinner, hover glows) that the existing
   reduced-motion block below already catches via its `*` selector.
=========================================================================== */

.finder-hero { max-width: 900px; margin: 0 auto; padding: calc(var(--header-h) + 64px) var(--gutter) 140px; }
.finder-intro { text-align: center; margin-bottom: 56px; }
.finder-intro .eyebrow { justify-content: center; margin-bottom: 18px; }
.finder-lede { max-width: 480px; margin: 18px auto 0; }

/* Progress tracker */
.progress-tracker { margin-bottom: 64px; }
.progress-track { position: relative; height: 3px; background: var(--charcoal-08); border-radius: 2px; overflow: hidden; }
.progress-fill { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: var(--safety-orange); }
.progress-labels { display: flex; justify-content: space-between; margin-top: 14px; }
.progress-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-45);
  transition: color 0.3s var(--ease);
}
.progress-label.is-active { color: var(--safety-orange); font-weight: 600; }
.progress-label.is-complete { color: var(--charcoal); }

/* Step stage */
.finder-stage { position: relative; }
.finder-step { width: 100%; }
.step-heading { text-align: center; margin-bottom: 44px; }
.step-heading:focus-visible, .result-card:focus-visible { outline: none; }

/* Step 1 — category cards */
.category-select-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-select-card {
  background: var(--white);
  border: 2px solid var(--charcoal-08);
  border-radius: 4px;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.category-select-card svg { width: 40px; height: 40px; color: var(--charcoal-70); transition: color 0.25s var(--ease); }
.category-select-card span {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.category-select-card:hover,
.category-select-card:focus-visible,
.category-select-card.is-selected {
  border-color: var(--safety-orange);
  box-shadow: 0 0 0 4px rgba(247, 91, 0, 0.1), 0 20px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}
.category-select-card:hover svg,
.category-select-card:focus-visible svg,
.category-select-card.is-selected svg { color: var(--safety-orange); }

@media (max-width: 900px) { .category-select-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .category-select-grid { grid-template-columns: 1fr; } }

/* Step 2 — vehicle specs */
.specs-selects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 48px; }
.spec-field { display: flex; flex-direction: column; gap: 8px; }
.spec-field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-45);
}
.spec-field select {
  padding: 16px 18px;
  border: 2px solid var(--charcoal-08);
  border-radius: 4px;
  background: var(--white);
  font-size: 1rem;
  font-weight: 500;
  transition: border-color 0.25s var(--ease);
}
.spec-field select:focus-visible { border-color: var(--safety-orange); outline: none; }

@media (max-width: 640px) { .specs-selects { grid-template-columns: 1fr; } }

.environment-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-45);
  margin-bottom: 18px;
}
.environment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 16px; }
.environment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--white);
  border: 2px solid var(--charcoal-08);
  border-radius: 4px;
  padding: 22px 24px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.environment-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.environment-title { font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; font-weight: 700; letter-spacing: 0.02em; transition: color 0.25s var(--ease); }
.environment-sub { font-size: 0.85rem; color: var(--charcoal-45); }
.environment-card:focus-within { outline: 2px solid var(--safety-orange); outline-offset: 2px; }
.environment-card.is-selected { border-color: var(--safety-orange); box-shadow: 0 0 0 4px rgba(247, 91, 0, 0.1); }
.environment-card.is-selected .environment-title { color: var(--safety-orange); }

@media (max-width: 640px) { .environment-grid { grid-template-columns: 1fr; } }

.finder-error {
  text-align: center;
  color: var(--safety-orange);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  margin: 0 0 24px;
}

.finder-actions { display: flex; gap: 16px; justify-content: center; margin-top: 8px; }
@media (max-width: 480px) {
  .finder-actions { flex-direction: column-reverse; }
  .finder-actions .btn { width: 100%; }
}

.btn-find { position: relative; }
.btn-find .btn-label { transition: opacity 0.2s var(--ease); }
.btn-find.is-loading .btn-label { opacity: 0; }
.btn-find.is-loading { cursor: default; }
.btn-spinner {
  display: none;
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  border-radius: 50%;
}
.btn-find.is-loading .btn-spinner { display: block; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Step 3 — result dashboard */
.result-card {
  background: var(--charcoal);
  color: var(--white);
  border-radius: 6px;
  padding: 64px var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.result-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 15%, rgba(247, 91, 0, 0.18), transparent 55%);
}
.result-card > * { position: relative; z-index: 2; }
.result-card h2 { color: var(--white); }
.result-card p { color: var(--white-70); }
.result-card .eyebrow { color: var(--white-70); justify-content: center; margin-bottom: 20px; }
.result-grade { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.5rem, 10vw, 6.5rem); line-height: 0.95; color: var(--white); }
.result-name { color: var(--white); margin-top: 14px; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.result-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white-40);
  margin-top: 14px;
}
.result-context { color: var(--white-70); max-width: 460px; margin: 22px auto 0; }
.result-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.result-spec-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--white-70);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}
.result-spec-link:hover { color: var(--safety-orange); }

@media (max-width: 480px) {
  .result-actions { flex-direction: column; }
  .result-actions .btn { width: 100%; }
}

.start-over-link {
  display: block;
  margin: 28px auto 0;
  text-align: center;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal-45);
  transition: color 0.25s var(--ease);
}
.start-over-link:hover { color: var(--safety-orange); }

/* --- Oil Finder rework additions: progressive disclosure + result image --- */
.progressive-field { max-width: 480px; margin: 0 auto 22px; }
.environment-reveal { margin-top: 8px; }
.result-product-image {
  display: block;
  height: 320px;
  width: auto;
  margin: 0 auto 30px;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s ease;
}

.result-product-image:hover {
  transform: translateY(-8px);
}

@media (max-width: 600px) {
  .result-product-image {
    height: 220px;
  }
}

/* ===========================================================================
   STEP 4 — Connect (connect.html) & Partner (partner.html)
   Appended on top of Steps 1-3. Reuses .result-card (defined in Step 3) as
   the shared "cinematic dark moment" component wherever this page needs one.
=========================================================================== */

/* ---------------------------------------------------------------------------
   connect.html — Employee Digital vCard (no global header/footer on this page)
--------------------------------------------------------------------------- */
.vcard-hero {
  background: var(--charcoal);
  padding: 40px var(--gutter) 64px;
}
.vcard-logo-bar {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 36px;
}
.vcard-logo-bar .accent { color: var(--safety-orange); }

.profile-card {
  max-width: 420px;
  margin: 0 auto;
  background: linear-gradient(160deg, var(--charcoal-light), var(--charcoal));
  border-radius: 12px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.profile-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 10%, rgba(247, 91, 0, 0.14), transparent 55%);
}
.profile-card > * { position: relative; z-index: 2; }

.profile-avatar {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.profile-avatar svg { width: 42px; height: 42px; color: var(--white-70); }
.profile-name { color: var(--white); margin-bottom: 6px; font-size: clamp(1.5rem, 4vw, 1.9rem); }
.profile-title { color: var(--safety-orange); font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 4px; }
.profile-region { color: var(--white-40); font-size: 0.85rem; margin-bottom: 28px; }

.btn-save-contact { width: 100%; padding: 20px 28px; font-size: 1.02rem; }
.btn-save-contact svg { width: 20px; height: 20px; }

.vcard-actions { background: var(--cloud-dancer); max-width: 480px; margin: 0 auto; padding: 48px var(--gutter) 8px; }
.quick-actions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.quick-action {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--white);
  border: 2px solid var(--charcoal-08);
  border-radius: 4px;
  padding: 22px 14px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.quick-action svg { width: 24px; height: 24px; color: var(--charcoal-70); transition: color 0.25s var(--ease); }
.quick-action span { font-family: var(--font-display); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 600; }
.quick-action:hover, .quick-action:focus-visible {
  border-color: var(--safety-orange);
  box-shadow: 0 0 0 4px rgba(247, 91, 0, 0.1);
  transform: translateY(-2px);
}
.quick-action:hover svg, .quick-action:focus-visible svg { color: var(--safety-orange); }

.contact-drawer {
  background: var(--white);
  max-width: 480px;
  margin: 32px auto 0;
  border-radius: 20px 20px 0 0;
  padding: 40px 28px 64px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.05);
}
.contact-drawer h2 { text-align: center; margin-bottom: 8px; }
.drawer-lede { text-align: center; margin-bottom: 28px; font-size: 0.92rem; }
.drawer-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.drawer-field label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal-45); }
.drawer-field input, .drawer-field select {
  padding: 15px 16px;
  border: 2px solid var(--charcoal-08);
  border-radius: 4px;
  background: var(--cloud-dancer);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.25s var(--ease);
}
.drawer-field input:focus-visible, .drawer-field select:focus-visible { border-color: var(--safety-orange); outline: none; }
.drawer-submit { width: 100%; margin-top: 8px; }

.drawer-success { text-align: center; padding: 20px 0; }
.drawer-success:focus-visible { outline: none; }
.drawer-success svg { width: 52px; height: 52px; color: var(--safety-orange); margin: 0 auto 18px; }
.drawer-success h3 { margin-bottom: 10px; }

/* ---------------------------------------------------------------------------
   partner.html — Distributor Hub (uses the standard global header/footer)
--------------------------------------------------------------------------- */
.partner-hero {
  position: relative;
  background: linear-gradient(165deg, var(--charcoal-light) 0%, var(--charcoal) 55%, var(--charcoal-deep) 100%);
  overflow: hidden;
  padding: calc(var(--header-h) + 80px) var(--gutter) 100px;
  text-align: center;
}
.partner-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--charcoal-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--charcoal-light) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.25;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black, transparent 70%);
}
.partner-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(247, 91, 0, 0.2), transparent 55%);
}
.partner-hero-content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.partner-hero h1 { color: var(--white); }
.partner-hero .eyebrow { color: var(--white-70); justify-content: center; margin-bottom: 20px; }

.value-prop-section { background: var(--cloud-dancer); padding: 100px var(--gutter); max-width: var(--container); margin: 0 auto; }
.value-prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.value-prop-item { text-align: center; }
.value-prop-item svg { width: 40px; height: 40px; color: var(--safety-orange); margin: 0 auto 24px; }
.value-prop-item h3 { margin-bottom: 14px; }
.value-prop-item p { font-size: 0.95rem; max-width: 320px; margin: 0 auto; }

@media (max-width: 860px) { .value-prop-grid { grid-template-columns: 1fr; gap: 56px; } }

.application-section { background: var(--cloud-dancer); padding: 0 var(--gutter) 140px; max-width: var(--container); margin: 0 auto; }
.application-head { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.application-head .eyebrow { justify-content: center; margin-bottom: 18px; }

.application-form { max-width: 760px; margin: 0 auto; }
.app-field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 8px; }
.app-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.app-field label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal-45); }
.app-field input, .app-field select {
  padding: 16px 18px;
  border: 2px solid var(--charcoal-08);
  border-radius: 4px;
  background: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.25s var(--ease);
}
.app-field input:focus-visible, .app-field select:focus-visible { border-color: var(--safety-orange); outline: none; }

.app-submit-row { text-align: center; margin-top: 24px; }
.app-submit-row .btn { width: 100%; max-width: 420px; }
.app-disclaimer { margin: 18px auto 0; font-size: 0.78rem; color: var(--charcoal-45); max-width: 480px; }

@media (max-width: 640px) { .app-field-grid { grid-template-columns: 1fr; } }

.application-success { max-width: 640px; margin: 0 auto; }
.application-success .success-icon { width: 52px; height: 52px; color: var(--safety-orange); margin: 0 auto 8px; }

/* ===========================================================================
   STEP 5 — About (about.html)
   Appended on top of Steps 1-4. Uses the standard global header/footer.
=========================================================================== */

/* Hero — a dedicated class (not .hero) so this page's GSAP-driven stagger
   doesn't fight with the homepage hero's CSS keyframe animation, which
   targets .hero/.hero-sub/.hero-actions globally. Same visual treatment. */
.about-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(165deg, var(--charcoal-light) 0%, var(--charcoal) 55%, var(--charcoal-deep) 100%);
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) var(--gutter) 140px;
}
.about-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--charcoal-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--charcoal-light) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.3;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black, transparent 72%);
}
.about-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 28% 22%, rgba(247, 91, 0, 0.2), transparent 55%);
  animation: heatPulse 9s ease-in-out infinite;
}
.about-hero-content { position: relative; z-index: 2; max-width: 820px; }
.about-hero h1 { color: var(--white); }
.about-hero-sub { color: var(--white-70); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 480px; margin: 26px auto 0; }

/* Quiet Authority — asymmetric pull-quote + running body copy */
.quiet-authority { background: var(--cloud-dancer); padding: 140px var(--gutter); max-width: var(--container); margin: 0 auto; }
.quiet-authority-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 80px; align-items: start; }
.pull-quote-col { position: sticky; top: calc(var(--header-h) + 48px); }
.pull-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.18;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  border-left: 3px solid var(--safety-orange);
  padding-left: 28px;
}
.body-col p { margin-bottom: 28px; font-size: 1.05rem; line-height: 1.75; max-width: 620px; }
.body-col p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .quiet-authority-grid { grid-template-columns: 1fr; gap: 48px; }
  .pull-quote-col { position: static; }
}

/* Operational Pillars — spec-sheet style grid (border-top echoes the
   spec-tag / border-left accent system used elsewhere on the site) */
.pillars-section { background: var(--surface-dim); padding: 120px var(--gutter); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; max-width: var(--container); margin: 0 auto; }
.pillar-item { text-align: left; padding-top: 32px; border-top: 2px solid var(--charcoal-15); }
.pillar-item svg { width: 38px; height: 38px; color: var(--safety-orange); margin: 0 0 24px; }
.pillar-item h3 { margin-bottom: 14px; }
.pillar-item p { font-size: 0.95rem; }

@media (max-width: 860px) { .pillars-grid { grid-template-columns: 1fr; gap: 48px; } }

/* Closing CTA — cinematic bookend */
.closing-cta { background: var(--charcoal); text-align: center; padding: 120px var(--gutter); }
.closing-cta h2 { color: var(--white); margin-bottom: 36px; }
.closing-cta-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 480px) {
  .closing-cta-actions { flex-direction: column; }
  .closing-cta-actions .btn { width: 100%; }
}

/* ===========================================================================
   404 (404.html)
   No new hero/eyebrow/button classes needed - reuses .eyebrow, .hero-sub,
   .hero-actions from the existing system. The only new pieces are the
   section itself and the giant background watermark.
=========================================================================== */
.error-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(165deg, var(--charcoal-light) 0%, var(--charcoal) 55%, var(--charcoal-deep) 100%);
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) var(--gutter) 80px;
}
.error-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(10rem, 40vw, 26rem);
  line-height: 1;
  color: var(--charcoal-light);
  opacity: 0.4;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
}
.error-hero-content { position: relative; z-index: 2; max-width: 640px; }
.error-hero .eyebrow { color: var(--safety-orange); justify-content: center; margin-bottom: 20px; }
.error-hero h1 { color: var(--white); }

/* An error page should resolve instantly, not fade in - cancel the
   entrance animation that .hero-sub/.hero-actions otherwise always carry. */
.error-hero .hero-sub, .error-hero .hero-actions { animation: none; }

/* ===========================================================================
   Disclaimer (disclaimer.html)
   Long-form reading page, so it lives on --cloud-dancer (per the site's own
   "cloud-dancer for reading sections" rule) rather than dark mode throughout.
=========================================================================== */
.page-header-sub { color: var(--charcoal-70); font-size: 1.05rem; max-width: 600px; margin: 16px 0 0; }
.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal-45);
  margin-top: 22px;
}

.legal-doc { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) 130px; }
.legal-doc h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 56px 0 20px;
  padding-top: 32px;
  border-top: 1px solid var(--charcoal-08);
}
.legal-doc h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-doc p { margin-bottom: 22px; font-size: 1rem; line-height: 1.75; }
.legal-doc strong { color: var(--charcoal); font-weight: 600; }
.legal-doc ul { margin: 0 0 22px; padding-left: 0; list-style: none; }
.legal-doc li { position: relative; padding-left: 26px; margin-bottom: 14px; line-height: 1.7; }
.legal-doc li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 2px;
  background: var(--safety-orange);
}
.legal-doc a { color: var(--charcoal); text-decoration: underline; text-decoration-color: var(--charcoal-15); text-underline-offset: 3px; }
.legal-doc a:hover { color: var(--safety-orange); text-decoration-color: var(--safety-orange); }

/* ===========================================================================
   Careers (careers.html)
   Everything but the block below reuses the base system directly: header,
   footer, .eyebrow, .hero-sub (x2, for the two body paragraphs), .btn/.btn-primary.
=========================================================================== */
.careers-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--charcoal);
  padding: calc(var(--header-h) + 60px) var(--gutter) 100px;
}
.careers-content { max-width: 700px; }
.careers-hero .eyebrow { color: var(--safety-orange); justify-content: center; margin-bottom: 20px; }
.careers-hero h1 { color: var(--white); }
.careers-hero .hero-sub { max-width: 620px; }

.careers-cta {
  margin-top: 48px;
  padding: 40px 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.careers-submit-btn { padding: 20px 40px; font-size: 1.05rem; }
.careers-email-line { margin-top: 20px; font-size: 0.9rem; color: var(--white-40); }
.careers-email {
  font-family: var(--font-mono);
  color: var(--white-70);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 3px;
}
.careers-email:hover { color: var(--safety-orange); text-decoration-color: var(--safety-orange); }

/* ===========================================================================
   Contact (contact.html)
   Full rewrite: Muted light-gray theme for premium readability (no harsh white)
=========================================================================== */

/* 1. Keep the Hero dark so the navigation/logo remain visible */
.contact-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(165deg, var(--charcoal-light) 0%, var(--charcoal) 60%, var(--charcoal-deep) 100%);
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
}
.contact-hero h1 { color: var(--white); font-size: clamp(3rem, 10vw, 6rem); }

/* 2. Muted off-white background (matching your catalog cards) */
.directory-section { background: #f2f2f4; padding: 100px var(--gutter) 120px; }
.directory-container { max-width: 800px; margin: 0 auto; }
.directory-block { margin-bottom: 100px; }
.directory-block:last-child { margin-bottom: 0; }

/* 3. Softened dark text for perfect contrast against the gray */
.directory-block h2 {
  color: var(--safety-orange);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(26, 26, 30, 0.1); 
}
.directory-company { color: var(--charcoal); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.directory-address { color: #555555; max-width: 480px; margin-bottom: 36px; line-height: 1.7; }
.directory-row { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.directory-row:last-child { margin-bottom: 0; }

.directory-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777777; 
  min-width: 140px;
}

.directory-mono { font-family: var(--font-mono); color: var(--safety-orange); transition: opacity 0.2s var(--ease); }
.directory-mono:hover { opacity: 0.7; }
.directory-route { color: #444444; margin-bottom: 24px; line-height: 1.8; }
.directory-route:last-child { margin-bottom: 0; }
.directory-sep { color: #cccccc; margin: 0 6px; }

/* 4. The bottom Call To Action block */
.directory-partner-cta { text-align: center; padding-top: 56px; border-top: 1px solid rgba(26, 26, 30, 0.1); }
.directory-partner-cta p { color: #555555; margin-bottom: 18px; }
.directory-partner-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal); 
  border-bottom: 1px solid var(--safety-orange);
  padding-bottom: 4px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.directory-partner-link:hover { color: var(--safety-orange); }

@media (max-width: 600px) {
  .directory-label { min-width: 100%; }
}
/* ===========================================================================
   Contact (contact.html)
   Full rewrite: dropped the form/info-grid/map version for a sterile
   corporate-directory layout instead. Old classes removed as dead code.

.contact-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(165deg, var(--charcoal-light) 0%, var(--charcoal) 60%, var(--charcoal-deep) 100%);
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
}
.contact-hero h1 { color: var(--white); font-size: clamp(3rem, 10vw, 6rem); }

.directory-section { background: var(--charcoal); padding: 100px var(--gutter) 120px; }
.directory-container { max-width: 800px; margin: 0 auto; }
.directory-block { margin-bottom: 100px; }
.directory-block:last-child { margin-bottom: 0; }
.directory-block h2 {
  color: var(--white);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.directory-company { color: var(--white); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.directory-address { color: var(--white-70); max-width: 480px; margin-bottom: 36px; line-height: 1.7; }
.directory-row { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.directory-row:last-child { margin-bottom: 0; }
.directory-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-40);
  min-width: 140px;
}
.directory-mono { font-family: var(--font-mono); color: var(--safety-orange); transition: opacity 0.2s var(--ease); }
.directory-mono:hover { opacity: 0.7; }
.directory-route { color: var(--white-70); margin-bottom: 24px; line-height: 1.8; }
.directory-route:last-child { margin-bottom: 0; }
.directory-sep { color: var(--white-40); margin: 0 4px; }

.directory-partner-cta { text-align: center; padding-top: 56px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.directory-partner-cta p { color: var(--white-70); margin-bottom: 18px; }
.directory-partner-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid var(--safety-orange);
  padding-bottom: 4px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.directory-partner-link:hover { color: var(--safety-orange); }

@media (max-width: 600px) {
  .directory-label { min-width: 100%; }
}
=========================================================================== */

/* ---------------------------------------------------------------------------
   Reduced motion
--------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero::after { animation: none; }
  .hero .eyebrow, .hero h1, .hero-sub, .hero-actions { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
