@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --oxford:      #04172E;
  --oxford-deep: #030E1C;
  --muted-dark:  #AAB8C5;
  --sky:         #0077B6;
  --capri:       #13B2F7;
  --blizzard:    #ADE8F4;
  --white:       #FFFFFF;
  --off-white:   #F7F8FA;
  --gray-mid:    #6B7280;
  --gray-dark:   #374151;
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  background: var(--off-white);
  color: var(--oxford);
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--capri);
  outline-offset: 3px;
}

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

.wordmark {
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.tag {
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 600;
}

.kicker {
  margin: 0 0 10px;
  color: var(--sky);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Landing: the split screen */

.landing { background: var(--oxford); }

.brandbar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  color: var(--white);
}

.split {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.half {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: 104px clamp(24px, 5vw, 72px) 72px;
  color: var(--white);
  text-align: center;
}

.half-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}

.half-inbox .half-bg { object-position: 62% 30%; }
.half-overview .half-bg { object-position: 70% 50%; }

/* The overlay that keeps the text the focus */
.half::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(4, 23, 46, 0.80) 0%,
    rgba(4, 23, 46, 0.72) 50%,
    rgba(4, 23, 46, 0.88) 100%);
  transition: opacity 0.6s var(--ease-out);
}

.half-overview { border-left: 1px solid rgba(255, 255, 255, 0.12); }

.half:hover .half-bg { transform: scale(1.07); }
.half:hover::before { opacity: 0.88; }

.half-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
}

.role {
  margin: 0 0 18px;
  color: var(--blizzard);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.headline {
  margin: 0 0 32px;
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}

/* The whole half is clickable; the button stays the one link. */
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
}

.half:hover .cta,
.cta:focus-visible {
  background: var(--white);
  color: var(--oxford);
}

.cta:focus-visible {
  outline-color: var(--white);
  outline-offset: 4px;
}

.arrow { transition: transform 0.25s var(--ease-out); }

.half:hover .arrow { transform: translateX(4px); }

.foot-dark {
  background: var(--oxford-deep);
  color: var(--muted-dark);
}

/* Pages that aren't built yet */

.topbar {
  background: var(--oxford);
  color: var(--white);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
}

.stub {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 24px;
}

.stub h1 { margin-bottom: 16px; }

.stub p {
  margin: 0 0 16px;
  color: var(--gray-dark);
}

.stub .kicker { color: var(--sky); }

.back {
  font-weight: 700;
  text-decoration: none;
  color: var(--sky);
}

.back:hover { text-decoration: underline; }

/* Footer */

.foot {
  padding: 16px 24px;
  color: var(--gray-mid);
  font-size: 13px;
  text-align: center;
}

.foot p { margin: 0; }

.foot-dark { color: var(--muted-dark); }

@media (max-width: 820px) {
  .brandbar { padding: 16px; }
  .split { grid-template-columns: 1fr; }
  .half {
    min-height: max(420px, 60svh);
    padding: 88px 16px 56px;
  }
  .half-overview {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 56px;
  }
  .topbar-inner { padding: 12px 16px; }
  .stub { padding-left: 16px; padding-right: 16px; }
  .foot { padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .half-bg,
  .half::before,
  .arrow { transition: none; }
  .half:hover .half-bg { transform: scale(1.02); }
  .half:hover .arrow { transform: none; }
}
