/* =====================================================================
   Channel page — shared chrome (announce bar, header, dropdown nav,
   channel hero, content placeholder, footer). Pulls colors and tokens
   from tokens.css.
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Skip-link — first focusable element on every page so keyboard / screen-reader
   users can bypass the announcement bar, sticky header, and nav. Visually
   hidden until focused. */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 12px 20px;
  background: #0F172A;
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); outline: 3px solid #8DC63F; outline-offset: 2px; }
main:focus { outline: none; }
body {
  background: var(--paper);
  color: var(--text-body);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:root {
  --top-h: 50px;
  --header-h: 72px;
}

/* ---------- ANNOUNCEMENT BAR ---------- */
.announce {
  background: var(--bg-announce);
  color: #0F172A;
  font-size: var(--fs-body);
  line-height: 1.4;
  font-weight: 400;
  flex: 0 0 auto;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  /* Sticky so the header below always sits directly under it. */
  position: sticky;
  top: 0;
  z-index: 51;
}
.announce__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad-x);
}
.announce__toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  line-height: 1.4;
  padding: 16px 0 20px;
  cursor: pointer;
  text-align: center;
  flex-wrap: wrap;
}
.announce__short { text-align: center; }
.announce__pulse { display: none; }
@keyframes announcePulse {
  0%   { transform: scale(1);   opacity: 0.85; }
  80%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}
.announce__toggle::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(33,61,88,0.40);
  transform: translateX(-50%);
  transition:
    width var(--dur-fast, 0.2s) var(--ease-standard, ease),
    background var(--dur-fast, 0.2s) var(--ease-standard, ease),
    opacity var(--dur-med, 0.3s) var(--ease-standard, ease);
}
.announce__toggle:hover::after { width: 52px; background: rgba(33,61,88,0.65); }
.announce[data-expanded="true"] .announce__toggle::after { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .announce__pulse::before { animation: none; }
}
.announce__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--fw-medium);
  color: #0F172A;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.announce__chev {
  transition: transform var(--dur-med, 0.3s) var(--ease-standard, ease);
}
.announce[data-expanded="true"] .announce__chev { transform: rotate(180deg); }
.announce__body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--dur-med, 0.4s) var(--ease-standard, ease),
              opacity var(--dur-fast, 0.25s) var(--ease-standard, ease);
}
.announce[data-expanded="true"] .announce__body { max-height: 800px; opacity: 1; }
.announce__body-inner {
  padding: 16px 0 24px;
  border-top: 1px solid rgba(15,23,42,0.25);
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  color: #0F172A;
}
.announce__body-inner p { margin: 0 0 12px; }
.announce__body-inner p:last-child { margin: 0; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  /* Pins directly underneath the sticky announce bar */
  top: var(--top-h);
  z-index: 50;
  padding: 8px var(--container-pad-x);
  margin-bottom: calc(0px - var(--header-h));
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    0 14px 32px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.60);
  transition:
    background var(--dur-med, 0.3s) var(--ease-standard, ease),
    box-shadow var(--dur-med, 0.3s) var(--ease-standard, ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 6px 20px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.site-header__inner {
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 44px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__item { position: relative; display: inline-flex; align-items: center; }
.nav a, .nav__item > a, .nav__item > button {
  color: var(--ink-900);
  font-size: 15px;
  font-weight: var(--fw-medium);
  opacity: 0.92;
  transition: opacity var(--dur-fast) var(--ease-standard);
  position: relative;
  background: transparent;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}
.nav a:hover, .nav__item > a:hover, .nav__item > button:hover { opacity: 1; }
.nav a::after, .nav__item > button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--bdi-green); transform: scaleX(0);
  transform-origin: left center; transition: transform var(--dur-med) var(--ease-out);
}
.nav a:hover::after, .nav__item > button:hover::after,
.nav__item--has-menu:hover > button::after,
.nav__item--has-menu:focus-within > button::after { transform: scaleX(1); }
.nav .bdi-btn { padding: 12px 24px; font-size: 15px; }
/* Top-nav Request Demo — brighter lime gradient (matches Homepage). */
.nav a.bdi-btn--green {
  background: linear-gradient(135deg, #A8E04A 0%, #84C925 100%);
  color: #0F172A;
  box-shadow: none;
}
.nav a.bdi-btn--green:hover {
  background: linear-gradient(135deg, #BEF264 0%, #8DC63F 100%);
  box-shadow: none;
}
.nav a.bdi-btn::after { content: none; }

/* MEGA MENU under "What We Do" — wide glass panel with a 4×3 icon-card
   grid showing all 10 services. Mirrors the Homepage.html styling. */
.nav__item--has-menu { position: relative; }
.nav__megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -10px);
  width: clamp(720px, 86vw, 920px);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border-radius: 22px;
  box-shadow:
    0 28px 64px -12px rgba(15, 23, 42, 0.20),
    0 12px 28px -8px rgba(15, 23, 42, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  padding: 52px 40px 40px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 220ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 60;
}
.nav__item--has-menu:hover .nav__megamenu,
.nav__item--has-menu:focus-within .nav__megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
/* Escape was pressed while focus was inside the menu — force-close the
   panel even though :focus-within is still true on the toggle button. */
.nav__item--has-menu[data-kb-closed] .nav__megamenu,
.nav__item--has-menu[data-kb-closed]:hover .nav__megamenu,
.nav__item--has-menu[data-kb-closed]:focus-within .nav__megamenu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -10px);
}
.nav__megamenu::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle 280px at 100% 0%, rgba(184, 224, 112, 0.20) 0%, rgba(141, 198, 63, 0.06) 35%, transparent 65%);
  z-index: 0;
}
.nav__megamenu > * { position: relative; z-index: 1; }

.nav__megamenu-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--ink-200);
}
.nav__megamenu-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--bdi-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: color 200ms ease;
  white-space: nowrap;
}
.nav__megamenu-cta:hover { color: var(--bdi-green-deep); }
.nav__megamenu-cta::after { content: none !important; }
.nav__megamenu-cta svg { width: 16px; height: 16px; }
.nav__megamenu-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-600);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.nav__megamenu-eyebrow::before {
  content: ""; width: 24px; height: 1px;
  background: var(--bdi-green);
  display: inline-block;
}
.nav__megamenu-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink-900);
  margin: 8px 0 0;
  letter-spacing: -0.005em;
}
.nav__megamenu-title em {
  font-style: italic;
  color: var(--bdi-green-deep);
}

.nav__megamenu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.nav__megamenu-card:nth-child(9)  { grid-column: 2; }
.nav__megamenu-card:nth-child(10) { grid-column: 3; }
.nav__megamenu .nav__megamenu-card {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 2px 16px;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration: none;
  background: transparent;
  color: var(--ink-900);
  transition: background 200ms ease;
}
.nav__megamenu .nav__megamenu-card::after { content: none !important; }
.nav__megamenu .nav__megamenu-card:hover {
  background: rgba(15, 23, 42, 0.04);
}
.nav__megamenu-card-icon {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--icon-color, #0055A5);
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
}
.nav__megamenu-card-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.6;
}
.nav__megamenu-card--print       { --icon-color: #0055A5; }
.nav__megamenu-card--estatements { --icon-color: #1A88C4; }
.nav__megamenu-card--tax         { --icon-color: #0E3D78; }
.nav__megamenu-card--notices     { --icon-color: #2A8CA6; }
.nav__megamenu-card--marketing   { --icon-color: #2F6A0C; }
.nav__megamenu-card--archive     { --icon-color: #1F6B7C; }
.nav__megamenu-card--strongbox   { --icon-color: #0E3D78; }
.nav__megamenu-card--postal      { --icon-color: #1668B5; }
.nav__megamenu-card--graphic     { --icon-color: #2F6A0C; }
.nav__megamenu-card--billing     { --icon-color: #134B73; }
.nav__megamenu-card-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.2;
  align-self: start;
}
.nav__megamenu-card-desc {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-600);
  line-height: 1.45;
  align-self: start;
}

/* ---------- CHANNEL HERO ---------- */
.channel-hero {
  position: relative;
  color: #fff;
  isolation: isolate;
  /* compensate for the sticky header overlap */
  padding: calc(72px + var(--header-h)) var(--container-pad-x) 64px;
  background: var(--channel-grad,
    radial-gradient(ellipse at 90% 8%, var(--bdi-green) 0%, #4FA37C 18%, var(--bdi-blue) 50%, var(--bdi-blue) 100%));
  overflow: hidden;
}
.channel-hero::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  right: -120px; bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.channel-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr clamp(296px, 28vw, 408px);
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.channel-hero__eyebrow {
  font-family: var(--font-block);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin: 0 0 24px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 1;
  gap: 12px;
}
.channel-hero__eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--bdi-green);
  display: inline-block;
}
.channel-hero__stat {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #DDF1B0;
  text-transform: uppercase;
  margin: 0 0 24px 32px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 1;
  gap: 12px;
}
.channel-hero__stat::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bdi-green);
  box-shadow: 0 0 0 4px rgba(141,198,63,0.25);
}
.channel-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.8vw, 56px);
  line-height: 1.08;
  margin: 0 0 24px;
  color: #fff;
  max-width: 22ch;
  text-wrap: balance;
}
.channel-hero__title em { font-style: italic; color: #fff; }

/* Typewriter reveal for hero H1. Letters are wrapped in spans by JS
   on page load, then faded in one by one via a per-letter delay.
   Applies to both .channel-hero__title (most secondary pages) and
   .svc-hero__title (services.html). */
.channel-hero__title .word,
.svc-hero__title .word { display: inline-block; vertical-align: top; }
.channel-hero__title .word > span,
.svc-hero__title .word > span { display: inline-block; }
.channel-hero__title .letter,
.svc-hero__title .letter {
  display: inline-block;
  opacity: 0;
  transition: opacity 30ms ease calc(var(--letter-i, 0) * 40ms + 120ms);
}
.channel-hero__title.is-animated .letter,
.svc-hero__title.is-animated .letter { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .channel-hero__title .letter,
  .svc-hero__title .letter { opacity: 1; transition: none; }
}
.channel-hero__lead {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
  margin: 0 0 32px;
  max-width: 620px;
}
.channel-hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.channel-hero__art {
  width: clamp(296px, 28vw, 408px);
  height: clamp(296px, 28vw, 408px);
  position: relative;
  justify-self: end;
}

/* ============================================================
   .brand-icon — DESIGN SYSTEM COMPONENT
   Reusable circle-badge + radiating-rings + thin-line icon
   used in every page header / large featured icon slot. Scales
   to its parent container (set width/height on parent, or use
   --brand-icon-size to override the 280px default).
   ============================================================ */
.brand-icon {
  position: relative;
  display: inline-block;
  width: var(--brand-icon-size, 100%);
  height: var(--brand-icon-size, 100%);
  aspect-ratio: 1 / 1;
  color: #fff;
}
/* Outer aura — wide, soft light source behind the whole composition. */
.brand-icon::before {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 42%,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.18) 28%,
    rgba(255, 255, 255, 0)    64%
  );
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
  animation: brand-icon-aura 6.4s ease-in-out infinite;
}
.brand-icon__rings,
.brand-icon__badge { z-index: 1; }

.brand-icon__rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.brand-icon__rings circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.78);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: brand-icon-pulse 5.2s ease-in-out infinite;
}
.brand-icon__rings circle:nth-of-type(1) { animation-delay: 0s;     }
.brand-icon__rings circle:nth-of-type(2) { animation-delay: -1.73s; }
.brand-icon__rings circle:nth-of-type(3) { animation-delay: -3.47s; }

@keyframes brand-icon-pulse {
  0%, 100% { scale: 0.93; opacity: 0.45; stroke-width: 1.2; }
  50%      { scale: 1.10; opacity: 1;    stroke-width: 2.2; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-icon__rings circle { animation: none; scale: 1; }
  .brand-icon__badge        { animation: none; }
}

.brand-icon__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72%;
  height: 72%;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.32) 0%,
    rgba(255, 255, 255, 0.14) 48%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:
    0 18px 50px -12px rgba(15, 23, 42, 0.45),
    0 0 48px 4px rgba(255, 255, 255, 0.28),
    inset 0 12px 26px -10px rgba(255, 255, 255, 0.75),
    inset 0 1px 1px rgba(255, 255, 255, 0.75);
  animation: brand-icon-glow 6.4s ease-in-out infinite;
}
.brand-icon__badge svg {
  position: relative;
  z-index: 1;
  width: 62%;
  height: 62%;
  stroke-width: 1;
  fill: none;
  stroke: currentColor;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.45));
}

@keyframes brand-icon-aura {
  0%, 100% { opacity: 0.8; scale: 0.99; }
  50%      { opacity: 1;   scale: 1.04; }
}

@keyframes brand-icon-glow {
  0%, 100% {
    box-shadow:
      0 18px 50px -12px rgba(15, 23, 42, 0.45),
      0 0 48px 4px rgba(255, 255, 255, 0.28),
      inset 0 12px 26px -10px rgba(255, 255, 255, 0.75),
      inset 0 1px 1px rgba(255, 255, 255, 0.75);
  }
  50% {
    box-shadow:
      0 20px 56px -10px rgba(15, 23, 42, 0.48),
      0 0 64px 8px rgba(255, 255, 255, 0.4),
      inset 0 14px 28px -8px rgba(255, 255, 255, 0.82),
      inset 0 1px 1px rgba(255, 255, 255, 0.82);
  }
}

/* ---------- CHANNEL CONTENT ---------- */
.channel-body {
  padding: 96px var(--container-pad-x);
}
.channel-body__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.channel-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 40px);
  color: var(--ink-900);
  margin: 0 0 16px;
}
.channel-body p {
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
}

/* ============================================================
   Buyer-intent content sections — shared across every service,
   industry, and capability page. Previously inlined per page;
   consolidated here so new pages inherit the system.
   ============================================================ */
.section-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  color: var(--ink-900);
  margin: 0 0 16px;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.section-h2 em { color: var(--bdi-green-deep, #2F6A0C); font-style: italic; }
.section-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700, #334155);
  max-width: 880px;
  margin: 0 0 28px;
}
.section-prose p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-700, #334155);
  margin: 0 0 18px;
  max-width: 880px;
}
.section-prose a {
  color: var(--bdi-blue, #0055A5);
  text-decoration: underline;
  text-decoration-color: var(--bdi-green, #8DC63F);
  text-underline-offset: 3px;
}
.section-prose strong { color: var(--ink-900); }
.section-stack { padding: 64px var(--container-pad-x); }
.section-stack:nth-of-type(even) { background: var(--ink-50, #F8FAFC); }
.section-stack__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}
/* Split layout — copy on one side, supporting visual on the other.
   Default is text-left / media-right. Add --media-left to flip. */
.section-stack__inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.section-stack__inner--split.section-stack__inner--media-left .section-stack__copy { order: 2; }
.section-stack__inner--split.section-stack__inner--media-left .section-stack__media { order: 1; }
.section-stack__media {
  width: 100%;
  /* 7:5 (1.40) is the visual compromise across the three native source
     aspects (1.50 print-and-mail, 1.33 tax, 1.25 notices). Every cutout
     fits without cropping AND each renders within ~5% of the others in
     visible area, so the three pages look like a coordinated set. */
  aspect-ratio: 7 / 5;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  /* Tighter drop-shadow for transparent-PNG cutouts so each piece
     reads as paper grounded on the page, not floating. */
  filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.18));
}
/* Per-image overrides where a particular cutout reads better at a
   different box ratio. Notices source is 5:4 (narrowest); matching the
   box to its native aspect lets the cutout fill the full column. */
.section-stack__media--tall { aspect-ratio: 5 / 4; }
/* Optional scale-up beyond the column width — lets a cutout breathe
   slightly into the surrounding gap. transform-origin keeps it centered. */
.section-stack__media--zoom { transform: scale(1.10); transform-origin: center; }
/* Strip the shared 7:5 box so the image renders at its native aspect,
   filling the column edge-to-edge with no letterbox. */
.section-stack__media--native { aspect-ratio: auto; }

/* Asymmetric split where the image column gets meaningfully more width
   than the copy column — for sections where the visual is the headline. */
.section-stack__inner--split.section-stack__inner--media-prominent {
  grid-template-columns: 1fr 1.35fr;
}
@media (max-width: 880px) {
  .section-stack__inner--split.section-stack__inner--media-prominent {
    grid-template-columns: 1fr;
  }
}

/* Wrap layout — image anchored to the right column of a 3-column grid,
   feature cards flow in 2 columns to its left for the first three rows,
   then continue full-width underneath the image. Heading and lead span
   all columns above. */
.section-stack__inner--wrap-media {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  grid-auto-flow: row dense;
  gap: 24px;
  align-items: start;
}
.section-stack__inner--wrap-media > .section-h2,
.section-stack__inner--wrap-media > .section-lead {
  grid-column: 1 / -1;
}
.section-stack__inner--wrap-media > .section-stack__media {
  grid-column: 3;
  grid-row: span 3;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.18));
  align-self: center;
}
@media (max-width: 880px) {
  .section-stack__inner--wrap-media {
    grid-template-columns: 1fr;
  }
  .section-stack__inner--wrap-media > .section-stack__media {
    grid-column: auto;
    grid-row: auto;
  }
}
@media (max-width: 880px) {
  .section-stack__inner--split { grid-template-columns: 1fr; gap: 40px; }
  .section-stack__inner--split.section-stack__inner--media-left .section-stack__copy { order: 1; }
  .section-stack__inner--split.section-stack__inner--media-left .section-stack__media { order: 2; }
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: 16px;
  padding: 28px;
}
.feature-card h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 10px;
}
.feature-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-700, #334155);
  margin: 0;
}
.feature-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #082E66 0%, #1A88C4 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
}
.feature-card__icon svg { width: 22px; height: 22px; stroke-width: 1.7; }

.integration-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.integration-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: 0.04em;
}
.integration-chip::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bdi-green, #8DC63F);
  flex-shrink: 0;
}

.faq { margin-top: 32px; }
.faq__item {
  border-top: 1px solid var(--ink-200);
  padding: 24px 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--ink-200); }
.faq__q {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 10px;
}
.faq__a {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-700, #334155);
  margin: 0;
  max-width: 880px;
}

.page-cta {
  background: linear-gradient(135deg, #082E66 0%, #0055A5 60%, #1A88C4 100%);
  color: #fff;
  padding: 80px var(--container-pad-x);
  text-align: center;
}
.page-cta__inner {
  max-width: 720px;
  margin: 0 auto;
}
.page-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
  text-wrap: balance;
}
.page-cta p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin: 0 0 32px;
}
.page-cta .bdi-btn { font-size: 17px; padding: 18px 36px; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-footer);
  color: #fff;
  padding: 64px var(--container-pad-x) 32px;
}
.footer__inner { max-width: var(--container-max); margin: 0 auto; }
.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 48px 32px;
  padding-bottom: 48px;
}
.footer__col h4 {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  margin: 0 0 16px;
  color: #fff;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  transition: color var(--dur-fast);
}
.footer__col a:hover { color: #fff; }
.footer__brand p {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0 0;
  max-width: 240px;
}
.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__contact a {
  display: inline-flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal a { color: rgba(255,255,255,0.65); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
}
@media (max-width: 880px) {
  .channel-hero__inner { grid-template-columns: 1fr; gap: 48px; justify-items: start; }
  .channel-hero__art { justify-self: center; width: min(72vw, 320px); height: min(72vw, 320px); }
  .channel-hero { padding: calc(56px + var(--header-h)) var(--container-pad-x) 56px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   MULTI-TAB MEGAMENU — added for the new IA (Solutions / Industries
   / Capabilities). Each top-nav item with .nav__item--has-menu shows
   its own megamenu on hover/focus. Variants size and lay out the
   contents differently:
     .nav__megamenu--solutions     grouped 4-column link list
     .nav__megamenu--industries    2-card grid (narrower menu)
     .nav__megamenu--capabilities  3-card grid (medium menu)
   ============================================================ */

/* Variant widths — Solutions stays wide; Industries and Capabilities
   are narrower so they don't overflow when triggered farther right
   in the nav. */
.nav__megamenu--industries    { width: clamp(420px, 48vw, 560px); }
.nav__megamenu--capabilities  { width: clamp(560px, 60vw, 720px); }

/* Solutions megamenu — 4 grouped columns instead of a flat card grid. */
.nav__megamenu-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.nav__megamenu-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav__megamenu-group-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bdi-green-deep, #2F6A0C);
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink-200);
}
.nav__megamenu-link {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-900);
  text-decoration: none;
  padding: 7px 0;
  line-height: 1.35;
  transition: color 180ms ease, transform 180ms ease;
}
.nav__megamenu-link:hover {
  color: var(--bdi-blue, #0055A5);
  transform: translateX(2px);
}
.nav__megamenu-link::after { content: none !important; }

/* 2-column, 3-column, and 4-column variants override the default card grid. */
.nav__megamenu-grid--2col { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.nav__megamenu-grid--3col { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.nav__megamenu-grid--4col { grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* New card icon colors for the Industries + Capabilities pages. */
.nav__megamenu-card--cu           { --icon-color: #0055A5; }
.nav__megamenu-card--bank         { --icon-color: #0E3D78; }
.nav__megamenu-card--trust        { --icon-color: #2F6A0C; }
.nav__megamenu-card--integrations { --icon-color: #1F6B7C; }
.nav__megamenu-card--portal       { --icon-color: #1A88C4; }
.nav__megamenu-card--workflow     { --icon-color: #082E66; }

/* Solutions menu on smaller widths collapses to 2 columns. */
@media (max-width: 980px) {
  .nav__megamenu--solutions .nav__megamenu-groups { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .nav__megamenu-grid--3col,
  .nav__megamenu-grid--4col { grid-template-columns: repeat(2, 1fr); }
}
