/**
 * Homepage-only visuals: mesh backgrounds, section bands, catalog thumbs support,
 * case study media, resources accents. Loaded from index.php only.
 */

:root {
  color-scheme: light only;
}

/* ----- Hero: ambient SVG mesh ----- */
.hero.hero--home::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../media/bcom-hero-mesh.svg");
  background-repeat: no-repeat;
  background-position: 85% 20%;
  background-size: min(120%, 1400px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.hero.hero--home .hero-container {
  z-index: 2;
}

/* ----- About strip (below hero): same visual language as hero — radials, grid, mesh ----- */
.about-strip {
  position: relative;
  overflow: hidden;
}

/* Hero-parity: soft engineering grid (matches .hero.hero--home::before) */
.about-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(rgba(11, 107, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 107, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 82% 72% at 50% 42%, black 16%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 82% 72% at 50% 42%, black 16%, transparent 76%);
  opacity: 0.72;
}

@media (max-width: 767px) {
  .about-strip::before {
    opacity: 0.58;
    mask-image: radial-gradient(ellipse 88% 78% at 50% 38%, black 12%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 88% 78% at 50% 38%, black 12%, transparent 80%);
  }
}

/* Layered backdrop: hero-matching blue glows + diagonal studio wash + base gradient */
.about-strip__bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  isolation: isolate;
  background:
    radial-gradient(ellipse 100% 85% at 92% 8%, rgba(86, 182, 249, 0.2), transparent 52%),
    radial-gradient(ellipse 65% 45% at 8% 88%, rgba(11, 107, 255, 0.09), transparent 50%),
    linear-gradient(
      118deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(227, 239, 255, 0.52) 42%,
      rgba(255, 255, 255, 0) 85%
    ),
    radial-gradient(ellipse 110% 65% at 50% -18%, rgba(11, 107, 255, 0.12), transparent 58%),
    radial-gradient(ellipse 55% 48% at 100% 85%, rgba(86, 182, 249, 0.08), transparent 58%),
    radial-gradient(ellipse 48% 42% at 0% 72%, rgba(9, 75, 184, 0.06), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 36%, #eef3fb 68%, #ffffff 100%);
}

.about-strip__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.48;
  background-image: url("../media/bcom-grid-dots.svg");
  background-size: 440px 440px;
  background-repeat: repeat;
  mix-blend-mode: multiply;
}

/* Same mesh asset as hero ::after — stronger than before; mask keeps lower third readable */
.about-strip__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../media/bcom-hero-mesh.svg") no-repeat 82% 6% / min(96%, 960px);
  opacity: 0.48;
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.97) 0%,
    rgba(0, 0, 0, 0.62) 35%,
    rgba(0, 0, 0, 0.38) 58%,
    rgba(0, 0, 0, 0.14) 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.97) 0%,
    rgba(0, 0, 0, 0.62) 35%,
    rgba(0, 0, 0, 0.38) 58%,
    rgba(0, 0, 0, 0.14) 100%
  );
}

@media (max-width: 767px) {
  .about-strip__bg::after {
    background-position: 50% 0%;
    background-size: min(142%, 760px);
    opacity: 0.34;
  }
}

@media (prefers-contrast: more) {
  .about-strip::before {
    opacity: 0.38;
  }

  .about-strip__bg::before {
    opacity: 0.26;
  }

  .about-strip__bg::after {
    opacity: 0.22;
  }
}

.about-strip__container {
  position: relative;
  z-index: 2;
  max-width: 1120px;
}

.about-strip__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.75rem;
}

.about-strip__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-2, #094bb8);
  margin: 0 0 0.75rem;
}

.about-strip__title {
  font-family: var(--font-display, "DM Sans", system-ui, sans-serif);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text, #0f172a);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.about-strip__lead {
  font-size: clamp(1.02rem, 1.35vw, 1.12rem);
  line-height: 1.7;
  color: var(--muted, #475569);
  margin: 0;
}

.about-strip__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .about-strip__pillars {
    grid-template-columns: 1fr 1.15fr;
    gap: 1.5rem;
    align-items: stretch;
  }
}

.about-pillar {
  border-radius: 18px;
  padding: 1.5rem 1.6rem 1.65rem;
  text-align: left;
  box-shadow: 0 4px 24px rgba(9, 75, 184, 0.08);
  border: 1px solid rgba(9, 75, 184, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.about-pillar:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(9, 75, 184, 0.12);
}

.about-pillar--mission {
  background: linear-gradient(165deg, #ffffff 0%, #f1f6fd 100%);
  border-top: 3px solid var(--primary, #0b6bff);
}

.about-pillar--vision {
  background: linear-gradient(155deg, #0a2540 0%, #0d3358 55%, #123a6b 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e8f0fe;
}

.about-pillar__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.about-pillar__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.about-pillar__icon--emoji {
  font-size: 1.45rem;
  line-height: 1;
}

.about-pillar--mission .about-pillar__icon {
  background: rgba(11, 107, 255, 0.12);
  color: var(--primary, #0b6bff);
}

.about-pillar--vision .about-pillar__icon {
  background: rgba(255, 255, 255, 0.12);
  color: #93c5fd;
}

.about-pillar__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  opacity: 0.95;
}

.about-pillar--vision .about-pillar__label {
  color: rgba(255, 255, 255, 0.92);
}

.about-pillar__quote {
  margin: 0 0 0.85rem;
  padding: 0;
  border: none;
}

.about-pillar__quote p {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text, #0f172a);
}

.about-pillar--vision .about-pillar__quote p {
  color: #f8fafc;
  font-weight: 500;
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.65;
}

.about-pillar__quote--long p {
  font-style: normal;
}

.about-pillar__hint {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted, #64748b);
}

.about-pillar--vision .about-pillar__hint {
  color: rgba(226, 232, 240, 0.78);
}

/* About metrics: enterprise stat grid (trust-strip: icon + figure + label, calm motion) */
.about-strip__metrics.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.8vw, 1.15rem);
  width: 100%;
  max-width: min(1120px, 100%);
  margin-inline: auto;
  padding: 0.5rem 0 0;
}

.about-stat-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.25rem) clamp(0.85rem, 1.6vw, 1.1rem);
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.about-stat-tile:hover {
  border-color: rgba(11, 107, 255, 0.22);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 12px 32px rgba(9, 75, 184, 0.1);
  transform: translateY(-2px);
}

.about-stat-tile:focus-within {
  outline: 2px solid rgba(11, 107, 255, 0.35);
  outline-offset: 2px;
}

.about-stat-tile__icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(11, 107, 255, 0.09);
  color: #094bb8;
  font-size: 1.05rem;
}

/* Unicode Emoji (UC15.x): full-color via OS emoji fonts — avoid tinting glyphs */
.about-stat-tile__icon-wrap--emoji {
  background: rgba(15, 23, 42, 0.05);
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
  font-family:
    "Segoe UI Emoji",
    "Apple Color Emoji",
    "Noto Color Emoji",
    "Twemoji Mozilla",
    emoji,
    sans-serif;
}

.about-stat-tile__emoji {
  display: block;
  font-style: normal;
}

/* 3s “run” phase of 7s loop: highlight cycle tiles; pulse static % value */
.about-stats-grid--metric-cycle-run [data-metric-cycle] {
  border-color: rgba(11, 107, 255, 0.25);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 10px 28px rgba(9, 75, 184, 0.12);
}

@media (prefers-reduced-motion: no-preference) {
  .about-stats-grid--metric-cycle-run [data-metric-cycle] .about-stat-tile__value--text {
    animation: aboutMetricTextCycle 3s ease-in-out;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-stats-grid--metric-cycle-run [data-metric-cycle] .about-stat-tile__value--text {
    animation: none !important;
  }
}

@keyframes aboutMetricTextCycle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  40%,
  60% {
    opacity: 0.9;
    transform: scale(1.045);
  }
}

.about-stat-tile__body {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
  width: 100%;
}

.about-stat-tile__value {
  font-family: var(--shell-display, "DM Sans", system-ui, sans-serif);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #0f172a;
}

.about-stat-tile__value--text {
  letter-spacing: -0.02em;
}

.about-stat-tile__label {
  font-size: clamp(0.72rem, 1.25vw, 0.82rem);
  font-weight: 600;
  line-height: 1.35;
  color: #475569;
  max-width: 18ch;
}

@media (max-width: 1099px) {
  .about-strip__metrics.about-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .about-strip__metrics.about-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .about-stat-tile {
    padding: 0.85rem 0.7rem;
  }

  .about-stat-tile__icon-wrap {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .about-stat-tile__icon-wrap--emoji {
    font-size: 1.22rem;
  }

  .about-stat-tile__label {
    max-width: none;
  }
}

@media (max-width: 379px) {
  .about-strip__metrics.about-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .about-strip__metrics--active.about-stats-grid .about-stat-tile {
    animation: aboutStatTileIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  .about-strip__metrics--active.about-stats-grid .about-stat-tile:nth-child(1) {
    animation-delay: 0ms;
  }

  .about-strip__metrics--active.about-stats-grid .about-stat-tile:nth-child(2) {
    animation-delay: 55ms;
  }

  .about-strip__metrics--active.about-stats-grid .about-stat-tile:nth-child(3) {
    animation-delay: 110ms;
  }

  .about-strip__metrics--active.about-stats-grid .about-stat-tile:nth-child(4) {
    animation-delay: 165ms;
  }

  .about-strip__metrics--active.about-stats-grid .about-stat-tile:nth-child(5) {
    animation-delay: 220ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-strip__metrics--active.about-stats-grid .about-stat-tile {
    animation: none !important;
  }
}

@keyframes aboutStatTileIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about--home.about-strip {
  padding-top: 4.5rem;
  padding-bottom: 5.5rem;
}

/* ----- Offerings scope band (editorial rows; replaces legacy catalog grids) ----- */
#bcom-offerings-scope.nv-scope-hub {
  scroll-margin-top: calc(70px + env(safe-area-inset-top, 0px));
  background: #ffffff;
}

.nv-scope-hub__intro {
  padding: clamp(2.75rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% -20%, rgba(11, 107, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(9, 75, 184, 0.08);
}

.nv-scope-hub__intro-inner {
  max-width: 52rem;
  margin-inline: auto;
}

.nv-scope-hub__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary, #094bb8);
}

.nv-scope-hub__title {
  margin: 0 0 0.85rem;
  font-family: var(--shell-display, "DM Sans", system-ui, sans-serif);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0f172a;
}

.nv-scope-hub__lead {
  margin: 0;
  font-size: clamp(0.92rem, 1.35vw, 1.05rem);
  line-height: 1.65;
  color: #475569;
}

.nv-scope-row {
  padding: clamp(2.5rem, 5.5vw, 4.25rem) 0;
}

.nv-scope-row__inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

@media (min-width: 900px) {
  .nv-scope-row__inner {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .nv-scope-row--reverse .nv-scope-row__inner {
    direction: rtl;
  }

  .nv-scope-row--reverse .nv-scope-row__inner > * {
    direction: ltr;
  }
}

/* Ambient rows: hero-adjacent lighting (light mesh / grid / waves — not the dark slate band) */
.nv-scope-row--ambient-cyber,
.nv-scope-row--ambient-wifi,
.nv-scope-row--ambient-ai,
.nv-scope-row--ambient-strategy {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.nv-scope-row--ambient-cyber {
  border-top: 1px solid rgba(9, 75, 184, 0.07);
  background:
    radial-gradient(ellipse 78% 58% at 14% 32%, rgba(59, 130, 246, 0.13), transparent 58%),
    radial-gradient(ellipse 52% 44% at 94% 76%, rgba(148, 163, 184, 0.1), transparent 56%),
    linear-gradient(132deg, #f4f7fb 0%, #eef3fa 46%, #fafcfe 100%);
}

.nv-scope-row--ambient-cyber::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(11, 107, 255, 0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 107, 255, 0.042) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 74% at 58% 48%, black 18%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 74% at 58% 48%, black 18%, transparent 78%);
  opacity: 0.68;
}

.nv-scope-row--ambient-cyber::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../media/bcom-hero-mesh.svg") no-repeat 4% 42% / min(78%, 1020px);
  opacity: 0.36;
  mask-image: linear-gradient(118deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 52%, transparent 88%);
  -webkit-mask-image: linear-gradient(118deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 52%, transparent 88%);
}

.nv-scope-row--ambient-wifi {
  border-top: 1px solid rgba(9, 75, 184, 0.06);
  background:
    radial-gradient(ellipse 72% 52% at 86% 18%, rgba(86, 182, 249, 0.16), transparent 54%),
    radial-gradient(ellipse 48% 42% at 8% 82%, rgba(11, 107, 255, 0.08), transparent 58%),
    linear-gradient(148deg, #fbfcfe 0%, #f0f5fc 40%, #f8fafc 100%);
}

.nv-scope-row--ambient-wifi::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
  background: linear-gradient(
    122deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(227, 239, 255, 0.58) 44%,
    rgba(255, 255, 255, 0) 88%
  );
}

.nv-scope-row--ambient-wifi::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    url("../media/bcom-wave-soft.svg") no-repeat center bottom / 100% auto,
    radial-gradient(ellipse 55% 40% at 72% 28%, rgba(59, 130, 246, 0.09), transparent 62%);
  opacity: 0.42;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.95) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.95) 100%);
}

.nv-scope-row--ambient-ai {
  border-top: 1px solid rgba(91, 33, 182, 0.07);
  background:
    radial-gradient(ellipse 74% 54% at 82% 24%, rgba(167, 139, 250, 0.14), transparent 54%),
    radial-gradient(ellipse 46% 38% at 12% 78%, rgba(34, 211, 238, 0.09), transparent 58%),
    linear-gradient(142deg, #faf5ff 0%, #f5f3ff 44%, #fafcfe 100%);
}

.nv-scope-row--ambient-ai::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.62;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(237, 233, 254, 0.65) 46%,
    rgba(255, 255, 255, 0) 88%
  );
}

.nv-scope-row--ambient-ai::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    url("../media/bcom-hero-mesh.svg") no-repeat 96% 38% / min(72%, 920px),
    radial-gradient(ellipse 52% 42% at 28% 32%, rgba(124, 58, 237, 0.08), transparent 62%);
  opacity: 0.38;
  mask-image: linear-gradient(200deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.92) 100%);
  -webkit-mask-image: linear-gradient(200deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.92) 100%);
}

.nv-scope-row--ambient-strategy {
  border-top: 1px solid rgba(180, 83, 9, 0.09);
  background:
    radial-gradient(ellipse 68% 48% at 22% 28%, rgba(251, 191, 36, 0.12), transparent 56%),
    radial-gradient(ellipse 50% 42% at 88% 72%, rgba(71, 85, 105, 0.08), transparent 58%),
    linear-gradient(138deg, #fffbeb 0%, #fafaf9 46%, #fafcfe 100%);
}

.nv-scope-row--ambient-strategy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.58;
  background: linear-gradient(
    124deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(254, 243, 199, 0.55) 48%,
    rgba(255, 255, 255, 0) 90%
  );
}

.nv-scope-row--ambient-strategy::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    url("../media/bcom-wave-soft.svg") no-repeat 18% 88% / 88% auto,
    radial-gradient(ellipse 58% 44% at 76% 22%, rgba(245, 158, 11, 0.07), transparent 60%);
  opacity: 0.4;
  mask-image: linear-gradient(165deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.9) 100%);
  -webkit-mask-image: linear-gradient(165deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.nv-scope-row--ambient-cyber .nv-scope-row__inner,
.nv-scope-row--ambient-wifi .nv-scope-row__inner,
.nv-scope-row--ambient-ai .nv-scope-row__inner,
.nv-scope-row--ambient-strategy .nv-scope-row__inner {
  position: relative;
  z-index: 1;
}

@media (prefers-contrast: more) {
  .nv-scope-row--ambient-cyber::before,
  .nv-scope-row--ambient-cyber::after,
  .nv-scope-row--ambient-wifi::before,
  .nv-scope-row--ambient-wifi::after,
  .nv-scope-row--ambient-ai::before,
  .nv-scope-row--ambient-ai::after,
  .nv-scope-row--ambient-strategy::before,
  .nv-scope-row--ambient-strategy::after {
    opacity: 0.18;
  }
}

.nv-scope-row--light {
  background: #ffffff;
  border-top: 1px solid rgba(9, 75, 184, 0.06);
}

.nv-scope-row--light .nv-scope-eyebrow,
.nv-scope-row--ambient-cyber .nv-scope-eyebrow,
.nv-scope-row--ambient-wifi .nv-scope-eyebrow,
.nv-scope-row--ambient-ai .nv-scope-eyebrow,
.nv-scope-row--ambient-strategy .nv-scope-eyebrow {
  color: var(--primary, #094bb8);
}

.nv-scope-row--light .nv-scope-heading,
.nv-scope-row--light .nv-scope-sub__title,
.nv-scope-row--ambient-cyber .nv-scope-heading,
.nv-scope-row--ambient-wifi .nv-scope-heading,
.nv-scope-row--ambient-ai .nv-scope-heading,
.nv-scope-row--ambient-strategy .nv-scope-heading,
.nv-scope-row--ambient-cyber .nv-scope-sub__title,
.nv-scope-row--ambient-wifi .nv-scope-sub__title,
.nv-scope-row--ambient-ai .nv-scope-sub__title,
.nv-scope-row--ambient-strategy .nv-scope-sub__title {
  color: #0f172a;
}

.nv-scope-row--light .nv-scope-lead,
.nv-scope-row--ambient-cyber .nv-scope-lead,
.nv-scope-row--ambient-wifi .nv-scope-lead,
.nv-scope-row--ambient-ai .nv-scope-lead,
.nv-scope-row--ambient-strategy .nv-scope-lead {
  color: #334155;
}

.nv-scope-row--light .nv-scope-body,
.nv-scope-row--light .nv-scope-sub__desc,
.nv-scope-row--ambient-cyber .nv-scope-body,
.nv-scope-row--ambient-wifi .nv-scope-body,
.nv-scope-row--ambient-ai .nv-scope-body,
.nv-scope-row--ambient-strategy .nv-scope-body,
.nv-scope-row--ambient-cyber .nv-scope-sub__desc,
.nv-scope-row--ambient-wifi .nv-scope-sub__desc,
.nv-scope-row--ambient-ai .nv-scope-sub__desc,
.nv-scope-row--ambient-strategy .nv-scope-sub__desc {
  color: #64748b;
}

.nv-scope-row--light .nv-scope-cta,
.nv-scope-row--light .nv-scope-sub__cta,
.nv-scope-row--ambient-cyber .nv-scope-cta,
.nv-scope-row--ambient-wifi .nv-scope-cta,
.nv-scope-row--ambient-ai .nv-scope-cta,
.nv-scope-row--ambient-strategy .nv-scope-cta,
.nv-scope-row--ambient-cyber .nv-scope-sub__cta,
.nv-scope-row--ambient-wifi .nv-scope-sub__cta,
.nv-scope-row--ambient-ai .nv-scope-sub__cta,
.nv-scope-row--ambient-strategy .nv-scope-sub__cta {
  color: var(--primary, #094bb8);
}

.nv-scope-row--light .nv-scope-cta:hover,
.nv-scope-row--light .nv-scope-sub__cta:hover,
.nv-scope-row--ambient-cyber .nv-scope-cta:hover,
.nv-scope-row--ambient-wifi .nv-scope-cta:hover,
.nv-scope-row--ambient-ai .nv-scope-cta:hover,
.nv-scope-row--ambient-strategy .nv-scope-cta:hover,
.nv-scope-row--ambient-cyber .nv-scope-sub__cta:hover,
.nv-scope-row--ambient-wifi .nv-scope-sub__cta:hover,
.nv-scope-row--ambient-ai .nv-scope-sub__cta:hover,
.nv-scope-row--ambient-strategy .nv-scope-sub__cta:hover {
  color: #1d4ed8;
}

.nv-scope-row--light .nv-scope-sub,
.nv-scope-row--ambient-cyber .nv-scope-sub,
.nv-scope-row--ambient-wifi .nv-scope-sub,
.nv-scope-row--ambient-ai .nv-scope-sub,
.nv-scope-row--ambient-strategy .nv-scope-sub {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.nv-scope-row--accent {
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(59, 130, 246, 0.15), transparent 50%),
    linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
  border-top: 1px solid rgba(9, 75, 184, 0.08);
}

.nv-scope-row--accent .nv-scope-eyebrow {
  color: var(--primary, #094bb8);
}

.nv-scope-row--accent .nv-scope-heading {
  color: #0f172a;
}

.nv-scope-row--accent .nv-scope-lead {
  color: #334155;
}

.nv-scope-row--accent .nv-scope-body {
  color: #64748b;
}

.nv-scope-row--accent .nv-scope-cta {
  color: var(--primary, #094bb8);
}

.nv-scope-row--accent .nv-scope-cta:hover {
  color: #1d4ed8;
}

.nv-scope-media img,
.nv-scope-media__video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.nv-scope-media--video .nv-scope-media__video {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0f172a;
}

.nv-scope-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nv-scope-heading {
  margin: 0 0 0.65rem;
  font-family: var(--shell-display, "DM Sans", system-ui, sans-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.nv-scope-lead {
  margin: 0 0 1rem;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.55;
  font-weight: 500;
}

.nv-scope-body {
  margin: 0 0 0.85rem;
  font-size: clamp(0.88rem, 1.2vw, 0.98rem);
  line-height: 1.62;
}

.nv-scope-body:last-of-type {
  margin-bottom: 1.15rem;
}

.nv-scope-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.nv-scope-cta:hover {
  gap: 0.55rem;
}

.nv-scope-subgrid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .nv-scope-subgrid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

.nv-scope-sub {
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 10px;
}

.nv-scope-sub__title {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nv-scope-sub__desc {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  line-height: 1.55;
}

.nv-scope-sub__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
}

/* ----- News band ----- */
.blog.blog--band {
  position: relative;
  background:
    url("../media/bcom-wave-soft.svg") no-repeat center bottom / 100% auto,
    linear-gradient(180deg, #f8fbff 0%, #ffffff 40%, #f0f6ff 100%);
  border-top: 1px solid rgba(9, 75, 184, 0.08);
  border-bottom: 1px solid rgba(9, 75, 184, 0.06);
}

/* ----- Case studies: compact editorial marquee (calmer proportions on laptop + mobile) ----- */
.case-studies.case-studies--nv-banner {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2.75rem, 6vw, 4.25rem);
  background:
    radial-gradient(ellipse 85% 50% at 50% -12%, rgba(59, 130, 246, 0.1), transparent 58%),
    linear-gradient(175deg, #060a12 0%, #0c1424 40%, #111c2e 100%);
  scroll-margin-top: calc(70px + env(safe-area-inset-top, 0px));
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  border-bottom: 1px solid rgba(15, 23, 42, 0.75);
}

.case-studies.case-studies--nv-banner .nv-case-head {
  margin-bottom: clamp(1.25rem, 3vw, 1.85rem);
}

.case-studies.case-studies--nv-banner .section-header h2 {
  color: #f8fafc;
  font-family: var(--shell-display, "DM Sans", system-ui, sans-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  letter-spacing: -0.03em;
}

.case-studies.case-studies--nv-banner .section-header p {
  color: rgba(203, 213, 225, 0.82);
  font-size: clamp(0.88rem, 1.25vw, 0.95rem);
  max-width: 46ch;
  margin-inline: auto;
  line-height: 1.55;
}

.nv-case-marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
}

.nv-case-marquee__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
}

.nv-case-marquee__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(32px, 4vw, 72px);
  z-index: 2;
  pointer-events: none;
}

.nv-case-marquee__edge--left {
  left: 0;
  background: linear-gradient(90deg, #060a12 0%, transparent 100%);
}

.nv-case-marquee__edge--right {
  right: 0;
  background: linear-gradient(270deg, #0c1424 0%, transparent 100%);
}

.nv-case-marquee__track {
  display: flex;
  width: max-content;
  animation: nvCaseMarquee 64s linear infinite;
  will-change: transform;
}

.nv-case-marquee:hover .nv-case-marquee__track {
  animation-play-state: paused;
}

.nv-case-marquee__group {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(0.65rem, 1.5vw, 1.15rem);
  padding-inline: clamp(0.5rem, 1.5vw, 1rem);
}

/* Slide width: intentionally modest — shows ~1.5 cards on laptop, one compact card on phone */
.nv-case-slide {
  --nv-slide-w: min(82vw, 320px);
  flex: 0 0 var(--nv-slide-w);
  width: var(--nv-slide-w);
  max-width: var(--nv-slide-w);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nv-case-slide__mediaLink {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease;
}

.nv-case-slide__mediaLink:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(86, 182, 249, 0.18) inset;
}

.nv-case-slide__media {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 168px;
  background: #1e293b;
}

.nv-case-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nv-case-slide__media video,
.nv-case-slide__media .nv-case-slide__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nv-case-slide--video .nv-case-slide__media {
  background: #0f172a;
}

.nv-case-slide__body {
  padding: 0 0.15rem 0.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  max-width: 36ch;
}

.nv-case-slide__tag.case-study-card__tag {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--primary-light, #56b6f9);
}

.nv-case-slide__title {
  margin: 0;
  font-family: var(--shell-display, "DM Sans", system-ui, sans-serif);
  font-size: clamp(0.95rem, 1.65vw, 1.08rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: #f1f5f9;
}

.nv-case-slide__excerpt {
  margin: 0;
  font-size: clamp(0.78rem, 1.15vw, 0.86rem);
  line-height: 1.45;
  color: rgba(186, 198, 214, 0.92);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nv-case-slide__cta.case-study-card__link {
  margin-top: 0.1rem;
  font-size: 0.8rem;
  color: #93c5fd;
  font-weight: 600;
}

.nv-case-slide__cta.case-study-card__link:hover {
  color: #bfdbfe;
}

@keyframes nvCaseMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * var(--nv-case-loop-distance, 50%)));
  }
}

@media (min-width: 480px) {
  .nv-case-slide {
    --nv-slide-w: min(58vw, 380px);
  }

  .nv-case-slide__media {
    max-height: 188px;
    aspect-ratio: 2 / 1;
  }
}

@media (min-width: 768px) {
  .nv-case-slide {
    --nv-slide-w: min(42vw, 420px);
  }

  .nv-case-slide__media {
    max-height: 200px;
  }

  .nv-case-slide__body {
    max-width: 42ch;
  }
}

@media (min-width: 1100px) {
  .nv-case-slide {
    --nv-slide-w: min(34vw, 440px);
  }

  .nv-case-slide__media {
    max-height: 210px;
  }
}

@media (max-width: 639px) {
  .nv-case-marquee {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .nv-case-marquee__viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .nv-case-slide__excerpt {
    -webkit-line-clamp: 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nv-case-marquee__track {
    animation: none !important;
    flex-wrap: wrap;
    justify-content: center;
    width: 100% !important;
    max-width: 720px;
    margin: 0 auto;
    transform: none !important;
  }

  .nv-case-marquee__group--clone {
    display: none !important;
  }

  .nv-case-marquee__viewport {
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .nv-case-marquee__edge {
    display: none;
  }

  .nv-case-marquee:hover .nv-case-marquee__track {
    animation-play-state: running;
  }

  .nv-case-marquee__group {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-inline: 1rem;
  }

  .nv-case-slide {
    --nv-slide-w: min(100%, 400px);
    flex-basis: 100%;
    width: 100%;
    max-width: 400px;
  }
}

/* ----- Knowledge Hub (homepage catalog; aligns with support-page / enterprise hero) ----- */
.knowledge-hub.knowledge-hub--band {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  scroll-margin-top: calc(70px + env(safe-area-inset-top, 0px));
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background:
    radial-gradient(ellipse 88% 58% at 100% -8%, rgba(59, 130, 246, 0.12), transparent 52%),
    radial-gradient(ellipse 58% 42% at 0% 102%, rgba(14, 165, 233, 0.08), transparent 48%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f1f5f9 100%);
}

.kh-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.kh-hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
  background: url("../media/bcom-hero-mesh.svg") no-repeat 88% 12% / min(105%, 920px);
  mask-image: radial-gradient(ellipse 85% 72% at 50% 35%, black 18%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 85% 72% at 50% 35%, black 18%, transparent 74%);
}

.kh-hero__gridlines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 38%, black 22%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 38%, black 22%, transparent 78%);
}

.kh-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.kh-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2563eb;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.kh-hero__title {
  font-family: var(--shell-display, "DM Sans", system-ui, sans-serif);
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 0.85rem;
  color: #0f172a;
}

.kh-hero__lead {
  font-size: clamp(1rem, 1.85vw, 1.12rem);
  line-height: 1.62;
  color: #475569;
  margin: 0 auto;
  max-width: 58ch;
}

.kh-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  margin-top: 1.35rem;
}

.kh-categories__pill {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: #334155;
}

.kh-categories__pill--python {
  border-color: rgba(5, 150, 105, 0.28);
  color: #047857;
  background: rgba(16, 185, 129, 0.08);
}

.kh-categories__pill--ai {
  border-color: rgba(124, 58, 237, 0.28);
  color: #6d28d9;
  background: rgba(139, 92, 246, 0.09);
}

.kh-categories__pill--strategy {
  border-color: rgba(37, 99, 235, 0.28);
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.09);
}

.kh-categories__pill--security {
  border-color: rgba(220, 38, 38, 0.26);
  color: #b91c1c;
  background: rgba(248, 113, 113, 0.1);
}

.kh-body {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.kh-grid.kh-grid--editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .kh-grid.kh-grid--editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 1rem;
  }
}

@media (min-width: 1100px) {
  .kh-grid.kh-grid--editorial {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.kh-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.15rem 1.2rem 1.25rem;
  padding-top: calc(1.15rem + 5px);
  border-radius: var(--radius-lg, 18px);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 14px 36px rgba(15, 23, 42, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.kh-card:hover {
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 20px 44px rgba(15, 23, 42, 0.09);
  transform: translateY(-3px);
}

.kh-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: var(--radius-lg, 18px) var(--radius-lg, 18px) 0 0;
}

.kh-card--python .kh-card__accent {
  background: linear-gradient(90deg, #059669, #10b981, #059669);
}

.kh-card--ai .kh-card__accent {
  background: linear-gradient(90deg, #7c3aed, #a855f7, #7c3aed);
}

.kh-card--strategy .kh-card__accent {
  background: linear-gradient(90deg, #2563eb, #38bdf8, #2563eb);
}

.kh-card--security .kh-card__accent {
  background: linear-gradient(90deg, #dc2626, #f97316, #dc2626);
}

.kh-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  width: 100%;
}

.kh-card__cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.kh-card__type {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.05);
  color: #475569;
}

.kh-card__icon {
  font-size: 1.35rem;
  line-height: 1;
  color: #2563eb;
  opacity: 0.92;
}

.kh-card--python .kh-card__icon {
  color: #059669;
}

.kh-card--ai .kh-card__icon {
  color: #7c3aed;
}

.kh-card--strategy .kh-card__icon {
  color: #2563eb;
}

.kh-card--security .kh-card__icon {
  color: #dc2626;
}

.kh-card__title {
  font-family: var(--shell-display, "DM Sans", system-ui, sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  margin: 0;
  color: #0f172a;
}

.kh-card__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #64748b;
  flex: 1;
}

.kh-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
}

.kh-card__cta:hover {
  color: #1e40af;
  text-decoration: underline;
}

.kh-card__cta i {
  font-size: 0.82rem;
  opacity: 0.9;
}

.kh-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0 0;
  text-align: center;
}

.kh-foot__hint {
  display: block;
  max-width: 46ch;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #64748b;
}

/* Staggered reveal: shared class from catalog-editorial.js */
.kh-grid--editorial .kh-card {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.kh-grid--editorial.catalog-editorial--visible .kh-card {
  opacity: 1;
  transform: translateY(0);
}

.kh-grid--editorial.catalog-editorial--visible .kh-card:nth-child(1) {
  transition-delay: 0.03s;
}
.kh-grid--editorial.catalog-editorial--visible .kh-card:nth-child(2) {
  transition-delay: 0.07s;
}
.kh-grid--editorial.catalog-editorial--visible .kh-card:nth-child(3) {
  transition-delay: 0.11s;
}
.kh-grid--editorial.catalog-editorial--visible .kh-card:nth-child(4) {
  transition-delay: 0.15s;
}
.kh-grid--editorial.catalog-editorial--visible .kh-card:nth-child(5) {
  transition-delay: 0.19s;
}
.kh-grid--editorial.catalog-editorial--visible .kh-card:nth-child(6) {
  transition-delay: 0.23s;
}
.kh-grid--editorial.catalog-editorial--visible .kh-card:nth-child(7) {
  transition-delay: 0.27s;
}
.kh-grid--editorial.catalog-editorial--visible .kh-card:nth-child(8) {
  transition-delay: 0.31s;
}
.kh-grid--editorial.catalog-editorial--visible .kh-card:nth-child(9) {
  transition-delay: 0.35s;
}
.kh-grid--editorial.catalog-editorial--visible .kh-card:nth-child(10) {
  transition-delay: 0.39s;
}
.kh-grid--editorial.catalog-editorial--visible .kh-card:nth-child(11) {
  transition-delay: 0.43s;
}
.kh-grid--editorial.catalog-editorial--visible .kh-card:nth-child(12) {
  transition-delay: 0.47s;
}
.kh-grid--editorial.catalog-editorial--visible .kh-card:nth-child(13) {
  transition-delay: 0.51s;
}
.kh-grid--editorial.catalog-editorial--visible .kh-card:nth-child(14) {
  transition-delay: 0.55s;
}

@media (prefers-reduced-motion: reduce) {
  .kh-grid--editorial .kh-card {
    opacity: 1;
    transform: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
}

/* ----- Support / contact strip ----- */
.support-section.support-section--visual {
  position: relative;
  background:
    linear-gradient(135deg, rgba(9, 75, 184, 0.06) 0%, rgba(255, 255, 255, 0.92) 38%, #ffffff 100%),
    url("../media/bcom-grid-dots.svg") repeat;
  background-size: 100% 100%, 360px 360px;
  border-top: 1px solid rgba(9, 75, 184, 0.1);
}

/* ----- Leadership band ----- */
.leadership-founder.leadership-founder--band {
  position: relative;
  background:
    radial-gradient(ellipse 55% 40% at 15% 30%, rgba(11, 107, 255, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 55%, #ffffff 100%);
}

/* ----- Editorial product/solution grids (homepage): rhythm, splits, rotators ----- */
.product-catalog-grid--editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 720px) {
  .product-catalog-grid--editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1.2rem;
    align-items: stretch;
  }

  .product-catalog-card--featured {
    grid-column: 1 / -1;
  }

  .product-catalog-card--cta-cap {
    grid-column: 1 / -1;
    max-width: 720px;
    width: 100%;
    justify-self: center;
  }
}

/* Scroll-in stagger (disabled when prefers-reduced-motion or before reveal) */
.product-catalog-grid--editorial .product-catalog-card {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.product-catalog-grid--editorial.catalog-editorial--visible .product-catalog-card {
  opacity: 1;
  transform: translateY(0);
}

.product-catalog-grid--editorial.catalog-editorial--visible .product-catalog-card:nth-child(1) {
  transition-delay: 0.03s;
}
.product-catalog-grid--editorial.catalog-editorial--visible .product-catalog-card:nth-child(2) {
  transition-delay: 0.1s;
}
.product-catalog-grid--editorial.catalog-editorial--visible .product-catalog-card:nth-child(3) {
  transition-delay: 0.17s;
}
.product-catalog-grid--editorial.catalog-editorial--visible .product-catalog-card:nth-child(4) {
  transition-delay: 0.24s;
}
.product-catalog-grid--editorial.catalog-editorial--visible .product-catalog-card:nth-child(5) {
  transition-delay: 0.31s;
}
.product-catalog-grid--editorial.catalog-editorial--visible .product-catalog-card:nth-child(6) {
  transition-delay: 0.38s;
}
.product-catalog-grid--editorial.catalog-editorial--visible .product-catalog-card:nth-child(7) {
  transition-delay: 0.45s;
}

@media (prefers-reduced-motion: reduce) {
  .product-catalog-grid--editorial .product-catalog-card {
    opacity: 1;
    transform: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
}

/* Horizontal splits: copy beside imagery (not stacked thumb-only tiles) */
@media (min-width: 680px) {
  a.product-catalog-card--split-row.product-catalog-card--link {
    flex-direction: row;
    align-items: stretch;
    min-height: 0;
  }

  a.product-catalog-card--split-row.product-catalog-card--split-row-reverse.product-catalog-card--link {
    flex-direction: row-reverse;
  }

  .product-catalog-card--split-row .product-catalog-card__thumb {
    flex: 0 0 44%;
    max-width: 44%;
    max-height: none;
    min-height: 200px;
    aspect-ratio: 4 / 3;
    align-self: stretch;
  }

  .product-catalog-card--split-row .product-catalog-card__body {
    flex: 1;
    min-width: 0;
    justify-content: center;
    padding: 1.35rem 1.45rem 1.45rem;
  }

  .product-catalog-card--featured.product-catalog-card--split-row .product-catalog-card__thumb {
    flex: 0 0 min(48%, 520px);
    max-width: min(48%, 520px);
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }

  .product-catalog-card--featured.product-catalog-card--split-row .product-catalog-card__body {
    padding: clamp(1.5rem, 3.2vw, 2.35rem) clamp(1.35rem, 2.5vw, 2rem);
  }

  .product-catalog-card--featured h3 {
    font-size: clamp(1.12rem, 1.9vw, 1.38rem);
  }

  .product-catalog-card--featured .product-catalog-summary {
    font-size: 0.9rem;
  }
}

/* Image crossfade (two+ frames per tile) */
.product-catalog-card__thumb--rotator {
  position: relative;
  isolation: isolate;
}

.product-catalog-card__thumb--rotator .product-catalog-card__rot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  will-change: opacity;
  transition:
    opacity 1.05s ease-in-out,
    transform 0.4s ease;
}

.product-catalog-card__thumb--rotator .product-catalog-card__rot-img.is-visible {
  opacity: 1;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .product-catalog-card__thumb--rotator .product-catalog-card__rot-img {
    transition: none;
  }

  .product-catalog-card__thumb--rotator .product-catalog-card__rot-img:not(.is-visible) {
    display: none;
  }
}

/* Only the visible rotator frame zooms on hover (avoid scaling hidden layers) */

a.product-catalog-card--link:hover .product-catalog-card__thumb--rotator img {
  transform: none;
}

a.product-catalog-card--link:hover .product-catalog-card__thumb--rotator .product-catalog-card__rot-img.is-visible {
  transform: scale(1.035);
}

/* Featured strip accent */
.product-catalog-card--featured {
  border-color: rgba(11, 107, 255, 0.22);
  box-shadow:
    0 10px 40px rgba(9, 75, 184, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 55%, #ffffff 100%);
}

.product-catalog-card--featured .product-catalog-card__body {
  position: relative;
}

.product-catalog-card--featured .product-catalog-card__body::before {
  content: "";
  display: block;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--primary, #0b6bff), rgba(11, 107, 255, 0.35));
  position: absolute;
  left: 0;
  top: 1.35rem;
  bottom: 1.35rem;
}

@media (min-width: 680px) {
  .product-catalog-card--featured .product-catalog-card__body {
    padding-left: 1.75rem;
  }
}

@media (max-width: 679px) {
  .product-catalog-card--featured .product-catalog-card__body::before {
    display: none;
  }
}
