:root {
  color-scheme: dark;
  --page: #060c12;
  --ink: #f3f5f6;
  --muted: #a7b4bf;
  --quiet: #83929f;
  --rule: #28333d;
  --measure: 1200px;
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  background: var(--page);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 48px;
}

* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 7px; }
::selection { color: #060c12; background: #e4eaf0; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 10; background: white; color: #060c12; padding: 12px 18px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.masthead {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  max-width: 1536px;
  margin: 0 auto;
  padding: 26px clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 64px; height: 64px; }
.brand-wordmark { width: 174px; height: auto; }
nav { display: flex; align-items: center; gap: 32px; }
nav a { font-size: 14px; color: #e6edf1; padding: 8px 0; border-bottom: 1px solid transparent; }
nav a:hover { border-bottom-color: currentColor; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: max(780px, 100svh);
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  background: #08121b;
}
.hero-image { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(180deg, rgba(3,10,16,.3) 0%, rgba(3,10,16,.06) 43%, transparent 68%, rgba(6,12,18,.35) 87%, var(--page) 100%); }
.hero-copy { padding: clamp(168px, 20svh, 240px) 24px 0; text-align: center; }
h1 { font-size: clamp(42px, 5.2vw, 80px); font-weight: 400; line-height: 1.08; letter-spacing: -.045em; margin: 0 auto; }
h1 span { display: block; }
.hero-copy p { color: #d5dfe6; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; margin: 24px auto 0; max-width: 38ch; }
.hero-link { justify-self: center; font-size: 14px; padding: 8px 0; margin: 0 0 44px; border-bottom: 1px solid #a8b6c2; }
.hero-link:hover { border-bottom-color: #fff; }

.section-shell { max-width: var(--measure); margin-inline: auto; padding-inline: 40px; }
.mission { padding-top: 104px; padding-bottom: 104px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
h2 { font-size: clamp(30px, 3vw, 44px); font-weight: 400; line-height: 1.18; letter-spacing: -.035em; margin: 0; }
.mission-copy { max-width: 57ch; }
p { font-size: 16px; line-height: 1.75; }
.mission-copy p { color: var(--muted); margin: 0 0 22px; }
.mission-copy .lead { color: var(--ink); font-size: 23px; line-height: 1.5; letter-spacing: -.015em; margin-bottom: 22px; }
.mission-copy p:last-child { margin-bottom: 0; }

.work { padding-top: 66px; padding-bottom: 100px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.work-intro p { color: var(--muted); max-width: 30ch; margin-top: 24px; }
.project { padding-bottom: 40px; }
.project-heading { display: flex; gap: 20px; align-items: baseline; }
.project h3 { font-size: 36px; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; margin: 0; }
.project-heading span { font-size: 13px; color: var(--muted); }
.project p { color: var(--muted); margin: 20px 0 24px; max-width: 55ch; }
.text-link { display: inline-block; font-size: 15px; padding: 0 0 5px; border-bottom: 1px solid #889ba9; }
.text-link:hover { border-bottom-color: #fff; }
.research { border-top: 1px solid var(--rule); padding-top: 32px; }
.research h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; margin: 0 0 13px; }
.research p { color: var(--muted); max-width: 55ch; margin: 0; }
.footer { border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 36px; color: var(--quiet); font-size: 13px; }
.footer nav a { color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .mission, .work { gap: 40px; grid-template-columns: 1fr 1.25fr; }
  .masthead { padding-top: 22px; }
  nav { gap: 22px; }
  .section-shell { padding-inline: 32px; }
}
@media (max-width: 640px) {
  .masthead { padding: 22px 24px; gap: 18px; }
  .brand { gap: 9px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-wordmark { width: 144px; }
  .nav-local { display: none; }
  .masthead nav a { font-size: 13px; }
  .hero { min-height: max(760px, 100svh); }
  .hero-copy { padding: 156px 18px 0; }
  h1 { font-size: clamp(32px, 9vw, 52px); line-height: 1.12; letter-spacing: -.04em; }
  .hero-copy p { max-width: 28ch; margin-top: 22px; }
  .hero-link { margin-bottom: 34px; }
  .section-shell { padding-inline: 24px; }
  .mission, .work { display: block; padding-top: 64px; padding-bottom: 64px; }
  .mission-copy { margin-top: 32px; }
  .mission-copy .lead { font-size: 22px; }
  .work-content { margin-top: 36px; }
  .work-intro p { max-width: 34ch; }
  .footer { padding-top: 22px; padding-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
