:root {
  --primary: #0B6F96;
  --link: #1677C8;
  --highlight: #E6F1FB;
  --fox: #D8681B;
  --parchment: #F6F1E7;
  --paper: #FFFCF6;
  --fox-tint: #FFF1E6;
  --ink: #0F172A;
  --muted: #5B6472;
  --deep-slate: #334155;
  --cool-line: #C9CED6;
  --warm-line: #D7D0C3;

  --max: 1240px;
  --measure: 72ch;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;

  --s4: 4px;
  --s8: 8px;
  --s12: 12px;
  --s16: 16px;
  --s24: 24px;
  --s32: 32px;
  --s48: 48px;
  --s64: 64px;

  --heading: "Source Serif 4", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --fox-font: "Kalam", "Bradley Hand", "Comic Sans MS", cursive;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  background: var(--parchment);
  color: var(--ink);
}

img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 0.16em; }
a:hover { color: var(--primary); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--s24); }
.main { padding: var(--s48) 0 var(--s64); }
.content, .page-header, .listing > p.lede, .intro-panel { max-width: var(--measure); }
.content p, .content li { max-width: var(--measure); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 99;
}
.skip-link:focus {
  left: var(--s24);
  top: var(--s24);
  background: var(--paper);
  color: var(--ink);
  padding: var(--s8) var(--s12);
  border-radius: var(--radius-sm);
  outline: 3px solid var(--link);
}

.site-header {
  background: var(--primary);
  color: var(--paper);
  border-bottom: 1px solid var(--cool-line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header a { color: var(--paper); }
.site-header__inner, .site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s24);
  padding: var(--s16) 0;
}
.brand { text-decoration: none; color: inherit; min-width: 190px; }
.brand__name {
  display: block;
  font-family: var(--heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.brand__tag { display: block; color: #E6F1FB; font-size: .9rem; margin-top: .05rem; }

.nav__list { display: flex; gap: var(--s8); list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: flex-end; }
.nav__link {
  text-decoration: none;
  padding: .35rem .55rem;
  border-radius: var(--radius-sm);
  font-size: .98rem;
  font-weight: 500;
}
.nav__link:hover, .nav__link[aria-current="page"] { background: rgba(255,252,246,.14); color: var(--paper); }
.nav__link:focus, .btn:focus, button:focus, input:focus, select:focus, textarea:focus { outline: 3px solid var(--link); outline-offset: 3px; }

.site-footer {
  border-top: 1px solid var(--warm-line);
  background: var(--paper);
}
.site-footer__inner { align-items: flex-start; }
.site-footer p { margin: 0; }
.footer-links a { white-space: nowrap; }

h1, h2, h3, h4 {
  font-family: var(--heading);
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(2.45rem, 6vw, 3.5rem); margin: 0 0 var(--s16); }
h2 { font-size: clamp(1.75rem, 3vw, 2.1rem); margin: var(--s48) 0 var(--s16); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin: var(--s24) 0 var(--s8); }
p { margin: 0 0 var(--s16); }
ul, ol { padding-left: 1.35rem; }
li + li { margin-top: var(--s8); }

.page-header { margin-bottom: var(--s32); }
.page-header h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.lede { color: var(--deep-slate); font-size: 1.18rem; margin: 0 0 var(--s24); }
.meta, .muted { color: var(--muted); }
.eyebrow {
  margin: 0 0 var(--s8);
  color: var(--fox);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero {
  padding: var(--s64) 0;
  margin-bottom: var(--s48);
  border-bottom: 1px solid var(--warm-line);
}
.hero--home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: var(--s48);
  align-items: center;
}
.hero__mark {
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-lg);
  padding: var(--s24);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.hero__mark img { display: block; margin: 0 auto; max-height: 520px; object-fit: contain; }
.hero__guide { padding: var(--s16) var(--s16) 0; background: linear-gradient(180deg, var(--paper), #fff7ed); overflow: hidden; }
.hero__guide img { max-height: 540px; }
.button-row { display: flex; flex-wrap: wrap; gap: var(--s12); margin-top: var(--s24); }
.btn, button.btn {
  display: inline-block;
  padding: .72rem 1rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--primary);
  font-weight: 700;
  cursor: pointer;
}
.btn:hover { color: var(--paper); filter: brightness(.94); }
.btn--ghost {
  background: var(--paper);
  color: var(--deep-slate);
  border: 1px solid var(--warm-line);
}
.btn--ghost:hover { color: var(--ink); background: #fff; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: var(--s32);
  align-items: start;
  margin-bottom: var(--s48);
}
.callout, .intro-panel {
  background: var(--highlight);
  border: 1px solid var(--cool-line);
  border-radius: var(--radius);
  padding: var(--s24);
}
.callout h2, .callout h3 { margin-top: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--s24);
  margin: var(--s24) 0 var(--s48);
}
.cards--three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius);
  padding: var(--s24);
  box-shadow: none;
  transition: transform 180ms cubic-bezier(0.2, 0, 0, 1), border-color 180ms cubic-bezier(0.2, 0, 0, 1);
}
.card:hover { transform: translateY(-2px); border-color: #c1b8a8; }
.card h2, .card h3, .card__title { margin-top: 0; }
.card__title { font-size: 1.35rem; }
.card__desc { color: var(--deep-slate); }
.card__meta { font-size: .92rem; margin-bottom: 0; }

.trust {
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-lg);
  padding: var(--s32);
  margin-top: var(--s48);
}
.trust h2 { margin-top: 0; }

.content h2 { margin-top: var(--s48); }
.sources {
  margin-top: var(--s64);
  padding-top: var(--s32);
  border-top: 1px solid var(--warm-line);
  max-width: var(--measure);
}
.sources__list { padding-left: 1.25rem; }
.sources__note { margin-top: .25rem; }

.fox {
  max-width: var(--measure);
  margin: var(--s32) 0;
  padding: var(--s24);
  border-radius: var(--radius);
  border: 1px solid var(--warm-line);
  border-left: 5px solid var(--fox);
  background: var(--fox-tint);
}
.fox__label {
  font-family: var(--heading);
  font-weight: 700;
  margin-bottom: var(--s8);
  color: var(--fox);
}
.fox__body { font-family: var(--fox-font); font-size: 1.05rem; color: var(--ink); }
.fox__body p:last-child { margin-bottom: 0; }
.pill {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--warm-line);
  margin: 0 .35rem .35rem 0;
  font-size: .9rem;
}

table {
  border-collapse: collapse;
  width: 100%;
  max-width: var(--measure);
  background: var(--paper);
  border: 1px solid var(--warm-line);
  margin: var(--s24) 0;
}
th, td { text-align: left; padding: var(--s12); border-bottom: 1px solid var(--warm-line); vertical-align: top; }
th { background: #fff8ef; font-weight: 700; }
tr:last-child td { border-bottom: none; }

.form { max-width: var(--measure); margin-top: var(--s24); }
.form label { display: block; font-weight: 700; margin-bottom: var(--s16); }
.form input, .form select, .form textarea {
  display: block;
  width: 100%;
  margin-top: var(--s4);
  padding: .75rem .85rem;
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.hidden { display: none; }
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s16);
  margin: var(--s24) 0 var(--s32);
}
.tier-card {
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius);
  padding: var(--s20);
}
.tier-card h3 { margin-top: 0; }
.tier-card__amount {
  font-family: var(--heading);
  font-weight: 700;
  color: var(--primary);
  margin: .25rem 0 .75rem;
}


@media (max-width: 840px) {
  body { font-size: 17px; }
  .site-header { position: static; }
  .site-header__inner, .site-footer__inner { display: block; }
  .nav__list { justify-content: flex-start; margin-top: var(--s12); }
  .hero--home, .split { grid-template-columns: 1fr; }
  .hero__mark { max-width: 280px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 var(--s16); }
  .main { padding-top: var(--s32); }
  .hero { padding: var(--s32) 0; }
  .btn { width: 100%; text-align: center; }
}


/* Civic library structure: taxonomy, trails, and The Fox Lens */
.civic-meta {
  max-width: var(--measure);
  background: rgba(255,252,246,.68);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius);
  padding: var(--s16) var(--s16) var(--s8);
  margin: 0 0 var(--s24);
}
.civic-meta__row { margin: 0 0 var(--s8); }
.civic-meta__label {
  display: inline-block;
  min-width: 7.5rem;
  font-weight: 700;
  color: var(--deep-slate);
  margin-right: var(--s8);
}
.pill--small { font-size: .78rem; padding: .18rem .48rem; }
.pill--strong { background: var(--highlight); border-color: var(--cool-line); color: var(--primary); font-weight: 700; }
.tag-row { margin: var(--s12) 0 0; }
.official-record, .fox-lens, .related-trails {
  max-width: var(--measure);
  margin: var(--s32) 0;
}
.official-record {
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-lg);
  padding: var(--s24);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s24);
  align-items: start;
}
.official-record h2 { margin-top: 0; }
.official-record__actions { justify-content: flex-start; margin: 0; }
.record-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s12) var(--s24);
  margin: var(--s16) 0 0;
}
.record-grid div { border-top: 1px solid var(--warm-line); padding-top: var(--s8); }
.record-grid dt { font-weight: 700; color: var(--deep-slate); }
.record-grid dd { margin: 0; color: var(--ink); }
.fox-lens {
  background: var(--fox-tint);
  border: 1px solid #ead6c5;
  border-radius: var(--radius-lg);
  padding: var(--s24);
}
.fox-lens > .eyebrow { color: var(--fox); }
.fox-lens__intro { color: var(--deep-slate); }
.fox-lens .content h2:first-child { margin-top: var(--s16); }
.related-trails {
  border-top: 1px solid var(--warm-line);
  padding-top: var(--s24);
}
.cards--related { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: var(--s32); }
.card--trail h3 { font-size: 1.18rem; }
.topic-index { display: grid; gap: var(--s24); max-width: 980px; }
.topic-card {
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-lg);
  padding: var(--s24);
}
.topic-card h2 { margin-top: 0; }

@media (max-width: 840px) {
  .hero__mark { max-width: 360px; margin: 0 auto; }
  .official-record { grid-template-columns: 1fr; }
}

/* v0.94 polish */
.content blockquote {
  max-width: var(--measure);
  margin: var(--s24) 0;
  padding: var(--s16) var(--s24);
  background: var(--paper);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--deep-slate);
}
.content blockquote p:last-child { margin-bottom: 0; }
.topic-index--future {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.topic-card--future {
  background: rgba(255,252,246,.62);
  border-style: dashed;
}
.topic-card--future h2 { font-size: 1.35rem; }
.topic-card--active { border-left: 5px solid var(--primary); }


/* v0.96 reader-path and source-trail additions */
.starter-trail {
  margin: 2rem 0;
}

.callout--starter {
  border-left: 4px solid var(--color-accent, #b7652b);
}

.starter-list {
  margin: 1rem 0 0;
  padding-left: 1.3rem;
}

.starter-list li + li {
  margin-top: 0.45rem;
}

.source-trail {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem;
  border: 1px solid rgba(50, 80, 95, 0.18);
  border-radius: 1rem;
  background: rgba(255, 252, 244, 0.72);
}

.source-trail h2 {
  margin-top: 0;
}

.source-trail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.topic-card__start {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 0.85rem;
  background: rgba(255, 252, 244, 0.68);
  border: 1px solid rgba(50, 80, 95, 0.14);
}

@media (max-width: 760px) {
  .source-trail__grid {
    grid-template-columns: 1fr;
  }
}


/* v0.97 polish: keep Source Trail visible but lighter */
.source-trail {
  padding: 1rem 1.1rem;
  margin: 1.2rem 0 1.7rem;
}

.source-trail h2 {
  font-size: 1.18rem;
}

.source-trail h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.source-trail ul {
  margin-top: 0.35rem;
}

.source-trail li + li {
  margin-top: 0.25rem;
}




/* TCF v1.0.1 internal: compact header wordmark hotfix */
.site-header__inner {
  min-height: 88px;
}

.brand--image {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 235px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.brand__mark {
  display: block;
  width: auto;
  max-width: 235px;
  max-height: 68px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

@media (max-width: 920px) {
  .site-header__inner {
    align-items: flex-start;
  }

  .brand__mark {
    max-width: 205px;
    max-height: 60px;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    gap: var(--s12);
  }

  .brand__mark {
    max-width: 180px;
    max-height: 56px;
  }
}


/* TCF v1.1 internal: homepage hero cleanup */
.hero__subline {
  font-family: var(--heading);
  color: var(--fox);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  margin: -0.25rem 0 var(--s16);
  font-weight: 700;
}



/* TCF v1.1.1 internal: horizontal expanded trail path */
.trail-guide,
.trail-board {
  margin: var(--s48) 0;
}

.trail-guide__intro,
.trail-board__header {
  max-width: var(--measure);
  margin-bottom: var(--s24);
}

.trail-topic,
.trail-accordion {
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-lg);
  margin: 0 0 var(--s16);
  overflow: hidden;
}

.trail-topic[open],
.trail-accordion[open] {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.07);
}

.trail-topic__summary,
.trail-accordion__summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s16);
  padding: 20px;
}

.trail-topic__summary::-webkit-details-marker,
.trail-accordion__summary::-webkit-details-marker,
.trail-point__summary::-webkit-details-marker {
  display: none;
}

.trail-topic__summary::after,
.trail-accordion__summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.trail-topic[open] > .trail-topic__summary::after,
.trail-accordion[open] > .trail-accordion__summary::after {
  content: "–";
}

.trail-topic__label,
.trail-accordion__title {
  display: block;
  font-family: var(--heading);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.trail-topic__desc,
.trail-accordion__meta {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.15rem;
}

.trail-topic__count {
  color: var(--deep-slate);
  white-space: nowrap;
  font-size: 0.95rem;
  border: 1px solid var(--warm-line);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  background: var(--parchment);
}

.trailhead-list {
  padding: 0 20px 20px;
}

.trail-accordion {
  margin-bottom: 0;
  border-color: var(--cool-line);
}

.trail-accordion__summary {
  justify-content: flex-start;
}

.trail-accordion__summary::after {
  margin-left: auto;
}

.trailhead-bullet {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid var(--fox);
  border-radius: 999px;
  background: var(--paper);
}

/* Horizontal path: only inside the opened trailhead, not the whole page */
.trail-path {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 4vw, 42px);
  padding: 24px 20px 28px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.trail-path::before {
  content: "";
  position: absolute;
  left: 46px;
  right: 46px;
  top: 49px;
  height: 2px;
  background: var(--warm-line);
}

.trail-path--demo {
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.trail-point {
  position: relative;
  z-index: 1;
  flex: 0 0 minmax(160px, 220px);
  min-width: 165px;
  max-width: 260px;
}

.trail-point__summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.trail-point__marker {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: var(--paper);
  border-radius: 999px;
}

.trail-point__marker--circle::before {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  border: 3px solid var(--fox);
  border-radius: 999px;
  background: var(--paper);
}

.trail-point__marker--rect::before {
  content: "";
  display: block;
  width: 34px;
  height: 19px;
  border: 2px solid var(--primary);
  border-radius: 6px;
  background: var(--highlight);
}

.trail-point__marker--paw {
  color: var(--deep-slate);
}

.paw-mark {
  width: 32px;
  height: 32px;
  display: block;
  fill: currentColor;
  opacity: 0.84;
}

.trail-point__label {
  display: block;
  color: var(--deep-slate);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.trail-point__card {
  margin-top: 14px;
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.07);
}

.trail-point:not([open]) .trail-point__card {
  display: none;
}

.trail-point--current .trail-point__card {
  border-color: rgba(216, 104, 27, 0.35);
  background: linear-gradient(180deg, var(--paper), var(--fox-tint));
}

.trail-point__card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.trail-point__card p:last-child {
  margin-bottom: 0;
}

.trail-point__date {
  color: var(--muted);
  font-size: 0.94rem;
  margin-top: -0.35rem;
}

@media (max-width: 760px) {
  .trail-topic__summary,
  .trail-accordion__summary {
    align-items: flex-start;
  }

  .trail-topic__count {
    display: none;
  }

  .trail-path {
    display: grid;
    gap: 16px;
    overflow-x: visible;
    padding: 20px;
  }

  .trail-path::before {
    left: 44px;
    right: auto;
    top: 46px;
    bottom: 46px;
    width: 2px;
    height: auto;
  }

  .trail-point {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    max-width: none;
  }

  .trail-point__summary {
    grid-column: 1 / 2;
    display: block;
    text-align: left;
  }

  .trail-point__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .trail-point__card {
    grid-column: 2 / 3;
    margin-top: 0;
  }

  .trail-point:not([open]) .trail-point__card {
    display: block;
  }

  .trail-point__marker {
    width: 48px;
    height: 48px;
  }

  .trail-point__marker--circle::before {
    width: 22px;
    height: 22px;
  }

  .trail-point__marker--rect::before {
    width: 30px;
    height: 17px;
  }

  .paw-mark {
    width: 29px;
    height: 29px;
  }
}


/* TCF v1.1.2 internal: brand/header + homepage visual cleanup */
.brand--text {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand--text .brand__name {
  display: block;
  font-family: var(--heading);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--paper);
  white-space: nowrap;
}

.hero--text-only {
  display: block;
  max-width: 900px;
  padding-top: var(--s64);
}

.hero--text-only .hero__text {
  max-width: 820px;
}

.hero--text-only h1 {
  max-width: 820px;
}

/* TCF v1.1.2 internal: Follow the Fox trail visual refinement */
.trail-path::before {
  background: none;
  background-image: radial-gradient(circle, var(--warm-line) 2px, transparent 2.4px);
  background-size: 13px 2px;
  background-repeat: repeat-x;
}

.paw-mark--fox-track {
  width: 34px;
  height: 34px;
  fill: currentColor;
  opacity: 0.9;
}

.paw-mark--fox-track .paw-mark__negative {
  fill: var(--paper);
  opacity: 0.82;
}

.trail-point__marker--paw {
  color: var(--deep-slate);
}

.trail-point--current .trail-point__marker--paw {
  color: var(--fox);
}

@media (max-width: 760px) {
  .trail-path::before {
    background-image: radial-gradient(circle, var(--warm-line) 2px, transparent 2.4px);
    background-size: 2px 13px;
    background-repeat: repeat-y;
  }
}


/* TCF v1.1.3 internal: support page cleanup */
.support-panel,
.support-boundary,
.support-flow {
  max-width: var(--measure);
  margin: var(--s32) 0;
  border-radius: var(--radius-lg);
  padding: var(--s24);
}

.support-panel {
  background: var(--paper);
  border: 1px solid var(--warm-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.support-panel h2,
.support-boundary h2,
.support-flow h2 {
  margin-top: 0;
}

.support-panel .button-row {
  margin-bottom: 0;
}

.support-boundary {
  background: var(--fox-tint);
  border: 1px solid rgba(216, 104, 27, 0.28);
  border-left: 5px solid var(--fox);
}

.support-outcomes .card {
  min-height: auto;
}

.support-paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: var(--s16);
  margin: var(--s24) 0 var(--s48);
}

.support-path {
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-lg);
  padding: var(--s20, 20px);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.support-path h3 {
  margin-top: 0;
  margin-bottom: var(--s8);
}

.support-path p {
  margin-bottom: var(--s12);
}

.support-path p:last-child {
  margin-bottom: 0;
}

.support-path__kicker {
  color: var(--fox);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.support-path__recognition {
  color: var(--muted);
  font-size: 0.94rem;
  padding-top: var(--s12);
  border-top: 1px solid var(--warm-line);
}

.support-flow {
  background: var(--highlight);
  border: 1px solid var(--cool-line);
}



/* TCF v1.2 internal: Articles + Topics organization */
.topic-browse-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s16);
  margin: var(--s24) 0 var(--s48);
}

.topic-browse-intro__card {
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-lg);
  padding: var(--s20, 20px);
}

.topic-browse-intro__card h2 {
  margin-top: 0;
  font-size: 1.45rem;
}

.topic-index--organized {
  max-width: 1080px;
}

.topic-card__header {
  display: flex;
  justify-content: space-between;
  gap: var(--s16);
  align-items: flex-start;
}

.topic-card__anchor {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid var(--warm-line);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  background: var(--parchment);
}

.topic-card__start {
  background: var(--highlight);
  border: 1px solid var(--cool-line);
  border-radius: var(--radius);
  padding: var(--s16);
  margin: var(--s20, 20px) 0;
}

.topic-card__start h3 {
  margin-top: 0;
}

.topic-shelves {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s16);
  margin-top: var(--s20, 20px);
}

.topic-shelf {
  border-top: 1px solid var(--warm-line);
  padding-top: var(--s16);
}

.topic-shelf h3 {
  margin-top: 0;
  font-size: 1.18rem;
}

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

.topic-link-list li {
  margin: 0;
  padding: var(--s12) 0;
  border-bottom: 1px solid rgba(215, 208, 195, 0.72);
}

.topic-link-list li:last-child {
  border-bottom: none;
}

.topic-link-list a {
  display: block;
  font-weight: 700;
}

.topic-link-list span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
  margin-top: 0.2rem;
}

.archive-bridge {
  max-width: var(--measure);
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--s24);
  margin: var(--s48) 0;
}

.archive-bridge h2 {
  margin-top: 0;
}

.archive-bridge--top {
  background: var(--highlight);
  border-color: var(--cool-line);
  border-left-color: var(--primary);
}

@media (max-width: 700px) {
  .topic-card__header {
    display: block;
  }

  .topic-card__anchor {
    display: inline-block;
    margin-top: var(--s8);
  }
}





/* TCF v1.2.3 internal: Meet The Fox hero integration */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.meet-fox-scene {
  position: relative;
  max-width: 1180px;
  min-height: 760px;
  margin: var(--s24) 0 var(--s64);
  isolation: isolate;
}

.meet-fox-scene__note {
  position: relative;
  z-index: 3;
  width: min(720px, 68vw);
  padding-top: var(--s24);
}

.fox-note-artifact__label {
  margin-bottom: var(--s16);
}

.fox-note-artifact {
  margin: 0;
  transform: rotate(-0.35deg);
  filter: drop-shadow(0 24px 28px rgba(15, 23, 42, 0.18));
}

.fox-note-artifact img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.meet-fox-scene__fox {
  position: absolute;
  z-index: 2;
  right: clamp(-30px, 2vw, 24px);
  top: -6px;
  width: clamp(330px, 38vw, 500px);
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 20px rgba(15, 23, 42, 0.10));
  pointer-events: none;
}

.site-explainer {
  max-width: var(--measure);
  margin: var(--s48) 0;
}

.site-explainer h2 {
  margin-top: 0;
}

/* Preserved from v1.2.2: Follow field notes */
.follow-field-notes {
  max-width: 980px;
  margin: var(--s48) 0 0;
}

.follow-field-notes .cards {
  margin-bottom: 0;
}

.card--field-note {
  border-left: 5px solid var(--fox);
}

@media (max-width: 1040px) {
  .meet-fox-scene {
    min-height: 660px;
  }

  .meet-fox-scene__note {
    width: min(670px, 72vw);
  }

  .meet-fox-scene__fox {
    width: clamp(300px, 36vw, 420px);
    right: -20px;
    top: 44px;
  }
}

@media (max-width: 840px) {
  .meet-fox-scene {
    min-height: 0;
    margin-bottom: var(--s48);
    display: grid;
    gap: var(--s24);
  }

  .meet-fox-scene__note {
    width: 100%;
    padding-top: 0;
  }

  .meet-fox-scene__fox {
    position: relative;
    right: auto;
    top: auto;
    justify-self: center;
    width: min(320px, 78vw);
    z-index: 1;
    margin-top: calc(var(--s32) * -1);
  }

  .fox-note-artifact {
    transform: rotate(-0.18deg);
  }
}

@media (max-width: 520px) {
  .meet-fox-scene__fox {
    width: min(280px, 76vw);
    margin-top: calc(var(--s24) * -1);
  }
}


/* TCF v1.2.4 internal: Meet The Fox composition tuning */
.meet-fox-scene {
  max-width: 1260px;
  min-height: 820px;
  overflow: visible;
}

.meet-fox-scene__note {
  width: min(720px, 68vw);
  padding-top: var(--s12);
}

.meet-fox-scene__fox {
  top: -180px;
  right: clamp(-90px, -4vw, -44px);
  width: clamp(330px, 38vw, 500px);
  z-index: 2;
}

@media (max-width: 1160px) {
  .meet-fox-scene {
    min-height: 760px;
  }

  .meet-fox-scene__fox {
    top: -132px;
    right: clamp(-74px, -5vw, -28px);
  }
}

@media (max-width: 1040px) {
  .meet-fox-scene {
    min-height: 700px;
  }

  .meet-fox-scene__note {
    width: min(670px, 72vw);
  }

  .meet-fox-scene__fox {
    top: -96px;
    right: -54px;
    width: clamp(300px, 36vw, 420px);
  }
}

@media (max-width: 840px) {
  .meet-fox-scene {
    min-height: 0;
  }

  .meet-fox-scene__note {
    width: 100%;
    padding-top: 0;
  }

  .meet-fox-scene__fox {
    position: relative;
    right: auto;
    top: auto;
    width: min(320px, 78vw);
    margin-top: calc(var(--s32) * -1);
  }
}
/* TCF v1.2.9 internal: Meet The Fox note rebuilt as live page element + podium support */
.fox-note-paper {
  margin: 0;
  transform: rotate(-0.35deg);
  filter: drop-shadow(0 24px 28px rgba(15, 23, 42, 0.18));
}

.fox-note-paper__sheet {
  position: relative;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,0.55) 0, rgba(255,255,255,0) 22%),
    radial-gradient(circle at 82% 20%, rgba(255,255,255,0.28) 0, rgba(255,255,255,0) 26%),
    radial-gradient(circle at 50% 78%, rgba(199, 177, 141, 0.08) 0, rgba(199, 177, 141, 0) 35%),
    repeating-linear-gradient(0deg, rgba(110, 86, 55, 0.015) 0 2px, rgba(255,255,255,0) 2px 6px),
    linear-gradient(180deg, #f8f3eb 0%, #f5efe4 100%);
  border-radius: 2px;
  padding: clamp(32px, 3vw, 48px) clamp(32px, 3.4vw, 56px);
  border: 1px solid rgba(168, 142, 102, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.65),
    inset 0 -8px 22px rgba(131, 107, 75, 0.03);
}

.fox-note-paper__sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(126, 96, 67, 0.15) 0 1px, transparent 1.5px),
    radial-gradient(circle at 78% 30%, rgba(126, 96, 67, 0.12) 0 1px, transparent 1.5px),
    radial-gradient(circle at 38% 66%, rgba(126, 96, 67, 0.11) 0 1px, transparent 1.5px),
    radial-gradient(circle at 64% 82%, rgba(126, 96, 67, 0.10) 0 1px, transparent 1.5px);
  background-size: 140px 140px, 180px 180px, 200px 200px, 230px 230px;
  mix-blend-mode: multiply;
}

.fox-note-paper__sheet > * {
  position: relative;
  z-index: 1;
}

.fox-note-paper__sheet p {
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(1.02rem, 1.12vw, 1.22rem);
  line-height: 1.52;
  letter-spacing: 0.01em;
  color: #1a1712;
  max-width: 35em;
  margin: 0 0 1.42rem;
}

.fox-note-paper__sheet p:last-child {
  margin-bottom: 0;
}

.content--meet-fox {
  max-width: none;
}

.content--meet-fox > .meet-fox-scene {
  width: 100%;
  max-width: none;
  min-height: 920px;
  margin-right: 0;
}

.content--meet-fox .meet-fox-scene__note {
  width: min(720px, 58vw);
}

.content--meet-fox .meet-fox-scene__fox-wrap {
  position: absolute;
  top: -148px;
  right: clamp(0px, 1.25vw, 18px);
  width: clamp(360px, 34vw, 480px);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.content--meet-fox .meet-fox-scene__fox {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  height: auto;
  margin: 0;
  z-index: 2;
}

.content--meet-fox .meet-fox-scene__podium {
  position: relative;
  z-index: 1;
  width: 74%;
  min-height: 230px;
  margin-top: -66px;
  border-radius: 5px 5px 10px 10px;
  border: 1px solid rgba(87, 54, 24, 0.55);
  background:
    linear-gradient(90deg, rgba(74, 45, 22, 0.35) 0%, rgba(255,255,255,0.08) 8%, rgba(255,255,255,0) 18%, rgba(0,0,0,0.08) 50%, rgba(255,255,255,0) 82%, rgba(255,255,255,0.07) 92%, rgba(74,45,22,0.32) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 2px, rgba(0,0,0,0.03) 2px 4px, rgba(255,255,255,0.01) 4px 6px),
    linear-gradient(180deg, #9c6c3a 0%, #8e5f31 30%, #7e532a 62%, #704724 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -10px 20px rgba(57, 33, 16, 0.25),
    0 12px 18px rgba(15, 23, 42, 0.12);
}

.content--meet-fox .meet-fox-scene__podium::before {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: -18px;
  height: 22px;
  border-radius: 8px 8px 3px 3px;
  border: 1px solid rgba(87, 54, 24, 0.55);
  background:
    linear-gradient(90deg, rgba(0,0,0,0.12) 0%, rgba(255,255,255,0.14) 18%, rgba(255,255,255,0.08) 50%, rgba(0,0,0,0.10) 100%),
    linear-gradient(180deg, #a6743f 0%, #8f602f 100%);
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.08);
}

.content--meet-fox .meet-fox-scene__podium::after {
  content: "";
  position: absolute;
  inset: 20px 18px 18px;
  border-radius: 4px 4px 8px 8px;
  border: 1px solid rgba(87, 54, 24, 0.34);
  background:
    linear-gradient(90deg, rgba(0,0,0,0.10) 0%, rgba(255,255,255,0.08) 16%, rgba(255,255,255,0) 50%, rgba(0,0,0,0.12) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 22%, rgba(0,0,0,0.10) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.content--meet-fox > .site-explainer,
.content--meet-fox > .cta-row {
  max-width: var(--measure);
}

@media (max-width: 1160px) {
  .content--meet-fox > .meet-fox-scene {
    min-height: 830px;
  }

  .content--meet-fox .meet-fox-scene__note {
    width: min(680px, 60vw);
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    top: -116px;
    right: 0;
    width: clamp(330px, 34vw, 430px);
  }

  .content--meet-fox .meet-fox-scene__podium {
    min-height: 212px;
  }
}

@media (max-width: 1040px) {
  .content--meet-fox > .meet-fox-scene {
    min-height: 760px;
  }

  .content--meet-fox .meet-fox-scene__note {
    width: min(650px, 64vw);
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    top: -80px;
    right: 0;
    width: clamp(300px, 33vw, 390px);
  }

  .content--meet-fox .meet-fox-scene__podium {
    width: 78%;
    min-height: 192px;
    margin-top: -54px;
  }

  .fox-note-paper__sheet p {
    font-size: 1.02rem;
  }
}

@media (max-width: 840px) {
  .content--meet-fox > .meet-fox-scene {
    min-height: 0;
    display: grid;
    gap: var(--s24);
  }

  .content--meet-fox .meet-fox-scene__note {
    width: 100%;
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    position: relative;
    width: min(330px, 82vw);
    justify-self: center;
    top: auto;
    right: auto;
    margin-top: calc(var(--s28) * -1);
  }

  .content--meet-fox .meet-fox-scene__fox {
    width: 100%;
  }

  .content--meet-fox .meet-fox-scene__podium {
    width: 76%;
    min-height: 190px;
    margin-top: -52px;
  }

  .fox-note-paper__sheet {
    padding: 30px 26px;
  }

  .fox-note-paper__sheet p {
    font-size: 0.98rem;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: min(300px, 84vw);
  }

  .content--meet-fox .meet-fox-scene__podium {
    min-height: 170px;
    margin-top: -44px;
  }

  .fox-note-paper__sheet {
    padding: 24px 20px;
  }
}

/* TCF v1.3.0 internal: official podium illustration swap */
.content--meet-fox > .meet-fox-scene {
  min-height: 0;
}

.content--meet-fox .meet-fox-scene__note {
  width: min(720px, 57vw);
}

.content--meet-fox .meet-fox-scene__fox-wrap {
  position: absolute;
  top: -74px;
  right: clamp(-6px, 0.8vw, 14px);
  width: clamp(430px, 38vw, 560px);
  display: block;
  z-index: 2;
  pointer-events: none;
}

.content--meet-fox .meet-fox-scene__fox {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  height: auto;
  margin: 0;
  filter: drop-shadow(0 18px 24px rgba(15, 23, 42, 0.12));
}

.content--meet-fox .meet-fox-scene__podium {
  display: none;
}

@media (max-width: 1160px) {
  .content--meet-fox .meet-fox-scene__note {
    width: min(690px, 60vw);
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    top: -46px;
    width: clamp(390px, 37vw, 500px);
  }
}

@media (max-width: 1040px) {
  .content--meet-fox .meet-fox-scene__note {
    width: min(660px, 63vw);
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    top: -24px;
    width: clamp(360px, 36vw, 450px);
  }

  .fox-note-paper__sheet p {
    font-size: 1.02rem;
  }
}

@media (max-width: 840px) {
  .content--meet-fox > .meet-fox-scene {
    display: grid;
    gap: var(--s24);
  }

  .content--meet-fox .meet-fox-scene__note {
    width: 100%;
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    position: relative;
    top: auto;
    right: auto;
    width: min(390px, 88vw);
    justify-self: center;
    margin-top: calc(var(--s16) * -1);
  }

  .fox-note-paper__sheet {
    padding: 30px 26px;
  }

  .fox-note-paper__sheet p {
    font-size: 0.98rem;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: min(340px, 90vw);
    margin-top: 0;
  }

  .fox-note-paper__sheet {
    padding: 24px 20px;
  }
}


/* TCF v1.3.1 internal: restore official note image while preserving transcript accessibility */
.fox-note-artifact img { width: 100%; height: auto; display: block; }


/* TCF v1.3.3 internal: deploy-test note/podium asset tuning */
.content--meet-fox .fox-note-artifact { background: transparent; box-shadow: none; filter: none; transform: rotate(-0.25deg); }
.content--meet-fox .fox-note-artifact img { background: var(--parchment); }
.content--meet-fox .meet-fox-scene__fox-wrap { top: -72px; width: clamp(440px, 39vw, 580px); }
@media (max-width: 1160px) { .content--meet-fox .meet-fox-scene__fox-wrap { top: -44px; width: clamp(400px, 38vw, 520px); } }
@media (max-width: 1040px) { .content--meet-fox .meet-fox-scene__fox-wrap { top: -22px; width: clamp(370px, 37vw, 470px); } }
@media (max-width: 840px) { .content--meet-fox .meet-fox-scene__fox-wrap { width: min(420px, 90vw); margin-top: 0; } }


/* TCF v1.3.4 internal: final Meet The Fox scene harmonization */
.content--meet-fox > .meet-fox-scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
  width: 100%;
  max-width: none;
  min-height: 0;
  overflow: visible;
}

.content--meet-fox .meet-fox-scene__note {
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

.content--meet-fox .fox-note-artifact__label {
  margin: 0 0 var(--s16);
}

.content--meet-fox .fox-note-artifact {
  margin: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
  transform: rotate(-0.2deg);
}

.content--meet-fox .fox-note-artifact img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.content--meet-fox .meet-fox-scene__fox-wrap {
  position: relative;
  top: 0;
  right: 0;
  width: clamp(380px, 32vw, 500px);
  justify-self: end;
  align-self: start;
  margin-top: clamp(8px, 1.4vw, 20px);
  display: block;
  z-index: 1;
  pointer-events: none;
}

.content--meet-fox .meet-fox-scene__fox {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  filter: drop-shadow(0 18px 24px rgba(15, 23, 42, 0.10));
}

@media (max-width: 1180px) {
  .content--meet-fox > .meet-fox-scene {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 450px);
    gap: clamp(24px, 3.5vw, 40px);
  }

  .content--meet-fox .meet-fox-scene__note {
    max-width: 720px;
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: clamp(340px, 31vw, 450px);
  }
}

@media (max-width: 960px) {
  .content--meet-fox > .meet-fox-scene {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: 24px;
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: clamp(300px, 32vw, 390px);
    margin-top: 10px;
  }
}

@media (max-width: 840px) {
  .content--meet-fox > .meet-fox-scene {
    grid-template-columns: 1fr;
    gap: var(--s24);
  }

  .content--meet-fox .meet-fox-scene__note {
    max-width: none;
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: min(440px, 88vw);
    justify-self: center;
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: min(360px, 92vw);
  }
}


/* TCF v1.4 internal: Fox scene prominence tune */
.content--meet-fox > .meet-fox-scene {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(28px, 3.6vw, 60px);
}

.content--meet-fox .meet-fox-scene__note {
  max-width: 710px;
}

.content--meet-fox .fox-note-artifact {
  transform: rotate(-0.16deg);
}

.content--meet-fox .meet-fox-scene__fox-wrap {
  width: clamp(390px, 33vw, 520px);
  margin-top: clamp(10px, 1.5vw, 22px);
}

@media (max-width: 1180px) {
  .content--meet-fox > .meet-fox-scene {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 470px);
    gap: clamp(22px, 3vw, 36px);
  }

  .content--meet-fox .meet-fox-scene__note {
    max-width: 690px;
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: clamp(350px, 32vw, 470px);
  }
}

@media (max-width: 960px) {
  .content--meet-fox > .meet-fox-scene {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 380px);
    gap: 22px;
  }

  .content--meet-fox .meet-fox-scene__note {
    max-width: 650px;
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: clamp(300px, 32vw, 380px);
    margin-top: 12px;
  }
}


/* TCF v1.4 internal: stronger Fox stage-presence pass */
.content--meet-fox > .meet-fox-scene {
  grid-template-columns: minmax(0, 1fr) minmax(430px, 620px);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

.content--meet-fox .meet-fox-scene__note {
  max-width: 660px;
}

.content--meet-fox .fox-note-artifact {
  transform: rotate(-0.14deg);
}

.content--meet-fox .meet-fox-scene__fox-wrap {
  width: clamp(500px, 41vw, 640px);
  justify-self: end;
  align-self: start;
  margin-top: clamp(0px, 0.8vw, 12px);
}

@media (max-width: 1180px) {
  .content--meet-fox > .meet-fox-scene {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 540px);
    gap: clamp(18px, 2.4vw, 28px);
  }

  .content--meet-fox .meet-fox-scene__note {
    max-width: 640px;
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: clamp(430px, 38vw, 540px);
  }
}

@media (max-width: 1040px) {
  .content--meet-fox > .meet-fox-scene {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
    gap: 20px;
  }

  .content--meet-fox .meet-fox-scene__note {
    max-width: 620px;
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: clamp(360px, 36vw, 440px);
    margin-top: 8px;
  }
}

@media (max-width: 840px) {
  .content--meet-fox > .meet-fox-scene {
    grid-template-columns: 1fr;
    gap: var(--s24);
  }

  .content--meet-fox .meet-fox-scene__note {
    max-width: none;
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: min(440px, 88vw);
    justify-self: center;
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: min(360px, 92vw);
  }
}


/* TCF v1.4 internal: high-stage Fox placement pass */
.content--meet-fox > .meet-fox-scene {
  grid-template-columns: minmax(0, 1fr) minmax(520px, 820px);
  gap: clamp(18px, 2.4vw, 36px);
  align-items: start;
}

.content--meet-fox .meet-fox-scene__note {
  max-width: 660px;
}

.content--meet-fox .meet-fox-scene__fox-wrap {
  width: clamp(640px, 52vw, 820px);
  justify-self: end;
  align-self: start;
  margin-top: clamp(-190px, -12vw, -120px);
}

@media (max-width: 1280px) {
  .content--meet-fox > .meet-fox-scene {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 680px);
    gap: clamp(16px, 2vw, 28px);
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: clamp(540px, 48vw, 700px);
    margin-top: clamp(-150px, -10vw, -92px);
  }
}

@media (max-width: 1100px) {
  .content--meet-fox > .meet-fox-scene {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 20px;
  }

  .content--meet-fox .meet-fox-scene__note {
    max-width: 620px;
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: clamp(420px, 40vw, 540px);
    margin-top: clamp(-96px, -7vw, -54px);
  }
}

@media (max-width: 840px) {
  .content--meet-fox > .meet-fox-scene {
    grid-template-columns: 1fr;
    gap: var(--s24);
  }

  .content--meet-fox .meet-fox-scene__note {
    max-width: none;
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: min(440px, 88vw);
    justify-self: center;
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: min(360px, 92vw);
  }
}


/* TCF v1.4 internal: add floor clearance, preserve note readability, and show the Fox first on mobile */
.content--meet-fox > .meet-fox-scene {
  width: min(1460px, calc(100vw - 64px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
  grid-template-columns: minmax(560px, 700px) minmax(620px, 1fr);
  gap: clamp(30px, 3vw, 52px);
  align-items: start;
}

.content--meet-fox .meet-fox-scene__note {
  width: 100%;
  max-width: 700px;
}

.content--meet-fox .fox-note-artifact {
  transform: rotate(-0.14deg);
}

.content--meet-fox .meet-fox-scene__fox-wrap {
  width: clamp(650px, 50vw, 800px);
  justify-self: end;
  align-self: start;
  margin-top: clamp(-190px, -12vw, -120px);
  margin-left: 14px;
}

@media (max-width: 1320px) {
  .content--meet-fox > .meet-fox-scene {
    width: min(1280px, calc(100vw - 48px));
    grid-template-columns: minmax(500px, 620px) minmax(520px, 1fr);
    gap: clamp(24px, 2.4vw, 36px);
  }

  .content--meet-fox .meet-fox-scene__note {
    max-width: 620px;
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: clamp(550px, 46vw, 680px);
    margin-top: clamp(-150px, -10vw, -92px);
    margin-left: 8px;
  }
}

@media (max-width: 1120px) {
  .content--meet-fox > .meet-fox-scene {
    width: 100%;
    margin-left: 0;
    transform: none;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
    gap: 24px;
  }

  .content--meet-fox .meet-fox-scene__note {
    max-width: 620px;
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: clamp(420px, 40vw, 520px);
    margin-top: clamp(-96px, -7vw, -54px);
    margin-left: 0;
  }
}

@media (max-width: 840px) {
  .content--meet-fox > .meet-fox-scene {
    width: 100%;
    margin-left: 0;
    transform: none;
    grid-template-columns: 1fr;
    gap: var(--s24);
  }

  .content--meet-fox .meet-fox-scene__note {
    max-width: none;
    order: 2;
  }

  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: min(440px, 88vw);
    justify-self: center;
    margin-top: 0;
    margin-left: 0;
    order: 1;
  }
}

@media (max-width: 520px) {
  .content--meet-fox .meet-fox-scene__fox-wrap {
    width: min(360px, 92vw);
  }
}

/* TCF v1.5 internal: Den architecture, Fox Box, and Den source relationships */
.den-sources,
.fox-box,
.den-principles,
.official-record,
.source-trail {
  margin: var(--s32) 0;
}

.den-sources,
.fox-box {
  max-width: calc(var(--measure) + 10rem);
}

.den-sources {
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-lg);
  padding: var(--s24);
}

.den-sources__intro {
  color: var(--deep-slate);
  max-width: var(--measure);
}

.cards--compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 0;
}

.card--den-source {
  background: #fffaf1;
}

.fox-box {
  position: relative;
  background: linear-gradient(180deg, #fffaf1, var(--paper));
  border: 1px solid var(--warm-line);
  border-left: 6px solid var(--fox);
  border-radius: var(--radius-lg);
  padding: var(--s24);
  overflow: hidden;
}

.fox-box h2 {
  margin-top: 0;
}

.fox-box h3 {
  font-size: 1.08rem;
  margin-top: var(--s16);
}

.fox-box__summary {
  color: var(--deep-slate);
  font-size: 1.05rem;
}

.fox-box__icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 72px;
  height: 72px;
  opacity: .22;
  pointer-events: none;
}

.fox-box__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.den-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s24);
}

.den-principles article {
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius);
  padding: var(--s24);
}

.den-principles h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.cards--den-index .card--den {
  display: flex;
  flex-direction: column;
}

.card__use {
  margin-top: auto;
  padding-top: var(--s12);
  font-size: .92rem;
}

.content--den-entry h2:first-child {
  margin-top: var(--s24);
}

@media (max-width: 640px) {
  .fox-box__icon {
    position: static;
    width: 54px;
    height: 54px;
    margin-bottom: var(--s8);
    opacity: .34;
  }
}


/* TCF v1.5.1 internal: Den polish and source-library presentation */
.den-start-box {
  max-width: calc(var(--measure) + 14rem);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: var(--s24);
  align-items: stretch;
  background: linear-gradient(135deg, var(--paper), #fff7e9);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-lg);
  padding: var(--s24);
  margin: var(--s28) 0 var(--s32);
}

.den-start-box h2 {
  margin-top: 0;
}

.den-start-box__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s12);
}

.den-start-box__list li {
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(50, 80, 95, 0.12);
  border-radius: var(--radius-sm);
  padding: var(--s12);
}

.den-start-box__list strong,
.den-start-box__list span {
  display: block;
}

.den-start-box__list span {
  color: var(--muted);
  font-size: .92rem;
  margin-top: .2rem;
}

.den-record-shelf {
  max-width: 1180px;
  margin: var(--s40) 0 0;
}

.den-record-shelf__header {
  max-width: var(--measure);
  margin-bottom: var(--s20);
}

.den-record-shelf__header h2 {
  margin-top: 0;
}

.cards--den-index {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  align-items: stretch;
}

.cards--den-index .card--den {
  border-left: 4px solid var(--primary);
  background: linear-gradient(180deg, #fffdf7, var(--paper));
  min-height: 100%;
}

.card--den__topline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s8);
  margin-bottom: var(--s10);
}

.card--den__topline span {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: .16rem .5rem;
  border: 1px solid var(--cool-line);
  border-radius: 999px;
  background: rgba(246,241,231,.72);
  color: var(--deep-slate);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.den-card-meta {
  display: grid;
  gap: var(--s8);
  margin: var(--s16) 0 0;
  padding: var(--s14) 0 0;
  border-top: 1px solid var(--warm-line);
}

.den-card-meta div {
  display: grid;
  grid-template-columns: 6.7rem minmax(0, 1fr);
  gap: var(--s8);
}

.den-card-meta dt {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
}

.den-card-meta dd {
  margin: 0;
  color: var(--deep-slate);
  font-size: .92rem;
}

.tag-row--quiet .pill {
  background: rgba(255,255,255,.44);
}

@media (max-width: 760px) {
  .den-start-box {
    grid-template-columns: 1fr;
  }

  .den-card-meta div {
    grid-template-columns: 1fr;
    gap: .15rem;
  }
}

/* TCF v1.5.3 internal: Fox Lens cleanup and Den label normalization */
.fox-box--lens .eyebrow {
  color: var(--fox);
}

.card--den-source .eyebrow {
  color: var(--primary);
}

/* TCF v2.0 Phase 1: Den refinement, record-card hardening */
.card--den__lens {
  border-color: rgba(191, 100, 45, .38) !important;
  background: rgba(244, 177, 91, .16) !important;
  color: var(--fox) !important;
}

.card__action {
  margin-top: var(--s16);
}

.btn--small {
  min-height: auto;
  padding: .45rem .8rem;
  font-size: .9rem;
}

.card--den[data-has-fox-lens="true"] {
  border-left-color: var(--fox);
}


/* TCF v2.1 Phase 2: Den search and filter layer */
.den-search {
  margin-top: var(--s24);
}

.den-search__bar {
  max-width: calc(var(--measure) + 12rem);
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-lg);
  padding: var(--s20, 20px);
  margin-bottom: var(--s24);
}

.den-search__bar label,
.den-sort {
  display: grid;
  gap: .35rem;
  color: var(--deep-slate);
  font-size: .9rem;
  font-weight: 800;
}

.den-search__bar input,
.den-sort select {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-sm);
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  padding: .6rem .75rem;
}

.den-search__layout {
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
  gap: var(--s24);
  align-items: start;
}

.den-filter-panel {
  position: sticky;
  top: 96px;
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-lg);
  padding: var(--s16);
}

.den-filter-panel summary {
  cursor: pointer;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 1.25rem;
  font-weight: 800;
}

.den-filter-panel__body {
  display: grid;
  gap: var(--s16);
  padding-top: var(--s16);
}

.den-filter-panel fieldset {
  border: 0;
  border-top: 1px solid var(--warm-line);
  margin: 0;
  padding: var(--s12) 0 0;
}

.den-filter-panel legend {
  padding: 0 var(--s8) 0 0;
  color: var(--deep-slate);
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.den-filter-panel label {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  margin-top: .55rem;
  color: var(--deep-slate);
  font-size: .93rem;
  line-height: 1.35;
}

.den-filter-panel input[type="checkbox"] {
  margin-top: .2rem;
  accent-color: var(--primary);
}

.den-clear {
  justify-self: start;
}

.den-results {
  min-width: 0;
}

.den-results__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--s16);
  margin-bottom: var(--s16);
  padding: var(--s14, 14px) var(--s16);
  background: rgba(255,252,246,.64);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius);
}

.den-results__count {
  margin: 0;
  color: var(--deep-slate);
  font-weight: 800;
}

.den-sort {
  min-width: 190px;
}

.den-empty {
  background: #fff7e9;
  border: 1px dashed var(--fox);
  border-radius: var(--radius);
  color: var(--deep-slate);
  padding: var(--s24);
}

.card--den[hidden] {
  display: none !important;
}

@media (max-width: 860px) {
  .den-search__layout {
    grid-template-columns: 1fr;
  }

  .den-filter-panel {
    position: static;
  }
}

@media (max-width: 560px) {
  .den-results__toolbar {
    align-items: stretch;
  }

  .den-sort {
    width: 100%;
  }
}

/* TCF v2.2 Phase 2.1: Den filter usability refinement */
.den-filter-panel {
  overflow: hidden;
}

.den-filter-panel__body {
  min-height: 0;
}

.den-filter-group {
  border-top: 1px solid var(--warm-line);
  padding-top: var(--s10, 10px);
}

.den-filter-group:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.den-filter-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s12, 12px);
  cursor: pointer;
  color: var(--deep-slate);
  font-family: var(--body);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  list-style: none;
}

.den-filter-group > summary::-webkit-details-marker {
  display: none;
}

.den-filter-group > summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid var(--warm-line);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--fox);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1;
}

.den-filter-group[open] > summary::after {
  content: "–";
}

.den-filter-group fieldset {
  border: 0;
  margin: 0;
  padding: var(--s8, 8px) 0 0;
}

.den-filter-panel .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 861px) {
  .den-filter-panel {
    max-height: calc(100vh - 112px);
    display: flex;
    flex-direction: column;
  }

  .den-filter-panel__body {
    overflow-y: auto;
    padding-right: .35rem;
    max-height: calc(100vh - 178px);
    scrollbar-width: thin;
  }

  .den-filter-panel__body::-webkit-scrollbar {
    width: .55rem;
  }

  .den-filter-panel__body::-webkit-scrollbar-track {
    background: rgba(111, 79, 48, .08);
    border-radius: 999px;
  }

  .den-filter-panel__body::-webkit-scrollbar-thumb {
    background: rgba(111, 79, 48, .35);
    border-radius: 999px;
  }
}

@media (max-width: 860px) {
  .den-filter-panel__body {
    max-height: none;
    overflow: visible;
  }
}

/* TCF v2.3.1 Phase 3: Den record page maturity pass, layered on v2.2 */
.den-section {
  background: rgba(255, 252, 246, .72);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-lg);
  padding: var(--s24);
  margin: var(--s24) 0;
}

.den-section h2 {
  margin-top: .2rem;
}

.den-section--summary {
  border-left: 4px solid rgba(117, 78, 48, .35);
}

.den-section--importance {
  border-left: 4px solid rgba(191, 100, 45, .42);
  background: rgba(255, 247, 233, .72);
}

.den-section--content .content {
  margin-top: var(--s12);
}

.related-sources {
  margin-top: var(--s32);
}


/* TCF v2.3.2: Den final polish pass */
@media (max-width: 560px) {
  .den-search {
    margin-top: var(--s16);
  }

  .den-search__bar {
    padding: var(--s16);
    margin-bottom: var(--s16);
  }

  .den-search__bar input,
  .den-sort select {
    min-height: 2.45rem;
  }

  .den-search__layout {
    gap: var(--s16);
  }

  .den-results__toolbar {
    gap: var(--s10, 10px);
    padding: var(--s12, 12px);
  }
}


/* Related civic records styles */
.relationship-layer {
  margin: 2.5rem 0;
  padding: clamp(1.25rem, 2vw, 2rem);
  border: 1px solid rgba(80, 63, 44, 0.18);
  border-radius: 1.4rem;
  background: rgba(255, 252, 246, 0.78);
  box-shadow: 0 18px 48px rgba(58, 45, 30, 0.08);
}

.relationship-layer__header {
  max-width: 760px;
  margin-bottom: 1.25rem;
}

.relationship-layer__header h2 {
  margin-top: 0.2rem;
}

.relationship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.relationship-column {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(80, 63, 44, 0.12);
}

.relationship-column h3 {
  margin-top: 0;
  font-size: 1rem;
}

.relationship-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.relationship-list li {
  display: grid;
  gap: 0.2rem;
}

.relationship-list a {
  font-weight: 700;
}

.relationship-list span {
  color: var(--muted, #675d50);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* v3.0.3 Topic Hub Skeleton */
.breadcrumb-line {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 1rem 0 1.5rem;
}
.breadcrumb-line a { color: var(--primary); font-weight: 700; text-decoration: none; }
.breadcrumb-line a:hover { text-decoration: underline; }
.topic-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: var(--s24);
  align-items: stretch;
  padding: var(--s24);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(246,241,231,0.78), rgba(255,255,255,0.96));
  box-shadow: var(--shadow-soft);
  margin: var(--s24) 0;
}
.topic-hub-hero h2 { margin-top: 0; }
.topic-hub-hero__stats {
  display: grid;
  gap: 0.8rem;
  align-content: center;
}
.topic-hub-hero__stats div {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.82);
  padding: 0.9rem 1rem;
}
.topic-hub-hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
}
.topic-hub-hero__stats span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}
.topic-hub-start {
  border-left: 5px solid var(--primary);
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: var(--s20);
  margin: var(--s24) 0;
  box-shadow: var(--shadow-soft);
}
.topic-hub-start h2 { margin-top: 0; }
.topic-hub-start a { color: var(--ink); text-decoration-thickness: 2px; }
.topic-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s24);
  margin: var(--s28) 0;
}
.topic-hub-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.92);
  padding: var(--s20);
  box-shadow: var(--shadow-soft);
}
.topic-hub-section--wide { grid-column: 1 / -1; }
.topic-hub-section__header h2 { margin-top: 0; }
.topic-link-list--hub li { padding: 0.95rem 0; }
.empty-note {
  color: var(--muted);
  background: rgba(246,241,231,0.55);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
}
@media (max-width: 760px) {
  .topic-hub-hero,
  .topic-hub-grid { grid-template-columns: 1fr; }
  .topic-hub-section--wide { grid-column: auto; }
}

/* Civic explainer context styles */
.article-system-panel {
  margin: var(--s28) 0;
  padding: var(--s24);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(246,241,231,0.72), rgba(255,255,255,0.96));
  box-shadow: var(--shadow-soft);
}
.article-system-panel__intro h2 { margin-top: 0; }
.article-system-grid,
.article-system-links,
.reader-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s20);
  margin-top: var(--s20);
}
.article-system-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-system-card,
.reader-path-card,
.article-shelf,
.article-system-model,
.article-dropin-spec {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.9);
  padding: var(--s20);
  box-shadow: var(--shadow-soft);
}
.article-system-card--wide { grid-column: 1 / -1; }
.article-system-card__label {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}
.article-system-card strong,
.reader-path-card span {
  display: block;
  font-weight: 800;
}
.compact-list { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.relationship-list--compact li { padding: 0.55rem 0; }
.article-system-model,
.article-reader-paths,
.article-dropin-spec,
.article-grouping { margin: var(--s32) 0; }
.article-system-model {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: var(--s24);
  align-items: start;
}
.article-system-checks { margin: 0; padding-left: 1.2rem; }
.article-system-checks li { margin-bottom: 0.7rem; }
.article-shelf { margin: var(--s24) 0; }
.article-shelf__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s20);
  padding-bottom: 0.8rem;
}
.article-shelf__header h3 { margin: 0; }
.article-shelf__header span,
.article-card__connections,
.article-card__path { font-size: 0.92rem; }
/* TCF v3.1.1c: Civic Explainers archive layout fix */
.cards--article-shelf {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  align-items: stretch;
}
.article-shelf .cards--article-shelf {
  margin-bottom: 0;
}
.article-shelf .article-card {
  height: 100%;
}
.article-shelf__header a {
  color: var(--ink);
  text-decoration: none;
}
.article-shelf__header a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}
.reader-path-card h3 { margin-top: 0; }
.reader-path-card span { color: var(--primary); margin-top: 0.75rem; }
.article-content { margin-top: var(--s28); }
@media (max-width: 860px) {
  .article-system-grid,
  .article-system-links,
  .reader-path-grid,
  .article-system-model,
  .cards--compact { grid-template-columns: 1fr; }
  .article-system-card--wide { grid-column: auto; }
  .article-shelf__header { display: block; }
}


/* TCF v3.0.5.1: homepage balance + trail visibility */
.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s24);
  margin-bottom: var(--s16);
}
.lede--tight { margin-bottom: 0; }
.home-trails {
  margin: var(--s48) 0;
  padding: var(--s24);
  background: rgba(255,252,246,.62);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-lg);
}
.cards--trail-preview {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card--trail-home {
  border-left: 5px solid var(--fox);
}
.trail-card-meta, .trail-status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s8);
  color: var(--muted);
  font-size: .95rem;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(216, 104, 27, .35);
  background: var(--fox-tint);
  color: #8a3d0c;
  border-radius: 999px;
  padding: .16rem .58rem;
  font-size: .82rem;
  font-weight: 700;
}
.card--den__lens {
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--warm-line);
  border-radius: 999px;
  padding: .05rem .42rem;
  font-size: .78rem;
  font-weight: 600;
}
.card--den .den-card-meta {
  font-size: .92rem;
}
@media (max-width: 760px) {
  .section-heading-row { display: block; }
  .section-heading-row .btn { margin-top: var(--s12); }
  .home-trails { padding: var(--s16); }
}

/* Meet The Fox visual-regression guard: keep the note and Professor Fox image visible on the public Meet page. */
.content--meet-fox > .meet-fox-scene {
  display: grid !important;
  overflow: visible !important;
}

.content--meet-fox .meet-fox-scene__note,
.content--meet-fox .fox-note-artifact,
.content--meet-fox .meet-fox-scene__fox-wrap {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.content--meet-fox .fox-note-artifact img,
.content--meet-fox .meet-fox-scene__fox {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Den filter groups use section headings instead of nested disclosure summaries. */
.den-filter-group > h3 {
  margin: 0;
  color: var(--deep-slate);
  font-family: var(--body);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.den-filter-group > h3 + fieldset {
  padding-top: var(--s8, 8px);
}

/* TCF v3.1.1d: Civic Explainers archive box styling */
.article-system-model {
  max-width: calc(var(--measure) + 18rem);
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.96), var(--paper));
  border: 1px solid var(--warm-line);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--s24);
  box-shadow: var(--shadow-soft);
}

.article-system-model h2 {
  margin-top: 0;
}

.article-system-model .eyebrow {
  color: var(--fox);
}

.article-grouping {
  max-width: calc(var(--measure) + 20rem);
}

.article-shelf {
  background: var(--paper);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: var(--s24);
  overflow: hidden;
}

.article-shelf__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  background: linear-gradient(180deg, #fffaf1, var(--paper));
  border-bottom: 1px solid var(--warm-line);
  margin: calc(var(--s24) * -1) calc(var(--s24) * -1) var(--s20);
  padding: var(--s16) var(--s24);
}

.article-shelf__header h3 {
  margin: 0;
  font-size: 1.45rem;
}

.article-shelf__header span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: var(--highlight);
  border: 1px solid var(--cool-line);
  border-radius: 999px;
  color: var(--deep-slate);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
}

.article-shelf .cards--article-shelf {
  margin: 0;
}

.article-shelf .article-card {
  background: #fffdf8;
}

@media (max-width: 760px) {
  .article-system-model {
    display: block;
  }

  .article-system-checks {
    margin-top: var(--s20);
  }

  .article-shelf {
    padding: var(--s20);
  }

  .article-shelf__header {
    display: block;
    margin: calc(var(--s20) * -1) calc(var(--s20) * -1) var(--s20);
    padding: var(--s16) var(--s20);
  }

  .article-shelf__header span {
    margin-top: var(--s8);
  }
}


/* TCF v3.3 internal: homepage spectacles + Fox Valley anchor */
.hero--home-lens {
  align-items: center;
}

.hero__eyebrow {
  margin-bottom: var(--s12);
}

.hero__mark--spectacles {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(18px, -10px) rotate(-12deg);
  transform-origin: center;
}

.hero__mark--spectacles img {
  width: min(100%, 440px);
  max-height: 360px;
  object-fit: contain;
  opacity: 0.94;
}

@media (max-width: 840px) {
  .hero--home-lens {
    text-align: left;
  }

  .hero__mark--spectacles {
    margin: 0;
    justify-content: flex-start;
    transform: translate(6px, -6px) rotate(-10deg);
  }

  .hero__mark--spectacles img {
    width: min(78vw, 340px);
    max-height: 260px;
  }
}

@media (max-width: 520px) {
  .hero__mark--spectacles {
    display: none;
  }
}



/* TCF v3.4 internal: Header Identity Pass */
.site-header {
  background: transparent;
  color: inherit;
  border-bottom: 0;
}

.masthead {
  background:
    linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,0)),
    var(--paper);
  border-bottom: 1px solid var(--warm-line);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s24);
  padding-top: var(--s16);
  padding-bottom: var(--s16);
}

.masthead__wordmark {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.masthead__wordmark img {
  display: block;
  width: min(42vw, 360px);
  max-height: 86px;
  object-fit: contain;
}

.masthead__lockup {
  text-align: right;
  color: var(--deep-slate);
  max-width: 420px;
}

.masthead__lockup p {
  margin: 0;
}

.masthead__region {
  color: var(--fox);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.masthead__tagline {
  margin-top: .2rem !important;
  font-family: var(--heading);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.nav-bar {
  background: var(--primary);
  color: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.nav-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.nav-bar .nav__list {
  margin: 0;
  justify-content: center;
}

.nav-bar .nav a {
  color: var(--paper);
}

.nav-bar .nav a:hover {
  color: #fff7ed;
}

.site-footer {
  background: var(--paper);
  color: var(--deep-slate);
  border-top: 1px solid var(--warm-line);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s32);
  align-items: end;
}

.footer-brand {
  max-width: 560px;
}

.footer-brand__wordmark {
  display: inline-flex;
  text-decoration: none;
  margin-bottom: var(--s12);
}

.footer-brand__wordmark img {
  display: block;
  width: min(72vw, 360px);
  max-height: 96px;
  object-fit: contain;
}

.footer-brand p {
  margin: .15rem 0;
}

.footer-brand__tagline {
  font-family: var(--heading);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.12rem;
}

.footer-brand__region {
  color: var(--fox);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.footer-brand__note,
.footer-brand__copyright {
  color: var(--muted);
}

.footer-brand__copyright {
  margin-top: var(--s12) !important;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .75rem 1rem;
  max-width: 460px;
}

.footer-nav a {
  color: var(--deep-slate);
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--fox);
}

@media (max-width: 840px) {
  .masthead__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--s12);
  }

  .masthead__wordmark img {
    width: min(78vw, 340px);
    max-height: 78px;
  }

  .masthead__lockup {
    text-align: left;
  }

  .nav-bar__inner {
    justify-content: flex-start;
    padding-top: var(--s12);
    padding-bottom: var(--s12);
  }

  .nav-bar .nav__list {
    justify-content: flex-start;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .masthead__wordmark img {
    width: min(82vw, 300px);
    max-height: 70px;
  }

  .masthead__region,
  .footer-brand__region {
    font-size: .74rem;
    letter-spacing: .055em;
  }
}



/* TCF v3.5 internal: Civic Identity Cleanup */
.masthead__region {
  display: none;
}

.masthead__region-main {
  margin: 0;
  color: var(--fox);
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
}

.masthead__region-sub {
  margin: .22rem 0 0 !important;
  color: var(--deep-slate);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.masthead__tagline {
  margin-top: .45rem !important;
}

.hero--home {
  margin-top: 0;
}

.hero--home-lens {
  padding-top: var(--s40);
}

.hero--home-lens .hero__text {
  max-width: 800px;
}

.hero--home-lens h1 {
  max-width: 780px;
}

.hero__mark--spectacles {
  transform: translate(18px, -10px) rotate(14deg);
}

@media (max-width: 840px) {
  .hero--home-lens {
    padding-top: var(--s32);
  }

  .hero__mark--spectacles {
    transform: translate(6px, -6px) rotate(12deg);
  }
}

.footer-brand__region strong {
  letter-spacing: .08em;
}



/* TCF v3.6 internal: Sponsor-Ready Pass */
.support-page-header,
.sponsors-page-header {
  max-width: calc(var(--measure) + 10rem);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: var(--s24);
  margin: var(--s32) 0 var(--s48);
  align-items: stretch;
}

.support-panel {
  margin: 0;
}

.support-panel--trust {
  border-left: 6px solid var(--fox);
}

.support-steps .cards,
.sponsor-trust-split,
.sponsor-recognition,
.contact-support-note,
.support-independence {
  margin-top: var(--s32);
}

.support-independence,
.sponsor-recognition,
.contact-support-note {
  max-width: calc(var(--measure) + 10rem);
}

.sponsor-recognition {
  border-left: 6px solid var(--fox);
}

.footer-brand__tagline {
  color: var(--ink);
}

@media (max-width: 840px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}



/* TCF v3.6.1 internal: Sponsor-ready clarity patch */
[hidden],
.den-empty[hidden],
[data-den-grid][hidden] {
  display: none !important;
}

.hero__plain-promise {
  max-width: 720px;
  margin: 0 0 var(--s16);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.support-current-focus,
.sponsor-launch-state,
.contact-default-route {
  max-width: calc(var(--measure) + 10rem);
  margin-top: var(--s32);
}

.support-current-focus {
  border-left: 6px solid var(--fox);
}

.sponsor-launch-state {
  background: linear-gradient(180deg, #fffaf1, var(--paper));
}

.contact-default-route {
  margin-bottom: var(--s24);
}
