@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/ibm-plex-mono-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --chalk: #f2f0e9;
  --graphite: #202720;
  --vermilion: #cb432b;
  --muted: #596358;
  --rule: #d4d8cd;
  --accent-ink: #b63a25;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--graphite);
  background: var(--chalk);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body,
p,
h1 {
  margin: 0;
}

::selection {
  color: var(--chalk);
  background: var(--graphite);
}

a {
  color: inherit;
  text-underline-offset: 0.25em;
  transition: color 180ms ease;
}

a:hover,
a:focus-visible {
  color: var(--link-hover, var(--accent-ink));
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

.page {
  display: flex;
  flex-direction: column;
  width: min(100% - 2 * clamp(1.5rem, 5vw, 5rem), 76rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: clamp(1.75rem, 4vh, 3rem);
  border-bottom: 1px solid var(--rule);
}

.social-link {
  --link-hover: var(--vermilion);
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--muted);
}

.logo {
  display: block;
  width: clamp(11.5rem, 18vw, 14.5rem);
  height: auto;
}

.introduction {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: clamp(4.5rem, 11vh, 8rem);
}

.eyebrow,
.site-footer {
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.7;
}

.eyebrow {
  margin-bottom: 1.75rem;
  color: var(--accent-ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 100%;
  font-size: clamp(2.5rem, 6.5vw, 5.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
}

.description {
  max-width: 35rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.8;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 2rem;
  row-gap: 0.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}

@media (max-width: 35rem) {
  .site-footer {
    flex-direction: column;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  a {
    transition: none;
  }
}

@media print {
  :root {
    color: #000;
    background: #fff;
  }

  .page {
    width: 100%;
    min-height: auto;
  }
}
