:root {
  --ink: #17201c;
  --muted: #617184;
  --paper: #f4f7fb;
  --white: #fffdf8;
  --blue: #2f68c9;
  --blue-deep: #102b58;
  --blue-ink: #07192f;
  --steel: #8fa8c8;
  --line: rgba(23, 32, 28, 0.16);
  --shadow: 0 24px 70px rgba(7, 25, 47, 0.24);
  --shadow-card: 0 10px 28px rgba(7, 25, 47, 0.12);
  --shadow-card-hover: 0 18px 42px rgba(7, 25, 47, 0.1);
  --shadow-modal: 0 28px 80px rgba(7, 25, 47, 0.28);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 20px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --text-body: 1rem;
  --text-small: 0.92rem;
  --text-eyebrow: 0.8rem;
  --text-caption: 0.82rem;
  --text-ui: 0.92rem;
  --text-intro: clamp(0.92rem, 0.9rem + 0.12vw, 1rem);
  --leading-tight: 1.15;
  --leading-copy: 1.62;
  --leading-loose: 1.72;
  --gutter-page: clamp(18px, 5vw, 72px);
  --gutter-hero: clamp(18px, 4vw, 58px);
  --section-block: clamp(80px, 9vw, 120px);
  --section-band-block: clamp(72px, 8vw, 104px);
  --content-medium: 900px;
  --content-wide: 1180px;
  --surface-light: rgba(255, 253, 248, 0.5);
  --surface-light-strong: rgba(255, 253, 248, 0.86);
  --surface-dark: rgba(7, 25, 47, 0.62);
  --overlay-dark: rgba(7, 25, 47, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: var(--text-body);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 12px clamp(18px, 3.4vw, 48px);
  color: var(--white);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.header-brand-group {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: var(--space-3);
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  text-decoration: none;
}

.brand-logo-wrap {
  display: grid;
  width: 68px;
  height: 42px;
  min-width: 68px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 248, 0.94);
  padding: 5px 8px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) 10px;
}

.brand-affiliation {
  display: grid;
  width: 70px;
  min-width: 70px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 248, 0.94);
  padding: 6px 8px;
}

.brand-affiliation-logo {
  display: block;
  width: 100%;
  height: auto;
}

.brand strong,
.brand small {
  display: inline;
  line-height: 1.15;
}

.brand strong {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand small {
  color: currentColor;
  opacity: 0.84;
  font-size: 0.86rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 1.8vw, 22px);
  font-size: 0.9rem;
  line-height: 1.2;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  padding: 104px var(--gutter-hero) 48px;
  color: var(--white);
  background: var(--blue-ink);
  overflow: hidden;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 25, 47, 0.97) 0%, rgba(16, 43, 88, 0.84) 40%, rgba(20, 111, 150, 0.46) 72%, rgba(247, 184, 75, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 25, 47, 0.2), rgba(7, 25, 47, 0.72));
}

.hero-puzzle-map {
  position: absolute;
  z-index: 1;
  container-type: inline-size;
  --hero-center-logo-left: 49.7%;
  --hero-center-logo-top: 51.35%;
  --hero-center-logo-width: 20.5%;
  top: 46%;
  left: 50%;
  width: min(48vw, 70vh, 780px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.hero-puzzle-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 54px rgba(7, 25, 47, 0.36));
  opacity: 1;
}

.puzzle-label {
  position: absolute;
  display: grid;
  width: 26cqw;
  min-height: 10.5cqw;
  place-items: center;
  padding: 0.75cqw 0.9cqw;
  color: var(--blue);
  font-size: clamp(0.52rem, 2.35cqw, 0.88rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  text-wrap: balance;
  hyphens: auto;
  text-shadow:
    0 1px 0 rgba(255, 253, 248, 0.86),
    0 0 8px rgba(255, 253, 248, 0.42);
  transform: translate(-50%, -50%);
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.puzzle-label span:last-child {
  display: block;
  max-width: 100%;
  white-space: pre-line;
}

.puzzle-label:hover,
.puzzle-label:focus-visible {
  color: var(--blue-deep);
  transform: translate(-50%, -52%);
}

.puzzle-label:focus-visible {
  border-radius: 6px;
  outline: 3px solid rgba(47, 104, 201, 0.8);
  outline-offset: 4px;
}

.puzzle-label-01 {
  top: 24.5%;
  left: 23%;
}

.puzzle-label-02 {
  top: 24.5%;
  left: 50%;
}

.puzzle-label-03 {
  top: 24.5%;
  left: 77%;
}

.puzzle-label-04 {
  top: calc(53.5% - 5px);
  left: 23%;
}

.puzzle-label-05 {
  top: calc(53.5% - 5px);
  left: 77%;
}

.puzzle-label-06 {
  top: 77.5%;
  left: 23%;
}

.puzzle-label-07 {
  top: 77.5%;
  left: 50%;
}

.puzzle-label-08 {
  top: 77.5%;
  left: 77%;
}

.hero-content {
  position: absolute;
  z-index: 3;
  left: clamp(18px, 4vw, 58px);
  bottom: clamp(44px, 7vh, 84px);
  max-width: min(520px, 38vw);
  display: grid;
  gap: var(--space-4);
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--blue);
  font-size: var(--text-eyebrow);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bfd4ff;
  max-width: 44ch;
  opacity: 0.9;
  font-size: clamp(0.68rem, 0.78vw, 0.76rem);
  line-height: 1.42;
  letter-spacing: 0.06em;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 15ch;
  font-size: clamp(2.45rem, 6.1vw, 5.25rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-title {
  max-width: 14ch;
  font-size: clamp(2.05rem, 4.25vw, 4rem);
  overflow-wrap: anywhere;
  pointer-events: none;
  text-wrap: balance;
  hyphens: auto;
}

.hero-logo-heading {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-size: 1rem;
  line-height: 1;
}

.hero-brand-on-piece {
  position: absolute;
  z-index: 2;
  top: var(--hero-center-logo-top);
  left: var(--hero-center-logo-left);
  display: grid;
  width: var(--hero-center-logo-width);
  aspect-ratio: 320 / 182;
  place-items: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.12rem, 1.04rem + 0.32vw, 1.32rem);
  line-height: var(--leading-tight);
}

.hero-lede {
  max-width: 500px;
  font-size: clamp(0.9rem, 1vw, 1.04rem);
  line-height: 1.42;
}

.hero-line {
  display: none;
  max-width: 540px;
  color: rgba(255, 253, 248, 0.82);
  font-size: var(--text-body);
  line-height: var(--leading-copy);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px var(--space-3);
  margin-top: var(--space-2);
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0 var(--space-4);
  font-size: var(--text-ui);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: var(--white);
  color: var(--blue-deep);
  background: var(--white);
}

.button.secondary {
  color: var(--white);
  background: transparent;
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 253, 248, 0.08);
  border-color: rgba(255, 253, 248, 0.22);
}

.button:focus-visible,
.text-link:focus-visible {
  outline: 3px solid rgba(191, 212, 255, 0.92);
  outline-offset: 4px;
}

:is(.button, .text-link).phone-cta-desktop {
  display: none;
}

body.has-phone-popup-open,
body.has-specialty-popup-open,
body.has-credential-popup-open {
  overflow: hidden;
}

.phone-popup[hidden] {
  display: none;
}

.phone-popup {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.phone-popup-backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  backdrop-filter: blur(10px);
}

.phone-popup-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(100%, 460px);
  padding: 28px;
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: var(--shadow-modal);
}

.phone-popup-close {
  justify-self: end;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.phone-popup-close:focus-visible {
  border-radius: 999px;
  outline: 3px solid rgba(191, 212, 255, 0.92);
  outline-offset: 4px;
}

.phone-popup-kicker {
  color: var(--blue);
  font-size: var(--text-caption);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-popup-title {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.05;
}

.phone-popup-description {
  color: var(--muted);
}

.phone-popup-number {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.phone-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.phone-popup-panel .button.primary {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.phone-popup-panel .button.secondary {
  border-color: rgba(23, 32, 28, 0.16);
  color: var(--ink);
  background: transparent;
}

.phone-popup-status {
  min-height: 1.4em;
  color: var(--blue-deep);
  font-size: 0.95rem;
  font-weight: 700;
}

.specialty-popup[hidden] {
  display: none;
}

.specialty-popup {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.specialty-popup-backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  backdrop-filter: blur(10px);
}

.specialty-popup-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(100%, 680px);
  max-width: 100%;
  max-height: min(84vh, 760px);
  padding: 28px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: var(--shadow-modal);
}

.specialty-popup-close {
  justify-self: end;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.specialty-popup-close:focus-visible {
  border-radius: 999px;
  outline: 3px solid rgba(191, 212, 255, 0.92);
  outline-offset: 4px;
}

.specialty-popup-kicker {
  color: var(--blue);
  font-size: var(--text-caption);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.specialty-popup-title {
  min-width: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.specialty-popup-body {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.specialty-popup-body p {
  min-width: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: var(--leading-loose);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.specialty-popup-summary {
  color: var(--ink) !important;
  font-size: 1.08rem !important;
  font-weight: 700;
  line-height: var(--leading-copy) !important;
}

.specialty-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.specialty-popup-panel .button.secondary {
  border-color: rgba(23, 32, 28, 0.16);
  color: var(--ink);
  background: transparent;
}

.profile-panel {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 5vw, 72px);
  bottom: 40px;
  display: grid;
  width: min(320px, calc(100vw - 36px));
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: var(--radius-md);
  background: var(--surface-dark);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.profile-media {
  display: grid;
  gap: 8px;
}

.portrait {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(rgba(255, 253, 248, 0.04), rgba(255, 253, 248, 0.04)),
    linear-gradient(145deg, var(--steel), var(--blue-deep));
  color: rgba(255, 253, 248, 0.78);
  font-weight: 800;
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.profile-cv-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 253, 248, 0.1);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.profile-panel p {
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.86rem;
  line-height: 1.5;
}

.profile-name {
  color: var(--white) !important;
  margin-bottom: var(--space-2);
  font-weight: 800;
}

.profile-more {
  display: none;
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 10px;
  padding: 0;
  border: 0;
  color: rgba(255, 253, 248, 0.9);
  background: transparent;
  font: inherit;
  font-size: var(--text-caption);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.profile-more:hover {
  color: var(--white);
}

.profile-more:focus-visible {
  outline: 3px solid rgba(191, 212, 255, 0.92);
  outline-offset: 3px;
}

.credential-strip {
  position: relative;
  z-index: 3;
  margin: -1px 0 0;
  scroll-margin-top: clamp(88px, 12vh, 120px);
  padding: 20px var(--gutter-hero) 26px;
  color: var(--white);
  background: var(--blue-deep);
}

.credential-kicker {
  margin: 0 0 var(--space-3);
  color: rgba(255, 253, 248, 0.72);
  font-size: var(--text-eyebrow);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.credential-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-4);
  max-width: 1180px;
  margin: 0 auto;
}

.credential-card {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  min-height: 190px;
  border: 1px solid rgba(255, 253, 248, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--white);
  background: rgba(255, 253, 248, 0.05);
  box-shadow: var(--shadow-card);
  text-align: center;
  text-decoration: none;
  cursor: default;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.credential-card strong {
  font-size: 0.96rem;
  font-weight: 800;
  line-height: var(--leading-tight);
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
  hyphens: auto;
}

.credential-card.has-more {
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
  cursor: pointer;
}

.credential-detail {
  min-width: 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.84rem;
  line-height: 1.45;
  max-width: 34ch;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.credential-card.has-more .credential-detail {
  display: -webkit-box;
  min-height: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.credential-cta {
  margin-top: 0;
  align-self: end;
  justify-self: center;
  text-align: center;
  color: rgba(255, 253, 248, 0.9);
  font-size: var(--text-caption);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.credential-card.has-more:hover {
  border-color: rgba(255, 253, 248, 0.72);
  background: rgba(255, 253, 248, 0.1);
  box-shadow: 0 14px 36px rgba(7, 25, 47, 0.18);
  transform: translateY(-2px);
}

.credential-card.has-more:focus-visible {
  outline: 3px solid rgba(191, 212, 255, 0.92);
  outline-offset: 4px;
}

.specialties,
.quote-section {
  padding: var(--section-block) var(--gutter-page);
}

.specialties {
  background: var(--paper);
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-bottom: var(--space-6);
  text-align: center;
}

.section-heading h2 {
  max-width: 760px;
}

.section-intro {
  max-width: var(--content-medium);
  color: var(--muted);
  font-size: var(--text-intro);
  line-height: var(--leading-copy);
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
  align-items: stretch;
  max-width: var(--content-wide);
  margin: 0 auto;
}

.specialty-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 250px;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-light);
  scroll-margin-top: clamp(200px, 28vh, 280px);
  text-align: center;
  cursor: pointer;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.specialty-summary {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 100%;
}

.specialty-card h3 {
  max-width: 100%;
  font-size: clamp(1rem, 0.92rem + 0.28vw, 1.18rem);
  overflow-wrap: anywhere;
  text-wrap: balance;
  hyphens: auto;
}

.specialty-preview {
  min-width: 0;
  max-width: 32ch;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: var(--leading-copy);
  overflow-wrap: anywhere;
  hyphens: auto;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.specialty-cta {
  margin-top: auto;
  padding-top: 4px;
  color: var(--blue);
  font-size: var(--text-caption);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.specialty-card:hover {
  border-color: rgba(47, 104, 201, 0.32);
  background: var(--surface-light-strong);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.specialty-card:focus-visible {
  outline: none;
  border-color: rgba(47, 104, 201, 0.72);
  box-shadow:
    0 0 0 4px rgba(47, 104, 201, 0.18),
    0 18px 42px rgba(7, 25, 47, 0.12);
}

.specialty-card > * {
  position: relative;
  z-index: 1;
}

.specialty-card::before,
.specialty-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.specialty-card::before {
  border: 4px solid rgba(47, 104, 201, 0);
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.96);
}

.specialty-card::after {
  border-radius: inherit;
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 34%,
      rgba(47, 104, 201, 0.12) 45%,
      rgba(255, 253, 248, 0.72) 50%,
      rgba(47, 104, 201, 0.12) 55%,
      transparent 66%,
      transparent 100%
    );
  opacity: 0;
  transform: translateX(-120%);
}

.specialty-card.is-highlighted {
  animation: card-highlight-state 2400ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.specialty-card.is-highlighted::before {
  animation: card-highlight-ring 1600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.specialty-card.is-highlighted::after {
  animation: card-highlight-sweep 1250ms ease-out 120ms;
}

@keyframes card-highlight-state {
  0% {
    border-color: var(--line);
    background: var(--surface-light);
    box-shadow: none;
    transform: translateY(0);
  }

  18% {
    border-color: rgba(47, 104, 201, 0.72);
    background: rgba(255, 253, 248, 0.94);
    box-shadow:
      inset 0 0 0 4px rgba(47, 104, 201, 0.64),
      0 18px 42px rgba(7, 25, 47, 0.16);
    transform: translateY(-8px);
  }

  64% {
    border-color: rgba(47, 104, 201, 0.58);
    background: rgba(255, 253, 248, 0.9);
    box-shadow:
      inset 0 0 0 4px rgba(47, 104, 201, 0.52),
      0 14px 34px rgba(7, 25, 47, 0.12);
    transform: translateY(0);
  }

  100% {
    border-color: var(--line);
    background: var(--surface-light);
    box-shadow: none;
    transform: translateY(0);
  }
}

@keyframes card-highlight-ring {
  0% {
    border-color: rgba(47, 104, 201, 0);
    opacity: 0;
    transform: scale(0.96);
  }

  26% {
    border-color: rgba(47, 104, 201, 0.86);
    opacity: 1;
    transform: scale(1);
  }

  72% {
    border-color: rgba(47, 104, 201, 0.58);
    opacity: 1;
    transform: scale(1);
  }

  100% {
    border-color: rgba(47, 104, 201, 0.3);
    opacity: 0;
    transform: scale(1.035);
  }
}

@keyframes card-highlight-sweep {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .specialty-card,
  .specialty-card::before,
  .specialty-card::after {
    animation: none !important;
    transition: none;
  }
}

.specialty-card p {
  color: var(--muted);
  line-height: var(--leading-copy);
}

.service-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 260px;
  padding: var(--section-band-block) var(--gutter-page);
  color: var(--white);
  background: var(--blue-ink);
}

.service-band > div {
  display: grid;
  gap: var(--space-4);
  max-width: 920px;
}

.service-band h2 {
  font-size: clamp(1.75rem, 3.6vw, 3.15rem);
}

.service-band p {
  max-width: 920px;
  color: rgba(255, 253, 248, 0.78);
  font-size: var(--text-body);
  line-height: var(--leading-copy);
}

.text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  font-size: var(--text-body);
  font-weight: 800;
  font-family: inherit;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: rgba(255, 253, 248, 0.55);
  text-underline-offset: 6px;
  cursor: pointer;
}

@media (min-width: 901px) {
  .phone-cta-mobile {
    display: none;
  }

  :is(.button, .text-link).phone-cta-desktop {
    display: inline-flex;
    align-items: center;
  }
}

.quote-section {
  background: var(--white);
  display: grid;
  gap: 18px;
}

.quote-section h2 {
  max-width: 820px;
}

.quote-section p {
  max-width: var(--content-medium);
  color: var(--muted);
  font-size: var(--text-intro);
  line-height: var(--leading-copy);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px 40px;
  padding: var(--space-7) var(--gutter-page);
  color: rgba(255, 253, 248, 0.76);
  background: var(--blue-ink);
}

.site-footer > div:first-child {
  display: grid;
  gap: 10px;
}

.footer-brand {
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.2;
}

address,
.company-meta {
  display: grid;
  gap: 10px;
  font-size: var(--text-small);
  font-style: normal;
  line-height: 1.6;
}

.site-footer a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 253, 248, 0.35);
  text-underline-offset: 5px;
}

.company-meta span,
.postal-address {
  color: var(--white);
}

@media (min-width: 901px) and (max-width: 1500px) {
  .hero-title {
    max-width: 15ch;
    /* Keep the title within its grid column on smaller laptop displays. */
    font-size: clamp(1.9rem, 3.2vw, 3.15rem);
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
  }

  .hero-lede {
    font-size: clamp(0.88rem, 0.96vw, 1rem);
    line-height: 1.44;
  }

  .hero-line {
    font-size: 0.94rem;
    line-height: 1.55;
  }
}

@media (min-width: 901px) and (max-width: 1500px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(480px, 640px);
    grid-template-areas:
      "content puzzle"
      "profile puzzle";
    min-height: min(748px, calc(50vw + 108px));
    align-items: start;
    column-gap: clamp(24px, 4vw, 64px);
    row-gap: clamp(20px, 2vw, 32px);
    padding: 76px var(--gutter-hero) 32px;
  }

  .hero-puzzle-map {
    position: relative;
    grid-area: puzzle;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 640px;
    margin: 0;
    transform: none;
  }

  .hero-content {
    position: relative;
    grid-area: content;
    left: auto;
    bottom: auto;
    min-width: 0;
    max-width: 100%;
  }

  .profile-panel {
    position: relative;
    grid-area: profile;
    right: auto;
    bottom: auto;
    width: min(100%, 320px);
    margin: 0;
  }

  .profile-summary:not(.is-expanded) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
  }

  .profile-more {
    display: inline-block;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 480px);
  }

  .hero-puzzle-map {
    max-width: 480px;
  }
}

@media (min-width: 1501px) {
  .hero {
    --hero-copy-left: clamp(18px, 4vw, 58px);
    --hero-puzzle-half-width: min(24vw, 35vh, 390px);
  }

  .hero-content {
    left: var(--hero-copy-left);
    max-width: min(
      680px,
      calc(50% - var(--hero-puzzle-half-width) - 32px - var(--hero-copy-left))
    );
  }

  .hero .eyebrow {
    max-width: 66ch;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(2.25rem, 3vw, 3.25rem);
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .credential-track,
  .specialty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    gap: var(--space-4);
  }

  .site-nav {
    display: none;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 96px clamp(18px, 4vw, 58px) 42px;
  }

  .hero-puzzle-map {
    position: relative;
    --hero-center-logo-width: 21.5%;
    top: auto;
    left: auto;
    width: min(100%, 438px);
    margin: 0 auto 26px;
    transform: none;
  }

  .hero-content {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: 600px;
  }

  .profile-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    margin-top: 26px;
  }

  .section-heading,
  .service-band,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .specialty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credential-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 90px;
  }

  h1 {
    font-size: clamp(2.3rem, 10.8vw, 3.6rem);
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-logo-heading {
    width: 100%;
    font-size: 1rem;
  }

  .hero-puzzle-map {
    --hero-center-logo-width: 22.5%;
  }

  .puzzle-label {
    width: 28cqw;
    min-height: 11.5cqw;
    padding: 0.75cqw 0.9cqw;
    font-size: clamp(0.56rem, 2.85cqw, 0.96rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .phone-popup {
    padding: 16px;
  }

  .phone-popup-panel {
    padding: 22px;
  }

  .phone-popup-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .specialty-popup {
    padding: 16px;
  }

  .specialty-popup-panel {
    padding: 22px;
  }

  .specialty-popup-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .brand-affiliation {
    width: 62px;
    min-width: 62px;
    height: 38px;
    padding: 6px 7px;
  }

  .credential-strip {
    padding-top: 18px;
    padding-bottom: 22px;
  }

  .credential-track {
    grid-template-columns: 1fr;
  }

  .specialty-grid {
    grid-template-columns: 1fr;
  }

  .credential-card {
    min-height: auto;
    gap: 10px;
    padding: 14px;
  }

  .credential-card strong {
    font-size: 0.92rem;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo-wrap {
    width: 64px;
    height: 40px;
    min-width: 64px;
  }

  .brand-text {
    display: grid;
    gap: 2px;
  }

  .brand strong,
  .brand small {
    display: block;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .brand small {
    font-size: 0.78rem;
  }

  .header-brand-group {
    gap: 10px;
  }

  .specialty-grid {
    grid-template-columns: 1fr;
  }

  .specialty-card {
    min-height: 210px;
    padding: 22px;
  }

}
