:root{color-scheme:light;--ink:#102c32;--muted:#426168;--line:#ccd9d9;--white:#fff;--paper:#f5f8f6;--dark:#103c40;--mint:#c3edc5;--accent:#205d56;font-family:system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--paper);line-height:1.55}
*{box-sizing:border-box}
body{margin:0}
.wrap{width:min(100% - 3rem,73rem);margin-inline:auto}
.site-header{background:var(--white);border-bottom:1px solid var(--line)}
.header,.footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4.25rem}
.wordmark{text-decoration:none;color:var(--ink);font-size:1.7rem;font-weight:850;letter-spacing:-.07em}
.wordmark span{color:#277568}
nav{display:flex;gap:1.25rem;flex-wrap:wrap}
nav a,.crumb{font-size:.9rem;font-weight:700}
a{color:var(--accent);text-underline-offset:.2em}
:focus-visible{outline:3px solid #c65d22;outline-offset:4px}
.skip{position:absolute;left:.5rem;top:.5rem;z-index:2;background:white;padding:.5rem;transform:translateY(-200%)}
.skip:focus{transform:translateY(0)}
.hero{background:var(--dark);color:var(--white);position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;width:26rem;height:26rem;right:4%;top:-3rem;border:1px solid #508477;border-radius:50%;box-shadow:0 0 0 2.5rem #244e50,0 0 0 2.6rem #508477,0 0 0 5rem #244e50;pointer-events:none;opacity:.45}
.hero-inner{position:relative;z-index:1;padding-block:4.5rem}
.hero h1{max-width:17ch}
.hero p{max-width:37rem;color:#deefea;font-size:1.1rem;margin-bottom:1.6rem}
.hero a{color:var(--mint)}
h1,h2,h3{line-height:1.12;margin:0 0 .75rem;letter-spacing:-.04em}
h1{font-size:clamp(2.2rem,6vw,4.65rem);font-weight:820}
h2{font-size:clamp(1.45rem,3vw,2.2rem)}
h3{font-size:1.18rem}
p{margin:.5rem 0 1rem}
.section{padding-block:2.7rem}
.narrow{max-width:45rem;min-height:55vh}
.narrow h1,.profile h1{font-size:clamp(2rem,5vw,3.35rem)}
.search,.filters,.actions{display:flex;align-items:end;gap:.65rem;flex-wrap:wrap}
.search{max-width:43rem}
.search input{flex:1;min-width:13rem}
.search button,.primary{background:var(--mint);color:var(--ink);border-color:transparent}
button,.button,input,select,textarea{font:inherit;border:1px solid #789390;border-radius:.55rem;padding:.62rem .85rem;min-height:2.75rem}
input,select,textarea{background:white;color:var(--ink)}
button,.button{display:inline-block;background:var(--dark);color:white;font-weight:700;text-decoration:none;cursor:pointer}
button:hover,.button:hover{filter:brightness(.92)}
label{font-weight:650}
.filters label,.stack label{display:grid;gap:.35rem}
.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}
.filters{padding:1rem 0 1.4rem}
.filters a{align-self:center}
.category-grid,.supplier-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.supplier-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.category{display:grid;align-content:start;gap:.35rem;min-height:10rem;border-radius:.85rem;padding:1.1rem;text-decoration:none;background:#e5eee7;color:var(--ink);border:1px solid #d0ddd5}
.category:nth-child(3n+2){background:#e6edfa;border-color:#d4dded}
.category:nth-child(3n){background:#f5e5da;border-color:#e9d6c8}
.category:hover{border-color:var(--accent)}
.category-mark{font-size:2rem;line-height:1}
.category small,.muted{color:var(--muted);font-size:.875rem}
.card,.empty,.message,.image-slot{background:white;border:1px solid var(--line);padding:1.2rem;border-radius:.8rem}
.card h3{margin-top:.45rem}
.card .button{margin-top:.7rem}
.pills{display:flex;gap:.35rem;flex-wrap:wrap;margin:.8rem 0}
.pills span{background:#e5eee7;border-radius:2rem;padding:.22rem .65rem;font-size:.875rem}
dl{margin:.8rem 0}
dl div{display:grid;grid-template-columns:minmax(6rem,1fr) 1fr;gap:.5rem;border-top:1px solid var(--line);padding:.45rem 0}
dt{font-weight:700}dd{margin:0}
.profile{display:grid;grid-template-columns:1.1fr 1fr;gap:2rem;margin-top:1rem}
.profile .primary{margin:.4rem 0 1.5rem}
.gallery-main,.placeholder{width:100%;aspect-ratio:4/3;border-radius:.85rem;overflow:hidden;background:#e1ece6}
.gallery-main img{width:100%;height:100%;object-fit:contain;display:block}
.placeholder{display:grid;align-content:center;justify-items:center;color:var(--muted)}
.placeholder span{font-size:5rem;line-height:1}
.gallery-nav{display:flex;gap:.4rem;overflow-x:auto;margin-block:.65rem;padding:.2rem}
.gallery-nav button{padding:.25rem .45rem;background:white;color:var(--ink);flex:none}
.gallery-nav button[aria-pressed=true]{border:2px solid var(--accent)}
.gallery-nav img,.image-slot img{display:block;object-fit:cover;border-radius:.2rem}
.stack{display:grid;gap:.7rem;justify-items:start}
.stack textarea,.stack>input,.stack>label,.stack>div:not(.trap){width:100%}
.stack input{max-width:100%}
.message{white-space:pre-wrap;overflow-wrap:anywhere;margin:1rem 0}
.message p{margin:.4rem 0 0}
.image-slot{margin-bottom:.75rem;min-width:0}
.image-slot label{margin:.6rem 0}
.image-slot button{margin:.15rem 0}
[hidden]{display:none!important}
.trap,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
footer{border-top:1px solid var(--line);background:white}
.footer p{margin:0;color:var(--muted)}
@media(max-width:55rem){.category-grid,.supplier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:40rem){.wrap{width:min(100% - 2rem,73rem)}.header{flex-wrap:wrap;padding:.65rem 0}.header nav{gap:.75rem}.hero-inner{padding-block:2.8rem}.hero:after{right:-70%;opacity:.3}.section{padding-block:1.8rem}.profile,.supplier-grid{grid-template-columns:1fr}.category{min-height:8rem;padding:.8rem}.category-grid{gap:.6rem}.filters label{flex:1 1 9rem}.footer{align-items:flex-start;flex-direction:column;padding:.8rem 0}}
.pager{margin-top:1rem;align-items:center}
button:disabled{opacity:.55;cursor:default}
.with-art{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:2rem;align-items:center;padding-block:3rem}
.hero-art{display:block;width:100%;height:auto;border-radius:1rem;box-shadow:0 18px 65px #092f34}
@media(max-width:48rem){.with-art{grid-template-columns:1fr;gap:1.35rem}.hero-art{max-height:15rem;object-fit:cover;object-position:center 52%}}

:root {
  --ink: #17252e;
  --muted: #4b5d65;
  --paper: #faf8f3;
  --line: #deded6;
  --dark: #183537;
  --accent: #20594f;
  --mint: #d8efb9;
}
body { background: var(--paper); }
.header { min-height: 4.75rem; }
.header nav { align-items: center; }
.header nav a { text-decoration: none; color: var(--ink); }
.header nav a:hover, .header nav a[aria-current] { text-decoration: underline; }
.nav-messages { border: 1px solid var(--line); border-radius: 99px; padding: .55rem .95rem; }
.hero { background: #f0eee4; color: var(--ink); border-bottom: 1px solid var(--line); }
.hero:after { display: none; }
.hero-inner { padding-block: clamp(2.25rem, 5vw, 4.2rem); }
.with-art { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.25rem, 4vw, 4rem); }
.hero h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; font-size: clamp(2.8rem, 6vw, 5.45rem); letter-spacing: -.065em; line-height: .99; }
.hero p { color: var(--muted); margin-top: 1rem; }
.hero a { color: var(--accent); }
.hero-art { border-radius: 1.15rem; box-shadow: none; aspect-ratio: 3 / 2; object-fit: cover; }
.search { align-items: stretch; }
.search input { min-width: min(100%, 14rem); }
.search button { background: var(--dark); color: white; }
.section-title { margin-bottom: .85rem; }
.section-title > a, .section-title > span { font-size: .9rem; color: var(--muted); }
.category { background: #e5ede1; min-height: 11.5rem; justify-items: start; grid-template-rows: auto auto 1fr auto; }
.category:nth-child(4n+2) { background: #e6edf1; border-color: #d8e1e5; }
.category:nth-child(4n+3) { background: #f5e6dc; border-color: #eddbcf; }
.category:nth-child(4n+4) { background: #efebda; border-color: #e3dfce; }
.category-mark { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: #fffc; border-radius: .7rem; margin-bottom: .2rem; }
.category-count { font-size: .875rem; color: var(--muted); padding-top: .4rem; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: .85rem; padding: 1rem; margin: 0 0 1.1rem; }
.filters label { flex: 1 1 10rem; }
.filters select { width: 100%; }
.supplier-grid { align-items: stretch; }
.card { display: flex; flex-direction: column; gap: .35rem; box-shadow: 0 2px 7px #192d2910; }
.card h3 { font-size: 1.35rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card-location, .card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.card-location { color: var(--muted); font-size: .875rem; }
.card-actions { margin-top: auto; padding-top: .55rem; }
.card-actions .button { margin: 0; }
.card .pills { margin: 0 0 .35rem; }
.card dd { overflow-wrap: anywhere; }
.profile .placeholder { background: #e5ede1; }
.profile .placeholder span { font-family: Georgia, serif; font-size: clamp(7rem, 17vw, 13rem); color: #527468; }
@media (max-width: 48rem) {
  .with-art { grid-template-columns: 1fr; }
  .hero-art { max-height: min(53vw, 20rem); }
  .section-title { flex-wrap: wrap; }
}
@media (max-width: 35rem) {
  .header { min-height: 4rem; gap: .45rem; }
  .wordmark { font-size: 1.45rem; }
  .header nav { gap: .65rem; }
  .header nav a { font-size: .83rem; }
  .nav-messages { padding: .35rem .55rem; }
  .search button { flex-grow: 1; }
  .category { min-height: 10.5rem; }
  .card-actions { justify-content: flex-start; }
}

/* Wholesale discovery */
:root {
  --ink: #202922;
  --muted: #526057;
  --line: #dce2da;
  --paper: #fafaf7;
  --dark: #183d31;
  --mint: #f4decf;
  --accent: #245743;
}
.wordmark { display: inline-flex; align-items: center; gap: .55rem; letter-spacing: -.055em; }
.brand-mark { width: 2rem; height: 2rem; flex: none; }
.nav-messages { background: #edf4ee; border-color: #d6e4d8; color: #183d31; }
.hero { color: var(--ink); background: #f0f3eb; }
.hero::after { display: none; }
.hero p { color: var(--muted); }
.hero a { color: var(--accent); }
.hero-inner { padding-block: clamp(2.25rem, 5vw, 4rem); }
.discovery-hero .with-art { display: block; text-align: center; max-width: 54rem; }
.discovery-hero h1, .discovery-hero p { max-width: none; }
.discovery-hero h1 { font-size: clamp(2.35rem, 6vw, 4.3rem); }
.discovery-hero .search { margin-inline: auto; max-width: 44rem; }
.hero .search button { background: #9d4128; color: #fff; }
.discovery-panel { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.25rem; padding-top: 1.5rem; }
.discovery-panel .hero-art { width: 100%; aspect-ratio: 2.25; height: 100%; max-height: 19rem; object-fit: cover; }
.discovery-links { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.25rem; }
.discovery-links h2 { font-size: 1.45rem; }
.discovery-links a { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.discovery-links a:hover { text-decoration: underline; }
.category { background: white; border: 1px solid var(--line); }
.category-mark { color: #245743; }
.card-products { background: #edf4ee; color: #234b39; padding: .55rem .7rem; border-radius: .5rem; font-weight: 700; font-size: .82rem; margin-bottom: .7rem; }
.card-actions .button { background: #245743; color: #fff; }
@media (max-width: 40rem) {
  .discovery-panel { grid-template-columns: 1fr; gap: .7rem; }
  .discovery-panel .hero-art { max-height: 12rem; }
}

/* Product-led category browsing */
:root { --ink: #20232b; --muted: #474e59; --line: #e0e3e8; --paper: #fff; --accent: #293449; }
body { font-family: Inter, system-ui, sans-serif; font-size: 1rem; }
.header nav a { font-size: .95rem; }
.hero { background: #f5f6f8; }
.hero .search button, .card-actions .button { background: #a13722; color: #fff; }
.discovery-hero .with-art { padding-block: 2rem; }
.discovery-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.045em; }
.category-grid { gap: 1.6rem 1.25rem; }
.category-grid .category { display: grid; justify-items: center; align-content: start; gap: .8rem; text-align: center; color: var(--ink); border: 0; background: transparent; box-shadow: none; min-height: 0; padding: .45rem .4rem 1rem; text-decoration: none; }
.category-photo { width: min(100%, 10rem); height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: .9rem; background: #f3f4f6; }
.category-grid .category strong { font-size: 1rem; line-height: 1.35; max-width: 20ch; }
.category-grid .category:hover { background: #f4f5f7; }
.category-grid .category:hover strong { text-decoration: underline; }
.card-products, .nav-messages { background: #f1f3f6; color: #293449; }
@media (max-width: 40rem) {
  .category-grid { gap: .85rem .5rem; }
  .category-photo { width: min(94%, 8.5rem); }
  .category-grid .category strong { font-size: .95rem; }
}
