:root {
  --ink: #171615;
  --muted: #67615b;
  --paper: #faf8f3;
  --surface: #ffffff;
  --line: #dfd7cd;
  --green: #1f6b5a;
  --green-dark: #174a43;
  --copper: #b65e38;
  --gold: #c49a3a;
  --berry: #8f2f42;
  --blue: #347a9f;
  --shadow: 0 18px 42px rgba(23, 22, 21, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC",
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--green-dark);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gold) 72%, white);
  outline-offset: 3px;
}

button,
input {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 52px);
  background: var(--paper);
  border-bottom: 1px solid rgba(223, 215, 205, 0.78);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: url("/images/optimized/web-icon.webp") center / cover;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.36);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
}

.main-nav,
.account-strip,
.language-switcher,
.footer-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a,
.account-strip a,
.footer-links a {
  padding: 8px 10px;
  color: var(--muted);
  border-radius: 8px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.account-strip a:hover,
.footer-links a:hover {
  color: var(--ink);
  background: rgba(31, 107, 90, 0.1);
}

.account-strip {
  justify-content: flex-end;
  font-size: 0.84rem;
}

.language-switcher {
  justify-content: flex-end;
  padding: 3px;
  background: color-mix(in srgb, var(--green) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--green) 18%, var(--line));
  border-radius: 9px;
  font-size: 0.76rem;
  white-space: nowrap;
}

.language-switcher a {
  padding: 6px 8px;
  color: var(--muted);
  border-radius: 6px;
}

.language-switcher a[aria-current="true"] {
  color: #fff;
  background: var(--green);
}

html[lang="zh-CN"] body { line-height: 1.68; }
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3 { line-height: 1.18; }
html[lang="zh-CN"] .eyebrow { letter-spacing: 0.04em; text-transform: none; }

.hero {
  min-height: min(610px, calc(100svh - 70px));
  display: grid;
  align-items: center;
  padding: clamp(36px, 4vw, 48px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 18, 17, 0.9) 0%, rgba(10, 18, 17, 0.66) 38%, rgba(10, 18, 17, 0.16) 100%),
    var(--hero-image) center / cover;
}

.hero-inner {
  width: min(780px, 100%);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 5vw, 4.2rem);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c071;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 5.8rem);
  max-width: 900px;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3.15rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.hero-copy,
.page-hero p,
.article-hero p,
.country-hero p,
.split-band p,
.article-page .lede {
  color: color-mix(in srgb, currentColor 78%, transparent);
  font-size: 1.08rem;
  max-width: 760px;
}

.hero-search {
  display: flex;
  width: min(720px, 100%);
  gap: 8px;
  margin-top: 28px;
}

.hero-search.narrow {
  max-width: 660px;
}

.hero-search input {
  min-width: 0;
  flex: 1;
  height: 52px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid transparent;
  border-radius: 8px;
  outline: none;
}

.hero-search input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 154, 58, 0.22);
}

.button,
.icon-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease;
}

.button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.file-button input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-preview {
  margin-top: 16px;
}

.photo-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: center;
  width: min(560px, 100%);
  padding: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
}

.photo-card img {
  width: 84px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.photo-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.band,
.section,
.page-hero,
.article-hero,
.country-hero,
.coin-hero,
.breadcrumbs,
.article-page {
  padding-inline: clamp(18px, 5vw, 72px);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.stat-tile {
  min-height: 160px;
  padding: 24px;
  background: #fff;
}

.stat-tile strong {
  display: block;
  color: var(--green);
  font-size: 2rem;
}

.stat-tile span {
  font-weight: 800;
}

.stat-tile p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section {
  padding-block: clamp(54px, 8vw, 96px);
}

.two-column,
.split-band,
.country-hero,
.coin-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.text-link {
  color: var(--green);
  font-weight: 800;
}

.link-grid,
.country-grid,
.guide-grid,
.denomination-grid,
.hierarchy-grid,
.taxonomy-grid,
.detail-grid,
.deliverable-grid,
.series-grid,
.continent-board {
  display: grid;
  gap: 14px;
}

.link-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.country-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-grid,
.hierarchy-grid,
.detail-grid,
.deliverable-grid,
.series-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.taxonomy-grid,
.continent-board {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.explore-tile,
.country-card,
.guide-card,
.continent-card,
.taxonomy-column,
.detail-panel,
.deliverable-card,
.import-preview,
.endpoint-list article,
.catalog-row,
.series-card,
.info-box,
.hierarchy-grid article,
.empty-state,
.result-item {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.explore-tile span,
.country-card strong,
.guide-card strong,
.deliverable-card strong,
.series-card strong,
.result-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 850;
}

.explore-tile p,
.country-card p,
.guide-card p,
.deliverable-card p,
.series-card p,
.result-item p,
.hierarchy-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.country-card {
  min-height: 232px;
  display: flex;
  flex-direction: column;
}

.country-meta,
.mini-row,
.deliverable-card span,
.endpoint-list span,
.series-card span,
.result-item span {
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-row {
  margin-top: auto;
  padding-top: 16px;
}

.split-band {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(23, 22, 21, 0.92), rgba(31, 107, 90, 0.86)),
    url("/assets/world-coin-archive.png") center / cover;
}

.coin-list {
  display: grid;
  gap: 10px;
}

.coin-row {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
}

.coin-row a {
  font-weight: 850;
}

.coin-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.coin-thumb,
.large-coin {
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.36), transparent 28%),
    conic-gradient(from 45deg, var(--gold), var(--copper), #5d4135, var(--green), var(--gold));
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22), inset 0 0 32px rgba(0, 0, 0, 0.28);
}

.coin-thumb {
  width: 58px;
  aspect-ratio: 1;
  font-size: 0.74rem;
  font-weight: 900;
}

.coin-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.icon-button {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--green);
  background: #f4fbf8;
  border-color: rgba(31, 107, 90, 0.2);
  font-size: 0.78rem;
  font-weight: 850;
}

.icon-button.active {
  color: #fff;
  background: var(--green);
}

.page-hero {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(23, 22, 21, 0.94), rgba(143, 47, 66, 0.72)),
    url("/assets/world-coin-archive.png") center / cover;
}

.page-hero.compact {
  padding-block: clamp(58px, 8vw, 110px);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-block: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumbs a::after {
  content: "/";
  margin-left: 8px;
  color: #a49a90;
}

.country-hero,
.coin-hero {
  padding-block: clamp(42px, 7vw, 86px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.country-visual {
  min-height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 0;
  background: var(--line);
}

.fact-row div {
  padding: 16px;
  background: var(--paper);
}

dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  font-weight: 760;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  color: var(--copper);
  font-weight: 900;
}

.timeline p {
  grid-column: 2;
  margin: -4px 0 0;
  color: var(--muted);
}

.denomination-grid,
.era-grid,
.pill-list,
.entity-links,
.entity-cloud {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.denomination-grid a,
.era-grid a,
.pill-list a,
.entity-links a,
.entity-cloud span {
  padding: 9px 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pill-list.large a {
  font-size: 1rem;
}

.hierarchy-grid article p {
  font-size: 0.92rem;
}

.coin-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.large-coin {
  aspect-ratio: 1;
  width: min(100%, 300px);
  justify-self: center;
  padding: 20px;
}

.large-coin span,
.large-coin strong {
  display: block;
}

.large-coin span {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.large-coin strong {
  font-size: clamp(1rem, 2vw, 1.4rem);
}

.detail-panel h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.detail-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-panel dl div {
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.check-list,
.phase-list,
.article-body,
.endpoint-list,
.route-list {
  display: grid;
  gap: 12px;
}

.check-list p,
.phase-list p {
  margin: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.entity-links a {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.section-copy {
  color: var(--muted);
}

.deliverable-card {
  min-height: 184px;
}

.import-preview dl {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.import-preview dl div {
  display: grid;
  grid-template-columns: minmax(108px, 0.32fr) minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.price-grid span {
  min-height: 64px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-grid strong {
  color: var(--green);
}

.endpoint-list article {
  display: grid;
  grid-template-columns: 76px minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  align-items: start;
}

.endpoint-list strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere;
}

.endpoint-list p {
  margin: 0;
  color: var(--muted);
}

.route-list code {
  display: block;
  padding: 12px 14px;
  overflow-wrap: anywhere;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.taxonomy-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.taxonomy-column h2 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.taxonomy-column a {
  padding: 8px 0;
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.result-list {
  display: grid;
  gap: 10px;
}

.result-item p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.article-page {
  padding-block: clamp(54px, 8vw, 96px);
  background: #fff;
}

.article-hero {
  padding-block: clamp(34px, 5vw, 66px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.article-hero.compact {
  padding-block: clamp(34px, 5vw, 66px);
}

.article-hero h1 {
  font-size: clamp(2rem, 4.3vw, 4rem);
  max-width: 980px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-section {
  margin-bottom: clamp(34px, 5vw, 56px);
}

.article-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.1vw, 2.15rem);
}

.article-section p {
  max-width: 860px;
  color: var(--muted);
}

.catalog-list {
  display: grid;
  gap: 10px;
}

.catalog-list.compact {
  gap: 8px;
}

.catalog-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 18px;
  align-items: start;
}

.catalog-row a {
  color: var(--green-dark);
  font-size: 1.05rem;
  font-weight: 850;
}

.catalog-row p {
  margin: 6px 0 0;
  color: var(--muted);
}

.catalog-row dl,
.info-box dl {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.catalog-row dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-row dl div,
.info-box dl div {
  padding: 12px;
  background: var(--paper);
}

.series-card {
  min-height: 178px;
}

.info-box {
  position: sticky;
  top: 88px;
}

.info-box h2 {
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.related-series {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.related-series a {
  padding: 9px 11px;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.directory-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.directory-preview {
  min-height: 220px;
  align-self: start;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  transition:
    border-color 140ms ease,
    background 140ms ease;
}

.directory-preview:hover {
  background: #fdfcf9;
  border-color: color-mix(in srgb, var(--green) 42%, var(--line));
}

.directory-preview img,
.directory-preview-coin,
.coin-category-header img,
.coin-category-header-coin,
.directory-entry img,
.directory-entry-coin,
.result-item.has-image > img {
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
}

/* Let white-backed catalog art blend into the card instead of adding a second frame. */
:is(
  .directory-preview img,
  .directory-preview-coin,
  .coin-category-header img,
  .coin-category-header-coin,
  .directory-entry img,
  .directory-entry-coin,
  .directory-catalog-card img,
  .directory-catalog-card-coin,
  .result-item.has-image > img,
  .jefferson-type-thumbnail,
  .designer-work-card > img
) {
  box-sizing: border-box;
  padding: 0;
  background-color: #fff;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.directory-coin-pair {
  display: block;
  background-color: #fff;
  background-image: var(--directory-coin-pair);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.directory-preview img,
.directory-preview-coin {
  width: 64px;
  height: 64px;
}

.directory-preview-copy {
  min-width: 0;
}

.directory-preview-heading {
  display: inline-flex;
  gap: 7px;
  align-items: baseline;
  flex-wrap: wrap;
  color: var(--ink);
}

.directory-preview-heading strong {
  font-size: 1rem;
}

.directory-preview-heading span {
  color: var(--muted);
  font-size: 0.86rem;
}

.directory-preview-types {
  display: flex;
  gap: 4px 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 0.8rem;
  line-height: 1.35;
}

.directory-preview-type {
  display: inline-block;
}

.directory-catalog-hero {
  padding-top: clamp(30px, 3vw, 40px);
  padding-bottom: 18px;
}

.directory-catalog-hero .section-heading {
  margin-bottom: 18px;
  align-items: end;
}

.directory-catalog-hero h1 {
  max-width: 1280px;
  margin: 0;
  font-size: clamp(2.2rem, 3.25vw, 3.15rem);
}

.directory-catalog-hero .section-heading p:last-child {
  max-width: 720px;
  margin: 7px 0 0;
  color: var(--muted);
}

.directory-catalog-hero .text-link {
  white-space: nowrap;
}

.directory-catalog-hero .text-link span {
  margin-left: 4px;
  font-size: 1.25em;
}

.directory-catalog-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.directory-catalog-card {
  grid-column: span var(--catalog-card-span);
  min-height: 198px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px;
  color: var(--ink);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--line) 84%, #fff);
  border-left: 4px solid var(--catalog-accent);
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(48, 36, 25, 0.08);
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
}

.directory-catalog-card:hover {
  border-color: color-mix(in srgb, var(--catalog-accent) 52%, var(--line));
  border-left-color: var(--catalog-accent);
  box-shadow: 0 10px 24px rgba(48, 36, 25, 0.13);
  transform: translateY(-2px);
}

.directory-catalog-card img,
.directory-catalog-card-coin {
  width: 76px;
  height: 76px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
}

.directory-catalog-card-copy {
  min-width: 0;
}

.directory-catalog-card-heading {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
}

.directory-catalog-card-heading strong {
  font-size: 1rem;
}

.directory-catalog-card-heading span {
  color: var(--muted);
  font-size: 0.84rem;
}

.directory-catalog-card-types {
  display: grid;
  grid-template-columns: repeat(var(--catalog-type-columns), minmax(0, 1fr));
  gap: 5px 22px;
  margin-top: 11px;
  color: var(--green-dark);
  font-size: 0.82rem;
  line-height: 1.28;
}

.directory-catalog-card-type {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.directory-jump {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-block: 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.directory-jump a {
  padding: 7px 9px;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 760;
}

.directory-sections {
  display: grid;
  gap: clamp(48px, 7vw, 84px);
  padding-top: 48px;
}

.coin-category {
  scroll-margin-top: 96px;
  border-top: 4px solid var(--ink);
}

.coin-category-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.coin-category-header :is(h1, h2) {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 2.6vw, 2.65rem);
}

.coin-category-header p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.coin-category-header img,
.coin-category-header-coin {
  width: 110px;
  height: 110px;
}

.directory-entry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.directory-entry {
  min-height: 92px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
}

.directory-entry:nth-child(odd) {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.directory-entry:nth-child(even) {
  padding-left: 24px;
}

.directory-entry:hover strong {
  color: var(--green);
}

.directory-entry img,
.directory-entry-coin {
  width: 62px;
  height: 62px;
}

.directory-entry-copy strong,
.directory-entry-copy span {
  display: block;
}

.directory-entry-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
}

.directory-entry-arrow {
  color: var(--copper);
  font-size: 1.7rem;
}

.directory-category-page {
  padding-top: clamp(28px, 4vw, 46px);
  padding-bottom: clamp(36px, 5vw, 62px);
}

.coin-category.is-standalone {
  border-top-color: var(--copper);
}

.directory-category-navigation {
  align-items: center;
}

.directory-category-navigation > strong {
  margin-right: 8px;
  color: var(--ink);
  font-size: 0.9rem;
}

.directory-category-navigation > span {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.coin-reference-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px) clamp(18px, 5vw, 72px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.coin-reference-hero > div,
.coin-reference-hero > figure {
  min-width: 0;
}

.coin-reference-hero h1 {
  max-width: min(100%, 800px);
  font-size: clamp(2rem, 4.3vw, 4rem);
  text-wrap: balance;
}

.coin-reference-hero > div > p:not(.eyebrow) {
  max-width: min(100%, 760px);
  color: var(--muted);
  font-size: 1.06rem;
}

.coin-reference-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.coin-reference-pair img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}

.coin-reference-pair figcaption {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.result-item.has-image {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.result-item.has-image > img {
  width: 64px;
  height: 64px;
}

.result-copy,
.result-copy > span,
.result-copy strong {
  display: block;
}

.site-index-section + .site-index-section {
  border-top: 1px solid var(--line);
}

.index-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.index-denomination {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.index-title a {
  display: block;
  color: var(--green-dark);
  font-size: 1.08rem;
  font-weight: 850;
}

.index-title span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.index-links {
  display: flex;
  gap: 8px;
  align-content: start;
  flex-wrap: wrap;
}

.index-links a,
.index-column a {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--green) 30%, transparent);
  text-underline-offset: 3px;
}

.index-links a {
  padding: 4px 0;
}

.index-links a:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--muted);
  text-decoration: none;
}

.index-column {
  display: grid;
  align-content: start;
  gap: 10px;
  padding-top: 14px;
  border-top: 3px solid var(--copper);
}

.index-column h3 {
  margin-bottom: 4px;
}

.article-page h1,
.article-body {
  max-width: 820px;
}

.article-body h2 {
  margin-top: 24px;
  font-size: 1.35rem;
}

.article-body p {
  margin: 0;
  color: var(--muted);
}

.article-body p + p {
  margin-top: 14px;
}

.article-body a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trust-page {
  padding-block: clamp(40px, 7vw, 84px);
}

.trust-page > h1 {
  margin-bottom: 24px;
}

.policy-note {
  padding: 14px 16px;
  background: var(--cream);
  border-left: 3px solid var(--copper);
}

.empty-state {
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--ink);
}

.footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-legal {
  max-width: 390px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-languages {
  align-content: flex-start;
  min-width: 92px;
}

.footer-languages a[aria-current="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.footer .footer-links a {
  color: rgba(255, 255, 255, 0.76);
}

.footer .footer-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.static-fallback,
.noscript-message {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px;
}

.noscript-message {
  padding-block: 16px;
}

.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.jefferson-hero { background: #fdfcf9; }

.jefferson-hero .coin-reference-pair img,
.jefferson-detail-hero .coin-reference-pair img {
  filter: drop-shadow(0 10px 12px rgba(23, 22, 21, 0.18));
}

.series-summary-line {
  display: flex;
  gap: 10px 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.series-summary-line strong { margin-right: 4px; color: var(--ink); font-size: 1.05rem; }
.compact-heading h2 { max-width: 980px; font-size: clamp(1.65rem, 2.5vw, 2.45rem); }
.jefferson-types { padding-bottom: 34px; }

.jefferson-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 10px;
}

.jefferson-type-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  color: var(--ink);
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.jefferson-type-card:hover,
.jefferson-type-card.active {
  border-color: var(--green);
  box-shadow: 0 10px 24px rgba(23, 74, 67, 0.12);
  transform: translateY(-2px);
}

.jefferson-type-card.active { box-shadow: inset 0 3px 0 var(--green), 0 10px 24px rgba(23, 74, 67, 0.12); }
.jefferson-type-card strong,
.jefferson-type-card span,
.jefferson-type-card small { display: block; }
.jefferson-type-thumbnail {
  width: 100%;
  height: 86px;
  margin-top: 9px;
  object-fit: contain;
}

.jefferson-type-card strong { margin-top: 12px; font-size: 0.98rem; line-height: 1.25; }
.jefferson-type-card > span:not(.jefferson-type-index) { margin-top: 5px; color: var(--muted); font-size: 0.82rem; }
.jefferson-type-card small { margin-top: auto; padding-top: 12px; color: var(--green-dark); line-height: 1.3; }
.jefferson-type-card small + small { margin-top: 4px; padding-top: 0; color: var(--muted); }

.jefferson-type-index {
  color: var(--copper);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jefferson-catalog {
  padding-top: 54px;
  background: #f3f0ea;
  border-block: 1px solid var(--line);
}

.result-count { color: var(--muted); font-size: 0.88rem; white-space: nowrap; }

.jefferson-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(120px, 0.7fr) minmax(110px, 0.7fr) minmax(190px, 1fr) auto 42px;
  gap: 10px;
  align-items: end;
  margin-bottom: 18px;
}

.jefferson-filters.is-commemorative {
  grid-template-columns: minmax(180px, 1.4fr) minmax(120px, 0.7fr) minmax(110px, 0.7fr) minmax(190px, 1fr) 42px;
}

.jefferson-filters label:not(.filter-toggle) { display: grid; gap: 5px; }

.jefferson-filters label > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.jefferson-filters select,
.jefferson-filters input[type="number"] {
  width: 100%;
  height: 42px;
  padding: 0 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 0.86rem;
}

.filter-toggle {
  height: 42px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  white-space: nowrap;
}

.filter-toggle input { width: 16px; height: 16px; accent-color: var(--green); }
.filter-toggle span { color: var(--ink) !important; font-size: 0.8rem !important; text-transform: none !important; }

.filter-reset {
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.jefferson-table-wrap {
  max-height: min(72vh, 780px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(48, 36, 25, 0.08);
}

.jefferson-table {
  width: max(1264px, 100%);
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.8rem;
}

.jefferson-table.is-reference-only {
  width: 100%;
  min-width: 720px;
}

.jefferson-table.is-reference-only th:nth-child(3) { width: 38%; }
.jefferson-table.is-reference-only th:nth-child(4) { width: 28%; }
.jefferson-table.is-reference-only th:nth-child(5) { width: 170px; }

.jefferson-table.is-commemorative {
  width: max(1540px, 100%);
}

.jefferson-table.is-commemorative th:nth-child(1) { width: 100px; }
.jefferson-table.is-commemorative th:nth-child(2) { width: 78px; }
.jefferson-table.is-commemorative th:nth-child(3) { width: 230px; }
.jefferson-table.is-commemorative th:nth-child(4) { width: 64px; }
.jefferson-table.is-commemorative th:nth-child(5) { width: 124px; }
.jefferson-table.is-commemorative th:nth-child(6) { width: 180px; }
.jefferson-table.is-commemorative th:nth-child(7) { width: 360px; }
.jefferson-table.is-commemorative th:nth-child(8),
.jefferson-table.is-commemorative th:nth-child(9) { width: 104px; }

.jefferson-table.is-commemorative td:nth-child(3),
.jefferson-table.is-commemorative td:nth-child(6),
.jefferson-table.is-commemorative td:nth-child(7) {
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

.jefferson-table.is-commemorative tbody tr { height: 98px; }
.commemorative-spec-cell { color: var(--muted); font-size: 0.73rem; }

.coin-side-crop {
  position: relative;
  width: 78px;
  aspect-ratio: 1;
  display: inline-block;
  overflow: hidden;
  vertical-align: middle;
  background: #f7f6f2;
  border: 1px solid #e5e0d8;
  border-radius: 50%;
}

.coin-side-crop img {
  position: absolute;
  top: 0;
  width: 200%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.coin-side-crop.is-obverse img { left: 0; }
.coin-side-crop.is-reverse img { left: -100%; }
.coin-side-crop:hover { border-color: var(--green); }
.coin-side-missing { color: var(--muted); font-size: 0.72rem; }

.jefferson-table th,
.jefferson-table td {
  padding: 11px 12px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid #ece7df;
  white-space: nowrap;
}

.jefferson-table th:nth-child(1) { width: 68px; }
.jefferson-table th:nth-child(2) { width: 58px; }
.jefferson-table th:nth-child(3) { width: 165px; }
.jefferson-table th:nth-child(4) { width: 130px; }
.jefferson-table th:nth-child(5) { width: 122px; }
.jefferson-table th:nth-child(n + 6) { width: 80px; }

.jefferson-table td:nth-child(3),
.jefferson-table td:nth-child(4) {
  line-height: 1.28;
  overflow-wrap: anywhere;
  white-space: normal;
}

.jefferson-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  color: #fff;
  background: var(--green-dark);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.jefferson-table th:first-child,
.jefferson-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 68px;
  min-width: 68px;
}

.jefferson-table th:nth-child(2),
.jefferson-table td:nth-child(2) {
  position: sticky;
  left: 68px;
  z-index: 2;
  width: 54px;
  min-width: 54px;
  box-shadow: 7px 0 10px rgba(23, 22, 21, 0.05);
}

.jefferson-table thead th:first-child,
.jefferson-table thead th:nth-child(2) { z-index: 5; background: var(--green-dark); }
.jefferson-table.is-commemorative th:first-child,
.jefferson-table.is-commemorative td:first-child {
  width: 100px;
  min-width: 100px;
}

.jefferson-table.is-commemorative th:nth-child(2),
.jefferson-table.is-commemorative td:nth-child(2) {
  left: 100px;
  width: 78px;
  min-width: 78px;
}
.jefferson-table tbody tr:hover td,
.jefferson-table tbody tr:hover th { background: #f4f8f6; }
.jefferson-table tbody tr[data-jefferson-row-href] { cursor: pointer; }
.jefferson-table tbody tr[data-jefferson-row-href]:focus-visible {
  outline: 3px solid rgba(19, 101, 88, 0.34);
  outline-offset: -3px;
}
.jefferson-table tbody tr.is-variety td,
.jefferson-table tbody tr.is-variety th { background: #fffaf1; }
.jefferson-table .numeric { text-align: center; font-variant-numeric: tabular-nums; }
.jefferson-issue-name { color: var(--green-dark); font-weight: 780; }
.nowrap-range { white-space: nowrap; }

.record-label {
  margin-left: 6px;
  padding: 2px 5px;
  color: #7c4d13;
  background: #f6e7c9;
  border-radius: 4px;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
}

.jefferson-mobile-list { display: none; }

.source-disclaimer {
  margin-top: 18px;
  padding: 18px;
  background: #fff;
  border-left: 4px solid var(--gold);
}

.source-disclaimer p { margin: 0; color: var(--muted); font-size: 0.86rem; }

.catalog-note {
  margin-top: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 6px;
}

.catalog-note p { margin: 0; }
.mint-key { color: var(--muted); font-size: 0.82rem; }
.mint-key strong { color: var(--ink); }

.jefferson-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.jefferson-spec-grid article {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  border-radius: 8px;
}

.jefferson-spec-grid article > p:first-of-type { margin: 6px 0 16px; color: var(--muted); font-size: 0.84rem; }
.jefferson-spec-grid dl,
.value-reference-grid { margin: 0; }

.jefferson-spec-grid dl div {
  display: grid;
  grid-template-columns: minmax(96px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #ece7df;
}

.jefferson-spec-grid dd { font-size: 0.84rem; font-weight: 650; }
.normalization-note { margin: 14px 0 0; color: var(--muted); font-size: 0.78rem; }
.jefferson-detail-layout { align-items: start; }

.commemorative-detail-image {
  width: 100%;
  max-width: 420px;
  justify-self: end;
  margin: 0;
}

.commemorative-detail-image a {
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.commemorative-detail-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2 / 1;
  object-fit: contain;
}

.external-reference-card {
  padding: 20px;
  background: #f8f4ea;
  border: 1px solid color-mix(in srgb, var(--copper) 36%, var(--line));
  border-radius: 8px;
}

.external-reference-card .button { margin-top: 8px; }

.series-external-reference { margin-top: 18px; }
.series-external-reference h3 { margin: 0; font-family: var(--serif); }
.series-external-reference p { margin: 8px 0 0; color: var(--muted); }

.commemorative-detail-image figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
}

.value-reference-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(72px, 1fr));
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.value-reference-grid > div {
  min-width: 78px;
  padding: 14px 10px;
  text-align: center;
  background: #fff;
  border-right: 1px solid var(--line);
}

.value-reference-grid > div:last-child { border-right: 0; }
.value-reference-grid dd { color: var(--green-dark); font-variant-numeric: tabular-nums; }
.value-note { margin-top: 12px !important; font-size: 0.82rem; }
.variety-list { display: grid; border-top: 1px solid var(--line); }

.variety-list a {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.variety-list a:hover strong { color: var(--green); }
.variety-list strong,
.variety-list small { display: block; }
.variety-list small { margin-top: 3px; color: var(--muted); text-transform: capitalize; }
.jefferson-variety-hero { color: #fff; background: var(--green-dark); }
.jefferson-variety-hero p { color: rgba(255, 255, 255, 0.78); }

.variety-image-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px);
  gap: 14px;
}

.variety-image-grid.has-diagnostic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.variety-image-grid figure { margin: 0; }

.variety-image-grid a {
  display: block;
  overflow: hidden;
  background: #f6f4ef;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.variety-image-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.variety-image-grid figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Knowledge Center */
.knowledge-hero {
  position: relative;
  isolation: isolate;
  min-height: 540px;
  display: grid;
  align-items: end;
  padding: 72px clamp(18px, 5vw, 72px);
  overflow: hidden;
  color: #fff;
  background: var(--knowledge-hero-image) center 46% / cover no-repeat;
}

.knowledge-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(10, 15, 14, 0.69);
}

.knowledge-hero > div {
  width: min(780px, 100%);
}

.knowledge-hero .eyebrow { color: #efc77c; }
.knowledge-hero h1 { max-width: none; font-size: 4.8rem; }
.knowledge-hero > div > p:not(.eyebrow) { max-width: 680px; font-size: 1.18rem; }

.knowledge-search {
  width: min(700px, 100%);
  margin-top: 28px;
}

.knowledge-search label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.82rem;
  font-weight: 800;
}

.knowledge-search > span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.knowledge-search input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid transparent;
  border-radius: 8px;
}

.knowledge-feature-band { background: #fff; }
.knowledge-feature-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.knowledge-feature-layout > div:first-child { max-width: 580px; }
.knowledge-feature-layout p { color: var(--muted); }
.knowledge-feature-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.knowledge-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.knowledge-topic {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.knowledge-topic:nth-child(3n) { border-right: 0; }
.knowledge-topic strong { font-size: 1.08rem; }
.knowledge-topic p { color: var(--muted); }
.knowledge-topic > span { margin-top: auto; color: var(--green); font-size: 0.8rem; font-weight: 800; }
.knowledge-topic:not(.is-upcoming):hover strong { color: var(--green); }
.knowledge-topic.is-upcoming { background: rgba(255, 255, 255, 0.42); }
.knowledge-topic.is-upcoming > span { color: var(--muted); }
.knowledge-recent { background: #f2eee7; }
.knowledge-catalog-links { display: grid; grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr); gap: 40px; align-items: start; }

.knowledge-directory-hero h1 { font-size: 4.2rem; }
.learning-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.learning-guide-card {
  min-height: 210px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.learning-guide-card.is-featured { grid-column: 1 / -1; min-height: 270px; }
.learning-guide-cover {
  display: grid;
  place-items: center;
  padding: 14px;
  color: #fff;
  background: var(--green-dark);
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.learning-guide-card > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.learning-guide-card strong { display: block; margin-top: 8px; font-size: 1.35rem; line-height: 1.15; }
.learning-guide-card p { color: var(--muted); }
.learning-guide-card.is-upcoming { opacity: 0.7; }

.designer-collection-hero,
.designer-profile-hero {
  display: grid;
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px);
  background: #fff;
  border-block: 1px solid var(--line);
}

.designer-collection-hero {
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.designer-collection-hero > div:first-child { min-width: 0; }
.designer-collection-hero h1 { max-width: 1050px; font-size: 4rem; }
.designer-collection-hero > div:first-child > p:not(.eyebrow) { max-width: 850px; color: var(--muted); font-size: 1.08rem; }
.designer-hero-medallion {
  width: 240px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  gap: 8px;
  color: #f3d490;
  background: #24211d;
  border: 8px double var(--gold);
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(23, 22, 21, 0.2);
  text-align: center;
}

.designer-hero-medallion strong { font-family: Georgia, serif; font-size: 1.4rem; line-height: 1; }
.designer-hero-medallion span { font-size: 0.72rem; text-transform: uppercase; }

.designer-directory { padding-top: 58px; }
.designer-filters {
  display: grid;
  grid-template-columns: minmax(200px, 1.5fr) repeat(5, minmax(126px, 0.75fr)) 42px auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 24px;
  padding: 16px;
  background: #efebe4;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.designer-filters label { min-width: 0; }
.designer-filters label > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; }
.designer-filters input,
.designer-filters select { width: 100%; min-width: 0; height: 42px; padding: 0 10px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.designer-filter-apply { height: 42px; white-space: nowrap; }

.designer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.designer-card {
  min-width: 0;
  min-height: 300px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.designer-card:hover { border-color: color-mix(in srgb, var(--green) 55%, var(--line)); box-shadow: 0 10px 24px rgba(23, 22, 21, 0.08); }
.designer-portrait-placeholder,
.designer-profile-portrait,
.catalog-designer-placeholder {
  display: grid;
  align-content: start;
  gap: 7px;
  text-align: center;
}

.portrait-frame {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #f4d28d;
  background: #2b2925;
  border: 3px double var(--gold);
  border-radius: 50%;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--portrait-position, center 18%);
}

.portrait-initials { display: grid; place-items: center; width: 100%; height: 100%; }
.portrait-caption small,
.portrait-caption strong { display: block; }
.portrait-caption small { color: var(--muted); font-size: 0.56rem; font-weight: 800; text-transform: uppercase; }
.portrait-caption strong { margin-top: 1px; color: var(--ink); font-size: 0.66rem; font-variant-numeric: tabular-nums; }
.designer-portrait-placeholder { width: 92px; }
.designer-portrait-placeholder .portrait-initials strong { font-family: Georgia, serif; font-size: 1.7rem; }
.designer-card-copy { min-width: 0; display: flex; flex-direction: column; min-height: 264px; }
.designer-card-kicker { color: var(--copper); font-size: 0.68rem; font-weight: 850; text-transform: uppercase; }
.designer-card-copy > strong { margin-top: 5px; font-size: 1.15rem; line-height: 1.1; }
.designer-card-years { margin-top: 4px; color: var(--muted); font-size: 0.78rem; }
.designer-card-copy p { margin: 12px 0; color: var(--muted); font-size: 0.86rem; }
.designer-work-list { display: flex; gap: 5px; flex-wrap: wrap; }
.designer-work-list > span { padding: 3px 6px; color: var(--green-dark); background: #eef5f2; border-radius: 4px; font-size: 0.68rem; }
.designer-profile-link { margin-top: auto; padding-top: 12px; color: var(--green); font-size: 0.78rem; font-weight: 850; }

.chief-timeline-section { overflow: hidden; background: #fff; }
.chief-timeline {
  display: grid;
  grid-auto-columns: minmax(180px, 1fr);
  grid-auto-flow: column;
  gap: 0;
  margin: 0;
  padding: 22px 0 0;
  overflow-x: auto;
  list-style: none;
}

.chief-timeline li { position: relative; min-width: 180px; padding: 20px 12px 12px; border-top: 3px solid var(--copper); }
.chief-timeline li::before { position: absolute; top: -8px; left: 14px; width: 13px; aspect-ratio: 1; content: ""; background: var(--paper); border: 3px solid var(--copper); border-radius: 50%; }
.chief-timeline a span,
.chief-timeline a strong,
.chief-timeline a small { display: block; }
.chief-timeline a span { color: var(--copper); font-size: 0.72rem; font-weight: 850; }
.chief-timeline a strong { margin-top: 3px; font-size: 0.9rem; }
.chief-timeline a small { margin-top: 4px; color: var(--muted); }

.role-glossary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.role-glossary-grid > div { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.role-glossary-grid > div:nth-child(3n) { border-right: 0; }
.role-glossary-grid dt { font-weight: 850; }
.role-glossary-grid dd { margin: 6px 0 0; color: var(--muted); }

.designer-profile-hero {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.designer-profile-portrait-block { width: 220px; }
.designer-profile-portrait { width: 220px; }
.designer-profile-portrait .portrait-initials strong { font-family: Georgia, serif; font-size: 4rem; }
.designer-profile-portrait .portrait-caption small { font-size: 0.62rem; }
.designer-profile-portrait .portrait-caption strong { font-size: 0.78rem; }
.portrait-attribution { margin: 10px 0 0; color: var(--muted); font-size: 0.66rem; line-height: 1.45; text-align: center; }
.portrait-attribution a { display: block; margin-top: 3px; color: var(--green); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.designer-profile-hero h1 { max-width: none; font-size: 4.5rem; }
.designer-significance { max-width: 850px; color: var(--muted); font-size: 1.12rem; }
.designer-hero-facts { display: flex; gap: 12px 28px; flex-wrap: wrap; margin: 24px 0 0; }
.designer-hero-facts div { max-width: 280px; }
.designer-hero-facts dt { color: var(--muted); font-size: 0.68rem; font-weight: 850; text-transform: uppercase; }
.designer-hero-facts dd { margin: 3px 0 0; font-size: 0.86rem; font-weight: 700; }

.designer-article-layout { display: grid; grid-template-columns: minmax(0, 820px) minmax(240px, 320px); gap: clamp(32px, 6vw, 86px); justify-content: center; align-items: start; }
.designer-article { min-width: 0; }
.designer-article > section { padding: 0 0 42px; scroll-margin-top: 90px; }
.designer-article > section + section { padding-top: 42px; border-top: 1px solid var(--line); }
.designer-article h2 { font-size: 2.05rem; }
.designer-article p { color: #3e3a36; font-family: Georgia, serif; font-size: 1.05rem; line-height: 1.75; overflow-wrap: normal; }
.citation-links { white-space: nowrap; }
.citation-links a { color: var(--green); font-family: Inter, sans-serif; font-size: 0.72rem; font-weight: 850; }

.designer-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.designer-work-card { min-width: 0; display: grid; padding: 18px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--copper); border-radius: 8px; }
.designer-work-card.has-coin-image { grid-template-columns: 68px minmax(0, 1fr); gap: 14px; }
.designer-work-card > img { width: 68px; height: 68px; object-fit: contain; border-radius: 50%; }
.designer-work-card-copy { min-width: 0; display: flex; flex-direction: column; }
.designer-work-card strong { margin-top: 5px; font-size: 1rem; }
.designer-work-card-copy > span:not(.designer-work-credit) { color: var(--muted); font-size: 0.78rem; }
.designer-work-card p { margin: 12px 0; color: var(--muted); font-family: inherit; font-size: 0.82rem; line-height: 1.5; }
.designer-work-card small { margin-top: auto; color: var(--green); font-weight: 800; }
.designer-work-credit { color: var(--copper); font-size: 0.65rem; font-weight: 850; text-transform: uppercase; }

.profile-timeline { margin: 24px 0 0; padding: 0; list-style: none; }
.profile-timeline li { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.profile-timeline li span { color: var(--copper); font-weight: 850; font-variant-numeric: tabular-nums; }
.profile-timeline li p { margin: 0; font-family: inherit; font-size: 0.9rem; line-height: 1.5; }
.profile-bibliography { margin: 22px 0 0; padding-left: 22px; }
.profile-bibliography li { padding: 8px 0 12px 6px; }
.profile-bibliography a { color: var(--green-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.profile-bibliography span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.76rem; }

.designer-profile-aside { display: grid; gap: 14px; position: sticky; top: 86px; }
.designer-profile-aside section { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.designer-profile-aside h2 { font-size: 1rem; }
.designer-profile-aside dl { margin: 12px 0 0; }
.designer-profile-aside dl div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.designer-profile-aside dt { color: var(--muted); font-size: 0.68rem; font-weight: 850; text-transform: uppercase; }
.designer-profile-aside dd { margin: 2px 0 0; font-size: 0.82rem; }
.designer-profile-aside p { margin-bottom: 0; color: var(--muted); font-size: 0.8rem; }
.related-designer-list { display: grid; margin-top: 10px; }
.related-designer-list a { padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 800; }
.related-designer-list a span { display: block; color: var(--muted); font-size: 0.7rem; font-weight: 500; }

.catalog-designer-section { padding: 24px; background: #f2eee7; border-radius: 8px; }
.catalog-designer-credits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.catalog-designer-credits > a { min-width: 0; display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.catalog-designer-placeholder { width: 50px; }
.catalog-designer-placeholder .portrait-initials strong { font-family: Georgia, serif; font-size: 0.86rem; }
.catalog-designer-placeholder .portrait-caption { display: none; }
.catalog-designer-credits strong,
.catalog-designer-credits small { display: block; }
.catalog-designer-credits small { margin-top: 2px; color: var(--muted); font-size: 0.68rem; text-transform: capitalize; }

/* United States coin mints learning guide */
.mint-collection-hero {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) max(24px, calc((100vw - 1440px) / 2));
  color: #fff;
  background: #151c1b;
}
.mint-collection-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 20, 18, 0.94) 0%, rgba(12, 20, 18, 0.78) 48%, rgba(12, 20, 18, 0.22) 100%), var(--mint-hero-image) center 42% / cover no-repeat;
}
.mint-collection-hero > div { position: relative; z-index: 1; max-width: 910px; }
.mint-collection-hero h1 { max-width: 820px; margin: 8px 0 16px; color: #fff; font-size: clamp(3rem, 6vw, 5.8rem); line-height: 0.98; letter-spacing: 0; }
.mint-collection-hero p { max-width: 760px; color: rgba(255,255,255,0.82); font-size: 1.06rem; line-height: 1.7; }
.mint-collection-hero .series-summary-line { color: #fff; border-color: rgba(255,255,255,0.24); }
.mint-collection-hero .series-summary-line strong { color: #fff; }

.mint-overview-band { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: 64px; align-items: center; }
.mint-overview-band h2 { max-width: 760px; }
.mint-overview-band p { max-width: 820px; color: var(--muted); line-height: 1.7; }
.mint-status-key { display: grid; gap: 12px; }
.mint-status-key span { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--green-dark); font-size: 0.84rem; line-height: 1.5; }
.mint-status-key i { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--copper); }
.mint-status-key i.is-historic { background: #77838c; }

.mint-map-section { background: #e9eee9; }
.mint-map {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid #ccd6cd;
  border-radius: 8px;
  background: linear-gradient(180deg, #d9e9ed 0 66%, #c6ddd8 66% 100%);
}
.mint-map-land {
  position: absolute;
  inset: 11% 8% 12%;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.7fr;
  align-items: end;
  padding: 50px;
  color: rgba(46, 72, 63, 0.35);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  background: #f2eee3;
  border: 1px solid #c9c0ad;
  border-radius: 44% 45% 40% 32% / 48% 30% 42% 34%;
  box-shadow: inset 0 -30px 60px rgba(93, 115, 94, 0.08);
  transform: rotate(-1deg);
}
.mint-map-pin { position: absolute; left: var(--map-x); top: var(--map-y); z-index: 2; display: grid; justify-items: center; transform: translate(-50%, -50%); color: var(--green-dark); }
.mint-map-pin b { display: grid; place-items: center; width: 42px; height: 42px; border: 3px solid #fff; border-radius: 50%; color: #fff; background: var(--copper); box-shadow: 0 7px 18px rgba(26, 41, 36, 0.3); font-size: 0.72rem; }
.mint-map-pin.is-historic b { background: #687780; }
.mint-map-pin span { max-width: 100px; margin-top: 4px; padding: 3px 6px; background: rgba(255,255,255,0.9); border-radius: 3px; font-size: 0.68rem; font-weight: 850; text-align: center; }
.mint-map-pin:hover b, .mint-map-pin:focus-visible b { transform: translateY(-3px); }

.mint-education-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 0; }
.mint-education-grid article { position: relative; min-height: 290px; padding: 46px; border: 1px solid var(--line); }
.mint-education-grid article:nth-child(even) { border-left: 0; }
.mint-education-grid article:nth-child(n+3) { border-top: 0; }
.mint-education-grid article > span { color: var(--copper); font-size: 0.72rem; font-weight: 900; }
.mint-education-grid h2 { max-width: 560px; margin-top: 30px; font-size: 1.75rem; }
.mint-education-grid p { max-width: 700px; color: var(--muted); font-family: inherit; font-size: 0.94rem; line-height: 1.7; }

.mint-filters { display: grid; grid-template-columns: repeat(7, minmax(110px, 1fr)) 44px; gap: 10px; align-items: end; margin: 22px 0 28px; padding: 16px; background: #f2eee7; border: 1px solid var(--line); border-radius: 8px; }
.mint-filters label { min-width: 0; }
.mint-filters label > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 0.64rem; font-weight: 850; text-transform: uppercase; }
.mint-filters select { width: 100%; min-height: 42px; padding: 0 9px; border: 1px solid #cfc8bc; border-radius: 5px; background: #fff; color: var(--ink); }
.mint-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mint-card { min-width: 0; display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 330px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; transition: transform 160ms ease, box-shadow 160ms ease; }
.mint-card:hover, .mint-card:focus-visible { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(54, 46, 34, 0.12); }
.mint-card-media { position: relative; min-height: 100%; overflow: hidden; background: #d8d2c7; }
.mint-card-media img { width: 100%; height: 100%; object-fit: cover; }
.mint-status { position: absolute; left: 12px; top: 12px; padding: 5px 8px; border-radius: 4px; color: #fff; background: var(--copper); font-size: 0.63rem; font-weight: 900; text-transform: uppercase; }
.mint-status.is-historic { background: #5f6e77; }
.mint-card-copy { min-width: 0; display: flex; flex-direction: column; padding: 24px; }
.mint-card-title { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 14px; align-items: start; margin-top: 6px; }
.mint-card-title strong { font-size: 1.35rem; }
.mint-card-title b { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--copper); border-radius: 50%; color: var(--copper); font-size: 0.72rem; }
.mint-card-years { margin-top: 2px; color: var(--muted); font-size: 0.78rem; }
.mint-card-copy p { margin: 16px 0; color: var(--muted); font-family: inherit; font-size: 0.84rem; line-height: 1.6; }
.mint-coin-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mint-coin-tags span { padding: 4px 6px; background: #eef3ef; border-radius: 3px; color: var(--green-dark); font-size: 0.66rem; font-weight: 750; }
.mint-card .designer-profile-link { margin-top: auto; padding-top: 16px; }

.mint-system-timeline ol { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin: 26px 0 0; padding: 0; list-style: none; border-top: 2px solid #cdbfa9; }
.mint-system-timeline li { min-width: 0; position: relative; padding: 25px 12px 0; }
.mint-system-timeline li::before { content: ""; position: absolute; top: -7px; left: 15px; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: var(--copper); }
.mint-system-timeline li > span { display: block; color: var(--copper); font-size: 0.76rem; font-weight: 900; }
.mint-system-timeline a { display: block; margin-top: 6px; }
.mint-system-timeline strong, .mint-system-timeline small { display: block; }
.mint-system-timeline strong { font-size: 0.82rem; }
.mint-system-timeline small { margin-top: 3px; color: var(--muted); font-size: 0.65rem; line-height: 1.4; }

.mint-profile-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr); min-height: 560px; border-bottom: 1px solid var(--line); }
.mint-profile-hero > div { align-self: center; min-width: 0; padding: clamp(50px, 7vw, 100px) max(28px, calc((100vw - 1440px) / 2)); padding-right: clamp(35px, 5vw, 80px); }
.mint-profile-hero h1 { margin: 10px 0 20px; font-size: clamp(3rem, 5.4vw, 5.4rem); line-height: 1; letter-spacing: 0; }
.mint-profile-hero > div > p { max-width: 760px; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.mint-profile-hero figure { min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; margin: 0; background: #e6e1d8; }
.mint-profile-hero img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; }
.mint-profile-hero figcaption { padding: 10px 16px; color: var(--muted); background: #fff; font-size: 0.72rem; }
.mint-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 70px; align-items: start; }
.mint-profile-main { min-width: 0; }
.mint-profile-main .article-section { padding-block: 34px; }
.mint-profile-main .article-section:first-child { padding-top: 0; }
.mint-profile-main .article-section p { max-width: 880px; }
.mint-profile-aside { display: grid; gap: 14px; position: sticky; top: 90px; }
.mint-profile-aside section { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.mint-profile-aside h2 { font-size: 1rem; }
.mint-profile-aside dl div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.mint-profile-aside dt { color: var(--muted); font-size: 0.65rem; font-weight: 850; text-transform: uppercase; }
.mint-profile-aside dd { margin: 3px 0 0; font-size: 0.8rem; }
.mint-profile-aside p, .mint-profile-aside li { color: var(--muted); font-size: 0.8rem; line-height: 1.55; }
.mint-profile-aside ul { margin: 12px 0 0; padding-left: 18px; }
.mint-media-credit a { color: var(--green-dark); font-size: 0.76rem; font-weight: 800; text-decoration: underline; }
.mint-mark-usage { display: grid; gap: 10px; margin-top: 24px; }
.mint-mark-usage article { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px; background: #f2eee7; border-left: 4px solid var(--copper); }
.mint-mark-usage article > b { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--copper); border-radius: 50%; color: var(--copper); font-size: 0.75rem; }
.mint-mark-usage strong { font-size: 0.9rem; }
.mint-mark-usage p { margin: 5px 0 0; font-size: 0.82rem; }
.mint-operation-list { margin-top: 24px; border-top: 1px solid var(--line); }
.mint-operation-list > div { display: grid; grid-template-columns: 160px minmax(0, 1fr) 100px; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mint-operation-list span { color: var(--copper); font-weight: 850; }
.mint-operation-list small { color: var(--muted); text-align: right; text-transform: capitalize; }
.mint-building-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.mint-building-list article { padding: 20px; border: 1px solid var(--line); border-top: 3px solid #6f8994; }
.mint-building-list span { color: var(--copper); font-size: 0.68rem; font-weight: 900; }
.mint-building-list h3 { margin: 8px 0; font-size: 1rem; }
.mint-building-list p { margin: 0; font-size: 0.82rem; }
.mint-catalog-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.mint-catalog-links a { display: flex; min-height: 108px; flex-direction: column; justify-content: space-between; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.mint-catalog-links span { color: var(--green); font-size: 0.72rem; font-weight: 800; }

.catalog-mint-section { display: grid; grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr); gap: 50px; align-items: start; background: #e9eee9; }
.catalog-mint-section p { color: var(--muted); line-height: 1.6; }
.catalog-mint-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.catalog-mint-links a { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; background: #fff; border: 1px solid #cad6cd; border-radius: 6px; }
.catalog-mint-links b { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--copper); border-radius: 50%; color: var(--copper); font-size: 0.7rem; }
.catalog-mint-links strong, .catalog-mint-links small { display: block; }
.catalog-mint-links small { margin-top: 3px; color: var(--muted); font-size: 0.66rem; }
.inline-knowledge-link { color: var(--green-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.mint-guide-cover { color: #fff; background: linear-gradient(145deg, #244941, #b7643d 58%, #6d7e88); }
.knowledge-feature-band.is-mint-feature .mint-map { min-height: 310px; margin: 0; }
.knowledge-feature-band.is-mint-feature .mint-map-pin span { display: none; }

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .main-nav,
  .account-strip,
  .language-switcher {
    justify-content: flex-start;
  }

  .quick-grid,
  .country-grid,
  .deliverable-grid,
  .taxonomy-grid,
  .continent-board,
  .directory-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-catalog-card {
    grid-column: span 1;
  }

  .directory-catalog-card-types {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }

  .jefferson-type-grid,
  .jefferson-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jefferson-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jefferson-filters.is-commemorative {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .two-column,
  .split-band,
  .country-hero,
  .coin-hero,
  .article-layout,
  .coin-reference-hero {
    grid-template-columns: 1fr;
  }

  .commemorative-detail-image {
    max-width: min(100%, 520px);
    justify-self: start;
  }

  .info-box {
    position: static;
  }

  .country-visual {
    min-height: 280px;
  }

  .knowledge-feature-layout,
  .knowledge-catalog-links,
  .designer-article-layout,
  .mint-overview-band,
  .mint-profile-layout,
  .catalog-mint-section {
    grid-template-columns: 1fr;
  }

  .mint-card-grid { grid-template-columns: 1fr; }
  .mint-card { grid-template-columns: 240px minmax(0, 1fr); }
  .mint-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mint-system-timeline ol { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 0; }
  .mint-profile-hero { grid-template-columns: 1fr; }
  .mint-profile-hero > div { padding: 64px 40px; }
  .mint-profile-hero figure { min-height: 420px; }
  .mint-profile-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .knowledge-feature-people,
  .designer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .knowledge-topic-grid,
  .role-glossary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .knowledge-topic:nth-child(3n),
  .role-glossary-grid > div:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .knowledge-topic:nth-child(2n),
  .role-glossary-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .designer-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .designer-query { grid-column: span 2; }
  .designer-filter-apply { width: 100%; }
  .designer-profile-aside { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .hero {
    min-height: 0;
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .hero-search,
  .coin-row,
  .fact-row,
  .detail-panel dl div,
  .import-preview dl div,
  .endpoint-list article,
  .photo-card {
    grid-template-columns: 1fr;
  }

  .hero-search {
    display: grid;
  }

  .quick-grid,
  .country-grid,
  .guide-grid,
  .hierarchy-grid,
  .detail-grid,
  .deliverable-grid,
  .series-grid,
  .link-grid,
  .taxonomy-grid,
  .continent-board,
  .coin-image-pair,
  .directory-preview-grid,
  .directory-catalog-grid,
  .directory-entry-list {
    grid-template-columns: 1fr;
  }

  .directory-catalog-hero .section-heading {
    align-items: flex-start;
  }

  .directory-catalog-card {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 13px;
    min-height: 0;
    padding: 16px;
  }

  .directory-catalog-card img,
  .directory-catalog-card-coin {
    width: 60px;
    height: 60px;
  }

  .directory-catalog-card-types {
    grid-template-columns: 1fr;
    gap: 5px;
    font-size: 0.84rem;
  }

  .jefferson-type-grid,
  .jefferson-spec-grid,
  .jefferson-filters,
  .jefferson-filters.is-commemorative,
  .source-disclaimer {
    grid-template-columns: 1fr;
  }

  .jefferson-type-card {
    min-height: 138px;
  }

  .jefferson-table-wrap {
    display: none;
  }

  .jefferson-mobile-list {
    display: grid;
    gap: 8px;
  }

  .jefferson-mobile-record {
    display: grid;
    gap: 8px;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .jefferson-mobile-record > span:nth-child(2) {
    color: var(--muted);
    font-size: 0.78rem;
  }

  .jefferson-mobile-record-heading {
    display: flex;
    gap: 8px;
    align-items: baseline;
    justify-content: space-between;
  }

  .jefferson-mobile-record-heading span {
    color: var(--green-dark);
    font-size: 0.82rem;
    text-align: right;
  }

  .commemorative-mobile-record {
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
  }

  .commemorative-mobile-images {
    display: grid;
    grid-template-columns: repeat(2, 40px);
    gap: 5px;
  }

  .commemorative-mobile-images .coin-side-crop { width: 40px; }
  .commemorative-mobile-record .jefferson-mobile-record-heading {
    display: grid;
    grid-column: 2;
    gap: 3px;
  }

  .commemorative-mobile-record .jefferson-mobile-record-heading span {
    text-align: left;
  }

  .commemorative-mobile-record .jefferson-mobile-facts { grid-column: 1 / -1; }

  .commemorative-detail-image { width: 100%; }
  .jefferson-mobile-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .jefferson-mobile-facts > span {
    min-width: 0;
    padding: 8px;
    background: #f6f3ed;
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
  }

  .jefferson-mobile-facts small {
    display: block;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .source-disclaimer {
    gap: 6px;
  }

  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-row,
  .catalog-row dl,
  .index-denomination {
    grid-template-columns: 1fr;
  }

  .coin-category-header {
    grid-template-columns: minmax(0, 1fr) 78px;
    gap: 16px;
  }

  .coin-category-header img,
  .coin-category-header-coin {
    width: 78px;
    height: 78px;
  }

  .directory-entry,
  .directory-entry:nth-child(odd),
  .directory-entry:nth-child(even) {
    padding: 12px 0;
    border-right: 0;
  }

  .coin-reference-pair {
    max-width: 320px;
  }

  .coin-actions {
    justify-content: flex-start;
  }

  .section-heading,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal {
    max-width: none;
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .topbar {
    padding-block: 10px;
  }

  .main-nav {
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    padding-inline: 6px;
    font-size: 0.86rem;
  }

  .account-strip {
    display: none;
  }

  .knowledge-hero {
    min-height: 460px;
    align-items: end;
    padding-block: 48px;
  }

  .knowledge-hero h1,
  .knowledge-directory-hero h1,
  .designer-collection-hero h1,
  .designer-profile-hero h1 {
    font-size: 2.6rem;
  }

  .mint-collection-hero { min-height: 420px; padding-inline: 24px; }
  .mint-collection-hero h1, .mint-profile-hero h1 { font-size: 2.8rem; }
  .mint-map { min-height: 420px; }
  .mint-map-pin span { display: none; }
  .mint-map-pin b { width: 34px; height: 34px; border-width: 2px; }
  .mint-education-grid { grid-template-columns: 1fr; }
  .mint-education-grid article { min-height: 0; padding: 28px 22px; }
  .mint-education-grid article:nth-child(n) { border-left: 1px solid var(--line); border-top: 0; }
  .mint-education-grid article:first-child { border-top: 1px solid var(--line); }
  .mint-filters { grid-template-columns: 1fr 44px; }
  .mint-filters label { grid-column: 1 / -1; }
  .mint-filters .filter-reset { grid-column: 2; }
  .mint-card { grid-template-columns: 1fr; }
  .mint-card-media { min-height: 230px; }
  .mint-card-copy { padding: 20px; }
  .mint-system-timeline ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mint-profile-hero > div { padding: 48px 24px; }
  .mint-profile-hero figure { min-height: 300px; }
  .mint-profile-aside { grid-template-columns: 1fr; }
  .mint-mark-usage article, .mint-operation-list > div { grid-template-columns: 1fr; }
  .mint-operation-list small { text-align: left; }
  .mint-building-list, .mint-catalog-links, .catalog-mint-links { grid-template-columns: 1fr; }

  .knowledge-search > span,
  .knowledge-feature-people,
  .knowledge-topic-grid,
  .learning-guide-grid,
  .designer-grid,
  .role-glossary-grid,
  .designer-work-grid,
  .catalog-designer-credits,
  .designer-profile-aside {
    grid-template-columns: 1fr;
  }

  .knowledge-topic,
  .knowledge-topic:nth-child(n),
  .role-glossary-grid > div,
  .role-glossary-grid > div:nth-child(n) {
    border-right: 0;
  }

  .learning-guide-card,
  .learning-guide-card.is-featured {
    min-height: 0;
    grid-column: auto;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
  }

  .learning-guide-card strong { font-size: 1.08rem; }
  .learning-guide-cover { min-height: 112px; }

  .designer-collection-hero,
  .designer-profile-hero {
    grid-template-columns: 1fr;
  }

  .designer-hero-medallion { width: 150px; order: -1; }
  .designer-profile-portrait-block,
  .designer-profile-portrait { width: 150px; }
  .designer-profile-portrait .portrait-initials strong { font-size: 2.8rem; }

  .designer-filters {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .designer-filters label,
  .designer-query,
  .designer-filter-apply {
    grid-column: 1 / -1;
  }

  .designer-filters .filter-reset {
    grid-column: 2;
    grid-row: 7;
  }

  .designer-filter-apply {
    grid-row: 8;
  }

  .designer-card {
    min-height: 0;
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 15px;
  }

  .designer-portrait-placeholder { width: 72px; }
  .designer-card-copy { min-height: 0; }
  .designer-profile-link { margin-top: 12px; }
  .designer-article h2 { font-size: 1.65rem; }
  .designer-article p { font-size: 1rem; }
  .profile-timeline li { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
