/* ==========================================================================
   Eagle Star Equipment — site stylesheet
   Design tokens lifted verbatim from the approved homepage design.
   ========================================================================== */

:root {
  --bg:            oklch(0.985 0.004 90);
  --bg-alt:        oklch(0.96 0.005 90);
  --surface:       oklch(0.99 0.01 90);
  --surface-2:     oklch(0.99 0.005 90);
  --border:        oklch(0.9 0.005 90);
  --border-strong: oklch(0.85 0.005 90);

  --ink:           oklch(0.24 0.01 90);
  --ink-strong:    oklch(0.2 0.01 90);
  --ink-heading:   oklch(0.22 0.01 90);
  --ink-body:      oklch(0.42 0.01 90);
  --ink-muted:     oklch(0.5 0.01 90);
  --ink-soft:      oklch(0.55 0.01 90);

  --accent:        oklch(0.42 0.13 240);
  --accent-hover:  oklch(0.32 0.15 240);
  --accent-tint:   oklch(0.93 0.03 240);
  --accent-wash:   oklch(0.95 0.01 240);

  --deep:          oklch(0.32 0.11 240);
  --deep-hover:    oklch(0.26 0.12 240);
  --deep-card:     oklch(0.38 0.11 240);
  --on-deep:       oklch(0.98 0.01 90);
  --on-deep-body:  oklch(0.85 0.02 240);
  --on-deep-label: oklch(0.8 0.05 240);
  --on-deep-dim:   oklch(0.75 0.05 240);

  --shadow-card:   0 12px 32px oklch(0.2 0.02 240 / 0.1);
  --shadow-menu:   0 16px 40px oklch(0.2 0.02 240 / 0.14);
  --shadow-btn:    0 8px 20px oklch(0.2 0.02 240 / 0.12);

  --wrap: 1240px;
  --font-head: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink-strong);
  letter-spacing: -0.01em;
  margin: 0;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* --------------------------------------------------------------- header -- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.99 0.003 90 / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.header-logo img { height: 42px; width: auto; display: block; flex-shrink: 0; }

/* Logo lockup: hi-res eagle mark + live text, so it stays sharp at any size. */
.brand-lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-lockup img { height: 50px; width: auto; display: block; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; white-space: nowrap; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: 0.01em; text-transform: uppercase; color: oklch(0.27 0.09 265); }
.brand-word { display: inline-flex; flex-direction: column; align-items: stretch; }
/* One flex item per letter, spread edge to edge, so EQUIPMENT is exactly as wide as EAGLE STAR. */
.brand-sub { display: flex; justify-content: space-between; font-family: var(--font-head); font-weight: 500; font-size: 14px; text-transform: uppercase; color: oklch(0.27 0.09 265); margin-top: 3px; }
.brand-sub i { font-style: normal; }
.brand-tag { font-size: 9.5px; font-weight: 600; letter-spacing: 0.03em; color: var(--ink-muted); margin-top: 5px; }
.footer-lockup { margin-bottom: 16px; justify-content: flex-start; }
.footer-lockup img { height: 44px; }
@media (max-width: 560px) {
  .brand-lockup { gap: 8px; }
  .brand-lockup img { height: 42px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 12px; }
  .brand-tag { font-size: 8.5px; margin-top: 4px; }
}

.nav { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; white-space: nowrap; }
.nav > a,
.nav .dropdown > a {
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.nav .dropdown > a { display: flex; align-items: center; gap: 5px; }
.nav .caret { font-size: 10px; color: var(--ink-soft); }
.nav a[aria-current="page"] { color: var(--accent); }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 10px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.15s ease;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; }
/* -- steam ------------------------------------------------------------- */
/* Vapour rising behind an open dropdown. The panel is opaque, so the wisps
   only read where they escape past its top and side edges — which is what
   keeps it subtle rather than theatrical. Transform/opacity only, and only
   while the menu is open, so nothing animates at rest. */

/* The box sits ABOVE the panel and overlaps its top edge by ~30px, so wisps
   are born hidden behind the panel and rise out into the header. Anchoring
   to the panel's top (not the menu's full height) is what makes them
   visible — the panel is opaque and would otherwise cover them entirely. */
/* The wisps are blurred and translucent, so a plain `overflow: hidden` box
   cuts them with a visible straight edge. Each layer is masked with a soft
   gradient instead, so the plume fades to nothing before it reaches the
   boundary and no seam is ever drawn. */
.steam {
  position: absolute; pointer-events: none; z-index: 0; overflow: hidden;
}

/* plume off the top edge */
.steam-top {
  left: -60px; right: -60px;
  bottom: calc(100% - 42px);
  height: 148px;
  -webkit-mask-image:
    linear-gradient(to top, #000 0%, #000 58%, transparent 96%),
    linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to top, #000 0%, #000 58%, transparent 96%),
    linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-composite: intersect;
}

/* thinner seepage up each side seam; the inner half of the box overlaps the
   panel so wisps are born hidden and drift out into the open */
.steam-side { top: 22px; bottom: 14px; width: 96px; }
.steam-left  { left: -64px; }
.steam-right { right: -64px; }

.steam-left {
  -webkit-mask-image:
    linear-gradient(to top, transparent 0%, #000 14%, #000 66%, transparent 98%),
    linear-gradient(to left, #000 0%, #000 34%, transparent 92%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to top, transparent 0%, #000 14%, #000 66%, transparent 98%),
    linear-gradient(to left, #000 0%, #000 34%, transparent 92%);
  mask-composite: intersect;
}
.steam-right {
  -webkit-mask-image:
    linear-gradient(to top, transparent 0%, #000 14%, #000 66%, transparent 98%),
    linear-gradient(to right, #000 0%, #000 34%, transparent 92%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to top, transparent 0%, #000 14%, #000 66%, transparent 98%),
    linear-gradient(to right, #000 0%, #000 34%, transparent 92%);
  mask-composite: intersect;
}

.steam i {
  position: absolute;
  left: var(--x); bottom: 0;
  width: 84px; height: 84px; margin-left: -42px;
  border-radius: 50%;
  /* Near-neutral grey with only a trace of cool in it. Real vapour is not
     blue — the chroma just needs to be high enough to separate from the
     warm cream background, and no higher. */
  background: radial-gradient(circle at 50% 55%,
              oklch(0.81 0.016 236 / 0.72) 0%,
              oklch(0.86 0.012 236 / 0.34) 46%,
              transparent 73%);
  filter: blur(11px);
  opacity: 0;
  will-change: transform, opacity;
}

/* side wisps sit part-way up the seam and are smaller and dimmer than the
   top plume, so the top stays the focal point */
.steam-side i {
  left: 50%; bottom: var(--y);
  width: 62px; height: 62px; margin-left: -31px;
  filter: blur(9px);
}

.dropdown:hover .steam-top i,
.dropdown:focus-within .steam-top i {
  animation: steamRise 4.2s ease-out var(--d) infinite;
}
.dropdown:hover .steam-side i,
.dropdown:focus-within .steam-side i {
  animation: steamSeep 5s ease-out var(--d) infinite;
}

@keyframes steamRise {
  0%   { transform: translate3d(0, 22px, 0) scale(calc(var(--s) * 0.5)); opacity: 0; }
  20%  { opacity: 0.9; }
  58%  { opacity: 0.55; }
  100% { transform: translate3d(var(--dx), -104px, 0) scale(calc(var(--s) * 1.9)); opacity: 0; }
}

@keyframes steamSeep {
  0%   { transform: translate3d(0, 16px, 0) scale(calc(var(--s) * 0.45)); opacity: 0; }
  24%  { opacity: 0.6; }
  62%  { opacity: 0.34; }
  100% { transform: translate3d(var(--dx), -74px, 0) scale(calc(var(--s) * 1.7)); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .dropdown:hover .steam i,
  .dropdown:focus-within .steam i { animation: none; }
}

.dropdown-panel {
  position: relative; z-index: 1;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-menu);
  padding: 10px; min-width: 220px; display: flex; flex-direction: column; gap: 1px;
  max-height: min(70vh, 620px); overflow-y: auto;
}
.dropdown-panel a {
  font-size: 14px; font-weight: 500; color: oklch(0.3 0.01 90);
  padding: 9px 14px; border-radius: 8px;
}
.dropdown-panel a:hover { background: var(--accent-wash); color: var(--accent-hover); }
.dropdown-panel .menu-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted); padding: 8px 14px 6px;
}
.dropdown-panel .menu-all { font-size: 13.5px; font-weight: 600; color: var(--accent); padding: 9px 14px; }
.dropdown-panel.cols { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px 12px; }
.dropdown-panel.cols .menu-label { grid-column: 1 / -1; }

/* live search inside a dropdown (Equipment) */
.dropdown-panel .menu-search {
  grid-column: 1 / -1; position: sticky; top: 0; z-index: 2;
  background: var(--surface-2); padding: 4px 6px 8px;
}
.dropdown-panel .menu-search .ms-box { position: relative; display: block; }
.dropdown-panel .menu-search svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; fill: none; stroke: var(--ink-muted);
  stroke-width: 2; stroke-linecap: round; pointer-events: none;
}
.dropdown-panel .menu-search .ms-input {
  width: 100%; box-sizing: border-box; padding: 9px 12px 9px 34px; font-size: 13.5px;
  font-family: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px; -webkit-appearance: none; appearance: none;
}
.dropdown-panel .menu-search .ms-input:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash);
}
.dropdown-panel .menu-noresults {
  grid-column: 1 / -1; padding: 8px 14px 4px; font-size: 13px; color: var(--ink-muted);
}

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { font-size: 14px; font-weight: 600; color: var(--ink); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border-strong);
  border-radius: 8px; padding: 8px 11px; cursor: pointer; font-size: 16px; color: var(--ink);
}

/* -------------------------------------------------------------- buttons -- */

.btn {
  display: inline-block; padding: 15px 28px; border-radius: 9px;
  font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary { background: var(--deep); color: var(--on-deep); }
.btn-primary:hover { background: var(--deep-hover); color: var(--on-deep); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: oklch(0.7 0.01 90); color: var(--ink); }
.btn-sm { padding: 9px 16px; border-radius: 8px; font-size: 13.5px; white-space: nowrap; }
.btn-header { background: var(--accent); color: oklch(0.99 0.01 90); }
.btn-header:hover { background: oklch(0.35 0.14 240); color: oklch(0.99 0.01 90); }

/* --------------------------------------------------------------- eyebrow -- */

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.eyebrow-on-deep { color: var(--on-deep-label); }

.section-head { max-width: 620px; margin: 0 0 44px; }
.section-head h2 { font-weight: 800; font-size: 34px; }

/* ---------------------------------------------------------- page banner -- */

.page-banner { border-bottom: 1px solid var(--border); background: var(--surface); }
.page-banner .wrap { padding-top: 26px; padding-bottom: 26px; }
.page-banner h1 {
  font-weight: 800; font-size: 36px; line-height: 1.12; letter-spacing: -0.02em;
  margin: 0; max-width: 820px; text-wrap: pretty;
}
.page-banner .lede {
  font-size: 16.5px; line-height: 1.6; color: var(--ink-body);
  max-width: 680px; margin: 10px 0 0; text-wrap: pretty;
}

.breadcrumb { font-size: 13px; color: var(--ink-muted); margin-bottom: 8px; }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 7px; color: var(--border-strong); }

/* ----------------------------------------------------------- page layout -- */

.page-body { padding-top: 36px; padding-bottom: 80px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }

.prose { font-size: 16px; line-height: 1.72; color: var(--ink-body); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 26px; font-weight: 800; color: var(--ink-strong); margin: 44px 0 14px; }
.prose h3 { font-size: 19px; font-weight: 700; color: var(--ink-heading); margin: 32px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose img { border-radius: 14px; border: 1px solid var(--border); display: block; margin: 26px 0; }
.prose strong { color: var(--ink-heading); font-weight: 600; }

/* ------------------------------------------------------------ downloads -- */

.download-list { display: flex; flex-direction: column; gap: 12px; margin: 28px 0; }
.download {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; color: var(--ink);
}
.download:hover { border-color: var(--accent); color: var(--ink); }
.download .doc-icon {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  background: var(--accent-tint); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
}
.download .doc-name { font-size: 14.5px; font-weight: 600; color: var(--ink-heading); }
.download .doc-meta { font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }
.download .doc-go { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--accent); }

/* ------------------------------------------------------------ accordion -- */
/* Native <details> so every word stays in the HTML source for crawlers —
   collapsed for readability, never hidden from indexing. */

.accordion { margin: 0 0 8px; border-top: 1px solid var(--border); }

.acc-item { border-bottom: 1px solid var(--border); }

.acc-item > summary {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 4px; cursor: pointer; list-style: none;
  transition: color 0.15s ease;
}
.acc-item > summary::-webkit-details-marker { display: none; }
.acc-item > summary:hover { color: var(--accent); }
.acc-item > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.acc-item > summary h3 {
  font-family: var(--font-head); font-size: 17.5px; font-weight: 700;
  color: var(--ink-heading); margin: 0; flex: 1; line-height: 1.35;
}
.acc-item > summary:hover h3 { color: var(--accent); }
.acc-item[open] > summary h3 { color: var(--accent); }

/* -- washing machine toggle -------------------------------------------- */
/* The drum turns slowly on hover, then runs a short spin cycle that eases
   to a stop when the section opens. Nothing loops forever — with several
   sections expanded, perpetual motion would read as noise, not craft. */

/* No tile behind the machine — the glyph sits directly on the page. */
.wm-wrap {
  flex-shrink: 0; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}
.wm { width: 30px; height: 30px; display: block; overflow: visible; }

.wm-body {
  stroke: var(--ink-muted); stroke-width: 1.5;
  transition: stroke 0.18s ease;
}
.wm-panel, .wm-dial {
  stroke: var(--ink-muted); stroke-width: 1.3; stroke-linecap: round;
  transition: stroke 0.18s ease;
}
.wm-led {
  fill: var(--ink-muted); opacity: 0.55;
  transition: fill 0.18s ease, opacity 0.18s ease;
}
.wm-door {
  stroke: var(--ink-muted); stroke-width: 1.4;
  transition: stroke 0.18s ease;
}
.wm-drum-ring {
  stroke: var(--ink-muted); stroke-width: 1.2; opacity: 0.75;
  transition: stroke 0.18s ease;
}
.wm-paddle {
  stroke: var(--ink-muted); stroke-width: 1.5; stroke-linecap: round;
  transition: stroke 0.18s ease;
}

.wm-drum { transform-origin: 16px 19.4px; }

/* hover on a closed row — slow idle turn */
.acc-item:not([open]) > summary:hover .wm-drum {
  animation: wmIdle 3s linear infinite;
}
.acc-item > summary:hover .wm-body,
.acc-item > summary:hover .wm-door,
.acc-item > summary:hover .wm-paddle,
.acc-item > summary:hover .wm-drum-ring,
.acc-item > summary:hover .wm-panel,
.acc-item > summary:hover .wm-dial { stroke: var(--accent); }
.acc-item > summary:hover .wm-led { fill: var(--accent); opacity: 1; }

/* opening — three turns spinning down to rest */
.acc-item[open] .wm-drum { animation: wmCycle 1.5s cubic-bezier(0.16, 0.75, 0.2, 1) both; }
.acc-item[open] .wm { animation: wmShake 1.5s ease-out both; }

.acc-item[open] .wm-door,
.acc-item[open] .wm-drum-ring,
.acc-item[open] .wm-paddle { stroke: var(--accent); }
.acc-item[open] .wm-body,
.acc-item[open] .wm-panel,
.acc-item[open] .wm-dial { stroke: var(--accent); }
.acc-item[open] .wm-led { fill: var(--accent); opacity: 1; animation: wmBlink 1.5s ease-out both; }

@keyframes wmIdle  { to { transform: rotate(360deg); } }
@keyframes wmCycle { from { transform: rotate(0deg); } to { transform: rotate(1080deg); } }

/* the barely-there vibration of a drum coming up to speed */
@keyframes wmShake {
  0%, 100% { transform: translate(0, 0); }
  8%   { transform: translate(0.6px, -0.4px); }
  18%  { transform: translate(-0.5px, 0.4px); }
  30%  { transform: translate(0.45px, 0.3px); }
  44%  { transform: translate(-0.35px, -0.3px); }
  60%  { transform: translate(0.25px, 0.2px); }
  76%  { transform: translate(-0.15px, 0.1px); }
}
@keyframes wmBlink {
  0%, 22%, 46% { opacity: 1; }
  12%, 34%     { opacity: 0.25; }
  100%         { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .acc-item:not([open]) > summary:hover .wm-drum,
  .acc-item[open] .wm-drum,
  .acc-item[open] .wm,
  .acc-item[open] .wm-led { animation: none; }
}

.acc-body { padding: 0 42px 22px 4px; }
.acc-body > *:first-child { margin-top: 0; }
.acc-body > *:last-child { margin-bottom: 0; }
.acc-body p { margin: 0 0 16px; }
.acc-body h4 { font-size: 15.5px; font-weight: 700; color: var(--ink-heading); margin: 22px 0 8px; }

.acc-item[open] > .acc-body { animation: accReveal 0.22s ease; }
@keyframes accReveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .acc-item[open] > .acc-body { animation: none; }
  .wm-wrap { transition: none; }
}

/* Quick-jump equipment strip that sits above the deep content */
.equip-strip {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px 24px; margin: 0 0 40px;
}
.equip-strip .equip-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 14px;
}
.equip-strip .equip-links { display: flex; gap: 10px; flex-wrap: wrap; }
.equip-strip .equip-links a {
  font-size: 14px; font-weight: 600; color: var(--ink);
  border: 1px solid var(--border-strong); border-radius: 8px; padding: 10px 16px;
}
.equip-strip .equip-links a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-wash); }

@media print {
  .acc-body { display: block !important; }
  .wm-wrap { display: none; }
}

@media (max-width: 720px) {
  .acc-body { padding-right: 4px; }
}

/* --------------------------------------------------------------- aside -- */

.aside-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; margin-bottom: 20px;
}
.aside-card h3 { font-size: 15px; font-weight: 700; color: var(--ink-heading); margin: 0 0 14px; }
.aside-links { display: flex; flex-direction: column; gap: 2px; }
.aside-links a {
  font-size: 14px; color: oklch(0.35 0.01 90); padding: 8px 10px;
  border-radius: 8px; line-height: 1.4;
}
.aside-links a:hover { background: var(--accent-wash); color: var(--accent-hover); }
.aside-links a[aria-current="page"] { background: var(--accent-wash); color: var(--accent); font-weight: 600; }

.aside-cta { background: var(--deep); border-radius: 16px; padding: 26px; }
.aside-cta h3 { font-family: var(--font-head); font-size: 19px; font-weight: 800; color: var(--on-deep); margin: 0 0 8px; }
.aside-cta p { font-size: 14px; line-height: 1.6; color: var(--on-deep-body); margin: 0 0 18px; }
.aside-cta .btn { display: block; text-align: center; padding: 13px 20px; font-size: 14.5px; background: var(--surface); color: var(--deep); }
.aside-cta .btn:hover { background: oklch(0.94 0.01 90); color: var(--deep); }
.aside-cta .phone { display: block; margin-top: 14px; text-align: center; font-size: 14px; font-weight: 600; color: var(--on-deep); }

/* ---------------------------------------------------------- card grids -- */

.card-grid { display: grid; gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-6 { grid-template-columns: repeat(6, 1fr); gap: 16px; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 12px;
}
.card h3 { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin: 0; }
.card p { font-size: 14px; line-height: 1.55; color: var(--ink-body); margin: 0; flex: 1; }
.card .card-link { font-size: 13.5px; font-weight: 600; }
.card.accent-top { border-top-width: 4px; border-top-style: solid; }

a.card { color: var(--ink); }
a.card:hover { border-color: var(--accent); color: var(--ink); }

.tile {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ink);
}
.tile:hover { border-color: var(--accent); color: var(--ink); }
.tile img { height: 48px; width: 100%; object-fit: contain; }
.tile .tile-name { text-align: center; font-size: 13.5px; font-weight: 600; color: oklch(0.35 0.01 90); }
.tile .tile-mark {
  height: 48px; width: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--accent);
  letter-spacing: -0.01em;
}

/* ------------------------------------------------- equipment index/matrix -- */

/* type cards — each equipment family gets its own tone and custom glyph */
.type-card {
  border-top: 4px solid var(--tone);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.type-card h3 { color: var(--tone); }
.type-card .card-link { color: var(--tone); }
.type-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--tone) 22%, transparent);
  border-color: var(--tone);
}

.type-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 4px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--tone) 13%, transparent);
  transition: background 0.18s ease, transform 0.25s ease;
}
.type-icon svg {
  width: 30px; height: 30px;
  stroke: var(--tone); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.type-card:hover .type-icon {
  background: color-mix(in srgb, var(--tone) 22%, transparent);
  transform: scale(1.06) rotate(-3deg);
}

/* category groups */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cat-group {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px 26px 26px;
  border-left: 4px solid var(--tone);
}
.cat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.cat-group h3 { font-size: 16px; font-weight: 700; color: var(--tone); margin: 0; }
.cat-count {
  font-size: 11.5px; font-weight: 700; line-height: 1;
  color: var(--tone); background: color-mix(in srgb, var(--tone) 14%, transparent);
  border-radius: 999px; padding: 5px 9px;
}
.cat-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-links a {
  font-size: 13.5px; font-weight: 500; color: oklch(0.35 0.01 90);
  border: 1px solid var(--border); border-radius: 7px; padding: 7px 12px;
  background: var(--bg); transition: all 0.15s ease;
}
.cat-links a:hover {
  border-color: var(--tone); color: var(--tone);
  background: color-mix(in srgb, var(--tone) 10%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .type-card, .type-icon { transition: none; }
  .type-card:hover { transform: none; }
  .type-card:hover .type-icon { transform: none; }
}

/* equipment-type cross reference */
.matrix {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.matrix-head {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 20px;
  padding: 14px 24px; background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-muted);
}
.matrix-row {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 20px;
  padding: 15px 24px; border-bottom: 1px solid var(--border);
  align-items: center;
}
.matrix-row:last-child { border-bottom: none; }
.matrix-row:hover { background: var(--accent-wash); }
.matrix-cat { font-size: 14.5px; font-weight: 600; color: var(--ink-heading); }
.matrix-cat a { color: var(--ink-heading); }
.matrix-cat a:hover { color: var(--accent); }
.matrix-brands { display: flex; flex-wrap: wrap; gap: 7px; }
.matrix-brands a {
  font-size: 13px; font-weight: 500; color: var(--accent);
  background: var(--accent-wash); border: 1px solid transparent;
  border-radius: 6px; padding: 5px 10px;
}
.matrix-brands a:hover { border-color: var(--accent); background: var(--accent-tint); }

/* ------------------------------------------------------------- pre-owned -- */

.stock-title { font-family: var(--font-head); font-size: 24px; font-weight: 800; margin: 40px 0 16px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.stock-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.stock-table th {
  text-align: left; padding: 14px 20px; background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-muted);
}
.stock-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.stock-table tr:last-child td { border-bottom: none; }
.stock-table tbody tr:hover { background: var(--accent-wash); }
.stock-name { font-weight: 600; color: var(--ink-heading); }
.stock-model { color: var(--ink-muted); font-size: 13.5px; }
.stock-price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.stock-qty { color: var(--ink-muted); text-align: center; }
.stock-note { font-size: 13.5px; line-height: 1.6; color: var(--ink-muted); margin: 18px 0 0; }

/* Visually hidden, still read by screen readers — the photo column's header
   has no visible label but the column still needs a name. */
.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;
}

/* Photo column. Items without a photo keep the column's width so the table
   never jitters as the client fills images in one at a time. */
.stock-photo-h { width: 84px; }
.stock-table td.stock-photo { padding: 8px 0 8px 20px; width: 84px; }

.stock-photo .ig-open {
  width: 64px; height: 48px; padding: 0; border-radius: 7px;
  border: 1px solid var(--border); background: oklch(1 0 0);
  overflow: hidden; cursor: zoom-in; line-height: 0; display: block;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.stock-photo .ig-open img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  margin: 0; border: none; border-radius: 0;
}
.stock-photo .ig-open:hover { border-color: var(--accent); box-shadow: var(--shadow-card); }
.stock-photo .ig-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.stock-nophoto {
  display: block; width: 64px; height: 48px; border-radius: 7px;
  border: 1px dashed var(--border); background: var(--bg-alt);
}

@media (max-width: 560px) {
  .stock-photo-h, .stock-table td.stock-photo { width: 60px; }
  .stock-photo .ig-open, .stock-nophoto { width: 48px; height: 38px; }
}

/* ----------------------------------------------------------------- parts -- */

.parts-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 26px 28px; margin-top: 8px;
}
.parts-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: 16px;
}
.parts-list {
  list-style: none; margin: 0; padding: 0;
  columns: 2; column-gap: 32px;
}
.parts-list li {
  font-size: 14.5px; color: oklch(0.32 0.01 90); padding: 6px 0 6px 18px;
  position: relative; break-inside: avoid;
}
.parts-list li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.parts-note { font-size: 13.5px; line-height: 1.6; color: var(--ink-muted); margin: 18px 0 0; }

@media (max-width: 980px) {
  .cat-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .matrix-head { display: none; }
  .matrix-row { grid-template-columns: 1fr; gap: 10px; padding: 16px 18px; }
  .parts-list { columns: 1; }
}

/* ------------------------------------------------------------- contact -- */

.contact-panel {
  background: var(--deep); border-radius: 24px; padding: 56px;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px;
}
.contact-panel h2 { font-weight: 800; font-size: 30px; margin: 0 0 14px; color: var(--on-deep); }
.contact-panel > div > p { font-size: 15.5px; line-height: 1.6; color: var(--on-deep-body); margin: 0 0 32px; }
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-details .label {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--on-deep-dim); margin-bottom: 4px;
}
.contact-details .value { font-size: 15px; color: oklch(0.97 0.01 90); line-height: 1.5; }
.contact-details .value a { color: oklch(0.97 0.01 90); }
.contact-details .value a:hover { color: var(--on-deep); text-decoration: underline; }

.contact-form {
  background: var(--surface); border-radius: 16px; padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: oklch(0.35 0.01 90); margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--border-strong);
  font-size: 14px; font-family: var(--font-body); background: oklch(1 0 0); color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.field-row { display: grid; gap: 14px; }
.field-row.two { grid-template-columns: 1fr 1fr; }
.field-row.three { grid-template-columns: 1.3fr 1fr 1fr; }
.form-note { font-size: 12.5px; color: var(--ink-muted); margin: -4px 0 0; }
.contact-form button { align-self: flex-start; }

/* -------------------------------------------------------------- footer -- */

.site-footer { border-top: 1px solid var(--border); padding: 56px 32px 40px; }
.footer-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
}
.site-footer .footer-logo { height: 30px; width: auto; display: block; margin-bottom: 14px; }
.site-footer .footer-about { font-size: 14px; line-height: 1.6; color: var(--ink-muted); max-width: 280px; margin: 0 0 18px; }
.footer-col-title { font-weight: 700; font-size: 13.5px; color: var(--ink); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact span { font-size: 14px; color: var(--ink-muted); }
.footer-links a:hover { color: var(--accent); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-muted); }
.footer-contact a { color: var(--ink-muted); }
.footer-contact a:hover { color: var(--accent); }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 11%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 24%, transparent);
  transition: background 0.18s ease, color 0.18s ease,
              transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.social-links a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--brand) 38%, transparent);
}
.social-links a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.social-links svg { width: 18px; height: 18px; fill: currentColor; display: block; }

@media (prefers-reduced-motion: reduce) {
  .social-links a { transition: none; }
  .social-links a:hover { transform: none; }
}
.footer-bottom {
  max-width: var(--wrap); margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid var(--border); font-size: 13px; color: var(--ink-soft);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}

/* --------------------------------------------------------------- misc -- */

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--deep); color: var(--on-deep);
  padding: 12px 18px; border-radius: 0 0 8px 0; z-index: 100; font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--on-deep); }

.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 4px 2px; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { flex: 0 0 calc((100% - 66px) / 4); box-sizing: border-box; scroll-snap-align: start; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; background: oklch(1 0 0);
  border: 1px solid oklch(0.88 0.005 90); box-shadow: var(--shadow-btn);
  font-size: 18px; color: oklch(0.85 0.005 90); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { color: var(--accent); background: oklch(0.97 0.005 240); }
.carousel-btn.prev { left: -22px; }
.carousel-btn.next { right: -22px; }

/* ---------------------------------------------------------- responsive -- */

@media (max-width: 1120px) {
  .header-inner { flex-wrap: wrap; }
  .nav {
    order: 3; flex-basis: 100%; overflow-x: auto; justify-content: flex-start;
    padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--border);
  }
}

@media (max-width: 980px) {
  .page-grid { grid-template-columns: 1fr; gap: 40px; }
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-6 { grid-template-columns: repeat(4, 1fr); }
  .contact-panel { grid-template-columns: 1fr; gap: 36px; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .carousel-track > * { flex-basis: calc((100% - 22px) / 2); }
  .carousel-btn { display: none; }
}

@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .page-banner h1 { font-size: 32px; }
  .section-head h2 { font-size: 27px; }
  .prose h2 { font-size: 22px; }
  .card-grid.cols-3, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .card-grid.cols-6 { grid-template-columns: repeat(2, 1fr); }
  .field-row.two, .field-row.three { grid-template-columns: 1fr; }
  .contact-panel { padding: 28px; border-radius: 18px; }
  .contact-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .carousel-track > * { flex-basis: 84%; }
  .site-footer { padding: 44px 20px 32px; }
}

@media (max-width: 560px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    gap: 4px; white-space: normal; overflow: visible;
  }
  .nav.open .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    pointer-events: auto; padding-top: 4px;
  }
  .nav.open .dropdown-panel { box-shadow: none; border: none; padding: 0 0 6px 12px; min-width: 0; }
  .nav.open .dropdown-panel.cols { grid-template-columns: 1fr; min-width: 0; }
  .nav-toggle { display: block; }
  .header-inner { flex-wrap: wrap; }
}

@media print {
  .site-header, .nav-toggle, .aside-cta, .carousel-btn, .skip-link { display: none !important; }
  body { background: #fff; }
  .page-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------- toned equipment pages -- */

/* h1 becomes a flex row so the glyph sits on the text's optical centre */
.page-banner h1:has(.banner-icon) {
  display: flex; align-items: center; gap: 14px;
}
.page-banner h1 .banner-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: color-mix(in srgb, var(--tone, var(--accent)) 14%, transparent);
}
.page-banner h1 .banner-icon svg {
  width: 27px; height: 27px; display: block;
  stroke: var(--tone, var(--accent)); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.matrix.toned .matrix-row:hover { background: color-mix(in srgb, var(--tone) 8%, transparent); }
.matrix.toned .matrix-cat a:hover { color: var(--tone); }
.matrix.toned .matrix-brands a {
  color: var(--tone);
  background: color-mix(in srgb, var(--tone) 11%, transparent);
}
.matrix.toned .matrix-brands a:hover {
  border-color: var(--tone);
  background: color-mix(in srgb, var(--tone) 20%, transparent);
}

@media (max-width: 720px) {
  .page-banner h1:has(.banner-icon) { gap: 11px; }
  .page-banner h1 .banner-icon { width: 36px; height: 36px; border-radius: 10px; }
  .page-banner h1 .banner-icon svg { width: 21px; height: 21px; }
}

/* ---------------------------------------------------------------- brands -- */

.brand-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.brand-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 26px 22px 24px; display: flex; flex-direction: column; gap: 10px;
  align-items: flex-start; color: var(--ink);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.brand-card:hover {
  border-color: var(--accent); color: var(--ink);
  transform: translateY(-3px); box-shadow: var(--shadow-card);
}
.brand-logo {
  height: 46px; width: 100%; display: flex; align-items: center;
  justify-content: center; margin-bottom: 4px;
}
.brand-logo img {
  max-height: 46px; max-width: 150px; width: auto; object-fit: contain;
  filter: saturate(0.35) opacity(0.78);
  transition: filter 0.2s ease;
}
.brand-card:hover .brand-logo img { filter: saturate(1) opacity(1); }
.brand-wordmark {
  font-family: var(--font-head); font-weight: 800; font-size: 19px;
  color: var(--accent); letter-spacing: -0.01em;
}
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: var(--ink-heading); }
.brand-tag { font-size: 13.5px; line-height: 1.5; color: var(--ink-muted); flex: 1; }
.brand-subcount {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-wash); border-radius: 999px; padding: 4px 10px;
}

/* brand detail */
.brand-hero-logo {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 26px 30px; margin-bottom: 28px;
  display: flex; align-items: center; justify-content: center;
}
.brand-hero-logo img { max-height: 74px; max-width: 260px; width: auto; object-fit: contain; }

.sub-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 26px; }
.sub-chip {
  font-size: 13.5px; font-weight: 600; color: var(--accent);
  background: var(--accent-wash); border: 1px solid transparent;
  border-radius: 8px; padding: 9px 14px;
}
.sub-chip:hover { border-color: var(--accent); background: var(--accent-tint); }

/* Manufacturer buttons at the top of an equipment category page. */
.maker-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 6px; }
.maker-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-muted);
}
.maker-row .sub-chips { margin-bottom: 18px; }

.ext-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.ext-link {
  font-size: 14px; font-weight: 600; color: var(--ink);
  border: 1px solid var(--border-strong); border-radius: 8px; padding: 11px 16px;
}
.ext-link:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 1100px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .brand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .brand-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------- brand rows in the nav menu -- */
/* Each manufacturer's own logo and signature colour, sampled from the logo
   artwork itself. Colour is used for the edge accent and hover wash only —
   never for the label, so contrast stays readable whatever the brand. */

.dropdown-panel.brands { min-width: 700px; gap: 2px 16px; }

/* Row layout is shared by both places a brand row appears — the nav dropdown
   and the page sidebar. Keep it on the bare class: when it was scoped to
   .dropdown-panel the sidebar rows fell back to display:block and the logo
   trailed the name instead of sitting flush right. */
.brand-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 8px 12px 8px 13px; border-radius: 8px;
  border-left: 3px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.dropdown-panel .brand-item:hover {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  border-left-color: var(--brand);
}
.bi-name {
  font-size: 14px; font-weight: 500; color: oklch(0.3 0.01 90);
  white-space: nowrap; transition: color 0.15s ease;
}
.brand-item:hover .bi-name { color: var(--ink-strong); font-weight: 600; }

.bi-logo {
  height: 21px; width: auto; max-width: 84px; object-fit: contain;
  object-position: right center; flex-shrink: 0;
  filter: saturate(0) opacity(0.38);
  transition: filter 0.18s ease, transform 0.18s ease;
}
.brand-item:hover .bi-logo { filter: saturate(1) opacity(1); transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .dropdown-panel .brand-item, .bi-logo, .bi-name { transition: none; }
  .brand-item:hover .bi-logo { transform: none; }
}

@media (max-width: 760px) {
  .dropdown-panel.brands { min-width: 0; }
  .bi-logo { display: none; }
}

/* ---------------------------------------------------- coin-slot arrow fx -- */
/* The arrow slides away and a coin spins across into a slot. Runs only while
   the link is hovered or keyboard-focused. */

.coin-link { display: flex; align-items: center; gap: 8px; }
.coin-fx-wrap { display: inline-flex; align-items: center; }
.coin-fx { width: 46px; height: 24px; display: block; overflow: visible; }

.coin-fx path,
.coin-fx rect,
.coin-fx circle { stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* the arrow, shown at rest */
.cf-arrow { opacity: 1; transition: opacity 0.22s ease, transform 0.28s ease; }

/* the slot, hidden at rest */
.cf-plate, .cf-slot { opacity: 0; transition: opacity 0.25s ease; }
.cf-slot { fill: currentColor; stroke: none; }
.cf-plate { stroke-width: 1.5; }

/* the coin, hidden at rest */
.cf-travel { opacity: 0; }
.cf-coin { fill: color-mix(in srgb, currentColor 14%, transparent); }
.cf-coin-in { stroke-width: 1.3; opacity: 0.65; }
.cf-spin { transform-box: fill-box; transform-origin: center; }

.coin-link:hover .cf-arrow,
.coin-link:focus-visible .cf-arrow { opacity: 0; transform: translateX(6px); }

.coin-link:hover .cf-plate,
.coin-link:focus-visible .cf-plate { opacity: 0.45; }

.coin-link:hover .cf-travel,
.coin-link:focus-visible .cf-travel { animation: cfTravel 1.6s ease-in-out 0.12s infinite; }

.coin-link:hover .cf-spin,
.coin-link:focus-visible .cf-spin { animation: cfSpin 1.6s linear 0.12s infinite; }

.coin-link:hover .cf-slot,
.coin-link:focus-visible .cf-slot { animation: cfSlot 1.6s ease-out 0.12s infinite; }

@keyframes cfTravel {
  0%   { transform: translateX(-3px); opacity: 0; }
  12%  { opacity: 1; }
  60%  { transform: translateX(24px); opacity: 1; }
  72%  { transform: translateX(26px); opacity: 0; }
  100% { transform: translateX(26px); opacity: 0; }
}

/* scaleX oscillation reads as a coin tumbling edge-over-edge, then it goes
   fully edge-on to slip into the slot */
@keyframes cfSpin {
  0%   { transform: scaleX(1); }
  15%  { transform: scaleX(0.16); }
  30%  { transform: scaleX(1); }
  45%  { transform: scaleX(0.16); }
  60%  { transform: scaleX(1); }
  70%  { transform: scaleX(0.08); }
  100% { transform: scaleX(0.08); }
}

@keyframes cfSlot {
  0%, 66% { opacity: 0.5; }
  74%     { opacity: 1; }
  88%     { opacity: 0.5; }
  100%    { opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  .coin-link:hover .cf-travel, .coin-link:hover .cf-spin, .coin-link:hover .cf-slot,
  .coin-link:focus-visible .cf-travel, .coin-link:focus-visible .cf-spin,
  .coin-link:focus-visible .cf-slot { animation: none; }
  .coin-link:hover .cf-arrow, .coin-link:focus-visible .cf-arrow { opacity: 1; transform: none; }
  .cf-arrow { transition: none; }
}

/* ------------------------------------------ brand list in the page aside -- */
/* Same treatment as the nav dropdown, sized for the 320px sidebar. */

.aside-brands .brand-links { display: flex; flex-direction: column; gap: 1px; }

.aside-brands .brand-item {
  padding: 7px 10px 7px 11px;
  border-left: 3px solid transparent;
  border-radius: 8px;
}
.aside-brands .brand-item:hover {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  border-left-color: var(--brand);
}
.aside-brands .brand-item[aria-current="page"] {
  background: color-mix(in srgb, var(--brand) 13%, transparent);
  border-left-color: var(--brand);
}
.aside-brands .brand-item[aria-current="page"] .bi-name {
  color: var(--ink-strong); font-weight: 600;
}
.aside-brands .brand-item[aria-current="page"] .bi-logo {
  filter: saturate(1) opacity(1);
}
.aside-brands .bi-name { font-size: 13.5px; }
.aside-brands .bi-logo { height: 18px; max-width: 62px; }

/* ------------------------------------------------- contact success panel -- */
/* [hidden] must win over any layout display value, otherwise the panel shows
   alongside the form. This is why the success state is a class, not inline. */
[hidden] { display: none !important; }

.contact-success {
  background: var(--surface); border-radius: 16px; padding: 48px;
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center; gap: 12px;
}
.contact-success:focus { outline: none; }
.cs-check {
  width: 48px; height: 48px; border-radius: 12px; background: var(--accent-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--accent);
}
.contact-success h3 { font-weight: 700; font-size: 22px; margin: 0; }
.contact-success p { font-size: 15px; line-height: 1.6; color: var(--ink-body); margin: 0; }

.contact-form .hp-field {
  position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden;
}
.contact-error {
  margin: 0; font-size: 14px; line-height: 1.45; color: #a12828;
}
.contact-form button:disabled {
  opacity: 0.7; cursor: wait;
}

/* Brochure / spec-sheet groups on brand pages (click a heading to open). */
.doc-group { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); margin: 0 0 10px; }
.doc-group > summary {
  cursor: pointer; list-style: none; padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink-heading);
}
.doc-group > summary::-webkit-details-marker { display: none; }
.doc-group > summary::before { content: "+"; width: 14px; font-size: 18px; line-height: 1; color: var(--accent); }
.doc-group[open] > summary::before { content: "\2212"; }
.doc-group > summary:hover { color: var(--accent); }
.doc-count { margin-left: auto; font-family: var(--font-body, inherit); font-weight: 500; font-size: 12.5px; color: var(--ink-muted); }
.doc-group > .download-list { padding: 0 14px 14px; margin: 0; }

/* ------------------------------------------------------- product gallery -- */

.product-gallery { margin: 0 0 12px; }

.pg-heading {
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-muted); margin: 34px 0 14px;
  padding-bottom: 9px; border-bottom: 1px solid var(--border);
}
.product-gallery > .pg-heading:first-child { margin-top: 20px; }

.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin: 0 0 8px;
}

.product-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 10px;
  color: var(--ink); text-align: center;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
a.product-card:hover {
  border-color: var(--accent); color: var(--ink);
  transform: translateY(-2px); box-shadow: var(--shadow-card);
}

.pc-shot {
  height: 132px; display: flex; align-items: center; justify-content: center;
  background: oklch(1 0 0); border-radius: 9px; padding: 8px; overflow: hidden;
}
.pc-shot img {
  max-height: 116px; max-width: 100%; width: auto; object-fit: contain;
  display: block; margin: 0; border: none; border-radius: 0;
  transition: transform 0.2s ease;
}
a.product-card:hover .pc-shot img { transform: scale(1.05); }

.pc-name {
  font-size: 12.5px; font-weight: 600; line-height: 1.4;
  color: var(--ink-heading); text-wrap: pretty;
}
a.product-card:hover .pc-name { color: var(--accent); }

@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
                             .pc-shot { height: 110px; } .pc-shot img { max-height: 96px; } }

@media (prefers-reduced-motion: reduce) {
  .product-card, .pc-shot img { transition: none; }
  a.product-card:hover { transform: none; }
  a.product-card:hover .pc-shot img { transform: none; }
}

/* ---------------------------------------------------- installation photos -- */
/* Real job photographs, so they get room to breathe: a plain responsive grid
   with captions that stay in the HTML whether or not the lightbox loads. */

/* The gallery lives in the text column but breaks out across the sidebar,
   so it starts right under the copy instead of below the taller aside.
   376px = the 320px sidebar plus the 56px .page-grid gap. */
.install-breakout { margin: 30px 0 0; }
@media (min-width: 981px) {
  .install-breakout { margin-right: -376px; }
}

.install-lede {
  font-size: 16px; line-height: 1.65; color: var(--ink-body);
  max-width: 68ch; margin: 0 0 22px;
}

/* Full page width, so the run of photos is a few short rows rather than a
   long single-column scroll. auto-fit picks up 4 across on a desktop and
   steps down on its own as the viewport narrows. */
.install-gallery {
  display: grid; gap: 18px; margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}

.ig-item { margin: 0; display: flex; flex-direction: column; gap: 8px; }

.ig-open {
  display: block; width: 100%; padding: 0; border: 1px solid var(--border);
  background: var(--surface); border-radius: 12px; overflow: hidden;
  cursor: zoom-in; line-height: 0;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.ig-open img {
  width: 100%; height: 190px; object-fit: cover; display: block;
  margin: 0; border: none; border-radius: 0;
  transition: transform 0.3s ease;
}
/* Portrait frames crop hard at a fixed height — bias to the upper half where
   the equipment sits rather than the floor. */
.ig-item.is-portrait .ig-open img { object-position: center 32%; }

.ig-open:hover { border-color: var(--accent); box-shadow: var(--shadow-card); }
.ig-open:hover img { transform: scale(1.04); }
.ig-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.ig-item figcaption {
  font-size: 13px; line-height: 1.5; color: var(--ink-muted); text-wrap: pretty;
}

@media (max-width: 560px) {
  .install-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ig-open img { height: 130px; }
  .ig-item figcaption { font-size: 12px; }
}

/* --- lightbox ------------------------------------------------------------ */

.ig-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: oklch(0.18 0.03 240 / 0.94);
  padding: 40px 64px; opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.ig-lightbox.is-open { opacity: 1; visibility: visible; }
/* display:flex above would otherwise beat the UA rule for [hidden] */
.ig-lightbox[hidden] { display: none; }

.ig-lb-figure {
  margin: 0; max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.ig-lb-figure img {
  max-width: 100%; max-height: calc(100vh - 150px);
  width: auto; height: auto; display: block;
  border-radius: 10px; margin: 0; border: none;
  box-shadow: 0 20px 60px oklch(0 0 0 / 0.5);
}
.ig-lb-cap {
  color: oklch(0.93 0.01 240); font-size: 14.5px; line-height: 1.5;
  text-align: center; max-width: 62ch;
}
.ig-lb-count { display: block; margin-top: 5px; font-size: 13px; color: oklch(0.76 0.03 240); }

.ig-lb-btn {
  position: absolute; background: oklch(1 0 0 / 0.1); border: 1px solid oklch(1 0 0 / 0.25);
  color: oklch(0.99 0.01 90); width: 46px; height: 46px; border-radius: 50%;
  font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.ig-lb-btn:hover { background: oklch(1 0 0 / 0.22); border-color: oklch(1 0 0 / 0.5); }
.ig-lb-btn:focus-visible { outline: 2px solid oklch(0.99 0.01 90); outline-offset: 2px; }
.ig-lb-prev  { left: 14px; }
.ig-lb-next  { right: 14px; }
.ig-lb-close { top: 14px; right: 14px; font-size: 26px; }

@media (max-width: 640px) {
  .ig-lightbox { padding: 56px 12px 24px; }
  .ig-lb-prev { left: 8px; } .ig-lb-next { right: 8px; }
  .ig-lb-btn { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .ig-open, .ig-open img, .ig-lightbox { transition: none; }
  .ig-open:hover img { transform: none; }
}

/* -------------------------------------------------------- product detail -- */

.product-hero {
  background: oklch(1 0 0); border: 1px solid var(--border); border-radius: 16px;
  padding: 30px; margin-bottom: 28px;
  display: flex; align-items: center; justify-content: center;
  min-height: 260px;
}
.product-hero img {
  max-height: 330px; max-width: 100%; width: auto; object-fit: contain;
  display: block; margin: 0; border: none; border-radius: 0;
}

.feature-list { list-style: none; margin: 0 0 24px; padding: 0; }
.feature-list li {
  position: relative; padding: 8px 0 8px 26px;
  font-size: 15px; line-height: 1.6; color: var(--ink-body);
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: ""; position: absolute; left: 4px; top: 17px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--accent);
}

.spec-rows { display: flex; flex-direction: column; gap: 1px; }
.spec-rows > div {
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.spec-rows > div:last-child { border-bottom: none; }
.spec-rows span { color: var(--ink-muted); flex-shrink: 0; }
.spec-rows b { font-weight: 600; color: var(--ink-heading); text-align: right; }
.spec-rows a { font-weight: 600; text-align: right; }

/* --------------------------------------------- homepage brand logo wall -- */
/* Real manufacturer logos, greyed at rest and coming to full colour on
   hover — same language as the nav dropdown and the brands index. */

.tile {
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.tile img {
  filter: saturate(0.25) opacity(0.62);
  transition: filter 0.2s ease;
}
.tile:hover {
  border-color: var(--brand, var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand, var(--accent)) 22%, transparent);
}
.tile:hover img { filter: saturate(1) opacity(1); }
.tile:hover .tile-name { color: var(--brand, var(--accent)); }
.tile .tile-name { transition: color 0.18s ease; }

@media (prefers-reduced-motion: reduce) {
  .tile, .tile img, .tile .tile-name { transition: none; }
  .tile:hover { transform: none; }
}

/* ------------------------------------------ homepage "more than equipment" -- */
/* Drawn icons on the same 32x32 stroke grid as .type-icon, so the deep band
   reads as part of the same set rather than borrowed emoji. */

.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.svc-card {
  background: var(--deep-card); border-radius: 12px; padding: 20px 22px;
  transition: background 0.18s ease;
}
.svc-card:hover { background: color-mix(in srgb, var(--deep-card) 88%, white); }

/* Icon sits on the title's baseline row, not in a box above it — no dead
   space at the top of the card, and no tile-inside-a-tile. */
.svc-head { display: flex; align-items: center; gap: 11px; margin-bottom: 7px; }
.svc-card h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  color: var(--on-deep); margin: 0;
}
.svc-card p { font-size: 14px; line-height: 1.55; color: var(--on-deep-body); margin: 0; }

.svc-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.svc-icon svg {
  width: 24px; height: 24px; display: block;
  stroke: oklch(0.8 0.08 240); fill: none; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.18s ease;
}
.svc-card:hover .svc-icon svg { stroke: oklch(0.93 0.05 240); }

@media (prefers-reduced-motion: reduce) {
  .svc-card, .svc-icon svg { transition: none; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- articles -- */
/* Each article leads with its real front page, so the shelf reads like a
   magazine rack rather than a list of download links. */

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

.article-card { display: flex; flex-direction: column; gap: 18px; }

.ac-cover {
  position: relative; display: block; width: 100%; padding: 0;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  background: oklch(1 0 0); cursor: pointer; line-height: 0;
  box-shadow: 0 10px 26px oklch(0.2 0.02 240 / 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ac-cover img { width: 100%; height: auto; display: block; margin: 0; border: none; border-radius: 0; }
.ac-cover:hover, .ac-cover:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px oklch(0.2 0.02 240 / 0.20);
  border-color: var(--accent);
}
.ac-cover:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.ac-nocover {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 3/4; font-family: var(--font-head); font-weight: 800;
  font-size: 28px; color: var(--accent); background: var(--accent-wash);
}

/* the "Read article" bar that slides up over the cover on hover */
.ac-open {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 10px; font-family: var(--font-body);
  font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center;
  color: oklch(0.99 0.01 90); background: oklch(0.32 0.11 240 / 0.94);
  transform: translateY(100%); transition: transform 0.22s ease;
}
.ac-cover:hover .ac-open, .ac-cover:focus-visible .ac-open { transform: translateY(0); }

.ac-body { display: flex; flex-direction: column; gap: 9px; flex: 1; }
.article-meta {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent);
}
.article-card h3 { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 0; }
.article-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-body); margin: 0; flex: 1; }

.ac-actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.btn-read { height: 42px; padding: 0 18px; font-size: 14px; display: inline-flex; align-items: center; }
.ac-dl {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  height: 42px; padding: 0 16px; border-radius: 9px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  white-space: nowrap;
}
.ac-dl .dl-arrow { font-size: 16px; line-height: 1; color: inherit; }


/* the cover is a link now, not a button — keep it from picking up link colour */
a.ac-cover { display: block; color: inherit; text-decoration: none; }

/* ---------------------------------------------------------- pdf reader -- */

.pdf-reader { position: fixed; inset: 0; z-index: 200; display: flex; }
.pr-backdrop {
  position: absolute; inset: 0; background: oklch(0.18 0.02 240 / 0.62);
  backdrop-filter: blur(3px);
}
.pr-panel {
  position: relative; margin: auto; width: min(1000px, 96vw); height: min(94vh, 1100px);
  background: var(--surface); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px oklch(0.15 0.03 240 / 0.45);
  animation: prIn 0.22s ease;
}
@keyframes prIn { from { opacity: 0; transform: translateY(10px) scale(0.99); } }

.pr-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--bg-alt);
}
.pr-head h2 {
  font-size: 16px; font-weight: 700; margin: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pr-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pr-btn {
  font-size: 13px; font-weight: 600; color: var(--ink);
  border: 1px solid var(--border-strong); border-radius: 8px; padding: 8px 13px;
  background: var(--surface); white-space: nowrap;
}
.pr-btn:hover { border-color: var(--accent); color: var(--accent); }
.pr-close {
  width: 36px; height: 36px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--border-strong); background: var(--surface);
  font-size: 22px; line-height: 1; color: var(--ink-muted);
}
.pr-close:hover { border-color: var(--accent); color: var(--accent); }

#pr-frame { flex: 1; width: 100%; border: 0; background: oklch(0.93 0 0); }

@media (max-width: 980px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .article-grid { grid-template-columns: 1fr; gap: 28px; }
  .article-card { max-width: 420px; }
}

/* narrow windows: the reader goes edge to edge and the toolbar wraps */
@media (max-width: 700px) {
  .pr-panel { width: 100vw; height: 100vh; border-radius: 0; }
  .pr-head { padding: 10px 12px; flex-wrap: wrap; gap: 8px; }
  .pr-head h2 { font-size: 14px; flex-basis: 100%; }
  .pr-btn { padding: 7px 11px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .ac-cover, .ac-open { transition: none; }
  .ac-cover:hover { transform: none; }
  .pr-panel { animation: none; }
}

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

/* ------------------------------------------------------ wash-fill button -- */
/* Press it and the pill floods with water and bubbles, like a drum filling.
   The wave surface is two slowly rotating rounded blobs — cheaper than
   animating a path, and it reads more like real water. */

/* resting state: clean white pill with a blue rule and blue label */
.wash-btn {
  position: relative; overflow: hidden; isolation: isolate;
  background: oklch(1 0 0);
  border: 1px solid var(--accent);
  color: var(--accent);
}
.wash-btn:hover {
  background: oklch(1 0 0);
  border-color: var(--accent-hover);
  color: var(--accent-hover);
}
.wash-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wash-label { position: relative; z-index: 2; transition: color 0.3s ease 0.42s; }

.wash-fill {
  position: absolute; left: 0; right: 0; bottom: 0; height: 100%;
  z-index: 1; transform: translateY(130%); pointer-events: none;
  background: var(--deep);
}

/* the two blobs that make the moving surface */
.wash-fill::before, .wash-fill::after {
  content: ""; position: absolute; left: 50%; bottom: 96%;
  width: 300%; aspect-ratio: 1; border-radius: 43%;
  background: var(--deep);
  transform: translateX(-50%) rotate(0deg);
}
.wash-fill::after { border-radius: 47%; opacity: 0.75; }

/* bubbles */
.wash-fill i {
  position: absolute; bottom: 4px; left: var(--bx);
  width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 32%,
              oklch(1 0 0 / 0.95), oklch(1 0 0 / 0.28) 62%, transparent 72%);
  opacity: 0;
}

/* --- the wash cycle, triggered by a class the script adds on click ------- */
/* Slow enough to actually watch the level climb, and the surface carries a
   bright waterline so the rise reads as water rather than a colour swap. */

.wash-fill .waterline {
  position: absolute; left: -10%; right: -10%; top: 0; height: 2.5px;
  background: oklch(0.86 0.11 218 / 0.95);
  box-shadow: 0 3px 7px oklch(0.86 0.11 218 / 0.45);
  filter: blur(0.5px);
}

.wash-btn:hover .wash-fill,
.wash-btn:focus-visible .wash-fill,
.wash-btn.is-washing .wash-fill {
  animation: washRise 1.5s cubic-bezier(0.25, 0.6, 0.3, 1) forwards;
}
.wash-btn:hover .wash-fill::before,
.wash-btn:focus-visible .wash-fill::before,
.wash-btn.is-washing .wash-fill::before { animation: washWave 2.4s linear infinite; }

.wash-btn:hover .wash-fill::after,
.wash-btn:focus-visible .wash-fill::after,
.wash-btn.is-washing .wash-fill::after { animation: washWave 3.3s linear infinite reverse; }

.wash-btn:hover .wash-fill i,
.wash-btn:focus-visible .wash-fill i,
.wash-btn.is-washing .wash-fill i { animation: washBubble 1.25s ease-in var(--bd) infinite; }

/* Once the water is up the label sits on dark blue, so it always goes
   white. The blue variants are already white and simply stay put. */
.wash-btn:hover .wash-label,
.wash-btn:focus-visible .wash-label,
.wash-btn.is-washing .wash-label {
  color: oklch(0.99 0.01 90) !important;
}

@keyframes washRise {
  0%   { transform: translateY(130%); }
  8%   { transform: translateY(92%); }
  70%  { transform: translateY(0); }
  88%  { transform: translateY(0); }
  100% { transform: translateY(0); }
}
@keyframes washWave {
  to { transform: translateX(-50%) rotate(360deg); }
}
@keyframes washBubble {
  0%   { transform: translateY(0) scale(calc(var(--bs) * 0.4)); opacity: 0; }
  15%  { opacity: 0.95; }
  100% { transform: translateY(-40px) scale(var(--bs)); opacity: 0; }
}

/* keep the label legible the moment the water reaches it */


@media (prefers-reduced-motion: reduce) {
  .wash-btn.is-washing .wash-fill,
  .wash-btn.is-washing .wash-fill::before,
  .wash-btn.is-washing .wash-fill::after,
  .wash-btn.is-washing .wash-fill i { animation: none; }
  .wash-btn.is-washing .wash-fill { transform: translateY(0); }
  .wash-label { transition: none; }
}

/* --- blue variants -------------------------------------------------------
   The pill keeps its original colour. The water is a DEEPER shade of the
   same blue, not a lighter one — filling a navy button with pale blue turns
   the whole button pale, which is not what we want. The rising level reads
   through the bright waterline and the bubbles instead. ----------------- */

.wash-btn.wash-blue {
  background: oklch(0.42 0.13 240);            /* --accent, unchanged */
  border: 1px solid oklch(0.42 0.13 240);
  color: oklch(0.99 0.01 90);
}
.wash-btn.wash-blue:hover {
  border-color: oklch(0.42 0.13 240);
  color: oklch(0.99 0.01 90);
}
.wash-btn.wash-blue .wash-label,
.wash-btn.wash-blue .dl-arrow { color: oklch(0.99 0.01 90); }
.wash-btn.wash-blue .wash-fill,
.wash-btn.wash-blue .wash-fill::before,
.wash-btn.wash-blue .wash-fill::after { background: oklch(0.29 0.13 243); }

.wash-btn.wash-deep {
  background: oklch(0.32 0.11 240);            /* --deep, unchanged */
  border: 1px solid oklch(0.32 0.11 240);
  color: oklch(0.98 0.01 90);
}
.wash-btn.wash-deep:hover {
  border-color: oklch(0.32 0.11 240);
  color: oklch(0.98 0.01 90);
}
.wash-btn.wash-deep .wash-label,
.wash-btn.wash-deep .dl-arrow { color: oklch(0.98 0.01 90); }
.wash-btn.wash-deep .wash-fill,
.wash-btn.wash-deep .wash-fill::before,
.wash-btn.wash-deep .wash-fill::after { background: oklch(0.21 0.11 243); }

/* white CTA for placing directly on a deep blue panel */
.wash-btn.wash-white {
  background: var(--surface);
  border: 1px solid var(--surface);
  color: var(--deep);
}
.wash-btn.wash-white:hover { background: oklch(0.94 0.01 90); color: var(--deep); }
.wash-btn.wash-white .wash-label,
.wash-btn.wash-white .dl-arrow { color: var(--deep); }
.wash-btn.wash-white .wash-fill,
.wash-btn.wash-white .wash-fill::before,
.wash-btn.wash-white .wash-fill::after { background: oklch(0.86 0.04 240); }

/* the white CTA that sits on a deep blue panel */
.aside-cta .wash-btn { background: var(--surface); border-color: transparent; color: var(--deep); }
.aside-cta .wash-btn:hover { background: oklch(0.94 0.01 90); color: var(--deep); }

/* This button carries no colour variant, so its label rests at var(--deep)
   — the same navy as the default wash fill. The fill covers the text about
   0.3s before .wash-label's delayed colour transition fires, so the label
   went navy-on-navy and vanished mid-animation. Give it the light fill and
   keep the label navy throughout: readable at every frame, no timing race. */
.aside-cta .wash-btn .wash-fill,
.aside-cta .wash-btn .wash-fill::before,
.aside-cta .wash-btn .wash-fill::after { background: oklch(0.86 0.04 240); }

.aside-cta .wash-btn:hover .wash-label,
.aside-cta .wash-btn:focus-visible .wash-label,
.aside-cta .wash-btn.is-washing .wash-label { color: var(--deep) !important; }


/* ------------------------------------------- home: featured customer videos */
.cv { position: relative; }
.cv-stage { position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; background: #0b1020; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.cv-track { display: flex; height: 100%; transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); }
.cv-slide { flex: 0 0 100%; height: 100%; }
.cv-video { width: 100%; height: 100%; display: block; object-fit: cover; background: #0b1020; }
.cv-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: oklch(1 0 0 / 0.92); color: var(--ink-heading); font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center; padding: 0 0 3px;
  box-shadow: 0 2px 10px oklch(0 0 0 / 0.25); transition: background 0.15s ease, transform 0.15s ease;
}
.cv-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.cv-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cv-prev { left: 12px; }
.cv-next { right: 12px; }
.cv-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 0 4px; }
.cv-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cv-who strong { font-size: 15px; font-weight: 700; color: var(--ink-heading); line-height: 1.25; }
.cv-who span { font-size: 13px; color: var(--ink-muted); }
.cv-dots { display: flex; gap: 8px; flex-shrink: 0; }
.cv-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--border); transition: background 0.15s ease, transform 0.15s ease; }
.cv-dot.is-active { background: var(--accent); transform: scale(1.2); }
@media (prefers-reduced-motion: reduce) { .cv-track { transition: none; } }
