/* ==========================================================================
   TABA AUTO – Oil & Auto Parts
   --------------------------------------------------------------------------
   01 Tokens        02 Base          03 Type & helpers   04 Buttons
   05 Header/nav    06 Home hero     07 Marquee          08 Categories
   09 Featured rail 10 Why Taba      11 CTA band         12 Footer
   13 Products page 14 Product cards 15 Product dialog   16 Motion
   17 Responsive
   ========================================================================== */


/* 01 Tokens
   ========================================================================== */
:root {
  /* brand – sampled from the Taba Auto logo */
  --red: #d72221;
  --red-deep: #b51a19;
  --red-glow: rgba(215, 34, 33, .38);

  /* darks */
  --black: #0b0b0c;
  --graphite: #131315;
  --graphite-2: #1b1b1e;
  --line-dark: rgba(255, 255, 255, .09);
  --text-on-dark: #c9c9ce;
  --muted-on-dark: #8d8d95;

  /* lights */
  --paper: #f4f2ee;
  --paper-2: #ebe8e2;
  --white: #ffffff;
  --ink: #0e0e10;
  --text: #34343a;
  --muted: #74747c;
  --line: #e2ded6;

  /* type */
  --display: 'Clash Display', 'Satoshi', system-ui, sans-serif;
  --body: 'Satoshi', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  /* layout */
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}


/* 02 Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 16px/1.65 var(--body);
  color: var(--text);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
}

[hidden] { display: none !important; }

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

a { color: inherit; }

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

button { cursor: pointer; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

::selection { background: var(--red); color: #fff; }

svg path, svg circle, svg rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* 03 Type & helpers
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.01em;
  word-spacing: .06em;
  text-wrap: balance;
  color: var(--ink);
}

h2 { font-size: clamp(36px, 4.6vw, 64px); }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}

.kicker span {
  width: 34px;
  height: 2px;
  background: var(--red);
}

.kicker.ink { color: var(--ink); }

.section { padding: clamp(80px, 10vw, 140px) 0; }
.paper { background: var(--paper); }
.dark { background: var(--black); }
.dark h2 { color: #fff; }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }

.section-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-lede {
  max-width: 440px;
  margin: 0;
  font-size: 17px;
  color: var(--muted);
}


/* 04 Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .005em;
    text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-sm { padding: 12px 20px; font-size: 14px; }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }

.btn-line { border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }

.btn-ghost-dark { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost-dark:hover { border-color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
    text-decoration: none;
  color: #fff;
}

.link-arrow svg { width: 18px; height: 18px; color: var(--red); transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }


/* 05 Header / nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 11, 12, .92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}

/* Home: transparent over the hero until scrolled */
.site-header.is-overlay {
  position: fixed;
  inset: 0 0 auto;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-overlay.is-solid {
  background: rgba(11, 11, 12, .92);
  border-bottom-color: var(--line-dark);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header-h);
}

.brand img { width: auto; height: 48px; }

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

.nav > a:not(.btn) {
  position: relative;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  transition: color .2s;
}

.nav > a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav > a:not(.btn):hover,
.nav > a[aria-current] { color: #fff; }

.nav > a:not(.btn):hover::after,
.nav > a[aria-current]::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: transparent;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #fff;
  transition: transform .3s var(--ease), top .3s var(--ease);
}

.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }

.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }


/* 06 Home hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: max(760px, 100vh);
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--black);
  color: #fff;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(52% 60% at 74% 62%, var(--red-glow), transparent 70%),
    radial-gradient(40% 50% at 10% 0%, rgba(255, 255, 255, .05), transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 50%, #000 30%, transparent 80%);
  mask-image: radial-gradient(70% 70% at 60% 50%, #000 30%, transparent 80%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  flex: 1;
  padding-block: 48px 32px;
}

.hero h1 {
  font-size: clamp(52px, 6.8vw, 108px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
    color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
  
}

.hero-lede {
  max-width: 500px;
  margin: 28px 0 40px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--text-on-dark);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Product composition */
.hero-stage {
  position: relative;
  aspect-ratio: 1 / .86;
  width: 100%;
}

.pk {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 34px 34px rgba(0, 0, 0, .55));
}

.pk-drum  { right: 0;   bottom: 22%; width: 50%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .6)) brightness(.62); }
.pk-left  { left: 0;    bottom: 10%; width: 44%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .6)) brightness(.86); }
.pk-right { right: 2%;  bottom: 5%;  width: 42%; }
.pk-hero  { left: 22%;  bottom: 2%;  width: 56%; z-index: 2; animation: float 7s ease-in-out infinite; }

.stage-floor {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -4%;
  height: 14%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(215, 34, 33, .45), transparent 70%);
  filter: blur(8px);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--line-dark);
}

.hero-stats div {
  padding: 28px 0 36px;
  border-right: 1px solid var(--line-dark);
  padding-left: 28px;
}

.hero-stats div:first-child { padding-left: 0; }
.hero-stats div:last-child { border-right: 0; }

.hero-stats dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 600;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #fff;
}

.hero-stats dt {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}


/* 07 Marquee
   ========================================================================== */
.marquee {
  overflow: hidden;
  background: var(--red);
  color: #fff;
  border-block: 1px solid rgba(0, 0, 0, .15);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee span {
  display: flex;
  align-items: center;
  padding: 20px 0;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee span::after {
  content: '';
  width: 8px;
  height: 8px;
  margin: 0 34px;
  border-radius: 50% 0 50% 50%;
  background: var(--black);
  transform: rotate(-45deg);
}

@keyframes marquee { to { transform: translateX(-50%); } }


/* 08 Categories
   ========================================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.cat {
  position: relative;
  display: block;
  grid-column: span 6;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--graphite);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.cat:nth-child(1) { grid-column: span 7; }
.cat:nth-child(2) { grid-column: span 5; }
.cat:nth-child(3) { grid-column: span 5; }
.cat:nth-child(4) { grid-column: span 7; }

.cat img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1s var(--ease);
}

.cat:hover img { transform: scale(1.08); }

.cat-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, .1) 0%, rgba(11, 11, 12, .35) 45%, rgba(11, 11, 12, .92) 100%);
  transition: background-color .4s;
}

.cat:hover .cat-shade { background-color: rgba(215, 34, 33, .14); }

.cat-body {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 3vw, 40px);
}

.cat-count {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ff6b62;
}

.cat-name {
  max-width: 520px;
  font-family: var(--display);
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.02;
    word-spacing: .05em;
}

.cat-text {
  max-width: 440px;
  font-size: 15px;
  color: rgba(255, 255, 255, .78);
}

.cat-go {
  position: absolute;
  top: clamp(20px, 2.6vw, 32px);
  right: clamp(20px, 2.6vw, 32px);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}

.cat-go svg { width: 22px; height: 22px; }

.cat:hover .cat-go { background: var(--red); border-color: var(--red); transform: rotate(45deg); }


/* 09 Featured rail
   ========================================================================== */
.featured .section-head { margin-bottom: 40px; }

.rail-controls { display: flex; gap: 10px; }

.rail-btn {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  transition: background-color .25s, border-color .25s;
}

.rail-btn svg { width: 20px; height: 20px; }
.rail-btn:hover { background: var(--red); border-color: var(--red); }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 310px);
  gap: 20px;
  overflow-x: auto;
  padding: 4px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 8px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: none;
}

.rail::-webkit-scrollbar { display: none; }

.feat {
  display: flex;
  flex-direction: column;
  padding: 0 0 26px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--graphite-2), var(--graphite));
  color: #fff;
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color .3s, transform .4s var(--ease);
}

.feat:hover { border-color: rgba(215, 34, 33, .6); transform: translateY(-6px); }

.feat-img {
  position: relative;
  display: grid;
  place-items: center;
  height: 280px;
  padding: 34px 26px 20px;
  margin-bottom: 22px;
  background: radial-gradient(60% 55% at 50% 72%, rgba(215, 34, 33, .22), transparent 75%);
  transition: background .4s;
}

.feat:hover .feat-img { background: radial-gradient(70% 65% at 50% 72%, rgba(215, 34, 33, .42), transparent 75%); }

.feat-img img {
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .55));
  transition: transform .5s var(--ease);
}

.feat:hover .feat-img img { transform: scale(1.05) translateY(-4px); }

.feat-type,
.feat-name,
.feat-go { padding-inline: 26px; }

.feat-type {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ff6b62;
}

.feat-name {
  flex: 1;
  margin: 10px 0 22px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
  word-spacing: .05em;
}

.feat-go {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted-on-dark);
  transition: color .25s;
}

.feat-go svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.feat:hover .feat-go { color: #fff; }
.feat:hover .feat-go svg { transform: translateX(4px); color: var(--red); }


/* 10 Why Taba
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}

.why {
  position: relative;
  padding: 36px 32px 8px 0;
}

.why + .why { padding-left: 32px; border-left: 1px solid var(--line); }

.why-n {
  display: block;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--muted);
}

.why svg { width: 36px; height: 36px; margin-bottom: 22px; color: var(--red); }
.why svg path, .why svg circle, .why svg rect { stroke-width: 1.6; }

.why h3 { margin-bottom: 12px; font-size: 24px; line-height: 1.1; }

.why p { margin: 0; font-size: 15px; color: var(--muted); }


/* 11 CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: #fff;
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding-block: clamp(64px, 8vw, 104px);
}

.cta-mark {
  position: absolute;
  right: -40px;
  top: 50%;
  width: 360px;
  opacity: .12;
  transform: translateY(-50%) rotate(-8deg);
  filter: grayscale(1) brightness(0);
  pointer-events: none;
}

.cta-band h2 { color: #fff; font-size: clamp(32px, 4vw, 56px); }
.cta-band p { margin: 16px 0 0; font-size: 17px; color: rgba(255, 255, 255, .85); }

.cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band .btn-line { border-color: rgba(255, 255, 255, .6); }


/* 12 Footer
   ========================================================================== */
.site-footer {
  padding-top: clamp(64px, 7vw, 96px);
  background: #070708;
  color: var(--muted-on-dark);
  font-size: 14px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.foot-brand img { width: auto; height: 56px; margin-bottom: 20px; }
.foot-brand p { max-width: 300px; margin: 0; }

.foot-col { display: flex; flex-direction: column; gap: 10px; }

.foot-col h4 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}

.foot-col a { text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: #fff; }

.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
}


/* 13 Products page
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 80px) 0 clamp(36px, 4vw, 52px);
  background: var(--black);
  color: #fff;
  isolation: isolate;
}

.page-hero .hero-glow {
  background: radial-gradient(45% 80% at 85% 100%, var(--red-glow), transparent 70%);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-on-dark);
}

.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs > * + *::before { content: '/'; margin-right: 10px; color: #4b4b52; }
.crumbs span:last-child:not([hidden]) { color: #fff; }

.page-hero h1 {
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: #fff;
}

.page-lede {
  max-width: 620px;
  margin: 18px 0 34px;
  font-size: 17px;
  color: var(--text-on-dark);
}

.bigsearch {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  transition: border-color .25s, background-color .25s;
}

.bigsearch:focus-within { border-color: var(--red); background: rgba(255, 255, 255, .08); }

.bigsearch svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--muted-on-dark); }

.bigsearch input {
  flex: 1;
  min-width: 0;
  padding: 20px 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 17px;
  color: #fff;
}

.bigsearch input::placeholder { color: #75757d; }
.bigsearch input::-webkit-search-cancel-button { filter: invert(1); }

.bigsearch kbd {
  padding: 2px 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 4px;
  font: 500 12px var(--mono);
  color: var(--muted-on-dark);
}

.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-on-dark);
  transition: background-color .2s, border-color .2s, color .2s;
}

.pill span { font-size: 12px; color: var(--muted-on-dark); }
.pill:hover { border-color: rgba(255, 255, 255, .45); color: #fff; }
.pill.active { background: var(--red); border-color: var(--red); color: #fff; }
.pill.active span { color: rgba(255, 255, 255, .8); }

.catalogue-wrap { background: var(--paper); }

.catalogue {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-block: 56px 120px;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.filter {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.filter summary {
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}

.filter:not([open]) summary { border-bottom: 0; }
.filter summary::-webkit-details-marker { display: none; }

.tree { padding: 10px; }

.tree button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: none;
  text-align: left;
  font-size: 14px;
  color: var(--text);
  transition: background-color .15s, color .15s, border-color .15s;
}

.tree button:hover { background: var(--paper); }
.tree button.active { border-left-color: var(--red); background: #fbeaea; color: var(--red); font-weight: 700; }

.tree .lvl-0 { font-weight: 600; color: var(--ink); }
.tree .lvl-1 { padding-left: 26px; }
.tree .lvl-2 { padding-left: 40px; font-size: 13px; }

.tree em {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.tree button.active em { color: var(--red); }

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--muted);
}

.results-bar b { color: var(--ink); }

.clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.clear svg { width: 14px; height: 14px; }
.clear:hover { border-color: var(--ink); }

.group { margin-bottom: 72px; }
.group:last-child { margin-bottom: 0; }

.group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}

.group-head h2 { font-size: clamp(26px, 2.6vw, 36px); }
.group-head span { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }

.subgroup { margin-top: 32px; }

.subgroup-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.subgroup-title::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--red);
}

.empty {
  padding: 72px 24px;
  border: 1px dashed #cfcac0;
  border-radius: var(--radius);
  text-align: center;
  background: #fff;
}

.empty h3 { margin-bottom: 10px; font-size: 24px; }
.empty p { margin: 0; color: var(--muted); }


/* 14 Product cards
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: left;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #cfc9be;
  box-shadow: 0 24px 48px -20px rgba(14, 14, 16, .28);
}

.card-img {
  position: relative;
  display: grid;
  place-items: center;
  height: 250px;
  padding: 28px 24px 22px;
  background: radial-gradient(70% 60% at 50% 88%, #e4e0d8, #f6f4f0 72%);
}

.card-img img {
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 16px rgba(14, 14, 16, .22));
  transition: transform .5s var(--ease);
}

.card:hover .card-img img { transform: scale(1.05) translateY(-3px); }

/* No product photo: branded graphite tile */
.card-img.no-photo,
.pd-img.no-photo {
  gap: 14px;
  align-content: center;
  background:
    radial-gradient(60% 60% at 50% 100%, rgba(215, 34, 33, .28), transparent 70%),
    linear-gradient(180deg, var(--graphite-2), var(--black));
}

.card-img.no-photo img { width: 64px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); }

.no-photo small {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.tag {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}

.card-name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1.2;
  color: var(--ink);
  word-spacing: .05em;
}

.card-excerpt {
  display: -webkit-box;
  margin: 10px 0 14px;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
}

.card-meta b {
  display: inline-block;
  min-width: 52px;
  margin-right: 8px;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
    color: var(--ink);
  transition: color .25s;
}

.card-go svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card-go { color: var(--red); }
.card:hover .card-go svg { transform: translateX(4px); }


/* 15 Product dialog
   ========================================================================== */
.pd {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .5);
}

.pd[open] { animation: pd-in .45s var(--ease); }

@keyframes pd-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
}

.pd::backdrop { background: rgba(8, 8, 9, .72); backdrop-filter: blur(4px); }

.pd-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition: background-color .2s, color .2s, border-color .2s;
}

.pd-close svg { width: 18px; height: 18px; }
.pd-close:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.pd-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  height: min(780px, calc(100vh - 48px));
}

.pd-visual {
  display: grid;
  background:
    radial-gradient(70% 55% at 50% 78%, rgba(215, 34, 33, .4), transparent 72%),
    linear-gradient(180deg, var(--graphite-2), var(--black));
}

.pd-img {
  display: grid;
  place-items: center;
  padding: 48px 40px;
}

.pd-img img {
  max-height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .6));
}

.pd-img.no-photo { background: none; }
.pd-img.no-photo img { width: 120px; }

.pd-content {
  overflow-y: auto;
  padding: 48px 52px 44px;
  overscroll-behavior: contain;
}

.pd-crumbs {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}

.pd-crumbs span + span::before { content: '/'; margin: 0 10px; color: #c9c4ba; }

.pd-content h2 {
  margin-bottom: 26px;
  padding-right: 48px;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.06;
  outline: none;
}

.pd-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.pd-specs.one { grid-template-columns: 1fr; }

.pd-specs div { padding: 14px 18px; background: var(--paper); font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--ink); }

.pd-specs small {
  display: block;
  font-family: var(--mono);
  margin-bottom: 2px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.desc { font-size: 15px; line-height: 1.7; color: var(--text); }
.desc p { margin: 0 0 14px; }
.desc ul { margin: 0 0 18px; padding: 0; list-style: none; }

.desc li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 22px;
}

.desc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .72em;
  width: 10px;
  height: 2px;
  background: var(--red);
}

.desc strong { color: var(--ink); }

.desc h4 {
  margin: 28px 0 12px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
    color: var(--ink);
  word-spacing: .05em;
}

.desc > h4:first-child { margin-top: 0; }
.desc li h4 { margin: 0; font-family: var(--body); font-size: inherit; letter-spacing: 0; text-transform: none; }

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}


/* 15b Authorised distributor (badge, section, footer line)
   ========================================================================== */
.dist-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  padding: 10px 22px 10px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
}

.dist-badge img { width: auto; height: 46px; }

.dist-badge span {
  display: flex;
  flex-direction: column;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, .16);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
}

.dist-badge small {
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  color: #ff6b62;
}

.dist-badge-sm { margin-bottom: 0; padding: 7px 16px 7px 10px; }
.dist-badge-sm img { height: 34px; }
.dist-badge-sm span { font-size: 15px; padding-left: 12px; }

.page-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 26px;
}

.page-hero-top .crumbs { margin-bottom: 0; }

.dist { background: #fff; }

.dist-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.dist-logo {
  position: relative;
  display: grid;
  place-items: center;
  gap: 24px;
  aspect-ratio: 1 / .9;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(215, 34, 33, .08), transparent 70%),
    var(--paper);
}

.dist-logo img { width: min(70%, 300px); height: auto; }

.dist-logo span {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}

.dist-copy h2 { margin-bottom: 22px; font-size: clamp(30px, 3.6vw, 50px); }
.dist-copy > p:not(.kicker) { max-width: 600px; margin: 0; font-size: 17px; color: var(--muted); }
.dist-copy strong { color: var(--ink); }

.certs { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.cert {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 260px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}

.cert:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(14, 14, 16, .35); }

.cert-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.cert > span:nth-child(2) { flex: 1; line-height: 1.3; }
.cert small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.cert svg { width: 20px; height: 20px; color: var(--red); }

.foot-dist {
  margin-top: 18px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.foot-dist strong { color: #fff; font-weight: 700; white-space: nowrap; }


/* 15c About page + credentials
   ========================================================================== */
.section-lede.on-dark { color: var(--text-on-dark); }

.page-hero h1 em { font-style: normal; color: var(--red); }
.about-hero { padding-bottom: clamp(48px, 6vw, 80px); }
.about-hero h1 { max-width: 980px; }
.about-hero .page-lede { max-width: 720px; }

/* Credential row (About hero + home teaser) */
.creds {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.creds li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 24px 4px 0;
}

.creds li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }

.creds b {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
  color: #fff;
}

.creds span {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.creds-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.creds-band h2 { margin-bottom: 22px; }
.creds-band .section-lede { max-width: 520px; }

.creds-lg {
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--line-dark);
}

.creds-lg li,
.creds-lg li + li {
  padding: 34px 30px;
  border-left: 0;
  background: var(--graphite);
}

.creds-lg b { font-size: clamp(26px, 2.3vw, 38px); white-space: nowrap; }
.creds-lg li:last-child { background: var(--red); }
.creds-lg li:last-child span { color: rgba(255, 255, 255, .8); }

/* Who we are */
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
}

.about-intro-copy p { margin: 0 0 18px; font-size: 17px; color: var(--text); }

.about-intro-copy .lead {
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.005em;
  word-spacing: .05em;
  color: var(--ink);
}

/* Ownership cards */
.own-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.own-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 30px 28px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--graphite-2), var(--graphite));
}

.own-card-red { background: var(--red); border-color: var(--red); }

.own-k {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ff6b62;
}

.own-card-red .own-k { color: rgba(255, 255, 255, .8); }

.own-card strong {
  margin: 44px 0 0;
  font-family: var(--display);
  font-size: clamp(38px, 3.6vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
  color: #fff;
}

.own-card p { margin: auto 0 0; padding-top: 22px; font-size: 15px; color: var(--text-on-dark); }
.own-card-red strong { font-size: clamp(30px, 2.7vw, 42px); white-space: nowrap; }
.own-card-red p { color: rgba(255, 255, 255, .9); }

.own-note {
  max-width: 820px;
  margin: 48px 0 0;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.35;
  word-spacing: .05em;
  color: #fff;
}

/* Products & services */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.svc { padding: 34px 32px 8px 0; }
.svc + .svc { padding-left: 32px; border-left: 1px solid var(--line); }

.svc-n {
  display: block;
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--red);
}

.svc h3 { margin-bottom: 20px; font-size: clamp(22px, 2vw, 28px); }

.svc ul { margin: 0; padding: 0; list-style: none; }

.svc li {
  position: relative;
  padding: 11px 0 11px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--text);
}

.svc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.25em;
  width: 12px;
  height: 2px;
  background: var(--red);
}

/* Why partner */
.partner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.partner-head { position: sticky; top: calc(var(--header-h) + 32px); }

.partner-list { margin: 0; padding: 0; list-style: none; counter-reset: partner; }

.partner-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  counter-increment: partner;
}

.partner-list li:last-child { border-bottom: 1px solid var(--line); }

.partner-list li::before {
  content: "0" counter(partner);
  grid-row: span 2;
  padding-top: 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--red);
}

.partner-list h3 { font-size: clamp(20px, 1.8vw, 24px); }
.partner-list p { margin: 6px 0 0; font-size: 16px; color: var(--muted); }

/* Commitment */
.commit {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: #fff;
}

.commit-inner { position: relative; padding-block: clamp(80px, 10vw, 140px); }

.commit blockquote { max-width: 1040px; margin: 0; }

.commit blockquote p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
  word-spacing: .06em;
  text-wrap: balance;
}

.commit-sub {
  max-width: 640px;
  margin: 32px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, .88);
}

.commit .kicker span { background: #fff; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.contact-grid h2 { margin-bottom: 20px; }

.contact-cards { display: flex; flex-direction: column; gap: 14px; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--graphite-2), var(--graphite));
  color: #fff;
  text-decoration: none;
  transition: border-color .25s, transform .3s var(--ease);
}

.contact-card:hover { border-color: rgba(215, 34, 33, .7); transform: translateX(4px); }

.cc-icon {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(215, 34, 33, .14);
  color: #ff6b62;
}

.cc-icon svg { width: 22px; height: 22px; }

.cc-text { display: flex; flex: 1; flex-direction: column; min-width: 0; }

.cc-text small {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.cc-text [data-value] {
  font-family: var(--display);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: .005em;
  overflow-wrap: anywhere;
}

.cc-go { width: 22px; height: 22px; color: var(--muted-on-dark); transition: color .25s; }
.contact-card:hover .cc-go { color: #fff; }

.contact-quote { align-self: flex-start; margin-top: 10px; }


/* 16 Motion
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* 17 Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why:nth-child(3) { padding-left: 0; border-left: 0; }
  .why:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }

  .brand img { height: 40px; }

  /* Mobile menu */
  .menu-toggle { display: block; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px var(--gutter) 40px;
    background: var(--black);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }

  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: var(--black); }

  .nav > a:not(.btn) {
    padding: 18px 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--display);
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -.005em;
        color: #fff;
  }

  .nav > a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 28px; padding: 18px; }

  /* Hero stacks */
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 56px 24px; }
  .hero-stage { max-width: 560px; width: 100%; margin: 0 auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div:nth-child(2) { border-right: 0; }
  .hero-stats div:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line-dark); }
  .hero-stats div:nth-child(4) { border-top: 1px solid var(--line-dark); }

  .section-head.split { flex-direction: column; align-items: flex-start; gap: 20px; }

  .cat-grid { grid-template-columns: 1fr; }
  .cat, .cat:nth-child(n) { grid-column: auto; min-height: 340px; }

  .dist-grid { grid-template-columns: 1fr; }
  .dist-logo { aspect-ratio: auto; min-height: 260px; padding: 40px 24px 76px; }

  .creds-band-inner, .about-intro, .partner, .contact-grid { grid-template-columns: 1fr; }
  .partner-head { position: static; }
  .own-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc, .svc + .svc { padding: 28px 0 12px; border-left: 0; }
  .svc + .svc { border-top: 1px solid var(--line); }

  .cta-inner { grid-template-columns: 1fr; }

  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }

  /* Products page */
  .catalogue { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .sidebar { position: static; }
  .bigsearch kbd { display: none; }

  .pd { max-height: calc(100vh - 24px); width: calc(100vw - 24px); overflow-y: auto; }
  .pd-grid { grid-template-columns: 1fr; height: auto; }
  .pd-img { height: 300px; padding: 32px; }
  .pd-img img { max-height: 236px; }
  .pd-content { overflow: visible; padding: 30px 24px 32px; }
}

@media (max-width: 600px) {
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-stats div { padding: 20px 0 24px 18px; }
  .hero-stats div:nth-child(odd) { padding-left: 0; }

  .creds { grid-template-columns: 1fr 1fr; }
  .creds li:nth-child(3) { padding-left: 0; border-left: 0; }
  .creds li:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
  .creds-lg li:nth-child(n) { padding: 24px 20px; border-top: 0; }
  .own-grid { grid-template-columns: 1fr; }
  .own-card { min-height: 0; }
  .own-card strong { margin-top: 28px; }
  .partner-list li { grid-template-columns: 40px 1fr; column-gap: 12px; }
  .contact-quote { align-self: stretch; }

  .why-grid { grid-template-columns: 1fr; }
  .why, .why + .why { padding: 28px 0 24px; border-left: 0; }
  .why + .why { border-top: 1px solid var(--line); }

  .rail { grid-auto-columns: 78%; gap: 14px; }
  .rail-controls { display: none; }

  .cards { gap: 12px; }
  .card-img { height: 170px; padding: 16px 12px 12px; }
  .card-body { padding: 14px; }
  .card-name { font-size: 15.5px; }
  .card-excerpt, .card-meta { display: none; }
  .card-go { margin-top: 12px; font-size: 11px; }
  .cat-pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .pill { flex: 0 0 auto; }

  .dist-badge { gap: 12px; padding: 8px 14px 8px 8px; }
  .dist-badge img { height: 36px; }
  .dist-badge span { padding-left: 12px; font-size: 14px; }
  .cert { min-width: 0; flex: 1 1 100%; }

  .pd-specs { grid-template-columns: 1fr; }
  .pd-actions .btn { flex: 1 1 100%; }

  .foot-base { flex-direction: column; gap: 6px; }
}
