/* Mittenwell — site styles */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-var.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-italic-var.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
}

:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --surface-2: #f4efe6;
  --ink: #23201c;
  --ink-2: #4a453e;
  --muted: #6b645a;
  --line: #e7dfd2;
  --line-2: #d8cdbb;
  --brand: #1e5b57;
  --brand-dark: #154340;
  --brand-tint: #e5f0ee;
  --accent: #c8691c;
  --accent-tint: #fbeee1;
  --red: #a8231a;
  --red-tint: #fdf0ee;
  --blue: #1f4f8f;
  --blue-tint: #edf3fb;
  --green: #2e6b3a;
  --green-tint: #edf6ee;
  --amber: #8a5300;
  --amber-tint: #fff6e2;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(35, 32, 28, .06), 0 6px 20px rgba(35, 32, 28, .06);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --measure: 42rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--brand-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); margin: .2em 0 .35em; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin: 2.2em 0 .6em; }
h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; }
p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.site-nav a {
  display: block; padding: .55rem .8rem; border-radius: 999px; text-decoration: none;
  color: var(--ink-2); font-weight: 550; font-size: .97rem;
}
.site-nav a:hover { background: var(--surface-2); color: var(--ink); }
.site-nav a[aria-current="page"], .site-nav a.is-section { color: var(--brand-dark); background: var(--brand-tint); }
.site-nav .nav-cta a { background: var(--brand); color: #fff; padding-inline: 1rem; }
.site-nav .nav-cta a:hover { background: var(--brand-dark); color: #fff; }
.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: .45rem;
  font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem; cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; gap: .5rem 1rem; padding-block: .6rem; }
  .site-nav { margin-left: 0; width: 100%; overflow-x: auto; }
  .site-nav ul { gap: .1rem; padding-bottom: .25rem; }
  .site-nav a { white-space: nowrap; padding: .45rem .7rem; font-size: .93rem; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav.is-open ul { flex-direction: column; align-items: stretch; padding: .25rem 0 .75rem; }
  .js .site-nav.is-open a { padding: .75rem .9rem; border-radius: var(--radius-sm); font-size: 1rem; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .88rem; color: var(--muted); padding-top: 1.1rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .25rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-2); margin-right: .1rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: .85rem 1.3rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-small { padding: .55rem 1rem; font-size: .92rem; }

/* ---------- Home ---------- */
.home-hero { padding: 3rem 0 3.5rem; }
.home-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; font-weight: 700; color: var(--accent); margin: 0 0 .6rem; }
.home-hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.7rem); }
.lede { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); line-height: 1.55; color: var(--ink-2); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.home-hero figure { margin: 0; }
.home-hero img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.home-hero figcaption { font-size: .8rem; color: var(--muted); margin-top: .5rem; }
@media (max-width: 860px) {
  .home-hero { padding: 1.5rem 0 2rem; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

.section { padding: 3.25rem 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: .35rem 0 0; color: var(--muted); max-width: 40rem; }
.section-head .more { font-weight: 600; text-decoration: none; white-space: nowrap; }
.section-head .more:hover { text-decoration: underline; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.3rem; position: relative; }
.section-alt .steps li { background: var(--bg); }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent); font-weight: 700; margin-bottom: .8rem;
}
.steps h3 { margin: 0 0 .4rem; font-size: 1.2rem; }
.steps h3 a { color: var(--ink); text-decoration: none; }
.steps h3 a:hover { color: var(--brand); text-decoration: underline; }
.steps p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.emergency-band {
  background: var(--red-tint); border: 1px solid #f2c9c4; border-radius: var(--radius);
  padding: 1.6rem 1.75rem; display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start;
}
.emergency-band svg { width: 42px; height: 42px; color: var(--red); }
.emergency-band h2 { margin: 0 0 .5rem; font-size: 1.45rem; color: var(--red); }
.emergency-band ul { margin: 0 0 .8rem; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.emergency-band li { margin-bottom: .3rem; break-inside: avoid; }
.emergency-band p { margin: 0; }
@media (max-width: 700px) {
  .emergency-band { grid-template-columns: 1fr; padding: 1.3rem; }
  .emergency-band ul { columns: 1; }
}

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.card-grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; height: 100%; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
  position: relative;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--line-2); transform: translateY(-2px); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--surface-2); }
.card-body { padding: 1.05rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.2rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:hover { color: var(--brand); }
.card p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.card .meta { font-size: .82rem; color: var(--muted); margin-top: auto; padding-top: .35rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: .15rem 0 0; padding: 0; }
.tags li { font-size: .76rem; font-weight: 600; color: var(--brand-dark); background: var(--brand-tint); padding: .18rem .55rem; border-radius: 999px; }

/* ---------- Page header ---------- */
.page-header { padding: .75rem 0 1.5rem; }
.page-header .lede { margin: 0; }
.page-header.center { text-align: center; }
.page-header.center .lede { margin: 0 auto; }
.byline { display: flex; flex-wrap: wrap; gap: .35rem 1rem; color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.byline strong { color: var(--ink-2); font-weight: 600; }

.hero-figure { margin: 0 0 2rem; }
.hero-figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; max-height: 560px; }
.hero-figure figcaption { font-size: .8rem; color: var(--muted); margin-top: .5rem; }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 3.5rem; align-items: start; padding-bottom: 3rem; }
.article-layout.no-aside { grid-template-columns: minmax(0, var(--measure)); justify-content: start; }
.prose { font-family: var(--serif); font-size: 1.15rem; line-height: 1.72; color: var(--ink); max-width: var(--measure); }
.prose > :first-child { margin-top: 0; }
.prose h2 { scroll-margin-top: 1.5rem; padding-top: .2rem; }
.prose h3 { font-size: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.35rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 650; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .93rem; line-height: 1.45; margin: 1.2em 0 1.6em; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--surface-2); font-weight: 650; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose .table-wrap { overflow-x: auto; }

.callout {
  font-family: var(--sans); font-size: 1rem; line-height: 1.6; border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem; margin: 1.6em 0; border: 1px solid; border-left-width: 5px;
}
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout ul { padding-left: 1.2rem; }
.callout li { margin-bottom: .3em; }
.callout-title { font-weight: 700; margin-bottom: .4rem !important; display: flex; gap: .45rem; align-items: center; }
.callout-title::before { content: ""; width: 1.1rem; height: 1.1rem; flex: none; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.callout-emergency { background: var(--red-tint); border-color: #f0c4be; border-left-color: var(--red); }
.callout-emergency .callout-title { color: var(--red); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 1 21h22L12 2zm1 15h-2v-2h2v2zm0-4h-2V9h2v4z'/%3E%3C/svg%3E"); }
.callout-vet { background: var(--blue-tint); border-color: #cddcf2; border-left-color: var(--blue); }
.callout-vet .callout-title { color: var(--blue); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm-2 10h-4v4h-2v-4H7v-2h4V7h2v4h4v2z'/%3E%3C/svg%3E"); }
.callout-tip { background: var(--green-tint); border-color: #cfe5d2; border-left-color: var(--green); }
.callout-tip .callout-title { color: var(--green); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 21h6v-1H9v1zm3-19a7 7 0 0 0-4 12.7V17a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E"); }
.callout-warning { background: var(--amber-tint); border-color: #f3dfb1; border-left-color: #c98a12; }
.callout-warning .callout-title { color: var(--amber); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E"); }

.aside-col { position: sticky; top: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.toc { font-family: var(--sans); line-height: 1.5; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem 1.2rem; font-size: .92rem; }
.toc-title { font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin: 0; }
.toc a { display: block; padding: .32rem 0 .32rem .75rem; color: var(--ink-2); text-decoration: none; border-left: 2px solid var(--line); line-height: 1.35; }
.toc a:hover { color: var(--brand); border-left-color: var(--brand); }
.toc a.is-active { color: var(--brand-dark); border-left-color: var(--brand); font-weight: 600; }
.toc-mobile { display: none; }
.aside-box { background: var(--brand-tint); border-radius: var(--radius); padding: 1.1rem 1.2rem; font-size: .92rem; }
.aside-box h2 { font-family: var(--sans); font-size: .95rem; margin: 0 0 .35rem; }
.aside-box p { margin: 0 0 .7rem; color: var(--ink-2); }

@media (max-width: 980px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .aside-col { display: none; }
  .toc-mobile { display: block; margin: 0 0 2rem; }
  .toc-mobile summary { cursor: pointer; font-weight: 700; font-size: .95rem; list-style-position: inside; }
  .toc-mobile[open] summary { margin-bottom: .6rem; }
  .prose { font-size: 1.1rem; }
}

.key-facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 0 0 2rem; font-family: var(--sans); }
.key-facts h2 { font-family: var(--sans); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; }
.key-facts dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.5rem; margin: 0; }
.key-facts dt { font-size: .8rem; color: var(--muted); font-weight: 600; }
.key-facts dd { margin: .1rem 0 0; font-size: .97rem; color: var(--ink); line-height: 1.4; }
@media (max-width: 560px) { .key-facts dl { grid-template-columns: 1fr; } }

.article-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-family: var(--sans); font-size: .93rem; color: var(--muted); max-width: var(--measure); }
.article-footer p { margin: 0 0 .6rem; }

.related { padding: 2.5rem 0 3.5rem; border-top: 1px solid var(--line); }
.related h2 { margin-top: 0; }

/* ---------- Breeds table ---------- */
.glance-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .93rem; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }
.glance-table th, .glance-table td { padding: .75rem .9rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.glance-table td { min-width: 8.5rem; }
.glance-table tbody th { white-space: nowrap; }
.glance-table thead th { background: var(--surface-2); font-weight: 650; }
.glance-table tbody tr:last-child td, .glance-table tbody tr:last-child th { border-bottom: 0; }
.glance-table tbody th a { font-weight: 600; text-decoration: none; }
.glance-table tbody th a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-tools { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 1rem; }
.faq-tools[hidden] { display: none; }
.faq-group { margin-bottom: 2.5rem; }
.faq-group > h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .6rem; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; position: relative;
  font-family: var(--serif); font-weight: 650; font-size: 1.12rem; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 1.15rem; top: 50%; width: .6rem; height: .6rem;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item summary:hover { color: var(--brand-dark); }
.faq-answer { padding: 0 1.2rem 1.1rem; font-family: var(--serif); font-size: 1.08rem; line-height: 1.68; }
.faq-answer p:last-child, .faq-answer ul:last-child { margin-bottom: 0; }
.faq-answer ul { padding-left: 1.3rem; }

/* ---------- Checklist ---------- */
.checklist-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem 1.1rem; margin: 0 0 1.4rem; font-family: var(--sans); font-size: 1rem; }
.checklist-group h2 { margin: 0 0 .25rem; font-size: 1.4rem; }
.checklist-group > p { color: var(--muted); margin: 0 0 .9rem; font-size: .95rem; line-height: 1.5; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { border-top: 1px solid var(--line); padding: .75rem 0; margin: 0; }
.checklist label { display: grid; grid-template-columns: 1.4rem 1fr; gap: .7rem; cursor: pointer; align-items: start; }
.checklist input { width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--brand); }
.checklist .item-title { font-weight: 600; }
.checklist .item-note { display: block; color: var(--ink-2); font-size: .93rem; line-height: 1.5; margin-top: .15rem; }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .12rem .45rem; border-radius: 4px; margin-left: .4rem; vertical-align: .1em; }
.badge-essential { background: var(--accent-tint); color: #9a4d0f; }
.badge-optional { background: var(--surface-2); color: var(--muted); }
.checklist input:checked + span .item-title { text-decoration: line-through; color: var(--muted); }
.print-row { display: flex; gap: .6rem; flex-wrap: wrap; margin: 0 0 1.5rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.form-row { margin-bottom: 1.1rem; }
.form-row label, .form-row legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.form-row .hint { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: .7rem .8rem;
}
textarea { min-height: 9rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(30, 91, 87, .25); border-color: var(--brand); }
fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; }
.check-row { display: flex; gap: .55rem; align-items: flex-start; margin-bottom: .45rem; font-size: .97rem; }
.check-row input { margin-top: .3rem; accent-color: var(--brand); }
.form-note { font-size: .85rem; color: var(--muted); margin: .9rem 0 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; padding-bottom: 3.5rem; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

.newsletter-band { background: var(--brand); color: #e9f3f1; border-radius: 22px; padding: 2.3rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.newsletter-band h2 { color: #fff; margin: 0 0 .5rem; }
.newsletter-band p { margin: 0; }
.newsletter-band form { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter-band input[type="email"] { flex: 1 1 14rem; border-color: transparent; }
.newsletter-band .btn { background: var(--accent); color: #fff; }
.newsletter-band .btn:hover { background: #a9550f; }
.newsletter-band .form-note { color: #bcd6d2; width: 100%; margin-top: .3rem; }
@media (max-width: 860px) { .newsletter-band { grid-template-columns: 1fr; padding: 1.6rem; } }

/* ---------- Misc ---------- */
.notice { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; max-width: 40rem; margin: 2rem auto 4rem; }
.notice h1 { font-size: 2.2rem; }
.notice .hero-actions { justify-content: center; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin: 1.5rem 0 2rem; font-family: var(--sans); font-size: .97rem; }
.team-member { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.team-member h3 { margin: 0 0 .1rem; font-size: 1.15rem; }
.team-member .role { color: var(--accent); font-weight: 600; font-size: .85rem; margin: 0 0 .6rem; }
.team-member p { margin: 0; line-height: 1.55; }
@media (max-width: 640px) { .team { grid-template-columns: 1fr; } }
.credits-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.credits-list li { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .6rem; font-size: .93rem; line-height: 1.5; }
.credits-list img { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; }
.credits-list .credit-title { font-weight: 600; display: block; }
.draft-banner { background: var(--amber-tint); border: 1px dashed #c98a12; color: var(--amber); border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .92rem; margin: 1rem 0 1.5rem; }
.editor-note { background: #fff8c5; border-left: 4px solid #d4a72c; padding: .55rem .8rem; font-family: var(--sans); font-size: .9rem; color: #5c4400; margin: 0 0 1.1em; }
.member-bar { background: var(--ink); color: #f3eee6; font-size: .85rem; }
.member-bar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; flex-wrap: wrap; }
.member-bar a { color: #f3eee6; }

/* ---------- Footer ---------- */
.site-footer { background: #1d2a29; color: #c9d6d3; margin-top: 2rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding: 3rem 0 2rem; }
.site-footer h2 { font-family: var(--sans); color: #fff; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: #c9d6d3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; margin-bottom: .8rem; }
.site-footer .brand svg { color: #e9a15f; }
.footer-about p { margin: 0 0 .8rem; max-width: 24rem; line-height: 1.55; }
.footer-bottom { border-top: 1px solid #2f3f3d; padding: 1.2rem 0 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; font-size: .85rem; color: #9fb2ae; }
.footer-disclaimer { max-width: 46rem; margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

@media print {
  .site-header, .site-footer, .breadcrumbs, .print-row, .newsletter-band, .aside-col, .toc-mobile, .related { display: none !important; }
  body { background: #fff; }
  .checklist-group, .card, .faq-item { box-shadow: none; break-inside: avoid; }
  .faq-item:not([open]) .faq-answer { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
.newsletter-band label { width: 100%; font-weight: 600; color: #fff; font-size: .9rem; }
