/* eAppInnovations theme, layered on Bootstrap 5.3 */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../vendor/inter/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------- Tokens */

:root {
  /* Brand colours are taken from the logo: navy #01018b and orange-red #ff4501 */
  --ea-navy: #0a0a8a;
  --ea-navy-dark: #06064f;
  --ea-navy-deep: #03032e;
  --ea-indigo: #3d3df2;
  --ea-accent: #ff4501;
  --ea-accent-strong: #c93500; /* 5.2:1 on white, used for text and filled buttons */
  --ea-accent-light: #ff8a5c;
  --ea-ink: #0b1020;
  --ea-body: #3b4658;
  --ea-muted: #5f6b7d;
  --ea-line: #e4e7ee;
  --ea-surface: #f6f7fb;
  --ea-tint: #eef0ff;
  --ea-radius: 1rem;
  --ea-shadow-sm: 0 1px 2px rgba(11, 16, 32, 0.05), 0 2px 6px rgba(11, 16, 32, 0.05);
  --ea-shadow: 0 22px 40px -22px rgba(10, 10, 138, 0.35);
  --ea-dark-bg: radial-gradient(42rem 28rem at 92% -15%, rgba(255, 69, 1, 0.3), transparent 62%),
    radial-gradient(38rem 28rem at -5% 120%, rgba(61, 61, 242, 0.55), transparent 62%),
    linear-gradient(135deg, var(--ea-navy-deep) 0%, var(--ea-navy-dark) 48%, var(--ea-navy) 100%);

  --bs-primary: var(--ea-navy);
  --bs-primary-rgb: 10, 10, 138;
  --bs-body-font-family: "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --bs-body-color: var(--ea-body);
  --bs-body-color-rgb: 59, 70, 88;
  --bs-body-line-height: 1.65;
  --bs-heading-color: var(--ea-ink);
  --bs-link-color: var(--ea-navy);
  --bs-link-color-rgb: 10, 10, 138;
  --bs-link-hover-color: var(--ea-accent-strong);
  --bs-link-hover-color-rgb: 201, 53, 0;
  --bs-border-color: var(--ea-line);
  --bs-border-radius: 0.7rem;
  --bs-focus-ring-color: rgba(10, 10, 138, 0.3);
}

/* ------------------------------------------------------------------ Base */

html {
  scroll-padding-top: 6rem;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  text-underline-offset: 0.18em;
}

a[href^="tel:"] {
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--ea-accent);
  outline-offset: 2px;
}

::selection {
  background: var(--ea-navy);
  color: #fff;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 2000;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  background: var(--ea-navy);
  color: #fff;
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.container-narrow {
  max-width: 52rem;
}

/* --------------------------------------------------------------- Buttons */

.btn {
  --bs-btn-font-weight: 600;
  --bs-btn-padding-x: 1.15rem;
  --bs-btn-padding-y: 0.6rem;
  --bs-btn-border-radius: 0.75rem;
}

.btn-lg {
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-padding-y: 0.8rem;
  --bs-btn-font-size: 1.05rem;
  --bs-btn-border-radius: 0.9rem;
}

.btn-primary {
  --bs-btn-bg: var(--ea-navy);
  --bs-btn-border-color: var(--ea-navy);
  --bs-btn-hover-bg: #08086e;
  --bs-btn-hover-border-color: #08086e;
  --bs-btn-active-bg: var(--ea-navy-dark);
  --bs-btn-active-border-color: var(--ea-navy-dark);
  --bs-btn-focus-shadow-rgb: 10, 10, 138;
  --bs-btn-disabled-bg: var(--ea-navy);
  --bs-btn-disabled-border-color: var(--ea-navy);
}

.btn-outline-primary {
  --bs-btn-color: var(--ea-navy);
  --bs-btn-border-color: #c3c8f5;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ea-navy);
  --bs-btn-hover-border-color: var(--ea-navy);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--ea-navy-dark);
  --bs-btn-active-border-color: var(--ea-navy-dark);
  --bs-btn-focus-shadow-rgb: 10, 10, 138;
}

.btn-accent {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ea-accent-strong);
  --bs-btn-border-color: var(--ea-accent-strong);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ab2d00;
  --bs-btn-hover-border-color: #ab2d00;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #942700;
  --bs-btn-active-border-color: #942700;
  --bs-btn-focus-shadow-rgb: 201, 53, 0;
  box-shadow: 0 10px 22px -12px rgba(201, 53, 0, 0.85);
}

.btn-ghost {
  --bs-btn-color: #fff;
  --bs-btn-bg: rgba(255, 255, 255, 0.08);
  --bs-btn-border-color: rgba(255, 255, 255, 0.35);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.18);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.6);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: rgba(255, 255, 255, 0.24);
  --bs-btn-active-border-color: rgba(255, 255, 255, 0.6);
  --bs-btn-focus-shadow-rgb: 255, 255, 255;
}

.btn .bi {
  margin-left: 0.4rem;
  transition: transform 0.2s ease;
}

.btn:hover .bi-arrow-right {
  transform: translateX(3px);
}

/* ---------------------------------------------------------------- Header */

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--ea-line);
  box-shadow: 0 10px 30px -22px rgba(3, 3, 46, 0.6);
}

.navbar {
  --bs-navbar-padding-y: 0.7rem;
  --bs-navbar-color: var(--ea-ink);
  --bs-navbar-hover-color: var(--ea-navy);
  --bs-navbar-active-color: var(--ea-navy);
  --bs-navbar-nav-link-padding-x: 0.85rem;
  --bs-navbar-toggler-border-color: var(--ea-line);
  --bs-navbar-toggler-focus-width: 0.2rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  text-decoration: none;
}

.brand img {
  flex: none;
  width: 44px;
  height: 44px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  color: var(--ea-accent);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.brand-tagline {
  margin-top: 0.2rem;
  color: var(--ea-navy);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.navbar .nav-link {
  border-radius: 0.6rem;
}

.navbar .nav-link.active {
  font-weight: 600;
}

.navbar .dropdown-toggle::after {
  border: 0;
  margin-left: 0.3em;
  font-family: "bootstrap-icons";
  font-size: 0.7em;
  vertical-align: 0.05em;
  content: "\f282"; /* chevron-down */
  transition: transform 0.2s ease;
}

.navbar .dropdown-toggle.show::after {
  transform: rotate(180deg);
}

.navbar .dropdown-menu {
  --bs-dropdown-min-width: 17.5rem;
  --bs-dropdown-padding-x: 0.5rem;
  --bs-dropdown-padding-y: 0.5rem;
  --bs-dropdown-font-size: 0.925rem;
  --bs-dropdown-border-color: var(--ea-line);
  --bs-dropdown-border-radius: 1rem;
  --bs-dropdown-link-color: var(--ea-ink);
  --bs-dropdown-link-hover-color: var(--ea-navy);
  --bs-dropdown-link-hover-bg: var(--ea-tint);
  --bs-dropdown-link-active-color: var(--ea-navy);
  --bs-dropdown-link-active-bg: var(--ea-tint);
  --bs-dropdown-item-padding-x: 0.6rem;
  --bs-dropdown-item-padding-y: 0.45rem;
}

.navbar .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 0.65rem;
  font-weight: 500;
  white-space: normal;
}

.navbar .dropdown-item.active {
  font-weight: 600;
}

.navbar .dropdown-item .bi {
  display: grid;
  flex: none;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: var(--ea-tint);
  color: var(--ea-navy);
  font-size: 1rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.navbar .dropdown-item:hover .bi,
.navbar .dropdown-item:focus-visible .bi,
.navbar .dropdown-item.active .bi {
  background: var(--ea-navy);
  color: #fff;
}

@media (min-width: 1200px) {
  .navbar .nav-link.active {
    background: linear-gradient(var(--ea-accent), var(--ea-accent)) no-repeat left 0.85rem bottom 0.15rem / calc(100% - 1.7rem) 2px;
  }

  .navbar .dropdown-menu {
    margin-top: 0.6rem;
    box-shadow: 0 28px 50px -20px rgba(3, 3, 46, 0.35);
  }

  .navbar .dropdown-menu.show {
    animation: menu-in 0.16s ease-out;
  }

  .navbar .dropdown-menu.cols-2 {
    left: 50%;
    width: 36rem;
    margin-left: -18rem;
  }

  .navbar .dropdown-menu.cols-2.show {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.25rem;
  }

  .navbar-nav > .nav-item:nth-last-child(-n + 4) > .dropdown-menu:not(.cols-2) {
    right: 0;
    left: auto;
  }

  .nav-cta {
    margin-left: 0.75rem;
  }
}

@media (max-width: 1199.98px) {
  .navbar-collapse {
    max-height: calc(100vh - 5rem);
    padding: 0.5rem 0 1rem;
    overflow-y: auto;
  }

  .navbar .nav-link {
    width: 100%;
    padding: 0.7rem 0.25rem;
    border-bottom: 1px solid var(--ea-line);
    border-radius: 0;
    text-align: left;
  }

  .navbar .dropdown-toggle::after {
    float: right;
    margin-top: 0.35em;
  }

  .navbar .dropdown-menu {
    padding: 0.35rem 0 0.6rem;
    border: 0;
  }

  .nav-cta {
    margin-top: 1rem;
  }

  .nav-cta .btn {
    width: 100%;
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* ------------------------------------------------------------------ Hero */

/* Dark gradient surface shared by the hero, page headers, bands and callouts */
.hero,
.page-header,
.band,
.callout,
.side-cta,
.tile.tile-cta {
  background-color: var(--ea-navy-dark);
  background-image: var(--ea-dark-bg);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(6.5rem, 11vw, 9.5rem);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  opacity: 0.55;
}

.hero::after,
.page-header::after,
.band::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 10%, transparent 75%);
}

.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-chip .bi {
  color: var(--ea-accent-light);
}

.hero h1 {
  margin: 1.25rem 0 1.25rem;
  color: #fff;
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.text-gradient {
  background: linear-gradient(90deg, #ffb08a, #ff6a33);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-panel {
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}

.hero-panel-title {
  margin: 0.25rem 0.5rem 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-links a {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-links a:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.hero-links .bi {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #ff7a45, var(--ea-accent-strong));
  font-size: 1.25rem;
}

/* Key figures card that overlaps the bottom of the hero */
.stats {
  position: relative;
  z-index: 1;
  margin-top: -3.75rem;
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0.5rem;
  border: 1px solid var(--ea-line);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 30px 60px -35px rgba(3, 3, 46, 0.45);
}

.stats-card > div {
  padding: 1.1rem 1.25rem;
}

.stats-card > div + div {
  border-left: 1px solid var(--ea-line);
}

.stats-card dt {
  color: var(--ea-navy);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stats-card dd {
  margin: 0.3rem 0 0;
  color: var(--ea-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (max-width: 767.98px) {
  .stats-card {
    grid-template-columns: 1fr 1fr;
  }

  .stats-card > div + div {
    border-left: 0;
  }

  .stats-card > div:nth-child(even) {
    border-left: 1px solid var(--ea-line);
  }

  .stats-card > div:nth-child(n + 3) {
    border-top: 1px solid var(--ea-line);
  }
}

/* -------------------------------------------------------------- Sections */

.section {
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
}

.section-alt {
  background: var(--ea-surface);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head h2,
.h-section {
  margin-bottom: 0.75rem;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--ea-muted);
  font-size: 1.08rem;
}

.eyebrow {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--ea-accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------ Page header */

.page-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.25rem) 0 clamp(2.75rem, 6vw, 4.5rem);
  color: #fff;
}

.page-header h1 {
  max-width: 48rem;
  margin: 0.8rem 0 0;
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-lead {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.12rem;
}

.page-header-icon {
  position: absolute;
  top: 50%;
  right: 6%;
  z-index: -1;
  color: rgba(255, 255, 255, 0.07);
  font-size: clamp(9rem, 20vw, 16rem);
  line-height: 1;
  transform: translateY(-50%) rotate(-8deg);
}

@media (max-width: 767.98px) {
  .page-header-icon {
    display: none;
  }
}

.breadcrumb {
  --bs-breadcrumb-divider: "\203A";
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.5);
  --bs-breadcrumb-item-active-color: rgba(255, 255, 255, 0.72);
  --bs-breadcrumb-margin-bottom: 0;
  font-size: 0.86rem;
  font-weight: 500;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ----------------------------------------------------------------- Prose */

.prose {
  font-size: 1.03rem;
}

.prose > :first-child {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose h2 {
  margin: 2.5rem 0 0.9rem;
  font-size: 1.55rem;
}

.prose h3 {
  margin: 1.9rem 0 0.6rem;
  font-size: 1.15rem;
}

.prose p {
  margin-bottom: 1.05rem;
}

.prose .lead,
.lead {
  color: var(--ea-ink);
  font-size: 1.17rem;
  font-weight: 400;
}

.prose a:not(.btn) {
  font-weight: 500;
}

.list-check {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 576px) {
  .list-check.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }
}

.list-check > li {
  position: relative;
  padding-left: 1.85rem;
}

.list-check > li::before {
  position: absolute;
  top: 0.08em;
  left: 0;
  color: var(--ea-accent-strong);
  font-family: "bootstrap-icons";
  font-size: 1.1rem;
  line-height: 1.5;
  content: "\f26a"; /* check-circle-fill */
}

.list-check ul {
  margin: 0.4rem 0 0.2rem;
  padding-left: 1.1rem;
  color: var(--ea-muted);
}

.list-spaced {
  padding-left: 1.2rem;
}

.list-spaced li {
  margin-bottom: 0.7rem;
}

.figure-card,
.figure-photo {
  margin: 0;
}

.figure-card {
  padding: 0.85rem;
  border: 1px solid var(--ea-line);
  border-radius: var(--ea-radius);
  background: #fff;
  box-shadow: var(--ea-shadow-sm);
}

.figure-card img,
.figure-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Diagrams and logos keep their natural size instead of being stretched */
.figure-card img {
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 0.5rem;
}

.figure-photo img {
  border-radius: var(--ea-radius);
  box-shadow: var(--ea-shadow);
}

.figure-card figcaption,
.figure-photo figcaption {
  margin-top: 0.6rem;
  color: var(--ea-muted);
  font-size: 0.85rem;
  text-align: center;
}

.table-card {
  margin: 1.25rem 0 1.5rem;
  overflow: hidden;
  border: 1px solid var(--ea-line);
  border-radius: var(--ea-radius);
  background: #fff;
}

.table-card .table {
  --bs-table-bg: transparent;
  margin: 0;
  font-size: 0.96rem;
}

.table-card .table > :not(caption) > * > * {
  padding: 0.85rem 1.1rem;
  vertical-align: top;
}

.table-card .table thead th,
.table-card .table tbody th {
  color: var(--ea-ink);
  font-weight: 600;
}

.table-card .table thead th {
  background: var(--ea-tint);
  border-bottom-color: #d5d9fa;
}

.table-card .table tbody tr:last-child > * {
  border-bottom: 0;
}

.table-card .table tbody th {
  width: 30%;
  background: var(--ea-surface);
}

/* Highlighted statement ("Three I's", "Our Strengths", ...) */
.callout {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 2.25rem 0;
  padding: 1.6rem 1.75rem 1.6rem 4.6rem;
  border-radius: var(--ea-radius);
  color: #fff;
}

.callout::before {
  position: absolute;
  top: 1.2rem;
  left: 1.5rem;
  color: var(--ea-accent-light);
  font-family: "bootstrap-icons";
  font-size: 2.1rem;
  line-height: 1;
  content: "\f6b0"; /* quote */
}

@media (max-width: 575.98px) {
  .callout {
    padding: 3.9rem 1.35rem 1.4rem;
  }

  .callout::before {
    left: 1.35rem;
  }
}

.callout h2,
.callout h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: 1.15rem;
}

.callout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.callout p + p {
  margin-top: 0.5rem;
}

.callout strong {
  color: #fff;
}

.callout cite {
  display: block;
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-style: normal;
}

/* ----------------------------------------------------------------- Cards */

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.6rem;
  border: 1px solid var(--ea-line);
  border-radius: var(--ea-radius);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tile:hover,
.tile:focus-within {
  border-color: #c5cafa;
  box-shadow: var(--ea-shadow);
  transform: translateY(-4px);
}

.tile-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.1rem;
  border-radius: 0.85rem;
  background: var(--ea-tint);
  color: var(--ea-navy);
  font-size: 1.35rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tile:hover .tile-icon,
.tile:focus-within .tile-icon {
  background: var(--ea-navy);
  color: #fff;
}

.tile h3 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.tile h3 a {
  color: inherit;
  text-decoration: none;
}

.tile p {
  margin-bottom: 1.1rem;
  color: var(--ea-muted);
  font-size: 0.95rem;
}

.tile-more {
  margin-top: auto;
  color: var(--ea-navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.tile-more::after {
  display: inline-block;
  margin-left: 0.35rem;
  font-family: "bootstrap-icons";
  vertical-align: -0.1em;
  content: "\f138"; /* arrow-right */
  transition: transform 0.2s ease;
}

.tile:hover .tile-more::after {
  transform: translateX(4px);
}

/* Contact card that completes a grid */
.tile-cta {
  border-color: transparent;
}

.tile-cta h3,
.tile-cta .tile-more {
  color: #fff;
}

.tile-cta p {
  color: rgba(255, 255, 255, 0.8);
}

.tile-cta .tile-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ea-accent-light);
}

.tile-cta:hover .tile-icon,
.tile-cta:focus-within .tile-icon {
  background: var(--ea-accent-strong);
  color: #fff;
}

/* Larger feature card used for the three pillars on the home page */
.tile-feature {
  padding: 2rem;
}

.tile-feature .tile-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--ea-navy), var(--ea-indigo));
  color: #fff;
  font-size: 1.6rem;
}

.tile-feature h3 {
  font-size: 1.3rem;
}

/* Static information card (no link) */
.panel-card {
  height: 100%;
  padding: 1.6rem;
  border: 1px solid var(--ea-line);
  border-radius: var(--ea-radius);
  background: #fff;
}

.panel-card > h2,
.panel-card > h3 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.panel-card > h2 .bi,
.panel-card > h3 .bi {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  background: var(--ea-tint);
  color: var(--ea-navy);
  font-size: 1.15rem;
}

.panel-card > :last-child {
  margin-bottom: 0;
}

.panel-card p {
  color: var(--ea-body);
}

/* ------------------------------------------------------------------ Band */

.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.25rem, 7vw, 5rem) 0;
  color: #fff;
  text-align: center;
}

.band h2 {
  margin-bottom: 0.9rem;
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.band p {
  max-width: 42rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.band .eyebrow {
  color: var(--ea-accent-light);
}

.band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.three-is {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 50rem;
  margin: 2.25rem auto 0;
  padding: 0;
  list-style: none;
}

.three-is li {
  padding: 1.25rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.07);
  font-size: 1.1rem;
  font-weight: 700;
}

.three-is .bi {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ea-accent-light);
  font-size: 1.6rem;
}

@media (max-width: 575.98px) {
  .three-is {
    grid-template-columns: 1fr;
  }
}

.cta-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid #d5d9fa;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--ea-tint), #fff 55%, #fff3ec);
}

.cta-card h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cta-card p {
  margin: 0;
  color: var(--ea-muted);
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-actions .btn {
  overflow-wrap: anywhere;
}

/* Technology list on service pages */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.35rem 0.8rem;
  border: 1px solid #d5d9fa;
  border-radius: 999px;
  background: var(--ea-tint);
  color: var(--ea-navy);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Numbered process steps on dark bands */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 56rem;
  margin: 2.25rem auto 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 1.1rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 700;
}

.steps span {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a45, var(--ea-accent-strong));
  color: #fff;
}

@media (max-width: 767.98px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

/* --------------------------------------------------------------- Sidebar */

.sidebar {
  position: sticky;
  top: 6rem;
}

.side-nav {
  padding: 0.85rem;
  border: 1px solid var(--ea-line);
  border-radius: var(--ea-radius);
  background: #fff;
}

.side-nav-title {
  margin: 0.35rem 0.7rem 0.5rem;
  color: var(--ea-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-nav ul {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  color: var(--ea-ink);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.side-nav a .bi {
  color: var(--ea-navy);
  font-size: 1.05rem;
}

.side-nav a:hover {
  background: var(--ea-tint);
  color: var(--ea-navy);
}

.side-nav a[aria-current="page"] {
  background: var(--ea-navy);
  color: #fff;
}

.side-nav a[aria-current="page"] .bi {
  color: #fff;
}

.side-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 1.25rem;
  padding: 1.6rem;
  border-radius: var(--ea-radius);
  color: #fff;
}

.side-cta h2 {
  margin-bottom: 0.4rem;
  color: #fff;
  font-size: 1.15rem;
}

.side-cta p {
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* ------------------------------------------------------- Page components */

.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 992px) {
  .benefits {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.benefits li {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem;
  border: 1px solid var(--ea-line);
  border-radius: var(--ea-radius);
  background: #fff;
  color: var(--ea-ink);
  font-weight: 500;
  line-height: 1.35;
}

.benefits .bi {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  background: var(--ea-tint);
  color: var(--ea-navy);
  font-size: 1.2rem;
}

.contact-card {
  padding: 1.75rem;
  border: 1px solid var(--ea-line);
  border-radius: var(--ea-radius);
  background: #fff;
}

.contact-card h2,
.contact-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.contact-card address {
  margin-bottom: 1rem;
}

.contact-lines {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-lines li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-lines .bi {
  color: var(--ea-accent-strong);
}

.contact-lines a {
  font-weight: 500;
  text-decoration: none;
}

.contact-lines a:hover {
  text-decoration: underline;
}

.dept-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--ea-line);
  border-radius: var(--ea-radius);
  background: #fff;
  color: var(--ea-body);
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dept-card:hover {
  border-color: #c5cafa;
  box-shadow: var(--ea-shadow);
  color: var(--ea-navy);
  transform: translateY(-3px);
}

.dept-card .bi {
  margin-bottom: 0.5rem;
  color: var(--ea-navy);
  font-size: 1.5rem;
  line-height: 1;
}

.dept-card strong {
  color: var(--ea-ink);
  font-size: 1rem;
}

.dept-card span {
  overflow-wrap: anywhere;
}

.form-label {
  color: var(--ea-ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.form-control {
  padding: 0.7rem 0.9rem;
  border-color: #cfd4e0;
  border-radius: 0.7rem;
}

.form-control:focus {
  border-color: #7d7de0;
  box-shadow: 0 0 0 0.25rem rgba(10, 10, 138, 0.15);
}

.form-note {
  color: var(--ea-muted);
  font-size: 0.88rem;
}

.form-status {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid #b9c0f7;
  border-radius: 0.7rem;
  background: var(--ea-tint);
  color: var(--ea-ink);
  font-size: 0.94rem;
}


.sitemap-group h2 {
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--ea-tint);
  font-size: 1.1rem;
}

.sitemap-group ul {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-group a {
  text-decoration: none;
}

.sitemap-group a:hover {
  text-decoration: underline;
}

.error-page {
  padding: clamp(4rem, 12vw, 8rem) 0;
  text-align: center;
}

.error-code {
  display: block;
  background: linear-gradient(135deg, var(--ea-navy), var(--ea-indigo) 60%, var(--ea-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

/* ---------------------------------------------------------------- Footer */

.site-footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, #05053f, var(--ea-navy-deep));
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
}

.site-footer h2 {
  margin-bottom: 1.1rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.brand-footer img {
  padding: 2px;
  border-radius: 50%;
  background: #fff;
}

.brand-footer .brand-name {
  color: #ff7a45;
}

.brand-footer .brand-tagline {
  color: rgba(255, 255, 255, 0.85);
}

.brand-footer:hover {
  text-decoration: none !important;
}

.footer-about {
  max-width: 22rem;
  margin: 1.25rem 0 1rem;
}

.footer-mail .bi,
.office .bi {
  margin-right: 0.5rem;
  color: var(--ea-accent-light);
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 576px) {
  .footer-links.cols-2 {
    display: block;
    column-count: 2;
    column-gap: 1.5rem;
  }

  .footer-links.cols-2 li {
    margin-bottom: 0.55rem;
    break-inside: avoid;
  }
}

.office {
  display: grid;
  gap: 0.15rem;
  margin: 0;
}

.office + .office {
  margin-top: 1.4rem;
}

.office strong {
  color: #fff;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
}

/* Keep the bottom links clear of the fixed back-to-top button */
@media (max-width: 1499.98px) {
  .footer-bottom {
    padding-right: 3.75rem;
  }
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1030;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 0;
  border-radius: 50%;
  background: var(--ea-navy);
  box-shadow: 0 14px 28px -12px rgba(3, 3, 46, 0.7);
  color: #fff;
  font-size: 1.2rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.back-to-top:hover {
  background: var(--ea-accent-strong);
  transform: translateY(-3px);
}

.back-to-top[hidden] {
  display: none;
}

/* ---------------------------------------------------------------- Motion */

/* Cards below the fold fade up as they scroll into view. site.js adds .reveal-pending
   to cards that start off screen and swaps it for .reveal-in when they appear, so
   nothing is ever hidden without JavaScript or when reduced motion is preferred. */
@media screen and (prefers-reduced-motion: no-preference) {
  .reveal-pending {
    opacity: 0;
  }

  .reveal-in {
    animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }

  .col:nth-child(3n + 2) > .reveal-in,
  .col-md-6:nth-child(2n) > .reveal-in {
    animation-delay: 0.08s;
  }

  .col:nth-child(3n + 3) > .reveal-in {
    animation-delay: 0.16s;
  }

  .hero .col-lg-7 > *,
  .hero-panel {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero .col-lg-7 > :nth-child(2) {
    animation-delay: 0.08s;
  }

  .hero .col-lg-7 > :nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero .col-lg-7 > :nth-child(4) {
    animation-delay: 0.24s;
  }

  .hero-panel {
    animation-delay: 0.3s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ----------------------------------------------------------------- Print */

@media print {
  .site-header,
  .site-footer,
  .sidebar,
  .back-to-top,
  .skip-link,
  .band-actions,
  .hero-actions {
    display: none !important;
  }

  .hero,
  .page-header,
  .band,
  .callout {
    background: none !important;
    color: #000 !important;
  }

  .hero *,
  .page-header *,
  .band *,
  .callout * {
    color: #000 !important;
  }

  .hero-bg {
    display: none;
  }

  .section {
    padding: 1rem 0;
  }
}
