/* ──────────────────────────────────────────────────────────────────────────
   Elitez Merchandising — main.css
   Palette: elitez-institutional (navy + orange + cream)
   Author: Agent 4 (Stitch / UI Composer)
   ────────────────────────────────────────────────────────────────────────── */

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  /* Surfaces & lines */
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --card: #FFFFFF;
  --card-hi: #F4F5F2;
  --border: #E5E7EB;
  --border2: #C9CFD8;
  --border3: #003A70;

  /* Ink */
  --text: #0B1E36;
  --muted: #4B5563;
  --muted2: #8A93A0;

  /* Brand */
  --accent: #003A70;   /* Elitez navy — primary */
  --accent2: #F26522;  /* Elitez orange — accent only */
  --accent-d: #00254A; /* Navy deep — hover state on dark surfaces */

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(11,30,54,0.06);
  --shadow-md: 0 4px 14px rgba(11,30,54,0.10);
  --shadow-lg: 0 18px 44px rgba(11,30,54,0.14);

  /* Type */
  --font-display: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --container-max: 1200px;
  --nav-height: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  /* ── Secondary tone palette ────────────────────────────────────────────
     Used to differentiate cards within a set (industries, stats, services).
     All within 6% lightness of the canvas — variation reads as texture,
     not as Vegas-strip colour. */
  --tone-beauty:    #F4F0E8;  /* pearl (LUXE counters)    */
  --tone-household: #EEF0F2;  /* warm fog (Unilever-grade) */
  --tone-fnb:       #E8EFF1;  /* cool teal pale (chiller) */
  --tone-pharma:    #F5F8FA;  /* clinical ice             */
  --tone-houseband: #E8EDF2;  /* navy pale (FairPrice)    */

  /* Secondary accent stops — rotated through stat-cells and service-lines */
  --accent-teal:     #0F4C5C;
  --accent-copper:   #B95C2E;
  --accent-steel:    #586378;
  --accent-midnight: #1A2540;

  /* Inverse-mode tokens for the dark Differentiators band */
  --dark-bg:      #0B1E36;   /* deep navy ink             */
  --dark-card:    #11253E;   /* card on dark              */
  --dark-card-hi: #16304E;
  --dark-border:  #1F3958;
  --dark-text:    #F4F5F2;
  --dark-muted:   #9CA8B8;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* In-page anchors land below the fixed site-header, not under it.
     +12px breathing room so the section eyebrow isn't flush with the nav. */
  scroll-padding-top: calc(var(--nav-height) + 12px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* OpenType polish: kerning + standard ligatures + contextual alternates */
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  font-optical-sizing: auto;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--accent); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent2); }

/* Heading defaults */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 600;
  margin: 0 0 var(--s-4);
  letter-spacing: -0.01em;
  line-height: 1.2;
  /* Display-grade OpenType: kerning, ligatures, contextual + discretionary
     alternates, lining proportional numerals (no oldstyle figs in headlines).
     text-wrap: balance keeps multi-line titles visually centered. */
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "dlig" 1;
  font-variant-numeric: lining-nums proportional-nums;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; letter-spacing: -0.022em; line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-family: var(--font-body); font-weight: 600; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; }
p { margin: 0 0 var(--s-4); color: var(--muted); }
p strong { color: var(--text); font-weight: 600; }

/* ── A11y ──────────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 999;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Layout primitives ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

/* Section vertical rhythm — tightened (was --s-7/8/9 = 48/64/96px).
   Each section gets ~33% less top+bottom air, which cuts ~300-500px of
   total scroll on long pages. */
section { padding: var(--s-6) 0; }
@media (min-width: 768px) { section { padding: var(--s-7) 0; } }
@media (min-width: 1024px) { section { padding: var(--s-8) 0; } }

main { padding-top: var(--nav-height); }

.section-intro {
  max-width: 760px;
  margin-bottom: var(--s-6);
}
.section-intro__eyebrow,
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--s-3);
  display: inline-block;
}
.section-intro__eyebrow::before,
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--accent2);
  vertical-align: middle;
  margin-right: var(--s-2);
  transform: translateY(-2px);
}
.section-intro__heading { margin-bottom: var(--s-4); }
.section-intro__body { color: var(--muted); max-width: 64ch; }

.section-divider { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  font-family: var(--font-body);
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent2);
  border-color: var(--accent2);
  color: #fff;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--border2);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--invert {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.btn--invert:hover { background: var(--accent2); color: #fff; border-color: var(--accent2); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.btn-link:hover { color: var(--accent2); border-bottom-color: var(--accent2); }
.btn-link .chev { transition: transform 0.15s ease; }
.btn-link:hover .chev { transform: translateX(3px); }

/* ── Header / Nav ─────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: rgba(250, 250, 248, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--text);
}
.brand-mark__logo {
  height: 36px;
  width: auto;
}
.brand-mark__wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1;
  border-left: 1px solid var(--border);
  padding-left: var(--s-3);
  display: none;
}
@media (min-width: 540px) { .brand-mark__wordmark { display: inline; } }

.primary-nav {
  display: none;
  gap: var(--s-6);
  align-items: center;
}
@media (min-width: 920px) {
  .primary-nav { display: flex; }
}
.primary-nav__link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.primary-nav__link:hover { color: var(--accent); }
.primary-nav__link[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent2);
}

.header-cta { display: none; }
@media (min-width: 920px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: var(--radius-sm);
  padding: 8px;
}
@media (min-width: 920px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--nav-height) 0 auto 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--s-5);
  display: none;
  z-index: 199;
  box-shadow: var(--shadow-md);
}
.mobile-nav.is-open { display: block; }
.mobile-nav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.mobile-nav__link {
  display: block;
  padding: var(--s-3) var(--s-4);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.mobile-nav__link[aria-current="page"] {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--card-hi);
}
.mobile-nav__cta { margin-top: var(--s-3); }

/* ── Hero (split) ─────────────────────────────────────────────────────── */
.hero {
  padding-top: var(--s-7);
  padding-bottom: var(--s-7);
}
@media (min-width: 1024px) {
  .hero { padding-top: var(--s-8); padding-bottom: var(--s-8); }
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 920px) {
  .hero__grid { grid-template-columns: 1.3fr 1fr; gap: var(--s-8); }
}
.hero__eyebrow { margin-bottom: var(--s-4); }
.hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-5);
}
.hero__subhead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: var(--s-5);
  max-width: 60ch;
  line-height: 1.55;
}
.hero__body {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: var(--s-6);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}
.hero__trust {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted2);
  border-top: 1px solid var(--border);
  padding-top: var(--s-4);
  max-width: 60ch;
}
.hero__supporting {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: var(--s-4);
}
.hero__visual {
  position: relative;
  background: var(--card-hi);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  overflow: hidden;
}
.hero__visual .shelf-svg { width: 100%; height: auto; }

/* Photo variant — no padding, image fills the rounded frame */
.hero__visual--photo { padding: 0; }
.hero__visual--photo > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* Generic page-hero photo (used on /clients, /about, /contact, /services, /emr-intel) */
.page-hero {
  position: relative;
  margin-bottom: var(--s-7);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.page-hero > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* Industry-card photo header (replaces the small SVG icon) */
.industry-card { padding: 0; overflow: hidden; }
.industry-card__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}
.industry-card__title,
.industry-card__body { padding-left: var(--s-5); padding-right: var(--s-5); }
.industry-card__title { padding-top: var(--s-4); }
.industry-card__body { padding-bottom: var(--s-5); padding-top: 0; }

/* Channel-strip — photo above the label/value (replaces the icon-only treatment) */
.channel-strip__item { padding: 0; overflow: hidden; }
.channel-strip__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s-4);
}
.channel-strip__item .channel-strip__label,
.channel-strip__item .channel-strip__value { padding-left: var(--s-4); padding-right: var(--s-4); }
.channel-strip__item .channel-strip__value { padding-bottom: var(--s-4); }

/* Reduced-motion safety */
@media (prefers-reduced-motion: reduce) {
  .industry-card__photo, .channel-strip__photo, .page-hero > img { transform: none !important; }
}

/* Planogram pattern background */
.planogram-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 58, 112, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 58, 112, 0.04) 1px, transparent 1px);
  background-size: 32px 48px;
  pointer-events: none;
}

/* ── Stat row ─────────────────────────────────────────────────────────── */
.stat-row {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-row__intro { max-width: 700px; margin-bottom: var(--s-6); }
.stat-row__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}
@media (min-width: 768px) {
  .stat-row__grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
}
.stat-cell {
  padding: var(--s-5) 0;
  border-top: 2px solid var(--accent);
}
.stat-cell__value {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--s-3);
  letter-spacing: -0.02em;
  /* tabular-nums keeps digits in vertical alignment across stat-cell rows */
  font-variant-numeric: tabular-nums lining-nums;
}
.stat-cell__label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s-2);
}
.stat-cell__note {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.stat-row__footnote {
  font-size: 0.78rem;
  color: var(--muted2);
  margin-top: var(--s-6);
  font-style: italic;
}

/* ── Feature grids ────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .feature-grid--5 { grid-template-columns: repeat(5, 1fr); }
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  color: inherit;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.feature-card__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}
.feature-card__body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.feature-card__link { margin-top: var(--s-2); }

/* ── Product band ─────────────────────────────────────────────────────── */
.product-band {
  background: var(--card-hi);
  position: relative;
  overflow: hidden;
}
.product-band__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 920px) {
  .product-band__grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-8); }
}
.product-band__features {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-5);
  margin-bottom: var(--s-5);
}
.product-band__feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--s-3) var(--s-4);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-4);
  align-items: baseline;
}
.product-band__feature-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.product-band__feature-value {
  font-size: 0.88rem;
  color: var(--muted);
}
.product-band__visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  position: relative;
  overflow: hidden;
}

/* ── Logo wall ────────────────────────────────────────────────────────── */
.logo-wall { background: var(--surface); }
.logo-wall__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
@media (min-width: 640px) { .logo-wall__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 920px) { .logo-wall__grid { grid-template-columns: repeat(5, 1fr); } }

.logo-mark {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--s-3) var(--s-4);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.logo-mark img {
  max-height: 40px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Convert to grey-tone by default; reveal full colour on hover.
     Same pattern Stripe / Vercel / Notion landing pages use. */
  filter: grayscale(1) contrast(0.9);
  opacity: 0.78;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.logo-mark:hover {
  border-color: var(--border2);
  background: var(--card-hi);
}
.logo-mark:hover img {
  filter: none;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .logo-mark, .logo-mark img { transition: none; }
}

/* Legacy text-chip — kept for any page still using <span class="logo-chip"> */
.logo-chip {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--s-5) var(--s-4);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: -0.01em;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.logo-chip:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--card-hi);
}

/* Grouped roster on /clients */
.roster-group { margin-bottom: var(--s-6); }
.roster-group__title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--border);
}
.roster-group__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 768px) { .roster-group__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .roster-group__list { grid-template-columns: repeat(3, 1fr); } }
.roster-client {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--s-4) var(--s-5);
}
.roster-client__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  margin: 0 0 var(--s-2);
}
.roster-client__note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Industries / Channels ─────────────────────────────────────────── */
.industry-cards {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .industry-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .industry-cards { grid-template-columns: repeat(5, 1fr); } }
.industry-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.industry-card__icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
}
.industry-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}
.industry-card__body {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.channel-strip {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) { .channel-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .channel-strip { grid-template-columns: repeat(4, 1fr); } }
.channel-strip__item {
  background: var(--card);
  border-left: 3px solid var(--accent);
  padding: var(--s-4) var(--s-5);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.channel-strip__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--s-2);
}
.channel-strip__value {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Badge row (accreditations) ──────────────────────────────────────── */
.badge-row {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .badge-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .badge-row { grid-template-columns: repeat(4, 1fr); } }
.accred-badge {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--accent2);
}
.accred-badge__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin: 0 0 var(--s-2);
}
.accred-badge__issuer {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0;
}

/* ── CTA band ─────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--accent2);
  border-top: 1px solid var(--accent2);
  border-bottom: 1px solid var(--accent2);
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* Subtle planogram texture on the orange closer band — gives it weight */
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2,
.cta-band .cta-band__heading,
.cta-band .cta-band__body { color: #fff; }
.cta-band .cta-band__body { color: rgba(255,255,255,0.92); }
.cta-band .eyebrow,
.cta-band .eyebrow::before { color: rgba(255,255,255,0.85); }
.cta-band .eyebrow::before { background: #fff; }
.cta-band .cta-band__heading::after { background: #fff; }
.cta-band .btn--primary {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.cta-band .btn--primary:hover,
.cta-band .btn--primary:focus-visible {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.cta-band .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.cta-band .btn--ghost:hover,
.cta-band .btn--ghost:focus-visible {
  background: #fff;
  color: var(--accent2);
  border-color: #fff;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: center;
}
@media (min-width: 920px) {
  .cta-band__inner { grid-template-columns: 1.4fr 1fr; }
}
.cta-band__heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: var(--s-3);
}
.cta-band__body { color: var(--muted); margin: 0; max-width: 56ch; }
.cta-band__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: flex-start;
}
@media (min-width: 920px) {
  .cta-band__ctas { justify-content: flex-end; }
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--accent);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--s-7) 0 var(--s-5);
  margin-top: var(--s-7);
}
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--accent2); }
.site-footer__columns {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
  margin-bottom: var(--s-7);
}
@media (min-width: 640px) { .site-footer__columns { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__columns { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.site-footer__brand .brand-mark__logo { height: 40px; filter: brightness(0) invert(1); opacity: 0.95; }
.site-footer__brand .brand-mark__wordmark { color: #fff; border-color: rgba(255,255,255,0.2); display: inline; }
.site-footer__tagline {
  margin-top: var(--s-4);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 32ch;
}
.site-footer__col-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 var(--s-4);
  font-weight: 600;
}
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.site-footer__list a { font-size: 0.9rem; text-decoration: none; }
.site-footer__list a:hover { text-decoration: underline; }
.site-footer__contact-line {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--s-2);
}
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--s-4);
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 768px) {
  .site-footer__bottom { grid-template-columns: 1fr auto; }
}
.site-footer__rights {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}
.site-footer__attribution {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
.site-footer__attribution a { font-weight: 600; }

/* ── Reduced motion ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .feature-card:hover,
  .btn:hover { transform: none; }
}


/* ════════════════════════════════════════════════════════════════════════
   CARD VARIATION + AESTHETIC ACCENTS (v2 polish)
   Adds tonal differentiation across card sets and decorative geometry
   without breaking the Singapore-government B2B register.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Hairline rule under H2 headings (the "Apple keynote" accent) ──────── */
.section-intro__heading::after,
.cta-band__heading::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent2);
  margin-top: var(--s-3);
}

/* Subtle planogram-grid texture re-used on selected sections */
.section-textured {
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px;
  background-position: center center;
  background-color: var(--bg);
}
.section-textured > .container { position: relative; z-index: 1; }

/* ── Service-line feature cards (home #service-lines) ──────────────────
   Each card gets:
   • a top accent stripe rotating through the secondary palette
   • a big mono index numeral (01-05)
   • a tinted background corresponding to the accent family
   • a hover lift with a stronger shadow                                  */
.feature-grid--5 > .feature-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-md);
  padding-top: calc(var(--s-5) + 6px);  /* room for the top stripe */
  overflow: hidden;
}
.feature-grid--5 > .feature-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent);
}
.feature-grid--5 > .feature-card::after {
  content: counter(featurecard-counter, decimal-leading-zero);
  counter-increment: featurecard-counter;
  position: absolute;
  top: var(--s-3);
  right: var(--s-4);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted2);
  font-weight: 600;
}
.feature-grid--5 { counter-reset: featurecard-counter; }

.feature-grid--5 > .feature-card:nth-child(1) { background: var(--card); }
.feature-grid--5 > .feature-card:nth-child(1)::before { background: var(--accent); }

.feature-grid--5 > .feature-card:nth-child(2) { background: linear-gradient(to bottom, var(--tone-fnb) 0%, var(--card) 100%); }
.feature-grid--5 > .feature-card:nth-child(2)::before { background: var(--accent-teal); }

.feature-grid--5 > .feature-card:nth-child(3) { background: linear-gradient(to bottom, var(--tone-beauty) 0%, var(--card) 100%); }
.feature-grid--5 > .feature-card:nth-child(3)::before { background: var(--accent2); }

.feature-grid--5 > .feature-card:nth-child(4) { background: linear-gradient(to bottom, var(--tone-household) 0%, var(--card) 100%); }
.feature-grid--5 > .feature-card:nth-child(4)::before { background: var(--accent-steel); }

.feature-grid--5 > .feature-card:nth-child(5) { background: linear-gradient(to bottom, var(--tone-houseband) 0%, var(--card) 100%); }
.feature-grid--5 > .feature-card:nth-child(5)::before { background: var(--accent-midnight); }

/* ── Industry cards — per-category background tint on the COPY area ──── */
.industry-card { background: var(--card); }
.industry-card:nth-child(1) .industry-card__title,
.industry-card:nth-child(1) .industry-card__body { background: var(--tone-beauty); }
.industry-card:nth-child(2) .industry-card__title,
.industry-card:nth-child(2) .industry-card__body { background: var(--tone-household); }
.industry-card:nth-child(3) .industry-card__title,
.industry-card:nth-child(3) .industry-card__body { background: var(--tone-fnb); }
.industry-card:nth-child(4) .industry-card__title,
.industry-card:nth-child(4) .industry-card__body { background: var(--tone-pharma); }
.industry-card:nth-child(5) .industry-card__title,
.industry-card:nth-child(5) .industry-card__body { background: var(--tone-houseband); }
.industry-card { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.industry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Category mono-eyebrow injected via ::before on title — reads as a code */
.industry-card__title::before {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: var(--s-2);
  font-weight: 600;
  text-transform: uppercase;
}
.industry-card:nth-child(1) .industry-card__title::before { content: 'IND-01 · BEAUTY'; }
.industry-card:nth-child(2) .industry-card__title::before { content: 'IND-02 · HOUSEHOLD'; }
.industry-card:nth-child(3) .industry-card__title::before { content: 'IND-03 · F&B'; }
.industry-card:nth-child(4) .industry-card__title::before { content: 'IND-04 · PHARMA'; }
.industry-card:nth-child(5) .industry-card__title::before { content: 'IND-05 · HOUSE BRAND'; }

/* ── Channel-strip — rotating bottom-border accent + mono code ────────── */
.channel-strip__item { background: var(--card); position: relative; }
.channel-strip__item::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--accent);
}
.channel-strip__item:nth-child(1)::after { background: var(--accent); }
.channel-strip__item:nth-child(2)::after { background: var(--accent-teal); }
.channel-strip__item:nth-child(3)::after { background: var(--accent2); }
.channel-strip__item:nth-child(4)::after { background: var(--accent-steel); }

.channel-strip__label::before {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: var(--s-1);
  font-weight: 600;
  text-transform: uppercase;
}
.channel-strip__item:nth-child(1) .channel-strip__label::before { content: 'CH-01'; }
.channel-strip__item:nth-child(2) .channel-strip__label::before { content: 'CH-02'; }
.channel-strip__item:nth-child(3) .channel-strip__label::before { content: 'CH-03'; }
.channel-strip__item:nth-child(4) .channel-strip__label::before { content: 'CH-04'; }

/* ── Stat-row cells — rotating accent colour per cell ─────────────────── */
.stat-cell:nth-child(1) { border-top-color: var(--accent); }
.stat-cell:nth-child(1) .stat-cell__value { color: var(--accent); }
.stat-cell:nth-child(2) { border-top-color: var(--accent2); }
.stat-cell:nth-child(2) .stat-cell__value { color: var(--accent2); }
.stat-cell:nth-child(3) { border-top-color: var(--accent-teal); }
.stat-cell:nth-child(3) .stat-cell__value { color: var(--accent-teal); }
.stat-cell:nth-child(4) { border-top-color: var(--accent-copper); }
.stat-cell:nth-child(4) .stat-cell__value { color: var(--accent-copper); }

/* Mono prefix above each stat value */
.stat-cell { position: relative; }
.stat-cell::before {
  content: '';
  position: absolute;
  top: var(--s-2);
  right: 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--muted2);
}
.stat-cell:nth-child(1)::before { content: 'M-01'; }
.stat-cell:nth-child(2)::before { content: 'M-02'; }
.stat-cell:nth-child(3)::before { content: 'M-03'; }
.stat-cell:nth-child(4)::before { content: 'M-04'; }

/* ── Differentiators section — DARK NAVY variant (high contrast) ─────── */
section.section--dark {
  background: var(--dark-bg);
  color: var(--dark-text);
  position: relative;
  overflow: hidden;
}
section.section--dark::before {
  /* subtle planogram texture as dark overlay */
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  pointer-events: none;
}
section.section--dark > .container { position: relative; z-index: 1; }
section.section--dark h2,
section.section--dark h3 { color: var(--dark-text); }
section.section--dark p { color: var(--dark-muted); }
section.section--dark .section-intro__eyebrow { color: var(--accent2); }
section.section--dark .section-intro__eyebrow::before { background: var(--accent2); }
section.section--dark .section-intro__heading::after { background: var(--accent2); }

/* KPI-style feature card on dark band */
section.section--dark .feature-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  position: relative;
  padding-left: var(--s-6);
}
section.section--dark .feature-card:hover {
  background: var(--dark-card-hi);
  border-color: var(--accent2);
  transform: translateY(-3px);
}
section.section--dark .feature-card::before {
  /* big mono numeral down the left edge */
  counter-increment: dark-feature;
  content: counter(dark-feature, decimal-leading-zero);
  position: absolute;
  top: var(--s-4);
  left: var(--s-5);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--accent2);
  font-weight: 600;
}
section.section--dark .feature-grid { counter-reset: dark-feature; }
section.section--dark .feature-card__label { color: var(--accent2); }
section.section--dark .feature-card__title { color: var(--dark-text); }
section.section--dark .feature-card__body { color: var(--dark-muted); }

/* ── Accreditation badges — rotating left-accent colours + group tags ── */
.accred-badge { position: relative; padding-left: calc(var(--s-5) + 4px); border-radius: var(--radius-sm); }
.accred-badge::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent2);
}
.accred-badge:nth-child(7n+1)::before { background: var(--accent); }
.accred-badge:nth-child(7n+2)::before { background: var(--accent-teal); }
.accred-badge:nth-child(7n+3)::before { background: var(--accent2); }
.accred-badge:nth-child(7n+4)::before { background: var(--accent-midnight); }
.accred-badge:nth-child(7n+5)::before { background: var(--accent-steel); }
.accred-badge:nth-child(7n+6)::before { background: var(--accent-copper); }
.accred-badge:nth-child(7n+0)::before { background: var(--accent-teal); }

/* ── Roster-client cards (clients page) — left-accent + subtle tint ─── */
.roster-client {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: var(--s-4) var(--s-5);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.roster-client:hover { border-left-color: var(--accent2); background: var(--card-hi); }
.roster-group:nth-of-type(1) .roster-client { border-left-color: var(--accent2); }      /* Beauty */
.roster-group:nth-of-type(2) .roster-client { border-left-color: var(--accent-steel); }  /* Household */
.roster-group:nth-of-type(3) .roster-client { border-left-color: var(--accent-teal); }   /* F&B */
.roster-group:nth-of-type(4) .roster-client { border-left-color: var(--accent-copper); } /* Pharma */
.roster-group:nth-of-type(5) .roster-client { border-left-color: var(--accent-midnight); } /* House brand */

/* ── Corner-bracket aesthetic — applied to hero visual frame ───────── */
.hero__visual--photo {
  position: relative;
}
.hero__visual--photo::before,
.hero__visual--photo::after,
.page-hero::before,
.page-hero::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent2);
  z-index: 2;
  pointer-events: none;
}
.hero__visual--photo::before,
.page-hero::before {
  top: -2px; left: -2px;
  border-right: 0; border-bottom: 0;
  border-top-left-radius: var(--radius-lg);
}
.hero__visual--photo::after,
.page-hero::after {
  bottom: -2px; right: -2px;
  border-left: 0; border-top: 0;
  border-bottom-right-radius: var(--radius-lg);
}

/* ── Section-rhythm overrides — alternating tone ──────────────────────── */
#service-lines { background: var(--card-hi); }
#industries { background: var(--bg); }
#accreditations { background: var(--card-hi); }


/* ════════════════════════════════════════════════════════════════════════
   PUSH-FURTHER PASS (v3)
   • Orange-section utilities (cta-band is already converted above)
   • Asymmetric industry grid (Beauty card spans 2 cols)
   • Telemetry strip (mega mono KPI numerals)
   • Two-up photo detail strip (uses the unused detail/culture photos)
   • Extended corner-bracket coverage
   ════════════════════════════════════════════════════════════════════════ */

/* ── Section utilities ──────────────────────────────────────────────── */
section.section--orange {
  background: var(--accent2);
  color: #fff;
  position: relative;
  overflow: hidden;
}
section.section--orange::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  pointer-events: none;
}
section.section--orange > .container { position: relative; z-index: 1; }
section.section--orange h2,
section.section--orange h3 { color: #fff; }
section.section--orange p { color: rgba(255,255,255,0.92); }
section.section--orange .section-intro__eyebrow { color: rgba(255,255,255,0.85); }
section.section--orange .section-intro__eyebrow::before { background: #fff; }
section.section--orange .section-intro__heading::after { background: #fff; }

/* Soft orange-tinted alternative (cream + 3% orange wash) for lower-stakes
   accent bands. Useful when full orange would be too loud. */
section.section--accent2-soft {
  background: linear-gradient(180deg, #FBEEE5 0%, #FFFBF7 100%);
  border-top: 1px solid rgba(242,101,34,0.18);
  border-bottom: 1px solid rgba(242,101,34,0.18);
}

/* ── Asymmetric industry grid ───────────────────────────────────────────
   At ≥1024px the 5-up grid becomes a 3-col grid where the Beauty card
   spans 2 columns (8/12 cols visually). Creates a focal point and breaks
   the perfect-row monotony. */
@media (min-width: 1024px) {
  .industry-cards {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  }
  .industry-cards .industry-card:nth-child(1) {
    grid-column: span 2;
  }
  /* Re-rebalance so we have 4 columns of: [2-span Beauty][Household][F&B][Pharma]
     then [HouseBrand] starts a second row taking 1 col, but visually this works as
     2 / 1 / 1 / 1  on row 1 and 1 / —— on row 2. Reshape to 4-col layout: */
  .industry-cards { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .industry-cards .industry-card:nth-child(5) { grid-column: span 2; }
}

/* ── Asymmetric service grid (home page) ────────────────────────────────
   At ≥1024px the 5-up service-line grid breaks into a 4-col layout where:
   • Card 1 (Dedicated) spans 2 cols — the lead offer
   • Card 4 (Audit) spans 2 cols — second-row balance
   • Card 5 (EMR-Intel) spans 2 cols — the platform as moat
   Reads as: [Ded ── ──][Sha][Tra] / [Aud ── ──][EMR ── ──]
   Mirrors the asymmetric trick used on .industry-cards. */
@media (min-width: 1024px) {
  .feature-grid--5 { grid-template-columns: repeat(4, 1fr); }
  .feature-grid--5 > .feature-card:nth-child(1) { grid-column: span 2; }
  .feature-grid--5 > .feature-card:nth-child(4) { grid-column: span 2; }
  .feature-grid--5 > .feature-card:nth-child(5) { grid-column: span 2; }
}

/* ── Telemetry strip (mega mono KPI numerals) ────────────────────────── */
.telemetry-strip {
  background: var(--dark-bg);
  color: var(--dark-text);
  position: relative;
  overflow: hidden;
}
.telemetry-strip::before {
  /* steel-teal scan-line overlay to reinforce the ops-room register */
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(15,76,92,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,76,92,0.08) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  pointer-events: none;
}
.telemetry-strip > .container { position: relative; z-index: 1; }
.telemetry-strip h2 { color: var(--dark-text); }
.telemetry-strip p { color: var(--dark-muted); }
.telemetry-strip .section-intro__eyebrow { color: var(--accent2); }
.telemetry-strip .section-intro__eyebrow::before { background: var(--accent2); }
.telemetry-strip .section-intro__heading::after { background: var(--accent2); }

.telemetry-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(2, 1fr);
  margin-top: var(--s-5);
}
@media (min-width: 768px) { .telemetry-grid { grid-template-columns: repeat(4, 1fr); } }

.telemetry-cell {
  border-top: 2px solid var(--accent2);
  padding-top: var(--s-4);
  position: relative;
}
.telemetry-cell__code {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--dark-muted);
  text-transform: uppercase;
  margin-bottom: var(--s-2);
}
.telemetry-cell__value {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 5.4vw, 3.8rem);
  font-weight: 600;
  color: var(--dark-text);
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  margin-bottom: var(--s-3);
  letter-spacing: -0.02em;
}
.telemetry-cell:nth-child(4n+1) .telemetry-cell__value { color: var(--accent2); }
.telemetry-cell:nth-child(4n+2) .telemetry-cell__value { color: #66B2C2; }    /* lighter teal for dark bg */
.telemetry-cell:nth-child(4n+3) .telemetry-cell__value { color: #F4F5F2; }
.telemetry-cell:nth-child(4n+0) .telemetry-cell__value { color: #E89878; }   /* lighter copper */
.telemetry-cell__label {
  font-size: 0.85rem;
  color: var(--dark-text);
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}
.telemetry-cell__note {
  display: block;
  font-size: 0.78rem;
  color: var(--dark-muted);
  margin-top: var(--s-2);
  line-height: 1.45;
}

/* ── Two-up detail strip ───────────────────────────────────────────────
   Mid-page band that pairs two operational-detail photos with a quote-
   sized headline between them. Used on /about and /emr-intel. */
.detail-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 768px) {
  .detail-pair { grid-template-columns: 1fr auto 1fr; gap: var(--s-7); align-items: center; }
}
.detail-pair__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.detail-pair__mid {
  text-align: center;
  padding: var(--s-5) 0;
}
.detail-pair__mid-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--accent2);
  text-transform: uppercase;
  margin-bottom: var(--s-3);
  display: block;
  font-weight: 600;
}
.detail-pair__mid-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.4;
  color: var(--text);
  margin: 0;
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}

/* ── Extended corner-bracket coverage ────────────────────────────────── */
.service-detail__photo,
.tab-strip__photo,
.detail-pair__photo {
  position: relative;
}
.service-detail,
.tab-strip__panel,
.detail-pair {
  /* Apply brackets via wrappers so they sit relative to the photo frames */
}
