/* ==========================================================================
   site-updates.css — styles for the sections added or reshaped by the
   Altruist BPM website blueprint. Loaded after the other stylesheets and
   built on the same tokens (modules/tokens.css).
   ========================================================================== */

/* ── Footer: five columns (logo, quick links, services, about, contact) ── */
.footer-main.footer-main--5 { grid-template-columns: 1.8fr 1fr 1.1fr 1fr 1.3fr; gap: 40px; }
.footer-tagline { color: #fff; font-weight: 700; font-size: 16.5px; margin: 0 0 10px; letter-spacing: .01em; }
@media (max-width: 1100px) { .footer-main.footer-main--5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px)  { .footer-main.footer-main--5 { grid-template-columns: 1fr; } }

/* ── Home: impact tile with a text figure (80L / 22L) ─────────────────── */
.impact-stats .stat .stat-text-figure { white-space: nowrap; }
.impact-stats .stat .stat-text-figure small { font-size: .6em; opacity: .55; margin: 0 2px; }

/* ── Home: bigger, sector-specific icon on each industry card ─────────── */
.ind-sector-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 14px;
  border-radius: 14px; background: var(--light-tint); color: var(--primary);
  font-size: 26.5px; transition: background .3s, color .3s, transform .3s;
}
.ind-card:hover .ind-sector-icon { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ── Careers: three-column feature boxes ──────────────────────────────── */
.careers-features-grid.careers-features-grid--3 { grid-template-columns: repeat(3, 1fr); }
.careers-features-grid--3 .careers-feature-card p { margin-bottom: 0; }
@media (max-width: 1100px) { .careers-features-grid.careers-features-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px)  { .careers-features-grid.careers-features-grid--3 { grid-template-columns: 1fr; } }

/* ── About: Our Journey timeline ──────────────────────────────────────── */
.journey {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative;
}
.journey::before {
  content: ''; position: absolute; left: 0; right: 0; top: 54px; height: 2px;
  background: linear-gradient(90deg, var(--light-tint), var(--primary), var(--light-tint));
}
.journey-item { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.journey-year { font-size: 29.5px; font-weight: 900; color: var(--dark-bg); line-height: 1; margin-bottom: 14px; }
.journey-dot {
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  border: 3px solid var(--primary); box-shadow: 0 0 0 5px var(--light-tint);
  margin-bottom: 18px; position: relative; z-index: 1;
}
.journey-item:last-child .journey-dot { background: var(--primary); }
.journey-card {
  background: #fff; border: 1.5px solid var(--grey-200); border-radius: 14px;
  padding: 18px 18px 20px; height: 100%;
}
.journey-card h3 { font-size: 17.5px; font-weight: 800; color: var(--primary); margin: 0 0 8px; }
.journey-card p { font-size: 15.5px; line-height: 1.6; color: var(--grey-700); margin: 0; }
@media (max-width: 1100px) {
  .journey { grid-template-columns: 1fr; gap: 0; padding-left: 28px; }
  .journey::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--light-tint), var(--primary), var(--light-tint)); }
  .journey-item { padding-bottom: 22px; }
  .journey-dot { position: absolute; left: -28px; top: 4px; margin: 0; }
  .journey-year { font-size: 24px; margin-bottom: 10px; }
}

/* ── Services overview: lifecycle diagram (one set, with descriptions) ── */
.lc-diagram {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: lc;
}
.lc-step {
  position: relative; background: #fff; border: 1.5px solid var(--grey-200); border-radius: 16px;
  padding: 26px 20px 24px; text-align: center;
}
/* arrow connecting each stage to the next */
.lc-step:not(:last-child)::after {
  content: ''; position: absolute; top: 50px; right: -14px; z-index: 2;
  width: 10px; height: 10px; border-top: 2.5px solid var(--primary); border-right: 2.5px solid var(--primary);
  transform: rotate(45deg); background: transparent;
}
.lc-num { position: absolute; top: 14px; left: 16px; font-size: 14px; font-weight: 800; color: var(--grey-500); letter-spacing: .1em; }
.lc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--light-tint); color: var(--primary);
}
.lc-icon svg { width: 28px; height: 28px; }
.lc-step h3 { font-size: 18.5px; font-weight: 800; color: var(--dark-bg); margin: 0 0 8px; }
.lc-step p { font-size: 15.5px; line-height: 1.6; color: var(--grey-700); margin: 0; }
@media (max-width: 1100px) {
  .lc-diagram { grid-template-columns: 1fr 1fr; }
  .lc-step:not(:last-child)::after { display: none; }
}
@media (max-width: 575px) { .lc-diagram { grid-template-columns: 1fr; } }

.process-prose { max-width: 960px; }

/* ── Services overview: advantage boxes ───────────────────────────────── */
.adv-box-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.adv-box { background: #fff; border: 1.5px solid var(--grey-200); border-radius: 16px; padding: 28px 24px; }
.adv-box-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; background: var(--primary); color: #fff; margin-bottom: 16px;
}
.adv-box-icon svg { width: 24px; height: 24px; }
.adv-box h3 { font-size: 20px; font-weight: 800; color: var(--dark-bg); margin: 0 0 8px; }
.adv-box p { font-size: 16px; line-height: 1.6; color: var(--grey-700); margin: 0; }
@media (max-width: 991px) { .adv-box-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .adv-box-grid { grid-template-columns: 1fr; } }

/* ── IT services: intro without the empty side box + one answer card ─── */
.itservices-intro-grid.itservices-intro-grid--single { grid-template-columns: 1fr; max-width: 920px; }
.itservices-feature-card {
  display: flex; gap: 28px; align-items: flex-start;
  background: #fff; border: 1.5px solid var(--grey-200); border-radius: 18px; padding: 36px;
}
.itservices-feature-card .itservices-card-icon { flex: 0 0 auto; }
.itservices-feature-title { font-size: 27.5px; font-weight: 900; color: var(--dark-bg); margin: 0 0 12px; line-height: 1.25; }
@media (max-width: 767px) { .itservices-feature-card { flex-direction: column; padding: 26px; } .itservices-feature-title { font-size: 23px; } }

/* ── Locations: offices grouped by zone (no map) ──────────────────────── */
.locations-zone + .locations-zone { margin-top: 48px; }
.locations-zone-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-bottom: 2px solid var(--grey-200); padding-bottom: 12px; margin-bottom: 22px;
}
.locations-zone-head h2 { font-size: 26.5px; font-weight: 900; color: var(--dark-bg); margin: 0; }
.locations-zone-head h2::before {
  content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--primary); margin-right: 10px; vertical-align: middle;
}
.locations-zone-head span { font-size: 15.5px; color: var(--grey-500); }
.locations-zone .location-card { cursor: default; }

/* ── Verticals: industries as boxes instead of a hover list ───────────── */
.ix-list.ix-list--boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ix-list--boxes .ix-row {
  grid-template-columns: auto 1fr; grid-template-areas: 'mark name';
  column-gap: 18px; row-gap: 0; align-items: center;
  background: #fff; border: 1.5px solid var(--grey-200); border-radius: 16px;
  padding: 22px; transition: none;
}
.ix-list--boxes .ix-row::before, .ix-list--boxes .ix-row::after { display: none; }
.ix-list--boxes .ix-row:hover { padding-left: 22px; }
.ix-list--boxes .ix-name { grid-area: name; font-size: 21px; line-height: 1.3; margin: 0; }
.ix-list--boxes .ix-mark { grid-area: mark; align-self: center; }
.ix-list--boxes .ix-row:hover .ix-name,
.ix-list--boxes .ix-row:hover .ix-icon { transform: none; }
.ix-list--boxes .ix-row:hover .ix-name { color: inherit; }
@media (max-width: 991px) { .ix-list.ix-list--boxes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) {
  .ix-list.ix-list--boxes { grid-template-columns: 1fr; }
  .ix-list--boxes .ix-row { grid-template-columns: auto 1fr; padding: 18px; }
  .ix-list--boxes .ix-name { font-size: 18.5px; }
}

/* ── Technology & AI ──────────────────────────────────────────────────── */
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.platform-grid.platform-grid--3 { grid-template-columns: repeat(3, 1fr); }
.platform-card {
  display: flex; flex-direction: column; background: #fff; color: inherit; text-decoration: none;
  border: 1.5px solid var(--grey-200); border-radius: 18px; padding: 28px 24px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.platform-card:hover { border-color: var(--primary); box-shadow: 0 18px 40px -22px rgba(24,119,242,.45); transform: translateY(-3px); color: inherit; }
.platform-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px; background: var(--light-tint); color: var(--primary);
  font-size: 26.5px; margin-bottom: 18px;
}
.platform-card-icon--lg { width: 84px; height: 84px; font-size: 38px; border-radius: 22px; flex: 0 0 auto; }
.platform-card h3 { font-size: 23px; font-weight: 900; color: var(--dark-bg); margin: 0 0 8px; }
.platform-card p { font-size: 16.5px; line-height: 1.6; color: var(--grey-700); margin: 0 0 18px; flex: 1; }
.platform-card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15.5px; color: var(--primary); }
@media (max-width: 1100px) { .platform-grid, .platform-grid.platform-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px)  { .platform-grid, .platform-grid.platform-grid--3 { grid-template-columns: 1fr; } }

.platform-intro { display: flex; gap: 32px; align-items: flex-start; max-width: 1000px; }
@media (max-width: 767px) { .platform-intro { flex-direction: column; gap: 18px; } }

.platform-impact {
  margin-top: 40px; border-radius: 20px; padding: 28px 32px;
  background: var(--dark-bg); color: #fff;
}
.platform-impact-label { display: block; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.platform-impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.platform-impact-item strong { display: block; font-size: 40.5px; font-weight: 900; line-height: 1; color: #fff; }
.platform-impact-item span { display: block; margin-top: 8px; font-size: 15.5px; color: rgba(255,255,255,.72); }
@media (max-width: 767px) { .platform-impact-grid { grid-template-columns: 1fr 1fr; } .platform-impact-item strong { font-size: 32px; } }

.platform-sub-title { font-size: 22px; font-weight: 800; color: var(--dark-bg); margin: 40px 0 16px; }
.platform-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.platform-steps li {
  display: flex; gap: 12px; align-items: flex-start; background: var(--off-white);
  border: 1.5px solid var(--grey-200); border-radius: 14px; padding: 18px; font-size: 16.5px; color: var(--grey-700); line-height: 1.5;
}
.platform-steps li span {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15.5px;
}
@media (max-width: 991px) { .platform-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .platform-steps { grid-template-columns: 1fr; } }

.platform-feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 28px; }
.platform-feature { background: #fff; border: 1.5px solid var(--grey-200); border-radius: 16px; padding: 24px 22px; }
.platform-feature-num { font-size: 14px; font-weight: 800; letter-spacing: .1em; color: var(--primary); }
.platform-feature h3 { font-size: 20px; font-weight: 800; color: var(--dark-bg); margin: 8px 0 6px; }
.platform-feature p { font-size: 16px; line-height: 1.6; color: var(--grey-700); margin: 0; }
.platform-extra { margin-top: 28px; padding: 24px 28px; border-left: 4px solid var(--primary); background: var(--light-tint); border-radius: 0 14px 14px 0; }
.platform-extra h3 { font-size: 20px; font-weight: 800; color: var(--dark-bg); margin: 0 0 6px; }
.platform-extra p { margin: 0; color: var(--grey-700); line-height: 1.7; }

.platform-compare { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 620px; }
.platform-compare th, .platform-compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--grey-200); font-size: 16.5px; line-height: 1.5; }
.platform-compare thead th { font-size: 14.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-500); }
.platform-compare thead th.is-with { color: var(--primary); }
.platform-compare tbody th { font-weight: 800; color: var(--dark-bg); width: 22%; }
.platform-compare td { color: var(--grey-700); }
.platform-compare td.is-with { background: var(--light-tint); color: var(--dark-bg); font-weight: 600; }

.platform-usecases { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.platform-usecases li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; color: var(--grey-700); line-height: 1.55; }
.platform-usecases li i { color: var(--primary); margin-top: 4px; }
@media (max-width: 767px) { .platform-usecases { grid-template-columns: 1fr; } }

/* ── Services Offered: moving customer banner ─────────────────────────── */
.logo-marquee-section { padding: 56px 0 64px; background: var(--off-white); border-top: 1px solid var(--grey-200); }
.logo-marquee-title { text-align: center; font-size: 27.5px; font-weight: 900; color: var(--dark-bg); margin: 0 0 28px; }
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee-track {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; width: max-content;
  animation: logo-marquee 32s linear infinite;
}
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
.logo-marquee-item {
  flex: 0 0 auto; height: 76px; min-width: 190px; padding: 0 28px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--grey-200); border-radius: 14px;
}
.logo-marquee-item img { max-height: 40px; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.logo-marquee-item:hover img { filter: none; opacity: 1; }
.logo-marquee-item span { font-size: 20px; font-weight: 800; color: var(--grey-700); letter-spacing: -.01em; white-space: nowrap; }
@keyframes logo-marquee { to { transform: translateX(calc(-50% - 10px)); } }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .logo-marquee-item[aria-hidden="true"] { display: none; }
}


/* ==========================================================================
   Round 2: "Further changes needed for website" (Oct 2026)
   ========================================================================== */

/* ── Home: Our Values as the section header, "Principles" highlighted ─── */
.values-title {
  font-size: 46px; font-weight: 900; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--dark-bg); margin: 0 0 12px;
}
.values-subtitle { font-size: 24px; font-weight: 700; color: var(--grey-700); margin: 0 0 18px; line-height: 1.35; }
.values-subtitle .hl-word { color: var(--primary); }
@media (max-width: 767px) { .values-title { font-size: 34px; } .values-subtitle { font-size: 20px; } }

/* Bigger, purpose-drawn value icons */
.value-card .value-icon {
  width: 76px; height: 76px; border-radius: 20px; margin-bottom: 22px;
  background: linear-gradient(140deg, #EBF3FF 0%, #D6E7FF 100%);
  box-shadow: inset 0 0 0 1px rgba(24,119,242,.12);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.value-card .value-icon svg { width: 42px; height: 42px; }
.value-card:hover .value-icon { background: var(--primary); color: #fff; transform: translateY(-2px) rotate(-3deg); }

/* ── Home: industries use a photo, no icons ───────────────────────────── */
.ind-photo {
  position: relative; margin: 14px 14px 4px; height: 190px;
  border-radius: 16px; overflow: hidden; background: var(--light-tint);
}
.ind-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.ind-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11,29,58,.28) 100%);
}
.ind-card:hover .ind-photo img { transform: scale(1.06); }
.ind-card .ind-body { padding-top: 14px; }

/* ── Home: End-to-End Services, one card structure for every service ─── */
.svc-grid-v2 > .svc-new-card:not(.svc-new-full) { flex-direction: column; }
.svc-grid-v2 .svc-new-card:not(.svc-new-full) .svc-new-visual {
  position: static; width: auto; height: 170px; border-radius: 0;
  background: linear-gradient(160deg, #F3F8FF 0%, #E3EEFF 100%);
  border-bottom: 1.5px solid var(--grey-200);
}
.svc-grid-v2 .svc-new-card:not(.svc-new-full) .svc-new-svg { width: 70%; max-width: 210px; height: 130px; }
.svc-grid-v2 .svc-new-card:not(.svc-new-full) .svc-new-body { padding: 24px 26px 26px; }
.svc-grid-v2 .svc-new-body p { flex: 1; }
.svc-grid-v2 .svc-new-explore { margin-top: 18px; padding-top: 16px; }
.svc-grid-v2 .svc-new-svg { transition: transform .4s cubic-bezier(.16,1,.3,1); }
.svc-grid-v2 .svc-new-card:hover .svc-new-svg { transform: scale(1.04); }
@media (max-width: 1100px) {
  .svc-grid-v2.svc-new-grid > .svc-new-card { grid-column: auto; }
  .svc-grid-v2.svc-new-grid > .svc-new-full { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .svc-grid-v2.svc-new-grid { grid-template-columns: 1fr; } }

/* ── Home: Why Altruist, six reasons in a full-width grid ──────────── */
.why-v2 { margin-top: 40px; }
.why-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  background: #fff; border: 1.5px solid var(--grey-200); border-radius: 16px; padding: 22px 20px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.why-card:hover { border-color: rgba(24,119,242,.35); box-shadow: 0 16px 36px -20px rgba(24,119,242,.45); transform: translateY(-3px); }
.why-card-icon {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--light-tint); color: var(--primary); font-size: 21px;
}
.why-card h3 { font-size: 18.5px; font-weight: 800; color: var(--dark-bg); margin: 2px 0 6px; line-height: 1.3; }
.why-card p { font-size: 15.5px; line-height: 1.6; color: var(--grey-700); margin: 0; }
@media (max-width: 991px) { .why-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .why-cards { grid-template-columns: 1fr; } }

/* Testimonials: slightly larger avatars */
.testi-avatar { width: 52px; height: 52px; }

/* ── About: pillar numbers readable ───────────────────────────────────── */
.about-feature-card .about-feature-num { color: var(--primary); opacity: .9; font-size: 44px; }

/* ── About: Altruist India, photo, stats and city list ────────────────── */
.altruist-india-section { align-items: stretch; }
.altruist-india-side { display: flex; flex-direction: column; gap: 18px; }
.altruist-india-photo { position: relative; margin: 0; border-radius: 18px; overflow: hidden; height: 240px; }
.altruist-india-photo img { width: 100%; height: 100%; object-fit: cover; }
.altruist-india-photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.94); color: var(--dark-bg); font-weight: 700; font-size: 14.5px;
  padding: 8px 14px; border-radius: 999px; box-shadow: 0 8px 24px rgba(11,29,58,.18);
}
.altruist-india-photo figcaption i { color: var(--primary); }
.altruist-india-side .altruist-india-features { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.altruist-india-side .altruist-feature { flex-direction: column; gap: 10px; padding: 18px 16px; }
.altruist-india-side .altruist-feature-icon { width: 42px; height: 42px; }
.altruist-india-side .altruist-feature-icon i { font-size: 18px; }
.altruist-india-side .altruist-feature-text strong { font-size: 28px; font-weight: 900; color: var(--primary); line-height: 1.1; }
.altruist-india-side .altruist-feature-text span { font-size: 14.5px; }
.altruist-india-cities { background: var(--off-white); border-radius: 16px; padding: 18px 20px; }
.altruist-india-cities-label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 12px; }
.altruist-india-cities ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.altruist-india-cities li {
  font-size: 15px; font-weight: 700; color: var(--dark-bg);
  background: #fff; border: 1.5px solid var(--grey-200); border-radius: 999px; padding: 6px 14px;
}
@media (max-width: 991px) { .altruist-india-section { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 575px) { .altruist-india-side .altruist-india-features { grid-template-columns: 1fr 1fr; } }

/* ── About: Our Journey as a map (road with alternating milestones) ───── */
.jmap { margin-top: 56px; overflow-x: auto; padding-bottom: 8px; }
.jmap-track {
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(6, minmax(170px, 1fr)); column-gap: 16px;
  grid-template-rows: auto 64px auto; min-width: 1080px;
}
/* the road */
.jmap-track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 14px; transform: translateY(-50%);
  border-radius: 999px; background: linear-gradient(90deg, #BBD6FF, var(--primary) 60%, var(--dark-bg));
  box-shadow: 0 6px 18px rgba(24,119,242,.25);
}
.jmap-track::after {
  content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 0; transform: translateY(-50%);
  border-top: 2px dashed rgba(255,255,255,.75);
}
.jmap-step { display: contents; }
.jmap-card {
  background: #fff; border: 1.5px solid var(--grey-200); border-radius: 16px; padding: 18px 18px 20px;
  box-shadow: 0 14px 34px -24px rgba(11,29,58,.35); position: relative; z-index: 1;
}
.jmap-step--top .jmap-card { grid-row: 1; align-self: end; margin-bottom: 18px; }
.jmap-step--bottom .jmap-card { grid-row: 3; align-self: start; margin-top: 18px; }
.jmap-step:nth-child(1) > * { grid-column: 1; }
.jmap-step:nth-child(2) > * { grid-column: 2; }
.jmap-step:nth-child(3) > * { grid-column: 3; }
.jmap-step:nth-child(4) > * { grid-column: 4; }
.jmap-step:nth-child(5) > * { grid-column: 5; }
.jmap-step:nth-child(6) > * { grid-column: 6; }
.jmap-year {
  grid-row: 2; justify-self: center; align-self: center; position: relative; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 78px; height: 44px; padding: 0 14px; border-radius: 999px;
  background: #fff; border: 3px solid var(--primary); color: var(--dark-bg);
  font-size: 18px; font-weight: 900; box-shadow: 0 0 0 6px rgba(24,119,242,.12);
}
.jmap-step--current .jmap-year { background: var(--primary); color: #fff; }
.jmap-step--current .jmap-card { border-color: var(--primary); }
/* stem joining each card to the road */
.jmap-stem { grid-row: 2; justify-self: center; width: 2px; background: var(--primary); opacity: .45; position: relative; z-index: 0; }
.jmap-step--top .jmap-stem { align-self: start; height: calc(50% + 18px); margin-top: -18px; }
.jmap-step--bottom .jmap-stem { align-self: end; height: calc(50% + 18px); margin-bottom: -18px; }
.jmap-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px;
  background: var(--light-tint); color: var(--primary); font-size: 18px;
}
.jmap-step--current .jmap-icon { background: var(--primary); color: #fff; }
.jmap-card h3 { font-size: 18px; font-weight: 800; color: var(--dark-bg); margin: 0 0 6px; }
.jmap-card p { font-size: 15px; line-height: 1.6; color: var(--grey-700); margin: 0; }

/* phones and small tablets: the road runs vertically */
@media (max-width: 991px) {
  .jmap { overflow: visible; }
  .jmap-track { display: block; min-width: 0; padding-left: 64px; }
  .jmap-track::before { left: 22px; right: auto; top: 0; bottom: 0; width: 10px; height: auto; transform: none;
    background: linear-gradient(180deg, #BBD6FF, var(--primary) 60%, var(--dark-bg)); }
  .jmap-track::after { left: 26px; right: auto; top: 10px; bottom: 10px; width: 0; height: auto; transform: none;
    border-top: 0; border-left: 2px dashed rgba(255,255,255,.75); }
  .jmap-step { display: block; position: relative; padding: 0 0 22px; }
  .jmap-stem { display: none; }
  .jmap-year { position: absolute; left: -64px; top: 4px; min-width: 64px; height: 36px; font-size: 15px; padding: 0 8px; }
  .jmap-step--top .jmap-card, .jmap-step--bottom .jmap-card { margin: 0 0 0 14px; }
}

/* ── Careers: Why Work For Us, new icons and step labels ──────────────── */
.careers-features-v2 .careers-feature-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.careers-features-v2 .careers-feature-icon--v2 {
  width: 62px; height: 62px; border-radius: 18px; margin: 0;
  background: linear-gradient(140deg, var(--primary) 0%, #4C9BFF 100%); color: #fff; font-size: 26px;
  box-shadow: 0 12px 26px -12px rgba(24,119,242,.7);
  transition: transform .3s ease;
}
.careers-features-v2 .careers-feature-card:hover .careers-feature-icon--v2 { transform: translateY(-2px); }
.careers-features-v2 .careers-feature-step {
  font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--primary);
  background: var(--light-tint); border-radius: 999px; padding: 6px 12px;
}

/* ── Locations: zone head without counts ──────────────────────────────── */
.locations-zone-head span { font-size: 16px; font-weight: 600; color: var(--grey-700); }

/* ── Customer logo banner: logos in colour, larger tiles ──────────────── */
.logo-marquee-item { height: 92px; min-width: 210px; }
.logo-marquee-item img { max-height: 52px; max-width: 160px; filter: none; opacity: 1; }
.logo-marquee-item img[src$="cry.png"] { max-height: 70px; }

/* ── Executive team: single leader bio page ───────────────────────────── */
.leader-bio { padding: 60px 20px; max-width: 1100px; margin: 0 auto; font-family: Inter, sans-serif; }
.leader-bio-back { margin: 0 0 20px 5px; }
.leader-bio-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: #0056b3; font-size: 15.5px; font-weight: 700; text-decoration: none;
}
.leader-bio-link span { font-size: 18px; }
.leader-bio-card {
  display: flex; gap: 40px; background: #fff; padding: 40px; border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #f0f0f0;
}
.leader-bio-photo { flex: 0 0 320px; }
.leader-bio-photo img { display: block; width: 100%; height: auto; border-radius: 8px; object-fit: cover; }
.leader-bio-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.leader-bio-text {
  font-size: 16.5px; line-height: 1.8; color: #444; text-align: left;
  display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; overflow-wrap: break-word;
}
.leader-bio-footer { border-top: 1px solid #f0f0f0; padding-top: 20px; margin-top: auto; }
@media (max-width: 767px) {
  .leader-bio { padding: 36px 16px; }
  .leader-bio-card { flex-direction: column; gap: 24px; padding: 20px; }
  .leader-bio-photo { flex: none; width: 100%; max-width: 360px; margin: 0 auto; }
  .leader-bio-text { font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
}

/* ── Responsive safety net ────────────────────────────────────────────────
   Grid and flex children default to min-width:auto, so one long word, email
   or nowrap line can push a card wider than a phone screen. */
.contact-info-pills > *, .franchisee-gst-grid > * { min-width: 0; }
img, video, iframe { max-width: 100%; }
@media (max-width: 575px) {
  .contact-pill { padding: 16px 18px; }
  .contact-pill-value { white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 575px) {
  /* CTA banner: stack the icon above the text so the heading has room */
  .cta-left { flex-direction: column; gap: 14px; text-align: center; }
}

/* ── Home: Our Impact, What We Do and Why Altruist use the Our Values header style ── */
.impact-left .values-title { font-size: 46px; font-weight: 900; line-height: 1.1; color: var(--dark-bg); margin: 0 0 12px; }
.impact-left .values-subtitle { font-size: 24px; font-weight: 700; line-height: 1.35; color: var(--grey-700); margin: 0 0 18px; }
.sec-head .values-subtitle { margin-bottom: 0; }
@media (max-width: 767px) {
  .impact-left .values-title { font-size: 34px; }
  .impact-left .values-subtitle { font-size: 20px; }
}

/* ── Home: service cards use photos instead of vector art ── */
.svc-grid-v2 .svc-new-card:not(.svc-new-full) .svc-new-visual { height: 190px; padding: 0; background: var(--light-tint); }
.svc-new-photo { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.svc-grid-v2 .svc-new-card:hover .svc-new-photo { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .svc-grid-v2 .svc-new-card:hover .svc-new-photo { transform: none; } }

/* ── About: "Who We Are" is now the section heading ── */
.about-content h2.about-who-title { font-size: 46px; font-weight: 900; margin-bottom: 20px; }
@media (max-width: 991px) { .about-content h2.about-who-title { font-size: 38px; } }
@media (max-width: 575px) { .about-content h2.about-who-title { font-size: 32px; } }

/* ── About: Altruist India keeps only the photo on the side ── */
.altruist-india-side--photo .altruist-india-photo { height: 100%; min-height: 340px; }
@media (max-width: 991px) { .altruist-india-side--photo .altruist-india-photo { height: 280px; min-height: 0; } }

/* ── About: Our Journey (rolling year, glass card, wave timeline) ── */
.journey3 { position: relative; overflow: hidden; isolation: isolate; background: #071530; color: #fff; padding: 72px 0 64px; }
.journey3 .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* drifting colour glows + faint grid */
.j3-aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.j3-aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: j3-drift 18s ease-in-out infinite alternate; }
.j3-aurora span:nth-child(1) { width: 520px; height: 520px; background: #1877F2; top: -180px; right: -120px; }
.j3-aurora span:nth-child(2) { width: 420px; height: 420px; background: #3B2BD9; bottom: -200px; left: -140px; opacity: .35; animation-duration: 22s; }
.j3-aurora span:nth-child(3) { width: 300px; height: 300px; background: #00B4D8; top: 40%; left: 45%; opacity: .18; animation-duration: 26s; }
.j3-grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
@keyframes j3-drift { to { transform: translate(60px, 40px) scale(1.15); } }

/* header */
.j3-inner { position: relative; }
.j3-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.j3-head-text { max-width: 720px; }
.j3-head h2 { font-size: 52px; font-weight: 900; letter-spacing: -.03em; line-height: 1.02; margin: 0 0 12px; color: #fff; }
.j3-head p { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.7); margin: 0; }
.j3-controls { display: flex; align-items: center; gap: 12px; }
.j3-counter { display: flex; align-items: baseline; gap: 6px; margin-right: 14px; font-variant-numeric: tabular-nums; }
.j3-counter strong { font-size: 40px; font-weight: 900; line-height: 1; }
.j3-counter span { font-size: 16px; font-weight: 700; color: rgba(255,255,255,.45); }
.j3-btn {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04); color: #fff; font-size: 17px; cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s;
}
.j3-btn:hover:not(:disabled) { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.j3-btn:disabled { opacity: .3; cursor: default; }
.j3-btn:focus-visible, .j3-node:focus-visible { outline: 2px solid #7DB3FF; outline-offset: 4px; }

/* stage: rolling year + glass card */
.j3-stage { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; margin-top: 36px; }
.j3-ghost {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%); z-index: -1; pointer-events: none;
  font-size: 220px; font-weight: 900; line-height: 1; letter-spacing: -.05em; color: transparent;
  -webkit-text-stroke: 1.5px rgba(125,179,255,.12);
}
.j3-year { display: flex; font-size: 136px; font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.j3-digit { display: inline-block; height: 1em; overflow: hidden; }
.j3-digit-col { display: flex; flex-direction: column; transition: transform 1s cubic-bezier(.65,0,.35,1); }
.j3-digit-col span {
  display: block; height: 1em;
  background: linear-gradient(180deg, #fff 15%, #7DB3FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.j3-metric { display: flex; align-items: center; gap: 14px; margin-top: 10px; animation: j3-rise .6s .25s cubic-bezier(.16,1,.3,1) both; }
.j3-metric strong { font-size: 34px; font-weight: 900; color: #7DB3FF; line-height: 1; }
.j3-metric span { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); padding-left: 14px; border-left: 2px solid rgba(255,255,255,.2); }

.j3-card {
  position: relative; padding: 26px 32px; border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
  animation: j3-card-in .7s cubic-bezier(.16,1,.3,1) both;
}
.j3-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(125,179,255,.8), transparent 40%, transparent 70%, rgba(24,119,242,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.j3-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.j3-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(135deg, #3B8BFF, #1877F2); color: #fff; font-size: 23px;
  box-shadow: 0 12px 30px -8px rgba(24,119,242,.7);
}
.j3-phase { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.j3-card h3 { font-size: 28px; font-weight: 800; color: #fff; margin: 0 0 8px; letter-spacing: -.01em; }
.j3-card p { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.78); margin: 0; }
.j3-tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.j3-tags li {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #CFE2FF;
  background: rgba(24,119,242,.16); border: 1px solid rgba(125,179,255,.3);
  animation: j3-rise .5s cubic-bezier(.16,1,.3,1) both;
}
@keyframes j3-card-in { from { opacity: 0; transform: translateX(40px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes j3-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* wave timeline */
.j3-track-scroll { margin-top: 44px; }
.j3-track { position: relative; aspect-ratio: 1200 / 140; margin: 0 -10px; }
.j3-wave { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.j3-wave path { fill: none; stroke-linecap: round; }
.j3-wave-base { stroke: rgba(255,255,255,.16); stroke-width: 2; stroke-dasharray: 6 8; }
.j3-wave-fill { stroke: url(#j3-grad); stroke-width: 4; stroke-dasharray: 1 1; transition: stroke-dashoffset 1.1s cubic-bezier(.65,0,.35,1); }
.j3-node {
  position: absolute; transform: translate(-50%, -50%); background: none; border: 0; padding: 0; cursor: pointer;
  color: rgba(255,255,255,.5); font: inherit;
}
.j3-dot {
  display: block; width: 22px; height: 22px; border-radius: 50%; background: #071530;
  border: 2px solid rgba(255,255,255,.4); transition: all .35s ease; position: relative;
}
.j3-node-label {
  position: absolute; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center;
  white-space: nowrap; transition: color .3s;
}
.j3-node.is-top .j3-node-label { bottom: calc(100% + 10px); }
.j3-node.is-bottom .j3-node-label { top: calc(100% + 10px); }
.j3-node-label b { font-size: 18px; font-weight: 900; }
.j3-node-label small { font-size: 12.5px; font-weight: 600; opacity: 0; transition: opacity .3s; }
.j3-node:hover { color: #fff; }
.j3-node:hover .j3-dot { border-color: #7DB3FF; transform: scale(1.15); }
.j3-node:hover .j3-node-label small { opacity: .75; }
.j3-node.is-past .j3-dot { background: var(--primary); border-color: var(--primary); }
.j3-node.is-active { color: #fff; }
.j3-node.is-active .j3-dot { background: #fff; border: 5px solid var(--primary); transform: scale(1.3); box-shadow: 0 0 0 8px rgba(24,119,242,.25), 0 0 30px rgba(125,179,255,.8); }
.j3-node.is-active .j3-dot::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(125,179,255,.6);
  animation: j3-pulse 1.8s ease-out infinite;
}
.j3-node.is-active .j3-node-label small { opacity: .8; }
.j3-node.is-active .j3-node-label b { color: #7DB3FF; }
@keyframes j3-pulse { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .j3-aurora span, .j3-card, .j3-metric, .j3-tags li, .j3-node.is-active .j3-dot::after { animation: none; }
  .j3-digit-col, .j3-wave-fill { transition: none; }
}
@media (max-width: 1199px) {
  .j3-year { font-size: 116px; }
  .j3-ghost { font-size: 180px; }
}
@media (max-width: 991px) {
  .journey3 { padding: 60px 0 56px; }
  .j3-head h2 { font-size: 42px; }
  .j3-stage { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .j3-year { font-size: 96px; }
  .j3-ghost { display: none; }
  /* the wave keeps its shape and scrolls sideways on small screens */
  .j3-track-scroll { overflow-x: auto; margin: 16px -16px 0; padding: 44px 16px 40px; scrollbar-width: none; }
  .j3-track-scroll::-webkit-scrollbar { display: none; }
  .j3-track { min-width: 760px; }
}
@media (max-width: 575px) {
  .j3-head h2 { font-size: 38px; }
  .j3-head p { font-size: 15.5px; }
  .j3-counter { margin-right: auto; }
  .j3-controls { width: 100%; }
  .j3-btn { width: 50px; height: 50px; }
  .j3-year { font-size: 76px; }
  .j3-metric strong { font-size: 28px; }
  .j3-card { padding: 22px 20px; border-radius: 18px; }
  .j3-card h3 { font-size: 25px; }
  .j3-card p { font-size: 16px; }
}

/* ── Leadership: heading, subheading and intro sit under the portraits ── */
.portraits-container--stacked { height: auto; }
.portraits-center-text--stacked { position: static; transform: none; margin: -30px auto 0; max-width: 760px; padding: 0 16px; }
.portraits-center-text--stacked h1,
.portraits-center-text--stacked h2 { margin: 0 0 12px; font-size: 46px; font-weight: 900; line-height: 1.1; color: #172b4d; letter-spacing: -.02em; }
.portraits-subhead { margin: 0 0 14px; font-size: 22px; font-weight: 700; color: var(--primary); }
.portraits-intro { margin: 0; font-size: 17px; line-height: 1.75; color: #555; }
@media (max-width: 991px) {
  .portraits-center-text--stacked { margin-top: -20px; }
  .portraits-center-text--stacked h2 { font-size: 36px; }
  .portraits-subhead { font-size: 19px; }
}
@media (max-width: 575px) {
  .portraits-center-text--stacked { margin-top: 0; }
  .portraits-center-text--stacked h2 { font-size: 28px; }
  .portraits-subhead { font-size: 17px; }
  .portraits-intro { font-size: 15.5px; }
}

/* ── Home: Our Values, ALTRUIST flip cards ─────────────────────────────── */
.fc-grid {
  list-style: none; margin: 10px 0 0; padding: 0;
  position: relative; z-index: 5;
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px;
}
/* Soft moving glow behind the row */
.fc-grid::before {
  content: ""; position: absolute; z-index: -1; left: 10%; right: 10%; top: 15%; bottom: 15%;
  background: radial-gradient(closest-side, rgba(24, 119, 242, .18), rgba(24, 119, 242, 0));
  filter: blur(20px); animation: fcGlow 9s ease-in-out infinite alternate;
}
@keyframes fcGlow { from { transform: translateX(-12%) scale(.9); } to { transform: translateX(12%) scale(1.1); } }

.fc { height: 240px; perspective: 1000px; }
.fc-grid.show .fc { animation: fcIn .7s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i) * 80ms); }
@keyframes fcIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }

.fc-spin {
  position: relative; height: 100%; transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.65, 0, .35, 1);
}
/* Flip only the hovered (or keyboard-focused) card */
.fc:hover .fc-spin,
.fc:focus-within .fc-spin,
.fc:focus .fc-spin { transform: rotateY(180deg); }
.fc { cursor: pointer; outline: none; }
.fc:focus-visible .fc-face { outline: 2px solid var(--primary); outline-offset: 3px; }

.fc-face {
  position: absolute; inset: 0; border-radius: 22px; padding: 20px 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.fc-front {
  /* Pin letters to a fixed top offset so they line up across all cards */
  justify-content: flex-start; padding-top: 46px;
  background: linear-gradient(165deg, #ffffff 0%, #eef5ff 100%);
  border: 1px solid #e1ebf8;
  box-shadow: 0 14px 34px -16px rgba(24, 119, 242, .35);
}
.fc-letter {
  font-size: 104px; font-weight: 900; line-height: .9;
  background: linear-gradient(160deg, #63b0ff 0%, var(--primary) 50%, #0b4fb3 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--primary);
}
.fc-label {
  margin-top: 16px; font-size: 12px; font-weight: 900; letter-spacing: .14em;
  text-transform: uppercase; color: #4a5f80;
  /* Reserve two lines so a wrapping label (e.g. "Unity in Diversity")
     doesn't push its letter higher than the others */
  line-height: 1.7; min-height: 3.4em;
}
.fc-back {
  transform: rotateY(180deg); color: #fff; overflow: hidden;
  background: linear-gradient(160deg, #3d93ff 0%, var(--primary) 45%, #0b4fb3 100%);
  box-shadow: 0 20px 44px -16px rgba(24, 119, 242, .6);
}
.fc-badge {
  width: 36px; height: 36px; border-radius: 50%; margin-bottom: 14px;
  display: grid; place-items: center; font-size: 16px; font-weight: 900;
  background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}
.fc-word { margin: 0 0 8px; font-size: 17px; font-weight: 800; line-height: 1.25; color: #fff; }
.fc-text { margin: 0; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .86); }

@media (max-width: 1199px) {
  .fc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 575px) {
  .fc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fc { height: 210px; }
  .fc-letter { font-size: 80px; }
  .fc-face { padding: 16px 12px; border-radius: 18px; }
  .fc-front { padding-top: 38px; }
  .fc-word { font-size: 15.5px; }
  .fc-text { font-size: 13px; }
}
/* Reduced motion: no flipping, show each value directly */
@media (prefers-reduced-motion: reduce) {
  .fc-spin, .fc-grid.show .fc, .fc-grid::before { animation: none; transition: none; }
  .fc:hover .fc-spin, .fc:focus-within .fc-spin, .fc:focus .fc-spin { transform: none; }
  .fc-front { display: none; }
  .fc-back { transform: none; }
}

/* ── Home: hero with background video, centered text ───────────────────── */
#hero { background: #020617; }
#hero::before, #hero::after { display: none; }   /* old glow + dot grid, replaced by the video */
#hero .hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; pointer-events: none;
}
/* Darken the bright network video so the text reads clearly */
#hero .hero-video-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(2, 6, 23, .55) 0%, rgba(2, 6, 23, .78) 70%),
    linear-gradient(180deg, rgba(2, 6, 23, .55) 0%, rgba(2, 6, 23, .7) 100%);
}
#hero .hero-grid { grid-template-columns: 1fr; min-height: 440px; text-align: center; }
#hero .hero-heading { margin: 0 auto 22px; max-width: 980px; }
#hero .hero-heading .hl { display: block; }
#hero .hero-sub { margin: 0 auto 34px; max-width: 740px; }
#hero .hero-ctas { justify-content: center; }

@media (max-width: 575px) {
  #hero .hero-grid { min-height: 380px; }
}
/* Reduced motion: still frame instead of the moving video */
@media (prefers-reduced-motion: reduce) {
  #hero .hero-video { display: none; }
  #hero { background: #020617 url(/assets/video/hero-network-poster.webp) center / cover no-repeat; }
}
