:root {
  --cream: oklch(0.97 0.01 100);
  --forest: oklch(0.32 0.06 150);
  --forest-soft: oklch(0.42 0.06 150);
  --ink: oklch(0.22 0.03 150);
  --gold: oklch(0.8 0.15 85);
  --sage: oklch(0.88 0.03 140);
  --muted: oklch(0.42 0.03 150);
  --muted-2: oklch(0.4 0.03 150);
  --line: oklch(0.88 0.015 120);
  --line-2: oklch(0.85 0.015 120);
  --panel: oklch(0.93 0.025 110);
  --panel-line: oklch(0.85 0.03 110);
  --field: oklch(0.98 0.008 100);
  --thumb: oklch(0.9 0.03 120);
  --link: oklch(0.5 0.13 40);
  --link-hover: oklch(0.4 0.13 40);
  --error: oklch(0.5 0.17 30);

  --gutter: clamp(20px, 4vw, 56px);
  --section-y: 88px;
  --sans: 'Bricolage Grotesque', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
input, select, textarea, button { font: inherit; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 13px; }
.gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(1px); }
.btn-lg { border-radius: 12px; padding: 18px 28px; font-size: 17px; }
.btn-block { width: 100%; border-radius: 12px; padding: 16px; font-size: 17px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-forest { background: var(--forest); color: var(--cream); }

.link-btn {
  align-self: flex-start;
  background: none; border: 0; padding: 0;
  font-weight: 600; cursor: pointer;
  text-decoration: underline; color: inherit;
}

/* ---------- Brand ---------- */
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 24px; letter-spacing: -.02em;
  color: inherit;
}
.brand:hover { color: inherit; text-decoration: none; }
.brand-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); flex: none; }
.brand-sm { gap: 10px; font-size: 20px; color: var(--cream); }
.brand-sm .brand-dot { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero-band { background: var(--forest); color: var(--cream); }

.site-header {
  display: flex; flex-wrap: wrap;
  gap: 16px 32px; align-items: center; justify-content: space-between;
  padding-block: 24px;
}
.site-nav { display: flex; gap: 32px; font-size: 16px; }
.site-nav a { color: inherit; }
.site-nav a:hover { color: var(--gold); text-decoration: none; }

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 40px;
  padding-top: 56px;
  align-items: end;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; padding-bottom: 72px; }
.hero h1 {
  font-weight: 800;
  font-size: clamp(52px, 8vw, 104px);
  line-height: .9;
  letter-spacing: -.045em;
}
.hero-lede {
  font-size: 21px; line-height: 1.5;
  max-width: 540px;
  color: var(--sage);
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.live-note {
  display: flex; align-items: center; gap: 10px;
  padding: 0 12px; font-size: 16px; color: var(--sage);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 240px;
  gap: 12px;
}
.hero-photos img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  background: var(--forest-soft);
}
.hero-photos .tall { grid-row: span 2; }
.hero-photos .round { border-radius: 20px; background: oklch(0.75 0.12 85); }

/* ---------- Deals + quote ---------- */
.deals-section {
  display: flex; flex-wrap: wrap;
  gap: 40px;
  padding-block: var(--section-y);
  align-items: flex-start;
  scroll-margin-top: 0;
}
.board { flex: 999 1 520px; min-width: 0; }

.section-head {
  display: flex; flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 16px;
}
.section-head h2 {
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -.035em;
  line-height: 1;
}

.deal {
  display: flex; flex-wrap: wrap;
  gap: 12px 20px; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.deal-thumb {
  width: 72px; height: 72px; flex: none;
  border-radius: 12px;
  background: var(--thumb);
  object-fit: cover;
}
.deal-info { flex: 1 1 180px; min-width: 0; }
.deal-name { font-weight: 600; font-size: 22px; letter-spacing: -.01em; }
.deal-note { font-size: 15px; color: oklch(0.45 0.03 150); }
.deal-size { width: 120px; font-family: var(--mono); font-size: 14px; color: var(--muted-2); }
.deal-price { width: 80px; font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.deal-toggle {
  width: 120px;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600; font-size: 15px;
  cursor: pointer;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background .15s ease, color .15s ease;
}
.deal-toggle:hover { background: oklch(0.22 0.03 150 / .06); }
.deal-action { width: 120px; }

.stepper {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 10px;
  border: 2px solid var(--ink);
  background: var(--ink); color: var(--gold);
}
.stepper button {
  flex: none;
  width: 36px; height: 40px;
  border: 0; background: transparent; color: inherit;
  font-size: 20px; font-weight: 600; line-height: 1;
  cursor: pointer;
  border-radius: 8px;
}
.stepper button:hover:not(:disabled) { background: oklch(1 0 0 / .1); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 2ch; text-align: center; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.stepper-board { width: 120px; }
.stepper-sm { flex: none; border-width: 1.5px; background: var(--field); color: var(--ink); border-color: var(--panel-line); }
.stepper-sm button { width: 28px; height: 30px; font-size: 17px; }
.stepper-sm button:hover:not(:disabled) { background: oklch(0.22 0.03 150 / .07); }
.stepper-sm output { font-size: 15px; font-weight: 600; }

.quote-panel {
  flex: 1 1 320px;
  position: sticky; top: 24px;
  background: var(--panel);
  border-radius: 24px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  scroll-margin-top: 24px;
}
.quote-head { display: flex; justify-content: space-between; align-items: baseline; }
.quote-head h2 { font-weight: 800; font-size: 30px; letter-spacing: -.03em; }

.quote-form { display: flex; flex-direction: column; gap: 16px; }
.quote-form[hidden], .quote-sent[hidden] { display: none; }
.quote-empty { font-size: 15px; color: var(--muted); padding: 8px 0; }
.picked-list { display: flex; flex-direction: column; }
.picked-list:empty { display: none; }
.picked-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--panel-line);
  font-size: 16px;
}
.picked-list li { gap: 10px; }
.picked-name { flex: 1; min-width: 0; line-height: 1.25; }
.picked-name small { display: block; font-size: 12px; color: var(--muted); font-family: var(--mono); }
.picked-price { font-weight: 600; min-width: 48px; text-align: right; font-variant-numeric: tabular-nums; }
.quote-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-top: 4px;
  font-size: 16px;
}
.quote-total[hidden] { display: none; }
.quote-total .mono { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.quote-total strong { font-weight: 800; font-size: 30px; letter-spacing: -.03em; }
.remove-btn {
  background: none; border: 0; cursor: pointer;
  font-size: 18px; color: var(--muted-2);
  padding: 0 4px; line-height: 1;
}
.remove-btn:hover { color: var(--ink); }

.quote-form input,
.quote-form select {
  border: 0; border-radius: 10px;
  padding: 14px; font-size: 16px;
  background: var(--field);
  color: var(--ink);
  width: 100%;
}
.quote-form input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error); }
.form-error { font-size: 14px; color: var(--error); }
.fine-print { font-size: 13px; color: var(--muted); line-height: 1.5; }

.quote-sent { display: flex; flex-direction: column; gap: 12px; padding: 16px 0; font-size: 16px; line-height: 1.55; }
.quote-sent-title { font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1.2; }

/* ---------- Reviews ---------- */
.reviews-band {
  background: var(--gold);
  padding: var(--section-y) var(--gutter);
  display: flex; flex-wrap: wrap;
  gap: 40px 56px;
}
.reviews-side {
  flex: 1 1 200px;
  display: flex; flex-direction: column; gap: 24px;
  justify-content: space-between;
}
.eyebrow { letter-spacing: .06em; }
.review-controls { display: flex; gap: 10px; }
.circle-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--ink);
  background: transparent; color: var(--ink);
  font-size: 20px; cursor: pointer;
  transition: transform .12s ease;
}
.circle-btn:active { transform: scale(.95); }
.circle-btn.solid { border: 0; background: var(--ink); color: var(--gold); }
.review { display: flex; flex-direction: column; gap: 28px; flex: 999 1 480px; min-width: 0; }
.review blockquote {
  font-weight: 600;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: pretty;
  min-height: 3.3em;
  transition: opacity .2s ease;
}
.review.is-swapping blockquote { opacity: 0; }
.review figcaption { font-size: 18px; }
.review-pos { margin-left: 12px; }

/* ---------- Pickup ---------- */
.pickup-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.pickup-copy {
  padding: var(--section-y) var(--gutter);
  display: flex; flex-direction: column; gap: 32px;
}
.pickup-copy h2 {
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 64px);
  letter-spacing: -.04em;
  line-height: .95;
}
.contact-table { display: flex; flex-direction: column; font-size: 18px; }
.contact-table > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  padding: 16px 0;
  border-top: 1px solid var(--line-2);
}
.contact-table > div:last-child { border-bottom: 1px solid var(--line-2); }
.contact-table dt { padding-top: 4px; }
.founders { font-size: 17px; line-height: 1.6; color: var(--muted-2); max-width: 480px; }
.pickup-photo {
  width: 100%; height: 100%;
  min-height: 520px;
  object-fit: cover;
  background: oklch(0.9 0.025 120);
}

/* ---------- Markets ---------- */
.markets-band {
  padding-block: var(--section-y);
  background: var(--panel);
  display: flex; flex-direction: column; gap: 32px;
}
.markets-band .section-head { align-items: flex-end; gap: 12px 40px; }
.markets-band .section-head p { max-width: 440px; font-size: 17px; line-height: 1.5; color: oklch(0.38 0.03 150); }
.markets-body { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.market-list {
  flex: 1 1 280px;
  align-self: flex-start;
  columns: 2 260px; column-gap: 32px;
}
.market-list li { break-inside: avoid; }
.market-item {
  display: flex; gap: 14px; align-items: baseline;
  width: 100%;
  padding: 12px 8px;
  border: 0; border-bottom: 1px solid var(--panel-line);
  border-radius: 0;
  background: transparent; color: inherit;
  text-align: left; cursor: pointer;
  transition: background .15s ease;
}
.market-item:hover { background: oklch(0.22 0.03 150 / .05); }
.market-item.is-active { background: var(--cream); border-radius: 10px; }
.market-item .mono {
  width: 26px; flex: none; color: var(--muted-2);
  text-align: center; border-radius: 6px; padding: 1px 0;
}
.market-item.is-active .mono { background: var(--ink); color: var(--gold); }
.market-text { display: flex; flex-direction: column; gap: 2px; }
.market-text b { font-weight: 600; font-size: 18px; }
.market-text small { font-size: 14px; color: var(--muted); }

.markets-map-wrap { position: relative; flex: 0 1 520px; min-width: 0; align-self: flex-start; width: 100%; }
.markets-map {
  width: 100%; aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background: oklch(0.9 0.025 120);
  font-family: var(--sans);
}
.markets-map-fallback { width: 100%; height: 100%; object-fit: cover; }
.markets-map .leaflet-tile-pane { filter: saturate(.7) sepia(.12); }

.market-pin span {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  border: 2.5px solid var(--ink);
  font: 600 12px/1 var(--mono);
  box-shadow: 0 2px 6px oklch(0.22 0.03 150 / .3);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.market-pin:hover span { transform: scale(1.12); }
.market-pin.is-active span { background: var(--ink); color: var(--gold); transform: scale(1.3); }

.markets-map .leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: 0 6px 24px oklch(0.22 0.03 150 / .25); }
.markets-map .leaflet-popup-content { margin: 14px 18px; font-family: var(--sans); font-size: 14px; line-height: 1.4; color: var(--ink); }
.markets-map .leaflet-popup-content strong { display: block; font-size: 16px; font-weight: 600; }
.markets-map .leaflet-popup-content span { display: block; color: var(--muted); margin-bottom: 6px; }
.markets-map .leaflet-popup-content a { font-weight: 600; color: var(--link); }
.markets-map .leaflet-control-zoom a { color: var(--ink); }

.map-reset {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  border: 0; border-radius: 999px;
  padding: 10px 16px;
  background: var(--ink); color: var(--gold);
  font-weight: 600; font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 10px oklch(0.22 0.03 150 / .3);
}
.map-reset[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: oklch(0.85 0.02 140);
  display: flex; flex-wrap: wrap;
  gap: 12px 24px; justify-content: space-between; align-items: center;
  padding: 28px var(--gutter);
  font-size: 15px;
}

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  :root { --section-y: 64px; }
  .site-nav { gap: 20px; order: 3; width: 100%; }
  .hero { padding-top: 32px; }
  .hero-copy { padding-bottom: 32px; }
  .hero-lede { font-size: 18px; }
  .live-note { padding: 0; }
  .hero-photos { grid-template-rows: 150px 180px; }
  .deal-size { width: auto; flex: 1 1 auto; }
  .deal-price { width: auto; }
  .quote-panel { position: static; padding: 24px; }
  .pickup-photo { min-height: 320px; }
}
