@font-face {
  font-family: "Bitcount Prop Single";
  src: url("./bitcount.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  font-variation-settings: "ELSH" 50, "ELXP" 0;
}
:root {
  --pixel: "Bitcount Prop Single", monospace;
  --display: var(--pixel);
  --sans: var(--pixel);
  --mono: var(--pixel);
  font-family: var(--pixel);
  font-weight: 430;
  font-variation-settings: "ELSH" 50, "ELXP" 0;
  font-synthesis: none;
}
body, :is(button, input, select, option, textarea, dialog, code, pre, samp, kbd, summary),
::placeholder, ::marker {
  font-family: var(--pixel);
}
body {letter-spacing: .012em;}
strong, b {font-weight: 560;}
em, i:not([class]) {font-variation-settings: "ELSH" 50, "ELXP" 0, "slnt" -7;}
.site-header .wordmark, .footer-brand {font-weight: 505; letter-spacing: .005em;}
.site-header .wordmark {font-size: 2.3rem;}
.site-header .main-nav > *, .external-nav {font-weight: 450; font-size: 1.13rem; line-height: 1.2;}
.hero .project-name {font-size: 1.09rem; font-weight: 445; letter-spacing: .012em;}
.hero h1 {font-weight: 490; font-size: clamp(2.85rem, 5.25vw, 4.85rem); letter-spacing: .008em; line-height: 1;}
.hero-actions .button, .page-btn {font-size: 1.12rem; font-weight: 445;}
.ex-id, .item-caption {font-size: .92rem; font-weight: 435; letter-spacing: 0; line-height: 1.1;}
.main-piece .ex-id {font-size: 1rem;}
.metrics dd {font-weight: 475; font-size: clamp(1.4rem,2.15vw,1.9rem); letter-spacing: -.015em;}
#collection-progress h2, .section-title h2 {font-weight: 475; letter-spacing: .005em;}
#collection-progress h2 {font-size: clamp(1.4rem,2.1vw,1.8rem);}
.section-title h2 {font-size: clamp(2.1rem,3.3vw,3.1rem);}
.progress-legend dd {font-size: 1.12rem; font-weight: 445;}
.sort-buttons button {font-size: 1.05rem; font-weight: 445;}
@media(max-width:650px) {
  .site-header .wordmark {font-size: 1.85rem;}
  .site-header .main-nav > * {font-size: 1.02rem;}
  .hero .project-name {font-size: 1rem;}
  .hero h1 {font-size: clamp(2.4rem,10vw,3.8rem);}
  .hero-actions .button {font-size: 1.04rem;}
  .ex-id, .item-caption {font-size: .8rem;}
  .main-piece .ex-id {font-size: .94rem;}
  .metrics dd {font-size: clamp(1.15rem,5.5vw,1.55rem);}
  .sort-buttons button {font-size: .98rem;}
}

@media (max-width: 380px) {
  .sort-control {gap: 6px; flex-wrap: wrap;}
  .sort-buttons button {padding-inline: 8px;}
}
@media (max-width: 380px) {
  .site-header .main-nav {margin-left: 12px; gap: 8px;}
  .site-header .main-nav > * {font-size: .91rem;}
}

.intro {
  max-width: 44ch;
  font-size: clamp(1.12rem, 1.45vw, 1.34rem);
  font-weight: 435;
  line-height: 1.55;
}
.inscribe-reminder, .metrics dt, .progress-heading span,
.progress-legend dt, .result-count, .footer-name {
  font-size: .99rem;
  font-weight: 435;
}
.inscribe-reminder {line-height: 1.5;}
.search input {font-size: 1.06rem;}
.progress-legend dd {letter-spacing: .02em;}
.card-state {font-size: clamp(.68rem, .95vw, .82rem); font-weight: 480; line-height: 1.15;}
#page-form, .text-button {font-size: 1rem;}
footer .nav-button, .footer-nav a, .footer-row > a:not(.footer-brand) {font-weight: 475;}
dialog {font-weight: 430; letter-spacing: .012em;}
.dialog-bar, .tier-line, .detail-data dt, .detail-data dd, .detail-note, .sig-proof,
.sig-caption, .wallet-session, .wallet-session .text-button, .guide-content .guide-meta,
.ord-guide-zoom, .mint-feedback, .report-form label, .mint-inscription-id {
  font-size: .99rem;
}
.guide-content p, .guide-content li, .theory-section p, .proof-files dd {
  font-size: 1.1rem;
  line-height: 1.65;
}
.guide-content h2, .detail-info h2, .theory-intro h1, .theory-section h2 {
  font-weight: 510;
  letter-spacing: .004em;
}
.guide-content h3, .sig-header h3, .theory-section h3, .mint-heading {font-weight: 520;}
.guide-content h3 {font-size: 1.28rem;}
.trait-list {font-size: 1.04rem;}
.hash-row code, .download-receipt > span, .download-receipt strong {font-size: .96rem;}
.sig-caption code, .hash-row code, .proof-method code, .mint-inscription-id code {
  letter-spacing: .035em;
}
.theory-section figcaption, .proof-method summary {font-size: 1.02rem;}
.theory-copy, .proof-scope, .proof-method {max-width: 66ch;}
.proof-method pre {font-size: 1.03rem;}
@media (max-width: 650px) {
  .intro {font-size: 1.13rem; line-height: 1.55;}
  .inscribe-reminder, .progress-heading span, .progress-legend dt, .result-count,
  .metrics dt, .footer-name, .sig-caption {font-size: .93rem;}
  .guide-content p, .guide-content li, .theory-section p, .proof-files dd {
    font-size: 1.04rem;
  }
  .gallery-tools, .pagination, .sort-control {flex-wrap: wrap;}
  .bar .main-nav {gap: 11px;}
}
@media (max-width: 380px) {
  .bar .main-nav {gap: 8px;}
  .inscribe-reminder {max-width: 100%;}
  .pagination {row-gap: 8px;}
  .trait-list {font-size: .98rem;}
}

@media (max-width: 350px) {
  .site-header .bar { width: calc(100% - 20px); }
  .site-header .wordmark { font-size: 1.5rem; gap: 4px; }
  .site-header .brand-fox { width: 24px; height: 24px; }
  .site-header .main-nav { margin-left: auto; }
  .site-header .header-tools { display: none; }
}
