/* Free stand-ins for the licensed Webflow fonts:
   ABC Walter Neue -> Inter Tight, Italian Plate No. 2 Mono -> DM Mono.
   To use the licensed fonts, drop the files in /public/fonts and change these @font-face rules. */
@font-face { font-family: "Maven Sans"; font-weight: 400; font-display: swap; src: url(/fonts/inter-tight/inter-tight-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Maven Sans"; font-weight: 500; font-display: swap; src: url(/fonts/inter-tight/inter-tight-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Maven Sans"; font-weight: 600; font-display: swap; src: url(/fonts/inter-tight/inter-tight-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Maven Sans"; font-weight: 700; font-display: swap; src: url(/fonts/inter-tight/inter-tight-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Maven Mono"; font-weight: 500; font-display: swap; src: url(/fonts/dm-mono/dm-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --blue: #3ea4e4;
  --blue-button: #40a4e5;
  --panel: #f2ecea;
  --ink: #000;
  --text: #333;
  --muted: #808080;
  --radius: 15px;
  --sans: "Maven Sans", Arial, sans-serif;
  --mono: "Maven Mono", "Trebuchet MS", monospace;
  --gutter: 36px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 30px var(--gutter) 0;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}

main { max-width: 1400px; margin: 0 auto; }

a { color: inherit; }

h1, h2, h3, p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

/* ---- type ---- */
.caption {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.caption-blue { color: var(--blue); }
.caption-white { color: #fff; }

.headline {
  font-size: 30px;
  line-height: 33px;
  font-weight: 500;
  letter-spacing: -0.7px;
  color: var(--ink);
}

.body-text {
  font-size: 20px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--ink);
}

/* ---- header ---- */
.site-header { display: flex; justify-content: center; padding-bottom: 20px; }
.logo-link img { display: block; width: 135px; height: auto; }

/* ---- about ---- */
.about { padding: 120px 0 110px; }
.about-text {
  font-size: 45px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -1px;
  color: var(--blue);
  max-width: 1100px;
}
.about-text .caption { display: inline-block; vertical-align: middle; margin-right: 0.35em; position: relative; top: -0.4em; font-size: 12px; line-height: 1; letter-spacing: 1px; }

/* ---- open roles ---- */
.section-label { margin-bottom: 20px; }

.role-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  position: relative;
  padding: 25px 25px 40px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--panel);
  text-decoration: none;
  transition: background-color .2s ease;
}
.role-card:hover { background: #ebe3e0; }
.role-card:focus-visible, .apply-button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.role-col { display: grid; align-content: start; gap: 16px; }
.role-col .headline { padding-bottom: 20px; margin-right: 15%; }
.role-location { margin-top: -20px; }
.role-desc { padding-right: 32%; }

.arrow { width: 40px; height: 40px; flex: none; transition: transform .25s ease; }
.arrow circle { fill: var(--blue); }
.role-card .arrow { position: absolute; top: 40px; right: 20px; }
.role-card:hover .arrow, .apply-button:hover .arrow { transform: translateX(6px); }

.empty { padding: 25px; border-radius: var(--radius); background: var(--panel); }

/* ---- logo grid ---- */
.team { padding-top: 110px; }
.team .section-label { margin-bottom: 36px; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 50px;
}
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 182 / 143;
  border-radius: var(--radius);
  background: var(--panel);
  padding: 12px;
}
.logo { display: block; max-width: 80%; height: auto; mix-blend-mode: multiply; }
.logo-small { height: 51px; width: auto; }
.logo-medium { height: 41px; width: auto; }
.logo-wide { height: 31px; width: auto; }
.logo-extra-wide { width: 139px; height: auto; }
.logo-school { width: 102px; height: auto; }
.logo-school-large { height: 61px; width: auto; }

/* ---- job detail ---- */
.job-headline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin: 120px 0 60px;
}
.job-title {
  margin-top: 20px;
  font-size: 40px;
  line-height: 42px;
  font-weight: 600;
  letter-spacing: -1px;
  color: var(--ink);
  max-width: 460px;
}
.job-facts { display: grid; gap: 10px; width: min(285px, 100%); margin-top: 30px; }
.fact { padding: 15px 30px 15px 15px; border-radius: var(--radius); background: var(--blue); }

.panel {
  padding: 25px 25px 40px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--panel);
}
.panel .headline { padding-bottom: 20px; }

.rich-text {
  max-width: 605px;
  font-size: 20px;
  line-height: 23px;
  font-weight: 500;
  color: var(--ink);
}
.rich-text-full { max-width: none; }
.rich-text p { margin: 0 0 10px; }
.rich-text ul, .rich-text ol { margin: 0 0 10px; padding-left: 40px; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text strong { font-weight: 700; }
.rich-text a { color: var(--blue); }
.rich-text h1, .rich-text h2, .rich-text h3, .rich-text h4 { font-size: 22px; line-height: 26px; font-weight: 600; margin: 20px 0 10px; }
.rich-text > :last-child { margin-bottom: 0; }

.apply-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
  padding: 25px;
  border-radius: var(--radius);
  background: var(--blue-button);
  text-decoration: none;
  transition: filter .2s ease;
}
.apply-button:hover { filter: brightness(1.05); }
.apply-button .headline { color: #fff; font-weight: 600; letter-spacing: -1px; }
.apply-button .arrow circle { fill: #fff; }
.apply-button .arrow path { stroke: var(--blue-button); }

.not-found { margin: 120px 0 60px; }
.not-found .body-text { margin-top: 20px; }

/* ---- footer ---- */
.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 20px;
  max-width: 1400px;
  margin: 130px auto 30px;
  padding: 25px;
  border-radius: var(--radius);
  background: #000;
}
.site-footer .caption { color: var(--muted); }
.footer-links { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-links a { text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { grid-column: 1; grid-row: 2; align-self: end; }
.footer-logo { grid-column: 2; grid-row: 1 / span 2; width: 100%; height: auto; margin-top: 10px; }

/* ---- responsive ---- */
@media (max-width: 991px) {
  .about-text { font-size: 36px; }
  .role-desc { padding-right: 60px; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .about { padding: 70px 0 60px; }
  .about-text { font-size: 28px; letter-spacing: -0.5px; }
  .role-card { grid-template-columns: 1fr; padding: 20px 20px 70px; }
  .role-col .headline { margin-right: 50px; padding-bottom: 4px; }
  .role-location { margin-top: -8px; }
  .role-desc { padding-right: 0; }
  .role-card .arrow { top: auto; bottom: 20px; right: 20px; }
  .headline { font-size: 26px; line-height: 29px; }
  .body-text, .rich-text { font-size: 17px; line-height: 21px; }
  .rich-text ul, .rich-text ol { padding-left: 22px; }
  .job-headline { flex-direction: column; margin: 60px 0 40px; }
  .job-title { font-size: 32px; line-height: 35px; }
  .job-facts { margin-top: 0; width: 100%; }
  .panel { padding: 20px 20px 30px; }
  .team { padding-top: 70px; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-small { height: 40px; }
  .logo-medium { height: 32px; }
  .logo-wide { height: 24px; }
  .logo-extra-wide { width: 110px; }
  .logo-school { width: 80px; }
  .logo-school-large { height: 48px; }
  .site-footer { grid-template-columns: 1fr; grid-template-rows: auto auto auto; row-gap: 30px; margin-top: 80px; }
  .footer-links, .footer-copy, .footer-logo { grid-column: 1; }
  .footer-links { grid-row: 1; }
  .footer-logo { grid-row: 2; }
  .footer-copy { grid-row: 3; }
}

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