:root {
  color-scheme: light;
  --ink: #132138;
  --muted: #5f6b79;
  --line: #dce3e9;
  --paper: #f5f7f8;
  --white: #fff;
  --navy: #142235;
  --cyan: #1a9eb2;
  --gold: #c99a45;
  --green: #24856f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  min-height: 72px;
  padding: 10px clamp(18px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  color: var(--white);
  background: rgba(9, 20, 34, .88);
  border-bottom: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
}
.brand span { display: grid; gap: 2px; }
.brand strong { font-size: 17px; }
.brand small { color: rgba(255,255,255,.68); }
.topbar nav { display: flex; gap: 28px; }
.topbar nav a {
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.language {
  justify-self: end;
  display: flex;
  gap: 4px;
}
.language button {
  min-width: 40px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 4px;
  color: rgba(255,255,255,.75);
  background: transparent;
  cursor: pointer;
}
.language button[aria-pressed="true"] {
  color: var(--navy);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: min(760px, 82vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.heroImage, .heroShade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.heroImage { object-fit: cover; object-position: center 45%; }
.heroShade {
  background: linear-gradient(90deg, rgba(6,18,31,.92) 0%, rgba(6,18,31,.66) 48%, rgba(6,18,31,.18) 100%);
}
.heroContent {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(72px, 10vh, 120px) clamp(18px, 8vw, 132px);
  color: var(--white);
}
.eyebrow, .sectionHeading > span, .culture > div > span, .join > div > span {
  display: block;
  color: #7bd3df;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 {
  margin: 16px 0 18px;
  max-width: 720px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: .96;
}
.hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
}
.heroActions, .joinActions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.heroActions a, .joinActions a {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-weight: 750;
  text-decoration: none;
}
.heroActions .primary, .joinActions .primary {
  color: var(--white);
  border-color: var(--cyan);
  background: var(--cyan);
}
.heroActions .secondary { color: var(--white); }
.scrollCue {
  position: absolute;
  z-index: 2;
  right: 4vw;
  bottom: 24px;
  color: var(--white);
  font-size: 28px;
  text-decoration: none;
}

.services, .workplaces, .join {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 8vw, 132px);
}
.services { background: var(--paper); }
.sectionHeading { max-width: 760px; margin-bottom: 42px; }
.sectionHeading > span, .join > div > span { color: var(--cyan); }
.sectionHeading h2, .culture h2, .join h2 {
  margin: 10px 0 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}
.sectionHeading p, .culture p, .join p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.serviceGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.serviceGrid article {
  padding: 32px 34px 18px 0;
  border-right: 1px solid var(--line);
}
.serviceGrid article + article { padding-left: 34px; }
.serviceGrid article:last-child { border-right: 0; }
.serviceGrid article > span { color: var(--gold); font-weight: 850; }
.serviceGrid h3 { margin: 38px 0 10px; font-size: 23px; }
.serviceGrid p { color: var(--muted); line-height: 1.65; }

.locationGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.locationGrid article {
  display: grid;
  grid-template-columns: minmax(180px, 42%) 1fr;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}
.locationGrid article img { width: 100%; height: 100%; object-fit: cover; }
.locationGrid article div { padding: 30px; align-self: end; }
.locationGrid article span { color: var(--green); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.locationGrid h3 { margin: 10px 0; font-size: 27px; }
.locationGrid p { color: var(--muted); line-height: 1.6; }

.culture {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  min-height: 520px;
  color: var(--white);
  background: var(--navy);
}
.culture > img { width: 100%; height: 100%; object-fit: cover; }
.culture > div {
  padding: clamp(54px, 7vw, 100px);
  align-self: center;
}
.culture > div > span { color: #e7bd72; }
.culture p { color: rgba(255,255,255,.7); }

.join {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  background: #edf7f6;
}
.join > div:first-child { max-width: 720px; }
.joinActions { justify-content: flex-end; }
.joinActions a { color: var(--navy); }

footer {
  padding: 34px clamp(18px, 8vw, 132px);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  color: rgba(255,255,255,.72);
  background: #0b1725;
}
footer p, footer small { margin: 0; }
.footerBrand strong { color: var(--white); }

@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar nav { display: none; }
  .hero { min-height: 80vh; }
  .heroContent { margin-left: 24px; }
  .serviceGrid, .locationGrid, .culture, .join { grid-template-columns: 1fr; }
  .serviceGrid article, .serviceGrid article + article {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .serviceGrid h3 { margin-top: 18px; }
  .locationGrid article { grid-template-columns: 1fr; }
  .locationGrid article img { height: 240px; }
  .culture > img { min-height: 320px; }
  .joinActions { justify-content: flex-start; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .topbar { min-height: 64px; padding: 8px 14px; }
  .brand img { width: 38px; height: 38px; }
  .brand small { display: none; }
  .language button { min-width: 34px; padding: 0 6px; }
  .hero h1 { font-size: 48px; }
  .heroActions a, .joinActions a { width: 100%; }
  .services, .workplaces, .join { padding-left: 18px; padding-right: 18px; }
}
