:root {
  color-scheme: light;
  --ink: #1c2418;
  --paper: #e5c475;
  --pickle-dark: #2f431a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

main {
  min-height: 0;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 3vw, 42px);
  color: var(--ink);
}

.brand {
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

.hero {
  position: relative;
  display: grid;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(229, 196, 117, 0.08);
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}

.hero-copy {
  place-self: center;
  width: min(1100px, calc(100% - 40px));
  padding: 112px 0 80px;
  color: var(--ink);
  text-align: center;
}

h1 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.65rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.site-footer {
  display: grid;
  gap: 4px;
  justify-content: center;
  align-content: center;
  min-height: 78px;
  padding: 18px clamp(18px, 4vw, 48px);
  background: var(--pickle-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-credit {
  font-size: 0.82rem;
}

.site-footer a {
  color: var(--white);
  font-weight: 750;
}

@media (max-width: 640px) {
  .hero-copy {
    width: min(100% - 28px, 620px);
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 4.4rem);
  }
}
