:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --ink: #0d2238;
  --ink-muted: #45607c;
  --line: #d7e3f1;
  --brand: #0067b8;
  --brand-dark: #004b8a;
  --accent: #00a3a3;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 10px 30px rgba(13, 34, 56, 0.08);
  --shadow-md: 0 20px 48px rgba(13, 34, 56, 0.12);
  --max-width: 1180px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Public Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(0, 103, 184, 0.15), transparent 42%),
    radial-gradient(
      circle at 92% 12%,
      rgba(0, 163, 163, 0.12),
      transparent 34%
    ),
    var(--bg);
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max-width), calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: clamp(3.8rem, 7vw, 6.2rem) 0;
  scroll-margin-top: calc(var(--header-height) + 0.6rem);
}

.section-alt {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.88),
    rgba(238, 244, 251, 0.72)
  );
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(215, 227, 241, 0.75);
}

h1,
h2,
h3 {
  font-family: 'Outfit', 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  max-width: 24ch;
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0;
  color: var(--ink-muted);
}

p + p {
  margin-top: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: '';
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  border-radius: 999px;
}

.section-intro {
  max-width: 75ch;
  margin: 1.15rem 0 0;
}

.skip-link {
  position: absolute;
  left: -1000px;
  top: 1rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(245, 248, 252, 0.76);
  border-bottom: 1px solid transparent;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(215, 227, 241, 0.9);
  box-shadow: 0 6px 26px rgba(13, 34, 56, 0.08);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  text-decoration: none;
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  font-weight: 700;
  color: var(--ink);
}

.brand-logo {
  width: auto;
  height: 4.2rem;
  object-fit: contain;
}

.brand-text {
  font-family: 'Outfit', 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
  color: #3f5622;
  transform: translateY(4px);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav {
  margin-left: auto;
}

.site-nav a {
  display: inline-flex;
  padding: 0.55rem 0.74rem;
  border-radius: 8px;
  text-decoration: none;
  color: #284463;
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--brand-dark);
  background: rgba(0, 103, 184, 0.11);
  outline: none;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 103, 184, 0.24);
  color: #24527c;
  background: rgba(255, 255, 255, 0.8);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.social-link svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--brand-dark);
  border-color: rgba(0, 103, 184, 0.5);
  background: rgba(0, 103, 184, 0.09);
  transform: translateY(-1px);
  outline: none;
}

.social-links-header {
  margin-left: 0.35rem;
}

.social-links-footer {
  margin-inline: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #2f4d6d;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: clip;
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
  background:
    linear-gradient(
      120deg,
      rgba(4, 28, 54, 0.88) 0%,
      rgba(0, 52, 102, 0.75) 55%,
      rgba(0, 103, 184, 0.55) 100%
    ),
    url('assets/img/hero.jpg') center center / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 80% 50%,
    rgba(0, 163, 163, 0.18),
    transparent 60%
  );
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto -4% -28% auto;
  width: clamp(200px, 24vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 163, 163, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: start;
}

.hero .eyebrow {
  color: #7dd4fc;
}

.hero .eyebrow::before {
  background: linear-gradient(90deg, #7dd4fc, #38bdf8);
}

.hero h1 {
  color: #ffffff;
}

.hero p:not(.eyebrow) {
  color: rgba(210, 230, 250, 0.92);
}

.lead {
  margin-top: 1.2rem;
  max-width: 70ch;
  color: rgba(220, 238, 255, 0.96);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.74rem 1.2rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition:
    transform 0.18s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  box-shadow: 0 14px 28px rgba(0, 103, 184, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 36px rgba(0, 103, 184, 0.3);
}

.btn-secondary {
  color: var(--brand-dark);
  background: rgba(0, 103, 184, 0.09);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(0, 103, 184, 0.16);
}

.hero-panel {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.07)
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.hero-panel h2 {
  color: #ffffff;
}

.cta-panel {
  background: linear-gradient(160deg, #ffffff, #f1f7ff);
  border: 1px solid rgba(215, 227, 241, 0.9);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.hero-panel h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  margin-bottom: 1rem;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.82rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(210, 232, 255, 0.9);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.66rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand), var(--accent));
}

.split-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 1.2rem 2rem;
  margin-top: 1.2rem;
}

.split-text > p {
  margin-top: 0;
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.five-up {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.project {
  position: relative;
  background:
    radial-gradient(circle at 90% 0%, rgba(0, 103, 184, 0.08), transparent 42%),
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.98),
      rgba(243, 248, 255, 0.96)
    );
  border: 1px solid rgba(198, 218, 238, 0.9);
  border-radius: var(--radius-md);
  padding: 1.15rem 1rem;
  box-shadow:
    0 10px 22px rgba(13, 34, 56, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.card {
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(0, 103, 184, 0),
    rgba(0, 103, 184, 0.45),
    rgba(0, 163, 163, 0.35)
  );
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

.card[data-icon],
.project[data-icon] {
  padding-top: 1.35rem;
}

.card[data-icon]::before,
.project[data-icon]::before {
  content: attr(data-icon);
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 103, 184, 0.22);
  background: linear-gradient(
    145deg,
    rgba(0, 103, 184, 0.12),
    rgba(0, 163, 163, 0.09)
  );
  color: #0c4d82;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 74, 133, 0.15);
}

.feature-digital::before {
  color: #0d5fa8;
  border-color: rgba(13, 95, 168, 0.28);
  background: linear-gradient(
    145deg,
    rgba(13, 95, 168, 0.2),
    rgba(13, 95, 168, 0.12)
  );
  box-shadow: 0 8px 18px rgba(13, 95, 168, 0.2);
}

.feature-api::before {
  color: #006f7a;
  border-color: rgba(0, 111, 122, 0.28);
  background: linear-gradient(
    145deg,
    rgba(0, 111, 122, 0.2),
    rgba(0, 111, 122, 0.12)
  );
  box-shadow: 0 8px 18px rgba(0, 111, 122, 0.2);
}

.feature-integration::before {
  color: #1f6a3d;
  border-color: rgba(31, 106, 61, 0.28);
  background: linear-gradient(
    145deg,
    rgba(31, 106, 61, 0.2),
    rgba(31, 106, 61, 0.12)
  );
  box-shadow: 0 8px 18px rgba(31, 106, 61, 0.2);
}

.feature-data::before {
  color: #5a4ea1;
  border-color: rgba(90, 78, 161, 0.28);
  background: linear-gradient(
    145deg,
    rgba(90, 78, 161, 0.2),
    rgba(90, 78, 161, 0.12)
  );
  box-shadow: 0 8px 18px rgba(90, 78, 161, 0.2);
}

.feature-security::before {
  color: #c77800;
  border-color: rgba(199, 120, 0, 0.3);
  background: linear-gradient(
    145deg,
    rgba(199, 120, 0, 0.22),
    rgba(199, 120, 0, 0.12)
  );
  box-shadow: 0 8px 18px rgba(199, 120, 0, 0.22);
}

.feature-support::before {
  color: #9a3e8c;
  border-color: rgba(154, 62, 140, 0.28);
  background: linear-gradient(
    145deg,
    rgba(154, 62, 140, 0.2),
    rgba(154, 62, 140, 0.12)
  );
  box-shadow: 0 8px 18px rgba(154, 62, 140, 0.2);
}

.card:hover,
.project:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 36px rgba(13, 34, 56, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  border-color: rgba(0, 103, 184, 0.34);
}

.card:hover::after {
  transform: translateX(0);
}

.card h3,
.project h3 {
  margin-bottom: 0.55rem;
}

.card p,
.project p {
  color: #43607c;
}

.project {
  overflow: hidden;
  border: 1px solid rgba(168, 198, 226, 0.7);
  border-left: 4px solid rgba(0, 103, 184, 0.55);
  padding: 1.1rem 1rem 1.05rem 1.05rem;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
    repeating-linear-gradient(
      135deg,
      rgba(0, 103, 184, 0.07) 0 2px,
      transparent 2px 10px
    ),
    linear-gradient(150deg, rgba(230, 241, 252, 0.8), rgba(248, 252, 255, 0.9));
  box-shadow:
    0 8px 24px rgba(13, 34, 56, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.project::after {
  content: '';
  position: absolute;
  right: -22px;
  top: -22px;
  width: 66px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(0, 163, 163, 0.2),
    rgba(0, 103, 184, 0.08) 55%,
    transparent 68%
  );
  pointer-events: none;
}

.project[data-icon] {
  padding-top: 1.1rem;
  padding-right: 3.3rem;
}

.project[data-icon]::before {
  position: absolute;
  top: 0.72rem;
  right: 0.7rem;
  width: 1.95rem;
  height: 1.95rem;
  margin-bottom: 0;
  border-radius: 999px;
  border: 1px solid rgba(0, 103, 184, 0.28);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(225, 239, 252, 0.88)
  );
  color: #0f4f86;
  font-size: 0.95rem;
  box-shadow: 0 6px 16px rgba(0, 74, 133, 0.14);
}

.project h3 {
  font-size: 1.08rem;
  line-height: 1.3;
}

.project[data-assoc] h3::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0.95rem;
  margin-left: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brand-dark);
  transform: translateY(-0.15em);
}

.project[data-assoc='uw'] h3::after {
  content: '*';
}

.project[data-assoc='qcg'] h3::after {
  content: '\2021';
}

.project-sector-label {
  margin: 0 0 0.42rem;
  color: #2f5b82;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-client-label {
  margin: 0 0 0.52rem;
  color: #3a6288;
  font-size: 0.8rem;
  font-weight: 600;
}

.project p {
  color: #4d6985;
}

.project:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 103, 184, 0.5);
  border-left-color: rgba(0, 103, 184, 0.82);
  box-shadow:
    0 16px 34px rgba(13, 34, 56, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

#what-we-do .card {
  --stage-pattern: none;
  --stage-illustration: none;
  padding-right: 5.4rem;
  background:
    var(--stage-pattern),
    radial-gradient(circle at 90% 0%, rgba(0, 103, 184, 0.08), transparent 42%),
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.98),
      rgba(243, 248, 255, 0.96)
    );
  background-size: auto, auto, auto;
}

#what-we-do .card > * {
  position: relative;
  z-index: 2;
}

#what-we-do .card .card-illustration {
  position: absolute;
  top: 0.82rem;
  right: 0.8rem;
  width: 3.5rem;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--stage-illustration);
  opacity: 0.72;
  pointer-events: none;
  z-index: 1;
}

#what-we-do .stage-exploration {
  --stage-pattern: repeating-radial-gradient(
    circle at 14% 86%,
    rgba(0, 103, 184, 0.08) 0 2px,
    transparent 2px 12px
  );
  --stage-illustration:
    radial-gradient(
      circle at 34% 34%,
      transparent 10px,
      rgba(0, 84, 145, 0.55) 10px 13px,
      transparent 14px
    ),
    linear-gradient(
      45deg,
      transparent 58%,
      rgba(0, 84, 145, 0.55) 58% 66%,
      transparent 67%
    ),
    radial-gradient(
      circle at 72% 24%,
      rgba(0, 163, 163, 0.65) 0 4px,
      transparent 4.5px
    ),
    radial-gradient(
      circle at 78% 74%,
      rgba(0, 103, 184, 0.52) 0 4px,
      transparent 4.5px
    ),
    radial-gradient(
      circle at 20% 76%,
      rgba(0, 103, 184, 0.35) 0 3px,
      transparent 3.5px
    );
}

#what-we-do .stage-design {
  --stage-pattern: repeating-linear-gradient(
    -30deg,
    rgba(0, 103, 184, 0.1) 0 1px,
    transparent 1px 12px
  );
  --stage-illustration:
    linear-gradient(rgba(0, 75, 138, 0.48), rgba(0, 75, 138, 0.48)) 0.45rem
      0.45rem / 1.1rem 1px no-repeat,
    linear-gradient(rgba(0, 75, 138, 0.48), rgba(0, 75, 138, 0.48)) 0.45rem
      1rem / 1.75rem 1px no-repeat,
    linear-gradient(rgba(0, 75, 138, 0.48), rgba(0, 75, 138, 0.48)) 0.45rem
      1.55rem / 1.3rem 1px no-repeat,
    linear-gradient(
        140deg,
        transparent 41%,
        rgba(0, 103, 184, 0.6) 41% 58%,
        transparent 58%
      )
      center / 100% 100% no-repeat,
    linear-gradient(rgba(0, 103, 184, 0.5), rgba(0, 103, 184, 0.5)) 1.9rem
      0.8rem / 1px 1.8rem no-repeat,
    linear-gradient(rgba(0, 163, 163, 0.68), rgba(0, 163, 163, 0.68)) 1.45rem
      1.25rem / 1rem 1px no-repeat;
}

#what-we-do .stage-development {
  --stage-pattern: repeating-linear-gradient(
    90deg,
    rgba(0, 103, 184, 0.08) 0 1px,
    transparent 1px 14px
  );
  --stage-illustration:
    linear-gradient(
        115deg,
        transparent 42%,
        rgba(0, 75, 138, 0.58) 42% 50%,
        transparent 50%
      )
      0.32rem 1rem / 1.35rem 1.35rem no-repeat,
    linear-gradient(
        245deg,
        transparent 42%,
        rgba(0, 75, 138, 0.58) 42% 50%,
        transparent 50%
      )
      1.84rem 1rem / 1.35rem 1.35rem no-repeat,
    linear-gradient(rgba(0, 163, 163, 0.65), rgba(0, 163, 163, 0.65)) center /
      0.95rem 2px no-repeat,
    radial-gradient(
      circle at 50% 30%,
      rgba(0, 103, 184, 0.55) 0 4px,
      transparent 4.5px
    ),
    radial-gradient(
      circle at 50% 72%,
      rgba(0, 103, 184, 0.42) 0 4px,
      transparent 4.5px
    );
}

#what-we-do .stage-implementation {
  --stage-pattern: repeating-linear-gradient(
    0deg,
    rgba(0, 163, 163, 0.1) 0 1px,
    transparent 1px 12px
  );
  --stage-illustration:
    radial-gradient(
      circle at 24% 54%,
      rgba(0, 163, 163, 0.2) 0 12px,
      transparent 12.5px
    ),
    linear-gradient(
        130deg,
        transparent 51%,
        rgba(0, 75, 138, 0.62) 51% 58%,
        transparent 58%
      )
      0.84rem 1.22rem / 0.9rem 0.9rem no-repeat,
    linear-gradient(
        35deg,
        transparent 54%,
        rgba(0, 75, 138, 0.62) 54% 61%,
        transparent 61%
      )
      1.28rem 0.94rem / 1.2rem 1.2rem no-repeat,
    linear-gradient(rgba(0, 103, 184, 0.42), rgba(0, 103, 184, 0.42)) 0.55rem
      2.35rem / 2.25rem 1px no-repeat,
    radial-gradient(
      circle at 80% 24%,
      rgba(0, 103, 184, 0.54) 0 4px,
      transparent 4.5px
    ),
    radial-gradient(
      circle at 66% 24%,
      rgba(0, 103, 184, 0.35) 0 4px,
      transparent 4.5px
    ),
    radial-gradient(
      circle at 52% 24%,
      rgba(0, 103, 184, 0.2) 0 4px,
      transparent 4.5px
    );
}

.capability-tags {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.capability-tags span {
  padding: 0.52rem 0.78rem;
  border-radius: 999px;
  background: rgba(0, 103, 184, 0.08);
  border: 1px solid rgba(0, 103, 184, 0.18);
  color: #214666;
  font-size: 0.89rem;
  font-weight: 600;
}

.project-grid {
  margin-top: 1.6rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-type {
  margin-top: 1.8rem;
}

.project-type + .project-type {
  margin-top: 2.7rem;
}

.project-type-heading {
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  margin: 0;
}

.project-type-intro {
  margin-top: 0.45rem;
  max-width: 76ch;
}

.project-extra {
  display: none;
}

.project-type.expanded .project-extra {
  display: block;
}

.project-actions {
  margin-top: 1rem;
}

.project-more-btn {
  appearance: none;
  border: 1px solid rgba(0, 103, 184, 0.28);
  border-radius: 999px;
  background: rgba(0, 103, 184, 0.08);
  color: var(--brand-dark);
  font-family: 'Public Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.56rem 0.92rem;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.project-more-btn:hover,
.project-more-btn:focus-visible {
  transform: translateY(-1px);
  background: rgba(0, 103, 184, 0.14);
  border-color: rgba(0, 103, 184, 0.52);
  outline: none;
}

.project-legend {
  margin-top: 1.35rem;
  padding-top: 0.95rem;
  border-top: 1px dashed rgba(0, 103, 184, 0.22);
}

.project-legend-title {
  margin: 0;
  font-size: 0.9rem;
  color: #4a6480;
}

.project-legend-list {
  list-style: none;
  padding: 0;
  margin: 0.45rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.project-legend-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: #3f5b78;
}

.client-directory {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-directory li.client-extra {
  display: none;
}

.client-directory.expanded .client-extra {
  display: flex;
}

.client-directory li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100%;
  padding: 2.55rem 3.1rem 0.92rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 103, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 255, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(0, 103, 184, 0.08), transparent 42%);
  box-shadow: 0 10px 24px rgba(13, 34, 56, 0.05);
  color: #294764;
  font-size: 0.94rem;
  font-weight: 600;
}

.client-directory-badge {
  position: absolute;
  top: 0.72rem;
  left: 0.88rem;
  display: inline-flex;
  align-items: center;
  min-height: 1.15rem;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 103, 184, 0.18);
  background: rgba(0, 103, 184, 0.07);
  color: #42617f;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.client-directory-icon {
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.client-directory-icon-domain {
  position: absolute;
  top: 0.72rem;
  right: 0.78rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 103, 184, 0.18);
  background: rgba(0, 103, 184, 0.06);
  color: #4d6680;
  font-size: 0.92rem;
  font-weight: 700;
}

.client-directory-name {
  display: block;
  padding-right: 0.2rem;
}

.client-directory li[data-client-type='nonprofit'] .client-directory-badge {
  background: rgba(111, 147, 71, 0.11);
  border-color: rgba(111, 147, 71, 0.22);
  color: #4d662d;
}

.client-directory li[data-client-type='government'] .client-directory-badge {
  background: rgba(0, 103, 184, 0.09);
  border-color: rgba(0, 103, 184, 0.2);
  color: #24517d;
}

.client-directory li[data-client-type='crown'] .client-directory-badge {
  background: rgba(112, 124, 143, 0.12);
  border-color: rgba(112, 124, 143, 0.22);
  color: #4e6077;
}

.legend-symbol {
  display: inline-grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 103, 184, 0.28);
  background: rgba(0, 103, 184, 0.08);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.leadership {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 1.4rem 2rem;
  align-items: center;
}

.leader-media img {
  border-radius: var(--radius-md);
  border: 1px solid rgba(215, 227, 241, 0.9);
  box-shadow: var(--shadow-sm);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-link-wrap {
  margin-top: 1.1rem;
}

.leader-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--brand-dark);
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 103, 184, 0.28);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.leader-link::after {
  content: '↗';
  font-size: 0.85rem;
  line-height: 1;
}

.leader-link:hover,
.leader-link:focus-visible {
  color: var(--brand);
  border-color: rgba(0, 103, 184, 0.65);
  outline: none;
}

.cta-section {
  padding-top: clamp(4rem, 8vw, 7rem);
}

.cta-panel {
  text-align: left;
  box-shadow: var(--shadow-md);
}

.cta-line {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f9fbfe;
}

.footer-inner {
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  padding: 0.9rem 0;
}

.footer-inner p {
  margin: 0;
  color: #4e6882;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .five-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .site-nav {
    margin-left: 0;
    margin-right: 0;
  }

  .brand-logo {
    height: 2.6rem;
  }

  .brand-text {
    font-size: 1.04rem;
    font-weight: 700;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    top: calc(100% + 0.45rem);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    padding: 0.45rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 0.24s ease,
      transform 0.24s ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    width: 100%;
    padding: 0.72rem 0.82rem;
    border-radius: 10px;
  }

  .social-links-header {
    display: none;
  }

  .hero-grid,
  .split-text,
  .leadership,
  .two-up,
  .client-directory {
    grid-template-columns: 1fr;
  }

  #what-we-do .card {
    padding-right: 4.65rem;
  }

  .five-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leader-media {
    max-width: 260px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max-width), calc(100% - 1.45rem));
  }

  .section {
    padding: 3.2rem 0;
  }

  .hero {
    padding-top: 3.3rem;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .four-up,
  .five-up,
  .project-grid {
    grid-template-columns: 1fr;
  }

  #what-we-do .card {
    padding-right: 1rem;
  }

  #what-we-do .card .card-illustration {
    width: 3rem;
    top: 0.6rem;
    right: 0.58rem;
    opacity: 0.58;
  }

  .project[data-icon] {
    padding-right: 3rem;
  }

  .project[data-icon]::before {
    top: 0.6rem;
    right: 0.58rem;
  }

  .cta-panel {
    padding: 1.25rem;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .social-links-footer {
    order: 3;
    margin-inline: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
