/* src/template.css */
:root {
  --tfs642-ink: #1b1b1a;
  --tfs642-quiet: #5d5d58;
  --tfs642-line: #dcdad2;
  --tfs642-ground: #fbfaf7;
  --tfs642-raised: #ffffff;
  --tfs642-accent: #7a4b2a;
  --tfs642-warning: #b4442c;
  --tfs642-measure: 68ch;
  --tfs642-step: 1.5rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --tfs642-ink: #edeae2;
    --tfs642-quiet: #a3a096;
    --tfs642-line: #35342f;
    --tfs642-ground: #16150f;
    --tfs642-raised: #1e1d17;
    --tfs642-accent: #d8a06a;
    --tfs642-warning: #e08a72;
  }
}
.tfs642-page {
  margin: 0;
  background: var(--tfs642-ground);
  color: var(--tfs642-ink);
  font:
    1rem / 1.6 Georgia,
    "Iowan Old Style",
    serif;
}
.tfs642-page a {
  color: var(--tfs642-accent);
}
.tfs642-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem var(--tfs642-step);
  align-items: baseline;
  padding: var(--tfs642-step);
  border-bottom: 1px solid var(--tfs642-line);
}
.tfs642-brand {
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}
.tfs642-tagline {
  margin: 0;
  color: var(--tfs642-quiet);
  font-size: 0.9rem;
}
.tfs642-nav ul {
  display: flex;
  gap: var(--tfs642-step);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tfs642-nav a[aria-current=page] {
  text-decoration-thickness: 2px;
}
.tfs642-trail ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: var(--tfs642-step) var(--tfs642-step) 0;
  list-style: none;
  color: var(--tfs642-quiet);
  font-size: 0.85rem;
}
.tfs642-trail li + li::before {
  content: "/ ";
}
.tfs642-main {
  padding: var(--tfs642-step);
}
.tfs642-prose {
  max-width: var(--tfs642-measure);
}
.tfs642-prose h1 {
  font-size: clamp(1.9rem, 1.2rem + 2vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
.tfs642-lead {
  font-size: 1.15rem;
  color: var(--tfs642-quiet);
}
.tfs642-hero {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}
.tfs642-avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-inline-end: 0.5rem;
}
.tfs642-byline .tfs642-avatar {
  width: 2rem;
  height: 2rem;
}
.tfs642-meta {
  margin: 0;
  color: var(--tfs642-quiet);
  font-size: 0.85rem;
}
.tfs642-outline ol {
  margin: 0;
  padding-left: 1.2em;
}
.tfs642-figure {
  margin: var(--tfs642-step) 0;
}
.tfs642-caption {
  color: var(--tfs642-quiet);
  font-size: 0.9rem;
}
.tfs642-quote {
  margin: var(--tfs642-step) 0;
  padding-left: var(--tfs642-step);
  border-left: 3px solid var(--tfs642-line);
}
.tfs642-table {
  width: 100%;
  border-collapse: collapse;
}
.tfs642-table th,
.tfs642-table td {
  padding: 0.4em 0.6em;
  border-bottom: 1px solid var(--tfs642-line);
  text-align: left;
  vertical-align: top;
}
.tfs642-faq dt {
  font-weight: 700;
}
.tfs642-faq dd {
  margin: 0 0 var(--tfs642-step);
}
.tfs642-callout {
  margin: var(--tfs642-step) 0;
  padding: var(--tfs642-step);
  background: var(--tfs642-raised);
  border: 1px solid var(--tfs642-line);
}
.tfs642-callout strong {
  display: block;
  margin-bottom: 0.4em;
  color: var(--tfs642-accent);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tfs642-callout p {
  margin: 0;
}
.tfs642-callout-warning {
  border-color: var(--tfs642-warning);
}
.tfs642-callout-warning strong {
  color: var(--tfs642-warning);
}
.tfs642-cards {
  display: grid;
  gap: var(--tfs642-step);
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.tfs642-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: var(--tfs642-step);
  background: var(--tfs642-raised);
  border: 1px solid var(--tfs642-line);
}
.tfs642-card-media {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.tfs642-card-title {
  margin: 0;
  font-size: 1.05rem;
}
.tfs642-card-summary {
  margin: 0;
  color: var(--tfs642-quiet);
}
.tfs642-card-more {
  align-self: start;
}
.tfs642-cta {
  display: inline-block;
  margin-top: var(--tfs642-step);
  padding: 0.6em 1.2em;
  background: var(--tfs642-accent);
  color: var(--tfs642-ground);
  text-decoration: none;
}
.tfs642-empty {
  color: var(--tfs642-quiet);
}
.tfs642-pages {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--tfs642-step);
}
.tfs642-notice {
  max-width: 34rem;
  margin-bottom: var(--tfs642-step);
  padding: 0.75em 1em;
  border-left: 3px solid var(--tfs642-accent);
  background: var(--tfs642-raised);
}
.tfs642-form {
  display: grid;
  gap: var(--tfs642-step);
  max-width: 34rem;
}
.tfs642-field {
  display: grid;
  gap: 0.3rem;
}
.tfs642-field input,
.tfs642-field textarea {
  padding: 0.5em;
  border: 1px solid var(--tfs642-line);
  background: var(--tfs642-raised);
  color: inherit;
  font: inherit;
}
.tfs642-submit {
  justify-self: start;
  padding: 0.6em 1.4em;
  border: 0;
  background: var(--tfs642-accent);
  color: var(--tfs642-ground);
  font: inherit;
  cursor: pointer;
}
.tfs642-footer {
  margin-top: calc(var(--tfs642-step) * 2);
  padding: var(--tfs642-step);
  border-top: 1px solid var(--tfs642-line);
  color: var(--tfs642-quiet);
  font-size: 0.9rem;
}
.tfs642-footer-legal {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}
.tfs642-people {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.tfs642-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tfs642-person .tfs642-avatar {
  width: 3rem;
  height: 3rem;
  margin: 0;
}
