/* US Supplier Index — design system #4. Zero JS, zero frameworks.
   Cream paper + deep forest + brick accent; serif display over sans body. */
:root {
  --paper: #f7f3ea;
  --card: #fffdf8;
  --ink: #21281f;
  --muted: #6b7263;
  --line: #ddd6c6;
  --forest: #1c3a2a;
  --pine: #142a1e;
  --brick: #a83c24;
  --brick-ink: #7c2c1a;
  --verify: #2e6e46;
  --max: 1080px;
  --radius: 3px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink);
  background: var(--paper); line-height: 1.6; font-size: 16.5px;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
a { color: var(--brick-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--forest); }
h1 { font-size: 2.15rem; line-height: 1.15; margin: .3em 0 .45em; letter-spacing: -.005em; }
h2 { font-size: 1.45rem; margin: 2.2rem 0 .8rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
.kicker {
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brick);
}

/* header — thin cream masthead over a dark rule (vs site 1's solid dark bar) */
.site-header { background: var(--paper); border-bottom: 3px double var(--forest); }
.header-inner { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 0 12px; gap: 16px; flex-wrap: wrap; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--forest); }
.logo:hover { text-decoration: none; }
.logo .star { color: var(--brick); }
.site-header nav { display: flex; gap: 20px; font-size: .92rem; }
.site-header nav a { color: var(--forest); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; font-weight: 600; }

/* hero */
.hero { padding: 2.6rem 0 1.6rem; border-bottom: 1px solid var(--line); }
.hero .lede { font-size: 1.12rem; max-width: 46em; color: #3a4136; }
.stat-band { display: flex; gap: 34px; flex-wrap: wrap; margin: 1.6rem 0 .4rem; }
.stat b { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--forest); }
.stat span { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }

/* listing rows — ruled ledger rows, not cards */
.rows { margin: 1rem 0 2rem; border-top: 2px solid var(--forest); }
.row-item { display: flex; justify-content: space-between; gap: 18px; padding: 14px 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.row-item:hover { background: var(--card); }
.row-main { min-width: 0; }
.row-name { font-family: var(--serif); font-size: 1.08rem; font-weight: 700; }
.row-meta { font-size: .86rem; color: var(--muted); margin-top: 2px; }
.row-side { text-align: right; font-size: .82rem; flex-shrink: 0; }
.rank-no { color: var(--line); font-family: var(--serif); font-size: 1rem; margin-right: 10px; }

/* badges — square-cornered stamps */
.badge { display: inline-block; border: 1px solid var(--verify); color: var(--verify);
  padding: 1px 8px; font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; border-radius: var(--radius); margin: 2px 4px 2px 0; }
.badge-live { border-color: var(--verify); color: var(--verify); }
.badge-dead { border-color: #a09a8a; color: #8b857a; }
.badge-assoc { border-color: var(--forest); color: var(--forest); }
.badge-moq { border-color: var(--brick); color: var(--brick-ink); }

/* profile */
.profile { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--forest); padding: 26px 28px; margin: 1.4rem 0 2rem; }
.hero-field { display: flex; gap: 26px; flex-wrap: wrap; margin: 1rem 0 1.2rem; padding: 12px 16px; background: var(--paper); border: 1px dashed var(--line); }
.hero-field div b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--forest); }
.hero-field div span { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
dl.facts { display: grid; grid-template-columns: 180px 1fr; gap: 8px 18px; margin: 1.4rem 0; }
dl.facts dt { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding-top: 2px; }
dl.facts dd { margin: 0; }
.tag { display: inline-block; background: var(--paper); border: 1px solid var(--line); padding: 2px 9px; border-radius: var(--radius); font-size: .85rem; margin: 2px 4px 2px 0; }
.provenance { font-size: .82rem; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 1.6rem; }

/* grids for home */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 1rem 0 1.6rem; }
.grid a.cell { background: var(--card); border: 1px solid var(--line); padding: 12px 14px; border-radius: var(--radius); color: var(--ink); }
.grid a.cell:hover { border-color: var(--forest); text-decoration: none; }
.grid a.cell b { font-family: var(--serif); color: var(--forest); }
.grid a.cell span { display: block; font-size: .8rem; color: var(--muted); }
.state-cloud { columns: 4 180px; column-gap: 24px; margin: .8rem 0 1.8rem; }
.state-cloud a { display: block; padding: 3px 0; font-size: .92rem; }

/* claim + CTAs */
.btn { display: inline-block; background: var(--brick); color: #fff !important; padding: 9px 20px;
  border-radius: var(--radius); font-weight: 700; font-size: .95rem; border: none; cursor: pointer; }
.btn:hover { background: var(--brick-ink); text-decoration: none; }
.claim-cta { margin: 1.6rem 0 0; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); font-size: .95rem; }
.claim-form { margin: 1.4rem 0; max-width: 430px; }
.claim-form label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.claim-form input[type=email] { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 1rem; margin-bottom: 12px; background: #fff; }
.value-list li { margin-bottom: .5em; }
.honest-note { font-size: .88rem; }

/* prose + breadcrumb */
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.8rem; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin: 1.1rem 0 0; }
.breadcrumb a { color: var(--muted); }
table.plain { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .92rem; }
table.plain th, table.plain td { text-align: left; border-bottom: 1px solid var(--line); padding: 7px 10px 7px 0; vertical-align: top; }
table.plain th { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }

/* footer — deep pine block */
.site-footer { background: var(--pine); color: #e8e4d8; margin-top: 3.5rem; padding: 2.2rem 0 1.4rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: #d8d2c0; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: .88rem; }
.fineprint { font-size: .78rem; color: #a9a493; margin-top: 1.4rem; }

@media (max-width: 640px) {
  h1 { font-size: 1.65rem; }
  dl.facts { grid-template-columns: 1fr; gap: 2px 0; }
  dl.facts dt { margin-top: 10px; }
  .row-side { text-align: left; }
}
