:root {
  color-scheme: light;
  --paper: #f6f4e9;
  --ink: #192019;
  --muted: #5d6759;
  --rule: #d6dacb;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
}

a { color: inherit; }

.page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  width: min(100% - 88px, 1400px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--rule);
}

.site-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.065em;
}

.hero {
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  min-height: min(690px, calc(100svh - 165px));
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 70px;
}

h1 {
  margin: 0;
  font-size: clamp(4.25rem, 8.15vw, 8.75rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.09em;
}

.hero-copy p {
  max-width: 24ch;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.75vw, 1.55rem);
  line-height: 1.35;
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  align-self: stretch;
}

.hero-art img {
  display: block;
  width: min(100%, 675px);
  max-height: 78svh;
  height: auto;
  object-fit: contain;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px 28px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer a {
  text-underline-offset: 3px;
}

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

@media (max-width: 820px) {
  .page { width: min(100% - 44px, 620px); }

  .site-header { min-height: 72px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy { padding: 58px 0 0; }

  h1 { font-size: clamp(4.1rem, 12vw, 6.9rem); }

  .hero-copy p { margin-top: 25px; }

  .hero-art {
    min-height: 0;
    margin-top: 14px;
  }

  .hero-art img {
    width: min(100%, 500px);
    max-height: 58svh;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
}
