/* ---------- self-hosted fonts (variable, Latin subset) ------------------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- design tokens ------------------------------------------------ */
:root {
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --navy: #0c2150;
  --navy-2: #163262;
  --ink: #1f2b45;
  --slate: #3d4b66;
  --line: #dde5f0;
  --bg: #eef3fb;

  --blue: #2168d9;
  --blue-2: #2f7ff5;
  --green: #179064;
  --purple: #6d3ad6;

  --header-h: clamp(58px, 9vh, 96px);
  --cards-h: clamp(290px, 46.5vh, 516px);
  --strip-h: clamp(66px, 9.8vh, 106px);
  --lower-gap: clamp(10px, 2.1vh, 24px);
  --lower-pad: clamp(8px, 2.5vh, 28px);
  --container: min(81.2vw, 1560px);
  --gap: clamp(12px, 1.3vw, 22px);
  --radius: clamp(16px, 2.2vh, 24px);
  --badge: clamp(46px, 7.6vh, 80px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t: 420ms;
}


.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  transition: top 200ms;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid rgba(47, 127, 245, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.icon { width: 1em; height: 1em; flex: none; }
/* ---------- header ------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 20;
  flex: none;
  height: var(--header-h);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.93) 60%, rgba(255, 255, 255, 0.88) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}
.site-header__edge {
  position: absolute;
  left: 0;
  top: calc(100% - 1px);
  width: 100%;
  height: clamp(28px, 7vh, 80px);
  pointer-events: none;
}
.site-header__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2vw;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(16px, 2.6vw, 42px);
}

.brand {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.8vw, 14px);
  flex: none;
}
.brand__mark {
  height: clamp(44px, 7.8vh, 82px);
  width: auto;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-display);
  color: var(--navy);
}
.brand__name {
  font-size: clamp(19px, 2.95vh, 32px);
  font-weight: 800;
  letter-spacing: 0.005em;
  /* the variable font tops out at 800, so thicken the strokes optically */
  -webkit-text-stroke: 0.9px currentColor;
  paint-order: stroke fill;
}
.brand__sub {
  margin-top: 0.34em;
  padding-left: 0.1em;
  font-size: clamp(10px, 1.5vh, 15px);
  font-weight: 700;
  letter-spacing: 0.46em;
  color: var(--navy-2);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 46px);
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 42px);
}
.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 0.4em 0;
  font-size: clamp(13px, 1.62vh, 16.5px);
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  transition: color var(--t) var(--ease);
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-2), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.site-nav__link:hover,
.site-nav__link:focus-visible { color: var(--blue); }
.site-nav__link:hover::after,
.site-nav__link:focus-visible::after { transform: scaleX(1); }

/* social links (header, top right) */
.social {
  display: flex;
  align-items: center;
  gap: clamp(5px, 0.5vw, 10px);
}
.social__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  height: clamp(34px, 4.5vh, 46px);
  padding: 0 clamp(10px, 0.85vw, 16px);
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font-size: clamp(11px, 1.4vh, 14px);
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--t) var(--ease), background var(--t) var(--ease),
    border-color var(--t) var(--ease), transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.social__link .icon {
  width: clamp(15px, 2vh, 19px);
  height: clamp(15px, 2vh, 19px);
  transition: color var(--t) var(--ease);
}
.social__link--facebook .icon { color: #1877f2; }
.social__link--instagram .icon { color: #d6337c; }
.social__link:hover,
.social__link:focus-visible { transform: translateY(-2px); }
.social__link:hover .icon,
.social__link:focus-visible .icon { color: inherit; }
.social__link--facebook:hover,
.social__link--facebook:focus-visible {
  color: #fff;
  background: linear-gradient(180deg, #2b86f5 0%, #1266d8 100%);
  border-color: #1266d8;
  box-shadow: 0 10px 22px -8px rgba(24, 119, 242, 0.85);
}
.social__link--instagram:hover,
.social__link--instagram:focus-visible {
  color: #fff;
  background: linear-gradient(45deg, #f9a03c 0%, #e5407a 48%, #a02fc4 100%);
  border-color: transparent;
  box-shadow: 0 10px 22px -8px rgba(196, 58, 138, 0.85);
}

.nav-toggle { display: none; }

/* ---------- contact strip ------------------------------------------------ */
.strip {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  min-height: 0;
}
.strip__list {
  height: 100%;
  display: grid;
  grid-template-columns: 1.6fr 1.42fr 0.95fr 0.95fr;
  border-radius: clamp(14px, 2vh, 20px);
  background: linear-gradient(180deg, rgba(10, 30, 92, 0.55), rgba(5, 18, 62, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 44px -22px rgba(0, 10, 50, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.strip__item {
  min-width: 0;
  --tone-l: #3d7ff0;
  --tone: #1e4fc0;
  --tone-d: #0c2f7a;
  --tone-glow: rgba(61, 127, 240, 0.5);
  --tone-ink: #e8f1ff;
}
.strip__item + .strip__item { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.strip__item--green { --tone-l: #2fa77a; --tone: #1a7d5b; --tone-d: #0d4a37; --tone-glow: rgba(47, 167, 122, 0.5); --tone-ink: #e6fff4; }
.strip__item--indigo { --tone-l: #7d6ee8; --tone: #5349a9; --tone-d: #2b2775; --tone-glow: rgba(125, 110, 232, 0.5); --tone-ink: #efeaff; }
.strip__item--gold { --tone-l: #e5b95f; --tone: #a8742e; --tone-d: #5a3a2c; --tone-glow: rgba(229, 185, 95, 0.45); --tone-ink: #fff0c8; }
.strip__link {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 20px);
  height: 100%;
  padding: 0 clamp(12px, 1.5vw, 28px);
  color: #fff;
  transition: background var(--t) var(--ease);
}
a.strip__link:hover,
a.strip__link:focus-visible { background: rgba(255, 255, 255, 0.06); outline: none; }
.strip__icon {
  flex: none;
  width: clamp(38px, 6.3vh, 66px);
  height: clamp(38px, 6.3vh, 66px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--tone-ink);
  background: radial-gradient(circle at 35% 30%, var(--tone-l) 0%, var(--tone) 52%, var(--tone-d) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 8px 20px -8px rgba(0, 0, 0, 0.55), 0 0 26px -4px var(--tone-glow);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.strip__icon .icon { width: 46%; height: 46%; }
a.strip__link:hover .strip__icon,
a.strip__link:focus-visible .strip__icon {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 12px 24px -8px rgba(0, 0, 0, 0.6), 0 0 32px -2px var(--tone-glow);
}
.strip__text {
  display: flex;
  flex-direction: column;
  gap: 0.28em;
  min-width: 0;
}
.strip__title {
  font-size: clamp(9.5px, 1.2vh, 12.5px);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.1;
}
.strip__value {
  font-family: var(--font-display);
  font-size: clamp(11.5px, 1.5vh, 15.5px);
  font-weight: 600;
  line-height: 1.32;
  color: #fff;
  overflow-wrap: break-word;
}
a.strip__link:hover .strip__value,
a.strip__link:focus-visible .strip__value { text-decoration: none; }

/* ---------- footer (visible on scrolling layouts only) ------------------- */
.site-footer {
  display: none;
  background: #03215b;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  padding: 14px 20px 18px;
  font-size: 12px;
}

/* ---------- careers additions: header CTA, contact band, visible footer ---------- */
.site-header { position: sticky; top: 0; height: clamp(64px, 9vh, 86px); }
.site-nav__link.is-active { color: var(--blue); }
.site-nav__link.is-active::after { transform: scaleX(1); }
.site-nav__cta {
  display: inline-flex; align-items: center; height: clamp(34px, 4.5vh, 44px); padding: 0 18px; border-radius: 999px;
  font-size: clamp(12px, 1.5vh, 14.5px); font-weight: 700; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, var(--blue-2), var(--purple)); box-shadow: 0 10px 22px -10px rgba(47, 127, 245, .8);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.site-nav__cta:hover, .site-nav__cta:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(109, 58, 214, .8); }
.cr-contact { margin-top: 56px; padding: 34px clamp(16px, 4vw, 48px); background: radial-gradient(900px 300px at 15% 0%, #1b3f8f 0, transparent 70%), linear-gradient(180deg, #0c2150, #03215b); }
.cr-contact .strip { width: min(1180px, 100%); }
.cr-contact .strip__list { min-height: 92px; }
.cr-contact .strip__link { padding-top: 14px; padding-bottom: 14px; }
.site-footer { display: block; }

@media (max-width: 1023px) {
  .site-header { position: sticky; top: 0; height: 64px; }
  .site-header__edge { display: none; }
  .site-header__inner { padding: 0 18px; gap: 12px; }
  .brand__mark { height: 46px; }
  .brand__name { font-size: 20px; }
  .brand__sub { font-size: 10.5px; }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--navy); }
  .nav-toggle .icon { width: 26px; height: 26px; }
  .nav-toggle__close { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; align-items: stretch; gap: 10px; padding: 8px 20px 20px;
    background: rgba(255, 255, 255, 0.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(12, 33, 80, 0.35);
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px);
    transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 0s linear 260ms;
  }
  .site-header.is-open .site-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 0s; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__link { display: block; padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .site-nav__link::after { display: none; }
  .site-nav__cta { justify-content: center; height: 44px; margin-top: 8px; font-size: 15px; }
  .social { flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .social__link { height: 42px; font-size: 14px; padding: 0 14px; }
  .cr-contact { padding: 26px 16px; }
  .cr-contact .strip__list { grid-template-columns: 1fr; height: auto; }
  .cr-contact .strip__link { padding: 14px 18px; gap: 14px; }
  .cr-contact .strip__item + .strip__item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .cr-contact .strip__icon { width: 46px; height: 46px; }
  .cr-contact .strip__title { font-size: 11px; }
  .cr-contact .strip__value { font-size: 14.5px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .social__label { display: none; }
  .social__link { width: clamp(34px, 4.5vh, 44px); padding: 0; justify-content: center; }
}
