:root {
  --ink: #173f3a;
  --paper: #fff4d6;
  --pine: #2f6960;
  --gold: #f3c969;
  --wine: #b83b46;
  --line: #d9a7a1;
  --white: #fffdf5;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(
        circle at 12px 12px,
        rgba(184, 59, 70, 0.1) 2px,
        transparent 2.5px
      )
      0 0/34px 34px,
    var(--paper);
  line-height: 1.65;
}
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}
a {
  color: var(--wine);
  text-underline-offset: 0.18em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.mast {
  background: var(--ink);
  color: white;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 0.5rem solid var(--wine);
}
.brand {
  display: inline-block;
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 0.8rem;
}
.mast nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}
.mast nav a {
  color: #fff;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-size: 0.86rem;
}
.mast nav a:hover,
.mast nav a:focus {
  color: #ffe3a0;
}
.hero,
.article,
.guide-index,
.request-panel {
  width: min(72rem, calc(100% - 2rem));
  margin: 2rem auto;
}
.hero {
  padding: clamp(2rem, 7vw, 6rem);
  background: var(--pine);
  color: white;
  border-radius: 2.5rem 0.5rem 2.5rem 0.5rem;
  box-shadow: 12px 12px 0 var(--wine);
}
.hero h1 {
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  line-height: 0.98;
  max-width: 13ch;
  margin: 0.2em 0;
}
.hero p {
  max-width: 48rem;
  font-size: 1.15rem;
}
.hero.compact h1 {
  font-size: clamp(2rem, 6vw, 4.2rem);
}
.eyebrow,
.kicker {
  font:
    800 0.78rem/1.2 "Avenir Next",
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.feature-grid {
  width: min(82rem, calc(100% - 2rem));
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.feature {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 1.4rem 0.3rem;
  padding: 0.8rem;
}
.feature > a {
  color: inherit;
  text-decoration: none;
}
.feature img {
  aspect-ratio: 8/5;
  object-fit: cover;
}
.feature h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.08;
}
.feature .credit,
figcaption {
  font-size: 0.75rem;
  font-family: system-ui, sans-serif;
}
.guide-index {
  background: var(--white);
  padding: clamp(1.3rem, 4vw, 3rem);
  border-top: 0.7rem solid var(--wine);
}
.guide-index ul {
  columns: 2;
  gap: 2rem;
}
.article {
  max-width: 52rem;
  background: var(--white);
  padding: clamp(1.2rem, 4vw, 3.6rem);
  border: 2px solid var(--line);
  border-radius: 0.5rem 2.2rem;
  box-shadow: 0 1rem 3rem rgba(23, 63, 58, 0.12);
}
.article h1 {
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.03;
  color: var(--pine);
}
.article h2 {
  color: var(--wine);
  margin-top: 2rem;
}
.article p {
  margin: 1.2rem 0;
}
.lede {
  font-size: 1.18rem;
}
.article figure {
  margin: 1.5rem 0;
}
.article figure img {
  border-radius: 0.5rem 2rem 0.5rem 2rem;
}
.sources {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
}
.request-panel {
  max-width: 52rem;
  background: var(--ink);
  color: white;
  padding: clamp(1.3rem, 4vw, 3rem);
  border-radius: 2rem 0.4rem 2rem 0.4rem;
}
.request-panel form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.request-panel label {
  display: grid;
  gap: 0.3rem;
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
}
.request-panel input,
.request-panel select,
.request-panel textarea,
.request-panel button {
  width: 100%;
  min-width: 0;
  font: inherit;
  padding: 0.75rem;
  border-radius: 0.35rem;
  border: 2px solid transparent;
}
.request-panel textarea {
  min-height: 8rem;
}
.request-panel button,
.request-panel .form-note,
.request-panel .form-status {
  grid-column: 1/-1;
}
.request-panel button {
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}
.request-panel input:focus,
.request-panel select:focus,
.request-panel textarea:focus {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.quiet {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
}
.form-note,
.form-status {
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
}
footer {
  background: var(--ink);
  color: white;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  font-family: system-ui, sans-serif;
  font-size: 0.84rem;
  margin-top: 4rem;
}
footer a {
  color: #ffe3a0;
}
@media (max-width: 760px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .guide-index ul {
    columns: 1;
  }
  .request-panel form {
    grid-template-columns: 1fr;
  }
  .mast nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    border-radius: 0 2rem 0 2rem;
    box-shadow: 6px 6px 0 var(--gold);
    padding: 2rem 1.2rem;
  }
  .article,
  .request-panel {
    width: calc(100% - 1rem);
    padding: 1.2rem;
  }
  .article h1 {
    overflow-wrap: anywhere;
  }
  .request-panel button,
  .request-panel .form-note,
  .request-panel .form-status {
    grid-column: auto;
  }
}
@media (max-width: 340px) {
  .mast nav ul {
    grid-template-columns: 1fr;
  }
  .brand {
    overflow-wrap: anywhere;
  }
  .article {
    padding: 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
