/* ==========================================================================
   LOGOS Marine Supply — Design System v4 "Editorial Maritime"
   Two divisions: Galley · Hydraulic
   ---------------------------------------------------------------------------
   Built on the Vercel Geist design language (light mode):
     · Geist typeface — single family, tabular numerals for figures
     · shadow-as-border cards instead of hard borders
     · 6px control radius / 12px surface radius, 40px controls
     · neutral gray scale on white
   Primary colour: deep maritime navy (was LOGOS yellow — yellow is now kept
   as a brand mark only: logo chip + micro accents). This reads "established
   marine supplier" rather than template-bright.
   Layout: editorial split sections (title left · content right) that use the
   full container width; no marquees, no numbered feature cards.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Primary — maritime navy */
  /* v6 — client brief: "Mainly is bright yellow and black (Follow the logo)."
     Primary is the LOGOS brand yellow; black carries text and inverse marks. */
  --primary: #ffd900;
  --primary-hover: #f0cc00;
  --brand-black: #141414;

  /* Geist neutral ramp */
  --ink-1000: #0a0a0a;
  --ink-950: #0a0a0a;
  --ink-900: #171717;
  --ink-800: #2a2a2a;
  --ink-700: #424242;
  --ink-600: #5f5f5f;
  --steel-500: #7d7d7d;
  --steel-400: #a1a1a1;
  --steel-300: #d4d4d4;
  --steel-200: #ebebeb;
  --steel-100: #f2f2f2;

  /* Surfaces */
  --white: #ffffff;
  --paper: #fafafa;
  --paper-2: #f2f2f2;

  /* Brand yellow — logo marks and micro accents only */
  --yellow: #ffd900;
  --yellow-600: #f0cc00;
  --yellow-700: #b99e00;
  --yellow-100: #fff7cc;

  /* Division accents — small marks only */
  --hyd-bg: #f2f2f2;
  --hyd-ink: #141414;
  --gal-bg: #fff7cc;
  --gal-ink: #6e5c00;

  /* Lines & text */
  --line: #ebebeb;
  --card: #ffffff;
  --muted: #7d7d7d;

  /* Geist shadow-as-border set (light) */
  --sb-1: 0 0 0 1px rgba(0, 0, 0, 0.08);
  --sb-2: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 1px 1px rgba(0, 0, 0, 0.02);
  --sb-3: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 2px rgba(0, 0, 0, 0.03);
  --sb-4: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 2px rgba(0, 0, 0, 0.03), 0 8px 8px -8px rgba(0, 0, 0, 0.06);
  --sb-5: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 2px rgba(0, 0, 0, 0.03), 0 8px 8px -8px rgba(0, 0, 0, 0.06), 0 16px 16px -16px rgba(0, 0, 0, 0.06);

  /* Type — single family: Geist (Vercel), tabular numerals for figures */
  --font-display: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h3: clamp(1.3rem, 1.15rem + 0.8vw, 1.7rem);
  --fs-h2: clamp(1.8rem, 1.35rem + 1.9vw, 2.75rem);
  --fs-h1: clamp(2.3rem, 1.6rem + 3vw, 3.65rem);
  --fs-display: clamp(2.6rem, 1.7rem + 4.4vw, 4.8rem);

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-8: 3rem;
  --sp-10: 4rem;
  --sp-12: 5.5rem;
  --sp-14: 7rem;

  /* Radius — Geist control/surface radii */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-full: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 150ms;
  --t-base: 280ms;
  --t-slow: 640ms;

  /* Layout */
  --container: 88rem;
  --header-h: 4.5rem;

  /* Light blueprint grid */
  --grid-light:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1.5rem); }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-1000);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

:focus-visible { outline: 2px solid var(--ink-1000); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--primary); color: var(--ink-1000); }

.container { width: min(var(--container), 100% - 2.75rem); margin-inline: auto; }

section { padding-block: var(--sp-12); }
.section-pt-0 { padding-top: 0; }
.section-muted { background: var(--paper); }
.section-paper { background: var(--paper-2); }

/* ---------- Micro type helpers ---------- */
/* v4.1 anti-template pass: the dash + spaced-caps "eyebrow" labels (and their
   decorative rules) read as generated-template styling and were removed.
   Section headings now carry the hierarchy on their own. */

.section-title { font-size: var(--fs-h2); font-weight: 600; }

.section-lead {
  margin-top: var(--sp-4);
  max-width: 40rem;
  color: var(--ink-600);
  font-size: var(--fs-lg);
  line-height: 1.6;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}

/* Accent words — solid navy, no background box */
.hl {
  background: linear-gradient(180deg, transparent 58%, var(--yellow) 58%);
  color: var(--ink-1000);
  padding: 0 0.08em;
}

/* ---------- Buttons (Geist geometry: 40px, 6px radius, w500) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding-inline: 1rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.btn .arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--primary); color: var(--ink-1000); }
.btn-primary:hover { background: var(--primary-hover); }

.btn-secondary {
  background: var(--white);
  color: var(--ink-1000);
  box-shadow: var(--sb-2);
}
.btn-secondary:hover { background: var(--paper-2); box-shadow: var(--sb-3); }

.btn-ghost {
  background: transparent;
  color: var(--ink-600);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--paper-2); color: var(--ink-1000); }

.btn-outline {
  background: var(--white);
  color: var(--ink-1000);
  box-shadow: var(--sb-2);
}

/* On an inverse surface (the photographic hero and the near-black bands) a
   white-on-white button disappears, so the secondary becomes a hairline outline
   and the label flips to white. This is the inverse of the same component, not a
   second button. */
.btn-inverse {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}
.btn-inverse:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}
.btn-outline:hover { background: var(--paper-2); box-shadow: var(--sb-3); }

.btn-sm { height: 2rem; padding-inline: 0.8rem; font-size: 0.8rem; }
.btn-lg { height: 3rem; padding-inline: 1.4rem; font-size: var(--fs-base); }

.btn-wa {
  background: var(--white);
  color: var(--ink-1000);
  box-shadow: var(--sb-2);
}
.btn-wa svg { width: 1.05rem; height: 1.05rem; color: #1faa53; }
.btn-wa:hover { background: var(--paper-2); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--white);
  color: var(--steel-500);
  font-size: 0.78rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
}
.topbar-contacts { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  transition: color var(--t-fast) var(--ease);
}
.topbar-link svg { width: 0.85rem; height: 0.85rem; opacity: 0.6; }
.topbar-link:hover { color: var(--ink-1000); }
.topbar-tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-1000);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-base) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.12); }
.site-header .container {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.brand { display: flex; align-items: center; gap: 0.7rem; font-weight: 700; }
.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-md);
  background: var(--yellow);
  display: grid;
  place-items: center;
  color: var(--ink-1000);
  flex: none;
}
.brand-mark svg { width: 1.3rem; height: 1.3rem; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}
.brand-sub {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--steel-500);
  text-transform: uppercase;
  margin-top: 0.28rem;
}

.nav { display: flex; align-items: center; gap: var(--sp-5); }
.nav a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-600);
  padding-block: var(--sp-2);
  position: relative;
  transition: color var(--t-fast) var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--primary);
  transition: right var(--t-base) var(--ease);
}
.nav a:hover { color: var(--ink-1000); }
.nav a:hover::after { right: 0; }
.nav a.is-active { color: var(--ink-1000); }
.nav a.is-active::after { right: 0; }

.header-cta { display: flex; align-items: center; gap: var(--sp-3); }

/* Header enquiry shortcut with count badge — FP header pattern */
.header-enq {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-600);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.header-enq:hover { background: var(--paper-2); color: var(--ink-1000); }
.header-enq svg { width: 1.15rem; height: 1.15rem; }
.header-enq .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  display: none;
  place-items: center;
  min-width: 1.05rem;
  height: 1.05rem;
  padding-inline: 0.2rem;
  border-radius: var(--r-full);
  background: var(--ink-1000);
  color: var(--yellow);
  font-size: 0.62rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.header-enq .badge.is-on { display: grid; }

/* Footer back-to-top — FP footer control */
.back-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--steel-500);
  cursor: pointer;
}
.back-top:hover { color: var(--ink-1000); }
.back-top .up { font-size: 0.8rem; }

.nav-toggle { display: none; background: none; border: none; padding: var(--sp-2); }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: var(--r-full);
  background: var(--ink-1000);
  margin-block: 5px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast);
}

/* ---------- Hero (home) — light ---------- */
.hero {
  position: relative;
  background: var(--white);
  overflow: hidden;
  padding-block: var(--sp-12) 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grid-light);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 0%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 0%, #000 0%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -18rem;
  right: -14rem;
  width: 48rem;
  height: 48rem;
  background: radial-gradient(circle, rgba(255, 217, 0, 0.20), transparent 62%);
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 1; max-width: 54rem; }

.hero h1 {
  font-size: var(--fs-display);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.hero-lead {
  margin-top: var(--sp-5);
  max-width: 40rem;
  font-size: var(--fs-lg);
  color: var(--ink-600);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.hero-note {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--steel-500);
  margin-top: var(--sp-5);
}

/* ---------- Doors (two divisions) — light cards ---------- */
.doors {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  margin-top: var(--sp-10);
}

.door {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: var(--sb-3);
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.door:hover { box-shadow: var(--sb-5); transform: translateY(-4px); }

.door-bg { position: relative; height: 13rem; overflow: hidden; background: var(--paper); }
.door-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.door:hover .door-bg img { transform: scale(1.03); }

/* Hydraulic door — light blueprint */
.door-hydraulic .door-bg {
  background-image: var(--grid-light);
  background-size: 30px 30px;
}
.door-schem { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }
.door-schem * { vector-effect: non-scaling-stroke; }

.door-body { position: relative; padding: var(--sp-6); }
.door-body h3 { font-size: var(--fs-h3); font-weight: 600; }
.door-body p { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--ink-600); max-width: 30rem; }
.door-points { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-top: var(--sp-4); }
.door-points li {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--steel-500);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.door-points li::before { content: ""; width: 4px; height: 4px; background: var(--steel-400); border-radius: 50%; }

.door-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-1000);
}
.door-link .arrow { transition: transform var(--t-fast) var(--ease); color: var(--primary); }
.door:hover .door-link .arrow { transform: translateX(4px); }

/* ---------- Hero stats strip (light) ---------- */
.hero-stats {
  position: relative;
  z-index: 1;
  margin-top: var(--sp-10);
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  padding-block: var(--sp-6);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--ink-1000);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-500);
}

/* ---------- Page hero (inner pages) — light ---------- */
.page-hero {
  position: relative;
  background: var(--paper);
  overflow: hidden;
  padding-block: var(--sp-10);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grid-light);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--fs-h1); font-weight: 650; max-width: 46rem; }
.page-hero .lead {
  margin-top: var(--sp-4);
  max-width: 44rem;
  color: var(--ink-600);
  font-size: var(--fs-lg);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--sp-8);
  align-items: end;
}
.page-hero-aside {
  border-left: 2px solid var(--primary);
  padding-left: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--ink-600);
}
.page-hero-aside a { color: var(--ink-1000) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 1.5em;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: #777;
}
.breadcrumb a:hover { color: var(--ink-1000); }
.breadcrumb .sep { display:inline-flex;align-items:center;justify-content:center;flex:none;width:.58em;height:.8334em }
.breadcrumb .sep svg { display:block; width:100%; height:100% }
.breadcrumb .here { color: #111; font-weight: 700; }

/* ---------- Section: two-focus split ---------- */
.focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }

.focus-card {
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--sb-2);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.focus-card:hover { box-shadow: var(--sb-4); transform: translateY(-3px); }
.focus-head { display: flex; align-items: center; gap: var(--sp-4); }
.focus-icon {
  width: 3rem; height: 3rem;
  border-radius: var(--r-md);
  background: var(--paper-2);
  color: var(--ink-1000);
  display: grid; place-items: center;
  flex: none;
}
.focus-icon svg { width: 1.5rem; height: 1.5rem; }
.focus-head h3 { font-size: var(--fs-xl); font-weight: 600; }
.focus-list { display: grid; gap: 0.55rem; }
.focus-list li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-600); }
.focus-list .tick {
  flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--steel-200);
  color: var(--ink-1000);
  display: grid; place-items: center;
  font-size: 0.6rem; font-weight: 700;
}

/* ---------- Product cards (light, shadow-as-border) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--sb-2);
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.product-card:hover { box-shadow: var(--sb-4); transform: translateY(-3px); }

.pc-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem;
}
.pc-media img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--t-slow) var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.03); }

.pc-tile { display: grid; place-items: center; background-image: var(--grid-light); background-size: 26px 26px; }
.pc-tile .pc-icon { color: var(--ink-1000); opacity: 0.85; transition: transform var(--t-base) var(--ease); }
.pc-tile .pc-icon svg { width: 4.4rem; height: 4.4rem; }
.product-card:hover .pc-tile .pc-icon { transform: scale(1.05); }

.pc-sku-chip {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-1000);
  background: var(--white);
  box-shadow: var(--sb-1);
  padding: 0.24rem 0.55rem;
  border-radius: var(--r-sm);
  font-variant-numeric: tabular-nums;
}

.pc-body { display: flex; flex: 1; flex-direction: column; padding: 1.35rem; }
.pc-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--paper-2);
  color: var(--ink-600);
  padding: 0.26rem 0.6rem;
  border-radius: var(--r-full);
}
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; }
.pill-galley::before { background: var(--yellow-700); }
.pill-hydraulic::before { background: var(--ink-1000); }

.pc-category {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-500);
}

.pc-name {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.35;
  min-height: 2.7em;
}

.pc-specs { margin-top: 0.95rem; display: grid; gap: 0.42rem; font-size: var(--fs-sm); }
.pc-spec-row { display: flex; align-items: baseline; gap: 0.5rem; }
.pc-spec-row dt { color: var(--steel-500); white-space: nowrap; }
.spec-leader { flex: 1; border-bottom: 1px dotted var(--steel-300); transform: translateY(-3px); }
.pc-spec-row dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

.pc-footer { margin-top: auto; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.pc-note {
  margin-bottom: 0.8rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--steel-500);
  display: flex; align-items: center; gap: 0.45rem;
}
.pc-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow-700); }

.pc-actions { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0.5rem; }
.pc-btn {
  display: inline-flex;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  padding-inline: 0.8rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.pc-btn-brand { background: var(--primary); color: var(--ink-1000); }
.pc-btn-brand:hover { background: var(--primary-hover); }
.pc-btn-outline { background: var(--white); color: var(--ink-1000); box-shadow: var(--sb-1); }
.pc-btn-outline:hover { background: var(--paper-2); box-shadow: var(--sb-2); }
.pc-btn.is-added { background: var(--yellow-600); color: var(--ink-1000); }

/* ---------- Featured carousel — FP pattern ----------
   Four cards per view, edge arrows, horizontal snap; swipe on mobile. */
.feat-carousel { position: relative; }
.feat-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--sp-5)) / 4);
  gap: var(--sp-5);
  overflow-x: auto;
  /* No CSS snap + no CSS smooth here: mandatory snap fights programmatic
     scrollBy in Chromium (every call snaps back to the first card), and the
     arrows already page by an exact viewport width so cards stay aligned. */
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 0.25rem;
  margin: -0.25rem;
}
.feat-track::-webkit-scrollbar { display: none; }
.feat-track > .product-card { height: 100%; }
.feat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink-1000);
  box-shadow: var(--sb-4);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}
.feat-arrow:hover { background: var(--yellow); }
.feat-arrow.prev { left: -1rem; }
.feat-arrow.next { right: -1rem; }
@media (max-width: 900px) {
  .feat-track { grid-auto-columns: 85%; }
  .feat-arrow { display: none; }
}

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }

.cat-card {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--sb-2);
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.cat-card:hover { box-shadow: var(--sb-4); transform: translateY(-4px); }

.cat-media { position: relative; overflow: hidden; }
.cat-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.cat-card:hover .cat-media img { transform: scale(1.04); }

.cat-num {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: var(--white);
  color: var(--ink-1000);
  box-shadow: var(--sb-1);
  padding: 0.28rem 0.6rem;
  border-radius: var(--r-sm);
  font-variant-numeric: tabular-nums;
}

.cat-body { padding: var(--sp-5); }
.cat-body h3 { font-size: var(--fs-lg); font-weight: 600; }
.cat-body p { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--ink-600); }
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.cat-link .arrow { transition: transform var(--t-fast) var(--ease); }
.cat-card:hover .cat-link .arrow { transform: translateX(4px); }

.cat-card.is-tile .cat-media.tile {
  background: var(--paper);
  background-image: var(--grid-light);
  background-size: 26px 26px;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}
.cat-card.is-tile .tile-icon {
  color: var(--ink-1000);
  opacity: 0.85;
  transition: transform var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.cat-card.is-tile .tile-icon svg { width: 4.6rem; height: 4.6rem; }
.cat-card.is-tile:hover .tile-icon { transform: scale(1.06); color: var(--ink-1000); }

/* ---------- Catalogue toolbar (Geist card) ---------- */
.toolbar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--sb-2);
  margin-bottom: var(--sp-6);
}
.toolbar-row { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }

.search { position: relative; flex: 1; min-width: 15rem; }
.search svg {
  position: absolute;
  left: 0.9rem; top: 50%;
  transform: translateY(-50%);
  width: 1rem; height: 1rem;
  color: var(--steel-400);
  pointer-events: none;
}
.search input {
  width: 100%;
  height: 2.5rem;
  padding: 0 1rem 0 2.5rem;
  border: none;
  border-radius: var(--r-sm);
  background: var(--white);
  box-shadow: var(--sb-1);
  transition: box-shadow var(--t-fast) var(--ease);
}
.search input::placeholder { color: var(--steel-400); }
.search input:focus {
  outline: none;
  box-shadow: 0 0 0 1px var(--ink-1000), 0 0 0 4px rgba(255, 217, 0, 0.4);
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  height: 2rem;
  padding-inline: 0.85rem;
  border-radius: var(--r-full);
  border: none;
  background: var(--white);
  box-shadow: var(--sb-1);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-600);
  transition: all var(--t-fast) var(--ease);
}
.chip:hover { color: var(--ink-1000); box-shadow: var(--sb-2); }
.chip.is-active { background: var(--primary); color: var(--ink-1000); box-shadow: none; }

.toolbar-count {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-500);
  font-variant-numeric: tabular-nums;
}

/* Division tabs — Geist segmented control */
.tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: var(--r-md);
  background: var(--paper-2);
}
.tab {
  border: none;
  background: transparent;
  border-radius: var(--r-sm);
  height: 2rem;
  padding-inline: 1rem;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-600);
  transition: all var(--t-fast) var(--ease);
}
.tab:hover { color: var(--ink-1000); }
.tab.is-active { background: var(--white); color: var(--ink-1000); box-shadow: var(--sb-2); }

/* Empty state */
.empty-state {
  border: 1px dashed var(--steel-300);
  border-radius: var(--r-lg);
  padding: var(--sp-10) var(--sp-6);
  text-align: center;
  background: var(--paper);
}
.empty-state h3 { font-size: var(--fs-lg); font-weight: 600; }
.empty-state p { margin-top: var(--sp-2); color: var(--ink-600); font-size: var(--fs-sm); }
.empty-state .btn { margin-top: var(--sp-5); }

/* ---------- Brand strip (populated when client supplies logos) ---------- */
.brand-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: var(--sp-4);
}
.brand-tile {
  display: grid;
  place-items: center;
  min-height: 5rem;
  padding: var(--sp-4);
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--sb-1);
  transition: box-shadow var(--t-fast) var(--ease);
}
.brand-tile:hover { box-shadow: var(--sb-3); }
.brand-tile img { max-height: 2.6rem; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: all var(--t-fast) var(--ease); }
.brand-tile:hover img { filter: none; opacity: 1; }
.brand-tile span { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-600); }

.brand-fallback {
  border: 1px dashed var(--steel-300);
  border-radius: var(--r-lg);
  background: var(--white);
  padding: var(--sp-6);
  text-align: center;
  color: var(--ink-600);
  font-size: var(--fs-sm);
}
.brand-fallback b { color: var(--ink-1000); font-weight: 600; }

/* ---------- How it works — editorial split ---------- */
.how-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--sp-14);
  align-items: start;
}
.how-steps { display: grid; }
.how-step {
  padding-block: var(--sp-5);
  border-top: 1px solid var(--line);
}
.how-step:last-child { border-bottom: 1px solid var(--line); }
.how-step h3 { font-size: var(--fs-lg); font-weight: 600; }
.how-step p { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--ink-600); max-width: 40rem; }

/* ---------- Why (light) — editorial split ---------- */
.why { background: var(--paper); border-block: 1px solid var(--line); }
.why-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--sp-14);
  align-items: start;
}
.why-rows { display: grid; }
.why-row {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: var(--sp-5);
  padding-block: var(--sp-6);
  border-top: 1px solid var(--line);
}
.why-row:last-child { border-bottom: 1px solid var(--line); }
.why-row h3 { font-size: var(--fs-lg); font-weight: 600; }
.why-row p { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--ink-600); max-width: 42rem; }

.why-icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--r-full);
  background: var(--paper-2);
  color: var(--ink-1000);
  display: grid; place-items: center;
  margin: 0;
  flex: none;
}
.why-icon svg { width: 1.3rem; height: 1.3rem; }

/* ---------- About / split ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--sb-5);
}
.about-chip {
  position: absolute;
  bottom: -1.1rem;
  left: 1.4rem;
  background: var(--white);
  color: var(--ink-1000);
  border-left: 4px solid var(--primary);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  box-shadow: var(--sb-5);
  max-width: 16rem;
}
.about-chip b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--ink-1000);
}
.about-chip span { font-size: 0.72rem; color: var(--ink-600); }

.about-list { margin-top: var(--sp-5); display: grid; gap: var(--sp-3); }
.about-list li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-600); }
.about-list .tick {
  flex: none;
  width: 1.35rem; height: 1.35rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  background: var(--steel-200);
  color: var(--ink-1000);
  display: grid; place-items: center;
  font-size: 0.62rem; font-weight: 700;
}

/* ---------- Gallery ---------- */
.gallery { padding-block: 0 var(--sp-12); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.gallery-grid figure { position: relative; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--sb-2); }
.gallery-grid img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.03); }
.gallery-grid figcaption {
  position: absolute;
  left: 0.9rem; bottom: 0.9rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--ink-1000);
  box-shadow: var(--sb-2);
  padding: 0.3rem 0.65rem;
  border-radius: var(--r-sm);
}

/* ---------- CTA band — light Geist panel ---------- */
.cta-band { padding-block: var(--sp-10); }
.cta-panel {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink-1000);
  border-radius: var(--r-xl);
  box-shadow: var(--sb-4);
  padding: var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grid-light);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 100% at 85% 50%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 85% 50%, #000 0%, transparent 70%);
  pointer-events: none;
}
.cta-panel > * { position: relative; }
.cta-panel h2 { font-size: var(--fs-h2); font-weight: 650; letter-spacing: -0.02em; max-width: 36rem; line-height: 1.12; }
.cta-panel p { margin-top: var(--sp-3); color: var(--ink-600); max-width: 34rem; }
.cta-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-8); }
.contact-info { display: grid; gap: var(--sp-4); align-content: start; }
.contact-item {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--sb-2);
  transition: box-shadow var(--t-base) var(--ease);
}
.contact-item:hover { box-shadow: var(--sb-4); }
.contact-item .why-icon { margin: 0; flex: none; width: 2.5rem; height: 2.5rem; }
.contact-item h4 { font-size: var(--fs-sm); font-weight: 600; }
.contact-item p, .contact-item a { font-size: var(--fs-sm); color: var(--ink-600); }
.contact-item a:hover { color: var(--ink-1000); }

.contact-form {
  background: var(--paper);
  border-radius: var(--r-xl);
  box-shadow: var(--sb-2);
  padding: var(--sp-6);
  display: grid;
  gap: var(--sp-4);
}
.contact-form h3 { font-size: var(--fs-xl); font-weight: 600; }
.contact-form .sub { font-size: var(--fs-sm); color: var(--ink-600); margin-top: -0.6rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-600);
}
.field input, .field textarea, .field select {
  height: 2.5rem;
  padding: 0 1rem;
  border: none;
  border-radius: var(--r-sm);
  background: var(--white);
  box-shadow: var(--sb-1);
  transition: box-shadow var(--t-fast) var(--ease);
}
.field textarea { height: auto; padding: 0.7rem 1rem; }
/* A select is a field too: same box, same focus ring, and its own chevron so the
   native control never shows through (the pattern `.sortby select` already uses). */
.field select {
  padding-right: 2.5rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d7d7d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.9rem center / 14px;
  font: inherit;
  color: var(--ink-1000);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  box-shadow: 0 0 0 1px var(--ink-1000), 0 0 0 4px rgba(255, 217, 0, 0.4);
}
.form-note { font-size: var(--fs-xs); color: var(--steel-500); }
.form-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; align-items: center; }

.attach-note {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--hyd-ink);
  background: var(--hyd-bg);
  border-radius: var(--r-sm);
  padding: 0.55rem 0.8rem;
}
.attach-note.is-on { display: flex; }
.attach-note svg { width: 1rem; height: 1rem; flex: none; color: var(--ink-1000); }

/* ---------- Part-number matcher — light panel ---------- */
.pn-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-14);
  align-items: center;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--sb-4);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
}
.pn-panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grid-light);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 60% 90% at 20% 50%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 20% 50%, #000 0%, transparent 70%);
  pointer-events: none;
}
.pn-panel > * { position: relative; }
.pn-copy h3 { font-size: var(--fs-h3); font-weight: 600; }
.pn-copy p { margin-top: var(--sp-3); color: var(--ink-600); font-size: var(--fs-sm); }
.pn-copy ul { margin-top: var(--sp-4); display: grid; gap: 0.5rem; }
.pn-copy li { font-size: 0.75rem; font-weight: 500; color: var(--ink-600); display: flex; gap: 0.55rem; align-items: center; }
.pn-copy li::before { content: ""; width: 4px; height: 4px; background: var(--steel-400); border-radius: 50%; }

.pn-form {
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--sb-1);
  padding: var(--sp-5);
  display: grid;
  gap: var(--sp-4);
}
.pn-form textarea {
  font-size: 0.85rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

/* ---------- Enquiry list — FAB + drawer ---------- */
.enq-fab {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 2.9rem;
  padding-inline: 1.2rem;
  border: none;
  border-radius: var(--r-full);
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  box-shadow: var(--sb-4), 0 8px 20px -8px rgba(0, 0, 0, 0.25);
  transform: translateY(150%);
  opacity: 0;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease), background var(--t-fast) var(--ease);
}
.enq-fab.is-on { transform: translateY(0); opacity: 1; }
.enq-fab:hover { background: var(--primary-hover); }
.enq-fab { color: var(--ink-1000); }
.enq-fab svg { width: 1.1rem; height: 1.1rem; }
.enq-fab .count {
  display: grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding-inline: 0.3rem;
  border-radius: var(--r-full);
  background: var(--ink-1000);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease);
}
.drawer-scrim.is-open { opacity: 1; pointer-events: auto; }

.enquiry-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 100;
  width: min(26rem, 100%);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform var(--t-base) var(--ease);
  box-shadow: -12px 0 40px -12px rgba(0, 0, 0, 0.2);
}
.enquiry-drawer.is-open { transform: translateX(0); }

.ed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-bottom: 1px solid var(--line);
}
.ed-head h3 { font-size: var(--fs-lg); font-weight: 600; }
.ed-close {
  border: none;
  background: var(--white);
  border-radius: var(--r-sm);
  box-shadow: var(--sb-1);
  width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center;
  transition: all var(--t-fast) var(--ease);
}
.ed-close:hover { background: var(--paper-2); box-shadow: var(--sb-2); }
.ed-close svg { width: 1rem; height: 1rem; }

.ed-list { flex: 1; overflow-y: auto; padding: var(--sp-5); display: grid; gap: var(--sp-3); align-content: start; }

.ed-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-2) var(--sp-4);
  border-radius: var(--r-md);
  box-shadow: var(--sb-2);
  padding: var(--sp-4);
  background: var(--card);
}
.ed-item .sku { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; color: var(--steel-500); font-variant-numeric: tabular-nums; }
.ed-item .name { font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; line-height: 1.35; margin-top: 0.15rem; }
.ed-qty { display: inline-flex; align-items: center; gap: 0.5rem; align-self: start; }
.qty-btn {
  width: 1.75rem; height: 1.75rem;
  border: none;
  border-radius: var(--r-sm);
  background: var(--white);
  box-shadow: var(--sb-1);
  display: grid; place-items: center;
  font-weight: 600;
  transition: all var(--t-fast) var(--ease);
}
.qty-btn:hover { background: var(--paper-2); box-shadow: var(--sb-2); }
.qty-val { font-size: var(--fs-sm); font-weight: 600; min-width: 1.4rem; text-align: center; font-variant-numeric: tabular-nums; }
.ed-remove {
  grid-column: 1 / -1;
  justify-self: start;
  border: none; background: none;
  font-size: 0.72rem;
  color: var(--steel-500);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}
.ed-remove:hover { color: #c0392b; }

.ed-empty { text-align: center; padding: var(--sp-8) var(--sp-4); color: var(--steel-500); }
.ed-empty svg { width: 2.6rem; height: 2.6rem; margin-inline: auto; opacity: 0.35; }
.ed-empty p { margin-top: var(--sp-3); font-size: var(--fs-sm); }

.ed-note { padding: var(--sp-4) var(--sp-5) 0; }
.ed-note label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-600);
  display: block;
  margin-bottom: 0.45rem;
}
.ed-note textarea {
  width: 100%;
  border: none;
  border-radius: var(--r-sm);
  box-shadow: var(--sb-1);
  padding: 0.7rem 0.9rem;
  resize: vertical;
  min-height: 4.2rem;
  font-size: var(--fs-sm);
}
.ed-note textarea:focus { outline: none; box-shadow: 0 0 0 1px var(--ink-1000), 0 0 0 4px rgba(255, 217, 0, 0.4); }

.ed-actions {
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
  display: grid;
  gap: var(--sp-3);
  border-top: 1px solid var(--line);
}
.ed-actions .btn { width: 100%; }
.ed-note-line { font-size: 0.7rem; color: var(--steel-500); text-align: center; }

/* ---------- Toast (light) ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  transform: translate(-50%, 200%);
  z-index: 110;
  background: var(--white);
  color: var(--ink-1000);
  border-left: 3px solid var(--primary);
  border-radius: var(--r-md);
  box-shadow: var(--sb-4), 0 12px 32px -12px rgba(0, 0, 0, 0.24);
  padding: 0.85rem 1.2rem;
  font-size: var(--fs-sm);
  transition: transform var(--t-base) var(--ease);
  max-width: min(30rem, calc(100% - 2rem));
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast b { font-weight: 600; }

/* ---------- Footer (light) ---------- */
.site-footer {
  background: var(--paper);
  color: var(--ink-600);
  border-top: 1px solid var(--steel-200);
  padding-top: var(--sp-10);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-8);
}
.site-footer .brand-name { color: var(--ink-1000); }
.site-footer .brand-mark { background: var(--yellow); color: var(--ink-1000); }
.site-footer .brand-sub { color: var(--steel-500); }
.footer-blurb { margin-top: var(--sp-4); font-size: var(--fs-sm); max-width: 22rem; line-height: 1.7; }
.footer-mini {
  margin-top: var(--sp-4);
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-600);
}
.footer-mini a:hover { color: var(--ink-1000); }

.footer-col h4 {
  color: var(--ink-1000);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer-col h4 .dot { color: var(--yellow-700); }
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a, .footer-col li { font-size: var(--fs-sm); }
.footer-col a { transition: color var(--t-fast) var(--ease); }
.footer-col a:hover { color: var(--ink-1000); }

.footer-bottom {
  border-top: 1px solid var(--steel-200);
  padding-block: var(--sp-5);
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--steel-500);
}

/* The maker names as words, kept in the footer so they never compete with the
   logo above each tile. Plain text on purpose: a search engine — and a person
   scanning the page — can find each manufacturer by name without a second,
   typed label sitting under every logo. */
.brand-names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.6rem;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--steel-200);
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--ink-600);
}
.brand-names h2 {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-500);
  margin: 0 0.35rem 0 0;
}
.brand-names span { font-weight: 500; color: var(--ink-900); }
.brand-names .sep { color: var(--steel-400); }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .doors { grid-template-columns: 1fr; }
  .door-bg { height: 10rem; }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5) var(--sp-4); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .focus-grid { grid-template-columns: 1fr; }
  .how-split, .why-split { grid-template-columns: 1fr; gap: var(--sp-6); }
  .gallery-grid { grid-template-columns: 1fr; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .page-hero-grid { grid-template-columns: 1fr; align-items: start; }
  .pn-panel { grid-template-columns: 1fr; padding: var(--sp-6); }
  .topbar .hide-sm { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: var(--sp-4) var(--sp-5) var(--sp-5);
    box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.16);
    transform: translateY(-130%);
    transition: transform var(--t-base) var(--ease);
    z-index: 40;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding-block: var(--sp-3); border-bottom: 1px solid var(--line); font-size: var(--fs-base); }
  .nav-toggle { display: block; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .header-cta .btn { height: 2.2rem; padding-inline: 0.75rem; }
}

@media (max-width: 560px) {
  section { padding-block: var(--sp-10); }
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; }
  .topbar-tag { display: none; }
  .cta-panel { padding: var(--sp-6); }
  .pc-actions { grid-template-columns: 1fr 1fr; }
  .header-cta .btn { display: none; }
}

/* ---------- Tabular numerals on figure-heavy slots ---------- */
.qty-val, .ed-item .sku, .pc-spec-row dd, .stat b, .about-chip b,
.pc-sku-chip, .cat-num, .toolbar-count { font-variant-numeric: tabular-nums; }

/* ---------- Button icons — fixed size (fixes oversized inline SVGs) ---------- */
.btn svg { width: 1rem; height: 1rem; flex: none; }

/* ---------- Product detail dialog ----------
   Mirrors the fluidpower.com.sg product page layout:
   title + part-number table with a quantity column per row, "Add to enquiry"
   per row, spec table, related products. Our styling stays Geist/navy. */
.pd-scrim {
  position: fixed;
  inset: 0;
  z-index: 104;
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease);
}
.pd-scrim.is-open { opacity: 1; pointer-events: auto; }

.pd-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 18px));
  z-index: 105;
  width: min(46rem, calc(100% - 2rem));
  max-height: min(88vh, 54rem);
  display: none;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--sb-5), 0 32px 64px -24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.pd-dialog.is-open {
  display: flex;
  opacity: 1;
  transform: translate(-50%, -50%);
}

.pd-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--line);
}
.pd-head .crumb {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--steel-500);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.pd-head .crumb a:hover { color: var(--ink-1000); }
.pd-head h3 { font-size: var(--fs-xl); font-weight: 600; margin-top: 0.35rem; }
.pd-head .pd-sku { margin-top: 0.3rem; font-size: 0.78rem; color: var(--steel-500); font-variant-numeric: tabular-nums; }

.pd-body { flex: 1; min-height: 0; overflow-y: auto; padding: var(--sp-6); display: grid; gap: var(--sp-6); }

/* Product top — mirrors the FP product page: media left, title block right */
.pd-top { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: var(--sp-6); align-items: start; }
.pd-top-info h3 { font-size: var(--fs-h3); font-weight: 600; }
.pd-top-links { display: grid; gap: 0.6rem; margin-top: var(--sp-5); }
.pd-top-links button, .pd-top-links a {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink-600);
  background: none; border: none; padding: 0; text-align: left;
  font-family: var(--font-display);
}
.pd-top-links button:hover, .pd-top-links a:hover { color: var(--ink-1000); }
.pd-top-links svg { width: 1rem; height: 1rem; flex: none; }
@media (max-width: 640px) { .pd-top { grid-template-columns: 1fr; } }

/* Order table — FP shape: Part Number | Quantity. One Add button for the page. */
.pd-add-row { display: flex; align-items: center; gap: var(--sp-4); margin-top: var(--sp-4); flex-wrap: wrap; }
.pd-add-row .pd-hint { font-size: 0.75rem; color: var(--steel-500); }
.pd-table input.qty-input {
  width: 100%;
  height: 2.2rem;
  padding: 0 0.5rem;
  text-align: center;
  border: none;
  border-radius: 6px;
  box-shadow: var(--sb-1);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-sm);
  background: var(--white);
}
.pd-table input.qty-input:focus {
  outline: none;
  box-shadow: 0 0 0 1px var(--ink-1000), 0 0 0 4px rgba(255, 217, 0, 0.4);
}

/* Related — FP shape: centred title + 4 cards (image / category / NAME) */
.pd-related { text-align: center; }
.pd-related h4 { text-align: center; font-size: var(--fs-lg); font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ink-1000); margin-bottom: var(--sp-5); }
.pd-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.pd-rel-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  cursor: pointer;
  text-align: center;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  overflow: hidden;
}
.pd-rel-card:hover { border-color: var(--steel-400); box-shadow: var(--sb-3); transform: translateY(-2px); }
.pd-rel-thumb {
  width: 100%;
  height: 7.5rem;
  display: grid;
  place-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  border-radius: 0;
}
.pd-rel-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 0.6rem; }
.pd-rel-thumb svg { width: 2.4rem; height: 2.4rem; color: var(--ink-1000); opacity: 0.8; }
.pd-rel-card .cat { font-size: 0.7rem; color: var(--steel-500); margin-top: 0.7rem; padding-inline: 0.5rem; }
.pd-rel-card .t { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; padding: 0.15rem 0.5rem 0.75rem; line-height: 1.3; }

/* Part-number table — the Fluid Power layout centrepiece */
.pd-table { width: 100%; border-collapse: collapse; }
.pd-table th {
  text-align: left;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-500);
  padding: 0 0 0.6rem;
  border-bottom: 1px solid var(--line);
}
.pd-table th:last-child, .pd-table td:last-child { text-align: right; }
.pd-table td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
  vertical-align: middle;
}
.pd-table .pn {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.pd-table .pd-actions-cell { white-space: nowrap; }
.pd-table .pc-btn { height: 2.1rem; font-size: 0.78rem; padding-inline: 0.9rem; }

.pd-media {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  padding: var(--sp-5);
  display: grid;
  place-items: center;
  min-height: 9rem;
  max-height: 12rem;
  overflow: hidden;
}
.pd-media img { max-height: 9.5rem; object-fit: contain; }
.pd-media .pc-icon svg { width: 5rem; height: 5rem; }
.pd-media .pc-icon { color: var(--ink-1000); opacity: 0.85; }

.pd-note { font-size: 0.75rem; color: var(--steel-500); }

.pd-related h4 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel-500);
  margin-bottom: var(--sp-3);
}
.pd-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.pd-rel-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.pd-rel-card:hover { border-color: var(--steel-400); box-shadow: var(--sb-2); }
.pd-rel-thumb {
  width: 2.6rem; height: 2.6rem;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pd-rel-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 0.2rem; }
.pd-rel-thumb svg { width: 1.4rem; height: 1.4rem; }
.pd-rel-card .t { font-size: 0.8rem; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.pd-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--line);
  background: var(--paper);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  flex-wrap: wrap;
}
.pd-foot .back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-600);
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-display);
}
.pd-foot .back:hover { color: var(--ink-1000); }

@media (max-width: 640px) {
  .pd-related-grid { grid-template-columns: 1fr 1fr; }
  .pd-dialog { width: calc(100% - 1rem); max-height: 92vh; }
}

/* ---------- Scrollbars — reverse-engineered from vercel.com ----------
   Measured: 8px lane, 4px-radius mid-gray thumb, thin Firefox width. */
html { scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0.2) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.3); }
::-webkit-scrollbar-corner { background: transparent; }

/* ---------- Catalogue: e-commerce layout (filter rail + grid) ----------
   Rail geometry measured 1:1 from the Vercel project sidebar:
   255px rail · 36px rows · 14px/400 labels · 6px radius · 16px icons ·
   group label 14px/500 · count right-aligned. Light-theme greys from Geist. */
.catalog-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: var(--sp-10);
  align-items: start;
}
.catalog-rail {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  display: grid;
  gap: var(--sp-6);
}
.rail-group h4 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--steel-500);
  margin: 0 0 var(--sp-2) 10px;
}
.rail-list { display: grid; gap: 1px; }
.rail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-600);
  text-align: left;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.rail-item .ico {
  width: 16px; height: 16px;
  flex: none;
  color: var(--steel-400);
  display: grid;
  place-items: center;
}
.rail-item .ico svg { width: 16px; height: 16px; }
.rail-item .lbl { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-item .n {
  font-size: 13px;
  font-weight: 400;
  color: var(--steel-400);
  font-variant-numeric: tabular-nums;
  flex: none;
}
.rail-item:hover { background: var(--paper-2); color: var(--ink-1000); }
.rail-item:hover .ico { color: var(--ink-600); }
.rail-item.is-active { background: var(--gal-bg); color: var(--ink-1000); }
.rail-item.is-active .ico { color: var(--ink-1000); }
.rail-item.is-active .n { color: var(--ink-600); }

.sortby { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 14px; color: var(--ink-600); }
.sortby span { font-weight: 400; }
.sortby select {
  height: 36px;
  padding: 0 2rem 0 0.8rem;
  border: none;
  border-radius: 6px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d7d7d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.6rem center / 14px;
  box-shadow: var(--sb-1);
  font: inherit;
  font-size: 14px;
  color: var(--ink-1000);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.sortby select:focus { outline: none; box-shadow: 0 0 0 1px var(--ink-1000), 0 0 0 4px rgba(255, 217, 0, 0.4); }

.catalog-more { display: grid; place-items: center; margin-top: var(--sp-8); }
.catalog-more .btn { min-width: 14rem; }

/* Chips + tabs are the mobile filter surface; desktop uses the rail */
@media (min-width: 901px) {
  .chips { display: none; }
  #divTabs { display: none; }
}
@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-rail { display: none; }
}

/* ============================================================================
 * CLIENT PAGE COMPONENTS
 *
 * The three client-supplied pages (home, hydraulic manufacturers, galley &
 * laundry) use layouts the rest of the site does not: a full-bleed photographic
 * hero, a dark division band, split feature rows, a logo-tile strip and stacked
 * brand profiles. Each piece below is built ONLY from the tokens above — no new
 * colours, type sizes, radii or shadows — so these pages stay in step with the
 * rest of the site. Anything the site already owns (.container, .btn,
 * .section-head, .cat-card, .brand-strip, .contact-form, .field, .site-footer,
 * .toolbar, .search, .empty-state) is used as-is, not restated here.
 * ========================================================================== */

    /* Full-bleed photographic hero, as in the client's layout. */
    .phero { position: relative; overflow: hidden; background: var(--ink-1000); color: #fff; }
    .phero-media { position: absolute; inset: 0; }
    .phero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
    .phero-media::after {
      content: ""; position: absolute; inset: 0;
      background: linear-gradient(90deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.82) 42%, rgba(10,10,10,.35) 100%);
    }
    .phero-art { position: absolute; right: 4%; bottom: 6%; width: min(42rem, 46vw); opacity: .22; pointer-events: none; }
    .phero-inner { position: relative; z-index: 1; padding-block: var(--sp-14) var(--sp-12); }
    .phero .eyebrow {
      display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em;
      text-transform: uppercase; color: var(--primary);
    }
    .phero h1 { font-size: var(--fs-display); font-weight: 650; letter-spacing: -0.03em; line-height: 1.05; margin-top: var(--sp-4); max-width: 46rem; }
    .phero .lead { margin-top: var(--sp-5); max-width: 40rem; font-size: var(--fs-lg); color: rgba(255,255,255,.82); }
    .phero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
    .phero-rule { height: 4px; background: linear-gradient(90deg, var(--primary) 0 42%, rgba(255,255,255,.5) 42% 50%, transparent 50%); }
    .phero-tag {
      position: absolute; right: 0; bottom: var(--sp-5); z-index: 1;
      font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.62);
    }
    @media (max-width: 820px) {
      .phero-inner { padding-block: var(--sp-10) var(--sp-8); }
      .phero-art { display: none; }
      .phero-tag { display: none; }
    }

    /* Four-up rows use the site's card component on a 4-column track. */
    .cat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
    @media (max-width: 1100px) { .cat-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 720px) { .cat-grid.cols-4 { grid-template-columns: 1fr; } }

    /* Dark band (hydraulic division), same vocabulary as the rest of the site. */
    .band-dark { background: var(--ink-1000); color: #fff; }
    .band-dark .section-title { color: #fff; }
    .band-dark .section-lead { color: rgba(255,255,255,.72); }
    .band-dark .eyebrow, .band-dark .pill { color: var(--primary); }
    .feature {
      position: relative; overflow: hidden; border-radius: var(--r-xl);
      min-height: 22rem; padding: var(--sp-6); display: flex; flex-direction: column; justify-content: flex-end;
      box-shadow: var(--sb-4);
    }
    .feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
    .feature > * { position: relative; }
    .feature h3 { font-size: var(--fs-h3); font-weight: 600; color: #fff; }
    .feature p { margin-top: var(--sp-3); color: rgba(255,255,255,.8); font-size: var(--fs-sm); max-width: 26rem; }
    .links-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
    .links-grid a, .links-grid span {
      display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
      padding: var(--sp-3) var(--sp-4); background: var(--card); border-radius: var(--r-sm);
      box-shadow: var(--sb-1); font-size: var(--fs-sm); font-weight: 500; color: var(--ink-1000);
      transition: box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
    }
    .links-grid a:hover, .links-grid span:hover { box-shadow: var(--sb-3); transform: translateY(-1px); }
    .links-grid i { font-style: normal; color: var(--yellow-700); font-weight: 600; }
    @media (max-width: 720px) { .links-grid { grid-template-columns: 1fr; } }

    .split-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: var(--sp-10); align-items: center; }
    .split-row.reverse > .split-media { order: 0; }
    .split-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sb-4); }
    .split-media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
    .photo-trio { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); margin-top: var(--sp-3); }
    .photo-trio img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-lg); display: block; }
    @media (max-width: 900px) { .split-row { grid-template-columns: 1fr; gap: var(--sp-6); } }

    /* Logo tiles: the mark carries the brand. */
    .brand-strip.logo-tiles { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
    .brand-strip.logo-tiles .brand-tile { min-height: 7.25rem; padding: var(--sp-4); }
    /* The site greys brand tiles out until hover; these tiles ARE the logo, so show them in colour. */
    .brand-strip.logo-tiles .brand-tile img {
      max-height: 3.2rem; max-width: 100%; filter: none; opacity: 1;
    }
    .brand-strip.logo-tiles .brand-tile:hover img { filter: none; opacity: 1; }
    .brand-strip.logo-tiles .brand-tile[hidden] { display: none; }
    .brand-strip.logo-tiles .brand-tile:focus-visible {
      outline: none; box-shadow: 0 0 0 2px var(--ink-1000), 0 0 0 5px rgba(255, 217, 0, .45);
    }

    /* Manufacturer profiles. */
    .profiles { display: grid; gap: var(--sp-4); margin-top: var(--sp-6); }
    .profile {
      display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 1fr); gap: var(--sp-6);
      padding: var(--sp-5); background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sb-2);
      scroll-margin-top: calc(var(--header-h) + var(--sp-5));
    }
    .profile[hidden] { display: none; }
    .profile-kicker { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow-700); }
    .profile h3 { font-size: var(--fs-h3); font-weight: 600; margin-top: var(--sp-2); }
    .profile p { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--ink-600); line-height: 1.7; }
    .profile-note { margin-top: var(--sp-3); padding: var(--sp-3) var(--sp-4); background: var(--yellow-100); border-radius: var(--r-sm); font-size: var(--fs-xs); color: var(--yellow-700); }
    .profile-side-title { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-500); }
    .profile-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
    .profile-tag { font-size: var(--fs-xs); font-weight: 500; color: var(--ink-700); background: var(--paper-2); border-radius: var(--r-sm); padding: 0.4rem 0.65rem; }
    .profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin-top: var(--sp-5); }
    .profile-link { font-size: var(--fs-sm); font-weight: 500; color: var(--ink-600); text-decoration: underline; text-underline-offset: 3px; }
    .profile-link:hover { color: var(--ink-1000); }
    @media (max-width: 900px) { .profile { grid-template-columns: 1fr; gap: var(--sp-5); } }

    /* Category strip under the header (galley page). */
    .catstrip { position: sticky; top: var(--header-h); z-index: 40; background: var(--ink-1000); }
    .catstrip-inner { display: flex; gap: var(--sp-2); overflow-x: auto; scrollbar-width: none; }
    .catstrip-inner::-webkit-scrollbar { display: none; }
    .catstrip .tab {
      height: 3.1rem; padding-inline: var(--sp-4); border: none; background: transparent;
      border-radius: 0; font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 600;
      color: rgba(255,255,255,.72); white-space: nowrap; box-shadow: inset 0 -3px 0 transparent;
    }
    .catstrip .tab:hover { color: #fff; }
    .catstrip .tab.is-active { color: var(--primary); background: transparent; box-shadow: inset 0 -3px 0 var(--primary); }
    .substrip { background: var(--card); border-bottom: 1px solid var(--line); }
    .substrip-inner { display: flex; align-items: center; gap: var(--sp-2); min-height: 3rem; overflow-x: auto; scrollbar-width: none; }
    .substrip-inner::-webkit-scrollbar { display: none; }
    .substrip .chip { height: 1.9rem; }

    /* Equipment / spare-parts selector. */
    .modecards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
    .modecard {
      display: flex; align-items: flex-start; gap: var(--sp-3); text-align: left;
      padding: var(--sp-4); border: none; border-radius: var(--r-lg); background: var(--card);
      box-shadow: var(--sb-2); transition: box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
    }
    .modecard:hover { box-shadow: var(--sb-4); transform: translateY(-2px); }
    .modecard.is-active { box-shadow: 0 0 0 2px var(--ink-1000), var(--sb-4); }
    .modecard .icon { width: 2.4rem; height: 2.4rem; border-radius: var(--r-sm); background: var(--paper-2); display: grid; place-items: center; flex: none; }
    .modecard.is-active .icon { background: var(--primary); }
    .modecard strong { display: block; font-size: var(--fs-sm); font-weight: 600; }
    .modecard small { display: block; margin-top: 0.2rem; font-size: var(--fs-xs); color: var(--ink-600); }
    @media (max-width: 640px) { .modecards { grid-template-columns: 1fr; } }

    .note-line { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--ink-600); }

    /* Buttons that behave like links must not look like default buttons. */
    button.brand-tile {
      font: inherit; cursor: pointer; text-align: center; width: 100%;
      border: 0; border-radius: var(--r-md); appearance: none;
    }
    button.brand-tile:focus-visible {
      outline: none; box-shadow: 0 0 0 2px var(--ink-1000), 0 0 0 5px rgba(255, 217, 0, .45);
    }
    button.profile-link, button.btn-as-link {
      border: 0; background: none; padding: 0; font: inherit;
      color: var(--ink-600); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
    }
    button.profile-link:hover, button.btn-as-link:hover { color: var(--ink-1000); }
