:root {
  color-scheme: light;
  background: #fff9e9;
  color: #303824;
  font:
    100%/1.85 system-ui,
    'Hiragino Kaku Gothic ProN',
    'Yu Gothic',
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow-wrap: anywhere;
}
.wrap {
  width: min(100% - 2.5rem, 45rem);
  margin-inline: auto;
}
header {
  border-bottom: 3px solid #39452d;
}
.bar,
footer nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.bar {
  min-height: 4.2rem;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}
a {
  color: #385521;
  text-underline-offset: 0.2em;
}
a:focus-visible {
  outline: 3px solid #7c4515;
  outline-offset: 0.25em;
}
main {
  padding: clamp(2rem, 7vw, 4.5rem) 0;
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  text-wrap: balance;
  line-height: 1.45;
}
h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}
h2 {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
}
p + p,
h2 + p,
h1 + p {
  margin-top: 0.7rem;
}
.updated {
  color: #535c46;
}
section {
  padding: 1.6rem 0;
  border-top: 1px solid #abae93;
}
h1 + section,
.updated + section {
  margin-top: 1.6rem;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-bottom: 2.5rem;
}
.hero p {
  font-size: 1.05rem;
}
.hero img {
  width: clamp(5.3rem, 20vw, 9rem);
  height: auto;
  image-rendering: pixelated;
}
footer {
  border-top: 2px solid #39452d;
  background: #e8ebd6;
  padding: 1.5rem 0;
}
footer nav {
  gap: 0.6rem 1.4rem;
}
@media (max-width: 28rem) {
  .hero {
    align-items: flex-start;
    flex-direction: column-reverse;
  }
}
