:root {
  color-scheme: light;
  --paper: #f7f7f5;
  --ink: #171717;
  --muted: #676765;
  --line: #cececa;
  --accent: #4c55d9;
  --accent-soft: #7a58c8;
  --max: 88rem;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --section: clamp(5.5rem, 11vw, 10rem);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: .07em; text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: .35rem; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .65rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 1.4rem var(--pad);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-decoration: none;
}
.desktop-nav { display: flex; gap: clamp(1rem, 2.4vw, 2.5rem); }
.desktop-nav a, .back-link {
  color: #343432;
  font-size: .82rem;
  text-decoration: none;
}
.desktop-nav a:hover, .back-link:hover { color: var(--accent); }
.mobile-nav { display: none; }

.hero {
  display: flex;
  min-height: min(52rem, calc(100svh - 4.75rem));
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 5.5rem) var(--pad) clamp(3.5rem, 7vw, 6.5rem);
  flex-direction: column;
  justify-content: space-between;
}
.hero-kicker {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 13ch;
  margin: clamp(4rem, 12vh, 8rem) 0;
  font-size: clamp(3.2rem, 8.8vw, 8.25rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .91;
}
.hero h1::first-line { text-decoration: underline; text-decoration-color: rgba(76,85,217,.38); text-decoration-thickness: .045em; text-underline-offset: .08em; }
.hero-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; }
.hero-line { margin: 0 0 1.25rem; font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.2; }
.hero-copy { max-width: 35rem; margin: 0; color: var(--muted); }
.hero-meta { justify-self: end; min-width: 15rem; }
.hero-meta p { margin: 0 0 1rem; }
.text-link { display: inline-block; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); }
.text-link span { margin-left: .5rem; color: var(--accent); }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section) var(--pad);
  border-top: 1px solid var(--line);
}
.split { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(0, 3fr); gap: clamp(3rem, 8vw, 9rem); }
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.section h2, .contact h2, .location h2 {
  margin: 0;
  font-size: clamp(2.45rem, 5.6vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .98;
}
.section-content h2 { max-width: 15ch; }
.prose { display: grid; max-width: 48rem; margin-top: clamp(3rem, 6vw, 6rem); grid-template-columns: repeat(2, 1fr); gap: 1.25rem 3rem; }
.prose p { margin: 0; }
.prose p:first-child { font-size: 1.3rem; line-height: 1.35; }
.section-heading { display: grid; grid-template-columns: 1fr 3fr; gap: clamp(3rem, 8vw, 9rem); }
.section-heading h2 { max-width: 13ch; }
.capabilities { display: grid; margin-top: clamp(4rem, 9vw, 8rem); grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.capabilities article { min-height: 17rem; padding: 1.5rem 1.5rem 2.5rem 0; border-bottom: 1px solid var(--line); }
.capabilities article:nth-child(odd) { padding-right: clamp(2rem, 5vw, 6rem); border-right: 1px solid var(--line); }
.capabilities article:nth-child(even) { padding-left: clamp(2rem, 5vw, 6rem); }
.capabilities span { color: var(--accent); font-size: .75rem; }
.capabilities h3 { max-width: 15ch; margin: 3.2rem 0 1rem; font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 400; line-height: 1.1; }
.capabilities p { max-width: 29rem; margin: 0; color: var(--muted); }

.language { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 9vw, 10rem); background: #1c1c1c; color: #f3f3f0; max-width: none; padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
}
.language .eyebrow, .language-body > p:not(.large-copy) { color: #aaa9a6; }
.language h2 { margin-top: clamp(2.5rem, 7vw, 7rem); }
.lead { margin: 1.5rem 0 0; color: #b9b8b4; font-size: 1.15rem; }
.large-copy { margin: 0 0 2.5rem; font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1.2; letter-spacing: -.025em; }
.language-body > p:not(.large-copy) { max-width: 39rem; }
.service-list { display: grid; margin: 4rem 0 0; padding: 0; grid-template-columns: repeat(2, 1fr); list-style: none; border-top: 1px solid #555; }
.service-list li { padding: .9rem 0; border-bottom: 1px solid #444; font-size: .9rem; }
.service-list li:nth-child(odd) { margin-right: 2rem; }

.section-heading.compact h2 { max-width: 12ch; }
.timeline { display: grid; margin: clamp(4rem, 9vw, 8rem) 0 0; padding: 0; grid-template-columns: repeat(7, 1fr); list-style: none; border-top: 1px solid var(--ink); }
.timeline li { position: relative; min-height: 13rem; padding: 1.6rem .8rem 1rem 0; border-right: 1px solid var(--line); }
.timeline li::before { position: absolute; top: -.32rem; left: 0; width: .6rem; height: .6rem; background: var(--paper); border: 1px solid var(--accent); border-radius: 50%; content: ""; }
.timeline span, .timeline strong { display: block; }
.timeline span { color: var(--muted); font-size: .75rem; }
.timeline strong { margin-top: 4.5rem; font-size: .9rem; font-weight: 400; line-height: 1.35; }

.location { padding: var(--section) var(--pad); text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.location h2 { display: flex; margin: clamp(3rem, 7vw, 6rem) auto 2rem; justify-content: center; align-items: center; gap: clamp(1rem, 4vw, 4rem); font-size: clamp(3rem, 9vw, 9rem); }
.location h2 i { color: var(--accent); font-size: .42em; font-style: normal; font-weight: 400; }
.location > p:last-child { margin: 0; color: var(--muted); }
.careers .prose { grid-template-columns: repeat(2, 1fr); }
.careers .text-link { margin-top: 1.5rem; align-self: start; justify-self: start; }

.contact {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section) var(--pad);
  grid-template-columns: 1fr 3fr;
  gap: clamp(3rem, 8vw, 9rem);
  border-top: 1px solid var(--line);
}
.contact h2 { max-width: 12ch; }
.contact > div > p { max-width: 37rem; margin: 2rem 0 3rem; color: var(--muted); }
.contact-link { display: inline-block; font-size: clamp(1.4rem, 2.5vw, 2.1rem); text-decoration: none; border-bottom: 1px solid var(--ink); }
.contact-link span { color: var(--accent); }
.contact-pending { padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; }

.site-footer { display: grid; max-width: var(--max); margin: 0 auto; padding: 3rem var(--pad); grid-template-columns: 2fr 1fr 1fr; gap: 2rem; border-top: 1px solid var(--ink); }
.site-footer p { margin: .85rem 0 0; color: var(--muted); font-size: .8rem; }
.site-footer a:not(.wordmark) { font-size: .8rem; }
.copyright { align-self: end; justify-self: end; }

.policy { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 11vw, 10rem) var(--pad); }
.policy > header { display: grid; grid-template-columns: 1fr 3fr; gap: 1.25rem clamp(3rem, 8vw, 9rem); padding-bottom: clamp(4rem, 8vw, 7rem); border-bottom: 1px solid var(--ink); }
.policy h1 { max-width: 10ch; margin: 0; font-size: clamp(3.5rem, 8vw, 8rem); font-weight: 400; letter-spacing: -.06em; line-height: .95; }
.policy-intro { grid-column: 2; max-width: 33rem; margin: 2rem 0 0; font-size: 1.2rem; }
.policy-date { grid-column: 2; margin: 0; color: var(--muted); font-size: .8rem; }
.policy-body { max-width: 55rem; margin: 0 0 0 auto; }
.policy-body section { display: grid; padding: 2.5rem 0; grid-template-columns: 1fr 2fr; gap: 2rem; border-bottom: 1px solid var(--line); }
.policy-body h2 { margin: 0; font-size: 1.15rem; font-weight: 400; line-height: 1.3; }
.policy-body p { margin: 0; color: #4d4d4b; }
.compact-footer { grid-template-columns: 1fr 1fr; }

@media (max-width: 800px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { cursor: pointer; font-size: .82rem; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; top: 2.2rem; right: 0; display: grid; min-width: 13rem; padding: 1rem; gap: .35rem; background: var(--ink); color: white; box-shadow: 0 1rem 2.5rem rgba(0,0,0,.18); }
  .mobile-nav nav a { padding: .55rem; text-decoration: none; }
  .hero { min-height: calc(100svh - 4.5rem); }
  .hero-bottom, .split, .section-heading, .language, .contact, .policy > header { grid-template-columns: 1fr; }
  .hero-meta { justify-self: start; }
  .split, .contact { gap: 3rem; }
  .section-content h2 { max-width: 17ch; }
  .prose { margin-top: 2.75rem; }
  .section-heading { gap: 2.5rem; }
  .timeline { grid-template-columns: 1fr; border-top: 0; }
  .timeline li { display: grid; min-height: auto; padding: 1.25rem 0 1.25rem 1.5rem; grid-template-columns: 1fr 2fr; border-top: 1px solid var(--line); border-right: 0; }
  .timeline li::before { top: 1.75rem; left: -.25rem; }
  .timeline strong { margin-top: 0; }
  .location h2 { flex-direction: column; gap: .5rem; }
  .location h2 i { transform: rotate(45deg); }
  .policy > header { gap: 2rem; }
  .policy-intro, .policy-date { grid-column: 1; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .hero-kicker { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .hero-bottom { gap: 2.5rem; }
  .prose, .careers .prose, .capabilities, .service-list { grid-template-columns: 1fr; }
  .capabilities article, .capabilities article:nth-child(odd), .capabilities article:nth-child(even) { min-height: auto; padding: 1.5rem 0 2.5rem; border-right: 0; }
  .capabilities h3 { margin-top: 2.2rem; }
  .service-list li:nth-child(odd) { margin-right: 0; }
  .policy-body section { grid-template-columns: 1fr; gap: .8rem; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .copyright { grid-column: 1 / -1; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
