/* Shared inner-page layout */
.page-hero {
  padding: var(--space-6) 0 var(--space-5);
  background:
    linear-gradient(100deg, rgba(247, 249, 252, 0.95) 40%, rgba(182, 255, 60, 0.18) 100%),
    var(--paper);
  border-bottom: 1px dashed var(--line);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  max-width: 16ch;
}

.page-hero .lede {
  font-size: 1.15rem;
  max-width: 60ch;
}

.page-content {
  padding: var(--space-6) 0 var(--space-7);
}

.prose {
  display: grid;
  gap: var(--space-4);
}

.prose h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-top: var(--space-4);
}

.prose h3 {
  font-size: 1.35rem;
}

.content-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-3);
  margin: var(--space-5) 0;
}

.content-bento > * {
  grid-column: span 12;
}

@media (min-width: 760px) {
  .content-bento .c-4 { grid-column: span 4; }
  .content-bento .c-5 { grid-column: span 5; }
  .content-bento .c-6 { grid-column: span 6; }
  .content-bento .c-7 { grid-column: span 7; }
  .content-bento .c-8 { grid-column: span 8; }
}

.inline-figure {
  margin: var(--space-5) 0;
  border-left: 4px solid var(--slate);
  background: var(--tile);
}

.inline-figure img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.inline-figure figcaption {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--muted);
  padding: var(--space-2) var(--space-3);
}

.form-stack {
  display: grid;
  gap: var(--space-3);
  max-width: 520px;
}

.form-stack label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-stack input,
.form-stack textarea {
  font: inherit;
  font-family: var(--font-body);
  padding: 0.75rem 0.85rem;
  border: 2px solid var(--ink);
  border-left: 4px solid var(--slate);
  background: var(--tile);
  border-radius: 0;
  color: var(--ink);
}

.form-stack button {
  justify-self: start;
  cursor: pointer;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-success[hidden] {
  display: none;
}

.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resource-list li {
  border-bottom: 1px dashed var(--line);
  padding: var(--space-3) 0;
}

.resource-list a::before {
  content: "[ ";
}

.resource-list a::after {
  content: " ]";
  color: var(--slate-mid);
}
