:root {
  /* Primary brand blue used for subtle accents and links. */
  --brand-blue: #296aa0;
  /* Dark brand blue used for strong surfaces and hero background. */
  --brand-blue-dark: #1f4f78;
  /* Secondary brand red retained for future optional accents. */
  --brand-red: #ed0013;
  /* High-contrast text color for headings and core copy. */
  --ink-strong: #132534;
  /* Softer text color for supporting body content. */
  --ink-soft: #4e6072;
  /* Keyboard focus ring tone to preserve accessibility. */
  --ring: #95b7d8;
  /* Shared max content width used by shell containers. */
  --max-width: 1120px;
  /* Scrollbar-safe full-bleed offset to prevent horizontal overflow. */
  --full-bleed-safe-offset: calc((100vw - 100%) / 2);

  /* CSS animation modifications */
  /* Hero animated background base color. */
  --hero-network-base: var(--brand-blue-dark);
  /* Hero graph node color. */
  --hero-node-color: lightcyan;

  /* Web Awesome brand token remap for consistency. */
  --wa-color-brand-50: var(--brand-blue);
  --wa-color-brand-60: var(--brand-blue-dark);
  --wa-focus-ring-color: var(--ring);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink-strong);
  background:
    radial-gradient(1200px 460px at 10% -10%, #dbeaf8 0%, transparent 60%),
    radial-gradient(980px 460px at 95% -20%, #e6f1fb 0%, transparent 60%),
    linear-gradient(180deg, #f9fcff 0%, #f5f9fd 100%);
  line-height: 1.55;
}

a {
  color: var(--brand-blue-dark);
}

a:hover {
  color: var(--brand-blue);
}

.page-shell {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #d8e5f2;
  backdrop-filter: blur(8px);
  background: rgb(249 252 255 / 0.92);
}

.nav-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wa-space-m);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--wa-space-s);
  text-decoration: none;
  min-width: 280px;
}

.brand img {
  display: block;
  border-radius: 0 !important;
  object-fit: contain;
}

.brand img.logo-mark {
  width: 36px;
  height: 36px;
}

.brand img.word-mark {
  width: 220px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--wa-space-m);
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  padding: var(--wa-space-2xs) var(--wa-space-xs);
  border-radius: 0.45rem;
}

.main-nav a.is-active,
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink-strong);
  outline: none;
  background: #e8f0f8;
}

.eyebrow {
  color: var(--brand-blue-dark);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.83rem;
}

.lead {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 66ch;
}

.hero-bleed {
  width: calc(100vw - (var(--full-bleed-safe-offset) * 2));
  max-width: none;
  margin: var(--wa-space-2xl) calc(50% - 50vw + var(--full-bleed-safe-offset)) var(--wa-space-4xl);
  padding-inline: 0;
}

.hero-bleed>.hero-copy {
  width: 100%;
  min-width: 0;
}

.hero-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 420px;
  padding: var(--wa-space-2xl) var(--wa-space-xl);
  border-radius: 0;
  border: 0;
  background: #1f4f78;
  color: #f4fbff;
  overflow: hidden;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 74ch;
  margin: 0 auto;
  justify-items: center;
}

.hero-bleed .hero-content {
  padding-inline: var(--wa-space-m);
  width: min(100% - 2rem, var(--max-width));
}

.hero-card h1 {
  color: #f5fcff;
}

.hero-middle {
  justify-items: center;
}

.hero-card .lead,
.hero-card .hero-deliver {
  color: #d9f4ff;
  max-width: 58ch;
  margin-inline: auto;
  text-align: center;
}

.hero-deliver {
  font-size: 0.97rem;
}

.section-header {
  max-width: 72ch;
}

.card {
  display: grid;
  gap: var(--wa-space-m);
  height: 100%;
}

.card-grid {
  display: grid;
  gap: var(--wa-space-l);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.card-title {
  font-size: var(--wa-font-size-l);
  font-weight: var(--wa-font-weight-bold);
  line-height: var(--wa-line-height-heading);
  margin: 0;
}

.card-body {
  font-size: var(--wa-font-size-m);
  font-weight: var(--wa-font-weight-regular);
  line-height: var(--wa-line-height-body);
  color: var(--ink-soft);
  margin-top: var(--wa-space-xs);
}

.profile-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid #d4e4f2;
  background: #edf4fb;
}

.cta-panel {
  border-radius: 1rem;
  background:
    radial-gradient(460px 220px at 100% 0%, rgb(41 106 160 / 0.14), transparent 76%),
    radial-gradient(500px 220px at 0% 100%, rgb(41 106 160 / 0.17), transparent 75%),
    #f0f6fd;
  border: 1px solid #c9deef;
  padding: var(--wa-space-l);
}

.footer {
  border-top: 1px solid #d8e5f2;
  background: #f8fbff;
  margin-top: var(--wa-space-2xl);
}

.footer-sitemap {
  padding-block: var(--wa-space-xl);
}

.footer-heading {
  font-size: 1rem;
  margin: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink-strong);
}

.companies-house {
  display: inline-flex;
  gap: var(--wa-space-xs);
  align-items: center;
}

.linkedin-link {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 1.25rem;
  text-decoration: none;
}

@media (max-width: 860px) {
  .nav-row {
    flex-wrap: wrap;
    padding-block: var(--wa-space-s);
  }

  .main-nav {
    width: 100%;
    order: 3;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: auto;
  }

  .brand img.word-mark {
    width: 176px;
  }

  .hero-card {
    min-height: 360px;
    padding: var(--wa-space-xl) var(--wa-space-m);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* #region CSS animation */
.mod {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  perspective: 330px;
  background: #1f4f78;
  overflow: hidden;
  z-index: 1;
}

.mod .cube {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  margin-top: -150px;
  margin-left: -150px;
  transform-style: preserve-3d;
  transform-origin: 150px 150px;
  /* Increase/decrease duration to control animation speed. */
  animation: spin-cube 13500ms linear infinite;
}

.mod .faces {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
}

.mod .dot {
  position: absolute;
  background: lightcyan;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  box-shadow: 0 0 4px 1px rgb(224 255 255 / 0.32);
}

.mod .p1 {
  top: -1px;
  left: 0;
  margin-left: -1px;
}

.mod .p2 {
  top: -1px;
  left: 50%;
  margin-left: -1px;
}

.mod .p3 {
  top: -1px;
  left: 100%;
  margin-left: -1px;
}

.mod .p4 {
  top: 50%;
  left: -1px;
  margin-top: -1px;
}

.mod .p5 {
  top: 50%;
  left: 50%;
  margin-top: -1px;
  margin-left: -1px;
}

.mod .p6 {
  top: 50%;
  left: 100%;
  margin-top: -1px;
  margin-left: -1px;
}

.mod .p7 {
  top: 100%;
  left: 0;
  margin-top: -1px;
  margin-left: -1px;
}

.mod .p8 {
  top: 100%;
  left: 50%;
  margin-top: -1px;
  margin-left: -1px;
}

.mod .p9 {
  top: 100%;
  left: 100%;
  margin-top: -1px;
  margin-left: -1px;
}

.mod .p10 {
  top: 25%;
  left: 25%;
  margin-top: -1px;
  margin-left: -1px;
}

.mod .p11 {
  top: 25%;
  left: 75%;
  margin-top: -1px;
  margin-left: -1px;
}

.mod .p12 {
  top: 75%;
  left: 25%;
  margin-top: -1px;
  margin-left: -1px;
}

.mod .p13 {
  top: 75%;
  left: 75%;
  margin-top: -1px;
  margin-left: -1px;
}

.mod .f1 {
  transform: translateZ(-150px);
}

.mod .f2 {
  transform: translateZ(-120px);
}

.mod .f3 {
  transform: translateZ(-90px);
}

.mod .f4 {
  transform: translateZ(-60px);
}

.mod .f5 {
  transform: translateZ(-30px);
}

.mod .f6 {
  transform: translateZ(0);
}

.mod .f7 {
  transform: translateZ(30px);
}

.mod .f8 {
  transform: translateZ(60px);
}

.mod .f9 {
  transform: translateZ(90px);
}

.mod .f10 {
  transform: translateZ(120px);
}

.mod .f11 {
  transform: translateZ(150px);
}

@keyframes spin-cube {
  0% {
    transform: rotateY(0deg) rotateX(-45deg) rotateZ(0deg);
  }

  50% {
    transform: rotateY(180deg) rotateX(135deg) rotateZ(180deg);
  }

  100% {
    transform: rotateY(360deg) rotateX(315deg) rotateZ(360deg);
  }
}

/* #endregion CSS animation */