:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #11172b;
  --muted: #45516b;
  --rule: #d7dff1;
  --panel: #ecf1fd;
  --accent: #062c9f;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

body { margin: 0; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: 0.22em; }
a:hover { color: var(--accent); text-decoration-thickness: 0.12em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.frame {
  width: min(100% - 2 * clamp(1rem, 5vw, 5rem), 80rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 1;
  inset: 0 auto auto 1rem;
  padding: 0.75rem 1rem;
  background: var(--paper);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0.75rem); }

.site-header {
  min-height: 5.25rem;
  padding-block: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 1rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.wordmark img {
  display: block;
  width: clamp(6.5rem, 12vw, 8.5rem);
  height: auto;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(0.875rem, 3vw, 2.25rem);
  padding: 0;
  list-style: none;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  text-decoration: none;
}

nav a:hover { text-decoration-line: underline; }

.hero {
  padding-block: clamp(3rem, 7.5vw, 7rem);
}

.label {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

h1 {
  margin-block: 1.25rem 1.5rem;
  max-width: 16ch;
  font-size: clamp(2.75rem, 6.2vw, 6.375rem);
  font-weight: 600;
  line-height: 0.99;
  letter-spacing: -0.067em;
  overflow-wrap: anywhere;
}

.hero h1 { max-width: 24ch; text-wrap: balance; }

.hero-description {
  max-width: 42ch;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.65vw, 1.375rem);
}

.section {
  padding-block: clamp(2.25rem, 5vw, 4.75rem);
  border-top: 1px solid var(--rule);
  scroll-margin-top: 1rem;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 1.25rem clamp(1.5rem, 5vw, 4.5rem);
}

.activities, .contact-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.activities h3, .contact-options h3 {
  font-size: clamp(1.25rem, 2.3vw, 1.875rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.activities p, .project > p, .contact-options p {
  margin-top: 0.65rem;
  max-width: 42ch;
  color: var(--muted);
}

.projects { display: grid; gap: 1rem; }

.project {
  padding: clamp(1.25rem, 4vw, 3rem);
  background: var(--panel);
}

.project-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.project h3 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.065em;
}

.status {
  padding: 0.3rem 0.7rem;
  border: 1px solid #9caedf;
  border-radius: 2rem;
  color: var(--accent);
  font-size: 0.875rem;
}

address { font-style: normal; }

.contact-options address { margin-top: 0.75rem; }

.email {
  color: var(--accent);
  font-size: clamp(1.25rem, 2.3vw, 1.875rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
  text-decoration-thickness: 0.045em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer strong { color: var(--ink); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.25rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
}

.prose {
  max-width: 65ch;
  padding-block: clamp(2.75rem, 7.5vw, 6rem);
  overflow-wrap: anywhere;
}

.prose h1 { font-size: clamp(2.75rem, 6vw, 5rem); }
.prose h2 {
  margin-block: 1.75rem 0.4rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.prose p { color: var(--muted); }
.prose .policy-date { font-size: 0.875rem; }
.prose p + p { margin-top: 0.65rem; }
.prose a { color: var(--accent); }

@media (max-width: 48rem) {
  .section-grid { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: clamp(2.5rem, 8.5vw, 4.75rem); }
  .hero h1 { max-width: 18ch; }
}

@media (max-width: 33rem) {
  .activities, .contact-options { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  a { transition: color 150ms ease; }
}
