@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #202021;
  --muted: #656b78;
  --paper: #f7f6fa;
  --purple: #7052d1;
  --lime: #dfff59;
  --line: #e2dfea;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 6px;
  border-radius: 4px;
}
svg {
  width: 25px;
  height: 25px;
  flex: none;
}
.wrap {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.simple-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 104px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand img {
  width: 100px;
  height: auto;
}
.simple-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.simple-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.simple-nav a[aria-current="page"] {
  color: var(--purple);
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -70px;
  padding: 10px 18px;
  background: var(--ink);
  color: white;
  z-index: 10;
}
.skip-link:focus {
  top: 12px;
}
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kicker:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(44px, 6vw, 82px);
  letter-spacing: -0.065em;
  line-height: 1.08;
  font-weight: 600;
}
h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.045em;
  font-weight: 600;
}
h3 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--muted);
  max-width: 640px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 15px 23px;
  min-height: 52px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.2s,
    color 0.2s;
}
.button.primary {
  background: var(--ink);
  color: white;
}
.button:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.button span {
  font-size: 20px;
  line-height: 1;
}
.simple-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.simple-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
}
.simple-footer svg {
  width: 17px;
  height: 17px;
}
.error-hero {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 88px 0 72px;
  min-height: 620px;
}
.error-copy {
  display: grid;
  gap: 26px;
}
.error-copy h1 {
  max-width: 710px;
}
.error-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1/1;
  max-width: 430px;
  width: 100%;
  background: #eee8fc;
  border: 1px solid #ded4f4;
  border-radius: 36px;
  isolation: isolate;
}
.error-digits {
  font-size: clamp(110px, 14vw, 178px);
  font-weight: 650;
  letter-spacing: -0.09em;
  color: var(--purple);
  line-height: 1;
}
.error-badge {
  position: absolute;
  right: 20px;
  bottom: 24px;
  background: var(--lime);
  width: 84px;
  height: 84px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  transform: rotate(-8deg);
}
.error-badge svg {
  width: 38px;
  height: 38px;
}
.error-label {
  position: absolute;
  left: 26px;
  top: 24px;
  font-size: 12px;
  color: var(--purple);
}
.error-routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 64px;
}
.route-card,
.profile-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.route-card {
  display: flex;
  align-items: flex-start;
  gap: 17px;
}
.route-card > svg,
.profile-card svg {
  color: var(--purple);
}
.route-card strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
}
.route-card p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 5px;
}
.route-card:hover {
  border-color: var(--purple);
}
.profile-hero {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 72px 0;
}
.profile-copy {
  display: grid;
  gap: 24px;
}
.profile-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 30px;
  background: #eee8fc;
}
.profile-stats {
  display: flex;
  gap: 40px;
  padding-top: 8px;
}
.profile-stats strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.04em;
}
.profile-stats span {
  font-size: 12px;
  color: var(--muted);
}
.profile-section {
  padding: 55px 0;
  border-top: 1px solid var(--line);
}
.section-intro {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  max-width: 850px;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}
.profile-card p,
.profile-paragraph {
  font-size: 16px;
  color: var(--muted);
}
.profile-paragraph {
  max-width: 900px;
}
.profile-paragraph + p {
  margin-top: 16px;
}
.profile-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.profile-links a {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 44px;
  font-size: 14px;
  background: white;
}
.profile-links a:hover {
  border-color: var(--purple);
}
.profile-cta {
  background: #27232f;
  color: #fff;
  border-radius: 28px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 48px 0;
}
.profile-cta .button {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  flex: none;
}
.profile-cta p {
  color: #c8c1d5;
  margin-top: 12px;
}
.profile-cta h2 {
  font-size: 32px;
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .simple-header {
    min-height: 88px;
    gap: 12px;
  }
  .brand img {
    width: 84px;
  }
  .simple-nav {
    gap: 16px;
    font-size: 12px;
  }
  .error-hero {
    gap: 30px;
    min-height: auto;
    padding: 56px 0;
  }
  .error-routes {
    gap: 12px;
  }
  .route-card {
    padding: 20px;
    gap: 12px;
  }
  .profile-hero {
    gap: 32px;
    padding: 48px 0;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-section {
    padding: 36px 0;
  }
  .profile-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .profile-stats {
    gap: 26px;
  }
  .simple-footer {
    flex-wrap: wrap;
    gap: 8px;
  }
  .profile-cta h2 {
    font-size: 28px;
  }
}
@media (max-width: 560px) {
  .simple-nav {
    gap: 12px;
  }
  .simple-nav .nav-home {
    display: none;
  }
  .simple-header {
    min-height: 80px;
  }
  .error-hero {
    grid-template-columns: 1fr;
    padding: 42px 0 28px;
    gap: 28px;
  }
  .error-copy {
    gap: 22px;
  }
  .error-copy h1 {
    font-size: 46px;
  }
  .error-visual {
    max-width: none;
    aspect-ratio: auto;
    height: 175px;
    border-radius: 24px;
  }
  .error-digits {
    font-size: 112px;
  }
  .error-label {
    top: 17px;
    left: 20px;
  }
  .error-badge {
    width: 60px;
    height: 60px;
    right: 20px;
    bottom: 17px;
    border-radius: 18px;
  }
  .error-badge svg {
    width: 30px;
    height: 30px;
  }
  .error-routes {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }
  .route-card {
    padding: 20px;
  }
  .actions .button {
    flex: 1;
    padding-inline: 16px;
    white-space: nowrap;
  }
  .profile-hero {
    grid-template-columns: 1fr;
    padding-top: 38px;
  }
  .profile-copy h1 {
    font-size: 62px;
  }
  .profile-photo {
    aspect-ratio: 4/3;
    object-position: center 38%;
  }
  .profile-cta {
    padding: 26px;
    margin: 32px 0;
  }
  .profile-cta .button {
    width: 100%;
  }
  .profile-stats {
    gap: 34px;
  }
  .simple-footer {
    padding: 20px 0;
  }
  .simple-footer span {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}

/* Measurement choices are available on the profile page as well. */
.analytics-notice {
  position: fixed;
  z-index: 80;
  bottom: 24px;
  left: 24px;
  width: min(390px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background: #fff;
  color: #262331;
  border: 1px solid #dedbea;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 12px 60px #17112825;
}
.analytics-notice[hidden] {
  display: none;
}
.analytics-notice h2 {
  font-size: 17px;
  margin: 0 0 10px;
}
.analytics-notice p {
  font-size: 12px;
  color: #65616e;
  margin: 0 0 18px;
}
.analytics-notice > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.analytics-notice button {
  border: 1px solid #d7d1e5;
  border-radius: 24px;
  padding: 10px 16px;
  min-height: 44px;
  font: inherit;
  font-size: 12px;
  background: #fff;
  color: #292531;
  cursor: pointer;
}
.analytics-notice button[data-consent="all"] {
  background: #6b50d8;
  border-color: #6b50d8;
  color: #fff;
}

.analytics-settings {
  border: 0;
  padding: 10px 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  min-height: 44px;
}
.privacy-footer {
  padding-bottom: 28px;
}
@media (max-width: 700px) {
  .analytics-notice {
    bottom: 16px;
    left: 16px;
    width: calc(100vw - 32px);
  }
}

/* SVG directions cannot be replaced with emoji on mobile operating systems. */
svg.direction-icon {
  display: inline-block;
  width: 1em !important;
  height: 1em !important;
  flex: none;
  vertical-align: -0.12em;
  pointer-events: none;
}

/* SVG directions cannot be replaced with emoji on mobile operating systems. */
svg.symbol-icon {
  display: inline-block;
  width: 1em !important;
  height: 1em !important;
  flex: none;
  vertical-align: -0.12em;
  pointer-events: none;
}

/* Profile expertise cards share the phone swipe pattern used across the site. */
.mobile-swipe-hint {
  display: none;
}
@media (max-width: 640px) {
  .profile-section .mobile-swipe-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    margin: 14px 0 12px;
  }
  .profile-section .mobile-swipe-hint svg {
    width: 20px;
    height: 20px;
  }
  .profile-grid.mobile-swipe-track {
    display: flex;
    gap: 12px;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    scrollbar-width: thin;
    scrollbar-color: #b8accd #ebe6f3;
  }
  .profile-grid.mobile-swipe-track > .profile-card {
    flex: 0 0 calc(100% - 32px);
    min-width: 0;
    padding: 20px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .profile-card p {
    font-size: 15px;
    line-height: 1.6;
  }
  .profile-card h3 {
    font-size: 20px;
    line-height: 1.3;
  }
  .profile-hero {
    padding-block: 28px;
    gap: 24px;
  }
  .profile-copy {
    gap: 18px;
  }
  .profile-photo {
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: 50% 35%;
  }
  .profile-section {
    padding-block: 28px;
  }
  .section-intro {
    gap: 12px;
    margin-bottom: 20px;
  }
  .profile-paragraph {
    font-size: 15px;
    line-height: 1.65;
  }
  .profile-cta {
    padding: 24px;
    margin-block: 28px;
    gap: 20px;
    border-radius: 20px;
  }
  .profile-copy h1 {
    font-size: 44px;
    line-height: 1.1;
  }
  .profile-copy .actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .profile-copy .actions .button {
    min-height: 48px;
    padding: 12px;
    gap: 8px;
    font-size: 13px;
  }
  .profile-copy .actions .button:first-child {
    flex: 1;
  }
  .profile-copy .actions .button:last-child {
    flex: none;
  }
  .profile-stats strong {
    font-size: 28px;
  }
}
