/* ==========================================================================
   School Lab Distributors — Design System
   A custom, editorial B2B design for Kenyan schools & institutions.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --navy-900: #08182F;
  --navy-800: #0B1E3F;
  --navy-700: #13305F;
  --navy-600: #1C437E;
  --navy-50:  #EEF2F9;

  --gold-500: #E4B04A;
  --gold-400: #F0C56A;
  --gold-600: #B8892E;
  --gold-50:  #FBF3DE;

  --emerald-600: #0B8A5F;
  --emerald-500: #0EA371;
  --emerald-50:  #E6F7F0;

  --ink-900: #0B1220;
  --ink-700: #2B3446;
  --ink-500: #556275;
  --ink-400: #7A8698;
  --ink-300: #B4BDCC;

  --paper:   #FAFBFC;
  --paper-2: #F3F5F8;
  --white:   #FFFFFF;
  --line:    #E6EAF0;
  --line-2:  #D6DCE6;

  --danger:  #D64545;

  /* Aliases (used across pages) */
  --gray-border: var(--line);
  --ink-muted: var(--ink-400);
  --ink-200: #D8DEE8;

  /* Product catalogue listing (reference layout) */
  --catalog-canvas: #f4f6f9;
  /* Single tone image well — photos use cover so edges crop to this field */
  --catalog-media-slab: #e4e8f0;
  --catalog-media-inset: rgba(8, 24, 47, 0.06);

  /* Typography */
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;

  /* Scale */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(11, 30, 63, .06), 0 1px 3px rgba(11, 30, 63, .04);
  --shadow:    0 4px 12px rgba(11, 30, 63, .08), 0 2px 4px rgba(11, 30, 63, .05);
  --shadow-lg: 0 24px 48px -12px rgba(11, 30, 63, .18), 0 8px 16px -8px rgba(11, 30, 63, .10);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-fast: cubic-bezier(.25, .46, .45, .94);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; color: var(--navy-900); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section { padding: clamp(56px, 8vw, 112px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy-700);
  padding: 7px 14px;
  background: var(--navy-50);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 18px;
}
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head p { color: var(--ink-500); font-size: 18px; max-width: 60ch; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Top bar & Nav ---------- */
.topbar {
  background: var(--navy-900);
  color: #B9C6DB;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a { color: #E0E8F4; transition: color .2s; }
.topbar a:hover { color: var(--gold-400); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-left span, .topbar-right a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; }
.topbar-right .divider { width: 1px; height: 14px; background: rgba(255,255,255,.15); }

/* Tablet & mobile: slim top bar — one row (hours | phone); full address & email on Contact + footer */
@media (max-width: 1024px) {
  .topbar {
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.3;
  }
  .topbar .container {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    max-width: 100%;
  }
  /* Higher specificity than `.topbar-left span { display: inline-flex }` */
  .topbar .topbar-left > span:first-of-type {
    display: none;
  }
  .topbar .topbar-right > a[href^="mailto"] {
    display: none;
  }
  .topbar .topbar-right > span.divider {
    display: none;
  }
  .topbar .topbar-left,
  .topbar .topbar-right {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .topbar .topbar-left > span,
  .topbar .topbar-right > a[href^="tel"] {
    white-space: nowrap;
  }
  .topbar svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }
  .topbar a[href^="tel"] {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
  }
}

.nav {
  position: sticky; top: 0; z-index: 100;
  /* IMPORTANT: do NOT use backdrop-filter here — it creates a containing
     block for position:fixed descendants, which breaks the mobile drawer
     when the page is scrolled (drawer positions to document top, not viewport). */
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display); font-size: 20px; font-weight: 600;
  color: var(--navy-900); letter-spacing: -0.01em;
}
.logo-mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: var(--navy-900);
}
.logo-mark svg { width: 24px; height: 24px; }
.logo small {
  display: block; font-family: var(--sans); font-size: 11px;
  font-weight: 500; color: var(--ink-500); letter-spacing: 0.08em;
  text-transform: uppercase; margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 16px;
  font-size: 15px; font-weight: 500;
  color: var(--ink-700);
  border-radius: 8px;
  transition: all .2s var(--ease);
}
.nav-links a:hover { color: var(--navy-800); background: var(--navy-50); }
.nav-links a.active { color: var(--navy-900); }
.nav-links a.active::after {
  content: ""; display: block; height: 2px; width: 20px;
  background: var(--gold-500); border-radius: 2px; margin: 4px auto -6px;
}

.nav-cta { display: flex; align-items: center; gap: 10px; }
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--navy-50);
  color: var(--navy-800);
  place-items: center;
}
.hamburger svg { width: 22px; height: 22px; }

/* Mobile drawer backdrop (shown only ≤760px when .nav.open) */
.nav-backdrop {
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  font-size: 15px; font-weight: 600;
  border-radius: 999px;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--navy-800);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(11, 30, 63, .24);
}
.btn-primary:hover { background: var(--navy-900); box-shadow: 0 10px 24px rgba(11, 30, 63, .32); transform: translateY(-1px); }
.btn-gold {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 6px 16px rgba(228, 176, 74, .35);
}
.btn-gold:hover { background: var(--gold-400); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(228, 176, 74, .45); }
.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--navy-800); background: var(--navy-50); }
.btn-ghost-dark {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.2);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(228,176,74,.18), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(14,163,113,.14), transparent 60%),
    linear-gradient(180deg, #081830 0%, #0B1E3F 60%, #0e2348 100%);
  color: var(--white);
  overflow: hidden;
  padding: clamp(80px, 12vw, 140px) 0 clamp(100px, 12vw, 160px);
}
@media (max-width: 1024px) {
  .ed-hero { grid-template-columns: 1fr; min-height: auto; }
  .ed-hero__left { 
    padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(24px, 4vw, 52px);
    order: 2;
    justify-content: flex-start;
    gap: clamp(12px, 2.5vw, 20px);
  }
  .ed-hero__right { 
    padding: clamp(28px, 5vw, 56px) var(--gutter) clamp(28px, 5vw, 56px) var(--gutter); 
    border-left: none; 
    border-bottom: 1.5px solid var(--navy-900);
    order: 1;
    min-height: 0;
    gap: 12px;
  }
  .ed-hero__meta {
    grid-template-columns: 1fr;
    gap: clamp(14px, 3vw, 24px);
    margin-top: 0;
    padding-top: clamp(14px, 2.5vw, 24px);
  }
  .ed-hero__label { position: static; writing-mode: horizontal-tb; transform: none; margin-bottom: 10px; padding: 0; }
  .feature-object { flex: 0 1 auto; min-height: 0; }
}

@media (max-width: 768px) {
  .ed-hero__left { text-align: center; align-items: center; }
  .ed-issue { justify-content: center; margin-bottom: 0; flex-wrap: wrap; }
  .ed-hero__lede { margin: 0 auto; }
  .ed-hero__cta { justify-content: center; }
  .ed-headline .dot { display: none; }
}
.hero::before {
  /* Grid pattern overlay */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.8vw, 72px);
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold-400), var(--gold-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.hero .eyebrow { background: rgba(14,163,113,.15); color: #7AE5B9; border-color: rgba(14,163,113,.25); }
.hero p.lead {
  font-size: 19px;
  line-height: 1.65;
  color: #C6D1E3;
  max-width: 56ch;
  margin-bottom: 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 40px);
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stats .stat span {
  font-size: 13px;
  color: #9AABC4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero visual card stack */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
}
.hero-card {
  position: absolute;
  background: linear-gradient(160deg, #ffffff 0%, #f6f8fc 100%);
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  border: 1px solid rgba(255,255,255,.6);
}
.hero-card-main {
  inset: 0;
  padding: 28px;
  display: flex; flex-direction: column;
  background:
    radial-gradient(circle at 80% 0%, rgba(228,176,74,.25), transparent 50%),
    linear-gradient(160deg, #ffffff, #eff2f8);
}
.hero-card-main .chip {
  align-self: flex-start;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--emerald-600);
  background: var(--emerald-50);
  padding: 6px 12px; border-radius: 999px;
}
.hero-card-main .big-svg { flex: 1; display: grid; place-items: center; margin: 12px 0; }
.hero-card-main .big-svg svg { width: 72%; height: auto; max-width: 320px; }
.hero-card-main .caption { font-family: var(--display); font-size: 20px; color: var(--navy-900); margin: 0; }
.hero-card-main .caption-sub { font-size: 13px; color: var(--ink-500); margin: 4px 0 0; }

.hero-card-float {
  width: 220px;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
}
.hero-card-float.one { top: 8%; right: -20px; }
.hero-card-float.two { bottom: 6%; left: -26px; }
.hero-card-float .icon-pill {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-50); color: var(--navy-700); flex-shrink: 0;
}
.hero-card-float.two .icon-pill { background: var(--gold-50); color: #8a6515; }
.hero-card-float strong { font-size: 14px; font-weight: 600; display: block; color: var(--navy-900); }
.hero-card-float span { font-size: 12px; color: var(--ink-500); }

/* ---------- Trust bar ---------- */
.trust {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}
.trust-label {
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-400);
}
.trust-logos { display: flex; gap: clamp(24px, 4vw, 48px); flex-wrap: wrap; align-items: center; color: var(--ink-400); }
.trust-logos span {
  font-family: var(--display);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 500;
  font-style: italic;
  color: var(--ink-500);
  transition: color .2s;
}
.trust-logos span:hover { color: var(--navy-800); }

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.cat-card {
  position: relative;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .35s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.cat-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  opacity: 0;
  transition: opacity .35s var(--ease);
  z-index: -1;
}
.cat-card:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}
.cat-card:hover::before { opacity: 1; }
.cat-card:hover h3 { color: var(--white); }
.cat-card:hover p { color: #C6D1E3; }
.cat-card:hover .cat-count { background: rgba(255,255,255,.14); color: var(--gold-400); }
.cat-card:hover .cat-arrow { background: var(--gold-500); color: var(--navy-900); transform: translateX(0) rotate(-45deg); }

.cat-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--navy-50);
  color: var(--navy-700);
  margin-bottom: 22px;
  transition: all .35s var(--ease);
}
.cat-icon svg { width: 24px; height: 24px; }
.cat-card:hover .cat-icon { background: rgba(228,176,74,.18); color: var(--gold-400); }

.cat-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  transition: color .3s;
}
.cat-card p {
  font-size: 14.5px;
  color: var(--ink-500);
  margin-bottom: 20px;
  transition: color .3s;
}
.cat-count {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px; font-weight: 600;
  background: var(--navy-50); color: var(--navy-700);
  border-radius: 999px;
  transition: all .3s;
}
.cat-arrow {
  position: absolute;
  top: 28px; right: 28px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper-2);
  color: var(--navy-700);
  transition: all .35s var(--ease);
}
.cat-arrow svg { width: 16px; height: 16px; }

/* ---------- Feature grid / Why ---------- */
.why {
  background: var(--navy-900);
  color: #C6D1E3;
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 90% 20%, rgba(228,176,74,.08), transparent 60%),
    radial-gradient(600px 400px at 5% 90%, rgba(14,163,113,.08), transparent 60%);
  pointer-events: none;
}
.why .container { position: relative; }
.why h2 { color: var(--white); }
.why .section-head p { color: #9AABC4; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.why-card {
  padding: 32px 28px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  transition: all .3s var(--ease);
}
.why-card:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(228,176,74,.4);
  transform: translateY(-3px);
}
.why-card .icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(228,176,74,.12);
  border: 1px solid rgba(228,176,74,.2);
  color: var(--gold-400);
  margin-bottom: 20px;
}
.why-card .icon svg { width: 22px; height: 22px; }
.why-card h3 { color: var(--white); font-size: 20px; margin-bottom: 10px; }
.why-card p { font-size: 14.5px; color: #9AABC4; margin: 0; }

/* ---------- Split / Services ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, var(--navy-800), var(--navy-600));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-image::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.split-image .glyph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(228,176,74,.6);
}
.split-image .glyph svg { width: 55%; max-width: 340px; }
.split-image .badge {
  position: absolute;
  bottom: 24px; left: 24px;
  padding: 14px 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  color: var(--navy-900);
  font-size: 13px;
  display: flex; align-items: center; gap: 12px;
}
.split-image .badge strong { display: block; font-size: 20px; font-family: var(--display); color: var(--navy-900); }
.split-image .badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--emerald-500); box-shadow: 0 0 0 4px rgba(14,163,113,.2); }

.feature-list { display: grid; gap: 24px; margin-top: 32px; }
.feature-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}
.feature-item .check {
  width: 40px; height: 40px; min-width: 40px; border-radius: 10px;
  background: var(--emerald-50); color: var(--emerald-600);
  display: grid; place-items: center;
}
.feature-item .check svg { width: 18px; height: 18px; }
.feature-item h4 { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--navy-900); margin-bottom: 4px; }
.feature-item p { font-size: 14.5px; color: var(--ink-500); margin: 0; }

/* ---------- Products / Catalog ---------- */
.toolbar { margin-bottom: 40px; }

.major-toggle {
  display: flex;
  background: var(--paper-2);
  padding: 4px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  border: 1px solid var(--line);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.toggle-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--ink-400);
  font-weight: 600;
  font-size: 14px;
  border-radius: calc(var(--radius-lg) - 2px);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.toggle-btn.active {
  background: var(--navy-800);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.toggle-btn:hover:not(.active) {
  background: rgba(0,0,0,.03);
}

.toolbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.search-row {
  max-width: 600px;
  margin: 0 auto 28px auto;
}

.search-box {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 100%;
  transition: all .3s var(--ease);
}
.search-box:focus-within {
  border-color: var(--gold-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(228, 176, 74, 0.15);
}
.search-box svg { width: 18px; height: 18px; color: var(--ink-400); }
.search-box input { border: 0; background: none; outline: none; flex: 1; font-size: 15px; color: var(--navy-900); }

.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }

.filter-btn {
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  flex: 0 0 auto;
  padding: 10px 16px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.filter-btn.active {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}
.filter-btn:hover:not(.active) {
  border-color: var(--ink-300);
  background: var(--paper-2);
}

/* Mobile: native <select> replaces chip row (see body.products-page rules ≤760px) */
.filter-select-wrap {
  display: none;
}
.filter-select-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 6px;
}
.filter-select {
  width: 100%;
  min-height: 48px;
  padding: 12px 40px 12px 14px;
  font-size: 16px;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--navy-900);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23556275' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

/* Chemical catalogue “homepage” strip — only on products.html when Reagents tab is active (JS toggles hidden) */
.catalog-chem-hero {
  background: linear-gradient(180deg, #f0f3fa 0%, var(--catalog-canvas) 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(20px, 4vw, 40px) 0;
}
.catalog-chem-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
}
.catalog-chem-hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--white);
}
.catalog-chem-hero__media img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
.catalog-chem-hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin: 0 0 10px;
}
.catalog-chem-hero__copy h2 {
  font-family: var(--display);
  font-size: clamp(22px, 3.2vw, 30px);
  color: var(--navy-900);
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.catalog-chem-hero__lede {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-500);
  margin: 0;
  max-width: 52ch;
}
@media (max-width: 760px) {
  .catalog-chem-hero__inner {
    grid-template-columns: 1fr;
  }
}

/* Products catalogue — slightly tighter vertical rhythm than generic sections */
section.catalog-section {
  padding-top: clamp(28px, 5vw, 56px);
  padding-bottom: clamp(40px, 7vw, 88px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

/* Catalogue uses full container width; extra room on large screens */
body.products-page section.catalog-section > .container {
  max-width: min(1320px, 100%);
}

/* Products page: pale grey page wash, white cards, solid grey “well” behind photos */
body.products-page {
  background: var(--catalog-canvas);
}
body.products-page .ed-page-header {
  background: var(--catalog-canvas);
}
body.products-page section.catalog-section {
  background: var(--catalog-canvas);
}
/* :has(.product-real-img) — not only :has(> img…) — so rules always beat .product-media:has(.product-real-img) { white } */
body.products-page .product-media:has(.product-real-img) {
  background-color: transparent;
  background-image: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(6px, 2.5%) max(10px, 3.5%);
  box-sizing: border-box;
  box-shadow: none;
  aspect-ratio: auto;
  min-height: 200px;
  max-height: min(340px, 56vw);
  height: auto;
}
body.products-page .product-media:has(.product-real-img)::after {
  display: none;
}
body.products-page .product-media:has(.product-structure-container) {
  background-color: transparent;
  box-shadow: none;
  aspect-ratio: auto;
  min-height: 220px;
  max-height: min(300px, 52vw);
}
body.products-page .product-media:has(.product-structure-container)::after {
  display: none;
}
/* Full product visible — no cover crop (tall burettes / flasks must stay readable) */
body.products-page .product-media img.product-real-img {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(300px, 50vw);
  flex: 0 1 auto;
  object-fit: contain;
  object-position: center;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.4s var(--ease), filter 0.35s ease;
  filter: saturate(1.02);
}
body.products-page .product-card:hover .product-media img.product-real-img {
  transform: scale(1.02);
}
/* Masonry-style columns: cards fill vertical space instead of rigid equal-height rows */
body.products-page .product-grid {
  display: block;
  column-count: 3;
  column-gap: 24px;
  align-items: unset;
}
body.products-page .product-grid > .product-card {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 24px;
  display: inline-block;
  width: 100%;
  vertical-align: top;
}
body.products-page .product-grid > .empty-state {
  -webkit-column-span: all;
  column-span: all;
  display: block;
  width: 100%;
  margin-bottom: 0;
}
@media (max-width: 1020px) {
  body.products-page .product-grid {
    column-count: 2;
  }
}
@media (max-width: 520px) {
  body.products-page .product-grid {
    column-count: 1;
  }
}
body.products-page .product-card {
  box-shadow: var(--shadow-sm);
}
body.products-page .product-card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-lg);
}
body.products-page .product-body {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
body.products-page .product-card .desc {
  flex: 1 1 auto;
  margin-bottom: 0;
  min-height: calc(3 * 1.45 * 13.5px);
}
body.products-page .product-foot {
  margin-top: auto;
  flex-shrink: 0;
  gap: 10px 12px;
  align-items: end;
}
body.products-page .product-foot .product-price {
  min-width: 0;
}
body.products-page .product-foot button,
body.products-page .product-foot .product-enquire {
  flex-shrink: 0;
  min-width: 6.75rem;
  justify-content: center;
  background: #e9eef8;
  border: 1px solid rgba(8, 24, 47, 0.08);
}
body.products-page .product-foot button:hover,
body.products-page .product-foot .product-enquire:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}
body.products-page .product-structure-container {
  background: transparent;
}
body.products-page .product-structure-container--loading {
  background: linear-gradient(145deg, #eef1f6 0%, #e4e8f0 100%);
}
body.products-page .major-toggle {
  background: var(--white);
}
body.products-page .toggle-btn:hover:not(.active) {
  background: var(--catalog-canvas);
}
body.products-page .search-box {
  background: var(--white);
}
body.products-page .filter-btn:hover:not(.active) {
  background: var(--catalog-canvas);
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-media {
  aspect-ratio: 4/3;
  position: relative;
  background: var(--paper-2);
  display: grid; place-items: center;
  overflow: hidden;
}
/* Real photos: no tint overlay — reads as one surface with the page, not a “slot” */
.product-media:has(.product-real-img) {
  background: var(--white);
}
/* Must follow the rule above so transparent wins on the catalogue (no white “tile” behind PhotoRoom JPGs) */
body.products-page .product-media:has(.product-real-img) {
  background-color: transparent;
  background-image: none;
}
.product-media:has(.product-real-img)::after {
  display: none;
}
.product-media::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(14,163,113,.08), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(228,176,74,.08), transparent 40%);
  pointer-events: none;
}
.product-media svg { width: 54%; height: 54%; color: var(--navy-700); position: relative; z-index: 1; opacity: .85; transition: transform .4s var(--ease); }
.product-card:hover .product-media svg { transform: scale(1.08) rotate(-2deg); }

.product-real-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  /* Match card corners only at top — avoids a “picture frame” inside the frame */
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  object-fit: contain;
  object-position: center;
  padding: 6px 8px;
  box-sizing: border-box;
  transition: transform .6s var(--ease);
}
.product-card:hover .product-real-img { transform: scale(1.08); }

/* Chemical Structure Integration — Floating Style */
.product-structure-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); /* Ensure clean white for multiply blend mode */
  box-sizing: border-box;
}
.product-structure-container--loading {
  background: linear-gradient(145deg, #f3f4f6 0%, #e8eaef 100%);
}
.chemical-structure-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Strong diagram contrast — multiply + grayscale hid bonds on some mobile displays */
  filter: contrast(1.35) saturate(0.85);
  mix-blend-mode: normal;
  transform: scale(1.45);
  transition: transform .4s var(--ease);
}
.product-card:hover .chemical-structure-img {
  transform: scale(1.75); /* Subtle scale for graphics, not a photo zoom */
}
body.products-page .chemical-structure-img {
  transform: scale(1.12);
  filter: contrast(1.22) saturate(0.92);
}
body.products-page .product-card:hover .chemical-structure-img {
  transform: scale(1.2);
}

/* Scientific formula badge */
.product-formula {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(11, 30, 63, 0.9);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(228, 176, 74, 0.3);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.product-formula sub {
  font-size: 0.75em;
  vertical-align: sub;
  bottom: -0.1em;
  position: relative;
  color: var(--gold-400);
}

.product-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 4px 10px;
  font-size: 11px; font-weight: 600;
  background: var(--white); color: var(--navy-800);
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.product-tag.new { background: var(--emerald-500); color: var(--white); }
.product-tag.hot { background: var(--gold-500); color: var(--navy-900); }

.product-body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-cat {
  font-size: 11px; font-weight: 600;
  color: var(--emerald-600); letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.product-card h3 {
  font-family: var(--sans);
  font-size: 17px; font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px; letter-spacing: -0.01em;
}
.product-card .desc { font-size: 13.5px; color: var(--ink-500); margin-bottom: 16px; flex: 1; }
.product-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: end;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.product-price {
  font-family: var(--display);
  font-size: 17px;
  color: var(--navy-900);
  font-weight: 600;
  min-width: 0;
}
.product-price .price-from {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-right: 0.25em;
  vertical-align: 0.08em;
}
.product-price .price-amount { font-family: var(--display); }
.product-price .price-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em;
  white-space: normal;
  max-width: 100%;
}
.product-price small { font-size: 11px; color: var(--ink-400); font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.product-foot button,
.product-foot .product-enquire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
  padding: 8px 14px;
  background: var(--navy-50);
  border-radius: 999px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  justify-self: end;
}
.product-foot button:hover,
.product-foot .product-enquire:hover {
  background: var(--navy-800);
  color: var(--white);
}
.product-foot button svg,
.product-foot .product-enquire svg {
  width: 14px;
  height: 14px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-500);
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--paper-2); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
  transition: all .3s var(--ease);
}
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.testi-card .quote-mark {
  font-family: var(--display);
  font-size: 64px;
  line-height: 1;
  color: var(--gold-500);
  opacity: .3;
  position: absolute;
  top: 18px; right: 22px;
}
.testi-card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-700);
  margin-bottom: 24px;
  position: relative;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  color: var(--gold-400);
  font-weight: 600;
  font-family: var(--display);
  font-size: 18px;
}
.testi-author strong { display: block; font-size: 15px; color: var(--navy-900); }
.testi-author span { font-size: 13px; color: var(--ink-500); }

/* ---------- CTA banner ---------- */
.cta-banner {
  padding: clamp(60px, 8vw, 96px) 0;
  background:
    radial-gradient(800px 400px at 90% 50%, rgba(228,176,74,.18), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-inner h2 { color: var(--white); font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.cta-inner p { color: #C6D1E3; font-size: 17px; max-width: 52ch; margin: 0; }
.cta-inner .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy-900);
  color: #9AABC4;
  padding: 80px 0 32px;
}
.foot-grid {
  display: grid;
  /* Get-in-touch (last col) needs to fit the email "info@schoollabdistributors.co.ke"
     on a single line — give it more room and shrink the brand column slightly. */
  grid-template-columns: 1.4fr 0.85fr 0.85fr 1.7fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.foot-brand .logo { color: var(--white); margin-bottom: 20px; }
.foot-brand .logo small { color: #9AABC4; }
.foot-brand p { font-size: 14.5px; line-height: 1.7; max-width: 38ch; margin-bottom: 20px; }
.social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: #C6D1E3;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.social a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-2px); }
/* Block + fixed box avoids baseline drift between filled (WhatsApp) and stroked icons */
.social svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

footer h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
footer ul li { margin-bottom: 12px; }
footer ul a {
  font-size: 14.5px;
  color: #9AABC4;
  transition: color .2s;
}
footer ul a:hover { color: var(--gold-400); }

.foot-contact li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px; line-height: 1.6;
}
.foot-contact svg { width: 16px; height: 16px; color: var(--gold-500); margin-top: 3px; flex-shrink: 0; }

.foot-bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 13px;
}
.foot-bottom a:hover { color: var(--gold-400); }

/* Minimal footer (contact page — copyright only) */
footer.foot {
  padding: 36px 0 calc(40px + env(safe-area-inset-bottom, 0px));
}
footer.foot .foot-bottom {
  justify-content: center;
  text-align: center;
  padding-top: 0;
}
footer.foot .foot-bottom p {
  margin: 0 auto;
  max-width: min(100%, 42ch);
  text-align: center;
  line-height: 1.55;
}

/* ---------- Page header (subpages) ---------- */
.page-header {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(228,176,74,.18), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(14,163,113,.10), transparent 60%),
    linear-gradient(180deg, #081830 0%, var(--navy-900) 40%, var(--navy-800) 100%);
  color: var(--white);
  padding: clamp(80px, 10vw, 140px) 0 clamp(70px, 9vw, 110px);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, black 20%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, black 20%, transparent 90%);
  pointer-events: none;
}
.page-header::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--emerald-500), transparent 80%);
}
.page-header .container { position: relative; }
.page-header h1 {
  font-size: clamp(40px, 6vw, 72px);
  color: var(--white);
  max-width: 18ch;
  line-height: .95;
  letter-spacing: -0.03em;
}
.page-header p { font-size: 18px; color: #C6D1E3; max-width: 54ch; line-height: 1.65; }
.page-header .eyebrow { background: rgba(228,176,74,.12); color: var(--gold-400); border-color: rgba(228,176,74,.25); }
.crumbs {
  display: flex; gap: 10px; align-items: center;
  font-size: 13px;
  color: #9AABC4;
  margin-bottom: 22px;
}
.crumbs a { color: #9AABC4; transition: color .2s; }
.crumbs a:hover { color: var(--gold-400); }
.crumbs .sep { color: rgba(255,255,255,.25); }

/* ---------- Compact light page title (replaces dark hero) ---------- */
.page-title {
  padding: clamp(28px, 4vw, 48px) 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
}
.page-title .crumbs { color: var(--ink-400); margin-bottom: 12px; }
.page-title .crumbs a { color: var(--ink-400); }
.page-title .crumbs a:hover { color: var(--navy-900); }
.page-title .crumbs .sep { color: var(--ink-200); }
.page-title h1 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy-900);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.page-title p {
  font-size: 16px;
  color: var(--ink-700);
  max-width: 54ch;
  line-height: 1.6;
  margin: 10px 0 0;
}

/* ---------- Contact form ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-info {
  padding: 36px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px 300px at 100% 0%, rgba(228,176,74,.15), transparent 60%);
}
.contact-info > * { position: relative; }
.contact-info h3 { color: var(--white); font-size: 26px; margin-bottom: 10px; }
.contact-info > p { color: #C6D1E3; margin-bottom: 32px; font-size: 15px; }
.contact-info ul li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact-info ul li:last-child { border-bottom: 0; }
.contact-info .icon-pill {
  width: 40px; height: 40px; min-width: 40px; border-radius: 10px;
  background: rgba(228,176,74,.12);
  border: 1px solid rgba(228,176,74,.2);
  color: var(--gold-400);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-info .icon-pill svg { width: 18px; height: 18px; }
.contact-info li strong { display: block; color: var(--white); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.contact-info li span, .contact-info li a { font-size: 15px; color: #C6D1E3; }
.contact-info li a:hover { color: var(--gold-400); }

.form-card {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-card h3 { font-size: 26px; margin-bottom: 8px; }
.form-card > p { color: var(--ink-500); margin-bottom: 28px; }
/* minmax(0, 1fr) lets columns share space evenly (plain 1fr can leave a ragged right edge with form controls) */
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.field-row .field { margin-bottom: 0; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: all .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(19, 48, 95, .08);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 10px; }
.form-note { font-size: 13px; color: var(--ink-400); margin-top: 14px; text-align: center; }

.form-success {
  display: none;
  padding: 16px 20px;
  background: var(--emerald-50);
  color: var(--emerald-600);
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid #b7e6d0;
}
.form-success.show { display: block; }

.quote-send-chooser {
  margin-top: 24px;
  padding: 22px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper-2, #f4f6fa);
  box-shadow: var(--shadow-sm);
}
.quote-send-chooser[hidden] {
  display: none !important;
}
.quote-send-chooser__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-900);
  font-family: var(--display);
}
.quote-send-chooser__lede {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-500);
}
.quote-send-chooser__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.quote-send-chooser__btn {
  flex: 1 1 140px;
  min-height: 48px;
  justify-content: center;
}
.quote-send-chooser__wa {
  background: #25d366;
  color: #fff;
  border: 0;
}
.quote-send-chooser__wa:hover {
  background: #1eb959;
  color: #fff;
}
.quote-send-chooser__muted {
  margin: 0;
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.5;
}
.quote-send-chooser__link {
  color: var(--navy-800);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.quote-send-chooser__link:hover {
  color: var(--navy-600);
}
.quote-send-chooser__dot {
  margin: 0 0.35em;
  color: var(--ink-400);
}
.quote-send-chooser__linkbtn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
  text-decoration: underline;
  cursor: pointer;
  text-underline-offset: 2px;
}
.quote-send-chooser__linkbtn:hover {
  color: var(--navy-600);
}

.form-error {
  display: none;
  padding: 16px 20px;
  background: #fef2f2;
  color: #991b1b;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid #fecaca;
}
.form-error.show { display: block; }
.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ---------- About page ---------- */
.about-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.stat-box {
  padding: 26px 24px;
  background: var(--paper-2);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold-500);
}
.stat-box strong {
  display: block;
  font-family: var(--display);
  font-size: 38px;
  color: var(--navy-900);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-box span { font-size: 13.5px; color: var(--ink-500); }

.values { background: var(--paper-2); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.value-card {
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card h3 { font-size: 20px; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--ink-500); margin: 0; }
.value-num {
  font-family: var(--display);
  font-size: 28px;
  color: var(--gold-500);
  font-style: italic;
  margin-bottom: 10px;
}

/* ---------- Editorial inner-page sections ---------- */
.ed-section {
  position: relative;
  overflow: hidden;
}
.ed-section--paper {
  background: var(--paper);
}
/* ---------- Vertical stacked segments ---------- */
.v-stack {
  display: flex;
  flex-direction: column;
}
.v-segment {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .25s var(--ease);
}
.v-segment:first-child { padding-top: 0; }
.v-segment:last-child { border-bottom: 0; }
.v-segment:hover { background: var(--paper); margin: 0 -20px; padding-left: 20px; padding-right: 20px; border-radius: var(--radius); }
.v-segment .v-num {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 44px);
  color: var(--line);
  font-style: italic;
  line-height: 1;
  font-weight: 400;
  transition: color .25s;
}
.v-segment:hover .v-num { color: var(--gold-500); }
.v-segment h3 {
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--navy-900);
}
.v-segment p {
  font-size: 15px;
  color: var(--ink-500);
  margin: 0;
  max-width: 52ch;
}
@media (max-width: 680px) {
  .v-segment { grid-template-columns: 1fr; gap: 6px; }
  .v-segment .v-num { font-size: 32px; }
}

/* ---------- Horizontal stat bar (light) ---------- */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.stat-bar__item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat-bar__item:last-child { border-right: 0; }
.stat-bar__num {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--navy-900);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.stat-bar__label {
  font-size: 12px;
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  margin-top: 6px;
}
@media (max-width: 680px) {
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .stat-bar__item { border-bottom: 1px solid var(--line); }
  .stat-bar__item:nth-child(2n) { border-right: 0; }
}

/* ---------- Diagonal CTA banner ---------- */
.cta-banner-ed {
  position: relative;
  background: var(--paper);
  padding: 0;
  overflow: hidden;
}
.cta-banner-ed .cta-inner-ed {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  padding: clamp(50px, 7vw, 90px) 0;
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  -webkit-clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
}
/* ---------- Section & Layout Utilities ---------- */
.section { 
  padding: clamp(40px, 6vw, 80px) 0; 
  border-bottom: 1px solid var(--line);
}
.section:last-of-type { border-bottom: none; }

.section-head { 
  max-width: 680px; 
  margin: 0 auto clamp(30px, 5vw, 50px); 
  text-align: center; 
}
.section-head.left { text-align: left; margin-left: 0; }

/* ---------- Editorial Page Header (Compact) ---------- */
.ed-page-header {
  padding: 40px 0 0px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.ed-page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.ed-page-border {
  border-top: 1.5px solid var(--navy-900);
  border-bottom: 1px solid var(--line-2);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.ed-page-header h1 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 42px);
  color: var(--navy-900);
  margin: 0;
  line-height: 1;
}
.ed-page-header .crumbs {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-400);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ed-page-header .crumbs a { color: inherit; text-decoration: none; transition: color .2s; }
.ed-page-header .crumbs a:hover { color: var(--gold-600); }
.ed-page-header .crumbs span { color: var(--line-2); }
.ed-page-header .summary {
  max-width: 600px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-500);
}

@media (max-width: 768px) {
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 30px; }
  .ed-page-header { padding: 30px 0 0; }
  .ed-page-border { padding: 20px 0; }
}
.cta-banner-ed .cta-inner-ed::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 80% 30%, rgba(228,176,74,.14), transparent 60%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, 50px 50px, 50px 50px;
  pointer-events: none;
}
.cta-banner-ed .container { position: relative; }
.cta-banner-ed .cta-ed-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-banner-ed h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.cta-banner-ed h2 em { font-style: italic; color: var(--gold-400); }
.cta-banner-ed p { color: #C6D1E3; font-size: 16px; max-width: 48ch; margin: 0 0 28px; }
.cta-banner-ed .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-banner-ed .btn-ghost-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
}
.cta-banner-ed .btn-ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}
.cta-banner-ed .cta-stat {
  text-align: center;
  padding: 36px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
}
.cta-banner-ed .cta-stat .big-num {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 80px);
  color: var(--gold-400);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.cta-banner-ed .cta-stat .stat-label {
  font-size: 13px;
  color: #9AABC4;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  margin-top: 8px;
}
@media (max-width: 980px) {
  .cta-banner-ed .cta-ed-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner-ed .cta-inner-ed { clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%); -webkit-clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%); }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Section marker for editorial inner pages ---------- */
.section-marker {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-400);
  font-weight: 600;
  margin-bottom: 20px;
}
.section-marker::before {
  content: ""; width: 32px; height: 1px; background: var(--gold-500);
}
.section-marker::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 58px; height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .4);
  z-index: 90;
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .6; }
  80%, 100% { transform: scale(1.4); opacity: 0; }
}

/* ==========================================================================
   EDITORIAL HOMEPAGE — custom layout components
   ========================================================================== */

/* ---------- Editorial split hero ---------- */
.ed-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  min-height: calc(100vh - 120px);
  overflow: hidden;
  background: var(--paper);
}
.ed-hero__left {
  background: var(--navy-900);
  color: var(--white);
  padding: clamp(60px, 8vw, 110px) clamp(40px, 6vw, 88px) clamp(60px, 8vw, 110px) var(--gutter);
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.ed-hero__left::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(228,176,74,.14), transparent 60%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: auto, 60px 60px, 60px 60px;
  mask-image: linear-gradient(180deg, black 20%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, black 20%, transparent 90%);
  pointer-events: none;
}
.ed-hero__left > * { position: relative; }

.ed-issue {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 600;
  margin-bottom: 40px;
}
.ed-issue::before {
  content: ""; width: 40px; height: 1px; background: var(--gold-500);
}
.ed-issue .divider { width: 1px; height: 12px; background: rgba(255,255,255,.2); }
.ed-issue span.muted { color: #9AABC4; font-weight: 500; }

.ed-headline {
  font-family: var(--display);
  font-size: clamp(52px, 9vw, 128px);
  line-height: .92;
  letter-spacing: -0.035em;
  color: var(--white);
  font-weight: 400;
  margin: 0;
}
.ed-headline em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 60%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 500;
}
.ed-headline .dot {
  display: inline-block;
  width: .22em; height: .22em;
  background: var(--emerald-500);
  border-radius: 50%;
  vertical-align: baseline;
  margin-left: .08em;
  position: relative;
  top: -.15em;
}

.ed-hero__meta {
  display: grid;
  grid-template-columns: auto auto;
  gap: 40px 64px;
  align-items: end;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.ed-hero__lede {
  font-size: 15.5px;
  line-height: 1.6;
  color: #C6D1E3;
  max-width: 38ch;
  margin: 0;
}
.ed-hero__cta {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  justify-self: end;
}

.ed-hero__right {
  position: relative;
  background: var(--paper);
  padding: clamp(60px, 6vw, 88px) var(--gutter) clamp(60px, 6vw, 88px) clamp(40px, 5vw, 72px);
  display: flex; flex-direction: column;
  gap: 16px;
  overflow: hidden;
  min-height: 0;
}
.ed-hero__right::before {
  content: "";
  position: absolute;
  top: -20%; right: -20%; width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(228,176,74,.12), transparent 70%);
  pointer-events: none;
}
.ed-hero__label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: var(--ink-400);
  display: flex; align-items: center; gap: 10px;
  position: relative;
  flex-wrap: wrap;
  row-gap: 6px;
}
.ed-hero__label span { flex-shrink: 0; }
.ed-hero__label::after { content: ""; flex: 1; height: 1px; background: var(--line); min-width: 32px; }

/* Featured object card */
.feature-object {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  /* Solid fill avoids subtle banding that can read as a “tile” pattern next to photos */
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px 36px 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.feature-object::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--emerald-500));
}
.feature-object .feature-object__head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 14px;
}
@media (min-width: 520px) {
  .feature-object .feature-object__head {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px 16px;
  }
}
.feature-object .catalogue-no {
  font-family: var(--display);
  font-size: 12px;
  font-style: italic;
  color: var(--ink-400);
  letter-spacing: .02em;
  line-height: 1.35;
}
@media (min-width: 520px) {
  .feature-object .catalogue-no {
    font-size: 13px;
    text-align: right;
    flex: 0 1 auto;
    max-width: min(100%, 200px);
  }
}
.feature-object .catalogue-no strong { color: var(--navy-900); }
.feature-object .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
  min-width: 0;
}
@media (min-width: 520px) {
  .feature-object .chip-row {
    flex: 1 1 auto;
    min-width: min(100%, 220px);
  }
}
.feature-object .chip {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.feature-object .chip.emerald { background: var(--emerald-50); color: var(--emerald-600); }
.feature-object .chip.navy { background: var(--navy-50); color: var(--navy-700); }
.feature-object .visual {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  width: 100%;
  margin: 0 0 14px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  aspect-ratio: 4 / 3;
  max-height: clamp(200px, 42vw, 360px);
  min-height: 0;
}
.feature-object .visual.visual--photo {
  aspect-ratio: auto;
  max-height: min(48vh, 440px);
  min-height: min(200px, 28vh);
  flex: 1 1 55%;
  background: transparent;
  border: 0;
}
.feature-object .visual--photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-position: center;
  box-sizing: border-box;
}
.feature-object .visual--photo img.featured-product-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(42vh, 400px);
  margin: auto;
  object-fit: contain;
  object-position: center center;
  padding: clamp(2px, 1vw, 10px);
  border-radius: 0;
  box-shadow: none;
}
.feature-object .visual--structure img {
  object-fit: contain;
  padding: 10px;
  mix-blend-mode: multiply;
}
.feature-object .visual--icon {
  aspect-ratio: 5 / 3;
  max-height: clamp(120px, 32vw, 180px);
  background: rgba(11, 30, 63, 0.04);
  border-radius: 12px;
  overflow: hidden;
}
.feature-object .visual--icon svg { width: 55%; max-width: 200px; height: auto; }
.feature-object h3 {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 6px;
  color: var(--navy-900);
}
.feature-object p { font-size: 13.5px; color: var(--ink-500); margin: 0 0 16px; }
.feature-object .specs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px clamp(20px, 5vw, 40px);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.feature-object .specs > div:first-child {
  justify-self: start;
  min-width: 0;
}
.feature-object .specs > div:last-child {
  justify-self: end;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.feature-object .specs div { font-size: 11px; }
.feature-object .specs strong {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--display);
  font-size: 17px;
  color: var(--navy-900);
  margin-bottom: 2px;
}
.feature-object .specs > div:last-child strong {
  align-items: flex-end;
}
.feature-object .specs strong .price-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  white-space: nowrap;
}
.feature-object .specs strong .price-from {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--emerald-600);
  background: var(--emerald-50);
  border: 1px solid rgba(11, 138, 95, 0.22);
  padding: 5px 11px;
  border-radius: 8px;
  margin-right: 0;
  vertical-align: unset;
  line-height: 1;
}
.feature-object .specs strong .price-amount {
  font-family: var(--display);
  font-size: clamp(18px, 3.5vw, 24px);
  font-weight: 600;
  line-height: 1.1;
}
.feature-object .specs span {
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ---------- Ticker / Marquee ---------- */
.ticker {
  background: var(--navy-900);
  color: var(--white);
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.ticker::before, .ticker::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--navy-900), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--navy-900), transparent); }
.ticker-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: tick 48s linear infinite;
  width: max-content;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--display);
  font-size: 20px;
  color: #C6D1E3;
  font-weight: 400;
}
.ticker-item em {
  font-style: italic;
  color: var(--gold-400);
  font-size: 15px;
  font-family: var(--sans);
  font-weight: 500;
}
.ticker-item::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald-500);
  margin-left: 56px;
}
@keyframes tick {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Our brands (homepage) ---------- */
.brands-section {
  background: var(--paper);
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line-2);
}
/* First screen: sits under sticky nav so the block is seen without scrolling the hero */
.brands-section--under-nav {
  position: relative;
  z-index: 2;
  padding: clamp(22px, 3.5vw, 36px) 0 clamp(20px, 3vw, 28px);
  border-top: 0;
  border-bottom: 1px solid var(--line-2);
  background: var(--navy-50);
}
.brands-section--under-nav .brands-head {
  margin-bottom: clamp(14px, 2.5vw, 22px);
}
.brands-section--under-nav .brands-head h2 {
  font-size: clamp(26px, 3.8vw, 40px);
}
.brands-head {
  display: block;
  margin-bottom: 36px;
}
.brands-head__copy {
  flex: 1 1 auto;
  min-width: min(100%, 260px);
  max-width: min(100%, 640px);
}
.brands-head h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin: 0 0 10px;
  line-height: 1.05;
  font-family: var(--display);
  color: var(--navy-900);
  letter-spacing: -0.02em;
}
.brands-head h2 em {
  font-style: italic;
  color: var(--gold-500);
}
.brands-head__lede {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-400);
  font-weight: 500;
  letter-spacing: 0.01em;
  max-width: 52ch;
}
.brands-marquee-wrap {
  position: relative;
  min-height: 80px;
}
.brands-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 98.5%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 98.5%, transparent);
}
.brands-marquee__track {
  display: flex;
  width: max-content;
  animation: brands-marquee-scroll 38s linear infinite;
}
@media (hover: hover) and (pointer: fine) {
  .brands-marquee:hover .brands-marquee__track {
    animation-play-state: paused;
  }
}
.brands-tile-set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  padding: 0 clamp(14px, 2vw, 24px);
}
.brands-tile {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--navy-900);
  box-shadow: none;
  cursor: default;
}
.brands-tile__logo {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.brands-tile--wordmark {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  gap: 0;
}
.brands-tile--wordmark .brands-tile__logo {
  width: auto;
  height: 56px;
  max-width: 240px;
  justify-items: center;
}
.brands-tile--wordmark:has(.brands-tile__mark-img--si) .brands-tile__logo {
  height: 40px;
  max-width: 180px;
}
.brands-tile__logo img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}
.brands-tile__logo img.brands-tile__mark-img--wordmark {
  width: auto;
  max-width: 240px;
  height: 56px;
  object-fit: contain;
  object-position: center;
}
.brands-tile__logo img.brands-tile__mark-img--si {
  height: 40px;
  max-width: 180px;
  opacity: 0.85;
}
.brands-tile--icon {
  gap: 10px;
}
.brands-tile--icon .brands-tile__logo {
  width: 36px;
  height: 36px;
}
.brands-tile__logo img.brands-tile__mark-img--icon {
  width: 36px;
  height: 36px;
  max-width: 36px;
  object-fit: contain;
  opacity: 0.9;
}
.brands-tile--icon .brands-tile__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy-900);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.brands-tile__mono {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: transparent;
  color: var(--navy-800);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brands-tile__name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy-800);
  white-space: nowrap;
  max-width: 28ch;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brands-legal {
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink-400);
  max-width: 70ch;
}
@keyframes brands-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.loading-shimmer--brands {
  min-height: 58px;
  border-radius: 10px;
  background: linear-gradient(
    110deg,
    rgba(11, 30, 63, 0.04) 0%,
    rgba(11, 30, 63, 0.09) 45%,
    rgba(11, 30, 63, 0.04) 90%
  );
  background-size: 200% 100%;
  animation: featured-shimmer 1.5s ease-in-out infinite;
}

/* ---------- Bento grid ---------- */
.bento-section {
  background: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0;
  overflow-x: hidden;
}
.bento-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}
.bento-head h2 {
  font-size: clamp(36px, 5vw, 60px);
  margin: 0;
  max-width: 18ch;
  line-height: 1.05;
}
.bento-head .nav-dots { display: flex; gap: 12px; align-items: center; }
.bento-head .count {
  font-family: var(--display);
  font-size: 15px;
  font-style: italic;
  color: var(--ink-500);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 20px;
}
.bento-cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all .35s var(--ease);
  display: flex; flex-direction: column;
}
.bento-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.bento-cell .tag {
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-400); margin-bottom: 14px;
}
.bento-cell h3 {
  font-size: 22px;
  font-family: var(--display);
  color: var(--navy-900);
  margin: 0 0 8px;
  line-height: 1.2;
}
.bento-cell p { font-size: 14px; color: var(--ink-500); margin: 0; }

/* Cell variants — promise block: editorial band, not a floating card */
.b-big {
  grid-column: span 7;
  grid-row: span 2;
  background: var(--navy-900);
  color: var(--white);
  padding: 44px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}
.bento-cell.b-big:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}
.b-big::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(520px 360px at 100% 0%, rgba(228, 176, 74, 0.07), transparent 55%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  pointer-events: none;
}
.b-big > * { position: relative; }
.b-big .tag { color: var(--gold-400); }
.b-promise-intro .tag {
  margin-bottom: 10px;
}
.b-big h3 {
  color: var(--white);
  font-size: clamp(30px, 3.4vw, 44px);
  margin: 0;
  max-width: 20ch;
}
/* Full-bleed strip inside the promise cell — no nested “card” chrome */
.catalog-strip {
  position: relative;
  width: calc(100% + 2 * clamp(16px, 4vw, 44px));
  margin-left: calc(-1 * clamp(16px, 4vw, 44px));
  margin-right: calc(-1 * clamp(16px, 4vw, 44px));
  margin-top: 8px;
  margin-bottom: 4px;
  padding: 10px 0 6px;
  flex: 0 0 auto;
}
.catalog-strip__marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.catalog-strip__track {
  display: flex;
  width: max-content;
  animation: catalog-strip-scroll 48s linear infinite;
}
/* Pause on hover — but only for devices with a real pointer (mouse/trackpad).
   On touch devices a tap triggers a "sticky hover" that would freeze the
   marquee until the user taps elsewhere, which feels broken. */
@media (hover: hover) and (pointer: fine) {
  .catalog-strip__marquee:hover .catalog-strip__track {
    animation-play-state: paused;
  }
}
.catalog-strip__set {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  gap: 16px;
  padding: 0 clamp(12px, 3vw, 20px);
}
@keyframes catalog-strip-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.catalog-strip-card {
  flex: 0 0 auto;
  width: 148px;
  max-width: 148px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s var(--ease);
}
.catalog-strip-card:hover {
  opacity: 0.92;
}
.catalog-strip-card:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 4px;
  border-radius: 4px;
}
.catalog-strip-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  flex-shrink: 0;
}
.catalog-strip-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 6px;
  box-sizing: border-box;
  display: block;
  z-index: 1;
}
.catalog-strip-card__img--fail {
  display: none;
}
.catalog-strip-card__icon {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.32);
  pointer-events: none;
}
.catalog-strip-card__icon svg {
  width: 44px;
  height: auto;
}
.catalog-strip-card__media:has(.catalog-strip-card__img:not(.catalog-strip-card__img--fail)) .catalog-strip-card__icon {
  display: none;
}
.catalog-strip-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 0 1px;
}
.catalog-strip-card__sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.catalog-strip-card__name {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catalog-strip-card__price {
  font-family: var(--display);
  font-size: 12px;
  color: #c6d1e3;
}
.catalog-strip-card__price .price-from {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(198, 209, 227, 0.65);
  margin-right: 0.2em;
}
.catalog-strip-card__price .price-amount { font-family: var(--display); }
.catalog-strip-card__price .price-line {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.35em;
  white-space: nowrap;
}
.b-big .bottom-row {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px 16px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.b-big .bottom-row .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(255,255,255,.06);
  color: #c6d1e3;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}
.b-big .bottom-row > a.btn.btn-sm {
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.2;
}

.b-stat {
  grid-column: span 5;
  background: var(--white);
  border-left: 3px solid var(--gold-500);
  padding: 30px 32px;
}
.b-stat .num {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  color: var(--navy-900);
  font-weight: 400;
  display: block;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.b-stat p { font-size: 14.5px; color: var(--ink-500); max-width: 32ch; }

.b-quote {
  grid-column: span 5;
  grid-row: span 2;
  background: var(--navy-50);
  border: 0;
  padding: 36px;
  display: flex; flex-direction: column;
}
.b-quote .mark {
  font-family: var(--display);
  font-size: 80px; line-height: 0.6;
  color: var(--gold-500);
  margin-bottom: 4px;
}
.b-quote blockquote {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.35;
  color: var(--navy-900);
  font-style: italic;
  letter-spacing: -0.005em;
}
.b-quote .who { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(11,30,63,.1); }
.b-quote .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-800); color: var(--gold-400); display: grid; place-items: center; font-family: var(--display); font-weight: 600; }
.b-quote .who strong { display: block; font-size: 14px; color: var(--navy-900); }
.b-quote .who span { font-size: 12px; color: var(--ink-500); }

.b-product {
  grid-column: span 4;
  padding: 0;
  background: linear-gradient(160deg, #ffffff, #eef2f8);
}
.b-product .p-media {
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  position: relative;
  background: transparent;
  border-bottom: none;
}
.b-product .p-media svg { width: 54%; color: var(--navy-700); opacity: .9; }
.b-product .p-media img {
  width: min(92%, 220px);
  height: auto;
  max-height: 78%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}
.b-product .p-price .price-from {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-right: 0.25em;
  vertical-align: 0.08em;
}
.b-product .p-media .sticker {
  position: absolute;
  top: 16px; left: 16px;
  padding: 5px 11px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: var(--gold-500); color: var(--navy-900);
  border-radius: 999px;
}
.b-product .p-body {
  padding: 22px 26px 26px;
  border-top: 1px solid var(--line);
}
.b-product h3 { font-family: var(--sans); font-size: 16px; margin-bottom: 4px; }
.b-product .p-price { font-family: var(--display); font-size: 18px; color: var(--navy-900); font-weight: 600; margin-top: 10px; }

.b-action {
  grid-column: span 3;
  background: linear-gradient(160deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  border: 0;
}
.b-action .tag { color: var(--navy-800); opacity: .7; }
.b-action h3 { color: var(--navy-900); font-size: 22px; }
.b-action p { color: rgba(11,30,63,.72); font-size: 13.5px; }
.b-action .arrow {
  margin-top: auto;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-900); color: var(--gold-500);
  display: grid; place-items: center;
  transition: transform .3s var(--ease);
}
.b-action:hover .arrow { transform: translateX(4px) rotate(-20deg); }

/* ---------- Periodic table category grid ---------- */
.periodic-section {
  background: var(--navy-900);
  color: var(--white);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.periodic-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(800px 500px at 10% 0%, rgba(14,163,113,.08), transparent 60%),
              radial-gradient(800px 500px at 90% 100%, rgba(228,176,74,.08), transparent 60%);
  pointer-events: none;
}
.periodic-section .container { position: relative; }
.periodic-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.periodic-head h2 {
  font-size: clamp(40px, 5.5vw, 72px);
  color: var(--white);
  margin: 0;
  line-height: 1;
  letter-spacing: -0.03em;
}
.periodic-head h2 em { font-style: italic; color: var(--gold-400); }
.periodic-head p { font-size: 16px; color: #9AABC4; max-width: 40ch; margin: 0; }

.periodic {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}
.pt-cell {
  aspect-ratio: 1;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 14px;
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: all .3s var(--ease);
  overflow: hidden;
  cursor: pointer;
}
.pt-cell:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
  transform: scale(1.05);
  z-index: 2;
}
.pt-cell .pt-no {
  font-size: 10px;
  opacity: .6;
  font-family: var(--sans);
  font-weight: 500;
  text-align: right;
}
.pt-cell .pt-sym {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1;
  color: var(--white);
  transition: color .3s;
}
.pt-cell:hover .pt-sym { color: var(--navy-900); }
.pt-cell .pt-name {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .7;
}
.pt-cell.category { background: rgba(228,176,74,.08); border-color: rgba(228,176,74,.3); }
.pt-cell.category .pt-sym { color: var(--gold-400); }
.pt-cell.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.pt-cell.empty { background: transparent; border-style: dashed; border-color: rgba(255,255,255,.05); pointer-events: none; }
.pt-cell.note {
  background: transparent;
  border: 0;
  pointer-events: none;
  grid-column: span 3;
  display: flex; align-items: center;
  font-size: 13px; color: #9AABC4;
  font-family: var(--display);
  font-style: italic;
  line-height: 1.5;
  padding: 18px 10px;
}

/* Anchor reset for clickable tiles — keeps the periodic look but adds focus */
a.pt-cell { text-decoration: none; color: inherit; }
a.pt-cell:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

/* ---------- Filter banner (products page) ---------- */
.filter-banner {
  margin: 0 0 24px;
  background: linear-gradient(135deg, rgba(11,30,63,.04), rgba(228,176,74,.08));
  border: 1px solid rgba(228,176,74,.35);
  border-radius: 14px;
  padding: 14px 18px;
  animation: filterBannerIn .35s cubic-bezier(.4,0,.2,1);
}
@keyframes filterBannerIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.filter-banner__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.filter-banner__chip {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--navy-900, #0B1E3F);
  color: var(--gold-400, #E4B04A);
  flex-shrink: 0;
}
.filter-banner__chip svg { width: 18px; height: 18px; }
.filter-banner__text {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-700, #334155);
}
.filter-banner__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--ink-500, #64748B);
}
.filter-banner__text strong {
  font-family: var(--display, serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-900, #0B1E3F);
}
.filter-banner__count {
  font-size: 13px;
  color: var(--ink-500, #64748B);
}
.filter-banner__clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--white, #fff);
  border: 1px solid rgba(11,30,63,.15);
  border-radius: 999px;
  font: 600 13px/1 var(--sans);
  color: var(--navy-900, #0B1E3F);
  cursor: pointer;
  transition: all .2s ease;
  flex-shrink: 0;
}
.filter-banner__clear:hover {
  background: var(--navy-900, #0B1E3F);
  color: #fff;
  border-color: var(--navy-900, #0B1E3F);
}
.filter-banner__clear svg { width: 14px; height: 14px; }
@media (max-width: 600px) {
  .filter-banner { padding: 12px 14px; }
  .filter-banner__chip { width: 34px; height: 34px; }
  .filter-banner__text strong { font-size: 16px; }
  .filter-banner__clear { width: 100%; justify-content: center; }
}

/* ---------- Horizontal process rail ---------- */
.process-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper);
  overflow: hidden;
}
.process-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}
.process-head h2 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}
.process-head h2 em { font-style: italic; color: var(--emerald-600); }
.process-head .lead { font-size: 16px; color: var(--ink-500); max-width: 42ch; margin: 0; }

.process-rail {
  position: relative;
}
.process-rail::before {
  content: "";
  position: absolute;
  top: 64px; left: 0; right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0, var(--line-2) 12px, transparent 12px, transparent 22px);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.p-step {
  position: relative;
  padding-top: 104px;
}
.p-step .circle {
  position: absolute;
  top: 0; left: 0;
  width: 128px; height: 128px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line-2);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 46px;
  color: var(--navy-900);
  font-weight: 500;
  z-index: 2;
  transition: all .4s var(--ease);
}
.p-step:hover .circle {
  background: var(--navy-900);
  color: var(--gold-400);
  border-color: var(--navy-900);
  transform: scale(1.04);
}
.p-step .circle small {
  position: absolute;
  top: -8px; right: -8px;
  width: 28px; height: 28px;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  font-family: var(--sans);
  border: 3px solid var(--paper);
}
.p-step h3 { font-size: 20px; margin: 10px 0 8px; }
.p-step p { font-size: 14px; color: var(--ink-500); margin: 0; }
.p-step .dur {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--emerald-600);
  padding: 5px 11px;
  background: var(--emerald-50);
  border-radius: 999px;
}

/* ---------- Diagonal CTA ---------- */
.diagonal-cta {
  position: relative;
  background: var(--paper);
  padding: 0;
  overflow: hidden;
}
.diagonal-cta__inner {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  padding: clamp(80px, 10vw, 140px) 0;
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%);
  -webkit-clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%);
}
.diagonal-cta__inner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 80% 30%, rgba(228,176,74,.16), transparent 60%),
    radial-gradient(600px 400px at 10% 80%, rgba(14,163,113,.12), transparent 60%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: auto, auto, 50px 50px, 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  pointer-events: none;
}
.diagonal-cta__inner .container { position: relative; }
.diagonal-cta__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.diagonal-cta h2 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 82px);
  color: var(--white);
  line-height: .95;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
}
.diagonal-cta h2 em {
  font-style: italic;
  color: var(--gold-400);
}
.diagonal-cta p { font-size: 17px; color: #C6D1E3; max-width: 48ch; margin: 0 0 36px; }
.diagonal-cta .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.diagonal-cta__side {
  border-left: 1px solid rgba(255,255,255,.1);
  padding-left: 40px;
}
.diagonal-cta__side .big-num {
  font-family: var(--display);
  font-size: clamp(60px, 8vw, 120px);
  line-height: 1;
  color: var(--gold-400);
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}
.diagonal-cta__side .lab {
  font-size: 13px;
  color: #9AABC4;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 28px;
}
.diagonal-cta__side ul { display: flex; flex-direction: column; gap: 14px; }
.diagonal-cta__side li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14.5px;
  color: #C6D1E3;
}
.diagonal-cta__side li svg { width: 16px; height: 16px; color: var(--emerald-500); flex-shrink: 0; }

/* ---------- Responsive ---------- */
/* --- Editorial responsive --- */
@media (max-width: 1080px) {
  .ed-hero { grid-template-columns: 1fr; min-height: auto; }
  .ed-hero__left {
    padding: clamp(32px, 5vw, 72px) var(--gutter) clamp(28px, 4vw, 56px);
    justify-content: flex-start;
    gap: clamp(14px, 2.5vw, 22px);
  }
  .ed-hero__right {
    padding: clamp(28px, 4vw, 48px) var(--gutter);
    gap: 12px;
    min-height: 0;
  }
  .bento-cell.b-big { grid-column: span 12; grid-row: auto; }
  .bento-cell.b-stat { grid-column: span 6; }
  .bento-cell.b-quote { grid-column: span 12; grid-row: auto; }
  .bento-cell.b-product { grid-column: span 6; }
  .bento-cell.b-action { grid-column: span 6; }
  .periodic { grid-template-columns: repeat(6, 1fr); }
  .pt-cell.note { grid-column: span 4; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-rail::before { display: none; }
  .periodic-head,
  .process-head,
  .bento-head { grid-template-columns: 1fr; gap: 24px; }
  .bento-head { margin-bottom: 32px; gap: 14px; align-items: start; }
  .diagonal-cta__grid { grid-template-columns: 1fr; gap: 40px; }
  .diagonal-cta__side { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding-left: 0; padding-top: 40px; }
  .ed-hero__meta {
    grid-template-columns: 1fr;
    gap: clamp(16px, 3vw, 28px);
    margin-top: 0;
    padding-top: clamp(16px, 2.5vw, 28px);
  }
  .ed-hero__cta { justify-self: start; }
}
@media (max-width: 680px) {
  .periodic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .pt-cell.wide { grid-column: span 2; }
  .pt-cell.note {
    grid-column: 1 / -1;
  }
  .process-steps { grid-template-columns: 1fr; }
  .bento-cell.b-stat, .bento-cell.b-product, .bento-cell.b-action { grid-column: span 12; }
}

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split-image { max-width: 520px; margin: 0 auto; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner { grid-template-columns: 1fr; text-align: left; }
  .cta-inner .actions { justify-content: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  footer .foot-grid {
    justify-items: center;
  }
  footer .foot-grid > div {
    text-align: center;
    max-width: 280px;
    width: 100%;
  }
  .foot-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .foot-brand .logo {
    justify-content: center;
  }
  .foot-brand p {
    margin-inline: auto;
  }
  .foot-brand .social {
    justify-content: center;
  }
  footer .foot-grid > div > ul:not(.foot-contact) {
    margin-inline: auto;
    display: inline-block;
    text-align: center;
  }
  .foot-contact li {
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 760px) {
  .nav .container {
    position: relative;
    z-index: 3;
    height: auto;
    min-height: 60px;
    padding-block: 8px;
  }
  .logo {
    font-size: 16px;
    gap: 10px;
    line-height: 1.2;
    min-width: 0;
  }
  .logo-mark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }
  .logo-mark svg {
    width: 22px;
    height: 22px;
  }
  .logo small {
    font-size: 10px;
    margin-top: 1px;
  }
  .hamburger {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .nav-cta .btn { display: none; }
  .hamburger {
    display: grid;
    position: relative;
    z-index: 210;
    touch-action: manipulation;
    transition: background .2s ease, color .2s ease;
  }
  /* Hamburger morphs to X when nav is open */
  .hamburger svg .top,
  .hamburger svg .mid,
  .hamburger svg .bot {
    transition: transform .25s var(--ease), opacity .2s ease;
    transform-origin: center;
  }
  /* Stack above the drawer panel so one control opens/closes (avoids a second “menu chrome” row). */
  .nav.open .hamburger {
    background: var(--navy-900);
    color: var(--white);
    z-index: 10050;
  }
  .nav.open .hamburger svg .top { transform: translateY(5px) rotate(45deg); }
  .nav.open .hamburger svg .mid { opacity: 0; }
  .nav.open .hamburger svg .bot { transform: translateY(-5px) rotate(-45deg); }

  .nav { overflow: visible; }
  .nav.open { z-index: 200; }

  /* Backdrop — covers the area to the LEFT of the drawer only.
     Critical: do NOT overlap the drawer (right: min(340px, 86vw)) so the
     backdrop can never intercept clicks meant for drawer items, regardless
     of what stacking-context weirdness the parent <header> introduces.
     Also pushed to a very high z-index so it always sits above page content. */
  .nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: min(340px, 86vw);
    z-index: 9990;
    margin: 0; border: 0; padding: 0;
    background: rgba(6, 18, 38, 0.55);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease;
  }
  .nav.open .nav-backdrop,
  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Drawer — full viewport height, slides from right.
     No more dependency on the nav's bottom edge — eliminates the scroll-position bug. */
  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start;
    gap: 4px;
    position: fixed;
    top: 0;
    right: 0 !important;
    left: auto !important;
    bottom: 0;
    width: min(340px, 86vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    box-sizing: border-box;
    padding: calc(20px + env(safe-area-inset-top, 0px)) 18px calc(20px + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    border: 0;
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 60px rgba(8, 24, 47, 0.32);
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translate3d(100%, 0, 0);
    will-change: transform;
    pointer-events: none;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  }
  .nav.open .nav-links,
  body.nav-open .nav-links {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }
  .nav-links a {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
  }
  .nav-links a.active {
    background: var(--navy-50);
    color: var(--navy-900);
  }
  .nav-links a.active::after { display: none; }

  /* Drawer footer — quick contact actions */
  .nav-drawer-foot {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 8px;
  }
  .nav-drawer-foot a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px; font-weight: 500;
    color: var(--ink-700);
  }
  .nav-drawer-foot a svg { width: 16px; height: 16px; color: var(--gold-500); }
  .nav-drawer-foot a.cta-quote {
    background: var(--navy-900);
    color: var(--white);
    justify-content: center;
  }
  .nav-drawer-foot a.cta-quote svg { color: var(--gold-400); }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 18px;
  }
  .major-toggle {
    max-width: none;
    width: 100%;
    margin-bottom: 12px;
  }
  .toggle-btn {
    font-size: 12px;
    padding: 12px 10px;
    min-height: 48px;
    line-height: 1.25;
  }
  .search-row {
    max-width: none;
    width: 100%;
    margin: 0 0 10px;
  }
  .search-box {
    min-width: 0;
    width: 100%;
    padding: 10px 14px;
    gap: 10px;
    border-radius: 12px;
  }
  .search-box input {
    font-size: 16px;
    min-width: 0;
  }
  /* Catalogue: chips on desktop; on phone use <select> (no horizontal chip scroll) */
  body.products-page .filters {
    display: none !important;
  }
  body.products-page .filter-select-wrap {
    display: block;
    margin-bottom: 16px;
  }
  body.products-page .ed-page-header .summary {
    display: none;
  }
  body.products-page .ed-page-border {
    padding: 12px 0 10px;
    gap: 6px;
  }
  body.products-page .ed-page-header h1 {
    font-size: clamp(26px, 6.5vw, 32px);
  }
  section.catalog-section {
    padding-top: 16px;
    padding-bottom: 36px;
  }
  /* Default: still single column on small screens for non-catalog pages */
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  /* Products catalogue: two masonry columns on phones / small tablets */
  body.products-page .product-grid {
    display: block;
    column-count: 2;
    column-gap: 12px;
  }
  body.products-page .product-grid > .product-card {
    margin-bottom: 12px;
  }
  /* Slightly portrait — more vertical room than 1:1 so tall glassware fits with object-fit: contain */
  body.products-page .product-media {
    aspect-ratio: 3 / 4;
  }
  body.products-page .product-body {
    padding: 12px 12px 14px;
  }
  .product-body {
    padding: 16px 18px;
  }
  body.products-page .product-card h3 {
    font-size: 14px;
    line-height: 1.25;
    letter-spacing: -0.02em;
  }
  .product-card h3 {
    font-size: 16px;
    line-height: 1.25;
  }
  body.products-page .product-card .desc {
    font-size: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 0;
    min-height: calc(2 * 1.4 * 12px);
  }
  .product-card .desc {
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body.products-page .product-tag {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 9px;
  }
  body.products-page .product-price {
    font-size: 14px;
  }
  body.products-page .product-price small {
    font-size: 9px;
  }
  body.products-page .product-foot {
    padding-top: 10px;
    gap: 8px 10px;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  body.products-page .product-foot button,
  body.products-page .product-foot .product-enquire {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 11px;
  }
  .product-foot {
    gap: 10px 12px;
    align-items: end;
    padding-top: 12px;
  }
  .product-foot button,
  .product-foot .product-enquire {
    min-height: 44px;
    padding: 10px 16px;
  }
  .empty-state {
    padding: 36px 16px;
  }
  /* Mobile footer — single-column stack, everything left-aligned at the
     same x position. Symmetric, no wrapping in narrow cells. */
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }
  footer .container {
    padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px))
      max(var(--gutter), env(safe-area-inset-right, 0px));
  }
  /* Every cell: full-width, content flush-left */
  footer .foot-grid > div {
    text-align: left;
    max-width: none;
    margin-inline: 0;
    width: 100%;
    grid-column: auto;
  }
  /* Brand block — kill any inherited centering */
  .foot-brand {
    display: block;
    align-items: flex-start;
  }
  .foot-brand .logo {
    justify-content: flex-start;
    display: inline-flex;
  }
  .foot-brand p {
    margin-inline: 0;
    max-width: none;
  }
  .foot-brand .social {
    justify-content: flex-start;
  }
  /* Link lists — flush left, no inline-block weirdness */
  footer .foot-grid > div > ul:not(.foot-contact) {
    margin: 0;
    padding: 0;
    display: block;
    text-align: left;
  }
  footer .foot-grid > div > ul:not(.foot-contact) li {
    text-align: left;
  }
  /* Get in touch — left-aligned, no mid-word breaks */
  .foot-contact { align-items: stretch; }
  .foot-contact li { justify-content: flex-start; text-align: left; }
  .foot-contact a { word-break: normal; overflow-wrap: normal; }
  /* Bottom bar: stack but keep left alignment */
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 8px;
  }
  .hero-card-float { display: none; }

  /* --- Mobile typography (site-wide) --- */
  .ed-hero {
    margin: 0;
    padding: 0;
    row-gap: 0;
  }
  .ed-hero__left {
    padding: 22px var(--gutter) 18px;
    gap: 12px;
  }
  .ed-headline {
    font-size: clamp(26px, 7.2vw, 40px);
    line-height: 1.05;
    letter-spacing: -0.03em;
  }
  .ed-hero__lede { font-size: 14px; max-width: 100%; line-height: 1.55; }
  .ed-issue { font-size: 10px; gap: 8px; margin-bottom: 0; }
  .ed-hero__meta {
    gap: 14px;
    padding-top: 14px;
  }
  .ed-hero__cta {
    gap: 10px;
  }
  .ticker { padding: 12px 0; margin-top: 0; }
  .ticker-item { font-size: clamp(14px, 3.8vw, 18px); gap: 10px; }
  .ticker-item em { font-size: 13px; }
  .ticker-track { gap: 36px; }
  .section-head h2 { font-size: clamp(24px, 6vw, 36px); }
  .section-head p { font-size: 15px; }
  .page-header h1 { font-size: clamp(28px, 8vw, 48px); }
  .page-header p { font-size: 15px; }
  .bento-head h2 { font-size: clamp(26px, 7vw, 42px); }
  .periodic-section {
    padding: clamp(20px, 5vw, 36px) 0 clamp(16px, 4vw, 28px);
  }
  .periodic-head {
    margin-bottom: 10px;
    gap: 6px;
  }
  .periodic-head h2 {
    font-size: clamp(21px, 6vw, 30px);
    line-height: 1.05;
  }
  .periodic-head p {
    font-size: 13px;
    line-height: 1.35;
    max-width: none;
  }
  .periodic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .pt-cell {
    aspect-ratio: auto;
    min-height: 76px;
    padding: 7px 6px 8px;
    overflow: visible;
    border-radius: 8px;
  }
  .pt-cell:hover {
    transform: none;
  }
  .pt-cell .pt-no {
    font-size: 7px;
    opacity: 0.55;
  }
  .pt-cell .pt-sym {
    font-size: clamp(18px, 5vw, 24px);
    margin: 1px 0;
  }
  .pt-cell .pt-name {
    font-size: 8px;
    line-height: 1.15;
    letter-spacing: 0.04em;
    overflow: visible;
    white-space: normal;
  }
  .pt-cell.note {
    grid-column: 1 / -1;
    padding: 2px 4px 0;
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
    justify-content: center;
    min-height: 0;
  }
  .process-section {
    padding: clamp(28px, 7vw, 56px) 0;
  }
  .process-head {
    margin-bottom: 20px;
    gap: 12px;
  }
  .process-head h2 { font-size: clamp(24px, 7vw, 36px); }
  .process-head .lead { font-size: 14px; line-height: 1.45; max-width: none; }
  .process-steps {
    gap: 14px;
  }
  /* Compact rows: small circle left, copy right — much shorter than stacked layout */
  .p-step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 12px;
    row-gap: 3px;
    padding-top: 0;
    align-items: start;
  }
  .p-step .circle {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: start;
    width: 48px;
    height: 48px;
    font-size: 17px;
    margin-top: 1px;
  }
  .p-step:hover .circle {
    transform: none;
  }
  .p-step .circle small {
    width: 19px;
    height: 19px;
    font-size: 8px;
    top: -3px;
    right: -3px;
    border-width: 2px;
  }
  .p-step h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 2px;
    font-size: 15px;
    line-height: 1.2;
  }
  .p-step p {
    grid-column: 2;
    grid-row: 2;
    font-size: 13px;
    line-height: 1.4;
  }
  .p-step .dur {
    grid-column: 2;
    grid-row: 3;
    margin-top: 4px;
    padding: 3px 8px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }
  .diagonal-cta__inner {
    padding: clamp(22px, 6vw, 40px) 0;
    clip-path: polygon(0 0, 100% 2%, 100% 100%, 0 98%);
    -webkit-clip-path: polygon(0 0, 100% 2%, 100% 100%, 0 98%);
  }
  .diagonal-cta__grid {
    gap: 14px;
  }
  .diagonal-cta h2 {
    font-size: clamp(22px, 6.5vw, 34px);
    line-height: 1;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
  }
  .diagonal-cta p {
    font-size: 13px;
    margin-bottom: 14px;
    line-height: 1.45;
    max-width: none;
  }
  .diagonal-cta .cta-actions {
    gap: 10px;
  }
  .diagonal-cta .btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  .diagonal-cta__side {
    padding-top: 12px;
    margin-top: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .diagonal-cta__side .big-num {
    font-size: clamp(30px, 10vw, 44px);
    margin: 0 0 2px;
    letter-spacing: -0.03em;
  }
  .diagonal-cta__side .lab {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.07em;
  }
  .diagonal-cta__side ul {
    gap: 7px;
  }
  .diagonal-cta__side li {
    font-size: 12.5px;
    line-height: 1.35;
    gap: 8px;
    align-items: flex-start;
  }
  .diagonal-cta__side li svg {
    width: 14px;
    height: 14px;
    margin-top: 2px;
  }
  footer {
    padding: 24px 0 calc(104px + env(safe-area-inset-bottom, 0px));
  }
  .foot-grid {
    gap: 14px;
    padding-bottom: 20px;
  }
  footer h4 {
    margin-bottom: 6px;
    font-size: 12px;
    letter-spacing: 0.1em;
  }
  .foot-brand .logo {
    margin-bottom: 10px;
  }
  .foot-brand p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 10px;
    max-width: none;
  }
  .foot-brand .social {
    gap: 8px;
    justify-content: center;
    align-items: center;
  }
  .foot-brand .social a {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .foot-brand .social svg {
    width: 16px;
    height: 16px;
  }
  footer ul li {
    margin-bottom: 4px;
  }
  footer ul a {
    font-size: 14px;
    line-height: 1.35;
    display: inline-block;
  }
  .foot-contact li {
    font-size: 14px;
    line-height: 1.45;
    gap: 8px;
    margin-bottom: 2px;
  }
  .foot-contact li:last-child {
    margin-bottom: 0;
  }
  .foot-bottom {
    padding-top: 16px;
    gap: 8px;
    font-size: 12px;
    line-height: 1.4;
  }
  .ed-hero__right {
    padding: 20px var(--gutter) 22px;
    gap: 8px;
  }
  .ed-hero__label {
    margin-bottom: 4px;
    letter-spacing: 0.1em;
  }
  .feature-object { padding: 18px 18px 20px; min-height: 0; }
  .feature-object h3 {
    font-size: clamp(17px, 4.2vw, 20px);
    line-height: 1.2;
  }
  .feature-object p { font-size: 12.5px; line-height: 1.45; }
  .feature-object .specs strong { font-size: 15px; }
  .feature-object .visual {
    max-height: min(240px, 52vw);
    margin-bottom: 10px;
  }
  .feature-object .visual--icon {
    max-height: min(130px, 38vw);
  }
  .b-big {
    grid-row: span 1;
    padding: 28px var(--gutter) 22px;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
  }
  .b-big h3 { font-size: clamp(20px, 5.5vw, 28px); max-width: 22ch; }
  .b-big .bottom-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 14px;
  }
  .b-big .bottom-row .pill {
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }
  .catalog-strip {
    width: calc(100% + 44px);
    margin-left: -22px;
    margin-right: -22px;
  }
  .catalog-strip-card {
    width: 132px;
    max-width: 132px;
  }
  .bento-section { padding: clamp(36px, 8vw, 72px) 0; }
  .bento-head { margin-bottom: 22px; gap: 12px; }
  .bento {
    gap: 10px;
  }
  .bento-cell:hover {
    transform: none;
    box-shadow: none;
  }
  .bento-cell:not(.b-big):not(.b-product) {
    padding: 16px 16px 18px;
    border-radius: 12px;
  }
  .b-stat {
    padding: 14px 14px 16px 12px;
  }
  .b-stat .tag {
    margin-bottom: 6px;
  }
  .b-stat .num {
    font-size: clamp(32px, 9vw, 44px);
    margin-bottom: 5px;
  }
  .b-stat p {
    font-size: 13px;
    line-height: 1.45;
    max-width: none;
  }
  .b-quote {
    padding: 16px 14px 14px;
  }
  .b-quote .mark {
    font-size: 38px;
    line-height: 0.5;
    margin-bottom: 0;
  }
  .b-quote blockquote {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  .b-quote .who {
    margin-top: 0;
    padding-top: 10px;
    gap: 10px;
  }
  .b-quote .avatar {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }
  .b-quote .who strong {
    font-size: 13px;
  }
  .b-product {
    display: grid;
    grid-template-columns: minmax(108px, 36%) 1fr;
    align-items: stretch;
    border-radius: 12px;
    overflow: hidden;
  }
  .b-product .p-media {
    aspect-ratio: auto;
    min-height: 112px;
    max-height: 140px;
    border-bottom: none;
    border-right: 1px solid var(--line);
    padding: 8px 4px;
  }
  .b-product .p-media svg {
    width: min(88px, 78%);
    max-height: 96px;
  }
  .b-product .p-media img {
    width: min(88px, 78%);
    max-height: 96px;
    max-width: 100%;
    object-fit: contain;
  }
  .b-product .p-body {
    padding: 12px 14px 14px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .b-product .p-body .tag {
    margin-bottom: 2px;
    font-size: 9.5px;
  }
  .b-product h3 {
    font-size: 15px;
    line-height: 1.25;
    margin: 0;
  }
  .b-product .p-price {
    font-size: 16px;
    margin-top: 6px;
  }
  .b-product .p-media .sticker {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 9.5px;
  }
  .b-action {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 4px;
    padding: 14px 14px 14px 16px;
    border-radius: 12px;
  }
  .b-action .tag {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  .b-action h3 {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
  }
  .b-action p {
    grid-column: 1;
    grid-row: 3;
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
  }
  .b-action .arrow {
    grid-column: 2;
    grid-row: 2 / span 2;
    margin-top: 0;
    align-self: center;
    width: 42px;
    height: 42px;
  }
  .b-action .arrow svg {
    width: 18px;
    height: 18px;
  }
  .btn { font-size: 14px; padding: 11px 18px; white-space: normal; text-align: center; justify-content: center; }
  .btn-sm { font-size: 12px; padding: 8px 14px; }
  .b-big .bottom-row > a.btn.btn-sm {
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
  }
  .cat-card h3 { font-size: 19px; }
  .why-card h3 { font-size: 18px; }
  .why-card p { font-size: 13.5px; }
  .testi-card p { font-size: 14px; }
  .cta-inner h2 { font-size: clamp(24px, 6vw, 34px); }
  .cta-inner p { font-size: 15px; }
  .stat-box strong { font-size: clamp(28px, 8vw, 34px); }
  .ed-page-header h1 { font-size: clamp(26px, 6vw, 36px); }
  .ed-page-header .summary { font-size: 14px; }
  .contact-heading { font-size: clamp(24px, 6vw, 40px); }
  .description-text { font-size: 15px; }
}

@media (max-width: 420px) {
  .ed-headline { font-size: clamp(24px, 8vw, 34px); }
  .ed-hero__left { padding: 20px var(--gutter) 16px; }
  .ticker-item { font-size: 13px; }
  .ticker-item em { font-size: 12px; }
  .nav .logo small {
    display: none;
  }
  .topbar {
    font-size: 11px;
    padding: 5px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ticker-track {
    animation: none;
  }
  .wa-float::after {
    animation: none;
  }
  .loading-shimmer--featured {
    animation: none;
  }
  .catalog-strip__track {
    animation: none;
  }
  .brands-marquee__track {
    animation: none;
  }
  .loading-shimmer--brands {
    animation: none;
  }
  @media (max-width: 760px) {
    .nav-links {
      transition: none !important;
    }
    .nav-backdrop {
      transition: none !important;
    }
  }
}

/* ---------- Featured hero loading ---------- */
.loading-shimmer--featured {
  min-height: 260px;
  border-radius: 12px;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.1) 45%,
    rgba(255, 255, 255, 0.04) 90%
  );
  background-size: 200% 100%;
  animation: featured-shimmer 1.5s ease-in-out infinite;
}
@keyframes featured-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ---------- Inner pages: About / Services ---------- */
.about-section { padding: clamp(40px, 5vw, 64px) 0; }
.about-inner-narrow { max-width: 800px; margin: 0 auto; text-align: center; }
.about-intro-head {
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 24px;
  font-family: var(--display);
  color: var(--navy-900);
  font-weight: 500;
  line-height: 1.15;
}
.prose-relaxed {
  font-size: clamp(15px, 2.8vw, 18px);
  color: var(--ink-700);
  line-height: 1.7;
  text-align: left;
}
.prose-relaxed p { margin-bottom: 1.25em; }
.prose-relaxed p:last-child { margin-bottom: 0; }

.stat-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(16px, 3vw, 24px);
  margin-top: 32px;
}
.stat-card-simple {
  background: var(--paper);
  padding: clamp(20px, 4vw, 32px);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--gray-border);
}
.stat-card-simple .num {
  font-family: var(--display);
  font-size: clamp(26px, 6vw, 32px);
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card-simple .lbl { font-size: 14px; font-weight: 500; color: var(--ink-700); }

.mission-quote {
  font-family: var(--display);
  font-size: clamp(26px, 5vw, 56px);
  margin: 24px 0;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.mission-prose-box {
  font-size: clamp(15px, 2.8vw, 18px);
  color: var(--ink-700);
  line-height: 1.7;
  text-align: left;
  background: var(--paper);
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-border);
  margin-top: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}
.mission-prose-box p { margin-bottom: 1.25em; }
.mission-prose-box p:last-of-type { margin-bottom: 0; }

.services-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.services-highlight-card {
  background: var(--paper);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
  text-align: center;
}
.services-highlight-card .icon-ring {
  width: 48px;
  height: 48px;
  background: rgba(228, 176, 74, 0.12);
  color: var(--gold-400);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.services-highlight-card .icon-ring svg { width: 24px; height: 24px; }
.services-highlight-card h4 {
  margin-bottom: 12px;
  font-size: clamp(17px, 3.5vw, 20px);
  font-family: var(--sans);
  font-weight: 600;
  color: var(--navy-900);
}
.services-highlight-card p { margin: 0; color: var(--ink-700); font-size: 15px; line-height: 1.55; }

.lead-muted {
  color: var(--ink-500);
  font-size: clamp(15px, 2.8vw, 17px);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 760px) {
  .about-page .about-intro-head { font-size: clamp(22px, 5vw, 30px); }
  .about-page .mission-quote { font-size: clamp(22px, 5vw, 32px); }
  .about-page .stat-card-simple .num { font-size: 24px; }
  .about-page .stat-card-simple { padding: 20px 16px; }
}

/* ==========================================================================
   Contact Page Restructure
   ========================================================================== */

.contact-section {
  padding: clamp(64px, 8vw, 112px) 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  gap: clamp(40px, 8vw, 80px);
  align-items: start;
}

.contact-info-col {
  max-width: 520px;
  width: 100%;
  /* Sticky only in true side-by-side layout — flex-wrap used to stack columns
     while sticky stayed fixed, so the form scrolled underneath the sidebar. */
  position: static;
  background: var(--paper);
}

.contact-form-col {
  max-width: 800px;
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 1;
  background: var(--paper);
}

@media (min-width: 960px) {
  .contact-info-col {
    position: sticky;
    top: 108px;
    align-self: start;
  }
}

@media (max-width: 959px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-page .contact-form-card form {
  width: 100%;
  min-width: 0;
}
.contact-page .field {
  min-width: 0;
}

.contact-heading {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 24px;
  color: var(--navy-900);
  line-height: 1.1;
  font-family: var(--display);
}

.description-text {
  color: var(--ink-500);
  font-size: 18px;
  margin-bottom: 48px;
  max-width: 440px;
}

.contact-page .contact-eyebrow { margin-bottom: 20px; }

.contact-page .contact-timeline {
  display: grid;
  gap: 24px;
  border-left: 2px solid var(--line);
  padding-left: 24px;
}
.contact-page .contact-timeline__item { position: relative; }
.contact-page .contact-timeline__marker {
  position: absolute;
  left: -31px;
  top: -2px;
  width: 14px;
  height: 14px;
  background: var(--paper);
  border-radius: 50%;
}
.contact-page .contact-timeline__marker--gold { border: 2px solid var(--gold-500); }
.contact-page .contact-timeline__marker--emerald { border: 2px solid var(--emerald-500); }
.contact-page .contact-timeline__marker--navy { border: 2px solid var(--navy-600); }
.contact-page .contact-timeline h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.contact-page .contact-link-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-900);
  transition: color 0.2s;
}
.contact-page .contact-link-lg:hover { color: var(--navy-700); }
.contact-page .contact-link-md {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy-900);
  transition: color 0.2s;
}
.contact-page .contact-link-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-900);
  transition: color 0.2s;
}
.contact-page .contact-link-icon { flex-shrink: 0; }

.contact-page .map-section { padding-top: 0; }
.contact-page .map-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 60px);
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 6vw, 64px);
}
.contact-page .map-content h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin: 0 0 12px;
  color: var(--navy-900);
  font-family: var(--display);
  font-weight: 500;
}
.contact-page .map-content p { color: var(--ink-500); font-size: 16px; margin-bottom: 24px; line-height: 1.55; }
.contact-page .map-frame {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.contact-page .map-frame iframe { width: 100%; height: 100%; min-height: 220px; border: 0; display: block; }

/* Quote form: part of the section, not a floating card */
.contact-form-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
.contact-form-card .form-intro { margin-bottom: 24px; }
.contact-form-card .form-intro h3 { margin-bottom: 4px; font-size: 24px; color: var(--navy-900); font-family: var(--display); }
.contact-form-card .form-intro p { color: var(--ink-500); font-size: 15px; margin: 0; }
.contact-page #quoteForm { position: relative; }
.contact-page .btn-submit-quote {
  width: 100%;
  justify-content: center;
  padding: 14px;
  border-radius: 8px;
  margin-top: 4px;
  font-size: 15px;
}

@media (max-width: 760px) {
  .contact-section { padding: 32px 0; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-info-col,
  .contact-form-col {
    max-width: 100%;
    position: static;
  }
  .contact-heading { font-size: clamp(22px, 5.5vw, 28px); margin-bottom: 12px; }
  .description-text { font-size: 15px; margin-bottom: 24px; }
  .contact-form-card .form-intro h3 { font-size: 20px; }
  .contact-form-card .form-intro p { font-size: 14px; margin-bottom: 20px; }
  .contact-page .contact-timeline { gap: 20px; padding-left: 20px; }
  .contact-page .contact-timeline__marker { left: -26px; }
  .contact-page .contact-timeline h4 { font-size: 11px; margin-bottom: 4px; }
  .contact-page .contact-timeline a.contact-link-lg { font-size: 16px; }
  .contact-page .contact-timeline a.contact-link-md { font-size: 15px; }
  .contact-page .map-section { padding-top: 0; }
  .contact-page .map-card {
    display: block;
    padding: 32px 0 0;
    gap: 24px;
    border-top: 1px solid var(--line);
  }
  .contact-page .map-content { text-align: left; margin-bottom: 24px; }
  .contact-page .map-content h2 { font-size: clamp(20px, 5vw, 24px); margin: 4px 0; }
  .contact-page .map-content p { font-size: 14px; margin-bottom: 12px; }
  .contact-page .map-frame { height: 200px; border-radius: 12px; }
  .contact-page .field-row { display: block; margin-bottom: 0; }
  .contact-page .field { margin-bottom: 14px; }
  .contact-page .field label { font-size: 12px; margin-bottom: 4px; }
  .contact-page .field input,
  .contact-page .field select,
  .contact-page .field textarea { padding: 12px 14px; font-size: 16px; }
  .contact-page .btn-submit-quote { padding: 14px; font-size: 15px; margin-top: 6px; }
}

/* ==========================================================================
   2026-04-18  HARDENING — fixes hamburger cutoff & contact-form constraint
   These two issues had the same root cause: somewhere on the page a child
   element (gradient pseudo-element, sticky drawer transform, marquee track,
   diagonal clip-path, etc.) was exceeding 100vw and adding a horizontal
   scrollbar. With the page able to scroll horizontally, the hamburger sits
   off-screen and the form column appears narrower than the viewport.
   `overflow-x: clip` truncates without forcing the body into a scroll
   container, so `position: sticky` on the nav still works.
   ========================================================================== */
html { overflow-x: clip; }
body {
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}
/* Fallback for the few engines that don't support overflow:clip yet */
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

/* Belt-and-braces: every full-width section clips its own decorative leak */
.topbar,
.nav,
.brands-section,
.ed-hero,
.ticker,
.bento-section,
.periodic-section,
.process-section,
.diagonal-cta,
.cta-banner-ed,
.ed-page-header,
.contact-section,
.map-section,
footer {
  max-width: 100vw;
}

/* Container hard-clamp — no matter what's nested inside it can't push wider */
.container { max-width: min(var(--container, 1200px), 100vw); }

/* The mobile drawer sits at right:0 with translate3d(100%,0,0) when closed.
   That 100% translation can momentarily extend layout width on some Safari
   versions. Force it offscreen via right negative-fixed instead. */
@media (max-width: 760px) {
  .nav-links { right: 0 !important; }
}

/* ==========================================================================
   MOBILE BENTO TIGHTENING — the "Order on WhatsApp" / b-action card
   was disproportionately tall because the arrow puck sat far below content
   ========================================================================== */
@media (max-width: 680px) {
  .bento { gap: 14px; grid-auto-rows: minmax(0, auto); }
  .bento-cell { padding: 22px; min-height: 0; }
  .bento-cell h3 { font-size: 18px; }
  .bento-cell p { font-size: 13.5px; }

  /* The action / WhatsApp tile — keep arrow tight under copy, not far away */
  .bento-cell.b-action { padding: 22px 24px 24px; }
  .bento-cell.b-action h3 { font-size: 22px; line-height: 1.15; margin: 4px 0 6px; }
  .bento-cell.b-action p { font-size: 13.5px; margin: 0 0 16px; }
  .bento-cell.b-action .arrow {
    margin-top: 4px; /* override `auto` so it sits with the copy */
    width: 44px; height: 44px;
  }

  /* Hero/featured tile compact */
  .bento-cell.b-big { padding: 28px 24px 26px; }
  .bento-cell.b-big h3 { font-size: 26px; }
  .bento-cell.b-big p { font-size: 14px; }

  /* Stat tiles */
  .bento-cell.b-stat { padding: 22px 24px; }
  .bento-cell.b-stat .num { font-size: clamp(40px, 11vw, 56px); }

  /* Quote card */
  .bento-cell.b-quote { padding: 24px; }
  .bento-cell.b-quote blockquote { font-size: 17px; }

  /* Product preview tile */
  .bento-cell.b-product .p-body { padding: 18px 22px 22px; }
  .bento-cell.b-product h3 { font-size: 15px; }
}

/* Even tighter on the smallest phones */
@media (max-width: 380px) {
  .bento { gap: 10px; }
  .bento-cell { padding: 18px; }
  .bento-cell.b-action h3,
  .bento-cell.b-big h3 { font-size: 20px; }
}

/* ==========================================================================
   CONTACT FORM — guarantee full-width on mobile (was visually constrained
   because the body had a horizontal scrollbar; this also belts the column)
   ========================================================================== */
@media (max-width: 760px) {
  .contact-page .contact-section { padding-top: 28px; }
  .contact-page .contact-grid { width: 100%; }
  .contact-page .contact-form-col,
  .contact-page .contact-form-card,
  .contact-page #quoteForm,
  .contact-page .field,
  .contact-page .field input,
  .contact-page .field select,
  .contact-page .field textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .contact-page .field-row { display: grid; grid-template-columns: 1fr; gap: 0; }
  .contact-page .field { margin-bottom: 14px; }
  .contact-page .btn-submit-quote { width: 100%; }
}

/* ==========================================================================
   LEGAL PAGES (privacy / terms) — clean editorial reading layout
   ========================================================================== */
.legal-page main { background: var(--paper); }
.legal-section {
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px);
}
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.legal-toc {
  position: sticky; top: 96px;
  font-size: 13px;
}
.legal-toc__label {
  display: block;
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 14px;
}
.legal-toc ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  counter-reset: toc;
}
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: flex; gap: 10px;
  padding: 8px 10px;
  font-size: 13px; color: var(--ink-700);
  border-radius: 7px;
  border-left: 2px solid transparent;
  text-decoration: none;
  transition: all .18s;
  line-height: 1.4;
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--display);
  color: var(--ink-400);
  font-size: 12px;
  flex-shrink: 0;
}
.legal-toc a:hover {
  background: var(--white);
  color: var(--navy-900);
  border-left-color: var(--gold-500);
}

/* Links styled as buttons must not inherit .legal-prose anchor colours / underlines */
.legal-prose a.btn {
  text-decoration: none;
  text-decoration-color: transparent;
  text-underline-offset: unset;
}
.legal-prose a.btn-primary,
.legal-prose a.btn-primary:hover {
  color: var(--white);
}
.legal-prose a.btn-ghost {
  color: var(--navy-800);
}
.legal-prose a.btn-gold,
.legal-prose a.btn-gold:hover {
  color: var(--navy-900);
}
.legal-download-strip a.btn {
  text-decoration: none;
}

/* Return policy page — boxed table of contents */
.return-policy-page .legal-toc--return {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 0 4px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.return-policy-page .legal-toc--return .legal-toc__label {
  display: block;
  margin: 0 18px 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--display);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--navy-900);
}
.return-policy-page .legal-toc--return .legal-toc__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.return-policy-page .legal-toc--return .legal-toc__list > li {
  list-style: none;
  margin: 0;
  border-bottom: 1px solid rgba(8, 24, 47, 0.07);
}
.return-policy-page .legal-toc--return .legal-toc__list > li:last-child {
  border-bottom: 0;
}
.return-policy-page .legal-toc--return .legal-toc__list > li > a {
  margin: 0 10px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  padding: 11px 12px 11px 10px;
}
.return-policy-page .legal-toc--return .legal-toc__list > li > a:hover {
  background: var(--paper-2);
  border-left-color: var(--gold-500);
}
.return-policy-page .legal-toc--return .legal-toc__text {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.legal-download-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--white) 0%, var(--paper-2) 100%);
}
.legal-download-strip p {
  margin: 0;
  flex: 1 1 220px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-600);
}
.legal-download-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.legal-download-strip .btn {
  white-space: nowrap;
}
.legal-download-strip--compact {
  flex-wrap: nowrap;
  padding: 10px 14px;
  margin-bottom: 20px;
  gap: 12px;
  background: var(--paper-2);
}
.legal-download-strip--compact p {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  line-height: 1.4;
}
@media (max-width: 380px) {
  .legal-download-strip--compact {
    flex-wrap: wrap;
  }
  .legal-download-strip--compact .btn {
    width: 100%;
    justify-content: center;
  }
}

.legal-prose {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 56px);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-700);
}
.legal-prose .lead {
  font-family: var(--display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-style: italic;
  color: var(--ink-500);
  line-height: 1.5;
  margin: 0 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.legal-prose .meta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 18px;
}
.legal-prose .meta::before {
  content: ""; width: 14px; height: 1.5px; background: var(--gold-500);
}
.legal-prose h2 {
  counter-increment: legal-section;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 30px);
  color: var(--navy-900);
  margin: 48px 0 14px;
  letter-spacing: -0.02em;
  padding-top: 8px;
  scroll-margin-top: 100px;
  display: flex; gap: 14px; align-items: baseline;
}
.legal-prose h2::before {
  content: counter(legal-section, decimal-leading-zero);
  font-size: 14px;
  color: var(--gold-500);
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: .05em;
}
.legal-prose { counter-reset: legal-section; }
.legal-prose h2:first-of-type { margin-top: 0; }
.legal-prose h3 {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--navy-900);
  margin: 22px 0 10px;
  font-weight: 600;
}
.legal-prose p { margin: 0 0 16px; }
.legal-prose ul, .legal-prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: revert;
}
.legal-prose li { margin-bottom: 8px; }
.legal-prose strong { color: var(--navy-900); }
.legal-prose a {
  color: var(--navy-700);
  text-decoration: underline;
  text-decoration-color: var(--gold-500);
  text-underline-offset: 3px;
}
.legal-prose a:hover { color: var(--navy-900); }
.legal-prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.legal-prose .updated {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-400); display: flex; gap: 8px; align-items: center;
}
.legal-prose .updated svg { width: 14px; height: 14px; }

@media (max-width: 820px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc {
    position: static;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 18px 14px;
    margin-bottom: 8px;
  }
  .legal-toc ol { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .legal-toc a { padding: 6px 10px; font-size: 12px; border-left: 0; border-radius: 999px; background: var(--paper); }
  .legal-toc a:hover { background: var(--gold-50); }

  .return-policy-page .legal-toc--return {
    padding: 16px 0 6px;
  }
  .return-policy-page .legal-toc--return .legal-toc__label {
    margin: 0 16px 12px;
  }
  .return-policy-page .legal-toc--return .legal-toc__list {
    flex-direction: column;
  }
  .return-policy-page .legal-toc--return .legal-toc__list > li {
    border-bottom: 1px solid rgba(8, 24, 47, 0.07);
  }
  .return-policy-page .legal-toc--return .legal-toc__list > li > a {
    margin: 0 8px;
    border-radius: 8px;
    border-left: 3px solid transparent;
    background: transparent;
    font-size: 13px;
  }
  .return-policy-page .legal-toc--return .legal-toc__list > li > a:hover {
    background: var(--paper-2);
  }
}

@media (max-width: 480px) {
  .legal-prose {
    padding: 18px 14px;
    font-size: 13.5px;
    line-height: 1.62;
    letter-spacing: -0.01em;
  }
  .legal-prose h2 {
    font-size: clamp(16px, 5vw, 20px);
    margin: 36px 0 10px;
    gap: 8px;
    text-wrap: balance;
  }
  .legal-prose h2::before {
    font-size: 11px;
  }
  .legal-prose .lead {
    font-size: clamp(15px, 4vw, 17px);
    margin-bottom: 22px;
    padding-bottom: 18px;
  }
  .legal-prose .meta {
    font-size: 9px;
    letter-spacing: 0.08em;
    gap: 8px;
    margin-bottom: 14px;
  }
  .legal-prose .meta::before {
    width: 12px;
  }
  .legal-prose ul,
  .legal-prose ol {
    padding-left: 18px;
  }
}

/* Return policy — tighter mobile scale (fewer awkward wraps) */
@media (max-width: 640px) {
  .return-policy-page .legal-section {
    padding: 24px 0 40px;
  }
  .return-policy-page .legal-layout {
    gap: 14px;
  }
  .return-policy-page .ed-page-header h1 {
    font-size: clamp(22px, 6.5vw, 30px);
    line-height: 1.12;
  }
  .return-policy-page .ed-page-header .summary {
    font-size: 13px;
    line-height: 1.45;
    max-width: 36ch;
  }
  .return-policy-page .legal-prose {
    padding: 16px 12px;
    font-size: 13px;
    line-height: 1.58;
  }
  .return-policy-page .legal-prose .meta {
    font-size: 8.5px;
    letter-spacing: 0.06em;
    line-height: 1.35;
  }
  .return-policy-page .legal-prose .meta::before {
    width: 10px;
  }
  .return-policy-page .legal-prose .lead {
    font-size: 14px;
    line-height: 1.48;
    margin-bottom: 18px;
    padding-bottom: 16px;
  }
  .return-policy-page .legal-prose h2 {
    font-size: clamp(15px, 4.2vw, 18px);
    margin: 28px 0 8px;
    padding-top: 4px;
    flex-wrap: wrap;
    row-gap: 4px;
    align-items: baseline;
    text-wrap: balance;
  }
  .return-policy-page .legal-prose h2::before {
    font-size: 10px;
    line-height: 1.6;
    margin-top: 2px;
  }
  .return-policy-page .legal-download-strip--compact {
    padding: 8px 10px;
    gap: 8px;
  }
  .return-policy-page .legal-download-strip--compact p {
    font-size: 11.5px;
    line-height: 1.35;
  }
  .return-policy-page .legal-download-strip--compact .btn-sm {
    padding: 7px 11px;
    font-size: 11.5px;
  }
  .return-policy-page .legal-toc--return .legal-toc__label {
    font-size: 11px;
    margin: 0 12px 8px;
    padding-bottom: 8px;
    letter-spacing: 0.01em;
  }
  .return-policy-page .legal-toc--return .legal-toc__list > li > a {
    padding: 8px 8px 8px 6px;
    font-size: 11.5px;
  }
  .return-policy-page .legal-toc--return a::before {
    font-size: 9px;
  }
  .return-policy-page .legal-toc--return .legal-toc__text {
    line-height: 1.3;
  }
}
