/* DRI GSA Supply. Spacing, type and radius follow the Tailwind scale. */
:root {
  --bg: #f6f6f3;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #4b5563;
  --line: #e4e4de;
  --navy: #14284b;
  --navy-ink: #ffffff;
  --brass: #a16207;
  --brass-soft: #fdf6e3;
  --focus: #2563eb;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  background: var(--bg);
}
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: transform 300ms var(--ease);
}
.skip:focus { transform: translateY(80px); }

.wrap { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; }

/* Nav */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  width: max-content; max-width: calc(100% - 32px);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 16px; line-height: 24px; white-space: nowrap; }
.brand svg { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  text-decoration: none; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted);
  padding: 8px 12px; border-radius: 8px; transition: background-color 300ms var(--ease), color 300ms var(--ease);
}
.nav-links a:hover { background: #efefea; color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: #ececE6; }
.menu-btn { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 8px 12px; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-size: 16px; line-height: 24px; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--navy); color: var(--navy-ink); }
.btn-primary:hover { background: #0c1a33; transform: translateY(-1px); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #c9c9c0; transform: translateY(-1px); }
.btn-sm { font-size: 14px; line-height: 20px; }
.btn i { font-size: 20px; }

/* Hero */
.hero { padding: 160px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 9999px;
  background: var(--brass-soft); color: #713f12; border: 1px solid #f1e2b8;
  font-size: 14px; line-height: 20px; font-weight: 600; margin-bottom: 24px;
}
.hero h1 {
  font-size: 60px; line-height: 1; letter-spacing: -0.02em; max-width: 680px;
  background: linear-gradient(90deg, #000000, #666666); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 4px;
}
.hero .sub { margin-top: 24px; font-size: 20px; line-height: 28px; color: var(--muted); max-width: 680px; }
.hero .actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.proof { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 14px; line-height: 20px; font-weight: 600; }
.proof span { display: inline-flex; align-items: center; gap: 8px; }
.proof i { font-size: 20px; color: var(--navy); }

/* Contract card */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.contract-card { padding: 24px; }
.contract-card h2 { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.contract-card .num { margin-top: 8px; font-size: 24px; line-height: 32px; font-weight: 600; }
.facts { margin: 24px 0 0; display: grid; gap: 12px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 20px; padding-top: 12px; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.copy {
  margin-top: 24px; width: 100%;
}
.badge-sdvosb {
  margin-top: 16px; display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 8px;
  background: var(--navy); color: #fff;
}
.badge-sdvosb i { font-size: 32px; color: #f5d27a; }
.badge-sdvosb strong { display: block; font-size: 14px; line-height: 20px; }
.badge-sdvosb span { display: block; font-size: 12px; line-height: 16px; color: #cbd5e1; }

/* Sections */
section { scroll-margin-top: 96px; }
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.01em; }
.section-head p { margin-top: 16px; font-size: 18px; line-height: 28px; color: var(--muted); }
.kicker { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--brass); margin-bottom: 12px; display: block; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat {
  display: flex; flex-direction: column; gap: 16px; padding: 24px; text-decoration: none;
  transition: transform 500ms var(--ease), border-color 300ms var(--ease);
}
.cat:hover { transform: translateY(-4px); border-color: #c9c9c0; }
.cat .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #eef2f8; color: var(--navy); font-size: 24px; }
.cat h3 { font-size: 18px; line-height: 28px; }
.cat p { font-size: 14px; line-height: 20px; color: var(--muted); margin-top: 4px; }
.cat .count { margin-top: auto; font-size: 14px; line-height: 20px; font-weight: 600; display: flex; align-items: center; gap: 4px; }

/* Tagline reveal */
.reveal-section { padding: 128px 0; }
.reveal-text { font-size: 48px; line-height: 1; letter-spacing: -0.02em; font-weight: 700; max-width: 880px; }
.reveal-text .w { color: rgba(15, 23, 42, 0.28); transition: color 600ms var(--ease); }
.reveal-text .w.on { color: var(--ink); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { padding: 32px; }
.step .n { width: 40px; height: 40px; border-radius: 9999px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.step h3 { margin-top: 24px; font-size: 20px; line-height: 28px; }
.step p { margin-top: 8px; color: var(--muted); }

/* Contract details table */
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.detail { padding: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.detail dt { font-size: 14px; line-height: 20px; color: var(--muted); }
.detail dd { margin: 4px 0 0; font-size: 18px; line-height: 28px; font-weight: 600; }
.copy-btn {
  flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: 12px; line-height: 16px; font-weight: 600;
  color: var(--muted); cursor: pointer; transition: border-color 300ms var(--ease), color 300ms var(--ease);
}
.copy-btn:hover { border-color: #c9c9c0; color: var(--ink); }
.copy-btn:active { transform: scale(0.98); }
.verify { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

/* FAQ */
.faq { max-width: 800px; display: grid; gap: 12px; }
.faq details { padding: 0 24px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 0; font-weight: 600; font-size: 18px; line-height: 28px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { transition: transform 500ms var(--ease); font-size: 20px; flex: none; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .a { padding: 0 0 24px; color: var(--muted); }
.faq .a p + p { margin-top: 12px; }

/* CTA band */
.cta-band { padding: 64px; border-radius: 24px; background: var(--navy); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: 36px; line-height: 40px; max-width: 680px; }
.cta-band p { margin-top: 12px; color: #cbd5e1; font-size: 18px; line-height: 28px; max-width: 680px; }
.cta-band .btn-primary { background: #fff; color: var(--navy); }
.cta-band .btn-primary:hover { background: #eef2f8; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-band .btn-ghost:hover { border-color: #fff; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
footer { padding: 64px 0 48px; margin-top: 96px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--muted); }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot h2 { font-size: 14px; line-height: 20px; color: var(--ink); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .brand { color: var(--ink); margin-bottom: 12px; }
.fine { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; line-height: 16px; }

/* Catalog */
.page-head { padding: 160px 0 32px; }
.page-head h1 { font-size: 48px; line-height: 1; letter-spacing: -0.02em; background: linear-gradient(90deg, #000000, #666666); -webkit-background-clip: text; background-clip: text; color: transparent; max-width: 680px; padding-bottom: 4px; }
.page-head p { margin-top: 16px; font-size: 18px; line-height: 28px; color: var(--muted); max-width: 680px; }
.toolbar { position: sticky; top: 88px; z-index: 20; padding: 16px 0; background: var(--bg); }
.search { display: flex; gap: 12px; align-items: center; }
.search-box { flex: 1; position: relative; }
.search-box i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--muted); }
.search-box input, .toolbar select {
  width: 100%; font: inherit; font-size: 16px; line-height: 24px; padding: 8px 12px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.search-box input { padding-left: 40px; }
.toolbar select { width: auto; }
.chips { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; padding: 4px 12px; border-radius: 9999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease);
}
.chip:hover { border-color: #c9c9c0; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.result-meta { margin: 16px 0; font-size: 14px; line-height: 20px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.item { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.item .top { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; line-height: 16px; color: var(--muted); font-weight: 600; }
.item h3 { font-size: 16px; line-height: 24px; font-weight: 600; }
.item .meta { font-size: 12px; line-height: 16px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.item .usa { color: #166534; }
.item .buy { margin-top: auto; padding-top: 12px; display: flex; align-items: end; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.price { font-size: 24px; line-height: 32px; font-weight: 700; }
.price small { font-size: 12px; line-height: 16px; color: var(--muted); font-weight: 600; display: block; }
.empty { padding: 64px 24px; text-align: center; color: var(--muted); }
.empty i { font-size: 48px; color: var(--navy); }
.empty h2 { margin-top: 16px; font-size: 20px; line-height: 28px; color: var(--ink); }
.empty p { margin-top: 8px; }
.empty .btns { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.skeleton { height: 220px; background: #ecece6; border-radius: 16px; }
.more { margin-top: 32px; display: flex; justify-content: center; }
.note { margin-top: 32px; padding: 16px 24px; font-size: 14px; line-height: 20px; color: var(--muted); }

/* Prose */
.prose { max-width: 720px; }
.prose h2 { margin-top: 40px; font-size: 24px; line-height: 32px; }
.prose p, .prose ul { margin-top: 16px; color: var(--muted); }

/* Scroll reveal */
.rv { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .rv { transform: none; transition: opacity 300ms linear; }
  .btn:hover, .cat:hover { transform: none; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .contract-card { max-width: 480px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav { gap: 12px; }
  .nav-links, .nav .btn-sm { display: none; }
  .menu-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
  .menu-btn span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 500ms var(--ease), opacity 300ms var(--ease); }
  .menu-btn { position: relative; }
  .menu-btn span { position: absolute; left: 10px; }
  .menu-btn span:nth-child(1) { top: 13px; } .menu-btn span:nth-child(2) { top: 19px; } .menu-btn span:nth-child(3) { top: 25px; }
  body.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { padding-top: 128px; }
  .hero h1 { font-size: 36px; line-height: 40px; }
  .hero .sub { font-size: 18px; line-height: 28px; }
  .section { padding: 64px 0; }
  .section-head h2, .cta-band h2 { font-size: 30px; line-height: 36px; }
  .reveal-text { font-size: 36px; line-height: 40px; }
  .cats, .steps, .details, .grid, .foot { grid-template-columns: 1fr; }
  .cta-band { padding: 32px; }
  .page-head { padding-top: 128px; }
  .page-head h1 { font-size: 36px; line-height: 40px; }
  .toolbar { top: 72px; }
  .search { flex-wrap: wrap; }
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: 0; z-index: 40; padding: 96px 24px 24px;
  background: rgba(246, 246, 243, 0.94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; pointer-events: none; transition: opacity 500ms var(--ease);
}
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 24px; line-height: 32px; font-weight: 700; text-decoration: none; opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
body.menu-open .mobile-menu a { opacity: 1; transform: none; }
body.menu-open .mobile-menu a:nth-child(2) { transition-delay: 60ms; }
body.menu-open .mobile-menu a:nth-child(3) { transition-delay: 120ms; }
body.menu-open .mobile-menu a:nth-child(4) { transition-delay: 180ms; }
body.menu-open .mobile-menu a:nth-child(5) { transition-delay: 240ms; }
