@font-face {
  font-family: "Commissioner";
  src: url("/fonts/commissioner.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #050607;
  --line: #24282b;
  --dim: #8b9298;
  --text: #c9ced2;
  --bright: #eef0f2;
  --gutter: clamp(20px, 5vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font: 400 clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem)/1.6 "Commissioner", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 0.3em; text-decoration-color: var(--dim); text-decoration-thickness: 1px; }
a:hover { color: var(--bright); text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--bright); outline-offset: 6px; }

.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--gutter);
  display: grid;
  grid-template-rows: 1fr auto;
}
.hero h1 { margin: 0; align-self: center; line-height: 0; }
.mark { width: 100%; height: auto; display: block; }
.line { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px 48px; align-items: end; }
.mission { margin: 0; color: var(--bright); font-weight: 500; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }

main { padding: 0 var(--gutter); }
section {
  border-top: 1px solid var(--line);
  padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 9vw, 128px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px 48px;
}
h2 {
  margin: 0;
  color: var(--bright);
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2.125rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.sub { margin: 0; max-width: 34em; text-wrap: pretty; }
section p { margin: 0; max-width: 36em; text-wrap: pretty; }
section p + p { margin-top: 1.1em; }

.sub p { margin: 0; }
.sub p + p { margin-top: 1em; }
.contact a { color: var(--bright); white-space: nowrap; }

footer {
  border-top: 1px solid var(--line);
  margin: 0 var(--gutter);
  padding: 32px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dim);
}
footer p { margin: 0; }
footer a { line-height: 0; }

@media (max-width: 760px) {
  section, .line { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
