/* ==========================================================================
   Ubuntu Chemicals — components

   Contents
   --------
   1.  Actions ............ .btn, .tlink
   2.  Section header ..... .shead              (opens every major section)
   3.  Chrome ............. .topbar, .header, .logo, .nav, .qpill, .menu
   4.  Mobile action bar .. .mbar               (fixed, under 760px)
   5.  Hero ............... .hero, .speccard
   6.  Stat strip ......... .statstrip, .marquee
   7.  Divisions .......... .divisions, .division
   8.  Sector selector .... .selector
   9.  Products ........... .prodgrid, .prod, .rail, .filterbar
   10. Product detail ..... .breadcrumb, .pdp, .spectable, .sizepick
   11. Content blocks ..... .split, .numlist, .steps, .feature, .proof, .ctaband
   12. Forms .............. .form, .field, .contactlist
   13. Quote basket ....... .basket, .qty, .toast
   14. Sectors page ....... .sectorlist, .sector
   15. Footer ............. .footer
   16. Utilities .......... .u-*

   Media queries sit with the component they modify, never in a block at the
   end. Breakpoints in use: 400 / 620 / 760 / 900 / 1000 / 1080.
   ========================================================================== */

/* ================================================================ actions === */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--dur-1) var(--ease-out),
    border-color var(--dur-1) var(--ease-out),
    color var(--dur-1) var(--ease-out),
    transform var(--dur-1) var(--ease-out);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--u-green-500);
  --btn-bd: var(--u-green-500);
  --btn-fg: #fff;
}
.btn--primary:hover { --btn-bg: var(--u-green-600); --btn-bd: var(--u-green-600); }

.btn--ink:hover { --btn-bg: var(--u-navy-700); --btn-bd: var(--u-navy-700); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}
.btn--outline:hover { --btn-bd: var(--ink); --btn-bg: transparent; }

.btn--light {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  --btn-bd: var(--line-dark-strong);
}
.btn--light:hover { --btn-bg: rgba(255,255,255,.08); --btn-bd: var(--on-dark); }

.btn--sm { padding: 11px 16px; font-size: 0.875rem; }
.btn--block { width: 100%; }

.btn__arrow {
  transition: transform var(--dur-2) var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* Text link with an animated underline. */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 0% 1.5px;
  background-position: 0 100%;
  transition: background-size var(--dur-2) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.tlink:hover { background-size: 100% 1.5px; }
.tlink svg { transition: transform var(--dur-2) var(--ease-out); }
.tlink:hover svg { transform: translateX(3px); }
.on-dark .tlink { color: var(--on-dark); }

/* ================================================================== icons === */

/* All icons come from the inline sprite at the top of <body>. Stroke weight
   is nudged per size so the apparent weight stays constant — a 1.5 stroke on
   a 24 grid gets thin at 14px and heavy at 22px. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.16em;
}

.ic--xs { width: 13px; height: 13px; stroke-width: 1.9; }
.ic--sm { width: 15px; height: 15px; stroke-width: 1.7; }
.ic--lg { width: 22px; height: 22px; stroke-width: 1.35; }
.ic--xl { width: 26px; height: 26px; stroke-width: 1.25; }

/* ========================================================= section header === */

/* Every major section opens with the same block: eyebrow, title, and an
   optional action on the right. Keeping it one component is what makes the
   page rhythm read as deliberate rather than assembled. */
.shead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-5);
  margin-bottom: var(--sp-7);
}

.shead__main { min-width: 0; }
.shead__aside { flex: none; }

@media (max-width: 720px) {
  .shead {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
  }
}

/* ================================================================= chrome === */

.topbar {
  background: var(--u-navy-900);
  color: var(--on-dark-2);
  font-size: var(--fs-xs);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: 38px;
  padding-block: 6px;
}

.topbar__list { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { opacity: .55; flex: none; }
.topbar a:hover { color: #fff; }

.topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--u-green-400); flex: none; }

@media (max-width: 900px) { .topbar { display: none; } }

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper); /* fallback for browsers without color-mix() */
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  height: var(--header-h);
}

/* --- Logo lockup ---------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }

.logo__mark {
  width: 40px; height: 40px;
  border-radius: var(--radius-2);
  background: var(--u-navy-700);
  display: grid;
  place-items: center;
  flex: none;
}
.logo__mark img { width: 30px; height: 30px; }

.logo__type { display: grid; gap: 1px; }

.logo__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.24rem;
  letter-spacing: -0.015em;
  line-height: 1;
  font-variation-settings: 'wdth' 110;
}

.logo__sub {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1;
}

.on-dark .logo__mark { background: rgba(255,255,255,.07); }
.on-dark .logo__sub { color: var(--on-dark-3); }

@media (max-width: 620px) {
  .logo__mark { width: 34px; height: 34px; }
  .logo__mark img { width: 26px; height: 26px; }
  .logo__name { font-size: 1.05rem; }
  .logo__sub { font-size: 0.5rem; letter-spacing: 0.12em; }
}

/* Below this the wordmark alone has to carry it. */
@media (max-width: 400px) {
  .logo__sub { display: none; }
}

/* --- Primary nav ---------------------------------------------------------- */
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }

.nav__link {
  position: relative;
  padding: 9px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius-2);
  transition: color var(--dur-1) var(--ease-out);
}
.nav__link:hover { color: var(--ink); }

.nav__link::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px;
  bottom: 2px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current='page'] { color: var(--ink); font-weight: 600; }
.nav__link[aria-current='page']::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: var(--sp-5); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .header__actions { margin-left: auto; }
}

/* --- Quote basket pill ---------------------------------------------------- */
.qpill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-2);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-display);
  transition: border-color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out);
}
.qpill:hover { border-color: var(--ink); }

.qpill__count {
  min-width: 21px; height: 21px;
  padding-inline: 5px;
  display: grid; place-items: center;
  border-radius: var(--radius-pill);
  background: var(--u-green-500);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
}
.qpill[data-empty='true'] .qpill__count { background: var(--surface-3); color: var(--ink-3); }
.qpill.is-bump { animation: bump var(--dur-3) var(--ease-out); }

@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.07); }
  100% { transform: scale(1); }
}

@media (max-width: 620px) { .qpill__label { display: none; } }

/* On narrow screens the burger menu and the floating WhatsApp button carry
   the calls to action; the header bar keeps only the quote counter. */
@media (max-width: 760px) {
  .header__actions > .btn { display: none; }
  .header__actions { gap: 8px; margin-left: auto; }
  .header__inner { gap: var(--sp-3); }
}

/* --- Burger + mobile drawer ---------------------------------------------- */
.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-2);
  place-items: center;
}
.burger span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1) linear;
}
.burger span + span { margin-top: 4px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1080px) { .burger { display: grid; } }

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--u-navy-800);
  color: var(--on-dark);
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-2) var(--ease-out), visibility var(--dur-2);
}
/* visibility switches on instantly when opening (it still waits out the fade
   when closing), so the first menu link can take focus the moment the menu
   opens rather than focus staying on the burger hidden underneath. */
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur-2) var(--ease-out), visibility 0s;
}

.menu__head {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  border-bottom: 1px solid var(--line-dark);
}
.menu__close {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-2);
  color: var(--on-dark);
}

.menu__nav { padding-block: var(--sp-6); overflow-y: auto; }

.menu__link {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  padding-block: 14px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(14px);
}
.menu.is-open .menu__link {
  animation: menuIn 420ms var(--ease-out) forwards;
  animation-delay: calc(60ms * var(--i, 0) + 80ms);
}
@keyframes menuIn { to { opacity: 1; transform: none; } }

.menu__idx {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--u-green-400);
  letter-spacing: 0.1em;
}

.menu__link[aria-current='page'] { color: var(--u-green-400); }
.menu__link[aria-current='page'] .menu__idx { color: var(--on-dark-3); }

.menu__count {
  align-self: center;
  min-width: 24px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--u-green-500);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.menu__foot {
  padding-block: var(--sp-5) var(--sp-6);
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: var(--sp-4);
}
.menu__contacts { display: grid; gap: 6px; font-size: var(--fs-sm); color: var(--on-dark-2); }
.menu__contacts a:hover { color: #fff; }

/* ====================================================== mobile action bar === */

/* Phones get a persistent bar instead of a floating bubble: the three things
   a visitor actually wants are always one thumb-reach away, and nothing
   floats over the content they are reading. */
.mbar { display: none; }

@media (max-width: 760px) {
  .mbar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 58;
    height: calc(var(--mbar-h) + var(--safe-b));
    padding-bottom: var(--safe-b);
    background: var(--u-navy-900);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    transition: transform var(--dur-2) var(--ease-out);
  }

  /* Slides away while the full-screen menu is open. */
  body.is-locked .mbar { transform: translateY(100%); }

  .mbar__item {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    color: var(--on-dark-2);
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out);
  }
  .mbar__item + .mbar__item { border-left: 1px solid rgba(255, 255, 255, 0.1); }
  .mbar__item:active { background: rgba(255, 255, 255, 0.07); color: #fff; }
  .mbar__item svg { opacity: 0.9; }

  .mbar__item--accent { color: #fff; }
  .mbar__item--accent svg { color: var(--u-green-400); opacity: 1; }

  .mbar__badge {
    position: absolute;
    top: 7px;
    left: 50%;
    margin-left: 5px;
    min-width: 17px;
    height: 17px;
    padding-inline: 4px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-pill);
    background: var(--u-green-500);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    font-variant-numeric: tabular-nums;
  }
  .mbar__badge[data-empty='true'] { background: rgba(255, 255, 255, 0.16); color: var(--on-dark-2); }

  /* The bar's knock-on rules for the toast and the floating WhatsApp bubble
     live with those components further down (section 13). They must come
     after the base rules they override — same specificity, later wins. */
}

/* =================================================================== hero === */

.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 84px);
  padding-bottom: 0;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: clamp(28px, 3.4vw, 56px);
  align-items: end;
}

.hero__copy { padding-bottom: clamp(36px, 5vw, 76px); position: relative; z-index: 2; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: var(--sp-5);
}
.hero__kicker b { color: var(--ink); font-weight: 600; }

.hero__title {
  font-size: var(--fs-display-1);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-5);
}
.hero__title em {
  font-style: normal;
  color: var(--u-green-500);
}

.hero__lead { max-width: 46ch; margin-bottom: var(--sp-6); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: var(--sp-7); }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5) var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.hero__fact { display: grid; gap: 3px; }
.hero__fact dt {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__fact dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
}

/* Image panel bleeds out of the wrap to the right edge of the viewport.
   The offset is the distance from the wrap's content edge to the viewport
   edge: half the leftover width, plus the gutter. */
.hero__media {
  position: relative;
  align-self: stretch;
  min-height: clamp(360px, 52vw, 620px);
  margin-right: calc(((100vw - min(100vw, var(--wrap))) / 2 + var(--gutter)) * -1);
}

.hero__figure {
  position: relative;
  height: 100%;
  border-radius: var(--radius-3) 0 0 0;
  overflow: hidden;
  background: var(--surface-2);
}
.hero__figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

/* Floating spec card over the image. */
.speccard {
  position: absolute;
  left: clamp(-28px, -2vw, 0px);
  bottom: clamp(24px, 4vw, 48px);
  z-index: 3;
  width: min(280px, 74%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-3);
  padding: 18px 20px;
}
.speccard__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.speccard__title { font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; }
.speccard__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-size: var(--fs-sm);
}
.speccard__row + .speccard__row { margin-top: 8px; }
.speccard__row dt { color: var(--ink-3); font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; }
.speccard__row dd { margin: 0; font-weight: 600; }

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__scroll i {
  display: block; width: 1px; height: 22px; background: var(--line-strong);
  animation: scrollHint 2.2s var(--ease-in-out) infinite;
  transform-origin: top;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.3); opacity: .4; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__media { margin-inline: calc(var(--gutter) * -1); min-height: clamp(340px, 78vw, 520px); }
  .hero__figure { border-radius: 0; }
  .speccard { left: var(--gutter); }
  .hero__scroll { display: none; }
}

/* On phones the spec card stops floating over the photograph and becomes a
   full-width strip beneath it — nothing obscures the product, and the facts
   sit on a clean baseline. */
@media (max-width: 620px) {
  .hero { padding-top: var(--sp-6); }
  .hero__copy { padding-bottom: var(--sp-6); }
  .hero__kicker { font-size: 0.625rem; letter-spacing: 0.1em; padding: 6px 12px 6px 9px; }
  .hero__lead { margin-bottom: var(--sp-5); }
  .hero__actions { margin-bottom: var(--sp-6); }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-4) var(--sp-5);
  }
  .hero__fact:last-child { grid-column: 1 / -1; }
  .hero__fact dd { font-size: 0.9375rem; }

  .hero__media {
    min-height: 0;
    display: grid;
    gap: 0;
  }
  .hero__figure { aspect-ratio: 5 / 4; height: auto; }

  .speccard {
    position: static;
    width: auto;
    box-shadow: none;
    border-radius: 0;
    border-inline: 0;
    border-top: 0;
    padding: 16px var(--gutter) 18px;
  }
}

/* ============================================================ stat strip === */

.statstrip { background: var(--u-navy-800); color: var(--on-dark); }

.statstrip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--line-dark);
}
.statstrip__cell {
  padding: clamp(26px, 3.4vw, 44px) clamp(18px, 2.2vw, 32px);
  border-right: 1px solid var(--line-dark);
}
.statstrip__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.statstrip__num span { color: var(--u-green-400); }
.statstrip__label {
  margin-top: 10px;
  font-size: var(--fs-sm);
  color: var(--on-dark-2);
  max-width: 24ch;
}

@media (max-width: 860px) {
  .statstrip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statstrip__cell { border-bottom: 1px solid var(--line-dark); }
  /* The bottom row already has the marquee rule under it. */
  .statstrip__cell:nth-last-child(-n + 2) { border-bottom: 0; }
}

@media (max-width: 620px) {
  .statstrip__cell { padding: 22px 16px; }
  .statstrip__label { font-size: var(--fs-xs); line-height: 1.45; }
}

/* --- Sector marquee ------------------------------------------------------- */
.marquee {
  border-top: 1px solid var(--line-dark);
  overflow: hidden;
  padding-block: 15px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-inline: 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-3);
  white-space: nowrap;
}
.marquee__item::after {
  content: '';
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--u-green-500);
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

@media (max-width: 620px) {
  .marquee { padding-block: 12px; }
  .marquee__item { font-size: 0.625rem; padding-inline: 12px; gap: 12px; }
}

/* ============================================================== divisions === */

.divisions { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }

.division {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(0, 0.9fr) auto;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: clamp(26px, 3.2vw, 44px) 0;
  background: var(--paper);
  transition: background var(--dur-2) var(--ease-out);
}
.division:hover { background: var(--surface); }

.division__idx {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  color: var(--ink-3);
  align-self: start;
  padding-top: 6px;
}

.division__body { max-width: 46ch; }
.division__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  margin-block: 10px 10px;
}
.division__title mark { background: none; color: var(--tag-colour); }

.division__thumbs { display: flex; gap: 10px; }
.division__thumb {
  width: clamp(64px, 7vw, 96px);
  aspect-ratio: 1;
  border-radius: var(--radius-2);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}
.division__thumb img { width: 100%; height: 100%; object-fit: cover; }

.division__go {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  flex: none;
  transition: background var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.division:hover .division__go {
  background: var(--tag-colour);
  border-color: var(--tag-colour);
  color: #fff;
}
.division__go svg { transition: transform var(--dur-2) var(--ease-out); }
.division:hover .division__go svg { transform: translate(2px, -2px); }

.division__link { position: absolute; inset: 0; }

@media (max-width: 1000px) {
  .division { grid-template-columns: 1fr auto; gap: var(--sp-4) var(--sp-5); align-items: start; }
  .division__idx { grid-column: 1 / -1; padding-top: 0; }
  .division__thumbs { grid-column: 1 / -1; }
  .division__go { grid-row: 2; grid-column: 2; }
}

/* On phones the row becomes a stacked card and the circular arrow becomes a
   full-width footer row — a proper tap target instead of a 54px circle. */
@media (max-width: 620px) {
  .division {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    padding-block: var(--sp-6);
  }
  .division__title { font-size: 1.5rem; margin-block: 8px; }
  .division__thumbs { grid-column: auto; }
  .division__thumb { width: calc((100% - 20px) / 3); }

  .division__go {
    grid-row: auto;
    grid-column: auto;
    width: 100%;
    height: auto;
    border-radius: var(--radius-2);
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--ink);
  }
  .division__go::before { content: 'View the range'; }
  .division:hover .division__go { background: transparent; border-color: var(--line-strong); color: var(--ink); }
  .division:active .division__go { background: var(--tag-colour); border-color: var(--tag-colour); color: #fff; }
}

/* ============================================================== selector === */

.selector {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: start;
}

.selector__list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-2); overflow: hidden; }

.selector__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  background: var(--paper);
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink-2);
  transition: background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.selector__btnlabel { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.selector__btnlabel .ic { opacity: 0.55; }
.selector__btn[aria-selected='true'] .ic { opacity: 1; color: var(--u-green-400); }

/* flex, not inline-grid, so the badge takes its own line above the tag */
.selector__ico,
.sector__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  margin-bottom: var(--sp-4);
  color: var(--ink);
}

.selector__btn:hover { background: var(--surface); color: var(--ink); }
.selector__btn[aria-selected='true'] {
  background: var(--u-navy-700);
  color: #fff;
}
.selector__btn span.mono { opacity: .5; }
.selector__btn[aria-selected='true'] span.mono { opacity: .7; }

.selector__panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  background: var(--surface);
  overflow: hidden;
}

.selector__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: var(--sp-5);
  align-items: center;
  padding: clamp(22px, 2.6vw, 32px);
  border-bottom: 1px solid var(--line);
}
.selector__headfig { border-radius: var(--radius-2); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.selector__headfig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }

.selector__kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); }
.selector__item {
  display: flex; gap: 12px; align-items: center;
  padding: 14px clamp(18px, 2vw, 22px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.selector__item img {
  width: 42px; height: 42px; flex: none;
  border-radius: var(--radius-1);
  object-fit: cover;
  background: var(--surface-2);
}

.selector__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  padding: clamp(18px, 2.2vw, 26px) clamp(22px, 2.6vw, 32px);
}

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

  /* The sector list turns into a swipeable chip row that bleeds to the
     gutter, with the edges faded so it is obviously scrollable. */
  .selector__list {
    display: flex;
    gap: 8px;
    background: none;
    border: 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 6px;
    scroll-padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  }
  .selector__list::-webkit-scrollbar { display: none; }

  .selector__btn {
    flex: none;
    scroll-snap-align: start;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    padding: 10px 16px;
    white-space: nowrap;
  }
  .selector__btn span.mono { display: none; }
  .selector__head { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .selector__kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .selector__item { padding: 11px 12px; font-size: var(--fs-xs); gap: 9px; }
  .selector__item img { width: 34px; height: 34px; }
  .selector__foot { gap: var(--sp-3); }
  .selector__foot .btn { flex: 1 1 auto; }
}

/* ============================================================== products === */

.prodgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.prod {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transition: background var(--dur-2) var(--ease-out);
}
.prod:hover { background: var(--surface); }

.prod__figure {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
}
.prod__figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-3) var(--ease-out);
}
.prod:hover .prod__figure img { transform: scale(1.035); }

.prod__flag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 9px;
  border-radius: var(--radius-1);
  background: var(--tag-colour, var(--accent));
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prod__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.018em;
  line-height: 1.25;
}
.prod__blurb { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.5; }
.prod__sizes { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 5px; }
.prod__size {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-1);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-2);
}

.prod__foot {
  display: flex; align-items: center; gap: 8px;
  padding: 0 18px 18px;
}
.prod__link { position: absolute; inset: 0; z-index: 1; }
.prod__add { position: relative; z-index: 2; }

.prod__add.is-added {
  --btn-bg: var(--u-green-500);
  --btn-bd: var(--u-green-500);
  --btn-fg: #fff;
}

/* On phones the grid drops to two scannable columns and the blurb goes —
   37 lines is a lot to scroll past one card at a time. */
@media (max-width: 620px) {
  .prodgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod__body { padding: 12px 13px 14px; gap: 5px; }
  .prod__foot { padding: 0 13px 14px; }
  .prod__name { font-size: 0.9375rem; }
  .prod__blurb { display: none; }
  .prod__add { width: 100%; padding-inline: 10px; }
}

/* Horizontal rail variant used on the home page. */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(258px, 1fr);
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.rail > * { scroll-snap-align: start; }
.rail .prod {
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  overflow: hidden;
  background: var(--surface);
}

.railnav { display: flex; gap: 8px; }
.railnav button {
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.railnav button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

@media (max-width: 760px) {
  .railnav { display: none; }
  /* Cards bleed to the gutter and the next one peeks, so it reads as
     swipeable without needing arrows. */
  .rail {
    grid-auto-columns: minmax(212px, 74%);
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
}

/* --------------------------------------------------------- filter bar ----- */

.filterbar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--paper); /* fallback for browsers without color-mix() */
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
  margin-bottom: var(--sp-7);
}
.filterbar__inner {
  display: flex; align-items: center; gap: var(--sp-4);
  padding-block: 14px;
  flex-wrap: wrap;
}
.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: all var(--dur-1) var(--ease-out);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed='true'] {
  background: var(--ink); border-color: var(--ink); color: #fff;
}
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tag-colour, var(--ink-3)); }

.search {
  position: relative;
  margin-left: auto;
  min-width: 220px;
  flex: 0 1 300px;
}
.search input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-2);
  background: var(--surface);
  font-size: 0.9375rem;
}
.search input::placeholder { color: var(--ink-3); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }

.resultcount { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-3); }

@media (max-width: 720px) {
  .search { margin-left: 0; flex-basis: 100%; order: -1; }
  .filterbar__inner { gap: var(--sp-3); padding-block: 12px; }
  .resultcount { margin-left: auto; }
}

/* Range filters become a single swipeable row rather than wrapping onto two
   lines and pushing the grid down the page. */
@media (max-width: 620px) {
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

.empty {
  padding: var(--sp-9) var(--sp-5);
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-2);
}

/* ================================================================== PDP ==== */

.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-3);
  padding-block: var(--sp-5);
}
.breadcrumb a:hover { color: var(--ink); }

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

.pdp__figure {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  overflow: hidden;
  background: var(--surface);
}
.pdp__figure img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.pdp__title { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.02; margin-block: 12px 16px; }

.spectable { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.spectable th, .spectable td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spectable th {
  width: 40%;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 400;
}

.sizepick { display: flex; flex-wrap: wrap; gap: 8px; }
.sizepick button {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-2);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  transition: all var(--dur-1) var(--ease-out);
}
.sizepick button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }

.usage { display: grid; gap: 10px; }
.usage li { display: flex; gap: 11px; font-size: var(--fs-sm); color: var(--ink-2); }
.usage li::before {
  content: '';
  flex: none; margin-top: 8px;
  width: 6px; height: 6px;
  background: var(--tag-colour, var(--accent));
  border-radius: 50%;
}

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

@media (max-width: 620px) {
  .pdp { gap: var(--sp-6); }
  .pdp__title { margin-block: 10px 12px; }
  .pdp__figure { margin-inline: calc(var(--gutter) * -1); border-inline: 0; border-radius: 0; }
  .sizepick button { flex: 1 1 auto; min-width: 84px; }
  .breadcrumb { padding-block: var(--sp-4); }
}

/* --------------------------------------------------------- loading state -- */

/* Placeholder cards hold the grid open until the catalogue renders, so the
   page never jumps. Hidden without JS, where the real content never arrives
   and the <noscript> message takes over. */
.prod--skel { display: none; pointer-events: none; }
.js .prod--skel { display: flex; }

.prod--skel .prod__figure { background: var(--surface-2); animation: skelPulse 1.4s var(--ease-in-out) infinite; }
.prod--skel .prod__body span {
  display: block;
  height: 11px;
  border-radius: var(--radius-1);
  background: var(--surface-2);
  animation: skelPulse 1.4s var(--ease-in-out) infinite;
}
.prod--skel .prod__body span:nth-child(1) { width: 40%; animation-delay: 60ms; }
.prod--skel .prod__body span:nth-child(2) { width: 78%; height: 15px; animation-delay: 120ms; }
.prod--skel .prod__body span:nth-child(3) { width: 54%; animation-delay: 180ms; }

@keyframes skelPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .prod--skel .prod__figure,
  .prod--skel .prod__body span { animation: none; }
}

/* ============================================================ content blocks */

/* Two-column: sticky heading + numbered list */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 80px);
  align-items: start;
}
.split__sticky { position: sticky; top: calc(var(--header-h) + 40px); }

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

.numlist { border-top: 1px solid var(--line); }
.numlist__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: var(--sp-5);
  padding-block: clamp(22px, 2.6vw, 30px);
  border-bottom: 1px solid var(--line);
}
.numlist__n {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 5px;
}
.numlist__t { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.02em; margin-bottom: 7px; }
.numlist__d { font-size: var(--fs-sm); color: var(--ink-2); max-width: 62ch; }
.on-dark .numlist { border-color: var(--line-dark); }
.on-dark .numlist__item { border-color: var(--line-dark); }
.on-dark .numlist__d { color: var(--on-dark-2); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step { background: var(--paper); padding: clamp(24px, 2.8vw, 34px); }
.step__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--surface-3);
  margin-bottom: var(--sp-5);
}
.step__t { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; margin-bottom: 8px; letter-spacing: -0.015em; }
.step__d { font-size: var(--fs-sm); color: var(--ink-2); }

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 620px) {
  .step { padding: 20px 18px; }
  .step__n { font-size: 1.75rem; margin-bottom: var(--sp-4); }
  .step__d { font-size: var(--fs-xs); line-height: 1.5; }
}

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

/* Media + copy feature block */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.feature--flip .feature__media { order: 2; }
.feature__media { position: relative; border-radius: var(--radius-3); overflow: hidden; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }

.feature__badge {
  position: absolute;
  right: 18px; bottom: 18px;
  background: var(--surface);
  border-radius: var(--radius-2);
  padding: 13px 16px;
  box-shadow: var(--shadow-2);
  display: grid; gap: 2px;
}
.feature__badge strong { font-family: var(--font-display); font-size: 1rem; letter-spacing: -0.02em; }
.feature__badge span { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
}

/* Credential ticks */
.ticks { display: grid; gap: 11px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: var(--fs-sm); }
.ticks svg { flex: none; margin-top: 3px; color: var(--u-green-500); }
.on-dark .ticks svg { color: var(--u-green-400); }

/* Quote / proof band */
.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.proof__fig { border-radius: var(--radius-3); overflow: hidden; }
.proof__fig img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.proof__quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  line-height: 1.24;
  letter-spacing: -0.026em;
  text-wrap: balance;
}
.proof__by { margin-top: var(--sp-5); display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); color: var(--on-dark-2); }
.proof__by i { display: block; width: 26px; height: 1px; background: var(--u-green-400); }

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

/* CTA band */
.ctaband {
  position: relative;
  background: var(--u-green-600);
  color: #fff;
  border-radius: var(--radius-3);
  padding: clamp(32px, 4.6vw, 66px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sp-6);
  align-items: center;
  overflow: hidden;
}
.ctaband__t { font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.04; letter-spacing: -0.03em; max-width: 20ch; }
.ctaband__p { margin-top: 14px; color: rgba(255,255,255,.82); max-width: 44ch; font-size: var(--fs-sm); }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ctaband .btn--outline { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.ctaband .btn--outline:hover { --btn-bd: #fff; --btn-bg: rgba(255,255,255,.1); }
.ctaband .btn--ink { --btn-bg: #fff; --btn-fg: var(--u-green-700); --btn-bd: #fff; }
.ctaband .btn--ink:hover { --btn-bg: var(--paper); --btn-bd: var(--paper); }

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

@media (max-width: 620px) {
  .ctaband { padding: 26px 22px 28px; }
  .ctaband__actions { width: 100%; }
  .ctaband__actions .btn { flex: 1 1 auto; }
  .numlist__item { grid-template-columns: 38px minmax(0, 1fr); gap: var(--sp-4); padding-block: var(--sp-5); }
  .numlist__t { font-size: 1.0625rem; }
  .numlist__d { font-size: var(--fs-xs); line-height: 1.55; }
  .proof__quote { font-size: 1.25rem; }
  .feature__badge { right: 12px; bottom: 12px; padding: 10px 13px; }
}

/* Page head (interior pages) */
.pagehead { padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(28px, 4vw, 56px); }
.pagehead__title { font-size: var(--fs-display-2); line-height: 1.0; margin-bottom: var(--sp-5); }
.pagehead__meta { display: flex; flex-wrap: wrap; gap: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--line); }

@media (max-width: 620px) {
  .pagehead { padding-top: var(--sp-6); padding-bottom: var(--sp-6); }
  .pagehead__title { margin-bottom: var(--sp-4); }
  .pagehead__meta { gap: 10px var(--sp-5); font-size: 0.625rem; }
}

/* Accordion */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  padding-block: 20px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
}
.acc__icon { position: relative; width: 14px; height: 14px; flex: none; }
.acc__icon::before, .acc__icon::after {
  content: ''; position: absolute; background: var(--ink);
  left: 0; top: 50%; width: 14px; height: 1.5px; transform: translateY(-50%);
  transition: transform var(--dur-2) var(--ease-out);
}
.acc__icon::after { transform: translateY(-50%) rotate(90deg); }
.acc__btn[aria-expanded='true'] .acc__icon::after { transform: translateY(-50%) rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-2) var(--ease-out); }
.acc__panel > div { overflow: hidden; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__body { padding-bottom: 22px; color: var(--ink-2); font-size: var(--fs-sm); max-width: 70ch; }

/* Team grid */
.teamgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--sp-4); }
.teamcard { border-radius: var(--radius-2); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
/* The source portraits are full-length; bias the crop upward so faces
   are not cut off at the top of the card. */
.teamcard img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.teamcard__b { padding: 14px 16px; }

/* Value cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--paper); padding: clamp(22px, 2.6vw, 32px); }
.card__ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--radius-2); background: var(--surface-2); margin-bottom: var(--sp-5); color: var(--ink); }
.card__t { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.015em; margin-bottom: 7px; }
.card__d { font-size: var(--fs-sm); color: var(--ink-2); }

/* ================================================================= forms === */

.form { display: grid; gap: var(--sp-5); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 7px; }
.field > label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-2);
  font-size: 0.9375rem;
  transition: border-color var(--dur-1) var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { min-height: 128px; resize: vertical; }
.field__hint { font-size: var(--fs-xs); color: var(--ink-3); }

/* iOS zooms the viewport on focus for anything under 16px. */
@media (max-width: 760px) {
  .field input, .field select, .field textarea, .search input { font-size: 16px; }
  .field input, .field select { padding-block: 14px; }
}

.on-dark .field input, .on-dark .field select, .on-dark .field textarea {
  background: rgba(255,255,255,.04);
  border-color: var(--line-dark-strong);
  color: var(--on-dark);
}
.on-dark .field > label { color: var(--on-dark-3); }

.contactlist { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contactlist > a, .contactlist > div {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  background: var(--paper);
  transition: background var(--dur-1) var(--ease-out);
}
.contactlist a:hover { background: var(--surface); }
.contactlist svg { flex: none; margin-top: 2px; color: var(--ink-3); }
.contactlist dt { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.contactlist dd { margin: 0; font-weight: 600; font-family: var(--font-display); letter-spacing: -0.01em; }

/* Location block: an always-present card beside a media panel. The live map is
   injected into the panel over the photo by initMap() in app.js, and withdrawn
   again if the host's CSP blocks third-party frames — so every state, map or
   no map, script or no script, is a finished layout. */
.mapframe {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  overflow: hidden;
  background: var(--surface);
}

.mapcard {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(26px, 3.6vw, 48px);
  border-right: 1px solid var(--line);
}
.mapcard__addr {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.024em;
  font-variation-settings: 'wdth' var(--wdth-display);
  margin-top: 10px;
}

.mapframe__media { position: relative; min-height: 360px; background: var(--surface-2); }
.mapframe__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.mapframe__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out);
}
.mapframe.is-loaded .mapframe__media iframe { opacity: 1; }

@media (max-width: 760px) {
  .mapframe { grid-template-columns: 1fr; }
  .mapcard { border-right: 0; border-bottom: 1px solid var(--line); }
  .mapframe__media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ================================================================ basket === */

.basket { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.basket__row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  gap: var(--sp-4);
  align-items: center;
  padding: 14px 16px;
  background: var(--paper);
}
.basket__row img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-1); background: var(--surface); }
.basket__name { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em; }
.basket__meta { font-size: var(--fs-xs); color: var(--ink-3); font-family: var(--font-mono); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-2); }
.qty button { width: 34px; height: 36px; display: grid; place-items: center; color: var(--ink-2); }
.qty button:hover { color: var(--ink); background: var(--surface-2); }
.qty input {
  width: 42px; height: 36px; text-align: center; border: 0; background: none;
  font-family: var(--font-mono); font-size: 0.875rem;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.basket__remove { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink-3); border-radius: var(--radius-2); }
.basket__remove:hover { color: #B3261E; background: var(--surface-2); }

@media (max-width: 620px) {
  .basket__row { grid-template-columns: 56px minmax(0, 1fr) auto; row-gap: 10px; }
  .basket__row img { width: 56px; height: 56px; }
  .qty { grid-column: 2 / 3; }
  .basket__remove { grid-column: 3 / 4; grid-row: 2; }
}

/* Toast */
.toast {
  position: fixed;
  left: 50%; bottom: 26px;
  transform: translate(-50%, 20px);
  z-index: 120;
  /* left: 50% alone would cap the width at half the viewport and wrap a
     short message onto two lines on a phone. */
  width: max-content;
  max-width: calc(100vw - 32px);
  display: flex; align-items: center; gap: 11px;
  padding: 13px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-3);
  font-size: var(--fs-sm);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility var(--dur-2);
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { color: var(--u-green-400); flex: none; }

/* Clear of the phone action bar, so it never sits over its WhatsApp button. */
@media (max-width: 760px) {
  .toast { bottom: calc(var(--mbar-h) + var(--safe-b) + 14px); }
}

/* Floating WhatsApp action */
.wafab {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 55;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 18px;
  background: var(--u-navy-700);
  color: #fff;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.wafab:hover { background: var(--u-navy-600); transform: translateY(-2px); }

/* Phones have WhatsApp in the action bar; the bubble would sit behind it,
   invisible but still in the keyboard tab order. */
@media (max-width: 760px) {
  .wafab { display: none; }
}

/* ================================================================= footer === */

.footer { background: var(--u-navy-900); color: var(--on-dark); position: relative; overflow: hidden; }

.footer__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sp-6);
  align-items: end;
  padding-block: clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line-dark);
}
.footer__ctat {
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 18ch;
}
.footer__ctat em { font-style: normal; color: var(--u-green-400); }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 56px);
  padding-block: clamp(42px, 5vw, 72px);
}

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-dark-3);
  font-weight: 400;
  margin-bottom: var(--sp-5);
}
.footer__links { display: grid; gap: 11px; font-size: var(--fs-sm); color: var(--on-dark-2); }
.footer__links a { transition: color var(--dur-1) var(--ease-out); }
.footer__links a:hover { color: #fff; }

.footer__blurb { color: var(--on-dark-2); font-size: var(--fs-sm); max-width: 38ch; margin-block: var(--sp-5); }

.footer__socials { display: flex; gap: 8px; }
.footer__socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-2);
  transition: background var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}
.footer__socials a:hover { background: rgba(255,255,255,.08); border-color: var(--on-dark); }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-xs);
  color: var(--on-dark-3);
}
.footer__bottom a:hover { color: #fff; }

/* Oversized wordmark that sits along the bottom edge. */
.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 15.5vw, 15rem);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 244, 240, 0.13);
  text-align: center;
  user-select: none;
  padding-bottom: 0.06em;
  margin-top: -0.04em;
}

@media (max-width: 960px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cta { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 620px) {
  /* Brand block spans, the three link lists pair up beneath it. */
  .footer__col:first-child { grid-column: 1 / -1; }
  .footer__grid { gap: var(--sp-6) var(--sp-5); }
  .footer__cta > .u-flex { width: 100%; }
  .footer__cta .btn { flex: 1 1 auto; }
  .footer__links { gap: 9px; font-size: var(--fs-xs); }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer__wordmark { -webkit-text-stroke-width: 0.75px; }
}

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

/* ================================================================ sectors === */

.sectorlist { border-top: 1px solid var(--line); }

.sector {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 3.4vw, 64px);
  align-items: center;
  padding-block: clamp(34px, 4.4vw, 68px);
  border-bottom: 1px solid var(--line);
}
.sector:nth-child(even) .sector__fig { order: 2; }

.sector__fig { border-radius: var(--radius-3); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.sector__fig img { width: 100%; height: 100%; object-fit: cover; }

.sector__idx {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 10px;
  display: block;
}
.sector__t { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.028em; margin-bottom: 10px; }

.sector__kit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-block: var(--sp-5);
}
.sector__kititem {
  display: flex; gap: 11px; align-items: center;
  padding: 11px 14px;
  background: var(--paper);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: background var(--dur-1) var(--ease-out);
}
.sector__kititem:hover { background: var(--surface); }
.sector__kititem img { width: 34px; height: 34px; flex: none; border-radius: var(--radius-1); object-fit: cover; background: var(--surface); }

@media (max-width: 860px) {
  .sector { grid-template-columns: 1fr; }
  .sector:nth-child(even) .sector__fig { order: 0; }
  .sector__kit { grid-template-columns: 1fr; }
}

/* ============================================================== utilities === */

/* Column spans for .grid. Classes rather than inline styles so the stacked
   behaviour below 860px can actually override them. */
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }

@media (max-width: 860px) {
  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: 1 / -1; }
}

.u-mt-4 { margin-top: var(--sp-4); }
.u-mt-5 { margin-top: var(--sp-5); }
.u-mt-6 { margin-top: var(--sp-6); }
.u-mt-7 { margin-top: var(--sp-7); }
.u-mt-8 { margin-top: var(--sp-8); }
.u-mt-9 { margin-top: var(--sp-9); }
.u-flex { display: flex; }
.u-wrap { flex-wrap: wrap; }
.u-gap-3 { gap: var(--sp-3); }
.u-gap-4 { gap: var(--sp-4); }
.u-center { align-items: center; }
.u-between { justify-content: space-between; }
.u-max-60 { max-width: 60ch; }
.u-nowrap { white-space: nowrap; }
