@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --black: #0b0b0c;
  --coal: #141416;
  --steel: #1d1d20;
  --line: #2c2c31;
  --white: #f6f5f1;
  --muted: #b4b2aa;
  --gold: #c9a227;
  --gold-hi: #e2be4c;
  --gold-deep: #8a6d14;
  --paper: #f6f5f1;
  --ink: #111112;
  --ink-muted: #4a4943;
  --danger: #ff8a7a;
  --head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--white); font: 16px/1.55 var(--body); }
a { color: var(--gold-hi); }
img, svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--black); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3, .wordmark, .eyebrow, .num, summary strong, .cta, .ghost, .chips button, label.big {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .02em;
}
h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); line-height: .95; margin: .2em 0 .35em; font-weight: 700; }
h1 span { color: var(--gold); }
h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1; margin: .1em 0 .5em; font-weight: 700; }
h3 { font-size: 1.35rem; line-height: 1.1; margin: 0 0 .3em; font-weight: 700; }
.eyebrow { color: var(--gold); font-weight: 600; font-size: .95rem; letter-spacing: .14em; margin: 0; }
.eyebrow.dark { color: var(--gold-deep); }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 36em; }
.fine { color: var(--muted); font-size: .86rem; margin: .7em 0 0; }
.error { color: var(--danger); font-size: .92rem; margin: .6em 0 0; min-height: 1em; }

.stripe { height: 6px; background: repeating-linear-gradient(-45deg, var(--gold) 0 14px, var(--black) 14px 28px); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 11, 12, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.mark { width: 34px; height: 34px; color: var(--gold); flex: none; }
.wordmark { font-size: 1.45rem; font-weight: 700; letter-spacing: .04em; line-height: 1; margin: 0; }
nav { display: flex; gap: 22px; }
nav a { color: var(--white); text-decoration: none; font-family: var(--head); text-transform: uppercase; font-weight: 600; letter-spacing: .08em; font-size: 1rem; }
nav a:hover { color: var(--gold-hi); }

/* Hero */
.hero { padding: 48px 0 56px; background:
  linear-gradient(180deg, rgba(201, 162, 39, .08), transparent 60%),
  repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, .025) 79px 80px),
  var(--black); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.proof { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.proof li { padding-left: 26px; position: relative; color: var(--white); }
.proof li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg); }

/* Panels and forms */
.panel { background: var(--coal); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 22px; }
label { display: block; font-weight: 600; font-size: .9rem; margin: 14px 0 6px; color: var(--white); }
label small { color: var(--muted); font-weight: 400; }
label.big { font-size: 1.5rem; margin-top: 0; }
input, select, textarea { width: 100%; font: inherit; color: var(--white); background: var(--black); border: 1px solid #44444b; border-radius: var(--radius); padding: 11px 12px; min-height: 46px; }
textarea { resize: vertical; min-height: 110px; }
input::placeholder, textarea::placeholder { color: #8b8a84; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201, 162, 39, .3); }
input[type=date] { color-scheme: dark; }
.row2, .row3 { display: grid; gap: 0 14px; }
.row2 { grid-template-columns: 1fr 1fr; }
.row3 { grid-template-columns: 1fr 1fr 1fr; }

.cta { display: block; width: 100%; margin-top: 18px; background: var(--gold); color: var(--black); border: 0; border-radius: var(--radius); padding: 14px 18px; font-size: 1.3rem; font-weight: 700; cursor: pointer; transition: background .15s; }
.cta:hover { background: var(--gold-hi); }
.cta[disabled] { opacity: .6; cursor: progress; }
.ghost { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--white); border: 2px solid var(--gold); border-radius: var(--radius); padding: 9px 14px; font-size: 1.05rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.ghost:hover { background: rgba(201, 162, 39, .14); }
.count { background: var(--gold); color: var(--black); border-radius: 99px; min-width: 24px; padding: 0 7px; text-align: center; font-weight: 700; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 2px; }
.chips button { background: var(--steel); color: var(--white); border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; font-size: .95rem; font-weight: 600; cursor: pointer; }
.chips button:hover { border-color: var(--gold); color: var(--gold-hi); }

/* Results */
.results { padding: 44px 0 30px; border-top: 1px solid var(--line); }
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.matched { color: var(--muted); margin: 0; }
.matched b { color: var(--white); font-weight: 600; }
.hints { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.hints li { border-left: 4px solid var(--gold); background: var(--coal); padding: 10px 14px; font-size: .95rem; }
.hints li strong { color: var(--gold-hi); font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; margin-right: 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; background: var(--coal); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: relative; transition: border-color .15s, transform .15s; }
.card:hover { border-color: #4a4a52; }
.card.on { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.card .photo { position: relative; margin: -18px -18px 14px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel); border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; }
.card .photo.none { display: flex; align-items: center; justify-content: center; color: var(--gold); background: radial-gradient(circle at 50% 45%, rgba(201, 162, 39, .16), transparent 62%), var(--steel); }
.card .photo.none svg { width: 30%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.card .cat { display: flex; align-items: center; gap: 8px; color: var(--gold); font-family: var(--head); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; font-size: .85rem; margin: 0 0 10px; }
.card .cat svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.5rem; }
.card .spec { color: var(--muted); font-size: .9rem; margin: 0 0 10px; }
.card .why { margin: 0 0 12px; font-size: .95rem; }
.card .note { font-size: .85rem; color: var(--gold-hi); margin: 0 0 12px; }
.rates { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: auto 0 4px; padding-top: 10px; border-top: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.rates span { font-size: .95rem; }
.rates b { font-family: var(--head); font-size: 1.25rem; color: var(--white); }
.tag { display: inline-block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hi); border: 1px solid var(--gold); padding: 0 5px; border-radius: 2px; font-weight: 700; }
.est { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
.est b { color: var(--white); }
.card .add { margin-top: 14px; width: 100%; justify-content: center; }
.card.on .add { background: var(--gold); color: var(--black); }
.estimate-note { color: var(--muted); font-size: .86rem; margin-top: 16px; }
.empty { background: var(--coal); border: 1px dashed var(--line); padding: 20px; border-radius: var(--radius); }

/* Quote */
.quote { padding: 40px 0 56px; background: var(--steel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px; align-items: start; }
.lines { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.lines li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lines .name { font-weight: 600; }
.lines .sub { display: block; color: var(--muted); font-size: .82rem; font-weight: 400; }
.lines input { width: 70px; min-height: 40px; padding: 6px 8px; text-align: center; }
.lines .x { background: none; border: 0; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 6px; }
.lines .x:hover { color: var(--danger); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 0; }
.total span { font-family: var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 600; }
.total strong { font-family: var(--head); font-size: 2.2rem; }
.done h3 { font-size: 1.8rem; }
.done .when { color: var(--gold-hi); font-weight: 600; margin: .4em 0 .8em; }
.steps { padding-left: 20px; margin: 10px 0 16px; }
.steps li { margin: 0 0 8px; }
.keys { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; background: var(--black); padding: 12px; border-radius: var(--radius); }
.keys dt { color: var(--gold); font-weight: 600; font-size: .85rem; }
.keys dd { margin: 0; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .82rem; word-break: break-all; }

/* How it works: the one white band */
.how { background: var(--paper); color: var(--ink); padding: 60px 0; }
.how h2 { color: var(--ink); }
.three { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.three li { border-top: 4px solid var(--ink); padding-top: 14px; }
.three p { color: var(--ink-muted); margin: 0; }
.num { display: block; font-size: 2.4rem; font-weight: 700; color: var(--gold-deep); line-height: 1; margin-bottom: 6px; }

/* Browse */
.browse { padding: 56px 0; }
.filters { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 16px; }
.grid.compact .card { padding: 14px 16px; }
.grid.compact .card h3 { font-size: 1.25rem; }

/* Suppliers */
.suppliers { padding: 56px 0; background: linear-gradient(135deg, var(--coal), var(--black)); border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

/* Track */
.track { padding: 28px 0 56px; }
details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--coal); }
summary { cursor: pointer; padding: 16px 20px; list-style: none; display: flex; align-items: baseline; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; margin-left: auto; color: var(--gold); font-size: 1.6rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
summary strong { font-size: 1.4rem; }
details .panel { border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; padding-top: 14px; }
.actions .cta { width: auto; margin: 0; font-size: 1.05rem; padding: 10px 16px; }
.out { white-space: pre-wrap; word-break: break-word; color: var(--muted); font-size: .85rem; margin: 12px 0 0; }

/* Honeypot: off screen for people, still in the form for bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Privacy policy and terms */
.legal { max-width: 780px; padding-top: 32px; padding-bottom: 56px; }
.legal h1 { font-size: 2.4rem; margin: 0 0 .2em; }
.legal h2 { font-size: 1.5rem; margin: 1.6em 0 .4em; color: var(--gold-hi); }
.legal li { margin: .35em 0; }
.credits { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.credits li { display: grid; grid-template-columns: 160px 1fr; gap: 14px; align-items: start; margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: .92rem; overflow-wrap: anywhere; }
.credits img { width: 160px; height: 120px; object-fit: cover; border-radius: var(--radius); background: var(--steel); }
@media (max-width: 560px) { .credits li { grid-template-columns: 96px 1fr; } .credits img { width: 96px; height: 72px; } }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--black); }
.foot-grid { display: grid; grid-template-columns: 1fr 2fr auto; gap: 24px; padding-top: 28px; padding-bottom: 36px; }

/* Operations console */
.ops main { padding: 32px 0 56px; }
.ops .gate { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.ops .gate > div { flex: 1 1 260px; }
.ops .gate .cta { width: auto; margin: 0; }
.ops-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-top: 18px; }
.ops .panel h2 { font-size: 1.5rem; }
.ops .check { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-weight: 400; }
.ops .check input { width: 20px; min-height: 20px; }
.order { background: var(--black); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 12px 14px; margin: 10px 0; }
.order p { margin: 4px 0; font-size: .88rem; color: var(--muted); word-break: break-word; }
.order strong { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; }
.order .ghost { margin: 6px 6px 0 0; padding: 5px 10px; font-size: .95rem; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { padding: 28px 0 40px; }
  .hero-grid, .quote-grid, .split { grid-template-columns: 1fr; gap: 26px; }
  .three { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .row2, .row3, .filters { grid-template-columns: 1fr; }
  .wordmark { font-size: 1.2rem; }
  .lede { font-size: 1rem; }
  .panel { padding: 18px 16px; }
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Promises, package, sums, winter */
.promises { background: var(--coal); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise-list { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.promise-list li { border-left: 3px solid var(--gold); padding-left: 12px; }
.promise-list strong { display: block; font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; font-size: 1.15rem; line-height: 1.1; }
.promise-list span { color: var(--muted); font-size: .9rem; }
.package { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; background: var(--gold); color: var(--black); border-radius: var(--radius); padding: 14px 18px; margin: 14px 0; }
.package h3 { margin: 0; font-size: 1.45rem; flex: 1 1 100%; }
.package .p-items { flex: 1 1 100%; margin: 0; font-size: .95rem; }
.package dl { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; }
.package dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.package dd { margin: 0; font-family: var(--head); font-size: 1.4rem; font-weight: 700; }
.package .fine { color: #2a2410; margin: 0; flex: 1 1 100%; }
.sums { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 14px 0 0; font-variant-numeric: tabular-nums; }
.sums dt { color: var(--muted); }
.sums dd { margin: 0; text-align: right; font-weight: 600; }
.winter { padding: 56px 0; background: linear-gradient(180deg, #101317, var(--black)); border-top: 1px solid var(--line); }
.winter-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 18px; }
.winter-cta { width: auto; flex: none; margin: 0; }
@media (max-width: 900px) {
  .promise-list { grid-template-columns: 1fr 1fr; }
  .winter-head { flex-direction: column; align-items: stretch; }
}
@media (max-width: 560px) { .promise-list { grid-template-columns: 1fr; gap: 12px; } }
main section { scroll-margin-top: 72px; }

/* Delivery classes and can't-serve */
.delivery { padding: 56px 0; border-top: 1px solid var(--line); }
.classes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.class { background: var(--coal); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 18px; }
.class.supplier { border-top-color: var(--white); }
.class.none { border-top-color: #5a5a60; }
.class p { margin: 0 0 10px; }
.class .ex { color: var(--muted); font-size: .9rem; margin: 0; }
.area { margin: 18px 0 0; padding: 12px 16px; border-left: 4px solid var(--gold); background: var(--coal); }
.badge { display: inline-block; font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .8rem; padding: 2px 8px; border-radius: 2px; margin: 0 0 10px; align-self: flex-start; }
.badge.atlas { background: var(--gold); color: var(--black); }
.badge.supplier { background: var(--white); color: var(--black); }
.badge.none { background: #3a3a40; color: var(--white); }
.terms-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.terms-row .tag { color: var(--white); border-color: var(--line); }
.rates-title { margin: 28px 0 6px; }
.rate-scroll { overflow-x: auto; margin-top: 12px; }
.rate-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rate-table th, .rate-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rate-table th { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--muted); }
.rate-table td:first-child { font-weight: 700; }
.rate-table td .ex { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.package .p-notes { flex: 1 1 100%; margin: 0; padding-left: 18px; color: #2a2410; font-size: .9rem; }
.package .p-notes li { margin: 2px 0; }
details.more { margin: 14px 0 4px; }
details.more summary { padding: 10px 14px; }
details.more > :not(summary) { padding: 0 14px; }
.card.off { opacity: .8; }
.card .add[disabled] { border-color: #5a5a60; color: var(--muted); cursor: not-allowed; }
.cannot { background: var(--coal); border: 2px solid var(--white); border-radius: var(--radius); padding: 18px 20px; margin: 14px 0; }
.cannot h3 { font-size: 1.6rem; color: var(--white); }
.cannot ul { margin: 8px 0 0; padding-left: 20px; }
.cannot p { color: var(--muted); margin: 10px 0 0; }
.supplier-row[hidden] { display: none !important; }
@media (max-width: 900px) { .classes { grid-template-columns: 1fr; } }
