/* ===========================================================================
   About Page Styles (Mobile-First High Fidelity)
   =========================================================================== */

.page-about {
  background: var(--color-page-tint);
  width: 100%;
}

/* ---- Hero: Floating Island Card ---- */
.about-hero {
  padding-block: clamp(3rem, 6vw, 5rem);
  width: 100%;
  background: var(--gradient-primary);
  color: var(--color-white);
  overflow: hidden;
}
.about-hero__card {
  /* Card wrapper kept for structure but styles removed for full-width hero */
}
.about-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 1024px) {
  .about-hero__inner {
    grid-template-columns: 1.1fr 1fr;
  }
}
.about-hero__inner > * { min-width: 0; }

.about-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: var(--fw-medium);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  min-height: 36px;
}
.about-hero__badge-dot {
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
  background: #00B4A0;
  flex-shrink: 0;
  box-shadow: 0 0 3px rgba(0, 180, 160, 0.45);
  animation: dot-pulse-subtle 3s ease-in-out infinite;
}
.about-hero h1 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
}
.text-gradient {
  background: linear-gradient(90deg, var(--color-accent), #7CF2D6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-hero__text {
  color: rgba(255, 255, 255, 0.85);
  max-width: 54ch;
  margin-bottom: 1.75rem;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
}
.about-hero__media {
  max-width: 480px;
  margin-inline: auto;
  width: 100%;
}
@media (min-width: 1024px) {
  .about-hero__media {
    max-width: none;
  }
}
.about-hero__network-image {
  width: 100%;
  height: auto;
}

/* ---- Stats Bar (Mobile-First) ---- */
.stats-bar {
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
  width: 100%;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .stats-bar__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .stats-bar__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }
  .stats-bar__grid > * {
    border-left: 1px solid var(--color-border);
  }
  .stats-bar__grid > *:first-child {
    border-left: none;
  }
}
.stats-bar__grid > * { min-width: 0; }

.stat-tile--compact .stat-tile__value {
  color: var(--color-primary-end);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: var(--fw-bold);
  margin-bottom: 0.25rem;
  line-height: 1.15;
}
.stat-tile__number {
  font-variant-numeric: tabular-nums;
}
.stat-tile--compact .stat-tile__suffix {
  color: var(--color-accent-dark);
}
.stat-tile--compact .stat-tile__label {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ---- Story Section ---- */
.story {
  width: 100%;
  padding-block: 40px;
}
.story__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
@media (min-width: 900px) {
  .story__inner {
    grid-template-columns: 1fr 1fr;
  }
}
.story__inner > * { min-width: 0; }
.story__media {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}
.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-weight: var(--fw-semibold);
  color: var(--color-accent-dark);
  min-height: 44px;
  font-size: 0.95rem;
}
.story__link::after {
  content: '\2192';
  transition: transform var(--transition-fast);
}
.story__link:hover::after, .story__link:focus-visible::after {
  transform: translateX(3px);
}

/* ---- Expertise Section & Grid ---- */
.expertise-section {
  margin-top: 0;
  margin-bottom: 0;
}

.expertise-section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 24px;
  text-align: left;
  display: block;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
  width: 100%;
}
@media (min-width: 640px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.expertise-card {
  position: relative;
  text-align: left;
  border-radius: 24px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.expertise-card:hover {
  transform: translateY(-4px);
}
.expertise-card .icon-tile {
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}
.expertise-card .icon-tile .icon {
  width: 24px;
  height: 24px;
}
.expertise-card h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.3rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #0B192C;
  line-height: 1.3;
}
.expertise-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #64748B;
  margin: 0;
}

.expertise-card--digital {
  background: linear-gradient(135deg, #E6FAFC 0%, #EDFCFD 35%, #F7FEFF 70%, #FFFFFF 100%);
  border-color: #D6F1F5;
  box-shadow: 0 4px 20px rgba(11, 25, 44, 0.04);
}
.expertise-card--digital:hover {
  box-shadow: 0 16px 36px rgba(56, 217, 240, 0.18), 0 4px 16px rgba(11, 25, 44, 0.06);
}
.expertise-card--digital .icon-tile {
  background: #FFFFFF;
  color: #1E3A5F;
  box-shadow: 0 0 24px 6px rgba(56, 217, 240, 0.45), 0 2px 8px rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.expertise-card--infra,
.expertise-card--current,
.card.expertise-card--current {
  background: linear-gradient(150deg, #13273E 0%, #0B1A2C 55%, #07121F 100%) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 24px 48px -10px rgba(11, 25, 44, 0.45), 0 8px 18px rgba(11, 25, 44, 0.25) !important;
}
.expertise-card--infra:hover,
.expertise-card--current:hover,
.card.expertise-card--current:hover {
  box-shadow: 0 28px 56px -8px rgba(11, 25, 44, 0.55), 0 10px 24px rgba(11, 25, 44, 0.35) !important;
}
.expertise-card--infra h3,
.expertise-card--current h3,
.card.expertise-card--current h3 {
  color: #FFFFFF !important;
}
.expertise-card--infra p,
.expertise-card--current p,
.card.expertise-card--current p {
  color: rgba(255, 255, 255, 0.78) !important;
}
.expertise-card--infra .icon-tile,
.expertise-card--current .icon-tile,
.card.expertise-card--current .icon-tile {
  background: #FFFFFF !important;
  color: #0B192C !important;
  box-shadow: 0 0 28px 8px rgba(56, 189, 248, 0.75), 0 0 12px rgba(56, 189, 248, 0.9) !important;
  border: 1px solid #FFFFFF !important;
}
.expertise-card__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #F5B82E;
  color: #0B192C;
  font-family: 'Space Mono', 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(245, 184, 46, 0.35);
}

.expertise-card--energy {
  background: linear-gradient(135deg, #EEF4FC 0%, #F3F6FD 30%, #F9FAFF 65%, #FFFFFF 100%);
  border-color: #E2E8F0;
  box-shadow: 0 4px 20px rgba(11, 25, 44, 0.04);
}
.expertise-card--energy:hover {
  box-shadow: 0 16px 36px rgba(99, 102, 241, 0.15), 0 4px 16px rgba(11, 25, 44, 0.06);
}
.expertise-card--energy .icon-tile {
  background: #FFFFFF;
  color: #1E3A5F;
  box-shadow: 0 0 24px 6px rgba(129, 140, 248, 0.42), 0 2px 8px rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

/* ---- Disciplines Section ---- */
.disciplines {
  background: linear-gradient(180deg, #E6F8FA 0%, #EBF9FA 50%, #F5FCFD 100%);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid #E0F2F5;
  border-bottom: 1px solid #E0F2F5;
  width: 100%;
}
.discipline-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  text-align: left;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.discipline-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(11, 25, 44, 0.06);
}
.discipline-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.discipline-card__top .icon-tile {
  margin-bottom: 0;
  background: #0B192C;
  color: #FFFFFF;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}
.discipline-card__number {
  font-size: 1.85rem;
  font-weight: 700;
  color: #CFE2EC;
  line-height: 1;
}
.discipline-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0B192C;
  margin-bottom: 0.45rem;
}
.discipline-card p {
  font-size: 0.88rem;
  color: #526071;
  line-height: 1.58;
}

/* ---- Platform Card & Tabs ---- */
.platform-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: clamp(1.5rem, 3vw, 2rem);
  width: 100%;
}
@media (min-width: 900px) {
  .platform-card {
    grid-template-columns: 1fr 1.4fr;
  }
}
.platform-card > * { min-width: 0; }
.platform-main {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}
/* Fixed height so switching discipline tabs never resizes the card —
   content that's shorter than the tallest tab (measured: ~602–696px
   across the seven disciplines at desktop widths) just centers within
   this instead of the whole card visibly growing/shrinking per click.
   Mobile is left natural since the sidebar and panel stack vertically
   there and a fixed px height would just add dead space. */
@media (min-width: 900px) {
  .platform-main {
    min-height: 700px;
  }
}
.platform-sidebar {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.4rem;
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(1, 12, 31, 0.5) 0%, rgba(1, 12, 31, 0.68) 100%),
              url('../images/platform-sidebar-bg.jpg');
  background-size: cover;
  /* Anchor to the bottom of the source image (where the wave graphic's
     glow actually is) rather than its vertical center — the sidebar's
     height varies with the active tab's content, and center-cropping
     was hiding the wave under mostly-plain upper background on taller
     tabs. Bottom-anchoring keeps the wave visible and reaching the
     container's bottom edge regardless of how tall it grows. */
  background-position: center bottom;
}
.platform-sidebar__item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: var(--fw-medium);
  color: var(--color-white);
  border-left: 3px solid transparent;
  width: 100%;
  text-align: left;
  border-top: none;
  border-right: none;
  border-bottom: none;
  background: transparent;
  cursor: pointer;
  min-height: 44px;
  transition: all var(--transition-fast);
}
button.platform-sidebar__item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}
.platform-sidebar__item .icon-tile {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  flex-shrink: 0;
  border-radius: 8px;
}
.platform-sidebar__item .icon-tile .icon { width: 18px; height: 18px; }
.platform-sidebar__item.is-active {
  background: var(--color-white);
  color: var(--color-text);
  border-left-color: var(--color-cta);
  box-shadow: var(--shadow-sm);
}
.platform-sidebar__item.is-active .icon-tile { background: var(--color-cta); color: var(--color-primary-end); }

.platform-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2rem);
}
.platform-panel[hidden] {
  display: none !important;
}

.platform-preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
}
.platform-preview__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  background: rgba(1, 34, 69, 0.7);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
}
.platform-preview__image {
  display: block;
  width: 100%;
  height: auto;
}

.platform-detail { text-align: left; }
.platform-detail h3 { margin-bottom: 0.75rem; }
.platform-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0 1.75rem;
}
@media (min-width: 600px) {
  .platform-detail__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }
}
.platform-detail__grid > * { min-width: 0; }
.platform-detail__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}
.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-list li {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--color-surface-tint);
  border: 1px solid var(--color-border);
  font-size: 0.82rem;
  font-weight: var(--fw-medium);
  color: var(--color-primary-end);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

/* ---- Featured Project ---- */
.projects {
  padding-block: clamp(3.5rem, 6vw, 5rem);
  background: linear-gradient(150deg, #13273E 0%, #0B1A2C 55%, #07121F 100%);
  width: 100%;
}
.project-feature {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px -10px rgba(11, 25, 44, 0.45), 0 8px 18px rgba(11, 25, 44, 0.25);
  margin-top: 2rem;
  width: 100%;
}
@media (min-width: 900px) {
  .project-feature {
    grid-template-columns: 1.1fr 1.35fr;
  }
}
.project-feature > * { min-width: 0; }
.project-feature__media {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
}
.project-feature__image {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  mix-blend-mode: screen;
}
.project-feature__content {
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.project-feature__title {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.65rem;
  line-height: 1.25;
}
.project-feature__desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.project-feature__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.project-feature__stat {
  display: flex;
  flex-direction: column;
}
.project-feature__stat-val {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.project-feature__stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ---------------------------------------------------------------------
   Solutions Explorer — master/detail interactive layout.
   Six persistent card elements share one grid; each carries both its
   compact ("mini") and expanded ("detail") markup, and JS toggles which
   is visible by changing the card's data-role — see
   solutions-explorer.js for the promote/demote state machine and the
   FLIP position animation.
   --------------------------------------------------------------------- */
.solutions-explorer {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  grid-template-areas:
    "active"
    "right1"
    "right2"
    "bottom1"
    "bottom2"
    "bottom3";
}
@media (min-width: 640px) {
  .solutions-explorer {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "active active"
      "right1  right2"
      "bottom1 bottom2"
      "bottom3 bottom3";
  }
}
@media (min-width: 1024px) {
  .solutions-explorer {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "active active right1"
      "active active right2"
      "bottom1 bottom2 bottom3";
  }
}
.solutions-explorer__live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.solution-card[data-role="active"]  { grid-area: active; }
.solution-card[data-role="right1"]  { grid-area: right1; }
.solution-card[data-role="right2"]  { grid-area: right2; }
.solution-card[data-role="bottom1"] { grid-area: bottom1; }
.solution-card[data-role="bottom2"] { grid-area: bottom2; }
.solution-card[data-role="bottom3"] { grid-area: bottom3; }

.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid transparent;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.solution-card:not([data-role="active"]):hover {
  transform: translateY(-2px);
}

/* Full-cover invisible button — the entire minimized card is the click
   target. Removed from the a11y/hit-test tree via [hidden] once a card
   is active, so it never intercepts clicks meant for the CTA link. */
.solution-card__activate {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.solution-card__activate:focus-visible {
  outline: 2px solid var(--color-accent-dark, #078C74);
  outline-offset: -3px;
}

/* [hidden]'s UA-stylesheet display:none loses to any author rule of
   equal specificity (like the plain class selector below), regardless
   of source order — so toggling visibility via [hidden] needs an
   explicit !important override, same as .platform-panel[hidden] and
   .svg-node-tooltip[hidden] elsewhere in this codebase. */
.solution-card__mini[hidden],
.solution-card__detail[hidden] {
  display: none !important;
}

/* ---- Minimized state ----
   Illustration fills whatever height the grid stretches this slot to
   (flex: 1, so it scales to fill the tall right-column slots instead of
   leaving dead space) with the icon/title/summary/arrow caption pinned
   below it — the same image-on-top/caption-below shape as the active
   panel, just compact. Cards without an image (a future admin-added
   solution) fall back to centering the caption alone. */
.solution-card__mini {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.solution-card__mini:not(:has(.solution-card__mini-media)) {
  justify-content: center;
}
/* The bottom row is short and wide (three across) — an illustration
   there gets squeezed into a strip that doesn't do the artwork justice,
   so those three slots drop the image and just center the caption.
   This is keyed off the *slot* (data-role), not which solution
   currently occupies it, so it keeps holding whichever card lands
   there after a promote/demote swap. The right column stays tall
   enough for the image to read properly, so it keeps showing it. */
.solution-card[data-role^="bottom"] .solution-card__mini-media {
  display: none;
}
.solution-card[data-role^="bottom"] .solution-card__mini {
  justify-content: center;
}
.solution-card[data-role^="bottom"] .solution-card__mini-caption {
  border-top: 0;
}
.solution-card__mini-media {
  position: relative;
  flex: 1;
  min-height: 64px;
  overflow: hidden;
  background: #F4F6FA;
}
.solution-card__mini-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.solution-card__mini-image--contain {
  object-fit: contain;
  padding: 1rem;
}
.solution-card__mini-caption {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-top: 1px solid #EEF2F6;
}
.solution-card__mini-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.solution-card__mini-icon .icon { width: 20px; height: 20px; }
.solution-card__mini-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.solution-card__mini-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0B192C;
}
.solution-card__mini-summary {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #667584;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.solution-card__mini-arrow {
  width: 18px;
  height: 18px;
  margin-left: auto;
  flex-shrink: 0;
  color: #B7C1CA;
  transition: transform 0.22s ease, color 0.22s ease;
}
.solution-card:not([data-role="active"]):hover .solution-card__mini-arrow {
  transform: translateX(3px);
  color: var(--color-accent-dark, #078C74);
}

/* Icon tints reuse the same pastel icon-tile palette used elsewhere on
   the site (industries grid, etc.) — no dark-bg override needed now
   that every card is a white surface again. */

/* ---- Active state ---- */
.solution-card__detail {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.solution-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gradient-primary);
}
.solution-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.solution-card__image--contain {
  object-fit: contain;
  padding: 1.5rem;
}
.solution-card__detail-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
  background: var(--color-white);
  border-top: 1px solid #EEF2F6;
}
.solution-card__detail-title {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  color: #0B192C;
  margin-bottom: 0.6rem;
  outline: none;
}
.solution-card__full {
  font-size: 0.95rem;
  color: #526071;
  line-height: 1.65;
  margin-bottom: 1.35rem;
}
.solution-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 600;
  color: #34404A;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid #CBD5E1;
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}
.solution-card__cta .icon { width: 15px; height: 15px; }
.solution-card__cta:hover {
  color: var(--color-accent-dark, #078C74);
  border-color: var(--color-accent-dark, #078C74);
  gap: 0.6rem;
}

/* Content crossfade on promote/demote — position and size are animated
   separately in JS via FLIP; this only fades the newly-revealed block
   in, so the swap never feels like an abrupt pop. */
@keyframes solution-content-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.solution-card__mini.is-entering,
.solution-card__detail.is-entering {
  animation: solution-content-in 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .solution-card__mini.is-entering,
  .solution-card__detail.is-entering {
    animation-duration: 1ms;
  }
}

/* Per-color glow — a white card with a soft, colored halo around the
   border instead of a tinted background. The border itself carries the
   color at low opacity; the box-shadow layers a tight glow ring plus a
   wider soft bloom so it reads as "glowing" rather than just tinted. */
.solution-card--purple { border-color: rgba(126, 34, 206, 0.2); box-shadow: 0 0 0 1px rgba(126, 34, 206, 0.05), 0 0 10px rgba(126, 34, 206, 0.1), 0 14px 28px -16px rgba(126, 34, 206, 0.28); }
.solution-card--green  { border-color: rgba(21, 128, 61, 0.2);  box-shadow: 0 0 0 1px rgba(21, 128, 61, 0.05),  0 0 10px rgba(21, 128, 61, 0.1),  0 14px 28px -16px rgba(21, 128, 61, 0.28); }
.solution-card--orange { border-color: rgba(217, 114, 12, 0.2); box-shadow: 0 0 0 1px rgba(217, 114, 12, 0.05), 0 0 10px rgba(217, 114, 12, 0.1), 0 14px 28px -16px rgba(217, 114, 12, 0.28); }
.solution-card--blue   { border-color: rgba(2, 132, 199, 0.2);  box-shadow: 0 0 0 1px rgba(2, 132, 199, 0.05),  0 0 10px rgba(2, 132, 199, 0.1),  0 14px 28px -16px rgba(2, 132, 199, 0.28); }
.solution-card--navy   { border-color: rgba(23, 58, 94, 0.22);  box-shadow: 0 0 0 1px rgba(23, 58, 94, 0.06),  0 0 10px rgba(23, 58, 94, 0.09),  0 14px 28px -16px rgba(23, 58, 94, 0.26); }

.solution-card--purple:not([data-role="active"]):hover { box-shadow: 0 0 0 1px rgba(126, 34, 206, 0.08), 0 0 14px rgba(126, 34, 206, 0.16), 0 16px 32px -16px rgba(126, 34, 206, 0.32); }
.solution-card--green:not([data-role="active"]):hover  { box-shadow: 0 0 0 1px rgba(21, 128, 61, 0.08),  0 0 14px rgba(21, 128, 61, 0.16),  0 16px 32px -16px rgba(21, 128, 61, 0.32); }
.solution-card--orange:not([data-role="active"]):hover { box-shadow: 0 0 0 1px rgba(217, 114, 12, 0.08), 0 0 14px rgba(217, 114, 12, 0.16), 0 16px 32px -16px rgba(217, 114, 12, 0.32); }
.solution-card--blue:not([data-role="active"]):hover   { box-shadow: 0 0 0 1px rgba(2, 132, 199, 0.08),  0 0 14px rgba(2, 132, 199, 0.16),  0 16px 32px -16px rgba(2, 132, 199, 0.32); }
.solution-card--navy:not([data-role="active"]):hover   { box-shadow: 0 0 0 1px rgba(23, 58, 94, 0.09),   0 0 14px rgba(23, 58, 94, 0.14),  0 16px 32px -16px rgba(23, 58, 94, 0.3); }


/* ---- About CTA ---- */
.about-cta {
  padding-block: clamp(1.25rem, 3vw, 2rem) clamp(3rem, 7vw, 5rem);
  width: 100%;
}
.about-cta__card {
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-cta__card h2 { color: var(--color-white); }
.about-cta__card p { color: rgba(255, 255, 255, 0.85); margin-bottom: 2rem; }
.about-cta__card .btn-row {
  justify-content: center;
}
