:root {
  --bg: #050505;
  --text: #efeee8;
  --muted: #8a8a84;
  --quiet: #5d5d58;
  --mono: "SFMono-Regular", "Roboto Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 1px solid var(--text);
  outline-offset: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--text);
  color: var(--bg);
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 0.7rem;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 3vw, 38px) clamp(18px, 5vw, 72px);
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-mark,
.nav-links a {
  transition: color 160ms ease;
}

.nav-mark:hover,
.nav-links a:hover {
  color: var(--text);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(16px, 3vw, 42px);
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 96px;
  text-align: center;
}

.hero-symbol {
  width: min(760px, 84vw);
  opacity: 0.96;
}

.hero p {
  margin: clamp(46px, 7vw, 84px) 0 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: clamp(0.82rem, 1.3vw, 1rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section {
  width: min(720px, calc(100% - 48px));
  min-height: 58svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16vh 0;
  scroll-margin-top: 90px;
}

h2 {
  max-width: 680px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.65rem, 3.2vw, 2.65rem);
  font-weight: 360;
  line-height: 1.08;
  letter-spacing: 0;
}

.section p {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  font-weight: 350;
}

.donate {
  min-height: 42svh;
}

.donate a {
  width: fit-content;
  margin-top: 26px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 160ms ease, transform 160ms ease;
}

.donate a:hover {
  color: var(--muted);
  transform: translateX(4px);
}

.contact {
  min-height: 46svh;
  padding-bottom: 22vh;
}

.contact a {
  width: fit-content;
  color: var(--text);
  font-size: clamp(1.24rem, 3vw, 2.1rem);
  font-weight: 320;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  transition: color 160ms ease;
}

.contact a:hover {
  color: var(--muted);
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    position: absolute;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 14px 22px;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero-symbol {
    width: min(92vw, 520px);
  }

  .section {
    width: calc(100% - 36px);
    min-height: 54svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
