/* Self-hosted variable fonts (SIL Open Font License; licences in assets/fonts). */
@font-face {
  font-family: "Newsreader"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("fonts/newsreader.woff2") format("woff2-variations"), url("fonts/newsreader.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/public-sans.woff2") format("woff2-variations"), url("fonts/public-sans.woff2") format("woff2");
}

:root {
  --green: #63BB86;
  --ink: #0F1117;
  --on-ink: #FFFFFF;
  --muted-on-dark: #A5AFB7;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.holding {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 4rem var(--gutter) 2rem;
}

.logo { margin: 0; line-height: 0; }
.logo img { display: block; width: 176px; max-width: 100%; height: auto; }

.line {
  margin: 2.25rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.25rem + 2.2vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.contact { margin: 1.25rem 0 0; color: var(--muted-on-dark); }

a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 3px; }

.foot {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 2rem;
  color: var(--muted-on-dark);
  font-size: 0.9rem;
}
.foot p { margin: 0; }
