:root {
  color-scheme: light;
  --ink: #1b3f34;
  --body: #3d4f46;
  --subtle: #57665c;
  --paper: #fbfaf7;
  --rule: #cdd3c6;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body, h1, p { margin: 0; }
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; display: flex; flex-direction: column; }
.wrap { width: min(76rem, 88%); margin-inline: auto; }

.masthead { border-bottom: 1px solid var(--rule); }
.masthead-inner, .brand { display: flex; align-items: center; }
.masthead-inner { min-height: 5.6rem; }
.brand { gap: 0.75rem; font: 1.85rem/1.1 var(--serif); letter-spacing: -0.045em; }
.brand img { width: 2.25rem; height: 2.25rem; }

.introduction {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.37fr) minmax(0, 0.63fr);
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
  padding-block: clamp(2.25rem, 3vw, 3.25rem);
}
.intro-copy { min-width: 0; }
h1 {
  max-width: 12.5ch;
  font: 400 clamp(3.2rem, 5.1vw, 5.25rem)/1.02 var(--serif);
  letter-spacing: -0.049em;
  text-wrap: balance;
}
h1 em { font-weight: 400; }
.intro-copy p {
  max-width: 25rem;
  margin-top: clamp(1.5rem, 2.2vw, 2rem);
  font-size: clamp(1.07rem, 1.4vw, 1.22rem);
  line-height: 1.55;
  color: var(--body);
  text-wrap: balance;
}
.site-sketch {
  display: block;
  width: 100%;
  height: auto;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent),
              linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
  mask-composite: intersect;
}
.site-sketch img { display: block; width: 100%; height: auto; }

.explorer { background: #eaf0e8; border-block: 1px solid var(--rule); }
.explorer-inner { display: grid; justify-items: center; gap: 1rem; padding-block: clamp(2rem, 3.5vw, 3.3rem); text-align: center; }
.explorer-link {
  display: inline-block;
  padding: 0.72rem 2.1rem 0.78rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: 2px;
  font: 400 1.5rem/1.2 var(--serif);
  letter-spacing: -0.025em;
  text-decoration: none;
}
.explorer-link:hover { background: #2b5447; }
.explorer-link:focus-visible { outline: 3px solid #926b2c; outline-offset: 4px; }
.explorer-inner p { font-size: 1.03rem; line-height: 1.5; color: var(--body); text-wrap: balance; }
.footer { text-align: center; padding-block: 1.6rem; font-size: 0.875rem; color: var(--subtle); }

@media (max-width: 50rem) {
  .wrap { width: min(100% - 2.5rem, 39rem); }
  .masthead-inner { min-height: 4.6rem; }
  .brand { font-size: 1.5rem; gap: 0.5rem; }
  .brand img { width: 1.9rem; height: 1.9rem; }
  .introduction { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 1.05rem; padding-block: 2.4rem 1.1rem; }
  h1 { max-width: 16ch; font-size: clamp(3rem, 8.7vw, 4.05rem); }
  .intro-copy p { margin-top: 1.15rem; }
  .site-sketch { width: calc(100% + 1.5rem); justify-self: center; }
  .explorer-inner p { max-width: 32rem; }
}
