@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-500.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 650;
  font-display: swap;
  src: url("fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/fraunces-700.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-600.woff2") format("woff2");
}

:root {
  --parchment: #faf6ef;
  --card: #ffffff;
  --cream: #f3ece1;
  --pine: #1e352b;
  --pine-deep: #14241d;
  --rust: #9c4a2d;
  --rust-deep: #7d3b23;
  --brass: #c48b3b;
  --brass-soft: #e7d3a1;
  --ink: #1e1e1c;
  --stone: #5b574f;
  --line: #e4d9c8;
  --shadow: 0 16px 40px rgba(30, 30, 28, 0.07);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --measure: 68ch;
  --page: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--parchment);
  background-image:
    radial-gradient(ellipse at 0% -10%, rgba(196, 139, 59, 0.14), transparent 42%),
    radial-gradient(ellipse at 100% 0%, rgba(30, 53, 43, 0.06), transparent 36%);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
}

img, svg { max-width: 100%; }

a { color: var(--rust); }

a:hover { color: var(--rust-deep); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--pine);
  color: var(--parchment);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}
.skip:focus { top: 0.6rem; color: var(--parchment); }

.site-header {
  background: var(--pine);
  color: var(--parchment);
  border-bottom: 3px solid var(--brass);
}

.header-inner,
.wrap,
.site-footer .wrap {
  width: min(var(--page), calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--parchment);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--parchment); }

.emblem { width: 46px; height: 46px; flex: none; }

.brand-name {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1.05;
}
.brand-tag {
  display: block;
  color: var(--brass-soft);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.nav-desktop { display: none; }

.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  color: var(--parchment);
  border: 1px solid rgba(250, 246, 239, 0.35);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.92rem;
}
.nav-mobile summary::-webkit-details-marker { display: none; }

.nav-mobile { position: relative; }

.nav-mobile[open] nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.7rem);
  min-width: 14rem;
  background: var(--pine-deep);
  padding: 0.4rem 0.9rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(196, 139, 59, 0.45);
  z-index: 5;
}

.nav-desktop a,
.nav-mobile a {
  color: var(--parchment);
  text-decoration: none;
  font-size: 0.98rem;
  padding: 0.45rem 0;
}
.nav-desktop a:hover,
.nav-mobile a:hover { color: var(--brass-soft); }

.nav-desktop a[aria-current="page"],
.nav-mobile a[aria-current="page"] {
  color: var(--brass-soft);
  box-shadow: inset 0 -2px 0 var(--brass);
}

@media (min-width: 920px) {
  .nav-mobile { display: none; }
  .nav-desktop {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem 1rem;
  }
}

.hero-band {
  padding: 1.5rem 0 0.2rem;
}

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
  margin: 0 0 0.7rem;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--pine);
}

.hero-band h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.5rem);
  font-weight: 500;
  max-width: 16ch;
  margin: 0;
  color: var(--ink);
}

.dek {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: var(--stone);
  max-width: 40rem;
  margin: 0.75rem 0 0;
}

.rule {
  width: 4.5rem;
  height: 3px;
  background: var(--brass);
  border: 0;
  margin: 1.4rem 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.2rem 0 0.8rem;
}

.filter-btn {
  font-family: var(--sans);
  font-size: 0.92rem;
  background: transparent;
  color: var(--pine);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}
.filter-btn[aria-pressed="true"] {
  background: var(--pine);
  color: var(--parchment);
  border-color: var(--pine);
}

.filter-count {
  color: var(--stone);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  padding-bottom: 3rem;
}

@media (min-width: 700px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .card-grid.cards-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  min-height: 100%;
}
.guide-card:hover { color: inherit; transform: translateY(-2px); }
.guide-card.is-hidden { display: none !important; }

.card-art,
.hero-art {
  aspect-ratio: 16 / 9;
  background: var(--cream);
  overflow: hidden;
}
.card-art svg,
.hero-art svg,
.card-art img,
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }

.pill {
  display: inline-flex;
  align-self: flex-start;
  background: var(--cream);
  color: var(--rust);
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.pill.pine { background: var(--pine); color: var(--parchment); }
a.pill { text-decoration: none; }

.card-body h2,
.card-body h3 {
  font-size: 1.35rem;
  margin: 0.15rem 0 0;
}
.card-excerpt { color: var(--stone); margin: 0; flex: 1; }
.card-meta { color: var(--stone); font-size: 0.9rem; margin: 0; }

.section-intro { max-width: 42rem; }
.section-intro h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0; font-weight: 500; }

.page {
  padding: 1.6rem 0 3.2rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--stone);
  font-size: 0.92rem;
  margin: 0 0 0.8rem;
}
.crumbs a { color: var(--stone); }

.article-title {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 500;
  margin: 0.7rem 0 0.4rem;
  max-width: 22em;
  color: var(--ink);
}

.byline { color: var(--stone); margin: 0 0 1.1rem; }

.hero-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 0 0 1.2rem;
  background: var(--cream);
}

.disclosure {
  background: var(--cream);
  border-left: 4px solid var(--brass);
  padding: 0.9rem 1rem;
  margin: 0 0 1.2rem;
  border-radius: 0 12px 12px 0;
}
.disclosure p { margin: 0; }
.disclosure strong { color: var(--pine); }

.gear {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.1rem 0.4rem;
  margin: 0 0 1.8rem;
  box-shadow: var(--shadow);
}
.gear h2 { margin: 0 0 0.3rem; font-size: 1.7rem; }
.gear-note { color: var(--stone); margin: 0 0 0.8rem; }

.gear-list { list-style: none; margin: 0; padding: 0; }
.gear-list li {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .gear-list li {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.gear-name { margin: 0; font-family: var(--serif); font-size: 1.2rem; color: var(--pine); }
.gear-brand, .gear-best { margin: 0.15rem 0 0; color: var(--stone); }
.gear-best { color: var(--ink); }

.gear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rust);
  color: #faf6ef;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  white-space: nowrap;
  flex: none;
}
.gear-btn:hover { background: var(--rust-deep); color: #faf6ef; }

.prose { max-width: var(--measure); }
.prose h2 { font-size: 1.85rem; margin: 2rem 0 0.6rem; }
.prose h3 { font-size: 1.35rem; margin: 1.5rem 0 0.4rem; }
.prose p { margin: 0.8rem 0; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }
.prose li input[type="checkbox"] {
  accent-color: var(--pine);
  margin-right: 0.4rem;
  transform: translateY(1px);
}

.prose blockquote.callout,
.prose blockquote {
  margin: 1.2rem 0;
  background: var(--cream);
  border-left: 4px solid var(--pine);
  padding: 0.8rem 1rem;
  border-radius: 0 12px 12px 0;
  color: var(--ink);
}
.prose blockquote p { margin: 0.3rem 0; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.3rem;
  font-size: 0.98rem;
  background: var(--card);
}
.prose th, .prose td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}
.prose th { background: var(--pine); color: var(--parchment); font-weight: 600; }
.prose tr:nth-child(even) td { background: #fbf8f3; }

.paid-link {
  color: var(--rust);
  font-weight: 600;
  text-underline-offset: 0.16em;
}
.paid-mark {
  font-size: 0.72em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 600;
  margin-left: 0.25rem;
  white-space: nowrap;
}

.related { margin-top: 2.4rem; }
.related h2 { font-size: 1.8rem; }

.prose-page { max-width: 70ch; }
.prose-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 500; margin-top: 0; }
.prose-page h2 { font-size: 1.6rem; }

.contact-email {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}
.contact-email a { color: var(--pine); }

.site-footer {
  background: var(--pine);
  color: var(--parchment);
  padding: 2rem 0 2.4rem;
  margin-top: auto;
}
.site-footer a { color: var(--brass-soft); }
.footer-grid {
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h2 {
  color: var(--parchment);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.3rem 0; }
.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin: 0.2rem 0;
  color: var(--parchment);
}
.fine-print { color: #d9d0c3; font-size: 0.95rem; }
.associate {
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 236, 225, 0.2);
  color: var(--brass-soft);
}

.empty {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  color: var(--stone);
}
