/* Right Point Solutions - premium layer
   Loaded after site.css. Refines type, chrome and the home hero without touching the
   base sheet, so removing this file (and its <link> in base.html) restores the
   previous look exactly. Sections: tokens, type, chrome, buttons, hero, surfaces,
   inner-page banners, footer touches, responsive. */

/* ---------- tokens ---------- */

:root {
  --font: "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --header-h: 76px;
  --radius: 18px;
  --radius-sm: 10px;
  --ink: #0a1f2b;
  --text: #0b1a20;
  --shadow-soft: 0 1px 2px rgba(10, 31, 43, 0.04), 0 8px 28px -6px rgba(10, 31, 43, 0.08);
  --shadow-lift: 0 28px 60px -18px rgba(10, 31, 43, 0.28), 0 4px 12px rgba(10, 31, 43, 0.06);
  --shadow-float: 0 18px 44px -12px rgba(10, 31, 43, 0.26), 0 2px 6px rgba(10, 31, 43, 0.06);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- type ---------- */

body {
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); line-height: 1.12; }
h3 { letter-spacing: -0.02em; }

.lede { line-height: 1.7; }

/* Kickers become quiet pills: a brand dot and tracked mono caps. */
.kicker,
.section-head .kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

::selection { background: rgba(43, 153, 11, 0.22); color: var(--text); }

/* ---------- utility bar & header ----------
   Modelled on a retail "global nav": a white glass bar, small quiet links that only
   change colour, and full-width frosted mega panels that fade down under the bar. */

.topbar-inner { font-size: 0.8rem; letter-spacing: 0.01em; }
.topbar-item { color: rgba(238, 244, 245, 0.92); }

:root { --header-h: 64px; }

.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.brand-logo { height: 44px; }
.brand-plate { padding: 0; }

.nav-link {
  position: relative;
  padding: 0.5rem 0.7rem;
  font-size: 0.844rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #1f2937;
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover,
.nav-link:focus-visible { color: var(--brand-blue); }
.nav-link.is-active { text-decoration: none; color: var(--brand-blue); font-weight: 600; }
.caret { width: 0.8em; height: 0.8em; transform: rotate(90deg); opacity: 0.6; }
.nav-submenu-toggle[aria-expanded="true"] .caret { transform: rotate(-90deg); }

.nav-phone { font-size: 0.844rem; font-weight: 600; color: #1f2937; font-variant-numeric: tabular-nums; }
.nav-phone:hover { color: var(--brand-blue); }
.nav-actions { margin-left: 0.8rem; gap: 1rem; }
.nav-actions .btn { font-size: 0.8rem; padding: 0.5rem 1rem; box-shadow: none; }
.basket-btn { transition: color 0.15s ease; }
.basket-btn:hover { color: var(--brand-blue); }

.mega { display: none; }

@media (min-width: 1000px) {
  /* The nav fills the bar's height so the pointer never leaves an item on its way
     down to the panel, and items are unpositioned so a panel spans the whole bar. */
  .primary-nav { align-self: stretch; align-items: stretch; }
  .primary-nav > .nav-link,
  .primary-nav > .nav-item { display: flex; align-items: center; }
  .primary-nav > .nav-link { align-self: center; }
  .nav-item.has-mega { position: static; }
  .nav-actions { align-self: center; }
  .has-mega > .submenu { display: none !important; }

  .mega {
    display: block;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px) saturate(1.6);
    -webkit-backdrop-filter: blur(40px) saturate(1.6);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.18s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.18s;
    pointer-events: none;
  }
  .has-mega:hover > .mega,
  .has-mega:has(:focus-visible) > .mega {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
    pointer-events: auto;
  }
  .has-mega:hover > .nav-link { color: var(--brand-blue); }
  .has-mega:hover .caret { transform: rotate(-90deg); }

  .mega-inner {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 2rem;
    align-items: center;
    max-width: 64rem;
    margin-inline: auto;
    padding: 2rem;
  }
  .mega-intro { padding-right: 1.5rem; border-right: 1px solid #f1f5f9; }
  .mega-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brand-blue);
  }
  .mega-title { margin: 0.25rem 0 0; font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; color: #0b1f4d; }
  .mega-text { margin: 0.5rem 0 0; font-size: 0.875rem; line-height: 1.55; color: #475569; }
  .mega-more {
    display: inline-flex; align-items: center; gap: 0.3rem;
    margin-top: 1rem;
    font-size: 0.8rem; font-weight: 600;
    color: var(--brand-blue);
  }
  .mega-more .icon { width: 0.9rem; height: 0.9rem; transition: transform 0.2s ease; }
  .mega-more:hover { color: #012c80; }
  .mega-more:hover .icon { transform: translateX(3px); }

  .mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
  .mega-tile {
    display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: #f8fafc;
    font-size: 0.875rem; font-weight: 500;
    color: #1e293b;
    transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .mega-tile .icon { flex: none; width: 0.75rem; height: 0.75rem; color: #94a3b8; transition: color 0.15s ease, transform 0.2s ease; }
  .mega-tile:hover { background: #eaf1fc; color: var(--brand-blue); }
  .mega-tile:hover .icon { color: var(--brand-blue); transform: translateX(2px); }

  /* The panel's content settles in just after the panel itself. */
  .has-mega:hover .mega-intro,
  .has-mega:has(:focus-visible) .mega-intro { animation: mega-in 0.32s cubic-bezier(0.4, 0, 0.2, 1) both; }
  .has-mega:hover .mega-grid li,
  .has-mega:has(:focus-visible) .mega-grid li { animation: mega-in 0.32s cubic-bezier(0.4, 0, 0.2, 1) both; }
  .has-mega:hover .mega-grid li:nth-child(2) { animation-delay: 0.03s; }
  .has-mega:hover .mega-grid li:nth-child(3) { animation-delay: 0.06s; }
  .has-mega:hover .mega-grid li:nth-child(4) { animation-delay: 0.09s; }
  .has-mega:hover .mega-grid li:nth-child(5) { animation-delay: 0.12s; }
  .has-mega:hover .mega-grid li:nth-child(6) { animation-delay: 0.15s; }
  .has-mega:hover .mega-grid li:nth-child(n+7) { animation-delay: 0.18s; }
}
@keyframes mega-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

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

.btn {
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn .icon { width: 1.05em; height: 1.05em; transition: transform 0.2s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn-solid {
  background: linear-gradient(135deg, #0340b8 0%, #0b57c2 38%, #1e7a08 100%);
  background-size: 160% 100%;
  background-position: 0% 0;
  box-shadow: 0 10px 24px -8px rgba(2, 58, 170, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.btn-solid:hover {
  background: linear-gradient(135deg, #0340b8 0%, #0b57c2 38%, #1e7a08 100%);
  background-size: 160% 100%;
  background-position: 100% 0;
  box-shadow: 0 16px 32px -10px rgba(30, 122, 8, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(10, 31, 43, 0.14);
  box-shadow: 0 1px 2px rgba(10, 31, 43, 0.05), inset 0 1px 0 #fff;
}
.btn-ghost:hover { border-color: rgba(10, 31, 43, 0.3); color: var(--text); background: #fff; box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.7rem; font-size: 0.98rem; }

/* ---------- home hero ---------- */

.hero.hero-pro {
  min-height: calc(100svh - var(--topbar-h) - var(--header-h));
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(900px 520px at 88% 30%, rgba(43, 153, 11, 0.12), transparent 62%),
    radial-gradient(900px 600px at 0% -10%, rgba(2, 58, 170, 0.11), transparent 60%),
    linear-gradient(180deg, #fbfcfb, var(--bg));
}
/* Faint engineering grid behind the copy, masked away before the portrait. */
.hero.hero-pro::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 31, 43, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 31, 43, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 70% at 20% 40%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 20% 40%, #000 10%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.hero-pro .hero-copy { max-width: 36rem; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.6rem;
  padding: 0.4rem 0.95rem 0.4rem 0.7rem;
  border: 1px solid rgba(10, 31, 43, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(10, 31, 43, 0.05), inset 0 1px 0 #fff;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 0 rgba(43, 153, 11, 0.5);
  animation: hero-pulse 2.4s ease-out infinite;
}
@keyframes hero-pulse {
  0% { box-shadow: 0 0 0 0 rgba(43, 153, 11, 0.45); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(43, 153, 11, 0); }
}

.hero-pro h1 {
  font-size: clamp(2.6rem, 5.8vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 1.4rem;
  background: linear-gradient(180deg, #0b1a20 30%, #1d3a44);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-pro .lede { font-size: clamp(1.05rem, 1.5vw, 1.18rem); max-width: 46ch; color: #3f5961; }
.hero-pro .hero-actions { margin-top: 2.2rem; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 2.8rem 0 0;
  padding: 1.4rem 0 0;
  list-style: none;
  border-top: 1px solid rgba(10, 31, 43, 0.1);
}
.hero-proof li {
  display: grid;
  gap: 0.2rem;
  padding-inline: 0 1.6rem;
  margin-right: 1.6rem;
  border-right: 1px solid rgba(10, 31, 43, 0.1);
}
.hero-proof li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-proof strong {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-proof span { font-size: 0.8rem; color: var(--muted); max-width: 17ch; line-height: 1.4; }

/* The portrait: a framed studio shot on a brand-tinted plinth with two glass notes. */
.hero-stage {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(100%, 430px);
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 7% -7% -5% 9%;
  border-radius: 32px;
  background: linear-gradient(150deg, var(--brand-blue), #0b57c2 45%, var(--brand-green));
  transform: rotate(4deg);
  box-shadow: 0 40px 80px -30px rgba(2, 58, 170, 0.55);
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 7% -7% -5% 9%;
  border-radius: 32px;
  transform: rotate(4deg);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, transparent 30%, #000);
  -webkit-mask-image: linear-gradient(135deg, transparent 30%, #000);
}
.hero-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lift);
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 0%;
  border-radius: 22px;
}

.hero-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.05rem 0.8rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--shadow-float);
  line-height: 1.25;
  white-space: nowrap;
  animation: hero-float 6s ease-in-out infinite;
}
.hero-float strong { display: block; font-size: 0.86rem; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.hero-float small { display: block; font-size: 0.74rem; color: var(--muted); }
.hero-float-a { left: -14%; bottom: 14%; }
.hero-float-b { right: -12%; top: 10%; animation-delay: -3s; }
.hero-float-icon {
  display: grid; place-items: center;
  width: 2.35rem; height: 2.35rem;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-green), var(--accent-strong));
  box-shadow: 0 6px 14px -4px rgba(30, 122, 8, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.hero-float-icon-blue {
  background: linear-gradient(145deg, #0b57c2, var(--brand-blue));
  box-shadow: 0 6px 14px -4px rgba(2, 58, 170, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.hero-float-icon .icon { width: 1.15rem; height: 1.15rem; }
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Entrance: copy rises, the stage settles in after it. */
.hero-pro .hero-copy > * { animation: hero-in 0.8s var(--ease-out) backwards; }
.hero-pro .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-pro .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.hero-pro .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
.hero-pro .hero-copy > :nth-child(5) { animation-delay: 0.24s; }
.hero-pro .hero-stage { animation: hero-stage-in 1s var(--ease-out) 0.15s backwards; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-stage-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* ---------- client strip ---------- */

.client-band { border-bottom: 1px solid var(--line); }
.client-word { font-weight: 700; letter-spacing: -0.02em; }

/* ---------- surfaces ---------- */

.card {
  background: #fff;
  border-color: rgba(10, 31, 43, 0.08);
  transition: border-color 0.25s ease, transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.card:hover, .card:focus-within { border-color: rgba(10, 31, 43, 0.12); transform: translateY(-6px); }
.card:hover::after, .card:focus-within::after { opacity: 1; }
.card h3 { font-weight: 700; }
.card-icon {
  width: 3.1rem; height: 3.1rem;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #0b57c2, var(--brand-blue) 55%, #012a7c);
  box-shadow: 0 10px 20px -8px rgba(2, 58, 170, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.card:hover .card-icon { box-shadow: 0 14px 26px -8px rgba(2, 58, 170, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.28); }

.pane, .panel { border-color: rgba(10, 31, 43, 0.08); background: #fff; }

.chip { font-weight: 500; }

/* Form inputs: taller, softer, with a brand focus ring. */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
input[type="number"], select, textarea {
  border-radius: 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus,
input[type="search"]:focus, input[type="number"]:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(11, 87, 194, 0.14);
}

/* ---------- inner-page banners ---------- */

.banner {
  padding-block: clamp(3.6rem, 8vw, 6.4rem) clamp(2.8rem, 5.5vw, 4.2rem);
  background:
    radial-gradient(760px 420px at 100% 0%, rgba(43, 153, 11, 0.13), transparent 60%),
    radial-gradient(900px 480px at 0% -20%, rgba(2, 58, 170, 0.13), transparent 60%),
    linear-gradient(180deg, #fbfcfb, var(--bg));
}
/* Concentric brand rings on the empty right of every inner-page banner, echoing the
   circular RPS mark. Decorative only, so it drops out where the copy needs the width. */
@media (min-width: 900px) {
  .banner:not(.shop-banner) .shell::before,
  .banner:not(.shop-banner) .shell::after {
    content: "";
    position: absolute;
    top: 50%;
    right: clamp(-2rem, 2vw, 2rem);
    width: 400px;
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: -1;
  }
  .banner:not(.shop-banner) .shell::before {
    background: repeating-radial-gradient(circle, transparent 0 33px, rgba(2, 58, 170, 0.11) 33px 34px);
    mask-image: radial-gradient(closest-side, #000 55%, transparent);
    -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
  }
  .banner:not(.shop-banner) .shell::after {
    width: 236px;
    right: calc(clamp(-2rem, 2vw, 2rem) + 82px);
    border: 10px solid transparent;
    background: conic-gradient(from 200deg, var(--brand-blue), var(--brand-green) 45%, transparent 46%) border-box;
    mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0) border-box;
    -webkit-mask-composite: xor;
    opacity: 0.55;
    animation: banner-spin 40s linear infinite;
  }
}
@keyframes banner-spin { to { transform: translateY(-50%) rotate(360deg); } }
.banner h1 { font-weight: 800; letter-spacing: -0.042em; line-height: 1.04; }
.banner .lede { color: #3f5961; }
.crumbs {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(10, 31, 43, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 600;
}

/* Shelf: three cards across beside the refine rail on a desktop. */
.shop-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 236px), 1fr)); gap: clamp(1rem, 1.8vw, 1.4rem); }

/* ---------- section rhythm ---------- */

/* Three across, so the six capabilities land as two even rows instead of four and two. */
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(1.1rem, 2.2vw, 1.6rem); }

/* Section spacing — generous breathing room between body bands */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

/* Alt sections: clean off-white with a very faint dot grid */
.section-alt {
  background: #f5f8f5;
  position: relative;
  overflow: hidden;
}
.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(2, 58, 170, 0.035) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}
.section-alt > * { position: relative; z-index: 1; }

/* Subtle shadow ledge between the dark hero and the first white section */
.banner + .section,
.hero + .section,
.hero-pro + .section {
  box-shadow: 0 -1px 0 rgba(10, 31, 43, 0.04);
}

/* ---------- section headers premium ---------- */

.section-head {
  max-width: 58ch;
  margin-bottom: clamp(2.2rem, 4.5vw, 3.6rem);
}
.section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--brand-blue);
  letter-spacing: 0.14em;
}
.section-head .kicker::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  border-radius: 1px;
  flex-shrink: 0;
}
.section-head h2 {
  letter-spacing: -0.038em;
  margin-bottom: 0.75rem;
}
.section-head > p:not(.kicker) {
  color: #3f5961;
  line-height: 1.75;
  max-width: 52ch;
}

/* Lone kicker (not inside section-head) */
.kicker { color: var(--brand-blue); }
.kicker-plain { color: #5d7d8a; }

/* ---------- split layout premium ---------- */

.split { gap: clamp(2.5rem, 5.5vw, 5rem); }
.prose { max-width: 62ch; }
.prose p { line-height: 1.82; color: #1b3340; }
.prose p + p { margin-top: 1.25em; }

/* "At a glance" sidebar card — the aside.pane.stack component */
.pane.stack {
  padding: 2rem 1.9rem 1.7rem;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid rgba(10, 31, 43, 0.07);
  box-shadow: var(--shadow-float);
  position: relative;
  overflow: hidden;
  align-self: start;
}
.pane.stack::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-green) 100%);
  border-radius: var(--radius) var(--radius) 0 0;
}
.pane.stack .kicker-plain {
  display: block;
  font-size: 0.67rem;
  letter-spacing: 0.17em;
  color: #90aab5;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

/* Panel rows — label/value pairs inside the "At a glance" pane */
.panel-rows { display: grid; gap: 0; }
.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(10, 31, 43, 0.06);
  font-size: 0.875rem;
}
.panel-row:last-child { border-bottom: none; }
.panel-row > span { color: #6b8895; font-weight: 500; flex-shrink: 0; }
.panel-row > strong { font-weight: 700; color: var(--text); text-align: right; }

/* Green "single point" pill in the accountability row */
.status-ok {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.7rem;
  background: rgba(40, 168, 86, 0.1);
  border: 1px solid rgba(40, 168, 86, 0.22);
  border-radius: 999px;
  color: #1a7a42;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.status-ok::before {
  content: "";
  width: 6px; height: 6px;
  background: #28a856;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(40, 168, 86, 0.25);
}

.pane.stack .fine {
  font-size: 0.77rem;
  color: #90aab5;
  line-height: 1.55;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(10, 31, 43, 0.06);
}
.fine { font-size: 0.79rem; color: #7a9aaa; line-height: 1.5; }

/* ---------- tick list premium ---------- */

.tick-list { display: grid; gap: 0.55rem; list-style: none; padding: 0; }
.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9375rem;
  color: #1b3340;
  line-height: 1.6;
}
.tick-list li .icon {
  flex-shrink: 0;
  margin-top: 0.18rem;
  width: 1rem; height: 1rem;
  padding: 0.28rem;
  box-sizing: content-box;
  color: #fff;
  background: linear-gradient(135deg, #1a7a42 0%, var(--brand-green) 100%);
  border-radius: 50%;
  box-shadow: 0 4px 10px -3px rgba(27, 158, 60, 0.45);
}

/* ---------- enquiry split section ---------- */

/* The lede inside the enquiry / CTA splits */
.section-alt .split .lede,
.section .split .lede {
  color: #3d5d6e;
  line-height: 1.72;
  font-size: 1.0625rem;
}

/* Enquiry form card */
.enquiry-card,
[id="enquiry"] .pane,
[id="enquiry"] .panel,
[id="enquiry"] form {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-float);
  padding: 2rem;
  border: 1px solid rgba(10, 31, 43, 0.07);
}

/* ---------- body section divider lines ---------- */

.section + .section {
  border-top: 1px solid rgba(10, 31, 43, 0.05);
}
.section-alt + .section-alt { border-top: none; }

/* ---------- process steps premium ---------- */

/* The auto-counter grid of delivery steps on solution detail pages */
.steps {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}
.step {
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(10, 31, 43, 0.07);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s ease, border-color 0.2s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-float); border-color: rgba(2, 58, 170, 0.15); }
.step-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #0b57c2, var(--brand-blue) 55%, #012a7c);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 18px -6px rgba(2, 58, 170, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text); }
.step p { font-size: 0.9rem; line-height: 1.65; color: #4a6874; margin: 0; }

/* Decorative large step number watermark */
.step::after {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  bottom: -0.5rem; right: 1rem;
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(2, 58, 170, 0.045);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ---------- deliver section (solution detail large visual) ---------- */

.deliver { position: relative; }
.deliver .split { align-items: start; }

/* Panel "In the field" — spec card shown when no product image is available */
.panel {
  border-radius: var(--radius);
  border: 1px solid rgba(10, 31, 43, 0.08);
  box-shadow: var(--shadow-soft);
  background: #fff;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}
.panel-head {
  padding: 1.1rem 1.4rem 0.9rem;
  border-bottom: 1px solid rgba(10, 31, 43, 0.07);
  background: rgba(10, 31, 43, 0.02);
}
.panel-title { font-weight: 600; color: var(--text); letter-spacing: 0.04em; }
.panel-rows { padding: 0 1.4rem; margin-top: 0; }
.panel-row {
  padding: 0.8rem 0;
  gap: 1rem;
  font-size: 0.875rem;
}

/* The frame image component */
.frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(10, 31, 43, 0.08);
}
.frame img { border-radius: 0; }
.frame figcaption {
  padding: 0.75rem 1.1rem;
  font-size: 0.78rem;
  color: #6b8895;
  border-top: 1px solid rgba(10, 31, 43, 0.06);
  background: #f8faf8;
}

/* Outcomes pane inside solution detail */
.deliver .pane.stack {
  background: linear-gradient(160deg, #f0f5ff 0%, #f8fdf8 100%);
  border-color: rgba(2, 58, 170, 0.1);
}
.deliver .pane.stack::before {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}

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

.contact-section .split { align-items: start; }
.contact-lines { display: grid; gap: 0.75rem; padding: 0; }
.contact-lines > li { margin: 0 !important; }
.contact-lines li {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(10, 31, 43, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  line-height: 1.5;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.2s ease;
}
.contact-lines li:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); border-color: rgba(10, 31, 43, 0.12); }
.contact-lines li > .icon {
  box-sizing: content-box;
  width: 1.1rem; height: 1.1rem;
  padding: 0.65rem;
  margin: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #0b57c2, var(--brand-blue));
  box-shadow: 0 8px 16px -6px rgba(2, 58, 170, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.contact-lines li:nth-child(2) > .icon { background: linear-gradient(145deg, #1faa59, #128c7e); box-shadow: 0 8px 16px -6px rgba(18, 140, 126, 0.55); }
.contact-lines li > span > a:first-child { font-weight: 700; color: var(--text); }
.contact-lines li > span > a:first-child:hover { color: var(--accent); }

/* ---------- floating WhatsApp ---------- */

.whatsapp-float {
  border: 0;
  padding: 0.8rem 1.2rem 0.8rem 0.95rem;
  background: linear-gradient(135deg, #1faa59, #128c7e);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(18, 140, 126, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}
.whatsapp-float .icon { color: #fff; }
.whatsapp-float:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(18, 140, 126, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); }

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

/* The heavier nav face needs more room than the old measured budget: the phone line
   drops out of the row until the shell is wide enough to carry it (it is still in the
   drawer below 1000px and on every contact surface). */
@media (min-width: 1000px) and (max-width: 1179px) {
  .nav-phone { display: none; }
  .nav-link { padding-inline: 0.55rem; }
}

@media (max-width: 999px) {
  .primary-nav { background: #fff; }
  .nav-link { font-weight: 600; color: var(--text); }
}

@media (max-width: 1040px) {
  .hero.hero-pro { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-pro .hero-copy { max-width: 40rem; }
  .hero-stage { width: min(78vw, 380px); margin-top: 1rem; }
  .hero-float-a { left: -8%; }
  .hero-float-b { right: -8%; }
}

@media (max-width: 560px) {
  .brand-logo { height: 40px; }
  :root { --header-h: 60px; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-proof li { padding: 0 0.7rem; margin: 0; }
  .hero-proof li:first-child { padding-left: 0; }
  .hero-proof li:last-child { padding-right: 0; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-proof strong { font-size: 1.45rem; }
  .hero-proof span { font-size: 0.74rem; }
  .hero-stage { width: 74vw; }
  .hero-float { padding: 0.6rem 0.8rem 0.6rem 0.6rem; gap: 0.55rem; }
  .hero-float strong { font-size: 0.76rem; }
  .hero-float small { font-size: 0.66rem; }
  .hero-float-icon { width: 1.9rem; height: 1.9rem; border-radius: 9px; }
  .hero-float-a { left: -9%; bottom: 8%; }
  .hero-float-b { right: -9%; top: 6%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-float, .hero-eyebrow-dot, .hero-pro .hero-copy > *, .hero-pro .hero-stage { animation: none; }
  .mega, .has-mega .mega-intro, .has-mega .mega-grid li { transition: none; animation: none !important; transform: none; }
}

/* ---------- shop: straight to the shelf ---------- */

.shop-top {
  padding-block: clamp(1.4rem, 3vw, 2.2rem) 0;
  background: linear-gradient(180deg, #fbfcfb, var(--bg));
  border-bottom: 1px solid var(--line);
}
.shop-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.shop-title-wrap .crumbs { margin-bottom: 0.7rem; }
.shop-title { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.035em; }
.shop-top .shop-search { flex: 1 1 380px; max-width: 520px; display: flex; gap: 0.5rem; }
.shop-top .search-field { flex: 1; }

.shop-perks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.shop-perks li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(10, 31, 43, 0.08);
  border-radius: 14px;
  background: #fff;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
  box-shadow: 0 1px 2px rgba(10, 31, 43, 0.04);
}
.shop-perks strong { color: var(--text); font-weight: 700; }
.shop-perks .icon {
  box-sizing: content-box;
  width: 1rem; height: 1rem;
  padding: 0.5rem;
  border-radius: 10px;
  color: var(--accent-strong);
  background: rgba(43, 153, 11, 0.1);
}
.shop-perks li:last-child .icon { color: #128c7e; background: rgba(18, 140, 126, 0.1); }

/* Departments become a single scrolling row of pills under the perks. */
.shop-top .shop-depts { padding-block: 1.2rem; }
.shop-top .dept-grid {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.shop-top .dept-grid::-webkit-scrollbar { display: none; }
.shop-top .dept-tile {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.6rem 0.55rem 1rem;
  min-height: 0;
  border: 1px solid rgba(10, 31, 43, 0.12);
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  white-space: nowrap;
}
.shop-top .dept-tile:hover { transform: none; border-color: var(--text); box-shadow: none; }
.shop-top .dept-tile::before, .shop-top .dept-tile::after { display: none; }
.shop-top .dept-name { font-size: 0.86rem; font-weight: 600; }
.shop-top .dept-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding-inline: 0.4rem;
  border-radius: 999px;
  background: var(--tint);
  font-size: 0.68rem;
  letter-spacing: 0;
  color: var(--muted);
}
.shop-top .dept-tile.is-active { background: var(--text); border-color: var(--text); color: #fff; }
.shop-top .dept-tile.is-active .dept-count { background: rgba(255, 255, 255, 0.16); color: #fff; }

.shop-body { padding-top: clamp(1.6rem, 3vw, 2.4rem); }

/* Cards read as shop items: price line, primary add, secondary WhatsApp order. */
.product-card { padding: 1rem 1rem 1.2rem; }
.product-card .card-media { border-radius: 12px; }
.product-card h3 { font-size: 1.08rem; }
.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.5rem;
  margin: 0;
  padding: 0.7rem 0 0;
  border-top: 1px solid var(--line);
}
.product-price-label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dim); }
.product-price strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; color: var(--brand-blue); }
.product-price-note { font-size: 0.75rem; color: var(--muted-dim); }
.product-buy { justify-items: stretch; gap: 0.55rem; }
.product-card .add-form { display: flex; gap: 0.5rem; width: 100%; }
.product-card .add-btn { flex: 1; justify-content: center; }
.product-alt { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; position: relative; z-index: 2; }
.btn-wa {
  color: #0b6b5f;
  background: rgba(18, 140, 126, 0.08);
  border-color: rgba(18, 140, 126, 0.25);
}
.btn-wa:hover { color: #fff; background: linear-gradient(135deg, #1faa59, #128c7e); border-color: transparent; }
.btn-wa .icon { width: 1rem; height: 1rem; }
.btn-wa:hover .icon { transform: none; }

.howto-steps { margin: 0.6rem 0 0; padding: 0; list-style: none; counter-reset: howto; display: grid; gap: 0.75rem; }
.howto-steps li { position: relative; display: grid; padding-left: 2.2rem; font-size: 0.82rem; line-height: 1.4; }
.howto-steps li::before {
  counter-increment: howto;
  content: counter(howto);
  position: absolute; left: 0; top: 0.05rem;
  display: grid; place-items: center;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}
.howto-steps strong { color: var(--text); }
.howto-steps span { color: var(--muted); }

@media (max-width: 900px) {
  .shop-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-top .shop-search { max-width: none; }
}
@media (max-width: 480px) {
  .shop-perks { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .shop-perks li { padding: 0.6rem; font-size: 0.74rem; }
  .shop-perks .icon { padding: 0.4rem; }
}

/* ---------- checkout (basket page) ---------- */

/* Progress topbar — replaces the normal page banner on the basket page */
.co-topbar {
  background: #fff;
  border-bottom: 1px solid rgba(10, 31, 43, 0.08);
  padding: 0.85rem 0;
  position: sticky;
  top: var(--header-h, 76px);
  z-index: 40;
  box-shadow: 0 2px 8px rgba(10, 31, 43, 0.05);
}
.co-topbar-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.co-logo img { height: 24px; width: auto; }
.co-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a6874;
  text-decoration: none;
  margin-left: auto;
}
.co-back-link:hover { color: var(--brand-blue); }

/* Steps indicator in the topbar */
.co-steps {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  align-items: center;
  gap: 0;
}
.co-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #b0c4cc;
  position: relative;
}
.co-step + .co-step::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: rgba(10, 31, 43, 0.12);
  margin: 0 0.6rem;
}
.co-step-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
  background: transparent;
}
.co-step-dot svg { width: 12px; height: 12px; }
.co-step.is-done { color: var(--brand-green, #2b990b); }
.co-step.is-done .co-step-dot { background: var(--brand-green, #2b990b); color: #fff; border-color: var(--brand-green, #2b990b); }
.co-step.is-active { color: var(--brand-blue, #023aaa); }
.co-step.is-active .co-step-dot { background: var(--brand-blue, #023aaa); color: #fff; border-color: var(--brand-blue, #023aaa); }
.co-step-label { white-space: nowrap; }
@media (max-width: 640px) { .co-step-label { display: none; } }

/* Checkout page wrapper */
.co-page {
  background: #f4f6f4;
  min-height: calc(100vh - var(--header-h, 76px) - 56px);
  padding: 2rem 0 5rem;
}

/* Two-column grid: main (wider) + sidebar */
.co-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-sidebar { order: -1; }
}

/* Cards (white tiles) */
.co-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(10, 31, 43, 0.08);
  overflow: hidden;
  margin-bottom: 1rem;
}
.co-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(10, 31, 43, 0.07);
}
.co-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.co-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand-blue, #023aaa);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}
.co-clear-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: #dc2626;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.co-clear-btn:hover { color: #991b1b; }

/* ── Item rows ── */
.co-item-list { list-style: none; padding: 0; margin: 0; }
.co-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid rgba(10, 31, 43, 0.06);
  transition: background 0.15s ease;
}
.co-item:last-child { border-bottom: none; }
.co-item:hover { background: rgba(10, 31, 43, 0.015); }

.co-item-img {
  width: 68px; height: 68px;
  border-radius: 10px;
  border: 1px solid rgba(10, 31, 43, 0.08);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8faf8;
}
.co-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.co-item-mono {
  font-size: 0.9rem;
  font-weight: 800;
  color: #7a9aaa;
  text-align: center;
  letter-spacing: -0.03em;
}

.co-item-body { flex: 1; min-width: 0; }
.co-item-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.co-item-name:hover { color: var(--brand-blue); }
.co-item-meta { font-size: 0.78rem; color: #7a9aaa; margin: 0.15rem 0 0; }
.co-item-price { font-size: 0.8rem; font-weight: 700; color: #3f5961; margin: 0.25rem 0 0; }

/* Qty stepper */
.co-qty-block {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(10, 31, 43, 0.12);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.co-qty-form { display: contents; }
.co-qty-btn {
  width: 32px; height: 32px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #4a6874;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1;
}
.co-qty-btn:hover:not(:disabled) { background: rgba(2, 58, 170, 0.07); color: var(--brand-blue); }
.co-qty-btn:disabled { opacity: 0.35; cursor: default; }
.co-qty-num {
  min-width: 2.4rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  border-inline: 1px solid rgba(10, 31, 43, 0.09);
  padding: 0 0.2rem;
  line-height: 32px;
}

/* Remove button */
.co-remove-form { display: contents; }
.co-remove-btn {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #b0c4cc;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}
.co-remove-btn:hover { color: #dc2626; background: rgba(220, 38, 38, 0.07); }

/* Footnote under item list */
.co-item-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #7a9aaa;
  line-height: 1.5;
  padding: 0.8rem 1.4rem;
  border-top: 1px solid rgba(10, 31, 43, 0.05);
  background: #fafcfa;
}
.co-item-note svg { flex-shrink: 0; margin-top: 0.1rem; color: #b0c4cc; }

/* Empty state */
.co-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.5rem 2rem;
  gap: 0.75rem;
}
.co-empty-icon { color: #c0d0d8; }
.co-empty-icon svg { width: 56px; height: 56px; }
.co-empty-title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 0; }
.co-empty-sub { font-size: 0.875rem; color: #6b8895; line-height: 1.65; margin: 0; max-width: 36ch; }

/* Form section inside the checkout */
.co-form-sub {
  font-size: 0.875rem;
  color: #4a6874;
  line-height: 1.65;
  padding: 0.9rem 1.4rem 0;
  margin: 0;
}
.co-card .pane.stack {
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 1.4rem;
}
.co-card .pane.stack::before { display: none; }

/* ── Sidebar summary ── */
.co-summary {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(10, 31, 43, 0.08);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h, 76px) + 56px + 1.4rem);
}
.co-summary-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid rgba(10, 31, 43, 0.08);
  background: rgba(10, 31, 43, 0.02);
}

/* Mini item rows in sidebar */
.co-summary-items { list-style: none; padding: 0.75rem 1.2rem; margin: 0; display: grid; gap: 0.45rem; }
.co-summary-row { display: flex; align-items: baseline; gap: 0.55rem; font-size: 0.8rem; line-height: 1.4; }
.co-summary-qty { flex-shrink: 0; font-weight: 700; color: var(--brand-blue); min-width: 1.8rem; }
.co-summary-name { color: #3f5961; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Totals rows */
.co-summary-meta {
  padding: 0.75rem 1.2rem;
  border-top: 1px solid rgba(10, 31, 43, 0.07);
  display: grid;
  gap: 0;
}
.co-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  font-size: 0.83rem;
  border-bottom: 1px solid rgba(10, 31, 43, 0.045);
}
.co-meta-row:last-child { border-bottom: none; }
.co-meta-row > span { color: #6b8895; }
.co-meta-row > strong { font-weight: 700; color: var(--text); }
.co-meta-green { color: #1a7a42 !important; }
.co-meta-total {
  padding-top: 0.7rem;
  margin-top: 0.35rem;
  border-top: 2px solid rgba(10, 31, 43, 0.1) !important;
  font-size: 0.92rem;
}
.co-meta-total > span { font-weight: 700; color: var(--text) !important; }
.co-meta-total > strong { font-size: 0.92rem; }

/* Big CTA button */
.co-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: calc(100% - 2.4rem);
  margin: 0 1.2rem 1rem;
  padding: 0.85rem;
  font-size: 0.9rem;
}

/* Trust badges under the CTA */
.co-trust {
  list-style: none;
  padding: 0.85rem 1.2rem 1.1rem;
  margin: 0;
  border-top: 1px solid rgba(10, 31, 43, 0.07);
  display: grid;
  gap: 0.5rem;
}
.co-trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #4a6874;
  line-height: 1.4;
}
.co-trust li svg { flex-shrink: 0; margin-top: 0.08rem; color: var(--brand-green); }

.co-summary-empty { padding: 2rem 1.2rem; text-align: center; }
.co-summary-empty-text { font-size: 0.85rem; color: #6b8895; margin-bottom: 1rem; line-height: 1.5; }

/* ---------- auth pages ---------- */

/* Full-viewport centred column with a subtle gradient background */
.auth-shell {
  min-height: calc(100vh - var(--header-h, 76px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
  background:
    radial-gradient(700px 400px at 80% 10%, rgba(2, 58, 170, 0.07), transparent 70%),
    radial-gradient(500px 300px at 10% 80%, rgba(43, 153, 11, 0.06), transparent 70%),
    #f5f8f5;
}

/* The white card */
.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(10, 31, 43, 0.08);
  box-shadow: 0 24px 60px -16px rgba(10, 31, 43, 0.16), 0 2px 8px rgba(10, 31, 43, 0.04);
  padding: clamp(2rem, 5vw, 2.8rem) clamp(1.6rem, 4vw, 2.4rem);
  position: relative;
  overflow: hidden;
}

/* Brand accent bar at the top of the card */
.auth-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue, #023aaa) 0%, var(--brand-green, #2b990b) 100%);
  border-radius: 20px 20px 0 0;
}

/* Logo at the top of the card */
.auth-brand {
  display: block;
  margin-bottom: 1.8rem;
}
.auth-brand img { height: 32px; width: auto; }

.auth-heading {
  margin: 0 0 0.4rem;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text, #0b1a20);
  line-height: 1.1;
}
.auth-sub {
  margin: 0 0 1.8rem;
  font-size: 0.9375rem;
  color: #4a6874;
  line-height: 1.6;
}

/* State icon (mail, ok, warn) centred above heading */
.auth-state-icon {
  width: 52px; height: 52px;
  margin: 0 0 1.2rem;
}
.auth-state-icon svg { width: 100%; height: 100%; }

/* Alert banners inside the card */
.auth-alert {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.auth-alert p { margin: 0; }
.auth-alert-error {
  background: rgba(185, 28, 28, 0.07);
  border: 1px solid rgba(185, 28, 28, 0.18);
  color: #7f1d1d;
}
.auth-alert-success {
  background: rgba(26, 122, 66, 0.07);
  border: 1px solid rgba(26, 122, 66, 0.2);
  color: #14532d;
}

/* Form layout inside auth card */
.auth-form { display: grid; gap: 0.2rem; }
.auth-form .field { margin-bottom: 0.9rem; }
.auth-form .field:last-of-type { margin-bottom: 1.2rem; }

/* Two-column name row */
.auth-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0rem; }

/* Password row: label + "Forgot password?" on the same line */
.auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}
.auth-label-row label { margin: 0; }
.auth-forgot { font-size: 0.8rem; color: var(--brand-blue, #023aaa); font-weight: 600; text-decoration: none; }
.auth-forgot:hover { text-decoration: underline; }

/* password inputs inherit the same styling as text/email inputs */
input[type="password"] {
  width: 100%;
  padding: 0.82rem 0.95rem;
  color: var(--text);
  font: inherit;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: var(--edge), 0 1px 2px rgba(13, 27, 32, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}
input[type="password"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Show-password wrapper */
.pw-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.pw-wrap input {
  flex: 1;
  padding-right: 2.8rem !important;
}
.pw-toggle {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: #6b8895;
  line-height: 0;
  border-radius: 6px;
  transition: color 0.2s ease;
}
.pw-toggle:hover { color: var(--brand-blue, #023aaa); }
.pw-toggle svg { width: 1.1rem; height: 1.1rem; display: block; }
.pw-toggle svg[hidden] { display: none; }

/* Full-width submit button */
.auth-submit { width: 100%; justify-content: center; margin-top: 0.4rem; }

/* Field error state */
.field-error input,
.field-error textarea,
.field-error select {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.field-hint-error { color: #dc2626; font-size: 0.8rem; margin-top: 0.3rem; display: block; }

/* Legal / fine print inside the auth card */
.auth-legal {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: #90aab5;
  line-height: 1.55;
  text-align: center;
}

/* Bullet checklist on confirmation screens */
.auth-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.5rem;
}
.auth-checklist li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.9rem;
  color: #4a6874;
  line-height: 1.55;
}
.auth-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-green, #2b990b);
  font-weight: 700;
}

.auth-back { width: 100%; justify-content: center; }

/* Footer link line below the card */
.auth-foot {
  margin-top: 1.2rem;
  font-size: 0.875rem;
  color: #6b8895;
  text-align: center;
}
.auth-foot a { color: var(--brand-blue, #023aaa); font-weight: 600; text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .auth-row-2 { grid-template-columns: 1fr; }
  .auth-card { border-radius: 16px; }
}

/* ---------- footer ----------
   Plain and quiet on purpose: one dark ground, a hairline between the directory and
   the legal line, sans-serif headings, underlined hover. No glows, badges or grids. */

.site-footer.ft {
  margin-top: 0;
  padding-top: 0;
  background: #0e1a1f;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  overflow: visible;
}
.site-footer.ft::before,
.site-footer.ft::after { display: none; }

.ft .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem);
  border-top: 0;
}
.ft .footer-grid > * { padding: 0; border: 0; }

/* The mark is navy and green on transparency, which measures 1.65:1 against this ink -
   unreadable, and the reason a white plate used to sit behind it. Reversed to a single
   light tone instead: 14.7:1, no card, and the shape carries the identity. */
.ft-logo { display: inline-block; }
.ft-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(0.92);
  transition: filter 0.2s ease;
}
.ft-logo:hover img { filter: brightness(0) invert(1); }
.ft-blurb { max-width: 38ch; margin: 1.3rem 0 1.5rem; line-height: 1.65; }

.ft-reach { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.ft-reach li { display: flex; gap: 0.75rem; align-items: baseline; }
.ft-label { flex: none; width: 4.8rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }
.ft-reach a { color: #fff; overflow-wrap: anywhere; }

.ft-heading {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #fff;
}
.ft-links { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.ft a { color: inherit; text-decoration: none; text-underline-offset: 3px; }
.ft-links a:hover,
.ft-reach a:hover,
.ft-map:hover,
.ft-legal a:hover { color: #fff; text-decoration: underline; }

.ft-address { font-style: normal; line-height: 1.65; margin: 0 0 1rem; }
.ft-hours { margin: 0 0 1rem; }
.ft-map { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); }

.ft .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding-block: 1.4rem 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.ft .footer-bottom p { margin: 0; }
.ft-legal { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }

@media (max-width: 1040px) {
  .ft .footer-grid { grid-template-columns: 1fr 1fr; }
  .ft .footer-grid > .ft-about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ft .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ft .footer-bottom { flex-direction: column; }
}

/* ---------- home: "What we take on" band ----------
   Compact: intro, a 2x3 grid of capability tiles and a one-line foot on the left; the
   engineer cutout pinned to the band's bottom-right corner (it is cut flat on its right
   and bottom edges, so it bleeds off the page there). */

.capability-band { padding-block: clamp(2.8rem, 5.5vw, 4.4rem); overflow: hidden; }
.capability-split { grid-template-columns: minmax(0, 1fr); }
.capability-lead { position: relative; z-index: 2; max-width: none; gap: 1.4rem; }
.capability-band .capability-intro { max-width: 62ch; }

.capability-band .capability-intro h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); margin-bottom: 0.7rem; }
.capability-band .capability-intro > p { font-size: 0.92rem; line-height: 1.6; max-width: 54ch; }

/* One joined panel: the tiles share 1px dividers (the panel's background shows
   through a 1px gap) inside a single rounded frame. */
.capability-block {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  background: #0c2430;
}
.capability-band .capability-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.capability-band .capability-row > a,
.capability-band .capability-index .capability-row:last-child > a {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "num go" "title title" "sum sum";
  align-items: center;
  align-content: start;
  row-gap: 0.3rem;
  column-gap: 0.5rem;
  height: 100%;
  min-height: 0;
  padding: 1.3rem 1.3rem 1.4rem;
  border: 0;
  border-radius: 0;
  background: #0c2430;
  transition: background-color 0.25s ease;
}
.capability-band .capability-row > a::before { display: none; }
.capability-band .capability-row > a:hover,
.capability-band .capability-row > a:focus-visible { background: #123241; }
.capability-band .capability-row > a:hover .capability-go { color: var(--brand-green-lift); }
.capability-band .capability-row > a:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.82); outline-offset: -2px; }
.capability-band .capability-num { grid-area: num; font-size: 0.7rem; color: var(--brand-green-lift); }
.capability-band .capability-go { grid-area: go; width: 0.95rem; height: 0.95rem; }
.capability-band .capability-title { grid-area: title; font-size: 1.02rem; line-height: 1.25; letter-spacing: -0.02em; text-wrap: pretty; }
.capability-band .capability-summary { grid-area: sum; font-size: 0.8rem; line-height: 1.45; color: rgba(255, 255, 255, 0.62); }

.capability-band .capability-foot { padding-top: 1rem; }
.capability-band .capability-count { font-size: 1.6rem; }

/* The photo cell: the cutout stands on the frame's floor, cut edge flush with the
   frame's right side, lit by a brand glow behind it. */
.capability-visual {
  position: relative;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 60% 70%, rgba(11, 87, 194, 0.45), transparent 70%),
    radial-gradient(60% 50% at 40% 100%, rgba(43, 153, 11, 0.28), transparent 70%),
    linear-gradient(180deg, #0e2a38, #0a1f2a);
}
.capability-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 12%;
}

@media (max-width: 1040px) {
  .capability-band .capability-lead { max-width: none; }
}
@media (max-width: 760px) {
  .capability-block { grid-template-columns: 1fr; }
  .capability-band .capability-index { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .capability-visual { height: 320px; }
}
@media (max-width: 520px) {
  .capability-band .capability-index { grid-template-columns: 1fr; }
  .capability-band .capability-row > a { padding: 0.8rem 0.9rem 0.85rem; }
}


/* ---------- scroll motion (static/js/motion.js) ----------
   Scoped to `.motion-on`, which the script sets only when motion is allowed, so the
   page renders exactly as authored without JS or with reduced motion. */

/* 1. Reading progress: a brand line along the foot of the sticky header. */
.motion-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), #0b57c2 45%, var(--brand-green));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* 2. Headings rise word by word out of a clipping mask, sharpening as they land. */
.motion-on .motion-words .motion-w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.motion-on .motion-words .motion-w > span {
  display: inline-block;
  transform: translate3d(0, 110%, 0) rotate(3deg);
  transform-origin: left bottom;
  opacity: 0;
  filter: blur(6px);
  transition:
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.6s ease,
    filter 0.7s ease;
  transition-delay: calc(var(--w, 0) * 55ms);
}
.motion-on .motion-words.is-in .motion-w > span {
  transform: none;
  opacity: 1;
  filter: none;
}

/* 3. Curtain: the frame opens from the bottom edge up while the picture settles
   from a slight zoom. */
.motion-on .motion-curtain {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s cubic-bezier(0.77, 0, 0.18, 1);
}
.motion-on .motion-curtain img {
  transform: scale(1.18);
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.motion-on .motion-curtain.is-in { clip-path: inset(0 0 0 0); }
.motion-on .motion-curtain.is-in img { transform: none; }

/* 4. Counting figures keep a fixed width while they tick. */
.hero-proof strong, .capability-count { font-variant-numeric: tabular-nums; }

/* ---------- case studies list ---------- */

.cs-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
}
.cs-stats > div {
  padding: 0.2rem 2rem 0.2rem 0;
  margin-right: 2rem;
  border-right: 1px solid var(--line);
}
.cs-stats > div:last-child { border-right: 0; margin-right: 0; }
.cs-stats dt { font-size: 0.78rem; color: var(--muted); }
.cs-stats dd {
  margin: 0 0 0.15rem;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cs-stats > div { display: flex; flex-direction: column-reverse; }

.cs-section { padding-top: clamp(2rem, 4vw, 3rem); }

.cs-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.8rem; }
.cs-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(10, 31, 43, 0.14);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.cs-chip:hover { border-color: var(--text); }
.cs-chip span {
  display: inline-grid; place-items: center;
  min-width: 1.4rem; height: 1.4rem;
  padding-inline: 0.35rem;
  border-radius: 999px;
  background: var(--tint);
  font-size: 0.7rem;
}
.cs-chip.is-active { background: var(--text); border-color: var(--text); color: #fff; }
.cs-chip.is-active span { background: rgba(255, 255, 255, 0.18); }

.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.cs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(10, 31, 43, 0.08);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s ease, border-color 0.25s ease;
}
.cs-card[hidden] { display: none; }
.cs-card:hover, .cs-card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(10, 31, 43, 0.12);
}

/* Ink header: the same lit panel as the home reference tiles, with the mark on a
   white chip so dark and mid-tone client logos stay legible. */
.cs-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 168px;
  background:
    radial-gradient(70% 90% at 50% -10%, rgba(106, 168, 255, 0.35), transparent 60%),
    radial-gradient(50% 70% at 0% 110%, rgba(43, 153, 11, 0.35), transparent 60%),
    radial-gradient(50% 70% at 100% 110%, rgba(2, 58, 170, 0.45), transparent 60%),
    linear-gradient(180deg, #0e2a38, #081a22);
}
.cs-media::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000, transparent 75%);
  pointer-events: none;
}
.cs-ref, .cs-country {
  position: absolute;
  top: 0.9rem;
  z-index: 1;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cs-ref { left: 1rem; color: var(--brand-green-lift); }
.cs-country {
  right: 0.9rem;
  top: 0.75rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
}
.cs-chipmark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(72%, 220px);
  height: 76px;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #e9eff4);
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 #fff;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cs-card:hover .cs-chipmark { transform: translateY(-3px) scale(1.03); }
.cs-chipmark img { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; }
.cs-word { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); text-align: center; line-height: 1.15; }

.cs-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.2rem; }
.cs-eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.cs-title { margin: 0; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.025em; }
.cs-title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.cs-title a:hover { color: inherit; }
.cs-meta { margin: 0.3rem 0 0; font-size: 0.82rem; color: var(--muted-dim); }
.cs-summary {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cs-points { display: grid; gap: 0.4rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.cs-points li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.84rem; line-height: 1.45; color: var(--text); }
.cs-points .icon {
  flex: none;
  width: 1rem; height: 1rem;
  margin-top: 0.1rem;
  padding: 0.12rem;
  border-radius: 50%;
  background: rgba(43, 153, 11, 0.12);
  color: var(--accent-strong);
}
.cs-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto 0 0;
  padding-top: 1.1rem;
  margin-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-blue);
}
.cs-foot .icon { width: 1rem; height: 1rem; transition: transform 0.22s ease; }
.cs-card:hover .cs-foot .icon { transform: translateX(4px); }

@media (max-width: 560px) {
  .cs-stats > div { padding-right: 1.1rem; margin-right: 1.1rem; }
  .cs-stats dd { font-size: 1.5rem; }
  .cs-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px; }
  .cs-filter::-webkit-scrollbar { display: none; }
  .cs-chip { flex: none; }
}


/* ---------- inner-page heroes ----------
   Every inner page (about, solutions, solution detail, case studies, case study,
   contact, thank-you) opens on the same ink hero: breadcrumb, title, intro and
   actions on the brand grid. The shop keeps its compact top bar. */

.banner.page-hero {
  padding-block: clamp(3.2rem, 6.5vw, 5.4rem);
  background:
    radial-gradient(900px 520px at 85% 20%, rgba(11, 87, 194, 0.42), transparent 62%),
    radial-gradient(700px 480px at 0% 110%, rgba(43, 153, 11, 0.3), transparent 60%),
    linear-gradient(165deg, #0c2733, #0a1e28 55%, #06151c);
  color: #fff;
  overflow: hidden;
}
.banner.page-hero::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000 10%, transparent 70%);
  opacity: 1;
}
.banner.page-hero .shell::before,
.banner.page-hero .shell::after { display: none; }

.page-hero-grid { display: block; }
.page-hero-copy { max-width: 46rem; }
.page-hero h1 { color: #fff; max-width: 22ch; font-size: clamp(2.3rem, 4.8vw, 3.7rem); }
.page-hero .lede { color: rgba(255, 255, 255, 0.76); }
.page-hero .lede a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.page-hero .kicker { color: var(--brand-green-lift); }
.page-hero .crumbs {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
}
.page-hero .crumbs a:hover { color: var(--brand-green-lift); }
.page-hero .crumbs { display: flex; width: fit-content; max-width: 100%; }
.page-hero .crumbs + .kicker { display: flex; }
.page-hero-actions { margin-top: 2rem; }
.page-hero .row-actions[style] { margin-top: 1.8rem !important; }
.page-hero .btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  box-shadow: none;
}
.page-hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.page-hero .chip { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.85); box-shadow: none; }

/* Case-study stats on ink */
.page-hero .cs-stats > div { border-right-color: rgba(255, 255, 255, 0.14); }
.page-hero .cs-stats dt { color: rgba(255, 255, 255, 0.65); }
.page-hero .cs-stats dd { background: linear-gradient(135deg, #9cc6ff, var(--brand-green-lift)); -webkit-background-clip: text; background-clip: text; }


/* ---------- product cards: grocery-shelf style ----------
   Modelled on a big-box retail shelf: a flat white tile with a hairline border, a
   square product picture, a solid blue "+" pinned to the picture's corner, then name,
   price line, size and a small note. Dense enough for four or five across. */

.shop-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 12px; }

.product-card {
  gap: 0;
  padding: 9px 9px 12px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  overflow: visible;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-card::before, .product-card::after { display: none; }
.product-card:hover, .product-card:focus-within {
  transform: none;
  border-color: #d6d6d6;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.18);
}
.product-card.is-on-list { border-color: #0e5aa7; box-shadow: 0 0 0 1px #0e5aa7 inset; }

/* Picture */
.product-card-media { position: relative; display: block; }
.pc-imglink { display: block; }
.product-card .card-media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}
.product-card img.card-media { padding: 6px; }
.product-card .product-visual { background: #f7f7f7; }
.product-card .product-visual .product-art { width: 82%; height: auto; max-height: 80%; object-fit: contain; }
.product-placeholder { display: grid; justify-items: center; gap: 0.5rem; }
.product-placeholder .brand-mark { width: 3rem; height: 3rem; border-radius: 12px; font-size: 0.9rem; }
.product-placeholder-name { font-size: 0.75rem; font-weight: 600; color: #747474; }

.product-card .flag {
  position: absolute;
  top: 6px; left: 6px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
}
.product-card .flag-top { background: #e1251b; color: #fff; }
.product-card .flag-list { left: auto; right: 6px; top: 6px; background: #0e5aa7; color: #fff; }
.product-card .flag-list .icon { color: #fff; }

/* The blue "+" sits on the picture's bottom-right corner. */
.product-card .pc-add {
  position: absolute;
  right: 6px; bottom: 6px;
  z-index: 3;
  display: block;
  width: auto;
}
.pc-plus {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #0e5aa7;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(14, 90, 167, 0.35);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.pc-plus:hover { background: #0a4a8c; transform: scale(1.06); }
.pc-plus:focus-visible { outline: 2px solid #0e5aa7; outline-offset: 2px; }
.pc-plus .icon { width: 16px; height: 16px; }
.pc-plus .pc-plus-done { display: none; }
.pc-plus.is-done, .product-card.is-on-list .pc-plus { background: #2b990b; }
.pc-plus.is-done .pc-plus-add, .product-card.is-on-list .pc-plus .pc-plus-add { display: none; }
.pc-plus.is-done .pc-plus-done, .product-card.is-on-list .pc-plus .pc-plus-done { display: block; }
.pc-plus[aria-busy="true"] { opacity: 0.6; }

/* Text */
.product-card .pc-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 2px 0; }
.product-card .pc-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  color: #1f1f1f;
  min-height: 2.6em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .pc-title a { color: inherit; }
.product-card .pc-title a:hover { color: #0e5aa7; }
.pc-price { margin: 2px 0 0; line-height: 1.2; }
.pc-price strong { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; color: #000; }
.pc-size {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: #505050;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pc-note {
  display: flex; align-items: center; gap: 4px;
  margin: 2px 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: #505050;
  white-space: nowrap; overflow: hidden;
}
.pc-note span { overflow: hidden; text-overflow: ellipsis; }
.pc-note .icon { flex: none; width: 12px; height: 12px; color: #2b990b; }
/* The shared buy-row rules pad .add-btn to a 40px pill; the corner "+" opts out. */
.product-card .pc-add .pc-plus {
  flex: none;
  width: 32px; height: 32px;
  min-height: 0; min-width: 0;
  padding: 0;
  gap: 0;
}
.product-card .pc-add .pc-plus.is-done,
.product-card.is-on-list .pc-add .pc-plus { background: #2b990b; color: #fff; }

/* ---------- editorial cards: solutions, principles, references ---------- */

/* Solution card: icon tile, an outlined numeral watermark, soft tags and a round arrow
   that fills on hover. The whole card is the link (the title carries the overlay). */
/* ── Solution / capability cards ─────────────────────────────────────────── */
.sol-card {
  position: relative;
  padding: 0;
  border-radius: 22px;
  border: 1px solid rgba(10, 31, 43, 0.12);
  min-height: 400px;
  overflow: hidden;
  transition: transform 0.38s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.38s ease;
}
.sol-card:hover, .sol-card:focus-within {
  transform: translateY(-7px);
  box-shadow: 0 32px 64px -28px rgba(10, 31, 43, 0.42);
}

/* ── Plate: fills entire card ── */
.sol-card > .sol-plate { position: absolute; }
.sol-card > .sol-body-wrap { position: absolute; }
.sol-plate {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 30% -10%, rgba(106, 168, 255, 0.38), transparent 55%),
    radial-gradient(60% 80% at 100% 110%, rgba(43, 153, 11, 0.32), transparent 55%),
    radial-gradient(50% 70% at 0% 110%, rgba(2, 58, 170, 0.5), transparent 55%),
    linear-gradient(160deg, #0b1a2c, #081422);
}
/* subtle grid overlay */
.sol-plate::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000, transparent 80%);
}
/* strong bottom fade to ensure text legibility */
.sol-plate::after {
  content: "";
  position: absolute; inset: auto 0 0; z-index: 2;
  height: 75%;
  background: linear-gradient(to top, rgba(5,14,26,.95) 0%, rgba(5,14,26,.70) 40%, transparent 100%);
}
/* photo fill */
.sol-plate img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.sol-card:hover .sol-plate img { transform: scale(1.06); }

/* icon badge pinned to top-left of card */
.sol-plate-icon {
  position: absolute;
  left: 1.1rem; top: 1.1rem;
  z-index: 4;
}
.sol-icon {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 4px 16px -4px rgba(0,0,0,.35);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), background 0.3s ease;
}
.sol-icon .icon { width: 1.2rem; height: 1.2rem; color: #fff; }
.sol-card:hover .sol-icon {
  transform: scale(1.1) rotate(-6deg);
  background: rgba(111,212,74,0.25);
}

/* index numeral — top-right corner */
.sol-num {
  position: absolute;
  top: 1rem; right: 1.2rem; z-index: 4;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.22);
  transition: -webkit-text-stroke-color 0.3s ease;
  pointer-events: none;
}
.sol-card:hover .sol-num { -webkit-text-stroke-color: rgba(111,212,74,.5); }

/* ── Card body overlaid at the bottom ── */
.sol-body-wrap {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.5rem 1.35rem;
  gap: 0.5rem;
}
.sol-title { margin: 0; font-size: 1.18rem; line-height: 1.3; letter-spacing: -0.02em; color: #fff; }
.sol-body {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sol-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0; list-style: none; margin: 0; }
.sol-tags li {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.01em;
}
.sol-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.3rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.87rem;
  font-weight: 700;
  color: #fff;
}
.sol-go {
  display: grid; place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.sol-go .icon { width: 0.9rem; height: 0.9rem; }
.sol-card:hover .sol-go {
  background: var(--brand-green);
  border-color: transparent;
  transform: translateX(3px);
}

/* Principles: a numbered 2x2 (four across on wide screens), no orphan row. */
.pillars.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: principle;
}
.principles .pillar {
  position: relative;
  padding: 1.5rem 1.4rem 1.6rem;
  border: 1px solid rgba(10, 31, 43, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  counter-increment: principle;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s ease;
}
.principles .pillar::before {
  content: "0" counter(principle);
  position: static;
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem;
  margin-bottom: 1.1rem;
  border-radius: 13px;
  background: linear-gradient(145deg, #0b57c2, var(--brand-blue));
  color: #fff;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  transform: none;
  box-shadow: 0 10px 20px -8px rgba(2, 58, 170, 0.55);
}
.principles .pillar:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -22px rgba(10, 31, 43, 0.3); }
.principles .pillar b { font-size: 1.02rem; line-height: 1.35; margin-bottom: 0.55rem; }
.principles .pillar p { font-size: 0.88rem; line-height: 1.6; }
@media (max-width: 1100px) { .pillars.principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pillars.principles { grid-template-columns: 1fr; } }

/* Reference card: logo chip, sector, client, summary and a read-on cue. */
.ref-card { gap: 0.55rem; padding: 1.3rem 1.4rem 1.2rem; border-radius: 20px; border: 1px solid rgba(10, 31, 43, 0.08); background: #fff; }
.ref-card:hover, .ref-card:focus-within { transform: translateY(-5px); box-shadow: 0 26px 50px -22px rgba(10, 31, 43, 0.3); }
.ref-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.6rem; }
.ref-mark {
  display: grid; place-items: center;
  height: 52px; min-width: 110px; max-width: 70%;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(10, 31, 43, 0.08);
  border-radius: 12px;
  background: #f8fafc;
}
.ref-mark img { max-height: 30px; max-width: 100%; width: auto; }
.ref-mark span { font-weight: 800; font-size: 0.9rem; letter-spacing: -0.02em; color: var(--text); white-space: nowrap; }
.ref-country { padding: 0.25rem 0.6rem; border-radius: 999px; background: #f1f5f9; font-size: 0.7rem; font-weight: 700; color: #475569; }
.ref-eyebrow { margin: 0; font-family: var(--mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.ref-title { margin: 0; font-size: 1.15rem; }
.ref-body { margin: 0; font-size: 0.88rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ref-foot { display: flex; align-items: center; gap: 0.4rem; margin-top: auto; padding-top: 0.9rem; border-top: 1px solid rgba(10, 31, 43, 0.07); font-size: 0.86rem; font-weight: 700; color: var(--brand-blue); }
.ref-foot .icon { width: 1rem; height: 1rem; transition: transform 0.25s ease; }
.ref-card:hover .ref-foot .icon { transform: translateX(4px); }
/* sol-num lives inside .sol-plate which is position:relative */

/* Inner-page heroes: the ring ornament makes way for a real plate on the right. */
.page-hero-visual-band .page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 25rem);
  align-items: center;
  gap: clamp(2rem, 4vw, 3.4rem);
}
.page-hero-visual-band .shell::before,
.page-hero-visual-band .shell::after { display: none; }
.page-hero-visual {
  position: relative;
  display: block;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
  background: #0b161b;
  box-shadow: 0 34px 68px -32px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.page-hero-visual img { display: block; width: 100%; height: auto; }
.page-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 84% 10%, rgba(43, 153, 11, 0.14), transparent 62%);
}
@media (max-width: 899px) {
  .page-hero-visual-band .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero-visual { max-width: 26rem; }
}

/* ---------- real-photo hero visual ---------- */
.page-hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  height: auto;
  display: block;
}
/* A soft dark vignette so the photo doesn't compete with the copy on mobile */
.page-hero-photo::after {
  background: radial-gradient(120% 80% at 84% 10%, rgba(27,153,60,.18), transparent 55%),
              linear-gradient(to bottom, transparent 55%, rgba(8,26,34,.45));
}

/* ---------- about page hero with image ---------- */
.about-hero.banner {
  padding-block: clamp(1.8rem, 3.5vw, 2.8rem) clamp(1.4rem, 2.5vw, 2rem);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  min-height: 280px;
}
.about-hero-visual {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-hero .banner h1,
.about-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
}
.about-hero-visual img {
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.2));
}
@media (max-width: 720px) {
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-hero-visual { display: none; }
}

/* ---------- about page — how we work split section ---------- */
.hww-section {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  min-height: 460px;
}
.hww-left {
  background: linear-gradient(160deg, #1a6e08 0%, #2b990b 55%, #1e7a09 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
}
.hww-left::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.hww-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
}
.hww-heading {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 1.1rem;
}
.hww-sub {
  font-size: 0.97rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.hww-right {
  background: #f6faf7;
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 4rem);
}
.hww-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  width: 100%;
  counter-reset: pillar;
}
.hww-pillar {
  counter-increment: pillar;
  padding: 1.6rem 1.4rem 1.7rem;
  border-radius: 18px;
  border: 1px solid rgba(30,122,9,0.1);
  background: #fff;
  box-shadow: 0 4px 18px -8px rgba(10,31,43,0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  position: relative;
}
.hww-pillar::before {
  content: counter(pillar, decimal-leading-zero);
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(30,122,9,0.12);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hww-pillar:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px -16px rgba(10,31,43,0.16);
}
.hww-pillar-title {
  display: block;
  font-size: 0.97rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
  padding-right: 2rem;
}
.hww-pillar-body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #475569;
}
@media (max-width: 680px) {
  .hww-section { grid-template-columns: 1fr; }
  .hww-left { padding: 3rem 1.5rem; }
  .hww-right { padding: 2.5rem 1.5rem; }
}
@media (max-width: 600px) {
  .hww-pillars { grid-template-columns: 1fr; }
}

/* ---------- wave divider ---------- */
.section-wave-divider {
  display: block;
  line-height: 0;
  margin-bottom: -2px;
  filter: drop-shadow(0 -6px 18px rgba(10,31,43,0.18));
}
.section-wave-divider svg { width: 100%; height: clamp(40px, 5vw, 72px); display: block; }

/* ---------- about page — who we are ----------
   One ink band on a paper page. The team cut-out is matted: 471 of its 1402 rows are
   transparent air above her hands, so `contain` inside a 480px box made her a small
   figure in a large empty square. `about-team-fit.webp` is the same artwork cropped to
   its own alpha box, and the plate below matches that ratio, so she fills the column
   and nothing of her is lost either way. */
.about-who-section {
  background:
    radial-gradient(80% 110% at 86% 4%, rgba(43, 153, 11, 0.26), transparent 58%),
    radial-gradient(70% 100% at 4% 96%, rgba(2, 58, 170, 0.34), transparent 62%),
    linear-gradient(168deg, #0c1c2b, #071320 68%);
  color: rgba(255, 255, 255, 0.76);
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  position: relative;
  overflow: clip;
}
/* lit dot grid, brightest behind the copy and gone behind the figure */
.about-who-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='%23ffffff' fill-opacity='.10'/%3E%3C/svg%3E") repeat;
  -webkit-mask-image: radial-gradient(60% 80% at 18% 40%, #000, transparent 72%);
  mask-image: radial-gradient(60% 80% at 18% 40%, #000, transparent 72%);
  pointer-events: none;
}
.about-who-section .shell.split {
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  position: relative;
}
/* `.prose .kicker` rather than `.kicker`: `.about-who-section .prose p` has the same
   specificity and would otherwise win the colour and size of the label. */
.about-who-section .prose .kicker {
  color: var(--brand-green-lift);
  font-weight: 700;
  letter-spacing: 0.13em;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.about-who-section .prose p {
  margin-block: 0.8em;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.76);
}
.about-who-section .prose .kicker + p {
  font-size: 1.24rem;
  font-weight: 500;
  line-height: 1.55;
  color: #f2f6f3;
}

.about-team-photo {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  /* the trimmed figure's own ratio, so the plate can never crop her hands or her head */
  aspect-ratio: 1122 / 931;
}
/* the services flyer artwork, which had no markup anywhere, becomes her backdrop:
   masked to a soft window and dropped far enough to read as light, not a poster */
.about-team-photo::before {
  content: '';
  position: absolute;
  inset: -10% -14% -6% -26%;
  z-index: -2;
  background: url("../img/services-flyer-cut.ec8f7c997e4f.webp") right 38% / auto 108% no-repeat;
  opacity: 0.26;
  filter: saturate(1.2) contrast(1.06);
  -webkit-mask-image: radial-gradient(58% 66% at 66% 44%, #000 24%, transparent 76%);
  mask-image: radial-gradient(58% 66% at 66% 44%, #000 24%, transparent 76%);
}
/* the floor she stands on, and the ring the flyer artwork is built around */
.about-team-photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 30%;
  background:
    radial-gradient(46% 100% at 50% 100%, rgba(111, 212, 74, 0.20), transparent 72%),
    radial-gradient(38% 76% at 50% 104%, rgba(4, 12, 20, 0.62), transparent 70%);
}
.about-team-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(3, 10, 16, 0.55));
}
@media (max-width: 860px) {
  .about-who-section .shell.split { grid-template-columns: 1fr; }
  .about-team-photo { max-width: 620px; margin-inline: auto; }
  .about-team-photo::before { inset: -6% -10% 0 -10%; opacity: 0.2; }
}

/* ---------- case study card cover photo ---------- */
.cs-media.has-cover,
.ref-head.has-cover {
  overflow: hidden;
}
.ref-head.has-cover {
  position: relative;
  height: 140px;
  border-radius: 14px 14px 0 0;
  margin: -1.3rem -1.4rem 1rem;
  padding: 0.75rem 1rem;
  align-items: flex-end;
}
.cs-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
/* Overlay so badges + logo chip stay legible over the photo */
.cs-media.has-cover::before,
.ref-head.has-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,26,34,.45) 0%, rgba(8,26,34,.68) 100%);
  z-index: 1;
}
/* The grid-line ::after must sit above the dark overlay */
.cs-media.has-cover::after { z-index: 2; }
.cs-media.has-cover .cs-ref,
.cs-media.has-cover .cs-country,
.cs-media.has-cover .cs-chipmark,
.ref-head.has-cover .ref-mark,
.ref-head.has-cover .ref-country { position: relative; z-index: 3; }

/* ---------- product photo tiles ----------
   Cut from the catalogue photography at 960x600: the same 16/10 window the cards
   use, with the product already padded and centred, so nothing is cropped. */
.frame-tile { margin-bottom: 1.2rem; }
.frame-tile img { aspect-ratio: 16 / 10; object-fit: contain; background: #fff; }


/* ── Region / Countries band ────────────────────────────── */
.region-band {
  background: #f5f7f5;
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(10,31,43,.07);
}
.region-inner {
  text-align: center;
}
.region-kicker {
  color: var(--brand-green);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: .6rem;
}
.region-heading {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #0a1f2b;
  margin-bottom: .75rem;
  line-height: 1.15;
}
.region-sub {
  color: #4a6572;
  font-size: clamp(.92rem, 1.5vw, 1.05rem);
  max-width: 44ch;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.region-flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 1.6rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.region-flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
}
.region-flag-circle {
  width: clamp(50px, 6vw, 66px);
  height: clamp(50px, 6vw, 66px);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(10,31,43,.10), 0 0 0 1px rgba(10,31,43,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.region-flag { width: 100%; height: 100%; display: block; border-radius: 50%; }
.region-flag-item:hover .region-flag-circle {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 18px rgba(10,31,43,.14), 0 0 0 1px rgba(10,31,43,.08);
}
.region-flag-name {
  font-size: .8rem;
  font-weight: 600;
  color: #0a1f2b;
  letter-spacing: .02em;
}
.region-flag-role {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-green);
}
/* Kenya is the base, so its mark is a step larger than the rest. */
.region-flag-item.is-base .region-flag-circle {
  width: clamp(58px, 7vw, 78px);
  height: clamp(58px, 7vw, 78px);
}
.region-flag-item.is-base .region-flag-role { color: var(--brand-green); }
@media (max-width: 480px) {
  .region-flags { gap: 1rem; }
  .region-flag-circle { width: 50px; height: 50px; }
  .region-flag-item.is-base .region-flag-circle { width: 58px; height: 58px; }
}
