/* One stylesheet for every page, so the pages cannot drift apart visually —
   inconsistency between pages is one of the things that makes a site read as
   unfinished.

   No webfont is loaded on purpose. The privacy policy states that this site
   embeds no third party content, and a font request to another company's CDN
   would make that untrue. The type is carried by scale, weight and spacing
   instead. If a licensed face is ever added it must be served from this origin
   and the privacy page left alone. */

:root {
  --bg: #ffffff;
  --panel: #f6f6f3;
  --panel-2: #eef1f4;
  --fg: #14181b;
  --fg-2: #39434c;
  --muted: #5f6970;
  --rule: #e4e3de;
  --rule-strong: #cbcac3;
  --accent: #1a4f86;
  --accent-2: #2d6ba8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1013;
    --panel: #15191c;
    --panel-2: #1b232b;
    --fg: #eef2f5;
    --fg-2: #c3ccd5;
    --muted: #8e9aa6;
    --rule: #262a2d;
    --rule-strong: #3b4046;
    --accent: #79aede;
    --accent-2: #9cc6ee;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg-2);
  font: 400 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
        Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.shell { max-width: 68rem; margin: 0 auto; padding: 0 2rem; }
.prose { max-width: 40rem; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 2px;
}

/* ── masthead ─────────────────────────────────────────────────────────── */

.masthead { border-bottom: 1px solid var(--rule); background: var(--bg); }
.masthead .shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; padding-top: 1.1rem; padding-bottom: 1.1rem;
}

.wordmark {
  display: flex; align-items: center; gap: 0.65rem;
  color: var(--fg); text-decoration: none; font-weight: 600;
  font-size: 1.02rem; letter-spacing: -0.012em; white-space: nowrap;
}
.wordmark svg { display: block; flex: none; }
.wordmark .legal { color: var(--muted); font-weight: 400; }

.masthead nav { display: flex; gap: 1.9rem; flex-wrap: wrap; }
.masthead nav a {
  color: var(--muted); text-decoration: none;
  font-size: 0.895rem; font-weight: 500; letter-spacing: 0.005em;
  padding: 0.3rem 0; border-bottom: 2px solid transparent;
  transition: color 0.15s ease;
}
.masthead nav a:hover { color: var(--fg); }
.masthead nav a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--accent); }

/* ── hero ─────────────────────────────────────────────────────────────── */

.hero { border-bottom: 1px solid var(--rule); }
.hero .shell { padding-top: 5.5rem; padding-bottom: 5rem; }

.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.3rem);
  line-height: 1.08; letter-spacing: -0.028em; font-weight: 600;
  color: var(--fg); margin: 0 0 1.5rem; max-width: 19ch; text-wrap: balance;
}
.hero p { font-size: 1.12rem; max-width: 40rem; margin: 0 0 1rem; }
.hero p:last-child { margin-bottom: 0; }

.hero-sub { border-bottom: 1px solid var(--rule); background: var(--panel); }
.hero-sub .shell { padding-top: 3rem; padding-bottom: 3rem; }
.hero-sub h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.12; letter-spacing: -0.022em; font-weight: 600;
  color: var(--fg); margin: 0 0 0.65rem; text-wrap: balance;
}
.hero-sub p { margin: 0; color: var(--muted); max-width: 44rem; }

/* ── sections ─────────────────────────────────────────────────────────── */

section { border-bottom: 1px solid var(--rule); }
section:last-of-type { border-bottom: none; }
section .shell { padding-top: 4rem; padding-bottom: 4rem; }
section.tint { background: var(--panel); }

.eyebrow {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--accent); font-weight: 600; margin: 0 0 1.1rem;
}

h2 {
  font-size: clamp(1.4rem, 2.7vw, 1.85rem); line-height: 1.22;
  letter-spacing: -0.018em; font-weight: 600; color: var(--fg);
  margin: 0 0 1.2rem; max-width: 26ch; text-wrap: balance;
}

h3 {
  font-size: 1.04rem; line-height: 1.4; letter-spacing: -0.008em;
  font-weight: 600; color: var(--fg); margin: 0 0 0.45rem;
}

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1.1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.5rem; }
li::marker { color: var(--rule-strong); }

/* ── pillar / capability grid ─────────────────────────────────────────── */

.grid {
  display: grid; gap: 2.25rem 2.5rem; margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.grid > div > p { font-size: 0.96rem; color: var(--muted); }
.grid .num {
  font-size: 0.72rem; letter-spacing: 0.1em; color: var(--accent);
  font-weight: 600; display: block; margin-bottom: 0.7rem;
  font-variant-numeric: tabular-nums;
}

/* two-column text layout: heading rail on the left, prose on the right */
.split { display: grid; gap: 1.5rem 4rem; grid-template-columns: 1fr; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 16rem 1fr; }
  .split .rail { position: sticky; top: 2rem; align-self: start; }
  .split h2 { margin-bottom: 0; }
}

/* ── products ─────────────────────────────────────────────────────────── */

.product {
  border: 1px solid var(--rule); border-radius: 4px;
  padding: 1.6rem 1.75rem; margin-bottom: 1.1rem; background: var(--bg);
}
.product:last-of-type { margin-bottom: 0; }
.product p { font-size: 0.97rem; }
.product p:last-child { margin-bottom: 0; }

.status {
  display: inline-block; font-size: 0.67rem; text-transform: uppercase;
  letter-spacing: 0.09em; font-weight: 600; color: var(--muted);
  border: 1px solid var(--rule-strong); border-radius: 100px;
  padding: 0.12rem 0.65rem; margin-left: 0.6rem; vertical-align: 0.14rem;
  background: var(--panel);
}

/* ── definition rows (careers, facts) ─────────────────────────────────── */

.rows { border-top: 1px solid var(--rule); margin-top: 2.25rem; }
.row {
  display: grid; gap: 0.35rem 3rem; grid-template-columns: 1fr;
  padding: 1.5rem 0; border-bottom: 1px solid var(--rule);
}
@media (min-width: 48rem) { .row { grid-template-columns: 14rem 1fr; } }
.row p { font-size: 0.97rem; color: var(--muted); }

/* ── legal document pages ─────────────────────────────────────────────── */

.doc { padding-top: 3.5rem; padding-bottom: 4.5rem; }
.doc h2 {
  font-size: 1.08rem; letter-spacing: -0.005em; margin: 2.75rem 0 0.85rem;
  max-width: none;
}
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc ul, .doc address { max-width: 40rem; }
.doc .meta {
  color: var(--muted); font-size: 0.87rem; margin-bottom: 2.5rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule);
}
.doc .lead { font-size: 1.08rem; color: var(--fg-2); }

address { font-style: normal; }

/* ── footer ───────────────────────────────────────────────────────────── */

footer { border-top: 1px solid var(--rule); background: var(--panel); }
footer .shell { padding-top: 3.5rem; padding-bottom: 2rem; }

.foot-grid {
  display: grid; gap: 2.5rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
@media (min-width: 62rem) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }

.foot-about p { font-size: 0.9rem; color: var(--muted); max-width: 24rem; }
.foot-about .name { color: var(--fg); font-weight: 600; margin-bottom: 0.6rem; }

.foot-grid h4 {
  font-size: 0.71rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--fg); font-weight: 600; margin: 0 0 0.9rem;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 0.55rem; }
.foot-grid li a {
  color: var(--muted); text-decoration: none; font-size: 0.9rem;
}
.foot-grid li a:hover { color: var(--fg); text-decoration: underline; }

.colophon {
  border-top: 1px solid var(--rule-strong); margin-top: 3rem; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between;
  font-size: 0.82rem; color: var(--muted);
}
.colophon p { margin: 0; }

@media (max-width: 40rem) {
  .shell { padding: 0 1.25rem; }
  .hero .shell { padding-top: 3.5rem; padding-bottom: 3rem; }
  section .shell { padding-top: 2.75rem; padding-bottom: 2.75rem; }
  .masthead nav { gap: 1.25rem; }
}


/* ── call to action ───────────────────────────────────────────────────── */

.btn {
  display: inline-block; background: var(--accent); color: #fff;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 0.75rem 1.5rem; border-radius: 3px; border: 1px solid var(--accent);
  transition: background 0.15s ease;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--panel-2); }
@media (prefers-color-scheme: dark) { .btn { color: #0c1013; } }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }

/* ── the open role ────────────────────────────────────────────────────── */

.role {
  border: 1px solid var(--rule-strong); border-radius: 5px;
  background: var(--bg); padding: 2rem 2.25rem; margin-top: 2.25rem;
}
.role h3 { font-size: 1.35rem; letter-spacing: -0.015em; margin-bottom: 0.3rem; }
.role .where { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.75rem; }

.facts {
  display: grid; gap: 1.35rem 2.5rem; margin: 0 0 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  border-top: 1px solid var(--rule); padding-top: 1.75rem;
}
.facts dt {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--muted); font-weight: 600; margin-bottom: 0.3rem;
}
.facts dd { margin: 0; color: var(--fg); font-weight: 500; font-size: 0.98rem; }

/* ── city list ────────────────────────────────────────────────────────── */

.cities {
  columns: 4 11rem; column-gap: 2rem; list-style: none; margin: 1.25rem 0 0;
  padding: 0; font-size: 0.94rem;
}
.cities li {
  break-inside: avoid; margin-bottom: 0.4rem; color: var(--fg-2);
  padding-left: 0.9rem; position: relative;
}
.cities li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 4px; height: 4px; border-radius: 50%; background: var(--rule-strong);
}
.country {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--accent); font-weight: 600; margin: 2rem 0 0;
}
.country:first-of-type { margin-top: 0; }
