/* Careers page foundation: fonts, tokens, reset, type scale and layout primitives.
   /careers is served under style-src 'self', so every visual rule lives in these files and the
   section markup carries classes only. Sibling files: controls, chrome, index, teams, sections,
   posting, apply, motion. */

@font-face {
  font-family: "Noto Sans Display";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url("/careers/fonts/noto-sans-display-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/careers/fonts/noto-sans-mono-latin.woff2") format("woff2");
}

:root {
  --ink: #1f2e28;
  --dark: #34454b;
  --mid: #526470;
  --light: #d3dae3;
  --line: #e4e9ed;
  --chip: #cfd7dd;
  --paper: #f5f7f8;
  --blue: #4d7dbf;
  --green: #76b2a0;
  --white: #ffffff;
  --dark-hover: #26362f;
  --faint: #eef1f4;
  --wash: #f5f8f9;
  --photo: #e9edf0;
  --font-body: "Noto Sans Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Noto Sans Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 4vw, 48px);
  --section-pad: clamp(56px, 7vw, 96px);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.careers {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
/* Text for assistive technology only (the "Hiring now" blip has no visible words). */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.content { flex: 1; display: flex; flex-direction: column; outline: none; }
.view { flex: 1; }

/* Layout */
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); scroll-margin-top: 90px; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head-ruled {
  padding-bottom: clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(24px, 3.4vw, 40px);
}
.section-lede { max-width: 40ch; font-size: 15.5px; line-height: 1.6; color: var(--mid); }
.section-lede-38 { max-width: 38ch; }
.section-lede-narrow { max-width: 34ch; }
.nowrap { white-space: nowrap; }

/* Type scale: condensed uppercase display headings, mono eyebrows */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
}
.eyebrow-light { color: var(--light); letter-spacing: 0.2em; }
.eyebrow-green { color: var(--green); }
.eyebrow-rule { display: flex; align-items: center; gap: 10px; }
.eyebrow-rule::before { content: ""; width: 22px; height: 1px; background: var(--green); flex: none; }
.section-title {
  margin-top: 14px;
  font-stretch: 72%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-title-lg { font-size: clamp(32px, 4.4vw, 54px); }
.section-title-teams { font-size: clamp(30px, 4.2vw, 52px); }
.section-title-md { font-size: clamp(30px, 4vw, 50px); line-height: 0.98; }
.section-title-sm { font-size: clamp(28px, 3.6vw, 44px); line-height: 1; }
.card-title { font-stretch: 82%; font-weight: 700; font-size: 17px; color: var(--ink); }
.mono-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
}
