/* Loco Beverages — design system
   Trade-house look: white and warm greys, burgundy, khaki and charcoal; Inter throughout. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --cream: #f8f4ec;
  --paper: #ffffff;
  --sand: #f0eadf;
  --stone: #cfc5b4;
  --line: #e6ddce;
  --ink: #252525;
  --ink-2: #45413d;
  --muted: #625d57;
  --clay: #6e1a2b;
  --clay-dark: #561322;
  --clay-ink: #7a1f31;
  --clay-soft: #f4e3e6;
  --agave: #5d5a45;
  --agave-dark: #48463a;
  --agave-soft: #ecebe3;
  --khaki: #77735d;
  --gold: #c9962e;
  --night: #252525;
  --night-2: #303030;
  --accent-light: #efc3cb;
  --focus: #1b6fd1;
  --ok: #2f6b3a;
  --warn-bg: #fbf1dc;
  --warn-line: #e3c27b;
  --error: #a3261b;
  --error-bg: #fbe9e6;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(34, 28, 23, .05), 0 8px 24px -12px rgba(34, 28, 23, .18);
  --shadow-lg: 0 2px 4px rgba(34, 28, 23, .06), 0 24px 48px -20px rgba(34, 28, 23, .28);
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.16' stroke-width='1.4'%3E%3Cpath d='M36 8c6 9 6 19 0 28-6-9-6-19 0-28zM36 64c-6-9-6-19 0-28 6 9 6 19 0 28zM8 36c9-6 19-6 28 0-9 6-19 6-28 0zM64 36c-9 6-19 6-28 0 9-6 19-6 28 0z'/%3E%3Ccircle cx='36' cy='36' r='4'/%3E%3Cpath d='M0 0l10 10M72 0 62 10M0 72l10-10M72 72 62 62'/%3E%3C/g%3E%3Cg fill='%23fff' fill-opacity='.16'%3E%3Ccircle cx='0' cy='36' r='2'/%3E%3Ccircle cx='72' cy='36' r='2'/%3E%3Ccircle cx='36' cy='0' r='2'/%3E%3Ccircle cx='36' cy='72' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

[data-tone="agave"] { --tone: #2e5e5b; --tone-soft: #dfeae5; }
[data-tone="clay"] { --tone: #a9481f; --tone-soft: #f3dfd2; }
[data-tone="sage"] { --tone: #56633f; --tone-soft: #e5e9da; }
[data-tone="amber"] { --tone: #93600f; --tone-soft: #f4e5c6; }
[data-tone="wine"] { --tone: #7a2e3a; --tone-soft: #f1dde0; }
[data-tone="copper"] { --tone: #8f5228; --tone-soft: #f1e0d1; }
[data-tone="cacao"] { --tone: #5b3a29; --tone-soft: #ebded5; }
[data-tone="coral"] { --tone: #a5432f; --tone-soft: #f5ddd5; }
[data-tone="sky"] { --tone: #2a5873; --tone-soft: #dbe7ee; }
[data-tone="mango"] { --tone: #8e6209; --tone-soft: #f6e8c7; }
[data-tone="teal"] { --tone: #1d6363; --tone-soft: #d8ebea; }
[data-tone="brand"] { --tone: #6e1a2b; --tone-soft: #f4e3e6; }
[data-tone="khaki"] { --tone: #77735d; --tone-soft: #ecebe3; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, .h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.15rem); }
h3, .h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
code { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: .88em; background: var(--sand); padding: .1em .4em; border-radius: 5px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.fine { font-size: .875rem; color: var(--muted); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 860px; }
.narrow-wide { max-width: 1000px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

/* ------------------------------------------------ icons & buttons */
.icon { flex: none; }
.btn { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-line: var(--stone); display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .65em 1.2em; border-radius: 3px; border: 1.5px solid var(--btn-line); background: var(--btn-bg); color: var(--btn-fg); font: 600 .97rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); color: var(--btn-fg); }
.btn:active { transform: none; }
.btn-primary { --btn-bg: var(--clay); --btn-fg: #fff; --btn-line: var(--clay); }
.btn-primary:hover { --btn-bg: var(--clay-dark); --btn-line: var(--clay-dark); color: #fff; }
.btn-secondary { --btn-bg: var(--agave); --btn-fg: #fff; --btn-line: var(--agave); }
.btn-secondary:hover { --btn-bg: var(--agave-dark); color: #fff; }
.btn-ghost { --btn-bg: transparent; --btn-line: var(--stone); }
.btn-ghost-light { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; --btn-line: rgba(255,255,255,.6); }
.btn-ghost-light:hover { --btn-bg: rgba(255,255,255,.18); color: #fff; }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-line: rgba(255,255,255,.8); }
.btn-outline-light:hover { --btn-bg: rgba(255,255,255,.14); color: #fff; }
.btn-square { border-radius: 2px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.btn-small { min-height: 40px; padding: .45em .95em; font-size: .9rem; }
.btn-large { min-height: 54px; padding: .8em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ------------------------------------------------ header: white brand bar + burgundy nav band */
.site-header { position: relative; z-index: 50; background: #fff; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.logo-mark { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: -.02em; }
.brand-sub { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .35em; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; margin-right: .4rem; color: var(--ink); font-size: 1.05rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--clay); }
.header-phone:hover { color: var(--clay-ink); text-decoration: underline; }
@media (max-width: 1000px) { .header-phone { display: none; } }
.lang-pills { display: flex; gap: .35rem; }
.lang-pill { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--clay); color: var(--clay-ink); font-size: .78rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
a.lang-pill:hover { background: var(--clay-soft); color: var(--clay-dark); }
.lang-pill.is-current { background: var(--clay); color: #fff; }
.quote-link { position: relative; }
.badge { display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; padding: 0 .35em; border-radius: 999px; background: #fff; color: var(--clay-ink); font-size: .78rem; font-weight: 700; letter-spacing: 0; }
.nav-toggle { display: none; align-items: center; gap: .4rem; background: #fff; border: 1.5px solid var(--stone); border-radius: 3px; padding: .5em .8em; font: 600 .95rem var(--font-body); color: var(--ink); cursor: pointer; min-height: 44px; }
.site-nav { background: var(--clay); }
.nav-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 clamp(1rem, 3.5vw, 3.25rem); list-style: none; margin: 0 auto; }
.nav-list a { display: block; padding: .62rem .1rem .5rem; border-bottom: 3px solid transparent; color: #fff; font-size: 1.02rem; font-weight: 500; text-decoration: none; }
.nav-list a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .55); }
.nav-list a[aria-current] { border-bottom-color: #fff; }
.site-nav :focus-visible { outline-color: #fff; }

@media (max-width: 860px) {
  .header-inner { min-height: 64px; gap: .6rem; }
  .logo-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.3rem; }
  .header-actions { gap: .45rem; }
  .lang-pill { width: 34px; height: 34px; }
  .lang-pill.is-current { display: none; }
  .quote-link { min-width: 44px; min-height: 44px; padding: .45em .7em; }
  .quote-link-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .55); }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; flex-wrap: nowrap; gap: 0; padding-top: .35rem; padding-bottom: .9rem; }
  .nav-list a { padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 1.08rem; }
  .nav-list a[aria-current] { border-bottom-color: rgba(255, 255, 255, .16); font-weight: 700; }
}
@media (max-width: 420px) { .brand-sub { display: none; } .nav-toggle-label { display: none; } }

/* ------------------------------------------------ breadcrumbs */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: .875rem; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: .35rem; opacity: .5; }
.breadcrumbs a { color: inherit; }
.page-hero .breadcrumbs a, .page-hero .breadcrumbs [aria-current] { color: rgba(255,255,255,.92); }
.container > .breadcrumbs { padding-top: 1.25rem; color: var(--ink-2); }

/* ------------------------------------------------ heroes */
.home-hero, .page-hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.home-hero { min-height: min(86vh, 760px); display: flex; align-items: flex-end; }
.home-hero-media, .page-hero-media { position: absolute; inset: 0; z-index: -2; }
.home-hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.home-hero::before, .page-hero.has-image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 26, 24, .5) 0%, rgba(20, 26, 24, .55) 40%, rgba(18, 22, 20, .9) 100%); }
.home-hero::before { background: linear-gradient(180deg, rgba(20, 26, 24, .2) 0%, rgba(20, 26, 24, .5) 45%, rgba(18, 22, 20, .9) 100%); }
.page-hero .breadcrumbs, .page-hero .eyebrow { text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.home-hero-inner { padding-top: 7rem; padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.home-hero h1 { color: #fff; max-width: 16ch; font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem); }
.home-hero .lead, .page-hero .lead { max-width: 62ch; color: rgba(255,255,255,.92); font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--clay-ink); margin-bottom: .9rem; }
.page-hero .eyebrow, .home-hero .eyebrow { color: var(--accent-light); }
.eyebrow a { color: inherit; text-decoration: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.page-hero { padding: 2.25rem 0 clamp(2.5rem, 5vw, 4rem); background-color: var(--tone, var(--agave)); }
.page-hero.has-image { min-height: 440px; display: flex; align-items: flex-end; }
/* A 20% shade keeps white text at ≥4.5:1 on every tone (checked for all [data-tone] values). */
.page-hero.is-pattern { background-image: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)), var(--pattern), radial-gradient(120% 140% at 85% 0%, rgba(255,255,255,.06), transparent 55%); background-size: auto, 72px 72px, auto; }
.page-hero.is-pattern .breadcrumbs, .page-hero.is-pattern .breadcrumbs a, .page-hero.is-pattern .breadcrumbs [aria-current], .page-hero.is-pattern .eyebrow { color: #fff; }
.page-hero h1 { color: #fff; max-width: 24ch; }
.page-hero .breadcrumbs { color: rgba(255,255,255,.85); }
.page-hero a { color: #fff; }
.hero-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); margin-bottom: 1.25rem; }
.muted-light { color: rgba(255,255,255,.75); font-weight: 400; }

/* ------------------------------------------------ sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tint { background: var(--sand); }
.section-dark { background: var(--night); color: #e9e3d8; }
.section-dark h2 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 2.25rem; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.block { margin: clamp(2.25rem, 5vw, 3.5rem) 0; }
.stat-band { background: var(--night); color: #fff; }
.stat-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
.stat-row li { background: var(--paper); padding: 1.1rem 1.25rem; display: flex; flex-direction: column; }
.stat-row strong { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.1; color: var(--clay-ink); }
.stat-row span { color: var(--muted); font-size: .9rem; }
.stat-row-hero { margin: 0; background: transparent; border: 0; border-radius: 0; gap: 0; }
.stat-row-hero li { background: transparent; padding: 1.6rem 1.25rem; border-left: 1px solid rgba(255,255,255,.12); }
.stat-row-hero li:first-child { border-left: 0; padding-left: 0; }
.stat-row-hero strong { color: var(--accent-light); }
.stat-row-hero span { color: rgba(255,255,255,.78); }
@media (max-width: 720px) {
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row-hero li { border-left: 0; padding-left: 0; padding: 1rem 0; }
}

/* ------------------------------------------------ cards & grids */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.card-grid-5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.card-grid-guides { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: 3rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); position: relative; }
.card h3, .card .h3 { margin-top: .9rem; }
.card p { color: var(--ink-2); margin-bottom: 0; font-size: .98rem; }
.card h3 a, .card .h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after, .card .h3 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.card:has(a:hover) { border-color: var(--stone); box-shadow: var(--shadow-lg); }
.card-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--clay-soft); color: var(--clay-ink); }
.card-more { display: inline-flex; align-items: center; gap: .35em; margin-top: 1rem; font-weight: 600; text-decoration: none; }
.card-guide .card-icon { background: var(--agave-soft); color: var(--agave); }

.cat-grid { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.cat-tile a { display: flex; flex-direction: column; height: 100%; padding: 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
.cat-tile a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--tone); color: var(--ink); }
.cat-tile-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--tone-soft); color: var(--tone); margin-bottom: 1rem; }
.cat-tile-name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
.cat-tile-desc { color: var(--ink-2); font-size: .93rem; margin: .5rem 0 1rem; flex: 1; }
.cat-tile-count { font-size: .85rem; font-weight: 700; color: var(--tone); }
.cat-grid-compact .cat-tile a { padding: 1.1rem 1.2rem; }
.cat-grid-compact .cat-tile-desc { display: none; }
.cat-grid-compact .cat-tile-icon { width: 46px; height: 46px; margin-bottom: .75rem; }

.process { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; counter-reset: step; }
.process li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; position: relative; }
.process-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--agave); color: #fff; font-family: var(--font-display); font-weight: 650; margin-bottom: .9rem; }
.process p { color: var(--ink-2); font-size: .96rem; margin: 0; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-reverse { grid-template-columns: 1fr 1.1fr; }
.split-media { margin: 0; border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
@media (max-width: 900px) { .split, .split-reverse { grid-template-columns: 1fr; } .split-reverse .split-media { order: 2; } }
.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .6rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list .icon { color: var(--agave); margin-top: .25em; }
.check-list-light .icon { color: var(--accent-light); }
.section-dark p, .section-dark li { color: #e4ddd0; }
.link-light { color: var(--accent-light); }
.link-light:hover { color: #fff; }
.dash-list { padding-left: 1.2em; margin: 0 0 1rem; }
.dash-list li { margin-bottom: .45rem; }

/* ------------------------------------------------ CTA band & footer */
.cta-band { background: var(--clay); background-image: var(--pattern); background-size: 72px; color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; margin-top: clamp(3rem, 6vw, 5rem); }
.section + .cta-band { margin-top: 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 60ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn-primary { --btn-bg: #fff; --btn-fg: var(--clay-dark); --btn-line: #fff; }
.cta-band .btn-primary:hover { --btn-bg: var(--cream); color: var(--clay-dark); }

.site-footer { background: var(--night); color: #c8c8c8; padding: 3.5rem 0 2rem; font-size: .95rem; }
.cta-band + .site-footer { margin-top: 0; }
main > :last-child:not(.cta-band) { margin-bottom: clamp(3rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.footer-col { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 1.75rem; min-width: 0; }
.footer-list.footer-cats { display: block; columns: 2; column-gap: 1.5rem; }
.footer-list.footer-cats li { break-inside: avoid; margin-bottom: .4rem; }
.footer-col .footer-list:last-child { margin-bottom: 0; }
.footer-brand p { color: #c2c2c2; max-width: 36ch; }
.brand-footer { color: #fff; margin-bottom: 1rem; }
.brand-footer:hover { color: #fff; }
.brand-footer .brand-sub { color: #b3b3b3; }
.brand-name { text-transform: uppercase; letter-spacing: .06em; }
.brand-sub { letter-spacing: .32em; }
.footer-loc { font-style: normal; color: #c2c2c2; line-height: 1.55; }
.footer-loc-label { color: var(--accent-light); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-h { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-light); margin: 0 0 .9rem; }
.footer-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .4rem; }
.site-footer a { color: #ececec; text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-loc { display: flex; gap: .5rem; align-items: flex-start; }
.footer-loc .icon { margin-top: .2em; color: var(--accent-light); }
.footer-fine { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.5rem; font-size: .82rem; color: #b0b0b0; }
.footer-fine p { max-width: 110ch; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: 1 / -1; } .footer-col-cats { border-left: 0; padding-left: 0; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.75rem 1.25rem; } .footer-col-cats { grid-column: 1 / -1; } .footer-col:nth-child(3) { border-left: 0; padding-left: 0; } .footer-col:nth-child(4) { padding-left: 1.25rem; } }

/* ------------------------------------------------ prose & layout */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; margin-top: 2.5rem; }
.two-col-even { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2.5rem 0; }
@media (max-width: 960px) { .two-col, .two-col-even { grid-template-columns: minmax(0, 1fr); } }
.two-col > *, .two-col-even > *, .product-layout > *, .split > *, .form-grid > *, .timeline-body, .cat-grid > *, .card-grid > * { min-width: 0; }
.side-panel { display: grid; gap: 1rem; position: sticky; top: 24px; }
@media (max-width: 960px) { .side-panel { position: static; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.panel h2 { font-size: 1.25rem; }
.panel-warn { background: var(--warn-bg); border-color: var(--warn-line); }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }
.prose li { margin-bottom: .4rem; }
.spec-list { padding-left: 1.2em; }
.spec-list li { margin-bottom: .55rem; }
.steps-list li { margin-bottom: .5rem; padding-left: .2rem; }
.callout { background: var(--agave-soft); border-left: 4px solid var(--agave); border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; margin: 1.5rem 0; }
.callout h3 { margin-top: 0; font-size: 1.15rem; }
.callout p { margin: 0; }
.guide-links, .link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.guide-links a { display: flex; gap: .6rem; align-items: flex-start; text-decoration: none; color: var(--ink); font-weight: 550; padding: .5rem; border-radius: 8px; }
.guide-links a:hover { background: var(--sand); }
.guide-links .icon { color: var(--agave); margin-top: .15em; }
.link-list a { font-weight: 550; }
.chip-list { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .45em; padding: .45em .85em; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 550; }
.chip span { color: var(--muted); font-weight: 500; font-size: .85em; }
.chip:hover { border-color: var(--clay); color: var(--clay-ink); }
.count-pill { display: inline-block; vertical-align: middle; font: 600 .85rem var(--font-body); background: var(--sand); color: var(--ink-2); padding: .3em .75em; border-radius: 999px; margin-left: .4rem; }

.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin: 1rem 0 1.5rem; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { text-align: left; padding: .9rem 1rem 0; font-weight: 600; color: var(--ink-2); }
th, td { text-align: left; vertical-align: top; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
thead th { background: var(--sand); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 600; }
.credits-table img { width: 160px; border-radius: 8px; }

.notice { display: flex; gap: .75rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1rem 0; }
.notice p { margin: 0; }
.notice .icon { color: var(--agave); margin-top: .1em; }
.notice-strong { background: var(--warn-bg); border-color: var(--warn-line); }
.notice-strong .icon { color: var(--clay-ink); }

/* ------------------------------------------------ timeline & compare */
.timeline { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.timeline li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.25rem; }
.timeline-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--clay); color: #fff; font: 650 1.4rem var(--font-display); position: relative; }
.timeline-body { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.timeline-body h2 { font-size: 1.5rem; }
.timeline-body > :last-child { margin-bottom: 0; }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: .6rem; } .timeline-num { width: 44px; height: 44px; font-size: 1.15rem; } }
.compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.compare-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; border-top: 4px solid var(--agave); }
.compare-item.is-order { border-top-color: var(--clay); }
.compare-item p { margin: 0; color: var(--ink-2); }
@media (max-width: 800px) { .compare { grid-template-columns: 1fr; } }

/* ------------------------------------------------ FAQ */
.faq-list { display: grid; gap: .65rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 1.2rem; top: .8rem; font: 400 1.5rem/1 var(--font-body); color: var(--clay-ink); }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--ink-2); }

/* ------------------------------------------------ product list rows */
.product-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .6rem; }
.prow { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: .9rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .8rem .9rem; transition: border-color .15s, box-shadow .15s; }
.prow:hover { border-color: var(--stone); box-shadow: var(--shadow); }
.prow-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--tone-soft); color: var(--tone); }
.prow-name { font-weight: 650; color: var(--ink); text-decoration: none; line-height: 1.35; display: block; }
.prow-name:hover { color: var(--clay-ink); text-decoration: underline; }
.prow-meta { margin: .2rem 0 0; display: flex; flex-wrap: wrap; gap: .15rem .5rem; color: var(--muted); font-size: .86rem; }
.prow-meta span:not(:last-child)::after { content: '·'; margin-left: .5rem; opacity: .6; }
@media (max-width: 600px) {
  .prow { grid-template-columns: 40px minmax(0, 1fr); }
  .prow-icon { width: 40px; height: 40px; }
  .prow .qbtn { grid-column: 1 / -1; justify-self: stretch; }
}

.qbtn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 46px; padding: .55em 1.1em; border-radius: 3px; border: 1.5px solid var(--clay); background: var(--paper); color: var(--clay-ink); font: 600 .95rem/1.2 var(--font-body); cursor: pointer; transition: background .15s, color .15s; width: 100%; }
.qbtn:hover { background: var(--clay-soft); }
.qbtn .qbtn-check { display: none; }
.qbtn[aria-pressed="true"] { background: var(--agave); border-color: var(--agave); color: #fff; }
.qbtn[aria-pressed="true"] .qbtn-plus { display: none; }
.qbtn[aria-pressed="true"] .qbtn-check { display: inline; }
.qbtn-small { width: auto; min-height: 42px; font-size: .88rem; padding: .45em .9em; white-space: nowrap; }

/* ------------------------------------------------ product page */
.product-page { padding-bottom: 1rem; }
.product-head { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; margin: .5rem 0 1rem; }
.product-head h1 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.9rem); }
.product-tile { aspect-ratio: 1; border-radius: 22px; background: var(--tone); background-image: var(--pattern); background-size: 54px; color: #fff; display: grid; place-items: center; align-content: center; gap: .6rem; text-align: center; padding: 1rem; box-shadow: var(--shadow-lg); }
.product-tile-label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.product-brand { color: var(--ink-2); margin-bottom: .6rem; }
@media (max-width: 640px) { .product-head { grid-template-columns: 1fr; } .product-tile { width: 112px; border-radius: 18px; } .product-tile .icon { width: 40px; height: 40px; } .product-tile-label { display: none; } }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.product-aside { position: sticky; top: 24px; }
@media (max-width: 960px) { .product-layout { grid-template-columns: minmax(0, 1fr); } .product-aside { position: static; order: -1; } }
.product-main .block:first-child { margin-top: 1.5rem; }
.quote-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); display: grid; gap: .85rem; margin-top: 1.5rem; }
.quote-box h2 { font-size: 1.3rem; margin: 0; }
.quote-box p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.quote-box .fine { font-size: .82rem; }
.spec-list-dl { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.spec-row { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { font-weight: 600; color: var(--ink-2); font-size: .93rem; }
.spec-row dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .spec-row { grid-template-columns: 1fr; gap: .15rem; } }
.notes-list { padding-left: 1.2em; }
.evidence-box { background: var(--agave-soft); border-radius: var(--radius); padding: 1.5rem; }
.evidence-box h2 { font-size: 1.3rem; }
.evidence-item { margin-bottom: 1rem; }
.evidence-label { display: flex; gap: .5rem; align-items: center; margin-bottom: .3rem; }
.evidence-label .icon { color: var(--agave); }
.related h2 { font-size: 1.4rem; }
.trademark { margin-top: 2rem; max-width: 90ch; }

/* ------------------------------------------------ catalog app */
.catalog-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .9rem 1rem; align-items: end; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.search-field { min-width: 0; }
.search-input { display: flex; align-items: center; gap: .5rem; border: 1.5px solid var(--stone); border-radius: 12px; padding: 0 .85rem; background: #fff; }
.search-input:focus-within { border-color: var(--agave); box-shadow: 0 0 0 3px rgba(93,90,69,.18); }
.search-input .icon { color: var(--muted); }
.search-input input { border: 0; outline: 0; background: transparent; font: inherit; padding: .75rem 0; width: 100%; min-width: 0; }
.filters { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: .8rem; }
.filters-toggle { display: none; }
.filter-reset { display: flex; align-items: end; }
.filter-reset .btn { width: 100%; }
@media (max-width: 760px) {
  .filters-toggle { display: inline-flex; }
  .filters { display: none; }
  .filters.is-open { display: grid; }
}
.results-count { font-weight: 600; color: var(--ink-2); margin: .5rem 0 1rem; }
.empty-state { background: var(--paper); border: 1.5px dashed var(--stone); border-radius: var(--radius); padding: 2rem; text-align: center; margin: 1rem 0 2rem; }
.empty-state h3 { margin-top: 0; }
.load-error { background: var(--error-bg); border: 1px solid #e4b4ad; border-radius: var(--radius); padding: 1rem 1.2rem; }
.how-panel ul { margin-bottom: .75rem; }

/* ------------------------------------------------ pagination */
.pagination { margin: 1.5rem 0 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.pagination-status { margin: 0; color: var(--muted); font-size: .92rem; }
.pagination ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.pagination a, .pagination span[aria-current] { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 .7rem; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination a:hover { border-color: var(--clay); color: var(--clay-ink); }
.pagination span[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .gap { display: inline-grid; place-items: center; min-width: 24px; color: var(--muted); }

/* ------------------------------------------------ forms */
.field-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--ink); }
.field-help { font-size: .85rem; color: var(--muted); margin: -.1rem 0 .4rem; }
.input, .select { width: 100%; min-height: 48px; border: 1.5px solid var(--stone); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; padding: .6rem .8rem; }
.select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23463c34' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus { outline: none; border-color: var(--agave); box-shadow: 0 0 0 3px rgba(93,90,69,.2); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(163,38,27,.12); }
.field-error { color: var(--error); font-size: .88rem; font-weight: 600; margin: .35rem 0 0; }
.req { color: var(--error); }
.rfq-wrap { max-width: 980px; padding-top: 1rem; }
.rfq-form { margin-top: 1.5rem; }
.form-section { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 1.5rem; margin: 0 0 1.25rem; min-width: 0; }
.form-section > legend { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; padding: 0 .4rem; display: flex; align-items: center; gap: .6rem; }
.step-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--agave); color: #fff; font-size: .95rem; font-family: var(--font-body); font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.form-grid .field-wide, .form-grid [data-field="requirements"] { grid-column: 1 / -1; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } .form-section { padding: 1.1rem; } }
.field { min-width: 0; }
.checks { border: 0; padding: 0; margin: 0; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: .5rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--agave); flex: none; }
.check-strong { background: var(--warn-bg); border-color: var(--warn-line); padding: .9rem 1rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error-summary { background: var(--error-bg); border: 2px solid var(--error); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1.25rem; }
.error-summary h2 { font-size: 1.15rem; color: var(--error); margin-bottom: .5rem; }
.error-summary ul { margin: 0; }
.error-summary a { color: var(--error); font-weight: 600; }

.qitems { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .75rem; }
.qitem { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; background: #fff; }
.qitem-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: .75rem; }
.qitem-name { font-weight: 650; }
.qitem-name a { color: var(--ink); }
.qitem-meta { font-size: .85rem; color: var(--muted); }
.qitem-grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: .75rem; }
.qitem-grid .qitem-variant { grid-column: 1 / -1; }
@media (max-width: 640px) { .qitem-grid { grid-template-columns: 1fr 1fr; } .qitem-grid .qitem-notes { grid-column: 1 / -1; } }
.qitem-remove { flex: none; }

.result-panel { background: var(--paper); border: 2px solid var(--agave); border-radius: var(--radius); padding: 1.75rem; margin: 1.5rem 0; box-shadow: var(--shadow-lg); }
.result-panel.is-offline { border-color: var(--warn-line); background: var(--warn-bg); }
.result-panel.is-error { border-color: var(--error); background: var(--error-bg); }
.result-panel:focus { outline: 3px solid var(--focus); }
.result-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0; }
.summary-preview summary { cursor: pointer; font-weight: 600; }
.summary-preview pre { white-space: pre-wrap; word-break: break-word; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1rem; font-size: .85rem; max-height: 420px; overflow: auto; }

/* ------------------------------------------------ toast */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 550; z-index: 80; max-width: calc(100vw - 32px); transition: transform .25s ease, visibility .25s; }
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; }
.toast:empty { display: none; }

@media print {
  .site-header, .site-footer, .cta-band, .qbtn, .catalog-app, .toast { display: none !important; }
  body { background: #fff; }
  .page-hero, .home-hero { color: #000; background: none !important; }
  .page-hero h1, .page-hero .lead { color: #000; }
}

/* Keep anchor targets clear of the sticky header */
[id] { scroll-margin-top: 16px; }

@media (max-width: 600px) {
  .section { padding: 2.75rem 0; }
  .section-head { margin-bottom: 1.4rem; }
  .section-head p { font-size: 1rem; }
  .process { gap: .6rem; }
  .process li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: .85rem; padding: 1rem; }
  .process-num { margin: 0; }
  .process h3 { margin: .3rem 0 .25rem; font-size: 1.08rem; }
}
.split-media figcaption { padding: .55rem .9rem; font-size: .8rem; color: var(--muted); background: var(--paper); }

/* Sticky mobile call-to-action bar */
.mobile-cta { display: none; }
@media (max-width: 759px) {
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: .5rem; padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(34, 28, 23, .45); transition: transform .25s ease, visibility 0s; }
  .mobile-cta.is-hidden { transform: translateY(115%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
  .mobile-cta .btn { min-height: 48px; padding: .55em .9em; font-size: .95rem; }
  .mobile-cta-browse { flex: 0 0 auto; }
  .mobile-cta-quote { flex: 1; }
  .mobile-cta .badge { background: #fff; color: var(--clay-ink); }
  body.has-mobile-cta .site-footer { padding-bottom: calc(2rem + 70px + env(safe-area-inset-bottom)); }
  body.has-mobile-cta .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* Product pages on phones: action first */
@media (max-width: 640px) {
  .product-tile { display: none; }
  .product-head { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
  .product-head h1 { font-size: 1.85rem; }
  .product-head .lead { font-size: 1rem; line-height: 1.55; }
  .quote-box { margin-top: .5rem; padding: 1.15rem; }
  .quote-box p:not(.fine) { font-size: .9rem; }
}
@media (max-width: 759px) {
  .mobile-cta-product .qbtn { flex: 1; width: auto; min-height: 48px; font-size: .92rem; padding: .5em .7em; }
  .mobile-cta-product .mobile-cta-quote { flex: 1; }
}
.toast { width: max-content; max-width: calc(100vw - 32px); text-align: center; }

/* Product photos */
.prow { grid-template-columns: 72px minmax(0, 1fr) auto; }
.prow-media { display: block; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--tone-soft); }
.prow-photo { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) {
  .prow { grid-template-columns: 76px minmax(0, 1fr); }
  .prow-media { width: 76px; height: 76px; }
}
.product-head { grid-template-columns: 260px minmax(0, 1fr); }
.product-photo { margin: 0; }
.product-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: var(--tone-soft); box-shadow: var(--shadow-lg); }
.product-photo figcaption { margin-top: .5rem; font-size: .78rem; line-height: 1.4; color: var(--muted); }
@media (max-width: 640px) {
  .product-head { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .product-photo img { aspect-ratio: 4 / 3; max-height: 300px; border-radius: 16px; }
}
@media (max-width: 600px) {
  .catalog-controls { grid-template-columns: minmax(0, 1fr); }
  .filters-toggle { width: 100%; }
}

/* ================================================================
   Homepage — trade-house layout: tagline strip, photo hero, product
   mosaic, services panel, sourcing map, buyer questions, starter form
   ================================================================ */
.is-home main > :last-child { margin-bottom: 0; }
.home-h2 { text-transform: uppercase; font-weight: 500; letter-spacing: .01em; font-size: clamp(1.55rem, 1.05rem + 1.9vw, 2.6rem); line-height: 1.15; }
.home-head { text-align: center; max-width: 900px; margin: 0 auto clamp(1.75rem, 3vw, 2.5rem); }
.home-head p { color: var(--ink-2); font-size: clamp(1rem, .95rem + .25vw, 1.15rem); margin: 0; }

/* tagline strip with a downward notch */
.home-tagline { position: relative; z-index: 3; background: #111; color: #fff; text-align: center; }
.home-tagline p { margin: 0 auto; padding-top: .65rem; padding-bottom: .7rem; font-size: clamp(1.05rem, .85rem + .9vw, 1.7rem); font-weight: 400; letter-spacing: .005em; }
.home-tagline::after { content: ''; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border-left: 22px solid transparent; border-right: 22px solid transparent; border-top: 18px solid #111; }

/* product-shelf hero: real catalog products on a dark ground */
.home-hero { min-height: 0; display: block; background: radial-gradient(110% 90% at 82% 45%, #3b1520 0%, #1d1013 48%, #120b0c 100%); }
.home-hero::before { content: none; }
.home-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(2rem, 4.5vw, 4rem); align-items: center; padding-top: clamp(3.25rem, 6vw, 5rem); padding-bottom: clamp(3rem, 5.5vw, 4.5rem); }
.home-hero h1 { max-width: 17ch; font-size: clamp(2.05rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.07; text-transform: uppercase; letter-spacing: 0; margin-bottom: .5em; }
.hero-shelf { margin: 0; }
.hero-shelf ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem .75rem; }
.shelf-item a { display: block; color: rgba(255, 255, 255, .88); text-decoration: none; border-radius: var(--radius); }
.shelf-item img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: #fff; box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .7); transition: transform .2s ease, box-shadow .2s ease; }
.shelf-label { display: block; margin-top: .4rem; font-size: .8rem; font-weight: 600; line-height: 1.3; }
.shelf-item a:hover img, .shelf-item a:focus-visible img { transform: translateY(-3px); box-shadow: 0 18px 34px -14px rgba(0, 0, 0, .8); }
.shelf-item a:hover .shelf-label { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-shelf figcaption { margin-top: 1rem; font-size: .9rem; }
.hero-shelf figcaption a { display: inline-flex; align-items: center; gap: .35rem; color: rgba(255, 255, 255, .9); text-underline-offset: 3px; }
.hero-shelf figcaption a:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .shelf-item img { transition: none; } .shelf-item a:hover img, .shelf-item a:focus-visible img { transform: none; } }
@media (max-width: 899px) {
  .home-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-shelf { max-width: 560px; }
}
.home-hero .lead { max-width: 60ch; font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); }
.home-hero .hero-actions { gap: 1rem; margin-top: 2rem; }
.hero-trust { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: rgba(255, 255, 255, .92); font-size: .93rem; font-weight: 500; }
.hero-trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust .icon { color: var(--accent-light); }

/* intro + product mosaic */
.home-intro { background: #fff; padding-top: clamp(3rem, 6vw, 4.75rem); }
/* Tiles show real products: lineups composed from product images (category name in the empty top
   third), brand tiles for categories without product photos, and the full-catalog tile. */
.mosaic { list-style: none; margin: 0; padding: 1px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.mosaic-tile { position: relative; aspect-ratio: 1; min-width: 0; }
.mosaic-tile.is-wide { grid-column: span 2; aspect-ratio: 2; }
.mosaic-tile a { position: absolute; inset: 0; display: block; overflow: hidden; background: #fff; color: var(--ink); text-align: center; text-decoration: none; }
.mosaic-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 100%; transition: transform .5s ease; }
.mosaic-tile a:hover img, .mosaic-tile a:focus-visible img { transform: scale(1.04); }
.mosaic-tile a:focus-visible { outline: 3px solid var(--focus); outline-offset: -4px; border-radius: 0; }
.mosaic-label { position: absolute; top: 0; left: 0; right: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: clamp(1rem, 2.2vw, 1.6rem) 1rem 0; }
.mosaic-name { max-width: 24ch; font-size: clamp(1.05rem, .78rem + .95vw, 1.6rem); font-weight: 600; line-height: 1.15; text-transform: uppercase; letter-spacing: .01em; transition: color .2s ease; }
.mosaic-count { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--clay-ink); }
.mosaic-tile a:hover .mosaic-name { color: var(--clay); }
.mosaic-tile.is-brands a { background: var(--cream); }
.mosaic-brands { position: absolute; left: 7%; right: 7%; top: 36%; bottom: 8%; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: .45rem; }
.mosaic-brands span { padding: .3rem .7rem; border: 1px solid var(--stone); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: clamp(.78rem, .66rem + .3vw, .92rem); font-weight: 600; line-height: 1.3; }
.mosaic-tile.is-all a { background: var(--clay); color: #fff; transition: background .2s ease; }
.mosaic-tile.is-all a:hover, .mosaic-tile.is-all a:focus-visible { background: var(--clay-dark); }
.mosaic-tile.is-all .mosaic-label { bottom: 0; justify-content: center; padding: 1rem; }
.mosaic-tile.is-all .mosaic-name, .mosaic-tile.is-all a:hover .mosaic-name, .mosaic-tile.is-all .mosaic-count { color: #fff; }
@media (prefers-reduced-motion: reduce) { .mosaic-tile img { transition: none; } .mosaic-tile a:hover img, .mosaic-tile a:focus-visible img { transform: none; } }

/* services: khaki panel + numbered grey cards */
.home-services { background: #fff; padding: 6px; }
.services-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 6px; }
.services-panel { background: var(--khaki); color: #fff; padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.services-panel .home-h2 { color: #fff; font-weight: 700; font-size: clamp(1.5rem, 1rem + 1.5vw, 2.3rem); }
.services-panel .home-h2::after { content: ''; display: block; width: 110px; height: 1px; margin-top: 1.1rem; background: rgba(255, 255, 255, .9); }
.services-panel p, .services-panel li { color: #fff; }
.services-points { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .55rem; }
.services-points li { display: flex; gap: .55rem; align-items: flex-start; }
.services-points .icon { margin-top: .25em; }
.services-link { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-weight: 600; }
.services-link:hover { color: #fff; }
.services-panel :focus-visible { outline-color: #fff; }
.services-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.services-steps { display: contents; list-style: none; margin: 0; padding: 0; }
.service-card { background: #dadad7; padding: clamp(1.25rem, 2.4vw, 2.1rem) clamp(1.1rem, 2vw, 1.7rem); min-width: 0; }
.service-card h3 { display: flex; gap: .45rem; margin-bottom: .75rem; color: #333; font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); font-weight: 700; line-height: 1.2; text-transform: uppercase; letter-spacing: .01em; }
.service-num { font-weight: 400; color: #555; }
.service-card p { margin: 0; color: #3b3b3b; font-size: .96rem; }
.service-card.is-cta { background: var(--clay); display: flex; flex-direction: column; align-items: flex-start; }
.service-card.is-cta h3, .service-card.is-cta p { color: #fff; }
.service-card.is-cta p { margin-bottom: 1.1rem; }
.service-card.is-cta .btn { --btn-bg: #fff; --btn-fg: var(--clay-dark); --btn-line: #fff; margin-top: auto; }
.service-card.is-cta .btn:hover { --btn-bg: var(--clay-soft); color: var(--clay-dark); }
.service-card.is-cta :focus-visible { outline-color: #fff; }

/* sourcing map */
.home-map { background: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.map-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); align-items: start; }
.map-list { background: #f6f6f5; padding: 1rem .75rem; min-width: 0; }
.map-list-title { margin: 0 0 .6rem; padding: 0 .5rem; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.map-list ul { list-style: none; margin: 0; padding: 0; }
.map-list a { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding: .45rem .5rem; border-radius: 2px; color: var(--ink-2); font-size: .95rem; text-decoration: none; }
.map-list a:hover, .map-list a.is-active { background: var(--clay); color: #fff; }
.map-count { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.map-list a:hover .map-count, .map-list a.is-active .map-count { color: #fff; }
.map-figure { margin: 0; min-width: 0; }
.mx-map { display: block; width: 100%; height: auto; }
.mx-states path { fill: #d6d5d1; stroke: #fff; stroke-width: 1; stroke-linejoin: round; transition: fill .2s; }
.mx-states path.l1 { fill: #c99ba5; }
.mx-states path.l2 { fill: #9a4657; }
.mx-states path.l3 { fill: var(--clay); }
.mx-states path.has-products { cursor: pointer; }
.mx-states path.is-active { fill: var(--gold); }
.mx-pin-halo { fill: rgba(255, 255, 255, .8); }
.mx-pin-dot { fill: #111; }
.map-figure figcaption { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .6rem; color: var(--ink-2); font-size: .9rem; }
.map-legend-pin { width: 12px; height: 12px; border-radius: 50%; background: #111; box-shadow: 0 0 0 4px #e3e3e0; }
.map-note { max-width: 82ch; margin: 1.75rem auto 0; color: var(--muted); font-size: .85rem; text-align: center; }

/* buyer questions */
.home-faq { background: #f3f3f1; padding: clamp(3rem, 6vw, 5rem) 0; }
.faq-cards { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.faq-card { background: #fff; border-top: 3px solid var(--clay); padding: 1.5rem; min-width: 0; }
.faq-card h3 { font-size: 1.08rem; line-height: 1.3; }
.faq-card p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* starter form */
.home-contact { background: #e7e7e4; padding: clamp(3rem, 6vw, 5rem) 0; }
.start-form { max-width: 980px; margin: 0 auto; }
.start-cats { margin: 1.4rem 0 1.1rem; }
.start-cats .check { background: #fff; }
.start-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem; margin: 1.6rem 0 1.2rem; padding: 0; color: var(--ink-2); font-weight: 500; }
.start-points li { display: inline-flex; align-items: center; gap: .4rem; }
.start-points .icon { color: var(--clay); }
.start-actions { display: flex; justify-content: center; }
.start-note { max-width: 72ch; margin: .9rem auto 0; color: var(--muted); font-size: .86rem; text-align: center; }
.start-fallback { text-align: center; margin: 0; }

@media (max-width: 1000px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .services-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) { .faq-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 820px) {
  .map-layout { grid-template-columns: minmax(0, 1fr); }
  .map-figure { order: -1; }
  .map-list ul { columns: 2; column-gap: .75rem; }
  .map-list li { break-inside: avoid; }
}
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic-name { font-size: .9rem; }
  .mosaic-count { font-size: .64rem; letter-spacing: .08em; }
  .mosaic-label { padding: .6rem .5rem 0; gap: .2rem; }
  .mosaic-tile.is-wide .mosaic-name { font-size: 1.05rem; }
  /* half-width tiles get a taller box on phones; the lineup sits at the bottom, under the name */
  .mosaic-tile:not(.is-wide) { aspect-ratio: 5 / 6; }
  .mosaic-tile.is-lineup:not(.is-wide) img { object-fit: contain; object-position: 50% 100%; }
  .mosaic-brands { top: 40%; gap: .3rem; }
  .mosaic-brands span { padding: .2rem .5rem; font-size: .7rem; }
}
@media (max-width: 600px) {
  .home-tagline { display: none; }
  .home-hero-inner { padding-top: 2.1rem; padding-bottom: 2rem; gap: 1.75rem; }
  /* phones: one swipeable row that bleeds to the screen edges */
  .hero-shelf ul { display: flex; gap: .65rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); margin: 0 calc(-1 * var(--gutter)); padding: .25rem var(--gutter) .5rem; }
  .shelf-item { flex: 0 0 36%; scroll-snap-align: start; }
  .shelf-label { font-size: .76rem; }
  .hero-shelf figcaption { margin-top: .6rem; }
  .home-hero h1 { font-size: 2rem; line-height: 1.08; }
  .home-hero .lead { font-size: 1rem; line-height: 1.55; margin-bottom: 0; }
  .home-hero .hero-actions { flex-direction: column; gap: .6rem; margin-top: 1.4rem; }
  .home-hero .hero-actions .btn { width: 100%; min-height: 52px; }
  .hero-trust { flex-direction: column; gap: .3rem; font-size: .88rem; margin-top: 1.1rem; }
  .services-cards { grid-template-columns: minmax(0, 1fr); }
  .service-card { padding: 1.15rem 1.1rem; }
  .services-panel { padding: 2rem 1.25rem; }
  .map-list ul { columns: 1; }
  .start-points { flex-direction: column; align-items: flex-start; gap: .4rem; width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
  .start-points li { align-items: flex-start; }
  .start-points .icon { margin-top: .2em; }
  .start-actions .btn { width: 100%; font-size: .92rem; letter-spacing: .02em; }
}

/* packaging & shipping formats */
.home-packaging { background: #fff; padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--line); }
.pack-heading { margin-bottom: .9rem; font-weight: 400; line-height: 1.2; }
.pack-kicker { display: block; color: #6f6f6f; font-size: clamp(1.25rem, .95rem + 1.2vw, 2.1rem); font-weight: 400; letter-spacing: .03em; text-transform: uppercase; }
.pack-title { display: block; margin-top: .35rem; color: var(--ink); font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.4rem); font-weight: 500; text-transform: uppercase; letter-spacing: .01em; }
.pack-qualifier { text-transform: none; font-weight: 400; letter-spacing: 0; }
.pack-group { margin-top: clamp(2rem, 4vw, 3rem); }
.pack-group-title { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.75rem; color: var(--clay-ink); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pack-group-title::before, .pack-group-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.pack-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1rem; }
.pack-item { display: flex; flex-direction: column; align-items: center; gap: .9rem; text-align: center; min-width: 0; }
.pack-icon { display: grid; place-items: center; width: 120px; height: 120px; border: 1.5px solid var(--clay); border-radius: 50%; background: #fff; color: var(--clay); }
.pack-icon .pack-svg { width: 90px; height: 90px; }
.pack-icon .pi-fill { fill: #fff; }
.pack-label { color: var(--clay-ink); font-size: clamp(1rem, .95rem + .2vw, 1.15rem); line-height: 1.3; }
.pack-note { max-width: 78ch; margin: clamp(2rem, 4vw, 2.75rem) auto 0; color: var(--muted); font-size: .9rem; text-align: center; }
.pack-note a { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
@media (max-width: 760px) {
  .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem .75rem; }
  .pack-icon { width: 96px; height: 96px; }
  .pack-icon .pack-svg { width: 72px; height: 72px; }
  .pack-group-title { gap: .6rem; font-size: .74rem; letter-spacing: .1em; }
}

/* trade account application */
.account-hint, .start-account { display: flex; align-items: flex-start; gap: .55rem; margin: 1rem 0; color: var(--ink-2); }
.account-hint .icon, .start-account .icon { flex: none; margin-top: .15em; color: var(--clay); }
.start-account { justify-content: center; margin: 1.5rem 0 0; }
.account-how { margin: 2.25rem 0; }
.account-how .process { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 1.25rem; }
.account-how .process h3 { font-size: 1.1rem; margin: 0 0 .35rem; }
.account-how .panel h3 { font-size: 1.1rem; }
.account-how .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.5rem; margin: 0; }
@media (max-width: 900px) { .account-how .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .account-how .process, .account-how .check-list { grid-template-columns: minmax(0, 1fr); } }

/* ================================================================
   Catalog browser — category pages and /catalog/
   ================================================================ */
.page-hero.is-compact { min-height: 0; padding-top: 1.75rem; padding-bottom: 2.25rem; }
.page-hero.is-compact.has-image { min-height: 360px; }
.page-hero.is-compact h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); margin-bottom: .4em; }
.page-hero.is-compact .lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); max-width: 60ch; }
.page-hero.is-compact .hero-actions { margin-top: 1.25rem; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 1.1rem 0 0; padding: 0; color: rgba(255, 255, 255, .92); font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: baseline; gap: .35rem; }
.hero-facts li + li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent-light); align-self: center; margin-right: .9rem; margin-left: -.5rem; }
.hero-facts strong { font-size: 1.1rem; color: #fff; }

.catalog-section { padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.catalog-head h2 { margin-bottom: 1rem; font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); }

.browser-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; min-height: 52px; margin-bottom: 1.25rem; }
.browser-search { flex: 1 1 320px; min-width: 0; }
.browser-search .search-input { background: #fff; border-radius: 6px; }
.browser-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.sort-field { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-2); }
.sort-field .select { width: auto; min-height: 44px; padding-top: .45rem; padding-bottom: .45rem; }
.view-toggle { display: inline-flex; border: 1.5px solid var(--stone); border-radius: 6px; overflow: hidden; background: #fff; }
.view-btn { display: grid; place-items: center; width: 44px; height: 42px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; }
.view-btn + .view-btn { border-left: 1.5px solid var(--stone); }
.view-btn[aria-pressed="true"] { background: var(--clay); color: #fff; }
.view-btn:focus-visible { outline-offset: -3px; }
.filters-open { display: none; }
.basket-open { position: relative; }

.browser-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
.browser-filters { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; overscroll-behavior: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .9rem 1rem .6rem; border-bottom: 1px solid var(--line); }
.sheet-head h3 { margin: 0; font-size: 1rem; }
.sheet-head h3:focus { outline: none; }
.sheet-close { display: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer; }
.sheet-close:hover { background: var(--sand); }
.sheet-foot { display: flex; gap: .5rem; padding: .75rem 1rem 1rem; }
.sheet-foot [data-show-results] { display: none; }
.sheet-foot [data-reset] { width: 100%; }
.facets { padding: 0 1rem; }
.facets-loading { margin: 1rem 0; color: var(--muted); font-size: .9rem; }
.facet { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: .9rem 0; min-width: 0; }
.facet-title { float: left; width: 100%; margin-top: .2rem; }
.facet-title + * { clear: both; }
.facet:last-of-type { border-bottom: 0; }
.facet-title { padding: 0; margin-bottom: .55rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.facet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.facet-opt { display: flex; align-items: center; gap: .55rem; min-height: 36px; padding: .15rem .3rem; border-radius: 4px; cursor: pointer; font-size: .93rem; line-height: 1.3; }
.facet-opt:hover { background: var(--sand); }
.facet-opt input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--clay); }
.facet-opt .facet-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.facet-opt .facet-count { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.facet-opt.is-zero { color: var(--muted); }
.facet-search { margin-bottom: .5rem; }
.facet-search .input { min-height: 40px; padding: .4rem .65rem; font-size: .92rem; }
.facet-more { margin-top: .35rem; padding: .35rem .3rem; border: 0; background: none; color: var(--clay-ink); font: 600 .88rem var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.facet-note { margin: .35rem 0 0; color: var(--muted); font-size: .82rem; }

.browser-status { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; margin-bottom: .6rem; }
.results-count { margin: 0; font-weight: 700; color: var(--ink); }
.results-range { margin: 0; color: var(--muted); font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: 0 0 .8rem; }
.fchip { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: .3rem .55rem .3rem .8rem; border: 1px solid var(--clay); border-radius: 999px; background: var(--clay-soft); color: var(--clay-dark); font: 600 .86rem var(--font-body); cursor: pointer; }
.fchip:hover { background: #ecd2d8; }
.fchip .icon { width: 16px; height: 16px; }
.chips-clear { border: 0; background: none; padding: .3rem .4rem; color: var(--clay-ink); font: 600 .86rem var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.results-note { margin: 0 0 1rem; color: var(--muted); font-size: .85rem; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.empty-state .chips { justify-content: center; }

/* product cards: grid + compact list */
.pgrid { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 1rem; }
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.pcard:hover { border-color: var(--stone); box-shadow: var(--shadow); }
.pcard:focus-within { border-color: var(--clay); }
.pcard-media { position: relative; aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.pcard-img { width: 100%; height: 100%; object-fit: cover; }
/* Images of the actual product are fitted whole (never cropped) on their own padding colour. */
.pcard-media.is-product { background: #fff; }
.pcard-media.is-product .pcard-img { object-fit: contain; }
.pcard-tag { position: absolute; left: .5rem; top: .5rem; padding: .15rem .5rem; border-radius: 999px; background: rgba(20, 16, 16, .78); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .02em; }
.pcard-body { display: flex; flex-direction: column; gap: .3rem; flex: 1; padding: .85rem .95rem .5rem; }
.pcard-brand { margin: 0; color: var(--clay-ink); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; overflow-wrap: anywhere; }
.pcard-name { margin: 0; font-size: 1.02rem; font-weight: 650; line-height: 1.3; letter-spacing: -.005em; }
.pcard-name a { color: var(--ink); text-decoration: none; }
.pcard-name a::after { content: ''; position: absolute; inset: 0; }
.pcard-name a:hover { color: var(--clay-ink); text-decoration: underline; }
.pcard-name a:focus-visible { outline: none; }
.pcard-name a:focus-visible::after { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: var(--radius); }
.pcard-specs { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: .2rem 0 0; padding: 0; }
.pcard-specs li { padding: .12rem .5rem; border-radius: 4px; background: var(--sand); color: var(--ink-2); font-size: .8rem; }
.pcard-specs .spec-expr { background: var(--clay-soft); color: var(--clay-dark); font-weight: 600; }
.pcard-foot { position: relative; z-index: 1; padding: .4rem .95rem .95rem; }
.pcard-foot .qbtn { width: 100%; }

.pgrid.is-list { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.pgrid.is-list .pcard { flex-direction: row; align-items: center; }
.pgrid.is-list .pcard-media { flex: none; width: 76px; aspect-ratio: 1; margin: .55rem 0 .55rem .55rem; border-radius: 6px; }
.pgrid.is-list .pcard-tag { left: 2px; right: 2px; top: auto; bottom: 2px; padding: 0 .15rem; border-radius: 4px; font-size: .58rem; text-align: center; letter-spacing: 0; }
.pgrid.is-list .pcard-body { padding: .55rem .9rem; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: .9rem; row-gap: .25rem; }
.pgrid.is-list .pcard-brand { width: 100%; }
.pgrid.is-list .pcard-name { font-size: 1rem; }
.pgrid.is-list .pcard-foot { padding: .55rem .9rem .55rem 0; }
.pgrid.is-list .pcard-foot .qbtn { width: auto; }
.pgrid-related { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }

/* buyer information strip */
.info-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(2rem, 4vw, 2.75rem) 0; }
.info-strip-title { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-ink); margin-bottom: 1.25rem; }
.info-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.info-grid li { display: flex; gap: .8rem; align-items: flex-start; min-width: 0; }
.info-grid .icon { flex: none; color: var(--clay); margin-top: .1rem; }
.info-grid h3 { font-size: 1rem; margin: 0 0 .25rem; }
.info-grid p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.info-more { margin: 1.25rem 0 0; }
.info-more a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }

/* guidance: lead + expandable sections */
.guidance { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.guidance-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.guidance-lead { font-size: 1.05rem; color: var(--ink-2); max-width: 70ch; }
.edu-list { display: grid; gap: .6rem; margin-top: 1.25rem; }
.edu { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.edu > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; cursor: pointer; list-style: none; }
.edu > summary::-webkit-details-marker { display: none; }
.edu > summary::after { content: '+'; flex: none; font-size: 1.5rem; line-height: 1; color: var(--clay-ink); }
.edu[open] > summary::after { content: '–'; }
.edu-title { margin: 0; font-size: 1.08rem; }
.edu-body { padding: 0 1.2rem 1.1rem; max-width: none; }
.guidance-side { display: grid; gap: 1rem; position: sticky; top: 16px; }
.guidance-side .panel h2 { font-size: 1.1rem; }

/* mobile bar for catalog pages */
@media (max-width: 759px) {
  .mobile-cta-catalog .btn { flex: 1; }
  .mobile-cta-catalog .btn-ghost { background: #fff; }
}

/* filter panel becomes a sheet below 1000px */
@media (max-width: 999px) {
  .filters-open { display: inline-flex; }
  .browser-layout { grid-template-columns: minmax(0, 1fr); }
  .browser-filters { display: none; position: fixed; inset: 0 auto 0 0; z-index: 95; width: min(420px, 100vw); max-height: none; height: 100%; border: 0; border-radius: 0; box-shadow: 0 0 0 100vmax rgba(20, 16, 16, .5); flex-direction: column; }
  .browser-filters.is-open { display: flex; }
  .browser-filters .facets { flex: 1; overflow: auto; }
  .sheet-close { display: grid; }
  .sheet-foot { border-top: 1px solid var(--line); background: #fff; }
  .sheet-foot [data-show-results] { display: inline-flex; flex: 1.4; }
  .sheet-foot [data-reset] { width: auto; flex: 1; }
  .guidance-grid { grid-template-columns: minmax(0, 1fr); }
  .guidance-side { position: static; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .browser-search { flex-basis: 100%; }
  .browser-tools { width: 100%; }
  .sort-field { flex: 1; }
  .sort-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sort-field .select { width: 100%; }
  .browser-tools .basket-open { display: none; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .pcard-body { padding: .65rem .7rem .35rem; }
  .pcard-name { font-size: .95rem; }
  .pcard-foot { padding: .35rem .7rem .7rem; }
  .pcard-foot .qbtn { font-size: .82rem; padding: .4em .5em; min-height: 40px; }
  .pgrid.is-list .pcard-media { width: 64px; }
  .pgrid.is-list .pcard { flex-wrap: wrap; }
  .pgrid.is-list .pcard-body { flex: 1 1 calc(100% - 90px); }
  .pgrid.is-list .pcard-foot { width: 100%; padding: 0 .7rem .7rem; }
  .pgrid.is-list .pcard-foot .qbtn { width: 100%; }
  .info-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .hero-facts { font-size: .88rem; gap: .3rem 1rem; }
  .hero-facts li + li::before { margin-right: .6rem; margin-left: -.3rem; }
}
body.sheet-open { overflow: hidden; }

/* ================================================================
   Quote basket drawer
   ================================================================ */
dialog.basket { width: min(460px, 100vw); max-width: 100vw; height: 100%; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: -20px 0 40px -20px rgba(0, 0, 0, .4); }
dialog.basket[open] { display: flex; flex-direction: column; }
dialog.basket::backdrop { background: rgba(20, 16, 16, .5); }
.basket-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.basket-head h2 { margin: 0; font-size: 1.2rem; }
.basket-head h2:focus { outline: none; }
.basket-head .sheet-close { display: grid; }
.basket-count { color: var(--muted); font-weight: 500; font-size: .95rem; }
.basket-scroll { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 1rem 1.1rem; }
.basket-foot { display: grid; gap: .5rem; padding: .9rem 1.1rem 1.1rem; border-top: 1px solid var(--line); background: #fff; }
.bitems { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .65rem; }
.bitem { border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem .8rem; background: #fff; }
.bitem-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.bitem-brand { margin: 0; color: var(--clay-ink); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bitem-name { margin: .1rem 0 0; font-weight: 650; line-height: 1.3; }
.bitem-name a { color: var(--ink); }
.bitem-remove { flex: none; min-height: 36px; padding: .25rem .6rem; border: 1px solid var(--stone); border-radius: 4px; background: #fff; color: var(--ink-2); font: 600 .82rem var(--font-body); cursor: pointer; }
.bitem-remove:hover { border-color: var(--clay); color: var(--clay-ink); }
.bitem-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: .5rem; margin-top: .6rem; }
.bitem-grid .bitem-variant { grid-column: 1 / -1; }
.bitem-grid .field-label { font-size: .8rem; margin-bottom: .2rem; }
.bitem-grid .input, .bitem-grid .select { min-height: 42px; padding-top: .4rem; padding-bottom: .4rem; font-size: .95rem; }
.basket-empty { text-align: center; padding: 1.5rem .5rem; }
.basket-form .field { margin-bottom: .85rem; }
.basket-lead { color: var(--ink-2); font-size: .95rem; }
.opt { color: var(--muted); font-weight: 500; }
.link-back { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .75rem; padding: .3rem 0; border: 0; background: none; color: var(--clay-ink); font: 600 .9rem var(--font-body); cursor: pointer; }
.link-back .icon { transform: scaleX(-1); }
.basket-form h3:focus, .basket-result:focus { outline: none; }
.basket-full { margin: .9rem 0; font-size: .9rem; }
.basket-full a { display: inline-flex; align-items: center; gap: .3rem; }
.basket-next { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius); background: var(--sand); font-size: .9rem; }
.basket-next h4 { margin: 0 0 .4rem; font-size: .95rem; }
.basket-next ol { margin: 0; padding-left: 1.2em; }
.basket-result { border-radius: var(--radius); padding: 1rem; background: var(--warn-bg); border: 2px solid var(--warn-line); }
.basket-result.is-online { background: var(--agave-soft); border-color: var(--agave); }
.basket-result.is-error { background: var(--error-bg); border-color: var(--error); }
.basket-result h3 { font-size: 1.1rem; }
.error-summary h4 { margin: 0 0 .4rem; color: var(--error); }
@media (max-width: 600px) { dialog.basket { width: 100vw; } }

/* ================================================================
   Product page (shared template)
   ================================================================ */
.pdp { padding-bottom: 1.5rem; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "head aside" "body aside"; column-gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
.pdp-head { grid-area: head; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); align-items: start; margin: .25rem 0 1.75rem; }
.pdp-aside { grid-area: aside; position: sticky; top: 16px; margin-top: .25rem; }
.pdp-body { grid-area: body; min-width: 0; }
.pdp-media { margin: 0; }
.pdp-media img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.pdp-media figcaption { margin-top: .5rem; font-size: .8rem; line-height: 1.45; color: var(--muted); }
.pdp-placeholder .ph-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; aspect-ratio: 1; padding: 1.25rem; border-radius: var(--radius); background: var(--tone-soft); color: var(--tone); text-align: center; border: 1px solid rgba(0, 0, 0, .04); }
.ph-brand { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.ph-name { font-size: 1.05rem; font-weight: 650; line-height: 1.3; color: var(--ink); max-width: 18ch; overflow-wrap: anywhere; }
.pdp-summary h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); margin-bottom: .35em; }
.pdp-summary .eyebrow { margin-bottom: .5rem; }
.pdp-brand { margin: 0 0 .75rem; color: var(--ink-2); }
.pdp-brand a { font-weight: 650; }
.pdp-intro { font-size: 1.05rem; line-height: 1.6; color: var(--ink); max-width: 66ch; }
.key-facts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; padding: 0; }
.key-facts li { display: flex; flex-direction: column; gap: .1rem; min-width: 0; max-width: 100%; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.kf-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kf-value { font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }

.quote-card { margin-top: 0; padding: 1.35rem; border: 1px solid var(--line); border-top: 4px solid var(--clay); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); display: grid; gap: .75rem; }
.quote-card h2 { margin: 0; font-size: 1.25rem; }
.qc-product { margin: 0; display: flex; flex-direction: column; line-height: 1.35; }
.qc-product span { color: var(--muted); font-size: .88rem; }
.qc-text { margin: 0; color: var(--ink-2); font-size: .92rem; }
.quote-card .btn { width: 100%; }
.qc-phone { display: flex; align-items: center; gap: .45rem; margin: 0; font-size: .9rem; color: var(--ink-2); }
.qc-phone .icon { color: var(--clay); }
.quote-card .fine { margin: 0; }

.pdp-section { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.pdp-section:first-child { border-top: 0; padding-top: 0; }
.pdp-section h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); margin-bottom: .85rem; }
.pdp-sub { font-size: 1.05rem; margin: 1.5rem 0 .6rem; }
.spec-table { margin: 0; }
.spec-table th { width: 38%; font-weight: 600; color: var(--ink-2); font-size: .93rem; background: #fcfaf6; }
.spec-table td { overflow-wrap: anywhere; }
.pdp-confirm .check-list .icon { color: var(--clay); }
.pdp-sources { margin: 1.6rem 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pdp-sources > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; cursor: pointer; list-style: none; font-weight: 650; }
.pdp-sources > summary::-webkit-details-marker { display: none; }
.pdp-sources > summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--clay-ink); }
.pdp-sources[open] > summary::after { content: '–'; }
.pdp-sources-body { padding: 0 1.2rem 1.1rem; font-size: .93rem; }
.pdp-sources dl { margin: 0 0 1rem; }
.pdp-sources dt { font-weight: 650; margin-top: .9rem; }
.pdp-sources dd { margin: .25rem 0 0; color: var(--ink-2); overflow-wrap: anywhere; }
.source-list { padding-left: 1.1em; margin: 0; display: grid; gap: .35rem; }
.pdp-related { margin-top: clamp(2rem, 4vw, 3rem); }
.pdp-related h2 { font-size: 1.35rem; }
.pcard-note { margin: .15rem 0 0; color: var(--muted); font-size: .8rem; }

@media (max-width: 999px) {
  .pdp-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "aside" "body"; }
  .pdp-aside { position: static; margin: 0 0 1.5rem; }
}
@media (max-width: 700px) {
  .pdp-head { grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-bottom: 1.25rem; }
  .pdp-media { max-width: 260px; }
  .pdp-placeholder .ph-inner { aspect-ratio: 16 / 9; }
  .pdp-placeholder { max-width: none; }
  .spec-table th { width: 42%; }
}
