:root {
  color-scheme: light;
  --paper: #f4f6f1;
  --ink: #172822;
  --muted: #465a51;
  --rule: #a9b8ad;
  --accent: #255d46;
  --hero: #162d24;
  --hero-text: #f6f7ed;
  --hero-accent: #c7df9e;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem / 1.6 system-ui, sans-serif;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.25rem;
}

.wrap {
  width: min(100% - 3rem, 70rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 1;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--paper);
}

.skip-link:not(:focus) {
  clip-path: inset(50%);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.15rem;
}

.wordmark {
  font-weight: 750;
  letter-spacing: -0.035em;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

nav a {
  padding-block: 0.35rem;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
}

nav a[aria-current="page"],
nav a:hover,
.wordmark:hover {
  text-decoration: underline;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: end;
  gap: 2rem;
  padding: clamp(2rem, 7vw, 6rem);
  background: var(--hero);
  color: var(--hero-text);
}

.hero h1 {
  font-size: clamp(3.25rem, 10vw, 8.5rem);
  line-height: 0.9;
}

.hero em {
  color: var(--hero-accent);
  font-weight: 400;
}

.hero p,
.section-heading p {
  max-width: 29ch;
  margin: 0;
  font-size: clamp(1.125rem, 2vw, 1.4rem);
  line-height: 1.5;
}

.hero p {
  color: var(--hero-text);
}

.collections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
  border-block: 1px solid var(--rule);
}

.collection {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.25rem, 4vw, 2.75rem);
  text-decoration: none;
}

.collection + .collection {
  border-inline-start: 1px solid var(--rule);
}

.collection h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.collection p {
  max-width: 36ch;
  margin: 0.65rem 0 1.25rem;
  color: var(--muted);
}

.collection span {
  margin-top: auto;
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 650;
  text-decoration: underline;
}

.collection:hover,
.collection:focus-visible {
  background: #e7eee4;
}

.section-heading {
  display: grid;
  gap: 1rem;
  padding-block: clamp(3rem, 10vw, 7rem);
  border-block: 1px solid var(--rule);
}

.section-heading h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.95;
}

.section-heading p,
.empty-state {
  color: var(--muted);
}

.empty-state {
  margin: 0;
  padding-block: 1.5rem;
}

.site-footer {
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-block: 1.25rem 2rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}

@media (max-width: 42rem) {
  .hero,
  .collections {
    grid-template-columns: 1fr;
  }

  .collection + .collection {
    border-inline-start: 0;
    border-block-start: 1px solid var(--rule);
  }
}

@media (max-width: 24rem) {
  .wrap {
    width: calc(100% - 2rem);
  }

  .hero {
    padding: 1.5rem;
  }
}
