:root {
  color-scheme: light;
  --ink: #202923;
  --muted: #657069;
  --paper: #f7f7f2;
  --surface: #fffefa;
  --accent: #a7442b;
  --rule: #d9ded6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Trebuchet MS", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem clamp(1.25rem, 6vw, 5rem);
}

.site-header {
  border-bottom: 1px solid var(--rule);
}

.site-name {
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a,
.site-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

main {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}

.intro {
  min-height: 66vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6.5rem);
}

.intro-copy {
  max-width: 38rem;
  margin: 1.5rem 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.text-link span {
  display: inline-block;
  margin-left: 0.35rem;
}

.about {
  max-width: 48rem;
  padding: 3rem 0 6rem;
  border-top: 1px solid var(--rule);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.about > p:last-child {
  max-width: 38rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
}

@media (max-width: 600px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  nav {
    gap: 1rem;
  }

  .intro {
    min-height: 58vh;
    padding-block: 4rem;
  }
}