/* ==========================================================
   Ace Lubricants — site styles
   Dark industrial theme. Colours and fonts are variables in :root.
   ========================================================== */

/* ==========================================================
   Tokens
   ========================================================== */
:root {
  /* Surfaces: graphite, darkest to lightest */
  --bg: #0a0c0d;
  --bg-2: #101416;
  --bg-3: #161b1e;
  --bg-4: #1e2428;
  --line: rgb(255 255 255 / 0.09);
  --line-2: rgb(255 255 255 / 0.16);

  /* Text */
  --text: #eef1f2;
  --text-2: #a7b0b4;
  --text-3: #6d767b;

  /* Accent — Ace logo green (#036443), brightened on dark backgrounds so it stays readable.
     Named --oil for history; the 3D oil keeps its own amber colours. */
  --oil: #26b673;
  --oil-2: #45d08f;
  --oil-deep: #0f8a55;
  --oil-rgb: 38 182 115;
  --on-oil: #04130c;
  --grad-oil: linear-gradient(135deg, #5fe0a3 0%, #26b673 50%, #0f8a55 100%);

  /* Ace green — brand marks */
  --green: #25b374;
  --green-brand: #036443;
  --green-deep: #013222;
  --red: #e5484d;

  --steel: linear-gradient(180deg, #dfe4e6 0%, #8e979c 100%);

  --font-display: 'Saira', 'Geist', system-ui, sans-serif;
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Saira', 'Geist', system-ui, sans-serif; /* small labels: Saira condensed */

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-lift: 0 24px 60px -24px rgb(0 0 0 / 0.8);

  --wrap: 1320px;
  --gutter: clamp(16px, 3vw, 40px);
  --header-h: 84px;
  /* inset of the .wrap content column, for absolutely positioned elements in full-width sections */
  --edge: max(var(--gutter), calc((100% - var(--wrap)) / 2));
}

/* ==========================================================
   Base
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); color-scheme: dark; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oil); text-underline-offset: 3px; }
a:hover { color: var(--oil-2); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--oil); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-family: var(--font-display); font-stretch: 100%; font-weight: 500; letter-spacing: -0.01em; }
h3, h4 { font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
::selection { background: var(--oil); color: var(--on-oil); }

.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--oil); color: var(--on-oil); padding: 10px 16px; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-stretch: 85%; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-2);
}
.eyebrow::before { content: ''; width: 7px; height: 7px; background: var(--oil); flex: none; }
.h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; color: var(--text); }
.h2 strong, h1 strong { font-weight: 500; color: var(--oil); }
.lede { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--text-2); max-width: 60ch; }
.mono { font-family: var(--font-mono); font-stretch: 85%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 46px; padding: 0 1.5em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.93rem; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn-primary, .btn-gold { background: var(--oil); color: var(--on-oil); }
.btn-primary:hover, .btn-gold:hover { background: var(--oil-2); color: var(--on-oil); box-shadow: 0 10px 30px -10px rgb(var(--oil-rgb) / 0.6); }
.btn-outline, .btn-ghost-light { border-color: var(--line-2); color: var(--text); background: rgb(255 255 255 / 0.02); }
.btn-outline:hover, .btn-ghost-light:hover { border-color: var(--text); color: var(--text); background: rgb(255 255 255 / 0.06); }
.btn-white { background: var(--text); color: #0a0c0d; }
.btn-white:hover { background: #fff; color: #0a0c0d; }
.btn-lg { min-height: 56px; padding: 0 2em; font-size: 1rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 140px); position: relative; }
.section-surface, .section-mist { background: var(--bg-2); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
.section-title { margin-bottom: clamp(32px, 4vw, 56px); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: calc(var(--header-h) + clamp(48px, 7vw, 110px)) clamp(48px, 6vw, 90px);
  margin-top: calc(-1 * var(--header-h));
  background:
    radial-gradient(900px 480px at 78% 0%, rgb(var(--oil-rgb) / 0.13), transparent 65%),
    radial-gradient(700px 400px at 10% 100%, rgb(37 179 116 / 0.08), transparent 70%),
    linear-gradient(180deg, #121618 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 500; color: var(--text); margin-top: 18px; line-height: 1.02; max-width: 16ch; }
.page-hero p { color: var(--text-2); margin-top: 22px; max-width: 58ch; font-size: 1.12rem; }

.breadcrumb { font-family: var(--font-mono); font-stretch: 85%; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--text-3); }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--oil); }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-family: var(--font-mono); font-stretch: 85%; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.04em;
  border: 1px solid rgb(var(--oil-rgb) / 0.4); color: var(--oil);
}
.chip-pack { border-color: var(--line-2); color: var(--text-2); }

.card { background: var(--bg-3); border-radius: var(--radius); overflow: hidden; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 500; font-size: 0.88rem; color: var(--text-2); }
.field .opt { color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 10px 16px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-2); color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field select option { background: var(--bg-2); }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--oil); box-shadow: 0 0 0 3px rgb(var(--oil-rgb) / 0.18);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.hp { position: absolute; left: -9999px; }
.form-status { font-weight: 500; padding: 12px 14px; border-radius: var(--radius-sm); }
.form-status[data-state='ok'] { background: rgb(37 179 116 / 0.14); color: #7fe0b1; }
.form-status[data-state='error'] { background: rgb(229 72 77 / 0.14); color: #ff9a9d; }
.form-status:empty { display: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ==========================================================
   Header
   ========================================================== */
/* dark mode: a solid Ace-green bar with the white logo and white nav */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  --text: #ffffff; --text-2: rgb(255 255 255 / 0.84); --text-3: rgb(255 255 255 / 0.62);
  --line: rgb(255 255 255 / 0.16); --line-2: rgb(255 255 255 / 0.32);
  --oil: #ffffff; --green: #ffffff; --on-oil: #036443;
  color: var(--text);
  background: rgb(3 100 67 / 0.97); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.28);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled, .menu-open.site-header { box-shadow: 0 1px 0 rgb(0 0 0 / 0.28), 0 10px 30px rgb(0 0 0 / 0.25); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { width: 76px; }
.brand-sub {
  font-family: var(--font-mono); font-stretch: 85%; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3);
  padding-left: 16px; border-left: 1px solid var(--line-2);
}
.bar-right { display: flex; align-items: center; gap: 22px; }
.util { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; font-size: 0.8rem; order: 2; }
.util li:not(:last-child), .util-sep { display: none; }
.util a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; white-space: nowrap;
}
.util a:hover { border-color: var(--oil); color: var(--oil); }
.util svg { color: var(--green); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: block; padding: 8px 12px; color: var(--text-2); font-size: 0.9rem; font-weight: 500; white-space: nowrap;
  text-decoration: none; transition: color .15s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--oil);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current='page']::after { transform: scaleX(1); }
.nav-contact-m { display: none; }
.nav-search { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--text-2); }
.nav-search:hover { color: var(--oil); background: rgb(255 255 255 / 0.1); }
.nav-toggle { display: none; }

.nav-extra { display: none; }
@media (max-width: 1240px) {
  .util { display: none; }
  /* fixed menu layers must sit against the viewport, not the blurred header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* Menu / Close toggle: the label rolls and the plus turns into a cross */
  .nav-toggle {
    position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 18px;
    color: var(--text); background: rgb(255 255 255 / 0.06); border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer;
    font-family: var(--font-mono); font-stretch: 85%; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  }
  .tg-text { display: block; height: 1.2em; overflow: hidden; line-height: 1.2; }
  .tg-text span { display: block; transition: transform .45s cubic-bezier(.7,0,.2,1); }
  .menu-open .tg-text span { transform: translateY(-100%); }
  .tg-icon { position: relative; width: 14px; height: 14px; transition: transform .55s cubic-bezier(.7,0,.2,1); }
  .tg-icon::before, .tg-icon::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; margin-top: -1px; background: currentColor; border-radius: 2px; }
  .tg-icon::after { transform: rotate(90deg); }
  .menu-open .tg-icon { transform: rotate(225deg); }

  /* two coloured layers sweep in from the right, then the panel */
  .sm-pre, .nav-menu {
    position: fixed; top: var(--header-h); right: 0; height: calc(100dvh - var(--header-h)); width: min(480px, 100vw);
    transform: translateX(102%); transition: transform .5s cubic-bezier(.7,0,.25,1); will-change: transform;
  }
  .sm-pre { z-index: 1; background: #26b673; pointer-events: none; }
  .sm-pre + .sm-pre { z-index: 1; background: #024d34; }
  .menu-open .sm-pre { transform: none; transition-duration: .55s; }
  .menu-open .sm-pre + .sm-pre { transition-delay: .07s; }
  .nav-menu {
    z-index: 2; display: flex; flex-direction: column; align-items: stretch; overflow-y: auto; overscroll-behavior: contain;
    padding: clamp(24px, 5vh, 48px) clamp(24px, 6vw, 44px) 32px; background: #f3f1ea; border: 0;
    --text: #0c2a1e; --text-2: #2e4c3f; --text-3: #6b7d73; --line: rgb(12 42 30 / 0.12); --oil: #036443;
    color: var(--text);
  }
  .menu-open .nav-menu { transform: none; transition-duration: .6s; transition-delay: .14s; }
  /* closing: panel first, then the layers */
  .site-header:not(.menu-open) .sm-pre { transition-delay: .1s; }
  .site-header:not(.menu-open) .sm-pre + .sm-pre { transition-delay: .05s; }

  /* big numbered links that rise into place one after another */
  .nav-links { flex-direction: column; gap: 2px; }
  .nav-links > li { position: relative; overflow: hidden; }
  .nav-links > li > a {
    display: block; padding: 6px 0; border: 0; white-space: nowrap;
    font-family: var(--font-display); font-stretch: 100%; font-size: clamp(1.35rem, 5.4vw, 1.9rem); font-weight: 600; line-height: 1.2;
    letter-spacing: -0.01em; text-transform: uppercase; color: var(--text);
    transform: translateY(115%) rotate(7deg); transform-origin: 0 100%;
    transition: transform .25s ease, color .2s;
  }
  .menu-open .nav-links > li > a { transform: none; transition: transform .8s cubic-bezier(.2,.8,.2,1) calc(.32s + var(--i, 1) * .06s), color .2s; }
  .nav-links > li > a:hover, .nav-links > li > a[aria-current='page'] { color: var(--oil); }
  .nav-links a::after { display: none; }
  .nav-contact-m { display: block; }
  .nav-search { display: none; }

  .nav-extra {
    display: block; margin-top: auto; padding-top: 32px;
    opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s;
  }
  .menu-open .nav-extra { opacity: 1; transform: none; transition: opacity .6s ease .75s, transform .6s ease .75s; }
  .nav-extra-h { font-family: var(--font-mono); font-stretch: 85%; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oil); margin-bottom: 12px; }
  .nav-extra ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
  .nav-extra a { color: var(--text); font-weight: 500; text-decoration: none; }
  .nav-extra a:hover { color: var(--oil); }
}
@media (max-width: 1240px) and (prefers-reduced-motion: reduce) {
  .sm-pre, .nav-menu, .nav-links > li > a, .nav-extra, .tg-text span, .tg-icon { transition-duration: .01s !important; transition-delay: 0s !important; }
}
html.menu-lock, html.menu-lock body { overflow: hidden; }
@media (max-width: 560px) { .brand-sub { display: none; } }

/* ==========================================================
   Footer
   ========================================================== */
.pre-footer { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.pre-footer::before {
  content: 'Keep every engine turning.'; display: block; text-align: center; margin: 0 auto 36px; max-width: 18ch;
  font-family: var(--font-display); font-stretch: 100%; font-weight: 500; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.01em;
}
.pf-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pf-inner .btn { min-width: 220px; }
.pf-inner .btn:not(:first-child) { background: transparent; color: var(--text); border-color: var(--line-2); }
.pf-inner .btn:not(:first-child):hover { border-color: var(--text); box-shadow: none; }

.footer { background: var(--bg-2); color: var(--text-2); font-size: 0.92rem; position: relative; border-top: 1px solid var(--line); }
.footer-bar { height: 2px; background: linear-gradient(90deg, transparent, var(--oil) 30%, var(--oil) 70%, transparent); opacity: 0.8; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 0.8fr 1.3fr; padding-block: clamp(48px, 6vw, 80px); }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand img { width: 96px; }
.footer-brand p { max-width: 38ch; }
.cert { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-stretch: 85%; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--green); }
.footer-h { font-family: var(--font-mono); font-stretch: 85%; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--text-2); text-decoration: none; }
.footer a:hover { color: var(--oil); }
.footer-contact li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; }
.footer-contact svg { margin-top: 3px; color: var(--oil); }
.footer-base { border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--text-3); }
.base-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding-block: 22px; }
.base-inner ul { display: flex; gap: 22px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .pf-inner .btn { width: 100%; min-width: 0; }
}

/* ==========================================================
   Product card
   ========================================================== */
.pcard { height: 100%; }
.pcard-link {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  color: inherit; text-decoration: none; transition: border-color .3s, transform .3s, box-shadow .3s;
}
.pcard-link:hover { border-color: rgb(var(--oil-rgb) / 0.45); transform: translateY(-4px); box-shadow: var(--shadow-lift); color: inherit; }
.pcard-media { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; background: radial-gradient(circle at 50% 40%, #262d31, #111517 70%); }
.pcard-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(10 12 13 / 0) 45%, rgb(22 27 30 / 0.95) 100%), radial-gradient(circle at 50% 30%, transparent 40%, rgb(0 0 0 / 0.35));
}
.pcard-media .packshot { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.05); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pcard-media .is-cutout, .pcard-media .is-art { object-fit: contain; padding: 8%; }
.pcard-link:hover .pcard-media .packshot { transform: scale(1.06); }
.pcard-body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 0 22px 24px; margin-top: -26px; z-index: 1; flex: 1; }
.pcard-grade {
  align-self: flex-start; font-family: var(--font-mono); font-stretch: 85%; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em;
  color: var(--on-oil); background: var(--oil); padding: 3px 9px; border-radius: 4px;
}
.pcard-name { font-family: var(--font-display); font-stretch: 100%; font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; color: var(--text); line-height: 1.15; text-transform: none; }
.pcard-size { color: var(--oil); white-space: nowrap; }
.pcard-summary {
  color: var(--text-2); font-size: 0.9rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: auto 0 0; padding-top: 10px; }

/* ==========================================================
   Home — hero: a full-bleed photo slider inside a rounded frame, with the copy
   centred low over a soft bottom fade and a strip of trust marks underneath
   ========================================================== */
.home-hero { padding: clamp(8px, 1vw, 16px) clamp(8px, 1vw, 16px) 0; background: var(--bg); }
.hh-frame {
  position: relative; isolation: isolate; overflow: hidden;
  height: calc(100svh - var(--header-h) - clamp(8px, 1vw, 16px)); min-height: 600px; max-height: 1100px;
  border-radius: clamp(18px, 2vw, 32px); background: #0b0d0e;
  /* the frame is always a dark photo, in both themes */
  --text: #ffffff; --text-2: rgb(255 255 255 / 0.84); --text-3: rgb(255 255 255 / 0.62);
  --line: rgb(255 255 255 / 0.18); --line-2: rgb(255 255 255 / 0.32); --oil: #45d08f;
  color: var(--text);
}
.hh-slides, .hh-slide { position: absolute; inset: 0; }
.hh-slide { opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.hh-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease, visibility 0s; }
.hh-figure { position: absolute; inset: 0; margin: 0; z-index: -1; }
.hh-figure img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 9s ease-out; }
.hh-slide.is-active .hh-figure img { transform: scale(1); }
/* soft fade only behind the copy, at the bottom of the photo */
.hh-figure::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgb(5 7 8 / 0.72) 0%, rgb(5 7 8 / 0.42) 34%, rgb(5 7 8 / 0.08) 62%, transparent 78%),
    linear-gradient(to top, rgb(5 7 8 / 0.82) 0%, rgb(5 7 8 / 0.4) 28%, transparent 56%);
}
.hh-inner {
  position: absolute; left: clamp(24px, 4.5vw, 72px); bottom: calc(var(--hh-bottom, 96px) + clamp(24px, 4vh, 48px));
  width: min(760px, calc(100% - 48px));
  display: grid; justify-items: start; text-align: left;
}
/* laptop and desktop: the photo fills the right of the frame and fades into a dark panel on
   the left, where the copy sits, so the packs are never behind the text */
@media (min-width: 901px) {
  .hh-figure { background: radial-gradient(70% 90% at 0% 100%, rgb(38 182 115 / 0.16), transparent 62%), #0b0d0e; }
  .hh-figure img {
    position: absolute; top: 0; right: 0; width: 70%; height: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%); mask-image: linear-gradient(to right, transparent 0%, #000 30%);
  }
  .hh-figure::after { background: linear-gradient(to top, rgb(5 7 8 / 0.7) 0%, rgb(5 7 8 / 0.25) 22%, transparent 40%); }
  .hh-inner { width: min(640px, 44%); top: 50%; bottom: auto; transform: translateY(calc(-50% - var(--hh-bottom, 96px) / 2)); }
}
.hh-inner .eyebrow { color: var(--text-2); }
.hh-title {
  margin-top: 16px; font-size: clamp(2.6rem, 5.6vw, 5.8rem); line-height: 0.98; font-weight: 600; letter-spacing: -0.02em;
  color: #fff; text-wrap: balance; text-shadow: 0 2px 30px rgb(0 0 0 / 0.35);
}
.hh-title strong { font-weight: 600; color: var(--oil); }
.hh-lede { margin-top: 18px; max-width: 52ch; color: var(--text-2); font-size: clamp(1rem, 1.25vw, 1.15rem); text-wrap: balance; }
.hh-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; margin-top: 28px; }
.hh-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; white-space: nowrap; transition: background-color .2s, transform .2s, border-color .2s;
}
.hh-btn-solid { background: #fff; color: #0b2a1e; }
.hh-btn-solid:hover { background: #e9f7ef; color: #0b2a1e; transform: translateY(-1px); }
.hh-btn-glass {
  padding-right: 6px; color: #fff; background: rgb(255 255 255 / 0.14); border: 1px solid rgb(255 255 255 / 0.22);
  backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
}
.hh-btn-glass:hover { background: rgb(255 255 255 / 0.22); color: #fff; }
.hh-btn-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #0b2a1e; }
.hh-slide .hh-inner > * { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.hh-slide.is-active .hh-inner > * { opacity: 1; transform: none; }
.hh-slide.is-active .hh-inner > :nth-child(2) { transition-delay: .08s; }
.hh-slide.is-active .hh-inner > :nth-child(3) { transition-delay: .16s; }
.hh-slide.is-active .hh-inner > :nth-child(4) { transition-delay: .24s; }

.hh-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; justify-content: flex-start; gap: 24px;
  padding: 0 clamp(24px, 4.5vw, 72px) clamp(22px, 3.2vh, 36px);
}
.hh-marks {
  list-style: none; margin: 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center;
  border-top: 1px solid rgb(255 255 255 / 0.16); width: 100%;
  gap: 10px clamp(22px, 3vw, 48px); color: rgb(255 255 255 / 0.78);
}
.hh-marks li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; line-height: 1; }
.mk-a { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em; }
.mk-a small { font-family: var(--font-mono); font-stretch: 85%; font-weight: 500; font-size: 0.7rem; letter-spacing: 0.08em; opacity: .75; margin-left: 4px; }
.mk-b { font-family: var(--font-mono); font-stretch: 85%; font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; }
.mk-b b { font-weight: 700; color: #fff; }
.mk-c { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; }
.mk-d { font-weight: 500; font-size: 0.95rem; }
.mk-e { font-family: var(--font-display); font-size: 1rem; font-weight: 500; }
.mk-e b { font-weight: 800; color: #fff; margin-right: 2px; }
.hh-ctrl { position: absolute; z-index: 3; right: clamp(16px, 2vw, 28px); top: clamp(16px, 2vw, 28px); display: flex; align-items: center; gap: 8px; }
.hh-arrow {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; cursor: pointer; color: #fff;
  background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.24); border-radius: 50%;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .2s, border-color .2s;
}
.hh-arrow:hover { background: rgb(255 255 255 / 0.24); border-color: rgb(255 255 255 / 0.5); }
.hh-pause .i-play { display: none; }
.hh-pause[aria-pressed='true'] .i-play { display: block; }
.hh-pause[aria-pressed='true'] .i-pause { display: none; }
.hh-dots { display: flex; gap: 6px; padding: 0 4px; }
.hh-dot { width: 26px; height: 24px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; align-items: center; }
.hh-dot i { display: block; height: 3px; border-radius: 3px; background: rgb(255 255 255 / 0.3); overflow: hidden; position: relative; }
.hh-dot i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hh-dot[aria-current='true'] i::after { transform: scaleX(1); }
.hh-dot.is-timing i::after { animation: hh-timer var(--hh-dur, 7s) linear forwards; }
.hh-dot:hover i { background: rgb(255 255 255 / 0.55); }
@keyframes hh-timer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .hh-slide, .hh-slide .hh-inner > *, .hh-figure img { transition: none; }
  .hh-figure img { transform: none; }
}

@media (max-width: 700px) {
  .hh-frame { height: calc(100svh - var(--header-h) - 8px); min-height: 640px; }
  .hh-inner { left: 16px; width: calc(100% - 32px); }
  .hh-bottom { padding-inline: 16px; }
  .hh-title { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .hh-lede { font-size: 0.98rem; }
  .hh-btn { min-height: 46px; padding: 0 18px; font-size: 0.9rem; }
  .hh-btn-glass { padding-right: 5px; }
  .hh-btn-ico { width: 34px; height: 34px; }
  .hh-marks { gap: 10px 18px; }
  .hh-marks li:nth-child(n+5) { display: none; }
  .mk-a, .mk-c, .mk-e { font-size: 0.9rem; }
  .mk-b, .mk-d { font-size: 0.78rem; }
}

/* shared stat figures (used by other sections) */
.spec-n { font-family: var(--font-display); font-stretch: 100%; font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 500; color: var(--oil); line-height: 1; letter-spacing: -0.01em; }
.spec-n small { font-size: 0.42em; font-weight: 500; margin-left: 4px; letter-spacing: 0; }
.spec-l { display: block; margin-top: 8px; font-size: 0.85rem; color: var(--text-2); }

/* ==========================================================
   Home — oil & gears scroll story (Three.js)
   ========================================================== */
.oil-story { position: relative; height: 480vh; background: var(--bg); }
.os-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background:
    radial-gradient(900px 700px at 62% 45%, rgb(242 183 5 / var(--glow, 0.06)), transparent 70%), /* warm light from the oil itself */
    radial-gradient(1200px 800px at 60% 40%, #172024 0%, var(--bg) 72%);
}
.os-stage::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgb(10 12 13 / 0.92) 0%, rgb(10 12 13 / 0.7) 24%, rgb(10 12 13 / 0) 46%),
              linear-gradient(0deg, rgb(10 12 13 / 0.7) 0%, rgb(10 12 13 / 0) 18%);
}
.os-annot { z-index: 2; }
.os-copy, .os-progress, .os-bar { z-index: 3; }
.os-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.os-fallback { position: absolute; inset: 0; display: none; }
.os-fallback img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.no-webgl .os-fallback { display: block; }
.no-webgl .os-canvas, .no-webgl .os-annot { display: none; }

.os-annot { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.os-annot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.os-annot line { stroke: rgb(255 255 255 / 0.55); stroke-width: 1; }
.os-annot rect { fill: var(--oil); }
.os-label {
  position: absolute; left: 0; top: 0; min-width: 150px; max-width: 220px;
  font-family: var(--font-mono); font-stretch: 85%; font-size: 0.72rem; line-height: 1.45; letter-spacing: 0.03em; color: var(--text);
  opacity: 0; transition: opacity .4s;
}
.os-label b { display: block; font-weight: 500; color: var(--text); }
.os-label span { color: var(--text-2); }
.os-label.on { opacity: 1; }

.os-copy {
  position: absolute; left: var(--edge); top: 50%; transform: translateY(-50%);
  width: min(480px, 40vw); pointer-events: none;
}
.os-step { position: absolute; inset: auto 0 auto 0; top: 50%; transform: translateY(-40%); opacity: 0; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.os-step.on { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.os-step h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; margin-top: 18px; }
.os-step p { margin-top: 20px; color: var(--text-2); font-size: 1.05rem; max-width: 40ch; }
.os-step .btn { margin-top: 28px; }
.os-facts { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 28px 0 0; }
.os-facts li { padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line-2); }
.os-facts li:last-child { border: 0; }
.os-facts .spec-n { font-size: 1.9rem; }

.os-progress {
  position: absolute; left: var(--edge); bottom: 34px;
  display: flex; gap: 28px; list-style: none; margin: 0; padding: 0;
  font-family: var(--font-mono); font-stretch: 85%; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3);
}
.os-progress li { display: flex; align-items: center; gap: 12px; transition: color .3s; }
.os-progress li::before { content: ''; width: 24px; height: 1px; background: currentColor; transition: width .3s, background-color .3s; }
.os-progress li.on { color: var(--text); }
.os-progress li.on::before { width: 44px; background: var(--oil); }
.os-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--line); }
.os-bar i { display: block; height: 100%; width: 100%; background: var(--grad-oil); transform-origin: left; transform: scaleX(0); }

@media (max-width: 900px) {
  .oil-story { height: 420vh; }
  .os-copy { left: var(--edge); right: var(--edge); top: auto; bottom: 28px; transform: none; width: auto; height: 42%; }
  .os-step { top: auto; bottom: 0; transform: translateY(12px); }
  .os-step.on { transform: none; }
  .os-step h2 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .os-step p { font-size: 0.96rem; margin-top: 12px; }
  .os-progress { display: none; }
  .os-label { display: none; }
  .os-annot svg { display: none; }
  .os-stage::before { background: linear-gradient(180deg, rgb(10 12 13 / 0) 40%, rgb(10 12 13 / 0.94) 68%); }
  .os-copy { z-index: 2; }
}

/* ==========================================================
   Home — range, bento, figures, about
   ========================================================== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(120px, auto); gap: 16px; }
.bt {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  padding: clamp(24px, 3vw, 44px); color: var(--text); text-decoration: none;
  background: var(--bg-3); border: 1px solid var(--line); min-height: 280px;
  transition: border-color .3s;
}
a.bt:hover { border-color: rgb(var(--oil-rgb) / 0.5); color: var(--text); }
.bt img.bt-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
a.bt:hover img.bt-bg { transform: scale(1.05); }
.bt::before { content: ''; position: absolute; inset: 0; z-index: -1; }
.bt-wide { grid-column: span 12; min-height: 380px; }
.bt-wide::before { background: linear-gradient(90deg, rgb(10 12 13 / 0.95) 0%, rgb(10 12 13 / 0.55) 45%, rgb(10 12 13 / 0) 75%); }
.bt-wide img.bt-bg { object-position: 50% 45%; }
.bt-tall { grid-column: span 7; grid-row: span 2; min-height: 560px; }
.bt-tall::before { background: linear-gradient(0deg, rgb(10 12 13 / 0.95) 0%, rgb(10 12 13 / 0.2) 55%, rgb(10 12 13 / 0.5) 100%); }
.bt-side { grid-column: span 5; }
.bt-side::before { background: linear-gradient(0deg, rgb(10 12 13 / 0.95) 5%, rgb(10 12 13 / 0.35) 70%); }
.bt-oil { grid-column: span 5; background: var(--grad-oil); border: 0; color: var(--on-oil); }
a.bt-oil:hover { color: var(--on-oil); }
.bt-oil .bt-k { color: rgb(10 12 13 / 0.7); }
.bt-oil .bt-k::before { background: var(--on-oil); }
.bt-light { grid-column: span 12; background: #eef1f2; border: 0; color: #0a0c0d; flex-direction: row; flex-wrap: wrap; align-items: center; min-height: 0; }
.bt-light .bt-k { color: #4a5359; }
.bt-light .bt-k::before { background: var(--green-brand); }
.bt-k { font-family: var(--font-mono); font-stretch: 85%; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); display: inline-flex; align-items: center; gap: 10px; }
.bt-k::before { content: ''; width: 7px; height: 7px; background: var(--oil); }
.bt h3 { font-family: var(--font-display); font-stretch: 100%; font-size: clamp(1.8rem, 3.2vw, 3rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.02; max-width: 14ch; }
.bt p { color: var(--text-2); max-width: 40ch; font-size: 0.98rem; }
.bt-oil p { color: rgb(10 12 13 / 0.75); }
.bt-go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; }
.bt-go svg { transition: transform .2s; }
a.bt:hover .bt-go svg { transform: translateX(4px); }
.bt-copy { display: grid; gap: 14px; }
.bt-light .bt-copy { flex: 1 1 320px; }
.bt-light h3 { max-width: 20ch; }
.finder-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; flex: 1 1 480px; }
.finder-pills a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 12px;
  border: 1px solid rgb(10 12 13 / 0.14); border-radius: 999px; color: #0a0c0d; text-decoration: none; font-weight: 500; font-size: 0.92rem;
  transition: background-color .2s, border-color .2s, color .2s;
}
.finder-pills a:hover { background: #0a0c0d; border-color: #0a0c0d; color: var(--oil); }
.finder-pills svg { color: var(--green-brand); }
.finder-pills a:hover svg { color: var(--oil); }
.finder-pills small { font-family: var(--font-mono); font-stretch: 85%; font-size: 0.7rem; color: #6d767b; }

.figures { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.figure { padding: 36px 28px 8px 0; border-right: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.figure + .figure { padding-left: 28px; }
.figure:last-child { border-right: 0; }
.figure-n { font-family: var(--font-display); font-stretch: 100%; font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 500; line-height: 0.9; letter-spacing: -0.015em; color: var(--oil); }
.figure-n small { font-size: 0.34em; font-weight: 500; margin-left: 6px; letter-spacing: 0; }
.figure-label { color: var(--text-2); font-size: 0.95rem; max-width: 22ch; }

.about { display: grid; grid-template-columns: 0.9fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.6; border: 1px solid var(--line); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.about-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(10 12 13 / 0.6), transparent 50%); }
.about-copy { display: grid; gap: 22px; justify-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; width: 100%; }
.ticks li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.ticks svg { color: var(--oil); flex: none; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(2) { border-right: 0; }
  .figure:nth-child(3) { padding-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .bt-tall, .bt-side, .bt-oil { grid-column: span 12; }
  .bt-tall { min-height: 440px; }
  .about { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; }
  .figure, .figure + .figure { padding-left: 0; border-right: 0; border-top: 1px solid var(--line); padding-bottom: 20px; }
}

/* ==========================================================
   Product catalogue
   ========================================================== */
.cat-head { position: relative; padding-top: 28px; }
.cat-title-row {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 40px;
  padding: 36px 0 36px; border-bottom: 1px solid var(--line);
}
.cat-title { font-family: var(--font-display); font-stretch: 100%; font-weight: 500; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.015em; color: var(--text); }
.search { position: relative; flex: 1 1 360px; max-width: 560px; }
.search input {
  width: 100%; min-height: 54px; padding: 0 52px 0 20px; color: var(--text);
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2);
}
.search input::placeholder { color: var(--text-3); }
.search input:focus { outline: none; border-color: var(--oil); box-shadow: 0 0 0 3px rgb(var(--oil-rgb) / 0.16); }
.search svg { position: absolute; right: 18px; top: 50%; translate: 0 -50%; color: var(--text-2); pointer-events: none; }

.cat-filters { position: relative; z-index: 5; padding-block: 22px; background: var(--bg-2); border-block: 1px solid var(--line); margin-top: 28px; }
.filter-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.filter { position: relative; }
.filter-btn {
  width: 100%; min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 16px;
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; text-align: left;
  font-size: 0.88rem; font-weight: 500; color: var(--text);
}
.filter-btn:hover { border-color: var(--text-3); }
.filter.is-set .filter-btn { border-color: var(--oil); }
.filter-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.filter-count { background: var(--oil); color: var(--on-oil); border-radius: 999px; font-size: 0.7rem; font-weight: 700; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 6px; }
.filter-count[hidden] { display: none; }
.filter-btn svg { transition: rotate .15s; flex: none; color: var(--text-2); }
.filter-btn[aria-expanded='true'] svg { rotate: 180deg; }
.filter-pop {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 100%; width: max-content; max-width: 300px; z-index: 10;
  background: var(--bg-4); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow-lift); padding: 6px;
  max-height: 340px; overflow: auto;
}
.filter-pop fieldset { border: 0; margin: 0; padding: 0; display: grid; }
.opt { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; cursor: pointer; font-size: 0.92rem; }
.opt:hover { background: rgb(255 255 255 / 0.05); }
.opt input { width: 17px; height: 17px; accent-color: var(--oil); }

.active-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.active-row[hidden] { display: none; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.active-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px;
  background: var(--oil); color: var(--on-oil); border: 0; border-radius: 999px; font-size: 0.84rem; font-weight: 600; cursor: pointer;
}
.active-chip:hover { background: var(--oil-2); }
.clear-all { background: none; border: 0; color: var(--text-2); font-weight: 500; text-decoration: underline; cursor: pointer; padding: 8px; }
.clear-all:hover { color: var(--text); }

.cat-results { padding-block: 36px 100px; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; }
.results-count { font-family: var(--font-mono); font-stretch: 85%; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.results-count strong { color: var(--oil); font-weight: 500; }
.per-page { display: flex; align-items: center; gap: 4px; font-size: 0.86rem; color: var(--text-3); }
.per-page span { margin-right: 6px; }
.per-page button { min-width: 36px; min-height: 36px; background: none; border: 0; border-radius: 6px; cursor: pointer; font-weight: 500; color: var(--text-2); }
.per-page button:hover { color: var(--text); background: rgb(255 255 255 / 0.05); }
.per-page button[aria-pressed='true'] { color: var(--oil); text-decoration: underline; text-underline-offset: 6px; }

.product-grid [data-product][hidden] { display: none; }

.empty { text-align: center; padding: 64px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty h2 { font-size: 1.6rem; }
.empty p { color: var(--text-2); margin: 12px auto 0; max-width: 52ch; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.pager button {
  min-width: 44px; min-height: 44px; border: 1px solid var(--line-2); background: var(--bg-3); border-radius: 10px;
  font-weight: 600; cursor: pointer; color: var(--text);
}
.pager button:hover:not(:disabled) { border-color: var(--oil); color: var(--oil); }
.pager button[aria-current='page'] { background: var(--oil); border-color: var(--oil); color: var(--on-oil); }
.pager button:disabled { opacity: 0.3; cursor: default; }

@media (max-width: 1100px) { .filter-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) {
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .per-page span { display: none; }
  .filter:nth-child(even) .filter-pop { left: auto; right: 0; }
}

/* ==========================================================
   Product page
   ========================================================== */
.pd-crumbs { padding-top: 28px; }
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); padding-block: 32px clamp(56px, 8vw, 110px); align-items: start; }
.pd-main {
  position: relative; aspect-ratio: 3 / 3.5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 40%, #262d31, #0f1315 75%);
}
.pd-main::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 35%, transparent 45%, rgb(0 0 0 / 0.45)); }
.pd-grade {
  position: absolute; top: 20px; left: 20px; z-index: 2; font-family: var(--font-mono); font-stretch: 85%; font-size: 0.85rem; letter-spacing: 0.06em;
  background: var(--oil); color: var(--on-oil); padding: 6px 12px; border-radius: 6px;
}
.pd-slide { position: absolute; inset: 0; }
.pd-slide[hidden] { display: none; }
.pd-slide .packshot { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.04); }
.pd-slide .is-cutout, .pd-slide .is-art { object-fit: contain !important; padding: 8%; filter: none; }
.pd-thumbs { display: flex; gap: 10px; list-style: none; padding: 0; margin: 14px 0 0; flex-wrap: wrap; }
.pd-thumbs button { padding: 0; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; cursor: pointer; background: none; width: 76px; height: 96px; opacity: 0.6; transition: opacity .2s, border-color .2s; }
.pd-thumbs button:hover { opacity: 1; }
.pd-thumbs button[aria-pressed='true'] { border-color: var(--oil); opacity: 1; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd-info { display: grid; gap: 22px; align-content: start; position: sticky; top: calc(var(--header-h) + 24px); }
.pd-name { font-family: var(--font-display); font-stretch: 100%; font-weight: 500; color: var(--text); font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -0.015em; }
.pd-summary { font-size: 1.12rem; color: var(--text-2); }
.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pd-label { font-family: var(--font-mono); font-stretch: 85%; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.pd-packs ul { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0; }
.pd-packs li {
  padding: 0 22px; border-left: 1px solid var(--line-2);
  font-family: var(--font-display); font-stretch: 100%; font-weight: 500; font-size: 2.2rem; line-height: 1; color: var(--oil); letter-spacing: -0.01em;
}
.pd-packs li:first-child { padding-left: 0; border-left: 0; }
.muted { color: var(--text-3); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; padding-top: 24px; border-top: 1px solid var(--line); }
.pd-note { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 0.9rem; }

.pd-details { border-top: 1px solid var(--line); }
.pd-details-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pd-h { font-family: var(--font-display); font-stretch: 100%; font-weight: 500; font-size: 1.9rem; letter-spacing: -0.01em; color: var(--text); margin: 44px 0 18px; }
.pd-desc > .pd-h:first-child, .pd-spec > .pd-h { margin-top: 0; }
.pd-desc p { color: var(--text-2); font-size: 1.05rem; max-width: 64ch; }
.pd-desc p + p { margin-top: 14px; }
.pd-benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.pd-benefits li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pd-benefits svg { color: var(--oil); flex: none; }
.pd-uses { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pd-uses a {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px;
  border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; white-space: nowrap;
}
.pd-uses a:hover { border-color: var(--oil); color: var(--oil); }
.pd-uses svg { color: var(--oil); }

.pd-spec { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.pd-spec dl { margin: 0; }
.pd-spec dl div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.pd-spec dt { font-family: var(--font-mono); font-stretch: 85%; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); padding-top: 2px; }
.pd-spec dd { margin: 0; font-weight: 500; }
.pd-tds { margin-top: 20px; font-size: 0.9rem; color: var(--text-2); }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 900px) {
  .pd, .pd-details-grid { grid-template-columns: 1fr; }
  .pd-info { position: static; }
  .related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .related { grid-template-columns: 1fr; }
  .pd-main { aspect-ratio: 4 / 4.2; }
}

/* ==========================================================
   About page
   ========================================================== */
.story { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-copy { display: grid; gap: 20px; }
.story-copy p { color: var(--text-2); font-size: 1.06rem; max-width: 62ch; }
.story-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.8; border: 1px solid var(--line); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vm article { position: relative; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); overflow: hidden; }
.vm article::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grad-oil); }
.vm-text { margin-top: 18px; font-family: var(--font-display); font-stretch: 100%; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; }

.quality { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.quality li { display: grid; gap: 16px; align-content: start; padding: 32px 28px 8px 0; border-right: 1px solid var(--line); }
.quality li + li { padding-left: 28px; }
.quality li:last-child { border-right: 0; }
.quality svg { color: var(--oil); }
.quality h3 { font-size: 1.2rem; margin-bottom: 8px; }
.quality p { color: var(--text-2); }

.range-strip { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.range-strip a {
  display: flex; align-items: baseline; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-3);
  color: var(--text); text-decoration: none; transition: border-color .2s;
}
.range-strip a:hover { border-color: var(--oil); color: var(--text); }
.range-n { font-family: var(--font-display); font-stretch: 100%; font-weight: 500; font-size: 3.4rem; line-height: 0.9; color: var(--oil); letter-spacing: -0.015em; }
.range-t { font-weight: 500; color: var(--text-2); }

.team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.team li { display: flex; align-items: center; gap: 20px; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.team-mark {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--grad-oil); color: var(--on-oil); font-family: var(--font-display); font-stretch: 100%; font-weight: 600; font-size: 1.25rem;
}
.team h3 { font-size: 1.15rem; }
.team p { color: var(--text-3); font-family: var(--font-mono); font-stretch: 85%; font-size: 0.78rem; letter-spacing: 0.04em; margin-top: 4px; }

.cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .story, .vm { grid-template-columns: 1fr; }
  .quality { grid-template-columns: 1fr; }
  .quality li, .quality li + li { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
  .story-photo { aspect-ratio: 4 / 3; }
}

/* ==========================================================
   Distributors page
   ========================================================== */
.dist-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.why { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; }
.why li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.why li:first-child { border-top: 1px solid var(--line); }
.why svg { color: var(--oil); margin-top: 2px; }
.why h3 { font-size: 1.1rem; margin-bottom: 6px; }
.why p { color: var(--text-2); }

.steps { margin-top: 40px; padding: 28px 30px; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); }
.steps-h { font-family: var(--font-display); font-stretch: 100%; font-weight: 500; font-size: 1.8rem; color: var(--text); }
.steps ol { margin: 16px 0 0; padding-left: 1.4em; display: grid; gap: 10px; color: var(--text-2); }
.steps li strong { color: var(--text); font-weight: 600; }
.steps li::marker { font-family: var(--font-mono); font-stretch: 85%; color: var(--oil); }

.dist-form { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); position: sticky; top: calc(var(--header-h) + 24px); }
.form-h { font-family: var(--font-display); font-stretch: 100%; font-weight: 500; color: var(--text); font-size: 2rem; line-height: 1.1; letter-spacing: -0.01em; }
.form-sub { color: var(--text-2); margin: 10px 0 26px; }

@media (max-width: 900px) {
  .dist-layout { grid-template-columns: 1fr; }
  .dist-form { position: static; }
}

/* ==========================================================
   Contact page
   ========================================================== */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info { display: grid; gap: 26px; }
.wa-card {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--grad-oil); color: var(--on-oil); text-decoration: none; transition: box-shadow .25s, transform .25s;
}
.wa-card:hover { color: var(--on-oil); box-shadow: 0 16px 40px -16px rgb(var(--oil-rgb) / 0.6); transform: translateY(-2px); }
.wa-card > span { flex: 1; display: grid; }
.wa-card strong { font-size: 1.15rem; font-weight: 600; }
.wa-card span span { opacity: 0.75; font-size: 0.9rem; }

.details { margin: 0; display: grid; }
.details div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.details dt { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-stretch: 85%; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.details dt svg { color: var(--oil); }
.details dd { margin: 0; display: grid; gap: 4px; }
.details dd a { color: var(--text); text-decoration: none; }
.details dd a:hover { color: var(--oil); }
.details address { font-style: normal; color: var(--text); }

.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-3); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9); }

.contact-form { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }

@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .details div { grid-template-columns: 1fr; gap: 6px; } }

/* ==========================================================
   404 page
   ========================================================== */
.nf { min-height: 80vh; display: grid; align-items: center; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ==========================================================
   Studio: cut-out products under a spotlight
   ========================================================== */
.studio {
  position: absolute; inset: 0; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 70% 55% at 62% 8%, rgb(255 255 255 / 0.16), transparent 70%),
    linear-gradient(165deg, #22292d 0%, #101416 45%, #070809 100%);
}
.studio::before {
  /* diagonal light beam from the top right */
  content: ''; position: absolute; inset: -20% -30% 30% 35%; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 0.07) 45%, rgb(255 255 255 / 0.02) 60%, transparent 70%);
  transform: rotate(-8deg);
}
.studio-pack {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  height: var(--pack-h, 70%); width: auto; max-width: 80%; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgb(0 0 0 / 0.6));
}
.studio::after {
  /* soft brand-green glow behind the pack */
  content: ''; position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1;
  background: radial-gradient(circle, rgb(var(--oil-rgb) / 0.14), transparent 65%);
}
.pd-studio .studio { --pack-h: 72%; }
.pd-studio .studio-pack { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.pd-main:hover .pd-studio .studio-pack { transform: translate(-50%, calc(-50% - 6px)); }
.pd-thumbs .thumb-cut { object-fit: contain; background: radial-gradient(circle at 50% 30%, #2a3135, #0d1012 75%); padding: 6px; }

/* Product cards with cut-out packs */
.pcard-media.has-cutout {
  background:
    radial-gradient(ellipse 70% 60% at 55% 0%, rgb(255 255 255 / 0.13), transparent 70%),
    linear-gradient(170deg, #20262a 0%, #0f1214 70%);
}
.pcard-media.has-cutout .packshot { position: relative; object-fit: contain; padding: 9% 12% 14%; filter: drop-shadow(0 16px 14px rgb(0 0 0 / 0.6)); }
.pcard-link:hover .pcard-media.has-cutout .packshot { transform: translateY(-6px) scale(1.03); }

/* ==========================================================
   Home — featured product
   ========================================================== */
.feature { position: relative; min-height: min(100svh, 920px); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.feature-stage { position: absolute; inset: 0; z-index: -1; }
.feature-stage .studio {
  background:
    radial-gradient(ellipse 40% 60% at 72% 0%, rgb(255 255 255 / 0.2), transparent 70%),
    linear-gradient(160deg, #1d2428 0%, #0c0f11 55%, #050606 100%);
}
.feature-pack { left: 70%; height: 70%; }
.feature-stage .studio::after { left: 70%; width: 46%; }
.feature-copy { position: relative; padding-block: 80px; }
.feature-copy .h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); margin-top: 18px; }
.feature-copy .lede { max-width: 44ch; margin-top: 26px; }
.spec-row { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 36px 0 0; }
.spec-row li { padding-right: clamp(20px, 3vw, 40px); margin-right: clamp(20px, 3vw, 40px); border-right: 1px solid var(--line-2); }
.spec-row li:last-child { border: 0; margin: 0; padding: 0; }
.spec-row .spec-n { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* featured products carousel: packs swing in from the side, copy rises in */
.feature { --ft-dir: 1; touch-action: pan-y; }
.ft-pack {
  opacity: 0; transform: translate(-50%, -50%) translateX(calc(var(--ft-dir) * 22%)) rotate(calc(var(--ft-dir) * 7deg)) scale(0.92);
  transition: opacity .55s ease, transform .9s cubic-bezier(.2,.8,.2,1);
}
.ft-pack.is-active { opacity: 1; transform: translate(-50%, -50%); }
.ft-pack.is-leaving { opacity: 0; transform: translate(-50%, -50%) translateX(calc(var(--ft-dir) * -22%)) rotate(calc(var(--ft-dir) * -7deg)) scale(0.92); }
.ft-count { margin-left: 10px; color: var(--text-3); letter-spacing: 0.1em; }
.ft-count b { color: var(--text); font-weight: 600; }
.ft-slides { display: grid; }
.ft-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.ft-slide.is-active { opacity: 1; visibility: visible; transition: opacity .35s ease, visibility 0s; }
.ft-slide > * { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.ft-slide.is-active > * { opacity: 1; transform: none; }
.ft-slide.is-active > :nth-child(2) { transition-delay: .07s; }
.ft-slide.is-active > :nth-child(3) { transition-delay: .14s; }
.ft-slide.is-active > :nth-child(4) { transition-delay: .21s; }
.ft-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 44px; }
.ft-arrow {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--text);
  background: rgb(255 255 255 / 0.04); border: 1px solid var(--line-2); border-radius: 50%; transition: border-color .2s, color .2s, background-color .2s;
}
.ft-arrow:hover { border-color: var(--oil); color: var(--oil); }
.ft-dots { display: flex; gap: 6px; padding: 0 6px; }
.ft-dot { width: 30px; height: 24px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; align-items: center; }
.ft-dot i { display: block; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; position: relative; }
.ft-dot i::after { content: ''; position: absolute; inset: 0; background: var(--oil); transform: scaleX(0); transform-origin: left; }
.ft-dot[aria-current='true'] i::after { transform: scaleX(1); }
.ft-dot.is-timing i::after { animation: hh-timer var(--ft-dur, 6s) linear forwards; }
.feature-stage { cursor: grab; }
.feature.is-dragging .feature-stage { cursor: grabbing; }
@media (prefers-reduced-motion: reduce) {
  .ft-pack, .ft-slide, .ft-slide > * { transition-duration: .01s !important; transition-delay: 0s !important; }
}
@media (max-width: 900px) {
  .feature { align-items: end; min-height: 0; }
  .feature-stage { position: relative; height: 480px; }
  .feature-pack, .feature-stage .studio::after { left: 50%; }
  .feature-pack { height: 78%; }
  .feature-copy { padding-block: 40px 72px; }
  .feature { display: block; }
}

/* ==========================================================
   Home — why Ace (macro gears with depth of field)
   ========================================================== */
.macro { position: relative; min-height: 130vh; overflow: hidden; isolation: isolate; background: #0b0d0e; }
.macro-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.macro-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(11 13 14 / 0.75) 0%, rgb(11 13 14 / 0) 55%),
    linear-gradient(0deg, #0b0d0e 0%, rgb(11 13 14 / 0) 25%),
    linear-gradient(180deg, #0b0d0e 0%, rgb(11 13 14 / 0) 18%);
}
.no-webgl .macro-canvas { display: none; }
.no-webgl .macro { background: radial-gradient(ellipse at 75% 25%, #2a3135, #0b0d0e 65%); }
.macro-inner { position: relative; min-height: 130vh; padding-block: clamp(80px, 10vw, 140px); }
.macro-block { position: absolute; max-width: 360px; }
.macro-block h3 { font-family: var(--font-display); font-stretch: 100%; font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 600; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.12; }
.macro-block p { margin-top: 22px; color: var(--text-2); font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 1.55; }
.mb-1 { left: 0; top: 36%; }
.mb-2 { left: 46%; top: 64%; }
.mb-3 { left: 0; top: 84%; }
@media (max-width: 860px) {
  .macro, .macro-inner { min-height: 0; }
  .macro-inner { padding-top: 70vw; display: grid; gap: 44px; }
  .macro-block { position: static; }
  .macro-shade { background: linear-gradient(0deg, #0b0d0e 40%, rgb(11 13 14 / 0) 75%); }
}

/* ==========================================================
   Home — "More than oil" gear assembly (pinned, scroll-driven)
   ========================================================== */
.assembly { position: relative; height: 340vh; background: #0a0c0d; }
.as-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.as-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; }
.as-static .as-canvas { display: none; }
.as-static .as-stage { background: radial-gradient(ellipse 40% 40% at 66% 60%, rgb(242 183 5 / 0.14), #0a0c0d 70%); }
.as-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.as-inner .btn { pointer-events: auto; }
.as-title { font-family: var(--font-display); font-stretch: 100%; font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.02; letter-spacing: -0.015em; max-width: 14ch; }
.as-text { margin-top: 22px; max-width: 40ch; color: var(--text-2); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.55; }
.as-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; max-width: 360px; }
.as-steps li { display: grid; gap: 2px; padding-left: 18px; border-left: 2px solid var(--line-2); color: var(--text-3); transition: border-color .4s, color .4s; }
.as-steps li b { font-family: var(--font-mono); font-stretch: 85%; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.as-steps li span { font-size: 0.92rem; }
.as-steps li.on { border-color: var(--oil); color: var(--text); }
.as-steps li.on span { color: var(--text-2); }
.as-steps li.done { border-color: rgb(var(--oil-rgb) / 0.45); }
.as-cta { margin-top: 30px; align-self: flex-start; }
.as-bar { z-index: 2; }
@media (max-width: 860px) {
  .assembly { height: 300vh; }
  .as-inner { justify-content: flex-start; padding-top: calc(var(--header-h) + 12px); }
  .as-text, .as-steps li span { display: none; }
  .as-steps { margin-top: 18px; gap: 8px; }
  .as-cta { display: none; }
}

/* ==========================================================
   Campaign scenes (home "In the field" gallery)
   ========================================================== */
.scene-grid { columns: 3 300px; column-gap: 16px; }
.scene {
  position: relative; display: block; margin: 0 0 16px; break-inside: avoid;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2, #111416);
}
.scene-img { display: block; width: 100%; height: auto; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.scene:hover .scene-img, .scene:focus-visible .scene-img { transform: scale(1.04); }
.scene-tag {
  position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px;
  font-family: var(--font-mono); font-stretch: 85%; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); background: rgb(10 12 13 / 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.scene:hover .scene-tag, .scene:focus-visible .scene-tag { opacity: 1; transform: none; }
@media (hover: none) { .scene-tag { opacity: 1; transform: none; } }
.pd-slide .is-scene { filter: none; }

/* ==========================================================
   Light mode (html[data-theme="light"], set by the header switch)
   Photo-led and 3D sections, the header and the footer keep the dark look in both modes:
   they sit on night photos or dark 3D stages.
   ========================================================== */
:root[data-theme='light'] {
  color-scheme: light;
  --bg: #f4f5f2;
  --bg-2: #eaece8;
  --bg-3: #ffffff;
  --bg-4: #dfe3df;
  --line: rgb(10 12 13 / 0.1);
  --line-2: rgb(10 12 13 / 0.18);
  --text: #101416;
  --text-2: #4a5359;
  --text-3: #6f797e;
  --oil: #036443;
  --oil-2: #024f35;
  --oil-deep: #013222;
  --oil-rgb: 3 100 67;
  --on-oil: #ffffff;
  --grad-oil: linear-gradient(135deg, #0a8a5c 0%, #036443 50%, #024a31 100%);
  --green: #0f8a55;
  --shadow-lift: 0 24px 60px -28px rgb(16 20 22 / 0.35);
}
:root[data-theme='light'] :is(.footer, .oil-story, .feature, .assembly, .macro, .bt:has(> .bt-bg), .scene, .pd-main, .pcard-media) {
  color-scheme: dark;
  --bg: #0a0c0d; --bg-2: #101416; --bg-3: #161b1e; --bg-4: #1e2428;
  --line: rgb(255 255 255 / 0.09); --line-2: rgb(255 255 255 / 0.16);
  --text: #eef1f2; --text-2: #a7b0b4; --text-3: #6d767b;
  --oil: #26b673; --oil-2: #45d08f; --oil-deep: #0f8a55; --oil-rgb: 38 182 115; --on-oil: #04130c;
  --grad-oil: linear-gradient(135deg, #5fe0a3 0%, #26b673 50%, #0f8a55 100%);
  --green: #25b374;
  color: var(--text); /* re-resolve text colour here: inherited colour was already resolved on <body> */
}
/* light mode header: a light green bar with the green logo */
.logo-light-ui { display: none; }
:root[data-theme='light'] .logo-dark-ui { display: none; }
:root[data-theme='light'] .logo-light-ui { display: block; }
:root[data-theme='light'] .site-header {
  --text: #0c2a1e; --text-2: #2e4c3f; --text-3: #587062;
  --line: rgb(3 100 67 / 0.14); --line-2: rgb(3 100 67 / 0.26);
  --oil: #036443; --green: #036443;
  color: var(--text); --on-oil: #ffffff; --oil-rgb: 3 100 67;
  background: rgb(220 242 228 / 0.96); box-shadow: 0 1px 0 rgb(3 100 67 / 0.14);
  backdrop-filter: blur(14px) saturate(1.2);
}
:root[data-theme='light'] .site-header .nav-links a::after { background: #036443; }
:root[data-theme='light'] .site-header .nav-search:hover { background: rgb(3 100 67 / 0.08); }
@media (max-width: 1240px) {
  :root[data-theme='light'] .site-header .nav-toggle { background: rgb(3 100 67 / 0.06); }
}
:root[data-theme='light'] .oil-story, :root[data-theme='light'] .assembly { background-color: #0a0c0d; }
:root[data-theme='light'] .pcard { box-shadow: 0 1px 2px rgb(16 20 22 / 0.06); }
:root[data-theme='light'] :is(.opt, .per-page button, .btn-outline):hover { background: rgb(10 12 13 / 0.05); }
:root[data-theme='light'] .form-status[data-state='ok'] { color: #0b6b42; }
:root[data-theme='light'] .form-status[data-state='error'] { color: #b3262b; }
:root[data-theme='light'] .bt-light { background: #ffffff; border: 1px solid var(--line); }
:root[data-theme='light'] .bt-oil .bt-k { color: rgb(255 255 255 / 0.75); }
:root[data-theme='light'] .bt-oil p { color: rgb(255 255 255 / 0.82); }
:root[data-theme='light'] .page-hero {
  background:
    radial-gradient(900px 480px at 78% 0%, rgb(var(--oil-rgb) / 0.1), transparent 65%),
    radial-gradient(700px 400px at 10% 100%, rgb(3 100 67 / 0.07), transparent 70%),
    linear-gradient(180deg, #dcefe3 0%, var(--bg) 100%);
}

/* the switch */
.theme-toggle {
  order: 1; display: grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 0; cursor: pointer;
  color: var(--text-2); background: transparent; border: 1px solid var(--line-2); border-radius: 50%;
  transition: color .2s, border-color .2s, background-color .2s;
}
.theme-toggle:hover { color: var(--oil); border-color: var(--oil); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme='light'] .theme-toggle .i-sun { display: block; }
:root[data-theme='light'] .theme-toggle .i-moon { display: none; }
@media (max-width: 1240px) { .theme-toggle { width: 46px; height: 46px; } }

/* ==========================================================
   Company profile and production page
   ========================================================== */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.jump a {
  padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2);
  font-size: 0.88rem; font-weight: 500; text-decoration: none; transition: border-color .2s, color .2s;
}
.jump a:hover { border-color: var(--oil); color: var(--text); }
.section-lede { color: var(--text-2); font-size: 1.06rem; max-width: 60ch; }
.h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 500; color: var(--text); line-height: 1.15; }
.h3 strong { font-weight: 500; color: var(--oil); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.glance-figures { margin-bottom: clamp(48px, 6vw, 88px); }
.profile { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.glance { margin: 0; display: grid; border-top: 1px solid var(--line); }
.glance div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.glance dt { font-family: var(--font-mono); font-stretch: 85%; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.glance dd { margin: 0; color: var(--text); }

.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
.process li {
  position: relative; display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 36px);
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.process li::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: var(--grad-oil); opacity: .8; }
.process-n { font-family: var(--font-display); font-stretch: 100%; font-weight: 500; font-size: 2.6rem; line-height: 1; color: var(--oil); letter-spacing: -0.015em; }
.process h3 { font-size: 1.2rem; }
.process p { color: var(--text-2); }

.proof { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(48px, 6vw, 88px); }
.proof-photo { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.proof-photo img { width: 100%; height: 100%; object-fit: cover; }

.packs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.packs li { display: grid; gap: 10px; align-content: start; }
.packs-img {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 10px;
  background: radial-gradient(120% 80% at 50% 100%, rgb(var(--oil-rgb) / 0.12), transparent 60%), var(--bg-3);
}
.packs-img img {
  position: absolute; left: 50%; bottom: 10%; height: calc(var(--h, 100%) * 0.78); width: auto; max-width: 84%; object-fit: contain;
  transform: translateX(-50%); filter: drop-shadow(0 18px 24px rgb(0 0 0 / 0.45));
}
.packs h3 { font-size: 1.2rem; }
.packs p { color: var(--text-2); font-size: 0.95rem; }

@media (max-width: 1000px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .packs { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}
@media (max-width: 860px) {
  .profile, .proof { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .process { grid-template-columns: 1fr; }
  .glance div { grid-template-columns: 1fr; gap: 4px; }
}

/* ==========================================================
   Products dropdown (laptop and desktop)
   ========================================================== */
.site-header { --hdr-bg: rgb(3 100 67); }
:root[data-theme='light'] .site-header { --hdr-bg: rgb(220 242 228); }
.nav-chev { display: inline-block; vertical-align: -2px; margin-left: 2px; transition: transform .2s; }
.nav-drop-panel { display: none; }
@media (min-width: 1241px) {
  .nav-drop > a { display: inline-flex; align-items: center; gap: 2px; }
  .nav-drop-panel {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    visibility: hidden; transition: visibility 0s linear .35s;
  }
  /* two coloured layers drop down, then the panel itself, then the links rise in one by one */
  .drop-pre, .drop-bg {
    position: absolute; inset: 0; transform: scaleY(0); transform-origin: top;
    transition: transform .3s cubic-bezier(.7,0,.25,1);
  }
  .drop-pre { background: #26b673; }
  .drop-pre + .drop-pre { background: #024d34; }
  .drop-bg { background: var(--hdr-bg); border-top: 1px solid var(--line); box-shadow: 0 24px 48px rgb(0 0 0 / 0.35); }
  .nav-drop-panel .drop-grid { position: relative; }
  .nav-drop-panel li, .nav-drop-panel .drop-h, .nav-drop-panel .drop-all { overflow: hidden; }
  .nav-drop-panel .drop-col li > a, .nav-drop-panel .drop-packs li > a, .nav-drop-panel .drop-h, .nav-drop-panel .drop-all {
    opacity: 0; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%;
    transition: transform .2s ease, opacity .15s ease;
  }
  .nav-drop:hover .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel { visibility: visible; transition: visibility 0s; }
  .nav-drop:hover .drop-pre, .nav-drop:focus-within .drop-pre { transform: none; transition-duration: .45s; }
  .nav-drop:hover .drop-pre + .drop-pre, .nav-drop:focus-within .drop-pre + .drop-pre { transition-delay: .06s; }
  .nav-drop:hover .drop-bg, .nav-drop:focus-within .drop-bg { transform: none; transition-duration: .5s; transition-delay: .12s; }
  .nav-drop:hover .nav-drop-panel .drop-h, .nav-drop:focus-within .nav-drop-panel .drop-h,
  .nav-drop:hover .nav-drop-panel .drop-all, .nav-drop:focus-within .nav-drop-panel .drop-all {
    opacity: 1; transform: none; transition: transform .7s cubic-bezier(.2,.8,.2,1) .26s, opacity .4s ease .26s;
  }
  .nav-drop:hover .nav-drop-panel li > a, .nav-drop:focus-within .nav-drop-panel li > a {
    opacity: 1; transform: none;
    transition: transform .7s cubic-bezier(.2,.8,.2,1) calc(.3s + var(--i, 1) * .025s), opacity .4s ease calc(.3s + var(--i, 1) * .025s), color .2s, border-color .2s;
  }
  /* invisible bridge so the pointer can travel from the link down into the panel */
  .nav-drop-panel::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 26px; }
  .nav-drop:hover .nav-chev, .nav-drop:focus-within .nav-chev { transform: rotate(180deg); }
  .drop-grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.1fr; gap: 32px; padding-block: 32px 36px; }
  .drop-col ul, .drop-side ul { list-style: none; margin: 0; padding: 0; }
  .drop-h {
    display: block; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
    font-family: var(--font-mono); font-stretch: 85%; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-3); text-decoration: none;
  }
  a.drop-h:hover { color: var(--text); }
  .nav-links .drop-col a:not(.drop-h) { display: block; padding: 6px 0; font-size: 0.95rem; color: var(--text-2); }
  .nav-links .drop-col a:not(.drop-h)::after { display: none; }
  .nav-links .drop-col a:not(.drop-h):hover { color: var(--text); }
  .drop-side { border-left: 1px solid var(--line); padding-left: 32px; display: grid; align-content: start; gap: 6px; }
  .drop-packs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px !important; }
  .nav-links .drop-packs a { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.85rem; color: var(--text); }
  .nav-links .drop-packs a::after { display: none; }
  .nav-links .drop-packs a:hover { border-color: var(--text); }
  .nav-links .drop-all { justify-self: start; display: inline-flex; color: var(--on-oil); background: var(--oil); padding: 12px 18px; }
  .nav-links .drop-all::after { display: none; }
}
@media (max-width: 1240px) { .nav-chev { display: none; } }
@media (min-width: 1241px) {
  .nav-links a.drop-h { padding: 0 0 10px; white-space: normal; }
  .nav-links a.drop-h::after { display: none; }
}
@media (min-width: 1241px) and (prefers-reduced-motion: reduce) {
  .drop-pre, .drop-bg, .nav-drop-panel li > a, .nav-drop-panel .drop-h, .nav-drop-panel .drop-all { transition-duration: .01s !important; transition-delay: 0s !important; }
}
@media (min-width: 901px) {
  .feature .ft-slides { max-width: min(660px, 50vw); }
  .feature .ft-slide .h2 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); text-wrap: balance; }
}

/* ==========================================================
   Inner-page photo hero: same framed look as the home hero, shorter
   ========================================================== */
.page-hero.ph { padding: clamp(8px, 1vw, 16px) clamp(8px, 1vw, 16px) 0; margin-top: 0; background: var(--bg); border: 0; overflow: visible; }
:root[data-theme='light'] .page-hero.ph { background: var(--bg); }
.ph-frame {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center;
  min-height: clamp(440px, 62svh, 640px); border-radius: clamp(18px, 2vw, 32px); background: #0b0d0e;
  --text: #ffffff; --text-2: rgb(255 255 255 / 0.84); --text-3: rgb(255 255 255 / 0.62);
  --line: rgb(255 255 255 / 0.18); --line-2: rgb(255 255 255 / 0.32); --oil: #45d08f; --bg-3: rgb(255 255 255 / 0.08);
  color: var(--text);
}
.ph-figure { position: absolute; inset: 0; margin: 0; z-index: -1; }
.ph-figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph-figure::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgb(5 7 8 / 0.88) 0%, rgb(5 7 8 / 0.5) 38%, rgb(5 7 8 / 0.1) 70%);
}
.ph-inner { position: relative; padding: clamp(32px, 5vw, 64px) clamp(24px, 4.5vw, 72px); }
.page-hero.ph h1 { color: #fff; max-width: 15ch; font-weight: 600; text-shadow: 0 2px 24px rgb(0 0 0 / 0.3); }
.page-hero.ph h1 strong { color: var(--oil); }
.page-hero.ph p:not(.eyebrow) { color: var(--text-2); }
.page-hero.ph .eyebrow { color: var(--text-2); }
.ph .breadcrumb { margin-bottom: 18px; color: var(--text-3); }
.ph .breadcrumb a { color: var(--text-2); }
.ph-cat .cat-title { color: #fff; font-weight: 600; margin-top: 14px; }
.ph-cat .cat-title-row { flex-direction: column; align-items: flex-start; gap: 22px; }
.ph-cat .search { flex: none; width: min(520px, 100%); }
.ph-cat .cat-title-row { padding: 0; border: 0; }
.ph-frame .search input { background: rgb(255 255 255 / 0.08); color: #fff; backdrop-filter: blur(8px); }
@media (min-width: 901px) {
  .ph-figure { background: radial-gradient(70% 90% at 0% 100%, rgb(38 182 115 / 0.16), transparent 62%), #0b0d0e; }
  .ph-figure img {
    position: absolute; top: 0; right: 0; width: 64%; height: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%); mask-image: linear-gradient(to right, transparent 0%, #000 34%);
  }
  .ph-figure::after { background: linear-gradient(to top, rgb(5 7 8 / 0.5) 0%, transparent 30%); }
  .ph-inner { width: min(700px, 56%); }
}
@media (max-width: 900px) {
  .ph-frame { align-items: end; min-height: 560px; }
  .ph-figure img { object-position: 50% 30% !important; }
  .ph-inner { padding-top: 220px; }
}

/* header spans the full width like the framed hero; logo lines up with the hero copy */
.site-header .bar {
  width: auto; max-width: none; margin-inline: 0;
  padding-inline: calc(clamp(8px, 1vw, 16px) + clamp(16px, 4.5vw, 72px));
}
@media (max-width: 700px) { .site-header .bar { padding-inline: 24px; } }
/* very large screens: let the content column use more of the width */
@media (min-width: 1700px) { :root { --wrap: 1560px; } }
/* desktop: nav links centred in the header (logo left, actions right). The links are centred
   without transforms, and the dropdown is fixed to the viewport so it still spans the full width. */
@media (min-width: 1241px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-links { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; }
  .nav-drop-panel { position: fixed; top: var(--header-h); left: 0; right: 0; }
}
/* smaller laptops: keep the centred links clear of the logo and the actions */
@media (min-width: 1241px) and (max-width: 1479px) {
  .brand-sub { display: none; }
  .nav-links a { padding-inline: 9px; }
  .util li:last-child a { width: 44px; height: 44px; min-height: 0; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .util li:last-child a svg { width: 18px; height: 18px; }
}

/* section 2 (oil and gears): framed like the hero, with a small gap, so the 3D scene sits in a
   rounded panel instead of being cut by a hard line under the hero */
.oil-story { padding-inline: clamp(8px, 1vw, 16px); }
.os-stage {
  top: calc(var(--header-h) + clamp(8px, 1vw, 16px));
  height: calc(100svh - var(--header-h) - 2 * clamp(8px, 1vw, 16px));
  margin-top: clamp(8px, 1vw, 16px);
  border-radius: clamp(18px, 2vw, 32px); isolation: isolate;
}
:root[data-theme='light'] .oil-story { background-color: #f4f5f2; }
.hh-frame, .ph-frame, .os-stage { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07); }
.os-stage::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07); pointer-events: none; z-index: 5; }
