/* ============================================================
   WRKForce Connect — Marketing Site v2 (Direction C)
   Navy #0F172A / deep #0B1322 / lime #A8CF36
   Inter Tight (display) / Inter (body)
   ============================================================ */

:root {
  --navy: #0F172A;
  --navy-2: #1E293B;
  --navy-deep: #0B1322;
  --lime: #A8CF36;
  --lime-hover: #B8DD4A;
  --lime-press: #94B82E;
  --lime-ink: #4D661A;
  --white: #FFFFFF;

  --s50: #F8FAFC; --s100: #F1F5F9; --s200: #E2E8F0; --s300: #CBD5E1;
  --s400: #94A3B8; --s500: #64748B; --s600: #475569; --s700: #334155;

  --display: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --r: 16px;
  --shadow-shot: 0 1px 2px rgba(11, 19, 34, .14), 0 12px 32px rgba(11, 19, 34, .16), 0 40px 90px rgba(11, 19, 34, .22);
  --shadow-shot-soft: 0 1px 2px rgba(11, 19, 34, .08), 0 10px 28px rgba(11, 19, 34, .10), 0 30px 70px rgba(11, 19, 34, .12);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--s600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

h1, h2, h3 { font-family: var(--display); color: var(--navy); letter-spacing: -0.025em; text-wrap: balance; }
.eyebrow {
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lime-press);
}
.on-navy .eyebrow { color: var(--lime); }
.lede { font-size: 19px; line-height: 1.65; color: var(--s500); text-wrap: pretty; max-width: 58ch; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: var(--lime-hover); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline-light { background: transparent; border-color: rgba(148, 163, 184, .45); color: var(--white); }
.btn-outline-light:hover { border-color: rgba(226, 232, 240, .8); }
.btn-sm { padding: 11px 18px; font-size: 13.5px; border-radius: 10px; }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(148, 163, 184, .12);
  box-shadow: 0 1px 0 rgba(168, 207, 54, .06), 0 14px 28px -22px rgba(0, 0, 0, .9);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-logo img { width: 176px; height: auto; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--s300);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; }

/* ============ Shots ============ */
.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: #EDF1F7;
  box-shadow: var(--shadow-shot-soft);
  pointer-events: none;
  user-select: none;
  width: 100%;
}
.shot img { display: block; width: 100%; height: auto; }
.shot-deep { box-shadow: var(--shadow-shot); }
.shot-edge { border: 1px solid rgba(148, 163, 184, .25); }

/* Floating stat chips */
.stat-chip {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border-radius: 13px;
  box-shadow: 0 1px 2px rgba(11, 19, 34, .1), 0 12px 36px rgba(11, 19, 34, .22);
  padding: 14px 19px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-chip b {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat-chip span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--s400);
}
body[data-chips="off"] .stat-chip { display: none; }

/* ============ Hero ============ */
.hero {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(30, 45, 75, .55), transparent 60%),
    var(--navy-deep);
  color: var(--white);
  position: relative;
  overflow: visible;       /* let the dashboard card extend past the hero into the next section */
  padding-bottom: 1px;     /* defines the navy bottom edge so the overlap margin shrinks it (prevents margin-collapse) */
}
.hero::before {
  content: "";
  position: absolute;
  pointer-events: none;
  width: min(1100px, 100%); height: 1100px;   /* stay within viewport now that the hero isn't clipping */
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(168, 207, 54, .16), rgba(168, 207, 54, .04) 45%, transparent 72%);
  top: -540px; left: 50%; transform: translateX(-50%);
  filter: blur(2px);
}
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: min(1180px, 100%); height: 720px;     /* stay within viewport */
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(72, 110, 168, .34), transparent 70%);
  left: 50%; bottom: 0; transform: translateX(-50%);   /* keep the glow inside the hero — no bleed onto the white section */
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;                 /* tighter rhythm — kicker / headline / subhead / CTA */
  padding: 32px 0 32px;      /* lift the block up & pull the dashboard closer above the fold */
  position: relative;
}
/* keep the headline breathing above, tighten the supporting lines below it */
.hero-copy .hero-lede { margin-top: 4px; }
.hero-copy .hero-lede-sub { margin-top: -6px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(46px, 6vw, 86px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero h1 .dot { color: var(--lime); }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--lime);
}
.hero-kicker::before, .hero-kicker::after { content: ""; width: 22px; height: 2px; background: var(--lime); border-radius: 2px; opacity: .8; }
.hero-lede { font-size: 19.5px; line-height: 1.6; color: #C2CEE3; max-width: 64ch; text-wrap: pretty; }
.hero-lede-sub { font-size: 16.5px; line-height: 1.65; color: #8DA0C2; max-width: 60ch; text-wrap: pretty; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; padding-top: 4px; }

.hero-stage {
  max-width: 1280px;
  margin: 0 auto -76px;     /* overlap the dashboard card ~75px into the next (white) section */
  padding: 0 32px;
  position: relative;
  z-index: 2;               /* float the card above the next section */
}
.hero-stage::before {
  content: "";
  position: absolute;
  pointer-events: none;
  left: 50%; transform: translateX(-50%);
  top: -40px;
  width: 92%; height: 220px;
  background: radial-gradient(60% 100% at 50% 0, rgba(168, 207, 54, .22), transparent 70%);
  filter: blur(28px);
  z-index: 0;
}
.hero-fold { position: relative; z-index: 1; }
.hero-fold {
  aspect-ratio: 1180 / 996;        /* full executive dashboard, shown in its entirety (no pan) */
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--r);
  /* floating product-showcase card: thin neutral border + large soft low-opacity shadow,
     reads cleanly where the card overlaps the white section below */
  border: 1px solid rgba(148, 163, 184, .25);
  box-shadow:
    0 2px 8px rgba(15, 23, 42, .06),
    0 30px 64px -28px rgba(15, 23, 42, .30);
}
.hero-fold img { display: block; width: 100%; height: auto; }
.hero-fold .hero-anim { display: block; width: 100%; height: 100%; border: 0; background: transparent; }

/* ============ Sections ============ */
.section { padding: 128px 0; }
.section-head { max-width: 800px; display: flex; flex-direction: column; gap: 18px; margin-bottom: 72px; }
.section-head h2 { font-size: clamp(34px, 3.6vw, 48px); font-weight: 800; line-height: 1.08; }
.section-head .lede { font-size: 18px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
section[id] { scroll-margin-top: 90px; }

/* ============ Problem ============ */
.problem { background: var(--white); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.pain {
  border-top: 1px solid var(--s200);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.pain::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 34px; height: 2px;
  background: var(--navy);
}
.pain h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.pain p { font-size: 14.5px; color: var(--s500); text-wrap: pretty; }

/* ============ One platform ============ */
.platform { background: var(--s50); border-top: 1px solid var(--s100); border-bottom: 1px solid var(--s100); }
.platform-stage { max-width: 1020px; margin: 0 auto; position: relative; }
.platform-stage .chip-1 { left: -34px; top: 56px; }
.platform-stage .chip-2 { right: -30px; top: 168px; }
.platform-stage .chip-3 { left: 8%; bottom: -26px; }
.platform-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--s400);
  font-weight: 600;
  margin-top: 56px;
}

/* ============ V.A.C. values ============ */
.values { background: var(--white); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.value {
  border-top: 1px solid var(--s200);
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.value::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 34px; height: 2px;
  background: var(--lime);
}
.value h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.025em; }
.value .v-tag { font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--lime-ink); }
.value p { font-size: 15px; color: var(--s500); text-wrap: pretty; }

/* ============ Reporting (dark) ============ */
.reporting { background: var(--navy-deep); color: #93A4C4; position: relative; overflow: hidden; }
.reporting::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(168, 207, 54, .09), transparent 70%);
  bottom: -380px; right: -260px;
  pointer-events: none;
}
.reporting h2 { color: var(--white); }
.reporting .lede { color: #93A4C4; }
.reporting-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}
.reporting .shot { box-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 24px 70px rgba(0, 0, 0, .55); background: var(--navy-2); }

/* Auto-panning report frame */
.shot-scroll { aspect-ratio: 16 / 10.4; }
.shot-scroll img { position: absolute; top: 0; left: 0; width: 100%; height: auto; will-change: transform; }
.shot-scroll .scroll-hint {
  position: absolute;
  top: 14px; right: 12px;
  width: 4px;
  height: 56px;
  border-radius: 4px;
  background: rgba(15, 23, 42, .12);
  overflow: hidden;
  opacity: 0;
  transition: opacity .4s ease;
}
.shot-scroll .scroll-hint::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 38%;
  border-radius: 4px;
  background: rgba(15, 23, 42, .42);
}
@media (prefers-reduced-motion: no-preference) {
  body[data-motion="on"] .shot-scroll.in-view img { animation: report-pan 17s cubic-bezier(.5, 0, .5, 1) infinite; }
  body[data-motion="on"] .shot-scroll.in-view .scroll-hint { opacity: 1; }
  body[data-motion="on"] .shot-scroll.in-view .scroll-hint::after { animation: report-thumb 17s cubic-bezier(.5, 0, .5, 1) infinite; }
}
@keyframes report-pan {
  0%, 9%    { transform: translateY(0); }
  45%, 55%  { transform: translateY(-19%); }
  91%, 100% { transform: translateY(0); }
}
@keyframes report-thumb {
  0%, 9%    { top: 0; }
  45%, 55%  { top: 56%; }
  91%, 100% { top: 0; }
}
.q-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; }
.q-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 2px;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--s200);
  letter-spacing: -0.01em;
}
.q-list li:first-child { border-top: 1px solid rgba(148, 163, 184, .18); }
.q-list li span { color: var(--lime); font-size: 13px; font-weight: 800; flex: none; }
.reporting-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.reporting-copy h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; line-height: 1.1; }
.reporting-copy .answer { font-size: 15.5px; color: #8DA0C2; text-wrap: pretty; }
.reporting-copy .answer b { color: var(--white); font-weight: 700; }

/* ============ Leadership ============ */
.leadership { background: var(--white); padding: 150px 0; }
.leader-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
  margin-top: 8px;
}
.leader {
  border-top: 1px solid var(--s200);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  position: relative;
}
.leader::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 34px; height: 2px;
  background: var(--navy);
}
.leader h3 { font-size: 17.5px; font-weight: 700; letter-spacing: -0.015em; }
.leader p { font-size: 14px; color: var(--s500); text-wrap: pretty; }
.leader-metrics {
  margin-top: 88px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
  align-items: center;
}
.leader-metrics .lm-copy { display: flex; flex-direction: column; gap: 14px; }
.leader-metrics h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; line-height: 1.15; }
.leader-metrics p { font-size: 15.5px; color: var(--s500); text-wrap: pretty; max-width: 44ch; }
.lm-shots { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.lm-shots .shot:last-child { margin-top: 44px; }

/* ============ CTA ============ */
.cta-sec { background: var(--navy-deep); color: #93A4C4; position: relative; overflow: hidden; }
.cta-sec::before {
  content: "";
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(168, 207, 54, .13), transparent 70%);
  top: -400px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; padding: 40px 0; position: relative; }
.cta-inner h2 { color: var(--white); font-size: clamp(34px, 4vw, 54px); font-weight: 800; letter-spacing: -0.03em; max-width: 22ch; }
.cta-inner .lede { color: #93A4C4; max-width: 52ch; font-size: 17px; }
.cta-note { font-size: 13.5px; color: var(--s500); font-weight: 600; }

/* ============ Footer ============ */
.footer { background: var(--navy-deep); border-top: 1px solid rgba(148, 163, 184, .12); padding: 56px 0 44px; color: var(--s400); }
.footer-grid { display: flex; align-items: flex-start; gap: 48px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 360px; margin-right: auto; }
.footer-brand img { width: 188px; }
.footer-brand p { font-size: 13.5px; color: var(--s500); line-height: 1.6; }
.footer-links { display: flex; gap: 56px; }
.footer-links .col { display: flex; flex-direction: column; gap: 11px; }
.footer-links .col-label {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--s500);
  margin-bottom: 4px;
}
.footer-links a { font-size: 14px; color: var(--s400); }
.footer-links a:hover { color: var(--white); }
.footer-base {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, .1);
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12.5px;
  color: var(--s500);
}
.footer-base .spacer { margin-left: auto; }

/* ============ Demo modal ============ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(11, 19, 34, .62);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-shadow: 0 30px 90px rgba(11, 19, 34, .45);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--s200);
  background: var(--white);
  color: var(--s500);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: var(--navy); border-color: var(--s300); }
.modal-close svg { width: 16px; height: 16px; }
.modal-head { padding: 34px 36px 0; display: flex; flex-direction: column; gap: 8px; }
.modal-head h3 { font-size: 24px; font-weight: 800; }
.modal-head p { font-size: 14.5px; color: var(--s500); }
.modal-form { padding: 26px 36px 36px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; color: var(--s700); }
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--navy);
  border: 1px solid var(--s300);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--white);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
  box-sizing: border-box;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--lime-press);
  box-shadow: 0 0 0 3px rgba(168, 207, 54, .25);
}
.field.invalid input, .field.invalid select { border-color: #EF4444; }
.field .err { display: none; font-size: 12px; color: #B91C1C; font-weight: 600; }
.field.invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-form .btn { margin-top: 6px; width: 100%; }
.form-fine { font-size: 12px; color: var(--s400); text-align: center; }

.modal-success { padding: 56px 40px 52px; display: none; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.modal.done .modal-head, .modal.done .modal-form { display: none; }
.modal.done .modal-success { display: flex; }
.success-badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(168, 207, 54, .2);
  color: var(--lime-press);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.success-badge svg { width: 30px; height: 30px; }
.modal-success h3 { font-size: 22px; font-weight: 800; }
.modal-success p { font-size: 14.5px; color: var(--s500); max-width: 36ch; }

/* ============ Shared dark section ============ */
.sec-dark { background: var(--navy-deep); color: #93A4C4; position: relative; overflow: hidden; }
.sec-dark h2, .sec-dark h3 { color: var(--white); }
.sec-dark .lede { color: #93A4C4; }
.sec-dark .section-head { margin-bottom: 56px; }
.sec-dark::before {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 760px; height: 760px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(168, 207, 54, .08), transparent 70%);
}

/* ============ What it is — Built for workforce programs ============ */
.whatis { padding: 156px 0; }
.whatis::before { top: -380px; right: -300px; }
.whatis-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 80px;
  align-items: center;
  margin-bottom: 88px;
}
.whatis-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.whatis-copy h2 { font-size: clamp(38px, 4.1vw, 56px); font-weight: 800; line-height: 1.04; }
.whatis-copy .lede { font-size: 19px; }
.whatis-media { position: relative; }
/* Operational-photo slot — swap .media-ph for <img class="media-img"> when real photography is available */
.whatis-media .media-ph,
.whatis-media .media-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 24px 70px rgba(0, 0, 0, .5);
}
.whatis-media .media-img { object-fit: cover; display: block; height: auto; }
.whatis-media .media-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 32px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(120% 90% at 50% 0, rgba(168, 207, 54, .08), transparent 60%),
    linear-gradient(160deg, #16223C 0%, var(--navy-deep) 70%);
  border: 1px solid rgba(148, 163, 184, .16);
}
.whatis-media .media-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(120% 90% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.whatis-media .media-ph-icon { width: 54px; height: 54px; color: var(--lime); position: relative; opacity: .9; }
.whatis-media .media-ph-label {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  position: relative;
}
.whatis-media .media-ph-sub {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #8DA0C2;
  position: relative;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature {
  background: linear-gradient(180deg, rgba(30, 41, 59, .55), rgba(15, 23, 42, .35));
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 16px;
  padding: 34px 30px 38px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature .f-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(168, 207, 54, .12);
  border: 1px solid rgba(168, 207, 54, .28);
  display: flex; align-items: center; justify-content: center;
  color: var(--lime);
}
.feature .f-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -0.015em; }
.feature p { font-size: 14px; color: #8DA0C2; text-wrap: pretty; }

/* ============ Multi-vendor ============ */
.multivendor::before { bottom: -400px; left: -280px; }
.mv-positioning {
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--lime);
  margin-top: 2px;
}
.vendor-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.vendor-tile { display: flex; flex-direction: column; gap: 14px; }
.vendor-tile .v-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 18px 48px rgba(0, 0, 0, .45);
}
.vendor-tile .v-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.vendor-tile .v-label::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--lime); flex: none; }

/* ============ Payroll & reconciliation ============ */
.payroll::before { top: -360px; left: -280px; }
.payroll-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 72px;
  align-items: center;
}
.payroll-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.payroll-copy h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; line-height: 1.1; }
.payroll-copy .answer { font-size: 15.5px; color: #8DA0C2; text-wrap: pretty; }
.payroll-copy .answer b { color: var(--white); font-weight: 700; }
.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.kpi-card {
  background: linear-gradient(180deg, rgba(30, 41, 59, .6), rgba(15, 23, 42, .4));
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 16px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kpi-card .k-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8DA0C2;
}
.kpi-card .k-value {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.kpi-card .k-sub { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--s400); font-weight: 600; }
.kpi-card .k-sub .up { color: var(--lime); display: inline-flex; }
.kpi-card .k-sub .up svg { width: 13px; height: 13px; }
.kpi-card .k-bar { height: 5px; border-radius: 3px; background: rgba(148, 163, 184, .18); overflow: hidden; margin-top: 2px; }
.kpi-card .k-bar i { display: block; height: 100%; border-radius: 3px; background: var(--lime); }

/* Animated payroll & reconciliation figures — count-ups handled in site.js.
   Final (filled) state is the default; the bar is only emptied once JS arms it,
   so it stays correct when motion is off, reduced, or JS is unavailable. */
@media (prefers-reduced-motion: no-preference) {
  body[data-motion="on"] .kpi-grid.figs-armed .k-bar i { transform-origin: left center; }
  /* emptied instantly while waiting (no below-fold animation) ... */
  body[data-motion="on"] .kpi-grid.figs-armed:not(.figs-in) .k-bar i { transform: scaleX(0); }
  /* ... then fills once the section scrolls into view */
  body[data-motion="on"] .kpi-grid.figs-armed.figs-in .k-bar i {
    transform: scaleX(1);
    transition: transform 1.3s cubic-bezier(.3, .7, .2, 1) .25s;
  }
}

/* ============ Footer ecosystem note ============ */
.footer-eco {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--s500);
  font-weight: 600;
}
.footer-eco b { color: var(--s300); font-weight: 700; }

/* ============ Reveal motion ============ */
@media (prefers-reduced-motion: no-preference) {
  body[data-motion="on"] .will-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .65s cubic-bezier(.22, .8, .3, 1), transform .65s cubic-bezier(.22, .8, .3, 1);
  }
  body[data-motion="on"] .will-reveal.revealed { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .pain-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .leader-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .reporting-grid, .leader-metrics, .whatis-split, .payroll-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .vendor-collage { grid-template-columns: 1fr 1fr; gap: 18px; }
  .section { padding: 88px 0; }
  .leadership { padding: 100px 0; }
  .platform-stage .chip-1 { left: 8px; }
  .platform-stage .chip-2 { right: 8px; }
}
@media (max-width: 680px) {
  .pain-grid, .values-grid, .leader-grid, .feature-grid, .kpi-grid { grid-template-columns: 1fr; }
  .vendor-collage { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding: 28px 0 28px; }
}
