/* ============================================================
   DIRECTION B — "Modern Charcoal"
   Crisp white body · dramatic charcoal bands · Archivo grotesque
   Amber-gold accents only · sharp 6px corners · hairline grid · flat/hard shadows
   ============================================================ */
:root {
  /* Surfaces */
  --bg: #FFFFFF;            /* white body */
  --bg-soft: #F4F3F1;      /* subtle off-white band (separates two white sections) */
  --card: #FFFFFF;
  --char: #161514;         /* deep charcoal band */
  --char-2: #211E1B;       /* raised surface on charcoal */
  --grid-line: rgba(255, 255, 255, .032);  /* hairline grid on charcoal bands */

  /* Ink on white */
  --ink: #17140F;          /* near-black headings + body */
  --ink-2: #4A443C;        /* secondary body (9.4:1) */
  --ink-3: #6F675C;        /* tertiary / small labels (5.5:1) */

  /* Ink on charcoal */
  --on-char: #FFFFFF;
  --on-char-2: #C9C4BC;    /* secondary on charcoal (10.8:1) */
  --on-char-3: #9A938A;    /* muted on charcoal (4.7:1) */

  /* Amber-gold */
  --gold: #C6892B;         /* brand amber — fills, borders, non-text accents on white */
  --gold-deep: #B0761F;    /* button/active hover */
  --gold-ink: #8A5E1A;     /* darker amber — small TEXT + links on white (5.7:1) */
  --gold-bright: #E7B24A;  /* bright amber — TEXT + accents on charcoal (9.6:1) */
  --gold-soft: #F6ECD9;    /* pale amber wash */

  --red: #C02626;

  --border: #E6E2DB;       /* hairline on white */
  --border-2: #D4CEC4;     /* stronger hairline */

  --radius: 6px;           /* sharp corners */
  --radius-sm: 4px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(22, 21, 20, .05);
  --shadow-md: 6px 6px 0 rgba(22, 21, 20, .07);   /* crisp hard offset */
  --shadow-pop: 10px 10px 0 rgba(22, 21, 20, .09);
  --shadow-dark: 0 14px 34px rgba(0, 0, 0, .5);   /* lift a light chip off charcoal */

  --tr: .18s ease;
  --f-head: 'Archivo', system-ui, -apple-system, sans-serif;
  --f-body: 'Archivo', system-ui, -apple-system, sans-serif;
  --f-ui: 'Archivo', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  font-family: var(--f-body);
  font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
/* No film grain in B (that is A's signature) */
body::after { content: none; display: none; }
::selection { background: var(--gold); color: var(--char); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

.skip-link {
  position: absolute; top: -100%; left: 12px; z-index: 100;
  background: var(--char); color: #fff; font-family: var(--f-ui); font-weight: 700;
  font-size: .85rem; padding: .8rem 1.2rem; border-radius: var(--radius);
  transition: top .15s ease-out;
}
.skip-link:focus { top: 12px; }

h1, h2 { font-family: var(--f-head); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; color: inherit; }
h3 { font-family: var(--f-ui); font-weight: 700; line-height: 1.3; letter-spacing: -.005em; color: inherit; }
h1 { font-size: clamp(2.5rem, 5.2vw, 3.95rem); text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.45rem); text-wrap: balance; letter-spacing: -.015em; }
h3 { font-size: 1.1rem; }
h1 em, h2 em { font-style: normal; color: var(--gold-ink); }
.hero h1 em, .cta-inner h2 em, .footer-tag em, .shop-hero h1 em { color: var(--gold-bright); }

.eyebrow {
  font-family: var(--f-ui); font-size: .74rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1rem;
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; flex: none; }
.hero .eyebrow, .map-band .eyebrow, .shop-hero .eyebrow { color: var(--gold-bright); }
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p { color: var(--ink-2); margin-top: .8rem; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; gap: 1rem; flex-wrap: wrap; }
.lede { margin-top: .8rem; color: var(--ink-2); }
.map-band .lede { color: var(--on-char-2); }

/* Buttons — uppercase, sharp, techy. Primary = amber fill + charcoal text everywhere. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--f-ui); font-weight: 700; font-size: .82rem;
  letter-spacing: .05em; text-transform: uppercase;
  padding: .9rem 1.7rem; border-radius: var(--radius); border: 1.5px solid transparent;
  transition: transform var(--tr), background var(--tr), box-shadow var(--tr), border-color var(--tr), color var(--tr);
  min-height: 48px;
}
.btn-gold { background: var(--gold); color: var(--char); }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--char); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--char); color: #fff; border-color: var(--char); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hero .btn-outline { border-color: rgba(255, 255, 255, .38); color: #fff; background: transparent; }
.hero .btn-outline:hover { background: #fff; color: var(--char); border-color: #fff; }
.btn svg { width: 16px; height: 16px; }
.btn:focus-visible, a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: var(--radius-sm); }

/* Header — crisp white so the dark wordmark reads; hairline base rule */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  font-family: var(--f-ui); font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-2);
  display: inline-flex; align-items: center; min-height: 44px; transition: color var(--tr);
}
.nav a:hover, .nav a.active { color: var(--gold-ink); }
.nav .btn { padding: .55rem 1.25rem; min-height: 44px; }
.burger { display: none; background: none; border: none; width: 44px; height: 44px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: var(--tr); }

/* Hero — dramatic charcoal band with hairline grid + faint amber glow */
.hero {
  position: relative; overflow: hidden; padding: 112px 0 120px;
  color: var(--on-char);
  background-color: var(--char);
  background-image:
    radial-gradient(90% 75% at 100% -12%, rgba(198, 137, 43, .13), transparent 60%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: auto, 62px 62px, 62px 62px;
  background-position: center, center, center;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 4rem; align-items: center; position: relative; }
.hero-sub { margin: 1.4rem 0 2rem; font-size: 1.13rem; color: var(--on-char-2); max-width: 480px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero visual — "Loading Dock" line-art: boxes flowing via an animated dash trail
   into the destination square (the site's amber double-outline motif, reused here
   as the trail's endpoint rather than a standalone decorative shape). */
.hero-visual { position: relative; }
.ld-wrap { position: relative; height: 380px; }
.ld-dash { stroke-dasharray: 6 10; animation: ld-flow 2.4s linear infinite; }
@keyframes ld-flow { to { stroke-dashoffset: -32; } }

/* Brands marquee — off-white band, white sharp-cornered tiles, two counter-scrolling rows */
.brands { background: var(--bg-soft); border-block: 1px solid var(--border); overflow: hidden; padding-bottom: 84px; }
.marquee { position: relative; display: grid; gap: 1rem; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-soft), transparent); }
.mq-row { overflow: hidden; }
.mq-track { display: flex; gap: 1rem; width: max-content; }
.mq-dup { display: flex; gap: 1rem; }
.mq-left .mq-track { animation: mq-left 48s linear infinite; }
.mq-right .mq-track { animation: mq-right 60s linear infinite; }
.marquee:hover .mq-track, .marquee.paused .mq-track, .mq-track:focus-within { animation-play-state: paused; }
@keyframes mq-left { to { transform: translateX(calc(-50% - .5rem)); } }
@keyframes mq-right { from { transform: translateX(calc(-50% - .5rem)); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .mq-dup { display: none; }
  .marquee::before, .marquee::after { display: none; }
}
.brand-tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem;
  background: var(--card); border: 1px solid var(--border-2); border-radius: var(--radius);
  padding: 1.5rem 1rem; width: 196px; flex: none;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
/* Full color by default (owner request 2026-08-05) — no grayscale-until-hover. */
.brand-tile img { height: 56px; width: auto; max-width: 82%; object-fit: contain; }
.bt-sheen { position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(231, 178, 74, .38), transparent); transition: left .5s ease; }
.brand-tile:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.brand-tile:hover .bt-sheen { left: 120%; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 4rem; }
.svc-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.9rem; transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr); }
.svc-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.svc-icon { width: 46px; height: 46px; border-radius: var(--radius); background: var(--char); display: grid; place-items: center; margin-bottom: 1.2rem; color: var(--gold-bright); transition: background var(--tr), color var(--tr); }
.svc-icon svg { width: 22px; height: 22px; }
.svc-card:hover .svc-icon { background: var(--gold); color: var(--char); }
.svc-card p { color: var(--ink-2); font-size: .97rem; margin-top: .5rem; }

/* Steps */
.steps-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.steps-col { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.2rem; }
.steps-col h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; font-size: 1.22rem; }
.step { display: flex; gap: 1rem; padding: .8rem 0; }
.step + .step { border-top: 1px solid var(--border); }
.step-n { font-family: var(--f-ui); font-weight: 800; color: var(--gold-ink); font-size: 1.05rem; width: 30px; flex: none; padding-top: .15rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.step b { font-family: var(--f-ui); font-weight: 700; display: block; }
.step p { font-size: .93rem; color: var(--ink-2); }

/* MAP band — charcoal, hairline grid */
.map-band {
  color: var(--on-char); border-block: 1px solid #000;
  background-color: var(--char);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 62px 62px;
}
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.map-grid ul { list-style: none; margin-top: 1.4rem; }
.map-grid li { display: flex; gap: .7rem; padding: .45rem 0; color: var(--on-char-2); }
.map-grid li b { color: #fff; }
.map-grid li svg { width: 20px; height: 20px; color: var(--gold-bright); flex: none; margin-top: .25rem; }

/* Featured products */
.featured-scroll { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

/* Product card (shared home + shop) */
.p-card {
  position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; cursor: pointer;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.p-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.p-img { position: relative; background: #fff; aspect-ratio: 1; display: grid; place-items: center; padding: 1.2rem; border-bottom: 1px solid var(--border); }
.p-img img { max-height: 100%; object-fit: contain; transition: transform .25s ease-out; }
.p-card:hover .p-img img { transform: scale(1.04); }
.p-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.p-brand { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.p-name { font-family: var(--f-ui); font-weight: 700; font-size: 1rem; line-height: 1.35; }
.p-rating { display: flex; align-items: center; gap: .45rem; font-size: .85rem; color: var(--ink-3); }
.stars { position: relative; display: inline-block; line-height: 1; font-size: .95rem; letter-spacing: 2px; color: #D6D3D1; }
.stars::before { content: "★★★★★"; }
.stars-fill { position: absolute; inset: 0; overflow: hidden; color: #E0A526; white-space: nowrap; }
.stars-fill::before { content: "★★★★★"; letter-spacing: 2px; }
.p-price { font-family: var(--f-head); font-weight: 800; font-size: 1.25rem; margin-top: .2rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }

/* Shop page — white body; charcoal hero band up top */
.shop-page { background: #fff; }
.shop-hero {
  padding: 64px 0 40px; color: var(--on-char);
  background-color: var(--char);
  background-image:
    radial-gradient(80% 90% at 100% 0, rgba(198, 137, 43, .12), transparent 60%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: auto, 62px 62px, 62px 62px;
}
.shop-hero p { color: var(--on-char-2); max-width: 560px; margin-top: .8rem; }
.shop-nav { position: sticky; top: 76px; z-index: 40; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); padding: .8rem 0; border-bottom: 1px solid var(--border); }
.shop-nav .chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip {
  font-family: var(--f-ui); font-size: .8rem; font-weight: 600; letter-spacing: .03em; min-height: 44px;
  display: inline-flex; align-items: center;
  padding: .5rem 1rem; border-radius: var(--radius); border: 1px solid var(--border-2);
  background: var(--card); color: var(--ink-2); transition: var(--tr);
}
.chip:hover { border-color: var(--gold); color: var(--gold-ink); }
.chip.active { background: var(--char); border-color: var(--char); color: #fff; }
.brand-block { padding: 3rem 0 1rem; scroll-margin-top: 140px; }
/* Thin sections (1-2 products) get a tint band + extra breathing room instead of
   stretching a lone card across a 4-up grid — the empty space moves from beside
   the card (reads as missing content) to around the section (reads as a pause). */
.brand-block.thin { background: var(--bg-soft); border-radius: var(--radius); padding: 3.5rem 1.5rem 2.5rem; margin-bottom: 1rem; }
.bb-head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.6rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--border); }
.bb-logo { height: 52px; width: auto; max-width: 160px; object-fit: contain; }
.bb-name { font-size: 1.55rem; }
.bb-count { font-family: var(--f-ui); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
/* Shop page per-brand grids: only ever create as many columns as there are
   products — no empty trailing tracks for brands with fewer than 4 listings. */
.brand-block .shop-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 260px)); justify-content: start; }
.coming-soon { padding: 3.5rem 0 5rem; margin-top: 2rem; border-top: 1px solid var(--border); }
.cs-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.4rem; color: var(--ink-2); }
.cs-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.cs-tile { display: flex; flex-direction: column; align-items: center; gap: .5rem; width: 160px; padding: 1.4rem 1rem; border: 1px dashed var(--border-2); border-radius: var(--radius); background: var(--bg-soft); }
.cs-tile img { height: 44px; object-fit: contain; filter: grayscale(1); opacity: .5; }
.cs-tile span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }

/* CTA band — charcoal, hairline grid */
.cta-band {
  color: #fff;
  background-color: var(--char);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 62px 62px;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 em { color: var(--gold-bright); }
.cta-inner p { color: var(--on-char-2); margin-top: .6rem; max-width: 480px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-lede { margin: 1rem 0 1.6rem; color: var(--ink-2); }
.contact-info a.mail { font-family: var(--f-ui); font-weight: 700; font-size: 1.18rem; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.form { display: grid; gap: 1rem; }
.form label { font-family: var(--f-ui); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); display: grid; gap: .4rem; }
.form input, .form textarea { font: inherit; font-size: .95rem; text-transform: none; letter-spacing: normal; font-weight: 400; padding: .8rem .9rem; min-height: 48px; border-radius: var(--radius); border: 1px solid var(--border-2); background: var(--card); color: var(--ink); width: 100%; transition: border-color var(--tr), box-shadow var(--tr); }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198, 137, 43, .18); }
.form-status { font-family: var(--f-ui); font-weight: 600; color: var(--gold-ink); }
.form-status--error { color: var(--red); }

/* Footer — charcoal band, white-knockout wordmark, gold top rule */
.site-footer { background: var(--char); color: var(--on-char-2); border-top: 3px solid var(--gold); padding: 3.2rem 0 2rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.footer-grid .logo img { height: 38px; filter: brightness(0) invert(1); opacity: .92; }
.footer-tag { font-family: var(--f-ui); font-weight: 600; font-size: 1.02rem; color: var(--on-char-2); margin-top: .9rem; }
.footer-tag em { font-style: normal; color: var(--gold-bright); }
.footer-mail { display: block; margin-top: .5rem; font-size: .9rem; color: var(--gold-bright); }
.footer-links { display: flex; gap: 1.6rem; }
.footer-links a { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--on-char-2); display: inline-flex; align-items: center; min-height: 44px; transition: color var(--tr); }
.footer-links a:hover { color: var(--gold-bright); }
.footer-note { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: var(--on-char-3); }

/* Shared product-media/info classes — originally the product modal, now reused as the
   PDP's inner layout (see .pdp-panel below for the page-level wrapper that replaced
   the old .pm-overlay/.pm modal chrome). */
.pm-inner { display: grid; grid-template-columns: 1fr 1.1fr; }
.pm-media { background: #fff; display: grid; place-items: center; align-content: center; gap: 1rem; padding: 2.6rem; border-right: 1px solid var(--border); }
/* aspect-ratio reserves the hero image's box before it loads (no CLS on the info column) */
.pm-media > img { width: 100%; aspect-ratio: 1; max-height: 460px; object-fit: contain; }
.pm-thumbs { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.pm-thumb { width: 48px; height: 48px; padding: 5px; border-radius: var(--radius-sm); border: 1.5px solid var(--border-2); background: #fff; transition: var(--tr); }
.pm-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pm-thumb:hover { border-color: var(--gold); }
.pm-thumb.active { border-color: var(--gold); background: var(--gold-soft); }
.pm-info { padding: 2.2rem 2.4rem; display: flex; flex-direction: column; gap: .8rem; }
.pm-info .p-brand { color: var(--gold-ink); }
.pm-title { font-family: var(--f-head); font-weight: 800; font-size: 1.65rem; line-height: 1.12; letter-spacing: -.02em; }
.pm-reviews-link { font-size: .82rem; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; margin-left: .4rem; }
.pm-desc { color: var(--ink-2); font-size: .97rem; }
.pm-feats { list-style: none; display: grid; gap: .45rem; margin: .2rem 0; }
.pm-feats li { position: relative; padding-left: 1.15rem; font-size: .92rem; color: var(--ink-2); }
.pm-feats li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 1px; background: var(--gold); }
@media (max-width: 860px) {
  .pm-inner { grid-template-columns: 1fr; }
  .pm-media { border-right: 0; border-bottom: 1px solid var(--border); padding: 1.4rem; }
  .pm-media > img { max-height: 240px; }
  .pm-info { padding: 1.5rem 1.4rem 2rem; }
}

/* Scroll reveal */
html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .45s ease-out, transform .45s ease-out; }
html.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1 !important; transform: none !important; transition: none; }
  .ld-dash { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* Responsive */
@media (max-width: 1024px) {
  .shop-grid, .featured-scroll { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  /* visibility rides along with the transform so closed-menu links can't be tabbed into */
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--card); border-bottom: 1px solid var(--border); flex-direction: column; padding: 1.4rem 5% 2rem; align-items: flex-start; gap: .6rem; transform: translateY(-130%); visibility: hidden; transition: transform .25s ease-out, visibility 0s .25s; box-shadow: var(--shadow-sm); }
  .nav.open { transform: none; visibility: visible; transition: transform .25s ease-out; }
  .nav a { padding: 6px 0; width: 100%; }
  .nav .btn { margin-top: .6rem; }
  .burger { display: block; }
  .svc-grid, .steps-wrap, .map-grid, .contact-grid { grid-template-columns: 1fr; }
  .shop-grid, .featured-scroll { grid-template-columns: repeat(2, 1fr); }
  .map-grid, .contact-grid { gap: 2rem; }
  .hero { padding: 64px 0 76px; }
  .bb-head { gap: .9rem; }
  /* Brand jump-nav: one horizontally-scrollable row instead of 3-4 wrapped rows
     eating the viewport under the sticky header. */
  .shop-nav .chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .shop-nav .chips::-webkit-scrollbar { display: none; }
  .shop-nav .chip { flex: none; white-space: nowrap; }
}
@media (max-width: 480px) {
  .shop-grid, .featured-scroll { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* Ultra-wide */
@media (min-width: 1720px) {
  .container { max-width: 1400px; }
  .shop-grid, .featured-scroll { grid-template-columns: repeat(5, 1fr); }
}

.p-newlabel { font-family: var(--f-ui); font-size: .8rem; font-weight: 700; letter-spacing: .05em; opacity: .7; }

/* Listing card — options tag (multi-variant products on shop/home grids) */
.p-options-tag {
  align-self: flex-start; margin-top: -.1rem; font-family: var(--f-ui); font-size: .7rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--gold-ink); background: var(--gold-soft);
  border-radius: var(--radius-pill); padding: .18rem .55rem;
}
.p-card { text-decoration: none; }

/* ---------------------------------------------------------------------- */
/* Product detail page (PDP)                                              */
/* ---------------------------------------------------------------------- */

.pdp-hero { padding: 28px 0 8px; }
.pdp-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-family: var(--f-ui);
  font-size: .8rem; font-weight: 600; color: var(--ink-3); margin-bottom: 1.4rem;
}
.pdp-breadcrumb a { color: var(--ink-3); transition: var(--tr); }
.pdp-breadcrumb a:hover { color: var(--gold-ink); }
.pdp-breadcrumb span[aria-hidden] { opacity: .5; }
.pdp-breadcrumb .current { color: var(--ink); font-weight: 700; }

/* Panel — plain card boundary (not a floating modal), reuses .pm-inner/.pm-media/.pm-info grid+column styling as-is.
   The pre-entrance hidden state is gated on html.js so a JS failure can never leave the product invisible. */
.pdp-panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); overflow: hidden; }
html.js .pdp-panel {
  opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .2s ease-out, transform .2s ease-out;
}
html.js .pdp-panel.show { opacity: 1; transform: none; }

/* Hero product image — entrance on load AND crossfade on variant switch share one rule
   (JS toggles the same opacity/scale state for both moments; .fading = "hidden" state).
   Scoped via .pdp-panel ancestor since the image itself reuses the shared .pm-media class. */
.pdp-panel .pm-media > img { transition: opacity .3s ease-out, transform .3s ease-out; }
.pdp-panel .pm-media > img.fading { opacity: 0; transform: scale(.97); }

.pdp-buy-row { display: flex; align-items: center; gap: 1.2rem; margin-top: auto; padding-top: .6rem; flex-wrap: wrap; }
.pdp-price { font-family: var(--f-head); font-weight: 800; font-size: 1.85rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pdp-buy { padding: .9rem 2.6rem; }
.pdp-buy:active { transform: scale(.97); }

/* Variant chips */
.variant-row { display: flex; flex-direction: column; gap: .5rem; margin: .3rem 0 .2rem; }
.variant-row .variant-label { font-family: var(--f-ui); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.variant-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-chip {
  font-family: var(--f-ui); font-size: .82rem; font-weight: 600; min-height: 44px; min-width: 44px;
  display: inline-flex; align-items: center; padding: .5rem 1.1rem; border-radius: var(--radius);
  border: 1.5px solid var(--border-2); background: var(--card); color: var(--ink-2); transition: var(--tr); cursor: pointer;
}
.variant-chip:hover { border-color: var(--gold); color: var(--gold-ink); }
.variant-chip.active { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-ink); font-weight: 700; }

/* Related products */
.pdp-related { padding: 3.5rem 0 4rem; margin-top: 2rem; border-top: 1px solid var(--border); }
.pdp-related-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.4rem; }

/* Sticky mobile Add to Cart bar */
.sticky-cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none; align-items: center; gap: .9rem;
  background: var(--card); border-top: 1px solid var(--border); padding: .7rem 5%;
  box-shadow: 0 -8px 20px -12px rgba(22, 21, 20, .22);
  transform: translateY(100%); transition: transform .25s ease-out;
}
.sticky-cart-bar.show { transform: none; }
.sticky-cart-bar .scb-price { font-family: var(--f-head); font-weight: 800; font-size: 1.05rem; flex: 1; }
.sticky-cart-bar .btn { padding: .65rem 1.4rem; min-height: 44px; }

/* Note: .pm-inner/.pm-media/.pm-info already get correct mobile stacking from the
   existing @media (max-width: 860px) block above (those selectors are bare, not
   scoped to .pm-overlay, so they apply here too since the PDP reuses those classes). */
@media (min-width: 861px) { .sticky-cart-bar { display: none !important; } }
@media (max-width: 860px) {
  .sticky-cart-bar { display: flex; }
  /* Reserve room so the sticky bar never sits over the footer's last lines. */
  .shop-page .site-footer { padding-bottom: 5.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pdp-panel, .pdp-panel .pm-media > img, .sticky-cart-bar { transition: none !important; opacity: 1 !important; transform: none !important; }
  .pdp-buy:active { transform: none !important; }
}
