/* ============================================================
   SERENDIB — Components & Layout
   ============================================================ */

/* ---------------------- Buttons ---------------------- */
.btn {
  --btn-fg: var(--ink);
  --btn-bg: var(--bone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  padding: 1.05em 1.9em;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--r);
  transition: background .5s var(--ease), color .5s var(--ease),
              border-color .5s var(--ease), transform .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .btn__arrow { transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--solid { --btn-bg: var(--bone); --btn-fg: var(--ink); }
.btn--solid:hover { --btn-bg: var(--brass); --btn-fg: var(--ink); border-color: var(--brass); }

.btn--brass { --btn-bg: var(--brass); --btn-fg: var(--ink); border-color: var(--brass); }
.btn--brass:hover { --btn-bg: var(--brass-hi); border-color: var(--brass-hi); }

.btn--line {
  background: transparent;
  color: var(--bone);
  border-color: var(--line-strong);
}
.btn--line:hover { color: var(--brass); border-color: var(--brass); }

.paper .btn--line { color: var(--ink-text); border-color: var(--line-paper); }
.paper .btn--line:hover { color: var(--cinnamon); border-color: var(--cinnamon); }
.btn--block { width: 100%; }

/* Text link with underline draw */
.tlink {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), gap .4s var(--ease);
}
.tlink:hover { border-color: var(--brass); gap: 0.9em; }
.paper .tlink { color: var(--cinnamon); }
.paper .tlink:hover { border-color: var(--cinnamon); }

/* ---------------------- Announcement bar ---------------------- */
.announce {
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 0.65rem 1rem;
  position: relative;
  z-index: 60;
}
.announce p {
  margin: 0 auto;
  font-family: var(--f-mono);
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
  max-width: none;
}
.announce b { color: var(--brass); font-weight: 500; }

/* ---------------------- Header ---------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(14,18,13,0.86);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-block: 1.15rem;
}
.nav-cluster { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.2rem); }
.nav-cluster--right { justify-content: flex-end; }
.nav-link {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: color .35s var(--ease);
  position: relative;
  padding-block: 4px;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--bone); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-desktop { display: none; gap: clamp(1rem, 2vw, 2.2rem); align-items: center; }

/* Brand lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: center;
}
.brand__mark { width: 26px; height: 26px; color: var(--brass); flex: none; }
.brand__word {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.16em;
  color: var(--bone);
  font-variation-settings: 'SOFT' 0, 'WONK' 0, 'opsz' 40;
  padding-right: 0.05em;
}
.brand__word span { color: var(--brass); }

.icon-btn {
  color: var(--bone-dim);
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  transition: color .35s var(--ease);
}
.icon-btn:hover { color: var(--bone); }
.icon-btn svg { width: 18px; height: 18px; }
.cart-count { color: var(--brass); }

.burger { display: inline-flex; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { width: 22px; height: 1.5px; background: var(--bone); transition: transform .4s var(--ease), opacity .3s; }
.nav-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------------------- Mobile nav overlay ---------------------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink);
  padding: clamp(6rem, 18vw, 8rem) var(--gutter) 3rem;
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  transition: transform .6s var(--ease);
  overflow-y: auto;
}
.nav-open .mobile-nav { transform: translateY(0); }
.mobile-nav a.m-link {
  font-family: var(--f-display);
  font-size: clamp(2rem, 11vw, 3rem);
  color: var(--bone);
  padding: 0.35em 0;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: baseline;
  transition: color .3s, padding-left .4s var(--ease);
}
.mobile-nav a.m-link:hover { color: var(--brass); padding-left: 0.4em; }
.mobile-nav a.m-link .m-num { font-family: var(--f-mono); font-size: 0.7rem; color: var(--brass); letter-spacing: 0.1em; }
.mobile-nav .m-foot { margin-top: auto; padding-top: 2.5rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.mobile-nav .m-foot a { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim); }

/* ---------------------- Hero ---------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,18,13,0.55) 0%, rgba(14,18,13,0) 30%, rgba(14,18,13,0.35) 62%, rgba(14,18,13,0.92) 100%),
    radial-gradient(120% 90% at 15% 100%, rgba(14,18,13,0.85) 0%, rgba(14,18,13,0) 55%);
}
.hero__inner { width: 100%; padding-bottom: clamp(3rem, 8vh, 6rem); padding-top: 8rem; }
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero h1 {
  font-size: var(--t-h1);
  max-width: 15ch;
  margin-bottom: 1.5rem;
  font-variation-settings: 'SOFT' 30, 'WONK' 0, 'opsz' 144;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--brass); font-variation-settings: 'SOFT' 60, 'WONK' 1, 'opsz' 144; }
.hero__lead { color: var(--bone); opacity: 0.86; max-width: 46ch; font-size: var(--t-lead); margin-bottom: 2.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Hero corner manifest ticker */
.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14,18,13,0) 0%, rgba(14,18,13,0.6) 100%);
}
.hero__ticker {
  display: flex; gap: 3rem; padding: 0.9rem 0;
  font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bone-dim); overflow: hidden; white-space: nowrap;
}
.hero__ticker b { color: var(--brass); font-weight: 500; }
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 5.5rem; z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bone-dim); display: none;
}
.scroll-cue::after { content: ""; display:block; width:1px; height:44px; margin: 0.8rem auto 0; background: linear-gradient(var(--brass), transparent); }

/* ---------------------- Section header ---------------------- */
.sec-head { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head--split { flex-direction: column; }
.sec-head h2 { max-width: 18ch; text-wrap: balance; }
.sec-head p { color: var(--bone-dim); max-width: 52ch; }
.paper .sec-head p { color: var(--ink-dim); }
.sec-head__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }

/* ---------------------- Marquee / provenance ticker ---------------------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 1.4rem;
  background: var(--ink-1);
}
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 42s linear infinite; }
.marquee__track span {
  font-family: var(--f-display); font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2rem); color: var(--bone-dim);
  display: inline-flex; align-items: center; gap: 3.5rem; white-space: nowrap;
}
.marquee__track span::after { content: "✦"; color: var(--brass); font-style: normal; font-size: 0.7em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------------------- Product grid + cards ---------------------- */
.pgrid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.2rem) clamp(1.2rem, 2.5vw, 2rem); }
.pcard { position: relative; display: flex; flex-direction: column; }
.pcard.is-linked { cursor: pointer; }
.pcard.is-linked:hover .pcard__name a { color: var(--brass); }
.pcard__media {
  position: relative; overflow: hidden; border-radius: var(--r);
  aspect-ratio: 4 / 5; background: var(--ink-2);
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__tag {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2;
  font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); background: var(--brass); padding: 0.35em 0.7em; border-radius: 1px;
}
.pcard__tag--soft { background: rgba(14,18,13,0.7); color: var(--bone); border: 1px solid var(--line-strong); backdrop-filter: blur(4px); }
.pcard__add {
  position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.9rem; z-index: 2;
  opacity: 0; transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.pcard:hover .pcard__add, .pcard:focus-within .pcard__add { opacity: 1; transform: none; }
.pcard__body { padding-top: 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.pcard__origin { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.pcard__name { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.1; color: var(--bone); }
.pcard__name a { transition: color .3s; }
.pcard__name a:hover { color: var(--brass); }
.pcard__desc { color: var(--bone-dim); font-size: 0.92rem; }
.pcard__row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.5rem; }
.pcard__price { font-family: var(--f-mono); font-size: 0.85rem; letter-spacing: 0.05em; color: var(--bone); }
.pcard__price s { color: var(--bone-mute); margin-right: 0.5em; }
.pcard__unit { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-dim); }

/* Paper variants for cards */
.paper .pcard__media { background: var(--paper-2); }
.paper .pcard__name { color: var(--ink-text); }
.paper .pcard__desc { color: var(--ink-dim); }
.paper .pcard__price { color: var(--ink-text); }
.paper .pcard__origin { color: var(--cinnamon); }

/* ---------------------- Manifest spec ---------------------- */
.manifest { border-top: 1px solid var(--line); }
.manifest__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em;
}
.manifest__row dt { color: var(--bone-dim); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.62rem; align-self: center; }
.manifest__row dd { color: var(--bone); text-align: right; }
.paper .manifest, .paper .manifest__row { border-color: var(--line-paper); }
.paper .manifest__row dt { color: var(--ink-dim); }
.paper .manifest__row dd { color: var(--ink-text); }

/* ---------------------- Editorial split ---------------------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media { position: relative; overflow: hidden; border-radius: var(--r); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media .cap {
  position: absolute; left: 1rem; bottom: 1rem;
  font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone); background: rgba(14,18,13,0.55); backdrop-filter: blur(4px);
  padding: 0.4em 0.7em; border: 1px solid var(--line-strong); border-radius: 1px;
}
.split__body h2 { margin-bottom: 1.4rem; }
.split__body p { color: var(--bone-dim); margin-bottom: 1.2rem; }
.paper .split__body p { color: var(--ink-dim); }
.split__body .btn, .split__body .tlink { margin-top: 0.8rem; }

/* ---------------------- Category grid ---------------------- */
.catgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(0.8rem, 2vw, 1.4rem); }
.catcard { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 3/4; display: block; }
.catcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); filter: brightness(0.78); }
.catcard:hover img { transform: scale(1.06); filter: brightness(0.9); }
.catcard__label {
  position: absolute; inset: auto 0 0 0; padding: 1.2rem;
  display: flex; justify-content: space-between; align-items: flex-end;
  background: linear-gradient(180deg, transparent, rgba(14,18,13,0.82));
}
.catcard__label h3 { font-size: 1.35rem; color: var(--bone); }
.catcard__label .n { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.14em; color: var(--brass); }

/* ---------------------- Stat / proof strip ---------------------- */
.proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.proof__cell { background: var(--ink); padding: clamp(1.6rem, 3vw, 2.6rem); }
.proof__num { font-family: var(--f-display); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--brass); line-height: 1; font-variation-settings: 'opsz' 144, 'SOFT' 0; }
.proof__num sup { font-size: 0.4em; vertical-align: super; }
.proof__label { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-dim); margin-top: 0.9rem; }

/* ---------------------- Trade route map (signature) ---------------------- */
.route { position: relative; overflow: hidden; }
.route__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.route__map { position: relative; width: 100%; }
.route__map svg { width: 100%; height: auto; overflow: visible; }
.route-ghost { fill: none; stroke: var(--brass); stroke-width: 1; stroke-dasharray: 1.5 6; opacity: 0.28; }
.route-line { fill: none; stroke: var(--brass); stroke-width: 1.6; opacity: 0.95;
  stroke-dasharray: 560; stroke-dashoffset: 560; animation: route-draw 3s var(--ease-out) .5s forwards; }
.route-grat { fill: none; stroke: var(--line-strong); stroke-width: 0.75; stroke-dasharray: 2 5; opacity: 0.5; }
@keyframes route-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .route-line { animation: none; stroke-dashoffset: 0; } }
.route-node { fill: var(--brass); }
.route-node--pulse { transform-box: fill-box; transform-origin: center; animation: node-pulse 2.6s ease-in-out infinite; }
@keyframes node-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.route-halo { fill: none; stroke: var(--brass); opacity: 0.5; }
.route-label { font-family: var(--f-mono); font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--bone); }
.route-label--o { fill: var(--brass); }
.route__legend { display: flex; flex-direction: column; gap: 1.6rem; }
.route__stop { display: flex; gap: 1rem; align-items: flex-start; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.route__stop .k { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--brass); padding-top: 0.4rem; min-width: 3.2rem; }
.route__stop h4 { font-size: 1.25rem; }
.route__stop p { color: var(--bone-dim); font-size: 0.9rem; margin-top: 0.2rem; }

/* ---------------------- Quote / testimonial ---------------------- */
.quote { text-align: center; max-width: min(92%, 660px); margin-inline: auto; }
.quote p { font-family: var(--f-display); font-style: italic; font-size: clamp(1.6rem, 3.5vw, 2.8rem); line-height: 1.28; color: var(--bone); margin-inline: auto; max-width: none; text-wrap: balance; }
.quote cite { display: block; margin-top: 2rem; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); font-style: normal; }
.paper .quote p { color: var(--ink-text); }

/* ---------------------- Journal / field notes ---------------------- */
.jgrid { display: grid; grid-template-columns: 1fr; gap: clamp(1.6rem, 3vw, 2.4rem); }
.jcard { display: flex; flex-direction: column; gap: 1rem; }
.jcard__media { overflow: hidden; border-radius: var(--r); aspect-ratio: 16/10; }
.jcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.jcard:hover .jcard__media img { transform: scale(1.05); }
.jcard__meta { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.jcard h3 { font-size: 1.35rem; }
.jcard h3 a:hover { color: var(--brass); }
.jcard p { color: var(--bone-dim); font-size: 0.92rem; }

/* ---------------------- Newsletter ---------------------- */
.signup { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.field { position: relative; display: flex; border-bottom: 1px solid var(--line-strong); }
.field input {
  flex: 1; background: none; border: none; padding: 0.9rem 0;
  font-family: var(--f-body); font-size: 1rem; color: var(--bone);
}
.field input::placeholder { color: var(--bone-mute); }
.field button { padding: 0 0.4rem; color: var(--brass); }
.field button svg { width: 22px; height: 22px; }
.field:focus-within { border-color: var(--brass); }

/* ---------------------- Footer ---------------------- */
.site-footer { background: var(--ink-1); border-top: 1px solid var(--line); padding-top: clamp(4rem, 7vw, 6rem); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
.footer-brand .brand { justify-self: start; margin-bottom: 1.4rem; }
.footer-brand p { color: var(--bone-dim); font-size: 0.92rem; max-width: 34ch; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1.5rem; }
.footer-col h5 { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.2rem; font-weight: 500; }
.footer-col a { display: block; color: var(--bone-dim); font-size: 0.92rem; padding: 0.35rem 0; transition: color .3s, padding-left .35s var(--ease); }
.footer-col a:hover { color: var(--bone); padding-left: 0.3rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-block: 2rem; }
.footer-bottom p, .footer-bottom a { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-mute); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--bone); }
.footer-quote { font-family: var(--f-display); font-style: italic; font-size: clamp(1.5rem, 4vw, 2.6rem); color: var(--bone); text-align: center; padding: clamp(2.5rem,5vw,4rem) 0; border-bottom: 1px solid var(--line); text-wrap: balance; }
.footer-quote span { color: var(--brass); }

/* ---------------------- Cart drawer ---------------------- */
.overlay {
  position: fixed; inset: 0; z-index: 70; background: rgba(6,8,5,0.6);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  backdrop-filter: blur(2px);
}
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 75;
  width: min(440px, 92vw); background: var(--ink-1); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .55s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.6rem; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.3rem; }
.drawer__head .x { color: var(--bone-dim); font-size: 1.4rem; line-height: 1; padding: 0.3rem; transition: color .3s; }
.drawer__head .x:hover { color: var(--brass); }
.drawer__items { flex: 1; overflow-y: auto; padding: 1rem 1.6rem; }
.citem { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.citem img { width: 64px; height: 78px; object-fit: cover; border-radius: 1px; }
.citem__name { font-family: var(--f-display); font-size: 1.05rem; }
.citem__meta { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-dim); margin-top: 0.2rem; }
.citem__price { font-family: var(--f-mono); font-size: 0.8rem; color: var(--brass); }
.drawer__foot { padding: 1.6rem; border-top: 1px solid var(--line); }
.drawer__sub { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone); margin-bottom: 0.4rem; }
.drawer__note { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-mute); margin-bottom: 1.2rem; }

/* ---------------------- Forms ---------------------- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.form-field { display: flex; flex-direction: column; gap: 0.6rem; }
.form-field label { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim); }
.form-field input, .form-field textarea, .form-field select {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0.95rem 1rem; color: var(--bone); font-size: 0.98rem; transition: border-color .35s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--brass); outline: none; }
.form-field--full { grid-column: 1 / -1; }

/* ---------------------- Breadcrumb ---------------------- */
.crumb { display: flex; gap: 0.6rem; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-mute); }
.crumb a:hover { color: var(--brass); }
.crumb span { color: var(--brass); }

/* ---------------------- Page hero (interior) ---------------------- */
.phead { padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem,4vw,3rem); border-bottom: 1px solid var(--line); }
.phead h1 { font-size: var(--t-h2); max-width: 16ch; margin-block: 1.2rem 1.2rem; text-wrap: balance; }
.phead p { color: var(--bone-dim); max-width: 54ch; }

/* ---------------------- Trade cards ---------------------- */
.tgrid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.tcard { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.6rem,3vw,2.2rem); background: var(--ink-1); }
.tcard > .eyebrow { margin-bottom: 1.2rem; }
.tcard h3 { font-size: 1.5rem; margin-bottom: 1.4rem; }
.tcard .manifest { border-top: none; }
.tcard .manifest__row:first-child { border-top: 1px solid var(--line); }
@media (min-width: 820px) { .tgrid { grid-template-columns: repeat(3, 1fr); } }

/* Buyer markets row */
.markets { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.market { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-dim); border: 1px solid var(--line-strong); border-radius: 100px; padding: 0.55em 1.05em; }
.market b { color: var(--brass); font-weight: 500; }

/* Form card */
.formcard { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.6rem, 4vw, 3rem); background: var(--ink-1); }

/* ---------------------- Full-bleed image band ---------------------- */
.imgband { position: relative; height: clamp(320px, 55vh, 620px); overflow: hidden; }
.imgband img { width: 100%; height: 100%; object-fit: cover; }
.imgband__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,18,13,0.5), rgba(14,18,13,0) 40%, rgba(14,18,13,0.75)); }
.imgband__cap { position: absolute; left: 0; right: 0; bottom: 0; }
.imgband__cap .wrap { padding-bottom: 2rem; }
.imgband__cap .eyebrow { color: var(--brass); }
.imgband__cap p { font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--bone); max-width: 24ch; margin-top: 0.8rem; }

/* ---------------------- Steps (real sequence → numbered) ---------------------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step { background: var(--ink); padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 0.8rem; }
.step__n { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--brass); }
.step h3 { font-size: 1.4rem; }
.step p { color: var(--bone-dim); font-size: 0.92rem; }
.paper .step { background: var(--paper); }
.paper .step p { color: var(--ink-dim); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------------------- Certifications ---------------------- */
.certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.cert { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--r); }
.cert svg { width: 30px; height: 30px; color: var(--brass); }
.cert h4 { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone); font-weight: 500; }
.cert p { font-size: 0.85rem; color: var(--bone-dim); }
@media (min-width: 720px) { .certs { grid-template-columns: repeat(4, 1fr); } }

/* ---------------------- PDP ---------------------- */
.pdp { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.gallery { display: flex; flex-direction: column-reverse; gap: 1rem; }
.gallery__main { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4/5; background: var(--ink-2); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main .pcard__tag { top: 1rem; left: 1rem; }
.gallery__thumbs { display: flex; gap: 0.7rem; }
.gallery__thumbs button { flex: 1; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); opacity: 0.55; transition: opacity .3s, border-color .3s; }
.gallery__thumbs button.is-active, .gallery__thumbs button:hover { opacity: 1; border-color: var(--brass); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buybox__origin { margin-bottom: 1rem; }
.buybox h1 { font-size: var(--t-h2); line-height: 1.02; margin-bottom: 1rem; }
.buybox__rating { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.4rem; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-dim); }
.stars { color: var(--brass); letter-spacing: 0.1em; }
.buybox__price { font-family: var(--f-mono); font-size: 1.15rem; color: var(--bone); margin-bottom: 1.6rem; }
.buybox__lead { color: var(--bone-dim); margin-bottom: 2rem; }
.opt-label { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 0.8rem; display: block; }
.seg { display: flex; gap: 0.6rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.seg button { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; padding: 0.7em 1.1em; border: 1px solid var(--line-strong); border-radius: var(--r); color: var(--bone-dim); transition: .3s; }
.seg button.is-active { border-color: var(--brass); color: var(--bone); background: var(--ink-2); }
.buybox__actions { display: flex; gap: 0.8rem; align-items: stretch; margin-bottom: 1.6rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r); }
.qty button { width: 2.8rem; color: var(--bone-dim); font-size: 1.1rem; transition: color .3s; }
.qty button:hover { color: var(--brass); }
.qty span { min-width: 2rem; text-align: center; font-family: var(--f-mono); font-size: 0.85rem; }
.buybox__meta { display: flex; gap: 1.5rem; flex-wrap: wrap; font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-mute); margin-top: 0.4rem; }
.buybox__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.buybox__meta b { color: var(--brass); }

.pairs { margin-top: 2.4rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.pairs h4 { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); font-weight: 500; margin-bottom: 1.1rem; }
.pair { display: grid; grid-template-columns: 52px 1fr auto; gap: 1rem; align-items: center; padding: 0.7rem 0; }
.pair img { width: 52px; height: 64px; object-fit: cover; border-radius: 1px; }
.pair__name { font-family: var(--f-display); font-size: 1rem; }
.pair__price { font-family: var(--f-mono); font-size: 0.72rem; color: var(--brass); }
.pair button { font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-dim); border: 1px solid var(--line-strong); border-radius: 100px; padding: 0.5em 0.9em; transition: .3s; }
.pair button:hover { color: var(--ink); background: var(--brass); border-color: var(--brass); }

/* Tabs */
.tabs { border-top: 1px solid var(--line); }
.tabs__nav { display: flex; gap: 2rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs__nav button { padding: 1.3rem 0; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-mute); position: relative; transition: color .3s; }
.tabs__nav button.is-active { color: var(--bone); }
.tabs__nav button.is-active::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--brass); }
.tab-panel { display: none; padding-top: 2.2rem; }
.tab-panel.is-active { display: block; }
.tab-panel p { color: var(--bone-dim); margin-bottom: 1rem; }

/* Tasting notes chips */
.notes { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.5rem; }
.note { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); border: 1px solid var(--line-strong); border-radius: 100px; padding: 0.5em 1em; }

/* Reviews */
.reviews { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.rev-summary { display: flex; flex-direction: column; gap: 1rem; }
.rev-score { font-family: var(--f-display); font-size: 3.5rem; color: var(--brass); line-height: 1; }
.rev-bars { display: flex; flex-direction: column; gap: 0.5rem; }
.rev-bar { display: grid; grid-template-columns: 2rem 1fr 2rem; gap: 0.8rem; align-items: center; font-family: var(--f-mono); font-size: 0.6rem; color: var(--bone-dim); }
.rev-bar__track { height: 4px; background: var(--ink-2); border-radius: 2px; overflow: hidden; }
.rev-bar__fill { height: 100%; background: var(--brass); }
.rev-list { display: flex; flex-direction: column; gap: 1.6rem; }
.rev-item { border-bottom: 1px solid var(--line); padding-bottom: 1.6rem; }
.rev-item__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.6rem; }
.rev-item__name { font-family: var(--f-display); font-size: 1.05rem; }
.rev-item__meta { font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-mute); }
.rev-item p { color: var(--bone-dim); font-size: 0.95rem; }

@media (min-width: 640px) { .gallery { flex-direction: row; } .gallery__thumbs { flex-direction: column; width: 84px; } .gallery__main { flex: 1; } }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.05fr 1fr; align-items: start; } .pdp .gallery { position: sticky; top: 5.5rem; } .reviews { grid-template-columns: 0.8fr 1.4fr; gap: 4rem; } }

/* ---------------------- PDP extras (proper) ---------------------- */
.buybox__price s { color: var(--bone-mute); margin-right: 0.35em; font-weight: 300; }
.price-sub { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone-dim); }
.buybox__rating a { color: inherit; border-bottom: 1px solid transparent; transition: border-color .3s; }
.buybox__rating a:hover { border-color: var(--brass); color: var(--brass); }

/* Purchase mode cards */
.buy-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-bottom: 1.8rem; }
.radio-card { border: 1px solid var(--line-strong); border-radius: var(--r); padding: 1rem; text-align: left; display: flex; flex-direction: column; gap: 0.4rem; transition: border-color .3s, background .3s; }
.radio-card.is-active { border-color: var(--brass); background: var(--ink-2); }
.radio-card__top { display: flex; align-items: center; gap: 0.55rem; font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone); }
.radio-card__dot { width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; position: relative; }
.radio-card.is-active .radio-card__dot { border-color: var(--brass); }
.radio-card.is-active .radio-card__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--brass); }
.radio-card__note { font-size: 0.82rem; color: var(--bone-dim); }
.radio-card__save { font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.08em; color: var(--brass); text-transform: uppercase; }

/* Trust row */
.trust-row { display: flex; flex-wrap: wrap; gap: 0.9rem 1.5rem; margin: 1.5rem 0 1.2rem; padding: 1.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-row span { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-dim); }
.trust-row svg { width: 15px; height: 15px; color: var(--brass); flex: none; }

/* Stock line */
.stock-line { display: flex; align-items: center; gap: 0.6rem; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone-dim); }
.stock-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fern); box-shadow: 0 0 0 3px rgba(116,133,88,0.22); flex: none; }
.stock-line b { color: var(--brass); font-weight: 500; }

/* Benefits strip */
.attrs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.attr { background: var(--ink); padding: clamp(1.3rem,2.5vw,1.8rem); display: flex; flex-direction: column; gap: 0.6rem; }
.attr svg { width: 26px; height: 26px; color: var(--brass); }
.attr h4 { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone); font-weight: 500; }
.attr p { font-size: 0.82rem; color: var(--bone-dim); }
@media (min-width: 720px) { .attrs { grid-template-columns: repeat(4, 1fr); } }

/* Bundle upsell */
.bundle { display: grid; grid-template-columns: 1fr; gap: 1.6rem; align-items: center; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.6rem,3vw,2.4rem); background: var(--ink-1); }
.bundle__imgs { display: flex; }
.bundle__imgs img { width: 74px; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r); border: 2px solid var(--ink-1); margin-left: -18px; }
.bundle__imgs img:first-child { margin-left: 0; }
.bundle h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.bundle p { color: var(--bone-dim); font-size: 0.92rem; }
.bundle__price { display: flex; align-items: center; gap: 0.8rem; margin: 1rem 0; }
.bundle__price .now { font-family: var(--f-mono); font-size: 1.15rem; color: var(--brass); }
.bundle__price s { font-family: var(--f-mono); color: var(--bone-mute); font-size: 0.9rem; }
.bundle__price .save { font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); background: var(--brass); padding: 0.35em 0.7em; border-radius: 100px; }
@media (min-width: 760px) { .bundle { grid-template-columns: auto 1fr auto; gap: 2.4rem; } }

/* Accordion (FAQ) */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 0; text-align: left; font-family: var(--f-display); font-size: 1.2rem; color: var(--bone); transition: color .3s; }
.acc-btn:hover { color: var(--brass); }
.acc-ico { font-family: var(--f-mono); color: var(--brass); font-size: 1.3rem; line-height: 1; transition: transform .35s var(--ease); flex: none; }
.acc-item.is-open .acc-ico { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-panel__inner { padding-bottom: 1.5rem; color: var(--bone-dim); max-width: 64ch; }

/* Sticky add-to-cart bar */
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 42; background: rgba(14,18,13,0.92); backdrop-filter: blur(14px) saturate(120%); border-top: 1px solid var(--line); transform: translateY(115%); transition: transform .45s var(--ease); }
.stickybar.is-visible { transform: none; }
.stickybar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; }
.stickybar__info { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.stickybar__info img { width: 42px; height: 50px; object-fit: cover; border-radius: 1px; flex: none; }
.stickybar__name { font-family: var(--f-display); font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybar__price { font-family: var(--f-mono); font-size: 0.7rem; color: var(--brass); }
@media (max-width: 560px) { .stickybar__meta { display: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(6,8,5,0.94); display: flex; align-items: center; justify-content: center; padding: 2rem; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: var(--r); }
.lightbox__close { position: absolute; top: 1.4rem; right: 1.7rem; color: var(--bone); font-size: 1.7rem; line-height: 1; }
.lightbox__close:hover { color: var(--brass); }
.gallery__main { cursor: zoom-in; }
.gallery__zoom { position: absolute; bottom: 0.9rem; right: 0.9rem; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; background: rgba(14,18,13,0.6); border: 1px solid var(--line-strong); border-radius: 100px; color: var(--bone); backdrop-filter: blur(4px); }
.gallery__zoom svg { width: 16px; height: 16px; }

/* ---------------------- Shop toolbar ---------------------- */
.toolbar { display: flex; flex-direction: column; gap: 1.4rem; justify-content: space-between; align-items: flex-start; margin-bottom: clamp(2rem,4vw,3rem); padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.filters { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.chip {
  font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone-dim); padding: 0.55em 1em; border: 1px solid var(--line-strong); border-radius: 100px;
  transition: color .3s, border-color .3s, background .3s;
}
.chip:hover { color: var(--bone); border-color: var(--bone-dim); }
.chip[aria-pressed="true"] { color: var(--ink); background: var(--brass); border-color: var(--brass); }
.toolbar__meta { display: flex; align-items: center; gap: 1.2rem; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-dim); }
.toolbar__meta b { color: var(--brass); font-weight: 500; }
@media (min-width: 720px) { .toolbar { flex-direction: row; align-items: center; } }

/* ---------------------- Utilities ---------------------- */
.center { text-align: center; }
.mt-cta { margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.divider { height: 1px; background: var(--line); border: 0; }
.grain::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 640px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .jgrid { grid-template-columns: repeat(2, 1fr); }
  .catgrid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .burger { display: none; }
  .scroll-cue { display: block; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .jgrid { grid-template-columns: repeat(3, 1fr); }
  .catgrid { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
  .route__grid { grid-template-columns: 1.4fr 1fr; }
  .signup { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 2fr; gap: 4rem; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .sec-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .sec-head--split p { max-width: 40ch; }
}
@media (min-width: 1200px) {
  .pgrid--4 { grid-template-columns: repeat(4, 1fr); }
}
