/* Kali Kartel Limited: design system and page styles.
   Mobile-first. Tokens on :root, themes switch the semantic colour variables. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-wght.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-ext-wght.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Palette (sampled from the reference mockup) */
  --paper: #f8f5ef;
  --paper-2: #f1ede5;
  --paper-3: #e8e3d9;
  --mist: #dce6ec;
  --ink: #101416;
  --ink-2: #2a3033;
  --grey: #51585c;
  --grey-2: #697176;
  --night: #0c0e10;
  --night-2: #15181b;
  --forest: #06110f;
  --forest-2: #0f2724;
  --charcoal: #131617;
  --abyss: #050b10;
  --lime: #d7f078;
  --lime-soft: #def1b2;
  --leaf: #2f8f4e;
  --sky-node: #8fd3f4;
  --white: #ffffff;

  /* Type */
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-hero: clamp(2.375rem, 1.55rem + 3.45vw, 4rem);
  --fs-h1: clamp(2.375rem, 1.7rem + 2.3vw, 3.25rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem);
  --fs-h3: clamp(1.0625rem, 1rem + 0.3vw, 1.3125rem);
  --fs-lede: clamp(0.9688rem, 0.92rem + 0.25vw, 1.125rem);
  --fs-body: clamp(0.9375rem, 0.9rem + 0.18vw, 1.0625rem);
  --fs-small: 0.8125rem;
  --fs-label: 0.75rem;
  --fs-btn: 0.9063rem;
  --lh-tight: 1.06;
  --lh-head: 1.12;
  --lh-body: 1.6;

  /* Space */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --gutter: clamp(1.375rem, 0.9rem + 2.2vw, 2.5rem);
  --container: 75rem;
  --measure: 34rem;

  /* Shape */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(16, 20, 22, 0.06), 0 8px 24px -12px rgba(16, 20, 22, 0.18);
  --shadow-2: 0 2px 4px rgba(16, 20, 22, 0.06), 0 24px 48px -24px rgba(16, 20, 22, 0.35);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 160ms;
  --t: 280ms;
  --t-slow: 600ms;

  --header-h: 6.25rem;
  --logo: 4.875rem;
}

/* ---------- Themes ---------- */
.theme-light {
  --bg: var(--paper);
  --bg-raised: #fffdf9;
  --fg: var(--ink);
  --fg-muted: var(--grey);
  --line: rgba(16, 20, 22, 0.11);
  --line-strong: rgba(16, 20, 22, 0.2);
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --accent: var(--ink);
  --icon: var(--ink);
  --focus: #1f6feb;
  color-scheme: light;
}
.theme-dark,
.theme-forest,
.theme-charcoal,
.theme-abyss {
  --bg: var(--night);
  --bg-raised: rgba(255, 255, 255, 0.035);
  --fg: #f3f1ec;
  --fg-muted: rgba(243, 241, 236, 0.74);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  --accent: var(--lime);
  --icon: var(--fg);
  --focus: var(--lime);
  color-scheme: dark;
}
.theme-forest {
  --bg: var(--forest);
  --icon: var(--lime);
  background-image: radial-gradient(120% 70% at 100% 10%, rgba(30, 78, 70, 0.55) 0%, rgba(6, 17, 15, 0) 60%);
}
.theme-charcoal {
  --bg: var(--charcoal);
  background-image: radial-gradient(90% 60% at 85% 20%, rgba(255, 255, 255, 0.07) 0%, rgba(19, 22, 23, 0) 65%);
}
.theme-abyss {
  --bg: var(--abyss);
  background-image: radial-gradient(100% 60% at 90% 0%, rgba(40, 70, 95, 0.32) 0%, rgba(5, 11, 16, 0) 65%);
}
.theme-light,
.theme-dark,
.theme-forest,
.theme-charcoal,
.theme-abyss {
  background-color: var(--bg);
  color: var(--fg);
}
.tone-2 { --bg: var(--paper-2); }

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--focus, #1f6feb);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--lime); color: var(--ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -4rem;
  z-index: 200;
  padding: var(--s-3) var(--s-4);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-xs);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--s-4); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }

/* ---------- Typography ---------- */
.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: var(--s-3);
}
.display,
.h1,
.h2 {
  overflow-wrap: break-word;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.display {
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  max-width: 11ch;
}
.h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  max-width: 14ch;
}
.h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.lede {
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: var(--measure);
  margin-top: var(--s-4);
  text-wrap: pretty;
}
.muted { color: var(--fg-muted); }
.prose p + p { margin-top: var(--s-4); }
.prose p { max-width: 38rem; color: var(--fg-muted); text-wrap: pretty; }
.tabular { font-variant-numeric: tabular-nums; }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head .lede { margin-top: var(--s-3); }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--btn-bg);
  --_fg: var(--btn-fg);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 3.25rem;
  padding: 0 1.375rem 0 1.625rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--_bg);
  color: var(--_fg);
  font-family: var(--font-sans);
  font-size: var(--fs-btn);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), background-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.btn .icon { width: 1.25rem; height: 1.25rem; stroke-width: 1.8; transition: transform var(--t) var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:hover { box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.55); }
.btn:active { transform: scale(0.98); }
.btn-lime { --_bg: var(--lime-soft); --_fg: var(--ink); }
.btn-lime:hover { --_bg: var(--lime); }
.btn-outline { --_bg: transparent; --_fg: var(--fg); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--fg); }
.btn-block { width: 100%; justify-content: center; gap: 1.25rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: var(--fs-btn);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color var(--t) var(--ease);
}
.text-link:hover { border-color: currentColor; }
.text-link .icon { width: 1rem; height: 1rem; }

.icon { width: 1.5rem; height: 1.5rem; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--fg);
  transition: background-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  height: var(--header-h);
  transition: height var(--t) var(--ease);
}
.brand {
  display: inline-flex;
  color: var(--fg);
  border-radius: 50%;
  flex: none;
}
.logo-mark { width: var(--logo); height: var(--logo); transition: width var(--t) var(--ease), height var(--t) var(--ease); }
.site-header:not(.is-scrolled) { background: transparent; }
.site-header.is-scrolled {
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled .header-inner { height: 4.25rem; }
.site-header.is-scrolled .logo-mark { width: 3rem; height: 3rem; }
.site-header.is-hidden { transform: translateY(-100%); }

.desktop-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: var(--s-4); }
.header-cta { display: none; }
.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.5rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--fg);
}
.menu-toggle .icon { width: 1.75rem; height: 1.75rem; stroke-width: 1.4; }
.menu-toggle:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }

/* ---------- Menu overlay ---------- */
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--t) var(--ease), visibility 0s linear var(--t);
}
.site-menu.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity var(--t) var(--ease), visibility 0s;
}
.site-menu .menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  flex: none;
}
.site-menu .menu-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-7);
  padding-top: var(--s-5);
  padding-bottom: var(--s-4);
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list > li { transform: translateY(8px); opacity: 0; transition: transform var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease); }
.site-menu.is-open .menu-list > li { transform: none; opacity: 1; }
.site-menu.is-open .menu-list > li:nth-child(2) { transition-delay: 30ms; }
.site-menu.is-open .menu-list > li:nth-child(3) { transition-delay: 60ms; }
.site-menu.is-open .menu-list > li:nth-child(4) { transition-delay: 90ms; }
.site-menu.is-open .menu-list > li:nth-child(5) { transition-delay: 120ms; }
.site-menu.is-open .menu-list > li:nth-child(6) { transition-delay: 150ms; }
.site-menu.is-open .menu-list > li:nth-child(7) { transition-delay: 180ms; }
.site-menu.is-open .menu-list > li:nth-child(8) { transition-delay: 210ms; }
.site-menu.is-open .menu-list > li:nth-child(9) { transition-delay: 240ms; }
.menu-link,
.menu-disclosure {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.2rem 0;
  border: 0;
  background: none;
  font-size: 1.0938rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: left;
  text-decoration: none;
  color: var(--fg);
}
.menu-link[aria-current="page"] { color: var(--lime); }
.menu-link:hover,
.menu-disclosure:hover { color: var(--lime); }
.menu-disclosure .icon { width: 1.25rem; height: 1.25rem; transition: transform var(--t) var(--ease); }
.menu-disclosure[aria-expanded="true"] .icon { transform: rotate(45deg); }
.submenu {
  list-style: none;
  margin: 0 0 var(--s-3);
  padding: 0 0 0 var(--s-4);
  border-left: 1px solid var(--line);
}
.submenu[hidden] { display: none; }
.submenu a {
  display: flex;
  align-items: center;
  min-height: 2.6rem;
  font-size: 0.975rem;
  color: var(--fg-muted);
  text-decoration: none;
}
.submenu a:hover,
.submenu a[aria-current="page"] { color: var(--lime); }

.menu-promo {
  position: relative;
  display: block;
  min-height: 9.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d1418;
  color: var(--fg);
  text-decoration: none;
  isolation: isolate;
}
.menu-promo img {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 62%;
  object-fit: cover;
  z-index: -1;
}
.menu-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #121c22 0%, #121c22 36%, rgba(18, 28, 34, 0) 66%);
}
.menu-promo p {
  padding: 1.375rem 5rem 1.375rem 1.375rem;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
}
.circle-arrow {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  transition: transform var(--t) var(--ease);
}
.circle-arrow .icon { width: 1.25rem; height: 1.25rem; }
.menu-promo:hover .circle-arrow { transform: translateX(3px); }

/* ---------- Home hero ---------- */
.home-hero {
  position: relative;
  min-height: 100svh;
  min-height: max(100svh, 40rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #ebedef 0%, #f6f1ec 18%, #faf3ea 50%, #eadfd8 69%, #858c9a 83%, #5d6b79 100%);
}
.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: flex;
  flex-direction: column;
}
/* Mobile: show the whole photograph at full width, as in the reference,
   with sky above and the darker foreground continuing below. */
.home-hero__media::before {
  content: "";
  flex: none;
  height: calc(var(--header-h) - 1.5rem);
  background: linear-gradient(180deg, #e9ebee 0%, #f7f2ef 100%);
}
.home-hero__media::after {
  content: "";
  flex: 1;
  margin-top: -1px;
  background: linear-gradient(180deg, #5b6673 0%, #3a4755 40%, #222d38 100%);
}
.home-hero__media img {
  flex: none;
  width: 100%;
  aspect-ratio: 592 / 724;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(235, 237, 239, 0.7) 0%, rgba(235, 237, 239, 0) 22%),
    linear-gradient(180deg, rgba(20, 30, 40, 0) 62%, rgba(26, 36, 46, 0.55) 84%, rgba(20, 28, 36, 0.82) 100%);
}
.home-hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + 1.75rem);
  padding-bottom: var(--s-6);
}
.home-hero .display { max-width: 10.5ch; }
.home-hero .lede { color: #4b5256; max-width: min(17.75rem, 74vw); }
.home-hero .btn { align-self: flex-start; margin-top: var(--s-6); }
.metrics {
  margin-top: auto;
  padding-top: var(--s-7);
  color: #fff;
}
.metrics__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.metrics__item {
  position: relative;
  padding: 0.25rem 0.75rem 1.25rem 0.9rem;
}
.metrics__item:first-child { padding-left: 0; }
.metrics__item + .metrics__item { border-left: 1px solid rgba(255, 255, 255, 0.28); }
.metrics__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.metrics__value--stack { font-size: clamp(1.0625rem, 0.95rem + 0.6vw, 1.375rem); line-height: 1.12; }
.metrics__label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}
.metrics__bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.metrics__bars span {
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
  position: relative;
}
.metrics__bars span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime-soft);
  transform: scaleX(0);
  transform-origin: left;
}
.metrics__bars span.is-active::after { animation: bar-fill 4.5s linear forwards; }
.metrics__bars span.is-done::after { transform: scaleX(1); }
@keyframes bar-fill { to { transform: scaleX(1); } }
.no-js .metrics__bars span:first-child::after { transform: scaleX(1); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 1.25rem);
  padding-bottom: var(--section-y);
  overflow: hidden;
  isolation: isolate;
}
.page-hero .btn { margin-top: var(--s-6); }
.page-hero--flush { padding-bottom: 0; }
.hero-grid { display: grid; gap: var(--s-7); }

/* Hero with copy, visual and CTA: CTA follows the visual on mobile */
.hero-split { display: grid; grid-template-areas: "copy" "visual" "cta"; }
.hero-split__copy { grid-area: copy; }
.hero-split__visual { grid-area: visual; margin: 0; }
.hero-split__cta { grid-area: cta; }
.hero-split__cta .btn { margin-top: var(--s-6); }

/* Icon rows ("principles" under the company hero) */
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--s-7);
  list-style: none;
  padding: 0;
}
.principles li { padding: 0 0.75rem; }
.principles li:first-child { padding-left: 0; }
.principles li + li { border-left: 1px solid var(--line); }
.principles .icon { width: 1.625rem; height: 1.625rem; color: var(--icon); stroke-width: 1.4; }
.principles .num {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
}
.principles .label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--fg-muted);
}

.bleed-media {
  margin-top: var(--s-7);
  margin-inline: calc(var(--gutter) * -1);
  overflow: hidden;
}
.bleed-media img { width: 100%; aspect-ratio: 2.35; object-fit: cover; }

/* ---------- Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 10.25rem;
  padding: 1.125rem 1rem 1.125rem 1.125rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  color: var(--fg);
  text-decoration: none;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.service-card:hover { border-color: var(--line-strong); background: color-mix(in srgb, var(--fg) 5%, transparent); transform: translateY(-2px); }
.service-card .icon { width: 1.75rem; height: 1.75rem; color: var(--icon); stroke-width: 1.4; }
.service-card .h3 { margin-top: 1.125rem; font-size: 1rem; line-height: 1.3; }
.service-card .meta { display: block; margin-top: 0.4rem; font-size: 0.75rem; line-height: 1.45; color: var(--fg-muted); }
.service-card .go {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 1.125rem;
  height: 1.125rem;
  color: var(--fg-muted);
  transition: transform var(--t) var(--ease), color var(--t) var(--ease);
}
.service-card:hover .go { transform: translateX(3px); color: var(--fg); }
.card-grid .span-2 { grid-column: span 2; }
.card-grid .span-2 .service-card { min-height: 0; flex-direction: row; align-items: center; gap: 1rem; }
.card-grid .span-2 .service-card .h3 { margin-top: 0; }
.card-grid .span-2 .service-card .go { position: static; margin-left: auto; }

/* Feature cards (light, text-led) */
.feature-grid {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}
.feature .icon { width: 1.5rem; height: 1.5rem; color: var(--icon); stroke-width: 1.5; }
.feature .h3 { margin-top: 1rem; }
.feature p { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--fg-muted); }

/* ---------- Icon list rows ---------- */
.icon-list { list-style: none; margin: 0; padding: 0; }
.icon-row {
  display: grid;
  grid-template-columns: 2.75rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.75rem;
  color: var(--fg);
  text-decoration: none;
}
.icon-row > .icon { width: 1.625rem; height: 1.625rem; color: var(--icon); stroke-width: 1.4; }
.icon-row .row-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 500;
}
.icon-list li:last-child .row-text { border-bottom: 0; }
.icon-row .chev { width: 1.125rem; height: 1.125rem; color: var(--fg-muted); transition: transform var(--t) var(--ease); }
.icon-row .chev-cell { display: flex; align-items: center; min-height: 3.75rem; border-bottom: 1px solid var(--line); }
.icon-list li:last-child .chev-cell { border-bottom: 0; }
a.icon-row:hover .chev { transform: translateX(3px); color: var(--fg); }
a.icon-row:hover .row-text { color: var(--fg); }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.05rem; }
.check-list li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  align-items: center;
  font-size: 0.9375rem;
  color: var(--fg-muted);
}
.check-list .icon { width: 1.375rem; height: 1.375rem; color: var(--fg); stroke-width: 1.5; }

/* ---------- Generation ---------- */
.media-panel {
  margin-top: var(--s-6);
  margin-right: calc(var(--gutter) * -1);
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
}
.media-panel img { width: 100%; aspect-ratio: 2.8; object-fit: cover; }

.detail-list { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.detail {
  display: grid;
  gap: 0.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 5rem;
}
.detail .num { font-family: var(--font-display); font-size: 0.8125rem; color: var(--fg-muted); letter-spacing: 0.06em; }
.detail .h3 { display: flex; align-items: center; gap: 0.75rem; }
.detail .h3 .icon { width: 1.375rem; height: 1.375rem; stroke-width: 1.5; }
.detail p { color: var(--fg-muted); max-width: 40rem; }

/* ---------- Smart metering ---------- */
.meter-hero .hero-copy { position: relative; z-index: 1; }
.meter-hero .h1 { max-width: 7.5ch; }
.meter-hero .lede { max-width: 14rem; font-size: 0.875rem; }
.meter-visual {
  position: absolute;
  top: calc(var(--header-h) + 0.25rem);
  right: calc(var(--gutter) * -1 - 1.25rem);
  width: min(46vw, 13.5rem);
  z-index: 0;
  pointer-events: none;
}
.meter-visual img {
  width: 100%;
  aspect-ratio: 125 / 256;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(85% 75% at 55% 45%, #000 55%, transparent 100%);
  mask-image: radial-gradient(85% 75% at 55% 45%, #000 55%, transparent 100%);
}
.meter-hero .check-list { margin-top: var(--s-6); }
.meter-hero .check-list li { color: var(--fg-muted); }

.related-site {
  display: grid;
  gap: var(--s-4);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
}
.related-site .eyebrow { margin-bottom: 0; color: var(--fg-muted); }
.related-site p { color: var(--fg-muted); max-width: 40rem; }
.related-site .btn { justify-self: start; }

/* ---------- Segmented control / tabs ---------- */
.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--fg) 6%, transparent);
  margin-top: var(--s-6);
  max-width: 30rem;
}
.segmented [role="tab"],
.segmented label {
  display: grid;
  place-items: center;
  min-height: 2.5rem;
  padding: 0 0.75rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--fg);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}
.segmented [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--paper); }
.segmented [role="tab"]:hover:not([aria-selected="true"]) { background: color-mix(in srgb, var(--fg) 6%, transparent); }
.tab-panel[hidden] { display: none; }
.no-js .tab-panel[hidden] { display: block; }
.no-js .segmented[role="tablist"] { display: none; }

.vend-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  margin-top: var(--s-6);
}
.illustrative-note {
  margin-top: var(--s-4);
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.vend-features { list-style: none; margin: 0; padding: 0.75rem 0 0; display: grid; gap: 1.35rem; }
.vend-features li { display: grid; grid-template-columns: 2.25rem 1fr; align-items: center; font-size: 0.8125rem; line-height: 1.35; font-weight: 500; }
.vend-features .icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.4; }

/* Phone mock (rebuilt UI, sample data) */
.phone {
  position: relative;
  width: 100%;
  max-width: 15.5rem;
  aspect-ratio: 9 / 15;
  padding: 0.45rem;
  border-radius: 2rem;
  background: #111;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 1.6rem;
  overflow: hidden;
  background: linear-gradient(180deg, #3a1d1f 0%, #2a1416 34%, #f4efe8 34.1%);
  color: #fff;
  font-size: 0.6875rem;
}
.phone__island {
  position: absolute;
  top: 0.45rem;
  left: 50%;
  width: 34%;
  height: 0.9rem;
  border-radius: 1rem;
  background: #050505;
  transform: translateX(-50%);
}
.phone__status { display: flex; justify-content: space-between; padding: 0.5rem 1rem 0; font-size: 0.5625rem; font-weight: 600; }
.phone__greet { padding: 0.9rem 0.9rem 0; font-size: 0.6875rem; color: rgba(255, 255, 255, 0.78); }
.phone__name { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: #fff; }
.phone__card {
  margin: 0.75rem 0.6rem 0;
  padding: 0.75rem;
  border-radius: 0.8rem;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.4);
}
.phone__label { display: flex; justify-content: space-between; font-size: 0.5625rem; color: #6c6c6c; }
.phone__amount { display: block; margin-top: 0.2rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.phone__btn {
  display: block;
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.5rem 0;
  border: 0;
  border-radius: 0.45rem;
  background: #5b2a2c;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  text-align: center;
}
.phone__usage { display: grid; grid-template-columns: 1fr auto; align-items: end; }
.phone__usage .phone__amount { font-size: 1rem; }
.phone__bars { display: flex; align-items: flex-end; gap: 4px; height: 2.4rem; }
.phone__bars i { display: block; width: 6px; border-radius: 2px; background: #1f3550; }
.phone__bars i:nth-child(1) { height: 40%; background: #3fa66b; }
.phone__bars i:nth-child(2) { height: 75%; }
.phone__bars i:nth-child(3) { height: 60%; }
.phone__bars i:nth-child(4) { height: 100%; background: #101416; }
.phone__link { display: block; margin-top: 0.35rem; font-size: 0.5rem; font-weight: 700; letter-spacing: 0.06em; color: #444; }

/* USSD mock */
.ussd {
  max-width: 15.5rem;
  padding: 1.1rem;
  border-radius: 1.25rem;
  background: #1a1d1f;
  color: #e9f3e3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.6;
  box-shadow: var(--shadow-2);
}
.ussd__screen { padding: 0.9rem; border-radius: 0.6rem; background: #c9d8b6; color: #1b2414; }
.ussd__screen ol { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.ussd__input { margin-top: 0.5rem; padding: 0.25rem 0.4rem; border: 1px solid rgba(27, 36, 20, 0.4); border-radius: 0.25rem; }
.ussd__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; margin-top: 0.8rem; }
.ussd__keys span { display: grid; place-items: center; height: 1.6rem; border-radius: 0.4rem; background: #2a2e31; color: #cfd6d9; }

/* Browser mock */
.browser {
  max-width: 19rem;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-2);
  font-size: 0.6875rem;
}
.browser__bar { display: flex; align-items: center; gap: 0.3rem; padding: 0.55rem 0.7rem; background: #ece8e1; }
.browser__bar i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #c9c3b8; }
.browser__url { flex: 1; margin-left: 0.4rem; padding: 0.15rem 0.5rem; border-radius: 0.3rem; background: #fff; color: #777; font-size: 0.5625rem; }
.browser__body { display: grid; gap: 0.6rem; padding: 0.9rem; }
.browser__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.browser__tile { padding: 0.6rem; border-radius: 0.5rem; background: #f6f2ec; }
.browser__tile b { display: block; margin-top: 0.15rem; font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; }
.browser__table { width: 100%; border-collapse: collapse; font-size: 0.5938rem; }
.browser__table th, .browser__table td { padding: 0.3rem 0; border-bottom: 1px solid #eee; text-align: left; font-weight: 500; }
.browser__table th { color: #888; font-weight: 600; }

.steps {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--line);
}
.step .num { font-family: var(--font-display); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; color: var(--fg-muted); }
.step .h3 { margin-top: 0.75rem; display: flex; gap: 0.6rem; align-items: center; }
.step .h3 .icon { width: 1.375rem; height: 1.375rem; color: var(--icon); stroke-width: 1.5; }
.step p { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--fg-muted); }

.note-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1.25rem 1.375rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-raised);
  font-size: 0.9375rem;
  color: var(--fg-muted);
}
.note-card .icon { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; color: var(--fg); }
.note-card strong { color: var(--fg); font-weight: 600; }

/* ---------- Distribution network illustration ---------- */
.network-figure { margin-top: var(--s-3); margin-inline: calc(var(--gutter) * -1); }
.network-figure figcaption { padding-inline: var(--gutter); }
.network-figure svg { width: 100%; height: auto; }
.network-figure .net-bg { stroke: rgba(255, 255, 255, 0.08); stroke-width: 0.6; fill: none; }
.network-figure .net-secondary { stroke: rgba(235, 240, 245, 0.55); stroke-width: 0.9; fill: none; }
.network-figure .net-primary { stroke: var(--lime); stroke-width: 1.4; fill: none; filter: drop-shadow(0 0 3px rgba(215, 240, 120, 0.55)); }
.network-figure .node-primary { fill: var(--lime); }
.network-figure .node-secondary { fill: #f5f7f8; }
.network-figure .node-mini { fill: var(--sky-node); }
.network-figure .halo { fill: none; stroke-width: 1; opacity: 0.6; transform-box: fill-box; transform-origin: center; }
.network-figure .halo-primary { stroke: var(--lime); }
.network-figure .halo-mini { stroke: var(--sky-node); }
.network-figure .flow { stroke: var(--lime); stroke-width: 1.6; fill: none; stroke-dasharray: 4 18; animation: flow 3.2s linear infinite; opacity: 0.9; }
@keyframes flow { to { stroke-dashoffset: -88; } }
.network-figure .pulse { animation: pulse 3.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.8; } 80%, 100% { transform: scale(2.4); opacity: 0; } }
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  list-style: none;
  margin: var(--s-4) 0 0;
  padding: 0;
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.legend li { display: inline-flex; align-items: center; gap: 0.5rem; }
.legend .swatch { width: 1rem; height: 2px; background: var(--lime); }
.legend .swatch--secondary { background: rgba(235, 240, 245, 0.8); }
.legend .swatch--mini { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--sky-node); }
.figure-note { margin-top: var(--s-2); font-size: 0.75rem; color: var(--fg-muted); }

/* ---------- Dashboard preview ---------- */
.dashboard {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  margin-top: var(--s-6);
  margin-inline: calc(var(--gutter) * -0.5);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fbf8f3;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  color: var(--ink);
}
.dashboard__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 0;
  background: #0b0f10;
  color: rgba(255, 255, 255, 0.72);
}
.dashboard__rail span { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 0.55rem; }
.dashboard__rail span.is-active { background: rgba(255, 255, 255, 0.16); color: #fff; }
.dashboard__rail .icon { width: 1.05rem; height: 1.05rem; stroke-width: 1.6; }
.dashboard__rail hr { width: 1.25rem; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); margin: 0.2rem 0; }
.dashboard__main { display: grid; gap: 0.5rem; padding: 0.6rem; }
.dash-card { padding: 0.8rem 0.85rem; border-radius: 0.75rem; background: #fff; box-shadow: 0 1px 0 rgba(16, 20, 22, 0.04); }
.dash-card__label { display: block; font-size: 0.6875rem; font-weight: 500; color: #4c5357; }
.dash-card__value { display: block; margin-top: 0.15rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.dash-live { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: center; }
.dash-live .dash-card__value { font-size: 1.5rem; }
.dash-trend { display: inline-flex; align-items: center; gap: 0.2rem; margin-top: 0.3rem; font-size: 0.625rem; font-weight: 600; color: var(--leaf); }
.dash-trend .icon { width: 0.75rem; height: 0.75rem; stroke-width: 2.2; }
.dash-chart { width: 100%; height: 4.5rem; }
.dash-chart .area { fill: url(#dashFill); }
.dash-chart .line { fill: none; stroke: #4fa86a; stroke-width: 1.5; stroke-linejoin: round; }
.dash-chart .grid { stroke: rgba(16, 20, 22, 0.06); stroke-width: 1; }
.dash-row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.dash-row-3 .dash-card, .dash-row-2 .dash-card { padding: 0.7rem 0.7rem; }
.dash-row-3 .dash-card__value { font-size: 1rem; white-space: nowrap; }
.dash-row-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0.5rem; }
.dash-status { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.35rem; font-size: 0.6875rem; font-weight: 600; }
.dash-status i { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 3px rgba(47, 143, 78, 0.18); }

/* ---------- Contact ---------- */
.contact-hero { padding-bottom: var(--section-y); }
.contact-hero .h1 { max-width: 9ch; }
.contact-hero .lede { max-width: 21rem; }
.contact-hero .h1, .contact-hero .lede { text-shadow: 0 1px 14px rgba(5, 11, 16, 0.95), 0 0 3px rgba(5, 11, 16, 0.8); }
.two-col { display: grid; gap: var(--s-6); }
.contact-visual {
  position: absolute;
  top: calc(var(--header-h) * -0.35);
  right: calc(var(--gutter) * -1 - 2.5rem);
  width: min(74vw, 30rem);
  z-index: -1;
  pointer-events: none;
}
.contact-visual img {
  width: 100%;
  aspect-ratio: 154 / 151;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(70% 70% at 62% 45%, #000 50%, transparent 100%);
  mask-image: radial-gradient(70% 70% at 62% 45%, #000 50%, transparent 100%);
}
.form { margin-top: var(--s-6); display: grid; gap: 0.625rem; max-width: 36rem; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { padding: 0; }
.seg-radio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}
.seg-radio input { position: absolute; opacity: 0; pointer-events: none; }
.seg-radio label {
  display: grid;
  place-items: center;
  min-height: 2.6rem;
  padding: 0 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.seg-radio input:checked + label { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.seg-radio input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.field { position: relative; }
.field .icon {
  position: absolute;
  left: 0.95rem;
  top: 1.05rem;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--fg-muted);
  pointer-events: none;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  padding: 1.35rem 1rem 0.45rem 2.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.045);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field select { padding-right: 2.5rem; }
.field select option { color: var(--ink); background: #fff; }
.field .select-chev { position: absolute; right: 0.95rem; top: 1.05rem; left: auto; }
.field label {
  position: absolute;
  left: 2.6rem;
  top: 0.95rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select + label {
  transform: translateY(-0.6rem) scale(0.78);
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--line-strong); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--lime-soft); background: rgba(255, 255, 255, 0.07); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { box-shadow: 0 0 0 3px rgba(215, 240, 120, 0.25); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #ff8f80; }
.field-error { display: block; margin: 0.35rem 0 0.15rem 0.25rem; font-size: 0.8125rem; color: #ffb3a8; }
.field-error:empty { display: none; }
.form .btn { margin-top: 0.4rem; }
.form-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9063rem;
  line-height: 1.5;
}
.form-status[hidden] { display: none; }
.form-status .icon { width: 1.25rem; height: 1.25rem; margin-top: 0.1rem; }
.form-status--success { background: rgba(215, 240, 120, 0.12); border: 1px solid rgba(215, 240, 120, 0.4); }
.form-status--error { background: rgba(255, 143, 128, 0.1); border: 1px solid rgba(255, 143, 128, 0.4); }
.form-status--info { background: rgba(143, 211, 244, 0.1); border: 1px solid rgba(143, 211, 244, 0.38); }
.spin { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-privacy { font-size: 0.75rem; color: var(--fg-muted); }

.contact-quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  margin-top: var(--s-6);
  max-width: 36rem;
  list-style: none;
  padding: 0;
}
.contact-quick li + li { border-left: 1px solid var(--line); }
.contact-quick a, .contact-quick span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
}
.contact-quick .icon { width: 1.125rem; height: 1.125rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(4rem, 3rem + 4vw, 7rem);
}
.cta-band__media { position: absolute; inset: 0; z-index: -1; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, rgba(12, 14, 16, 0.6) 55%, rgba(12, 14, 16, 0.3) 100%); }
.cta-band .h2 { max-width: 18ch; }
.cta-band .lede { max-width: 30rem; }

/* ---------- Audience / partner list ---------- */
.audience { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.audience li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.25rem 0.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.audience .icon { width: 1.375rem; height: 1.375rem; stroke-width: 1.5; grid-row: span 2; margin-top: 0.1rem; }
.audience strong { font-weight: 600; }
.audience span { color: var(--fg-muted); font-size: 0.9375rem; grid-column: 2; }

.empty-state {
  display: grid;
  justify-items: start;
  gap: var(--s-3);
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}
.empty-state .icon { width: 1.75rem; height: 1.75rem; stroke-width: 1.4; }
.empty-state p { color: var(--fg-muted); max-width: 34rem; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(3.5rem, 2.5rem + 3vw, 5rem); padding-bottom: var(--s-6); }
.footer-grid { display: grid; gap: var(--s-7); }
.footer-brand .logo-mark { width: 4.5rem; height: 4.5rem; }
.footer-brand p { margin-top: var(--s-4); max-width: 22rem; color: var(--fg-muted); font-size: 0.9375rem; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); }
.footer-col h2 {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: var(--s-3);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.footer-col a { display: inline-flex; align-items: center; min-height: 2.25rem; text-decoration: none; font-size: 0.9375rem; }
.footer-col a:hover { color: var(--lime); }
.footer-related a { display: grid; grid-template-columns: 1fr auto; gap: 0.1rem 0.5rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); min-height: 0; }
.footer-related a:hover { border-color: var(--line-strong); color: inherit; }
.footer-related strong { font-weight: 600; }
.footer-related small { grid-column: 1; font-size: 0.8125rem; color: var(--fg-muted); }
.footer-related .icon { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 1.1rem; height: 1.1rem; color: var(--fg-muted); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Breakpoints ---------- */
@media (max-width: 23.4375em) { /* up to 375px */
  :root { --fs-hero: 2.125rem; --fs-h1: 2.0625rem; }
  .meter-visual { width: 36vw; right: calc(var(--gutter) * -1 - 0.75rem); }
  .segmented [role="tab"] { padding: 0 0.4rem; font-size: 0.75rem; white-space: nowrap; }
  .seg-radio label { font-size: 0.75rem; padding: 0 0.25rem; }
  .vend-stage { grid-template-columns: minmax(0, 1fr); }
  .phone { max-width: 14rem; justify-self: center; }
  .btn { gap: 1.25rem; white-space: normal; line-height: 1.25; max-width: 100%; }
}

@media (min-width: 30em) { /* 480px */
  .home-hero .lede { max-width: 24rem; }
  .meter-hero .lede { max-width: 19rem; }
}

@media (min-width: 48em) { /* 768px */
  :root { --header-h: 6.5rem; --logo: 4.875rem; }
  .card-grid { gap: 1rem; }
  .service-card { min-height: 12rem; padding: 1.5rem; }
  .service-card .h3 { font-size: 1.125rem; }
  .service-card .meta { font-size: 0.8125rem; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles li { padding: 0 1.5rem; }
  .principles .label { font-size: 0.9375rem; }
  .media-panel img { aspect-ratio: 3.2; }
  .detail { grid-template-columns: 4rem 1fr; padding: 2rem 0; }
  .detail .num { padding-top: 0.25rem; }
  .detail > div { display: grid; gap: 0.5rem; }
  .meter-visual { width: 18rem; right: 0; }
  .meter-hero .h1 { max-width: 10ch; }
  .meter-hero .lede { max-width: 24rem; }
  .vend-stage { grid-template-columns: 17rem minmax(0, 1fr); gap: 3rem; align-items: center; }
  .vend-features { gap: 1.75rem; font-size: 0.9375rem; }
  .vend-features li { font-size: 0.9375rem; }
  .network-figure { margin-inline: 0; }
  .network-figure figcaption { padding-inline: 0; }
  .dashboard { margin-inline: 0; }
  .dash-row-3 .dash-card__value { font-size: 1.125rem; }
  .dashboard { grid-template-columns: 4rem 1fr; }
  .dashboard__main { padding: 0.9rem; gap: 0.75rem; }
  .dash-card { padding: 1rem 1.1rem; }
  .dash-chart { height: 6rem; }
  .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); }
  .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contact-visual { width: 26rem; right: 0; }
}

@media (min-width: 64em) { /* 1024px */
  :root { --header-h: 6.75rem; --logo: 4.875rem; }
  .desktop-nav { display: block; }
  .desktop-nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
  .desktop-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.9063rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--fg);
    transition: background-color var(--t) var(--ease);
  }
  .desktop-nav a:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
  .desktop-nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 currentColor; border-radius: 0; }
  .header-cta { display: inline-flex; min-height: 2.75rem; padding: 0 1.25rem; gap: 0.75rem; }
  .header-cta .icon { width: 1.05rem; height: 1.05rem; }
  .menu-toggle { margin-right: -0.6rem; }

  .site-menu .menu-body { flex-direction: row; align-items: flex-end; }
  .site-menu .menu-list { columns: 2; column-gap: 4rem; width: min(40rem, 60%); }
  .site-menu .menu-list > li { break-inside: avoid; }
  .menu-link, .menu-disclosure { font-size: 1.5rem; min-height: 3.6rem; }
  .menu-promo { width: 24rem; min-height: 14rem; }

  .home-hero { background: linear-gradient(180deg, #edeef0 0%, #f6f1ec 18%, #faf3ea 48%, #f1e4da 64%, #b9b3b5 76%, #6e7a87 88%, #4b5967 100%); }
  .home-hero__media { left: auto; width: min(60%, 58rem); display: block; }
  .home-hero__media::before, .home-hero__media::after { content: none; }
  .home-hero__media img { height: 100%; aspect-ratio: auto; object-position: 100% 45%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%); mask-image: linear-gradient(90deg, transparent 0%, #000 28%); }
  .home-hero__content { padding-top: calc(var(--header-h) + 4rem); }
  .home-hero .display { max-width: 12ch; }
  .home-hero .lede { max-width: 28rem; }
  .metrics__list { max-width: 44rem; }
  .metrics__bars { max-width: 44rem; }
  .metrics__label { font-size: 0.8125rem; }

  .hero-grid--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 4rem; }
  .bleed-media--split { margin: 0; border-radius: var(--radius-lg); }
  .bleed-media--split img { aspect-ratio: 1.6; object-position: 30% 50%; }

  .card-grid--solutions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card-grid--solutions .span-2 { grid-column: span 4; }
  .feature-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .gen-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
  .gen-grid .media-panel { margin-top: 0; }
  .gen-grid .media-panel img { aspect-ratio: 1.6; }

  .meter-hero .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }
  .meter-visual { position: relative; top: auto; right: auto; width: 100%; max-width: 17rem; justify-self: center; }
  .meter-hero .h1 { max-width: 11ch; }

  .hero-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "copy visual" "cta visual"; grid-template-rows: auto 1fr; column-gap: 4.5rem; align-items: start; }
  .hero-split__visual { align-self: center; }
  .hero-split__visual.network-figure, .hero-split__visual .dashboard { margin-top: 0; }
  .vend-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4.5rem; align-items: center; }
  .vend-grid .vend-stage { margin-top: 0; }
  .contact-grid { align-items: start; }
  .contact-grid .form { margin-top: 0; }
  .contact-visual { width: 34rem; right: -8rem; top: -3rem; opacity: 0.6; }
  .contact-hero .field input, .contact-hero .field select, .contact-hero .field textarea { background: rgba(10, 16, 22, 0.78); }

  .footer-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr); }
  .cta-band .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
  .cta-band .btn-row { margin-top: 0; }
  .two-col { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 4rem; }
}

@media (min-width: 90em) { /* 1440px */
  .home-hero__media { width: min(56%, 60rem); }
}

@media (hover: none) {
  .service-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .network-figure .flow, .network-figure .pulse { animation: none; }
  .metrics__bars span:first-child::after { transform: scaleX(1); }
}

@media print {
  .site-header, .site-menu, .cta-band, .menu-toggle { display: none !important; }
  .page-hero, .home-hero { padding-top: 1rem; min-height: 0; }
  body { background: #fff; color: #000; }
}
.mt-7 { margin-top: var(--s-7); }
.mt-6 { margin-top: var(--s-6); }
.phone__sig { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 0.5rem; }
.phone__sig i { display: block; width: 2px; background: #fff; border-radius: 1px; }
.phone__sig i:nth-child(1) { height: 30%; }
.phone__sig i:nth-child(2) { height: 55%; }
.phone__sig i:nth-child(3) { height: 80%; }
.phone__sig i:nth-child(4) { height: 100%; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.contact-grid { position: relative; }
