@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/Sora-Variable.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/Fraunces-Variable.woff2") format("woff2");
}

:root {
  --bg: #faf9f6;
  --ink: #192120;
  --muted: #69706a;
  --line: #e5e4dc;
  --accent: #133f36;
  --glint: #dca853;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  background: var(--bg);
  color: var(--ink);
  display: grid;
  font-family: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  grid-template-rows: auto 1fr auto;
  line-height: 1.65;
  margin: 0;
  min-height: 100svh;
}

.masthead {
  padding: 2rem clamp(1.5rem, 5vw, 3rem);
}

.wordmark {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 1.125rem;
  font-weight: 750;
  gap: 0.75rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mark {
  display: block;
  height: 2.5rem;
  width: auto;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: 44rem;
  padding: 3rem clamp(1.5rem, 5vw, 3rem) 5rem;
  width: 100%;
}

h1 {
  font-family: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.5vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  text-wrap: balance;
}

main p {
  font-size: 1.0625rem;
  margin: 0;
  max-width: 36rem;
}

.status {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.9375rem;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.dot {
  animation: pulse 2.4s ease-out infinite;
  background: var(--glint);
  border-radius: 50%;
  flex: none;
  height: 0.5rem;
  width: 0.5rem;
}

@keyframes pulse {
  from {
    box-shadow: 0 0 0 0 rgba(220, 168, 83, 0.45);
  }
  to {
    box-shadow: 0 0 0 0.55rem rgba(220, 168, 83, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dot {
    animation: none;
  }
}

.contact {
  margin-top: 2.5rem;
}

main a {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--glint);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
}

main a:hover {
  color: var(--accent);
}

:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  gap: 0.35rem 2.5rem;
  justify-content: space-between;
  padding: 1.4rem clamp(1.5rem, 5vw, 3rem) 1.6rem;
}

footer p {
  line-height: 1.55;
  margin: 0;
  max-width: 44rem;
}
