/* ==========================================================================
   CandyLover — The Chocolate Atlas
   Cream wrapper paper, deep cacao, gold foil, and cacao-pod accents.
   The chocolate square is the recurring motif: logo, meter, tiles.
   ========================================================================== */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(/assets/fonts/fraunces.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url(/assets/fonts/fraunces-italic.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/figtree.woff2) format("woff2"); }

:root {
  --paper:      #f7f0e5;
  --paper-2:    #efe4d2;
  --card:       #fffaf3;
  --ink:        #2b1a12;
  --ink-soft:   #6b5445;
  --line:       #e4d5bf;
  --line-2:     #cdb898;
  --cacao:      #2b1a12;
  --cacao-2:    #3f271a;
  --on-cacao:   #f3e6d3;
  --on-cacao-2: #c9b49b;
  --gold:       #c89d4f;
  --gold-2:     #e3c27f;
  --gold-ink:   #7d5a1b;
  --pod-red:    #b4452f;
  --pod-red-2:  #93341f;
  --red-text:   #b4452f;
  --pod-green:  #5f6f2f;
  --pod-yellow: #d9a43b;
  --land:       #dccab0;
  --sea:        #f1e8da;
  --belt:       rgba(217,164,59,.16);
  --m1: #d9b48a; --m2: #ad7042; --m3: #7c4526; --m4: #512a16; --m5: #2a140a;
  --m-empty: transparent; --m-edge: #cdb898;
  --shadow: 0 1px 2px rgba(43,26,18,.06), 0 8px 24px -8px rgba(43,26,18,.18);
  --shadow-lift: 0 2px 4px rgba(43,26,18,.08), 0 18px 36px -12px rgba(43,26,18,.3);
  --r: 16px;
  --r-lg: 22px;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:    #17100b;
    --paper-2:  #1f160f;
    --card:     #241910;
    --ink:      #f3e8da;
    --ink-soft: #bfa994;
    --line:     #3a2a1e;
    --line-2:   #58412f;
    --cacao:    #0f0a06;
    --cacao-2:  #1c130c;
    --gold-ink: #e1bd78;
    --pod-red:  #bd4f36;   /* button bg: 4.8:1 with white */
    --pod-red-2:#a9432d;
    --red-text: #e57a5e;   /* red as text: 6:1 on dark cards */
    --land:     #3b2b1f;
    --sea:      #1c140e;
    --belt:     rgba(217,164,59,.09);
    --m1: #e0bf96; --m2: #bb7d4b; --m3: #92562f; --m4: #6a3a1f; --m5: #45220f;
    --m-edge: #6b5240;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 26px -10px rgba(0,0,0,.6);
    --shadow-lift: 0 2px 4px rgba(0,0,0,.4), 0 20px 40px -14px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}

/* ---------- base -------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.65 var(--body); font-feature-settings: "ss01"; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-text); }
:focus-visible { outline: 3px solid var(--pod-yellow); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em;
  margin: 0 0 .45em; font-variation-settings: "opsz" 120, "SOFT" 50; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); }
h3 { font-size: 1.1rem; font-variation-settings: "opsz" 24; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.pad { padding-top: 28px; padding-bottom: 56px; }
.center { text-align: center; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 99; top: 8px; left: 8px; padding: 10px 16px; background: var(--pod-yellow); color: #000; border-radius: 8px; }
.small { font-size: .86rem; color: var(--ink-soft); }
.small .icon { margin-right: .35em; }
.dim { color: var(--ink-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; margin: 0 0 .7em;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }
.credit { font-size: .74rem; color: var(--ink-soft); margin: .5em 0 0; }
.credit a { color: inherit; }
.more { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; text-decoration: none; white-space: nowrap; }
.more .icon { transition: transform .2s; }
.more:hover .icon { transform: translateX(3px); }
.count { color: var(--ink-soft); font-size: .9rem; margin: 22px 0 0; }
.notice { display: flex; gap: .6em; align-items: center; padding: 12px 16px; border-radius: 12px;
  background: var(--paper-2); border: 1px solid var(--line); }

/* ---------- buttons ------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 11px 20px;
  border: 0; border-radius: 999px; background: var(--pod-red); color: #fff; font: 600 .95rem/1.2 var(--body);
  text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--pod-red-2); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 7px 13px; font-size: .84rem; }
.btn-sm .icon { width: 1em; height: 1em; }
.btn-big { padding: 15px 28px; font-size: 1.05rem; width: 100%; }
.btn-light { background: var(--paper); color: var(--cacao); }
.btn-light:hover { background: #fff; color: var(--cacao); }
.btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { background: var(--paper-2); color: var(--ink); }

/* ---------- header ------------------------------------------------------- */
.site-head { background: var(--cacao); color: var(--on-cacao); position: sticky; top: 0; z-index: 30;
  border-bottom: 3px solid var(--gold); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--on-cacao); text-decoration: none; margin-right: auto; }
.brand:hover { color: #fff; }
.logo { width: 42px; height: 32px; flex: none; }
.logo-bar { fill: var(--gold); }
.logo-sq { fill: var(--gold-2); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 650 1.4rem/1 var(--display); letter-spacing: -.02em; font-variation-settings: "opsz" 72, "SOFT" 100; }
.brand-tag { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a { display: inline-flex; align-items: center; gap: .45em; padding: 9px 13px; border-radius: 999px;
  color: var(--on-cacao); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav > a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav > a[aria-current] { background: rgba(200,157,79,.18); color: var(--gold-2); }
.head-search { position: relative; margin-left: 8px; }
.head-search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--on-cacao-2); pointer-events: none; }
.head-search input { width: 190px; padding: 9px 14px 9px 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07); color: var(--on-cacao); font: .92rem var(--body); }
.head-search input::placeholder { color: var(--on-cacao-2); }
.head-search input:focus { background: rgba(255,255,255,.12); outline: 2px solid var(--gold); outline-offset: 0; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.25); color: var(--on-cacao);
  border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; display: block; }
@media (max-width: 920px) {
  .head-row { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 4px 0 16px; }
  body.nav-open .nav { display: flex; }
  .nav > a { border-radius: 10px; }
  .head-search { margin: 8px 0 0; }
  .head-search input { width: 100%; }
  .brand-name { font-size: 1.25rem; }
}

/* ---------- hero --------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--cacao); color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(24,14,9,.93) 0%, rgba(24,14,9,.82) 38%, rgba(24,14,9,.25) 72%, rgba(24,14,9,.05) 100%); }
.hero-inner { padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(64px, 10vw, 120px); }
.hero h1 { color: #fff; max-width: 15ch; font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 600; }
.hero h1 em { font-style: italic; font-weight: 450; color: var(--gold-2); }
.hero .eyebrow { color: var(--gold-2); }
.hero .lede { color: #eadcca; max-width: 50ch; }
.hero .search { margin-top: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.hero-credit { position: absolute; right: 12px; bottom: 6px; margin: 0; font-size: .68rem; color: rgba(255,255,255,.7); }
.hero-credit a { color: inherit; }
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(24,14,9,.78), rgba(24,14,9,.9)); }
}

/* ---------- search -------------------------------------------------------- */
.search { position: relative; display: flex; gap: 8px; max-width: 560px; }
.search > .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.search input { flex: 1; min-width: 0; padding: 14px 16px 14px 44px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--card); color: var(--ink); font: 1rem var(--body); }
.search-page { margin: 0 0 20px; }

/* ---------- section scaffolding ------------------------------------------ */
.band-paper { background: var(--paper-2); border-block: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sec-head h2, .sec-title { display: flex; align-items: center; gap: .45em; margin: 0; }
.sec-head h2 .icon, .sec-title .icon { color: var(--gold-ink); width: .9em; height: .9em; }
.sec-title { margin: 48px 0 0; }
.sec-lede { color: var(--ink-soft); margin: 8px 0 22px; max-width: 64ch; }
.page-head { margin: 4px 0 26px; }
.page-head h1 { margin-bottom: .3em; }

/* ---------- breadcrumbs --------------------------------------------------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .84rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--red-text); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- intensity meter ---------------------------------------------- */
.meter { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--ink-soft); }
.meter-sq { display: inline-grid; grid-template-columns: repeat(5, 11px); gap: 3px; }
.meter-sq i { width: 11px; height: 11px; border-radius: 3px; background: var(--m-empty);
  box-shadow: inset 0 0 0 1.25px var(--m-edge); }
.meter-sq i.on { box-shadow: inset 0 -2px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.18); }
.meter-mellow  i.on { background: var(--m1); }
.meter-smooth  i.on { background: var(--m2); }
.meter-rich    i.on { background: var(--m3); }
.meter-intense i.on { background: var(--m4); }
.meter-extreme i.on { background: var(--m5); }
@media (prefers-color-scheme: dark) { .meter-sq i.on { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); } }
.meter-txt b { color: var(--ink); font-weight: 600; }

.bands { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (max-width: 520px) { .band { padding: 14px; } .band strong { font-size: 1.15rem; } .band .meter-sq { grid-template-columns: repeat(5, 15px); } .band .meter-sq i { width: 15px; height: 15px; } }
.band { display: flex; flex-direction: column; gap: 6px; padding: 18px; height: 100%; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s; }
.band:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-2); color: var(--ink); }
.band strong { font: 600 1.3rem/1.1 var(--display); margin-top: 8px; }
.band .meter-sq { grid-template-columns: repeat(5, 18px); gap: 4px; }
.band .meter-sq i { width: 18px; height: 18px; border-radius: 4px; }
.band .dim { font-size: .84rem; }

.band-meter { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-weight: 600; }
.band-meter .meter-sq { grid-template-columns: repeat(5, 22px); gap: 5px; }
.band-meter .meter-sq i { width: 22px; height: 22px; border-radius: 5px; }

.band-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.band-row { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center; padding: 14px;
  border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.band-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); color: var(--ink); }
.band-row-img img { aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; width: 100%; }
.band-row-body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.band-row-body strong { font: 600 1.6rem/1.1 var(--display); }
.band-row-body strong .dim { font: 500 1rem var(--body); margin-left: .3em; }
.band-row-body .meter-sq { grid-template-columns: repeat(5, 18px); gap: 4px; }
.band-row-body .meter-sq i { width: 18px; height: 18px; border-radius: 4px; }
@media (max-width: 700px) { .band-row { grid-template-columns: 1fr; gap: 14px; } }
.band-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 8px 0 12px; }

/* ---------- atlas map ----------------------------------------------------- */
.atlas-map { border-radius: var(--r-lg); overflow-x: auto; background: var(--sea); border: 1px solid var(--line);
  box-shadow: var(--shadow); -webkit-overflow-scrolling: touch; }
.atlas-map svg { display: block; width: 100%; min-width: 720px; height: auto; }
.atlas-map .sea { fill: var(--sea); }
.atlas-map .belt { fill: var(--belt); }
.atlas-map .land { fill: var(--land); stroke: var(--paper); stroke-width: .6; }
.atlas-map .eq { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 5; }
.atlas-map .lat { font: 600 9px var(--body); fill: var(--ink-soft); letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.atlas-map .pin circle { fill: var(--pod-red); fill-opacity: .88; stroke: var(--paper); stroke-width: 2; transition: fill .15s, r .15s; }
.atlas-map .pin text { font: 700 12.5px var(--body); fill: var(--ink); text-anchor: middle; opacity: 0;
  paint-order: stroke; stroke: var(--sea); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; transition: opacity .15s; }
.atlas-map .pin.always text, .atlas-map .pin:hover text, .atlas-map .pin:focus text, .atlas-map .pin.is-here text { opacity: 1; }
.atlas-map .pin:hover circle, .atlas-map .pin:focus circle { fill: var(--pod-yellow); fill-opacity: 1; }
.atlas-map .pin.is-here circle { fill: var(--pod-yellow); fill-opacity: 1; stroke: var(--ink); }
.atlas-map .pin:focus { outline: none; }
.map-note { display: flex; gap: .5em; align-items: center; font-size: .85rem; margin: 10px 0 28px; }

/* ---------- cards: product ----------------------------------------------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 18px 0 8px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card-img { position: relative; display: block; aspect-ratio: 1; background: #fff; }
.card-img img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; }
.card-img .noimg { position: absolute; inset: 0; margin: auto; }
.card.is-out .card-img img { opacity: .55; filter: grayscale(.4); }
.noimg { width: 56px; height: 56px; color: var(--line-2); }
.card-origin { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px 4px 7px; border-radius: 999px; background: rgba(43,26,18,.88); color: #fbeedb; font-size: .74rem; font-weight: 600; }
.card-origin .icon { width: 13px; height: 13px; color: var(--gold-2); }
.card-flag { position: absolute; right: 10px; top: 10px; padding: 3px 10px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; border-top: 1px solid var(--line); }
.card-maker { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.card h3 { margin: 0; font: 600 1rem/1.3 var(--body); letter-spacing: 0; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }   /* whole card clickable */
.card h3 a:hover { color: var(--red-text); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.card-foot .btn { position: relative; z-index: 1; }
.price { margin: 0; font: 650 1.12rem/1 var(--display); }
.price.big { font-size: 2.2rem; margin: 0 0 6px; }

/* ---------- cards: category tile, origin, post --------------------------- */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin-top: 20px; }
.tile, .ocard { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.tile:hover, .ocard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--ink); }
.tile-img { display: block; aspect-ratio: 4/3; overflow: hidden; background: #fff; }
.tile-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover .tile-img > img, .ocard:hover .ocard-img img { transform: scale(1.04); }
.tile-body { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.tile-body strong { font: 600 1.02rem/1.2 var(--display); flex: 1; }
.tile-body .dim { font-size: .82rem; }
.tile-ic { width: 32px; height: 32px; padding: 6px; border-radius: 9px; background: var(--paper-2); color: var(--gold-ink); }

.collage { display: grid; gap: 2px; width: 100%; height: 100%; background: var(--line); }
.collage.c2 { grid-template-columns: 1fr 1fr; }
.collage.c3 { grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; }
.collage.c3 img:first-child { grid-row: span 2; }
.collage img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 8px; }

.origin-row, .origin-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 20px; }
.origin-grid { margin-bottom: 40px; }
.ocard-img { display: block; aspect-ratio: 3/2; overflow: hidden; }
.ocard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ocard-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.ocard-body strong { font: 600 1.35rem/1.1 var(--display); }
.ocard-body .dim { display: flex; gap: 4px; align-items: center; font-size: .84rem; }
.ocard-body .dim .icon { width: 14px; height: 14px; }
.ocard-body .notes { font: italic 450 .98rem var(--display); color: var(--gold-ink); }
.ocard-foot { margin-top: auto; padding-top: 6px; font-size: .84rem; font-weight: 600; }

.posts-row { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 22px; }
.posts-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.pcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow); position: relative; transition: transform .18s, box-shadow .18s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.pcard-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: 16px 18px 18px; }
.pcard-body .dim { font-size: .8rem; margin: 0 0 6px; }
.pcard h3 { font-size: 1.22rem; }
.pcard h3 a { color: var(--ink); text-decoration: none; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; }
.pcard h3 a:hover { color: var(--red-text); }
.pcard-body p:last-child { margin: 0; color: var(--ink-soft); font-size: .94rem; }

/* ---------- banner --------------------------------------------------------- */
.banner { display: grid; gap: 28px; align-items: center; margin: 0 0 8px; }
.banner.has-photo, .banner.has-collage { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.banner-media { order: 2; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/11; background: #fff; }
.banner-media > img { width: 100%; height: 100%; object-fit: cover; }
.banner-text h1 { margin-bottom: .3em; }
.banner-text .eyebrow .icon { width: 1.3em; height: 1.3em; }
@media (max-width: 820px) {
  .banner.has-photo, .banner.has-collage { grid-template-columns: 1fr; gap: 18px; }
  .banner-media { order: 0; }
}
.facts { list-style: none; padding: 0; margin: 4px 0 12px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-soft); }
.facts li { display: flex; align-items: center; gap: .5em; }
.facts .icon { color: var(--gold-ink); }

/* ---------- chips ---------------------------------------------------------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0; }
.chips a, .chips span:only-child { display: inline-flex; align-items: center; gap: .45em; padding: 6px 13px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .88rem; }
.chips a:hover { border-color: var(--red-text); color: var(--red-text); }
.chips .icon { width: 15px; height: 15px; color: var(--gold-ink); }
.chips-lg a { padding: 9px 16px; font-size: .95rem; }
.notes-chips span:only-child { font: italic 500 .95rem var(--display); background: var(--paper-2); border-color: transparent; color: var(--gold-ink); }

/* ---------- product page --------------------------------------------------- */
.product { display: grid; gap: 40px; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: start; }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; gap: 24px; } }
.product-img { position: sticky; top: 96px; background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 1; }
.product-img img { position: absolute; inset: 28px; width: calc(100% - 56px); height: calc(100% - 56px); object-fit: contain; }
.product-img .noimg { position: absolute; inset: 0; margin: auto; }
@media (max-width: 820px) { .product-img { position: relative; top: 0; } }
.product-info h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.profile { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 16px 0 20px; }
.profile > div { padding: 12px 16px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); }
.profile dt { display: flex; align-items: center; gap: .4em; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.profile dd { margin: 4px 0 0; font: 600 1.2rem/1.3 var(--display); }
.profile dd a { color: var(--ink); text-decoration: none; }
.profile dd a:hover { color: var(--red-text); }
.profile .meter { font: .92rem var(--body); }
.buybox { padding: 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 26px; }
.buybox .small { display: flex; align-items: center; margin: 12px 0 0; }
.stock { display: flex; align-items: center; gap: .4em; font-weight: 600; font-size: .92rem; margin: 0 0 14px; }
.stock.in { color: #2f7a47; }
.stock.out { color: var(--red-text); }
@media (prefers-color-scheme: dark) { .stock.in { color: #7fcf97; } }
.product-info h2 { font-size: 1.25rem; margin-top: 8px; }

.origin-note { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: center; margin: 48px 0 0; padding: 18px;
  border-radius: var(--r-lg); background: var(--paper-2); border: 1px solid var(--line); }
.origin-note-img img { border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.origin-note h2 { margin-bottom: .3em; }
@media (max-width: 760px) { .origin-note { grid-template-columns: 1fr; } }

/* ---------- prose ------------------------------------------------------- */
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 1.7em; }
.prose p, .prose li { max-width: 68ch; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.narrow-prose { max-width: 740px; margin-inline: auto; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; margin-top: 32px; align-items: start; }
.atlas-map.is-zoomed svg { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.post-head { max-width: 820px; margin: 0 auto 26px; text-align: center; }
.post-head .eyebrow { justify-content: center; }
.post-head .lede { margin-inline: auto; }
.post-hero { max-width: 1060px; margin: 0 auto 30px; }
.fig { margin: 28px 0; }
.fig img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); max-height: 620px; object-fit: cover; }
.fig figcaption { margin-top: 8px; font-size: .86rem; color: var(--ink-soft); }
.fig .credit { display: inline; }
.post-hero .fig { margin: 0; }

/* ---------- misc pages -------------------------------------------------- */
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin: 36px 0 0; }
.pager > :last-child { justify-self: end; }
.credits { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.credits li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; padding: 10px;
  border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.credits img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; width: 110px; }
.credits div { display: flex; flex-direction: column; gap: 2px; font-size: .88rem; }
.credits strong { font-weight: 600; line-height: 1.35; }
.credits .credit { margin: 2px 0 0; }
@media (max-width: 420px) { .credits { grid-template-columns: 1fr; } }

/* ---------- footer -------------------------------------------------------- */
.site-foot { background: var(--cacao); color: var(--on-cacao-2); margin-top: 0; padding: 48px 0 32px; border-top: 3px solid var(--gold); }
.site-foot a { color: var(--on-cacao); text-decoration: none; }
.site-foot a:hover { color: var(--gold-2); text-decoration: underline; }
.foot-brand { display: flex; gap: 16px; align-items: center; max-width: 620px; margin-bottom: 32px; }
.foot-brand p { margin: 0; }
.foot-brand strong { color: var(--on-cacao); }
.logo-lg { width: 60px; height: 45px; }
.foot-cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 24px; }
.site-foot h2 { display: flex; align-items: center; gap: .45em; color: var(--gold-2); font: 700 .8rem var(--body); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: .94rem; }
.site-foot .dim { color: var(--on-cacao-2); font-size: .82rem; }
.site-foot .small { color: var(--on-cacao-2); max-width: 90ch; }
.site-foot .small a { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
