:root {
  color-scheme: light;
  --paper: #f5f2e9;
  --ink: #192c23;
  --forest: #3f5846;
  --brass: #8c6b38;
  --line: #d9d4c4;
  --gutter: clamp(1.25rem, 5.55vw, 5rem);
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-block-size: 100vh;
  margin: 0 auto;
  max-inline-size: 90rem;
  padding-inline: var(--gutter);
}

.masthead {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 1.75rem;
  border-block-end: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 1.875rem;
  height: 1.875rem;
  flex: none;
  place-items: center;
  background: var(--ink);
}

.brand-mark::before {
  width: 0.875rem;
  height: 0.875rem;
  background: #dec791;
  clip-path: polygon(0 100%, 60% 0, 82% 0, 22% 100%, 42% 100%, 92% 18%, 100% 42%, 65% 100%);
  content: "";
}

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 5.6vw, 5.5rem);
  padding-block: clamp(2.5rem, 6vh, 5.5rem);
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.hero h1 em {
  display: block;
  margin-block-start: 0.045em;
  color: var(--forest);
  font-weight: inherit;
}

.hero p {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: clamp(1.75rem, 4vw, 3rem) 0 0;
  color: var(--forest);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.5;
}

.hero p::before {
  flex: 0 0 1.5rem;
  border-block-start: 1px solid var(--brass);
  content: "";
}

.hero-art {
  display: block;
  justify-self: end;
  width: 100%;
  height: auto;
  max-inline-size: 38rem;
  border-radius: 2px;
  background: var(--ink);
}

@media (max-width: 54rem) {
  .masthead {
    padding-block: 1.25rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 12vw, 6.25rem);
  }

  .hero-art {
    justify-self: start;
  }
}
