/* ==========================================================================
   Dulche Chocolate House — design system
   Cordillera bean-to-bar. Ivory paper, deep cacao, antique gold, and the
   red-and-black weave from the packaging.
   ========================================================================== */

:root {
  --ink: #1b100b;
  --cacao: #2a1911;
  --cacao-2: #3a2419;
  --cocoa: #6b4430;
  --ivory: #f8f2e8;
  --paper: #f1e7d8;
  --sand: #e6d6bf;
  --gold: #b88a4a;
  --gold-2: #dcb878;
  --gold-3: #f0dcb0;
  --weave: #a3262b;
  --weave-2: #c43c3f;
  --leaf: #3e5a34;
  --muted: #7b6658;
  --line: rgba(42, 25, 17, .12);
  --line-strong: rgba(42, 25, 17, .22);
  --white: #fffdf9;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(27, 16, 11, .06);
  --shadow: 0 20px 50px -20px rgba(27, 16, 11, .35);
  --shadow-lg: 0 40px 90px -30px rgba(27, 16, 11, .55);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;

  /* Cordillera weave — chevrons on red, from the packaging illustration */
  --weave-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Crect width='48' height='24' fill='%23a3262b'/%3E%3Cpath d='M0 9 L12 3 L24 9 L36 3 L48 9 V13 L36 7 L24 13 L12 7 L0 13Z' fill='%231b100b'/%3E%3Cpath d='M0 19 L12 13 L24 19 L36 13 L48 19 V21 L36 15 L24 21 L12 15 L0 21Z' fill='%231b100b' opacity='.85'/%3E%3Crect y='0' width='48' height='1.5' fill='%23dcb878'/%3E%3Crect y='22.5' width='48' height='1.5' fill='%23dcb878'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--weave); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* subtle paper grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.02; margin: 0; letter-spacing: -.01em; }
.display { font-size: clamp(3rem, 8.4vw, 8.2rem); line-height: .9; letter-spacing: -.025em; }
.h1 { font-size: clamp(2.6rem, 5.6vw, 5.2rem); line-height: .95; }
.h2 { font-size: clamp(2.1rem, 4.2vw, 3.8rem); }
.h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
em, .it { font-style: italic; }
.serif { font-family: var(--serif); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 54ch; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--cacao); --fg: var(--ivory);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  height: 54px; padding: 0 30px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, var(--gold), var(--gold-2));
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); box-shadow: 0 14px 30px -12px rgba(184, 138, 74, .7); }
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.gold { --bg: var(--gold); --fg: var(--ink); }
.btn.gold::before { background: var(--ivory); }
.btn.ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.btn.ghost-light { --bg: rgba(248, 242, 232, .08); --fg: var(--ivory); box-shadow: inset 0 0 0 1px rgba(248, 242, 232, .4); backdrop-filter: blur(8px); }
.btn.block { width: 100%; }
.btn.sm { height: 42px; padding: 0 20px; font-size: .7rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 4px; transition: background-size .5s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--ink); color: var(--gold-3);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  height: 38px; overflow: hidden; position: relative;
}
.announce-track { display: flex; flex-direction: column; animation: announce 15s infinite var(--ease); }
.announce-track span { height: 38px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 16px; }
@keyframes announce {
  0%, 28% { transform: translateY(0); }
  33%, 61% { transform: translateY(-38px); }
  66%, 94% { transform: translateY(-76px); }
  100% { transform: translateY(0); }
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(248, 242, 232, .82);
  backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, color .4s;
}
.site-header.scrolled { border-color: var(--line); }
.site-header.on-dark:not(.scrolled) { background: transparent; color: var(--ivory); }
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav { display: flex; gap: 30px; }
.nav a { white-space: nowrap; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.brand { display: flex; align-items: center; gap: 12px; justify-self: center; }
.brand-mark { width: 50px; height: 50px; flex: none; }
.logo-mask { display: block; background: var(--gold); -webkit-mask: url("../img/brand/logo-mask.png") center / contain no-repeat; mask: url("../img/brand/logo-mask.png") center / contain no-repeat; }
.on-dark:not(.scrolled) .logo-mask, .site-footer .logo-mask { background: var(--gold-2); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: var(--serif); font-weight: 600; font-size: 1.85rem; letter-spacing: .02em; }
.brand-word small { white-space: nowrap; font-size: .56rem; letter-spacing: .34em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-top: 3px; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; position: relative; transition: background .3s; }
.icon-btn:hover { background: rgba(42, 25, 17, .07); }
.on-dark:not(.scrolled) .icon-btn:hover { background: rgba(255, 255, 255, .12); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--weave); color: #fff; font-size: .62rem; font-weight: 800;
  display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease);
}
.cart-count.show { transform: scale(1); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.menu-btn { display: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: start; }
  .brand-word b { font-size: 1.5rem; }
  .brand-mark { width: 42px; height: 42px; }
  .hide-sm { display: none !important; }
}

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: var(--cacao); color: var(--ivory);
  padding: 100px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
  clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease);
}
.mobile-menu.open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.mobile-menu a { font-family: var(--serif); font-size: 2.6rem; line-height: 1.2; }
.mobile-menu .close { position: absolute; top: 18px; right: var(--gutter); }
.mobile-menu .weave-strip { margin-top: auto; }

/* ---------- Weave band ---------- */
.weave-strip { height: 24px; background: var(--weave-band) repeat-x center / auto 100%; }
.weave-strip.thin { height: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 980px); margin-top: calc(-1 * var(--header-h));
  color: var(--ivory); background: var(--ink); overflow: hidden; display: flex; align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 80% 30%, transparent 0%, rgba(27, 16, 11, .35) 55%, rgba(27, 16, 11, .9) 100%),
    linear-gradient(180deg, rgba(27, 16, 11, .55) 0%, rgba(27, 16, 11, 0) 30%, rgba(27, 16, 11, .85) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 180px; padding-bottom: clamp(48px, 8vw, 110px); width: 100%; }
.hero h1 { max-width: 13ch; }
.hero h1 em { color: var(--gold-2); }
.hero .lead { color: rgba(248, 242, 232, .78); margin: 28px 0 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 8vw, 110px); z-index: 2;
  display: flex; flex-direction: column; gap: 18px; text-align: right;
}
.hero-meta div { border-top: 1px solid rgba(248, 242, 232, .25); padding-top: 12px; min-width: 180px; }
.hero-meta b { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 500; line-height: 1; color: var(--gold-2); }
.hero-meta span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 2; width: 1px; height: 56px; background: rgba(248, 242, 232, .25); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--gold-2); animation: cue 2.2s infinite var(--ease); }
@keyframes cue { to { top: 100%; } }
@media (max-width: 960px) { .hero-meta { display: none; } }

/* split-letter reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.split.in .w > span { transform: none; }

/* ---------- Marquee ---------- */
.marquee { background: var(--cacao); color: var(--gold-3); overflow: hidden; padding: 22px 0; border-block: 1px solid rgba(220, 184, 120, .2); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); font-style: italic; padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; font-style: normal; font-size: .8rem; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section.tight { padding: clamp(56px, 7vw, 100px) 0; }
.section.dark { background: var(--cacao); color: var(--ivory); }
.section.dark .lead { color: rgba(248, 242, 232, .7); }
.section.paper { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap; }
.section-head .h2 { margin-top: 18px; max-width: 16ch; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center .h2 { max-width: 20ch; }

/* reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split .w > span { opacity: 1; transform: none; }
}

/* ---------- Collections mosaic ---------- */
.collections { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 280px; gap: 16px; }
.col-tile { position: relative; border-radius: var(--radius); overflow: hidden; color: var(--ivory); background: var(--cacao); isolation: isolate; }
.col-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); z-index: -2; }
.col-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 16, 11, 0) 35%, rgba(27, 16, 11, .82)); transition: opacity .6s; }
.col-tile:hover img { transform: scale(1.07); }
.col-tile .inner { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.col-tile h3 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.col-tile small { display: block; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; margin-bottom: 8px; }
.col-tile .go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(248, 242, 232, .5); display: grid; place-items: center; flex: none; transition: background .4s, color .4s, transform .5s var(--ease); }
.col-tile:hover .go { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); transform: rotate(-45deg); }
.c1 { grid-column: span 7; grid-row: span 2; } .c2 { grid-column: span 5; } .c3 { grid-column: span 5; }
.c4 { grid-column: span 4; } .c5 { grid-column: span 4; } .c6 { grid-column: span 4; }
@media (max-width: 900px) {
  .collections { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .c1 { grid-column: span 2; } .c2, .c3, .c4, .c5, .c6 { grid-column: span 1; grid-row: span 1; }
  .col-tile .inner { padding: 18px; } .col-tile .go { display: none; }
}

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid, .grid.three { grid-template-columns: repeat(2, 1fr); } }

.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.main { transform: scale(1.05); }
.card:hover .card-media img.alt { opacity: 1; transform: scale(1.03); }
.card-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 2; align-items: flex-start; }
.badge { font-size: .6rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--ivory); color: var(--ink); }
.badge.red { background: var(--weave); color: #fff; }
.badge.dark { background: var(--ink); color: var(--gold-3); }
.badge.green { background: var(--leaf); color: #fff; }
.quick-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  height: 48px; border-radius: 999px; background: rgba(27, 16, 11, .9); color: var(--ivory); backdrop-filter: blur(6px);
  font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease), background .3s;
}
.quick-add:hover { background: var(--gold); color: var(--ink); }
.card:hover .quick-add, .card:focus-within .quick-add { opacity: 1; transform: none; }
@media (hover: none) { .quick-add { opacity: 1; transform: none; height: 40px; font-size: .62rem; } }
.card-body { padding: 16px 4px 0; display: flex; flex-direction: column; gap: 4px; }
.card-type { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.swatch { width: 10px; height: 10px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.card-title { font-family: var(--serif); font-size: 1.45rem; line-height: 1.12; font-weight: 500; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-note { font-size: .86rem; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font-weight: 700; font-size: .95rem; display: flex; gap: 10px; align-items: baseline; margin-top: 4px; }
.price s { color: var(--muted); font-weight: 500; font-size: .85rem; }
.price .from { font-weight: 500; color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.dark .card-note, .dark .price s { color: rgba(248, 242, 232, .6); }
.dark .card-media { background: var(--cacao-2); }

/* horizontal rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 23%); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 24px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 760px) { .rail { grid-auto-columns: 72%; gap: 14px; } }
.rail-nav { display: flex; gap: 10px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.round:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.dark .round { border-color: rgba(248, 242, 232, .3); }
.dark .round:hover { background: var(--gold-2); color: var(--ink); }

/* ---------- Story split ---------- */
.split-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.split-layout.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split-layout { grid-template-columns: 1fr; } .split-layout.rev > :first-child { order: 0; } }
.stack-media { position: relative; }
.stack-media .m1 { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.stack-media .m1 img { width: 100%; height: 100%; object-fit: cover; }
.stack-media .m2 { position: absolute; width: 46%; right: -6%; bottom: -10%; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; border: 8px solid var(--ivory); box-shadow: var(--shadow); }
.paper .stack-media .m2 { border-color: var(--paper); }
.stack-media .m2 img { width: 100%; height: 100%; object-fit: cover; }
.seal {
  position: absolute; top: -40px; left: -40px; width: 150px; height: 150px; z-index: 3;
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .stack-media .m2 { right: 0; } .seal { left: -6px; top: -36px; width: 116px; height: 116px; } }

.steps { counter-reset: s; display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.steps li { list-style: none; counter-increment: s; display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font-family: var(--serif); font-size: 1.6rem; color: var(--gold); font-style: italic; }
.steps b { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; display: block; line-height: 1.1; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.steps { padding: 0; }

/* ---------- Cacao % library ---------- */
.library { position: relative; }
.scale { position: relative; margin: 10px 0 56px; height: 70px; }
.scale-bar { position: absolute; left: 0; right: 0; top: 30px; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #f3e3c7, #c99a6b 35%, #7b4a2f 65%, #2a1911); }
.scale-ticks { position: absolute; left: 0; right: 0; top: 48px; display: flex; justify-content: space-between; font-size: .7rem; letter-spacing: .16em; color: rgba(248, 242, 232, .55); }
.scale-dot {
  position: absolute; top: 18px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%;
  border: 3px solid var(--cacao); box-shadow: 0 0 0 1px rgba(248, 242, 232, .35); cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.scale-dot:hover, .scale-dot.on { transform: scale(1.35); box-shadow: 0 0 0 2px var(--gold-2); z-index: 2; }
.scale-dot .tip {
  position: absolute; bottom: 140%; left: 50%; transform: translateX(-50%) translateY(6px); white-space: nowrap;
  background: var(--ivory); color: var(--ink); padding: 6px 10px; border-radius: 8px; font-size: .7rem; font-weight: 700;
  opacity: 0; pointer-events: none; transition: .3s var(--ease);
}
.scale-dot:hover .tip, .scale-dot.on .tip { opacity: 1; transform: translateX(-50%); }
.bars-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
@media (max-width: 1000px) { .bars-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .bars-row { grid-template-columns: repeat(2, 1fr); } }
.bar-tile { position: relative; border-radius: 14px; overflow: hidden; background: var(--cacao-2); transition: transform .5s var(--ease), opacity .5s, box-shadow .5s; }
.bar-tile img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.bar-tile .lbl { padding: 12px 12px 14px; font-size: .8rem; line-height: 1.3; }
.bar-tile .lbl b { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.bar-tile .lbl span { color: var(--gold-2); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.bar-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.library.filtering .bar-tile:not(.on) { opacity: .25; transform: scale(.97); }

/* ---------- Feature banner ---------- */
.feature { position: relative; border-radius: calc(var(--radius) * 1.5); overflow: hidden; background: var(--cacao); color: var(--ivory); display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.feature .media { position: relative; }
.feature .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature .copy { padding: clamp(32px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.feature .copy .lead { color: rgba(248, 242, 232, .72); }
.feature ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.feature li { display: flex; gap: 14px; align-items: baseline; border-bottom: 1px solid rgba(248, 242, 232, .14); padding-bottom: 12px; }
.feature li b { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; min-width: 10ch; }
.feature li span { color: rgba(248, 242, 232, .65); font-size: .9rem; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature .media { aspect-ratio: 4/3; } }

/* ---------- Café drinks ---------- */
.drinks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.drink { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4.2; background: var(--cacao-2); }
.drink img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.drink:hover img { transform: scale(1.06); }
@media (max-width: 1000px) { .drinks { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .drinks { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; gap: 22px; }
.quote p { font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; margin: 0; }
.quote .who { margin-top: auto; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; display: flex; justify-content: space-between; gap: 10px; }
.stars { color: var(--gold); letter-spacing: 3px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.masonry { columns: 4 260px; column-gap: 14px; }
.masonry figure { margin: 0 0 14px; break-inside: avoid; position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--paper); }
.masonry img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .6s; }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: var(--ivory);
  background: linear-gradient(transparent, rgba(27, 16, 11, .85)); font-size: .78rem; line-height: 1.35;
  opacity: 0; transform: translateY(8px); transition: .5s var(--ease);
}
.masonry figcaption b { display: block; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 3px; }
.masonry figure:hover figcaption { opacity: 1; transform: none; }
.masonry figure.hide { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; transition: .3s; white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chip .n { font-weight: 600; opacity: .55; letter-spacing: 0; }
.dark .chip { border-color: rgba(248, 242, 232, .3); }
.dark .chip.on { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); }

.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(15, 9, 6, .94); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .4s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 80vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox .cap { color: rgba(248, 242, 232, .8); text-align: center; margin-top: 16px; font-size: .9rem; max-width: 70ch; padding: 0 16px; }
.lightbox .cap b { color: var(--gold-2); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.lightbox .lb-btn { position: absolute; color: var(--ivory); width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(248, 242, 232, .3); display: grid; place-items: center; }
.lightbox .lb-btn:hover { background: var(--gold-2); color: var(--ink); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; } .lb-next { right: 20px; top: 50%; }
.lb-count { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); color: rgba(248, 242, 232, .6); font-size: .75rem; letter-spacing: .2em; }

/* ---------- Visit / newsletter ---------- */
.visit { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: calc(var(--radius) * 1.5); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.visit .media { position: relative; min-height: 460px; } .visit .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit .copy { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.info-list { display: grid; gap: 16px; margin: 0; }
.info-list div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.info-list dt { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 800; padding-top: 4px; }
.info-list dd { margin: 0; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .visit .media { min-height: 300px; } }

.newsletter { text-align: center; }
.news-form { display: flex; max-width: 520px; margin: 32px auto 0; border-bottom: 1px solid rgba(248, 242, 232, .4); }
.news-form input { flex: 1; min-width: 0; background: none; border: 0; padding: 16px 4px; color: var(--ivory); font-size: 1.05rem; outline: none; }
.news-form input::placeholder { color: rgba(248, 242, 232, .5); }
.news-form button { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); padding: 0 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(248, 242, 232, .72); padding-top: 90px; font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; padding-bottom: 70px; }
.site-footer h4 { font-family: var(--sans); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 20px; font-weight: 800; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold-2); }
.footer-brand .brand-word b { color: var(--ivory); }
.footer-brand p { max-width: 38ch; margin: 22px 0; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-logo { height: 30px; padding: 0 12px; border-radius: 6px; background: rgba(248, 242, 232, .06); border: 1px solid rgba(248, 242, 232, .14); display: inline-flex; align-items: center; font-size: .7rem; font-weight: 800; letter-spacing: .06em; color: var(--ivory); }
.footer-word { font-family: var(--serif); font-size: clamp(5rem, 21vw, 20rem); line-height: .8; color: rgba(248, 242, 232, .06); text-align: center; letter-spacing: -.03em; user-select: none; margin-top: -10px; overflow: hidden; }
.footer-bottom { border-top: 1px solid rgba(248, 242, 232, .12); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .78rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(248, 242, 232, .2); display: grid; place-items: center; transition: .3s; }
.socials a:hover { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); }
.socials svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }

/* ---------- Drawer (cart) ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(15, 9, 6, .5); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(460px, 100vw);
  background: var(--ivory); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .7s var(--ease); box-shadow: var(--shadow-lg);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.9rem; }
.drawer-head h3 sup { font-family: var(--sans); font-size: .7rem; color: var(--gold); font-weight: 800; margin-left: 4px; }
.ship-meter { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: .84rem; }
.ship-meter .track { height: 6px; border-radius: 4px; background: var(--sand); margin-top: 10px; overflow: hidden; }
.ship-meter .fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--weave)); border-radius: 4px; transition: width .8s var(--ease); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); animation: lineIn .5s var(--ease); }
@keyframes lineIn { from { opacity: 0; transform: translateX(16px); } }
.line img { width: 84px; height: 104px; object-fit: cover; border-radius: 10px; background: var(--paper); }
.line h5 { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; margin: 0; line-height: 1.15; }
.line .v { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.line .rm { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 10px; }
.line .rm:hover { color: var(--weave); }
.line .lp { font-weight: 700; text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; height: 36px; margin-top: 10px; }
.qty button { width: 34px; height: 100%; display: grid; place-items: center; font-size: 1rem; }
.qty input { width: 30px; text-align: center; border: 0; background: none; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.lg { height: 54px; } .qty.lg button { width: 46px; } .qty.lg input { width: 40px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--white); display: grid; gap: 14px; }
.sum-row { display: flex; justify-content: space-between; font-size: .92rem; }
.sum-row.total { font-size: 1.15rem; font-weight: 800; }
.sum-row.total span:last-child { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.empty { text-align: center; padding: 70px 10px; color: var(--muted); }
.empty h4 { font-size: 2rem; color: var(--ink); margin: 16px 0 8px; }
.upsell { padding: 18px 0 8px; }
.upsell h6 { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 12px; color: var(--gold); }
.upsell-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: var(--paper); margin-bottom: 8px; }
.upsell-item img { width: 52px; height: 64px; object-fit: cover; border-radius: 8px; }
.upsell-item div { flex: 1; font-size: .85rem; line-height: 1.3; }
.upsell-item b { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; display: block; }
.upsell-item button { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--ivory); display: grid; place-items: center; flex: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 130; transform: translate(-50%, 140%);
  background: var(--ink); color: var(--ivory); padding: 12px 14px 12px 12px; border-radius: 999px;
  display: flex; align-items: center; gap: 12px; font-size: .88rem; box-shadow: var(--shadow-lg);
  transition: transform .6s var(--ease); max-width: calc(100vw - 32px);
}
.toast.show { transform: translate(-50%, 0); }
.toast img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.toast button { color: var(--gold-2); font-weight: 800; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; padding: 0 8px; white-space: nowrap; }

/* ---------- Search overlay ---------- */
.search-ov { position: fixed; inset: 0; z-index: 110; background: rgba(248, 242, 232, .97); backdrop-filter: blur(10px); padding: 110px var(--gutter) 40px; opacity: 0; pointer-events: none; transition: opacity .4s; overflow-y: auto; }
.search-ov.open { opacity: 1; pointer-events: auto; }
.search-ov input { width: 100%; max-width: 900px; display: block; margin: 0 auto; font-family: var(--serif); font-size: clamp(2rem, 5vw, 4rem); border: 0; border-bottom: 1px solid var(--line-strong); background: none; padding: 10px 0; outline: none; }
.search-results { max-width: 900px; margin: 30px auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.sr-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; transition: background .3s; }
.sr-item:hover { background: var(--paper); }
.sr-item img { width: 56px; height: 70px; object-fit: cover; border-radius: 8px; }
.sr-item b { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; display: block; line-height: 1.1; }
.sr-item span { font-size: .8rem; color: var(--muted); }
.search-ov .close { position: absolute; top: 24px; right: var(--gutter); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(60px, 9vw, 130px) 0 clamp(40px, 5vw, 70px); position: relative; }
.page-hero .h1 { margin-top: 18px; }
.page-hero .lead { margin-top: 22px; }
.crumbs { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 34px; }
.filters h6 { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 14px; color: var(--gold); font-weight: 800; }
.filter-list { display: grid; gap: 4px; }
.filter-list button { display: flex; justify-content: space-between; text-align: left; padding: 8px 12px; border-radius: 10px; font-size: .95rem; transition: background .25s; }
.filter-list button:hover { background: var(--paper); }
.filter-list button.on { background: var(--ink); color: var(--ivory); }
.filter-list button .n { opacity: .5; font-size: .8rem; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: .95rem; }
.check input { width: 18px; height: 18px; accent-color: var(--cacao); }
.range-out { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-top: 8px; }
input[type=range] { width: 100%; accent-color: var(--weave); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); font-size: .9rem; }
.select { height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); padding: 0 40px 0 18px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b100b' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center; appearance: none; font-size: .85rem; font-weight: 600; }
.filter-toggle { display: none; }
@media (max-width: 960px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 100; background: var(--ivory); padding: 26px var(--gutter) 30px; max-height: 80vh; overflow-y: auto; border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .6s var(--ease); box-shadow: var(--shadow-lg); }
  .filters.open { transform: none; }
  .filter-toggle { display: inline-flex; }
}
.no-results { grid-column: 1/-1; text-align: center; padding: 80px 0; color: var(--muted); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding: 30px 0 clamp(60px, 8vw, 120px); }
.pdp-gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs button { border-radius: 10px; overflow: hidden; aspect-ratio: 4/5; opacity: .5; transition: opacity .3s, box-shadow .3s; }
.thumbs button.on { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.main-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--paper); position: relative; cursor: zoom-in; }
.main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out, opacity .4s; }
.main-img.zoom img { transform: scale(1.8); }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .thumbs button { width: 70px; flex: none; }
}
.pdp-info { display: flex; flex-direction: column; gap: 22px; }
.pdp-info .h1 { font-size: clamp(2.4rem, 4.4vw, 4.2rem); }
.pdp-price { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; display: flex; gap: 14px; align-items: baseline; }
.pdp-price s { font-size: 1.3rem; color: var(--muted); font-weight: 400; }
.pdp-price .save { font-family: var(--sans); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; background: var(--weave); color: #fff; padding: 5px 9px; border-radius: 999px; align-self: center; }
.pdp-desc { color: var(--muted); font-size: 1.05rem; margin: 0; }
.opt-label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; margin-bottom: 10px; display: flex; justify-content: space-between; }
.opt-label span { color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: none; font-size: .85rem; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { min-height: 48px; padding: 8px 18px; border-radius: 12px; border: 1px solid var(--line-strong); font-size: .9rem; font-weight: 600; transition: .25s; text-align: left; line-height: 1.25; }
.opt small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.opt:hover { border-color: var(--ink); }
.opt.on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.opt.on small { color: var(--gold-3); }
.buy-row { display: flex; gap: 12px; }
.buy-row .btn { flex: 1; height: 56px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.perk { background: var(--paper); border-radius: 12px; padding: 14px; font-size: .78rem; line-height: 1.35; }
.perk b { display: block; font-size: .82rem; margin-bottom: 2px; }
.notes { display: flex; flex-wrap: wrap; gap: 8px; }
.note-chip { padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .8rem; }
.cacao-meter { display: flex; align-items: center; gap: 14px; }
.cacao-meter .m { flex: 1; height: 8px; border-radius: 5px; background: var(--sand); overflow: hidden; }
.cacao-meter .m i { display: block; height: 100%; background: linear-gradient(90deg, #c99a6b, var(--cacao)); border-radius: 5px; }
.cacao-meter b { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; min-width: 3.2ch; }
details.acc { border-top: 1px solid var(--line); }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 1.2rem; font-weight: 400; transition: transform .3s; }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc .acc-body { padding: 0 0 22px; color: var(--muted); }
details.acc .acc-body p { margin: 0 0 10px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line); padding: 12px var(--gutter); display: none; align-items: center; gap: 14px; transform: translateY(100%); transition: transform .5s var(--ease); }
.sticky-buy.show { transform: none; }
.sticky-buy img { width: 44px; height: 54px; object-fit: cover; border-radius: 8px; }
.sticky-buy .t { flex: 1; min-width: 0; } .sticky-buy .t b { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .sticky-buy { display: flex; } }

/* ---------- Checkout ---------- */
.checkout-page { background: var(--paper); min-height: 100vh; }
.co-header { background: var(--ivory); border-bottom: 1px solid var(--line); }
.co-header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.secure { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--leaf); display: flex; align-items: center; gap: 8px; }
.co-layout { display: grid; grid-template-columns: 1fr 440px; gap: 40px; padding: 40px 0 100px; align-items: start; }
@media (max-width: 1000px) { .co-layout { grid-template-columns: 1fr; } .co-summary { order: -1; } }
.stepper { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.stepper span { display: flex; align-items: center; gap: 10px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.stepper span i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-style: normal; letter-spacing: 0; }
.stepper span.on { color: var(--ink); } .stepper span.on i { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.stepper span.done i { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.stepper .sep { width: 30px; height: 1px; background: var(--line-strong); align-self: center; }
.panel { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 40px); border: 1px solid var(--line); margin-bottom: 20px; }
.panel h2 { font-size: 2rem; margin-bottom: 6px; }
.panel .sub { color: var(--muted); margin: 0 0 24px; font-size: .92rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1/-1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; height: 58px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white);
  padding: 22px 16px 6px; font-size: .98rem; outline: none; transition: border-color .25s, box-shadow .25s; appearance: none;
}
.field textarea { height: 96px; resize: vertical; padding-top: 26px; }
.field label { position: absolute; left: 17px; top: 18px; font-size: .95rem; color: var(--muted); pointer-events: none; transition: .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(184, 138, 74, .18); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.field.err input, .field.err select { border-color: var(--weave); }
.field .msg { font-size: .75rem; color: var(--weave); margin-top: 4px; display: none; }
.field.err .msg { display: block; }
.radio-cards { display: grid; gap: 10px; }
.rc { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line-strong); border-radius: 14px; cursor: pointer; transition: .25s; position: relative; }
.rc:hover { border-color: var(--ink); }
.rc input { position: absolute; opacity: 0; }
.rc .dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; display: grid; place-items: center; }
.rc .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .3s var(--ease); }
.rc:has(input:checked) { border-color: var(--ink); background: var(--ivory); box-shadow: 0 0 0 1px var(--ink); }
.rc:has(input:checked) .dot { border-color: var(--ink); }
.rc:has(input:checked) .dot::after { transform: scale(1); }
.rc .t { flex: 1; } .rc .t b { display: block; font-size: .98rem; } .rc .t span { font-size: .82rem; color: var(--muted); }
.rc .r { font-weight: 800; font-size: .92rem; }
.pay-mark { width: 64px; height: 40px; border-radius: 8px; display: grid; place-items: center; font-weight: 900; font-size: .78rem; letter-spacing: -.01em; color: #fff; flex: none; }
.pm-gcash { background: #007dfe; } .pm-maya { background: #0f1b2d; color: #34d07f; }
.pm-bdo { background: #003a8c; color: #ffd200; } .pm-bpi { background: #b11116; } .pm-cod { background: var(--cacao); color: var(--gold-2); }
.co-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.co-summary { position: sticky; top: 20px; background: var(--ivory); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.co-summary .head { padding: 22px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.co-summary .items { padding: 8px 24px; max-height: 340px; overflow-y: auto; }
.co-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; }
.co-item .im { position: relative; } .co-item img { width: 60px; height: 72px; object-fit: cover; border-radius: 10px; }
.co-item .im i { position: absolute; top: -7px; right: -7px; background: var(--ink); color: var(--ivory); font-style: normal; font-size: .66rem; font-weight: 800; min-width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; }
.co-item b { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; line-height: 1.1; display: block; }
.co-item span { font-size: .78rem; color: var(--muted); }
.co-totals { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.promo { display: flex; gap: 8px; padding: 0 24px 18px; }
.promo input { flex: 1; min-width: 0; height: 46px; border-radius: 10px; border: 1px solid var(--line-strong); padding: 0 14px; background: var(--white); }
.promo button { height: 46px; padding: 0 18px; border-radius: 10px; background: var(--ink); color: var(--ivory); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.review-block { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.review-block dt { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--muted); padding-top: 3px; }
.review-block dd { margin: 0; }
.review-block button { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; }
.mock-note { display: flex; gap: 10px; background: #fff7e6; border: 1px solid #f0d9a8; border-radius: 12px; padding: 12px 14px; font-size: .82rem; color: #6d5121; margin-bottom: 20px; }

/* payment modal (mock gateways) */
.pay-modal { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; background: rgba(15, 9, 6, .6); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .4s; padding: 16px; }
.pay-modal.open { opacity: 1; pointer-events: auto; }
.gw { width: min(420px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); transform: translateY(30px) scale(.97); transition: transform .5s var(--ease); font-family: var(--sans); color: #1d2433; }
.pay-modal.open .gw { transform: none; }
.gw-head { padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; color: #fff; }
.gw-head b { font-size: 1.3rem; font-weight: 900; letter-spacing: -.02em; }
.gw-head small { font-size: .7rem; opacity: .8; display: block; }
.gw-head button { color: #fff; opacity: .8; }
.gw-body { padding: 24px 22px 26px; display: grid; gap: 16px; }
.gw-merchant { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; padding-bottom: 14px; border-bottom: 1px dashed #d9dee8; }
.gw-amount { text-align: center; }
.gw-amount small { font-size: .72rem; color: #6b7385; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.gw-amount div { font-size: 2.3rem; font-weight: 900; letter-spacing: -.03em; }
.gw-qr { width: 200px; height: 200px; margin: 0 auto; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #e4e8f0, 0 10px 30px -14px rgba(0, 0, 0, .3); }
.gw-qr svg { width: 100%; height: 100%; }
.gw-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #f1f3f7; border-radius: 12px; padding: 4px; }
.gw-tabs button { height: 38px; border-radius: 9px; font-size: .8rem; font-weight: 700; color: #6b7385; }
.gw-tabs button.on { background: #fff; color: #1d2433; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.gw-input { height: 52px; border: 1.5px solid #d9dee8; border-radius: 12px; padding: 0 14px; font-size: 1.05rem; width: 100%; outline: none; }
.gw-input:focus { border-color: var(--gw, #007dfe); }
.gw-btn { height: 52px; border-radius: 12px; background: var(--gw, #007dfe); color: #fff; font-weight: 800; font-size: .95rem; width: 100%; transition: filter .2s; }
.gw-btn:hover { filter: brightness(1.08); }
.gw-btn.alt { background: #f1f3f7; color: #1d2433; }
.gw-small { font-size: .76rem; color: #6b7385; text-align: center; line-height: 1.45; }
.gw-otp { display: flex; gap: 8px; justify-content: center; }
.gw-otp input { width: 46px; height: 56px; text-align: center; font-size: 1.4rem; font-weight: 800; border: 1.5px solid #d9dee8; border-radius: 12px; outline: none; }
.gw-otp input:focus { border-color: var(--gw, #007dfe); }
.gw-bank-acct { background: #f6f8fb; border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; font-size: .86rem; }
.gw-bank-acct div { display: flex; justify-content: space-between; gap: 10px; }
.gw-bank-acct b { font-weight: 800; }
.gw-copy { font-size: .7rem; font-weight: 800; color: var(--gw, #007dfe); text-transform: uppercase; letter-spacing: .08em; }
.gw-spinner { width: 54px; height: 54px; border-radius: 50%; border: 4px solid #e4e8f0; border-top-color: var(--gw, #007dfe); animation: spin 0.9s linear infinite; margin: 20px auto; }
.gw-step { display: none; } .gw-step.on { display: grid; gap: 16px; }
.gw-check { width: 74px; height: 74px; border-radius: 50%; background: #18b26b; color: #fff; display: grid; place-items: center; margin: 10px auto 0; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(0); } }

/* confirmation */
.confirm { text-align: center; padding: clamp(50px, 8vw, 100px) 0; }
.confirm .seal-ok { width: 110px; height: 110px; margin: 0 auto 30px; border-radius: 50%; background: var(--cacao); color: var(--gold-2); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(184, 138, 74, .18); animation: pop .8s var(--ease); }
.confirm .h1 { max-width: 14ch; margin: 0 auto; }
.order-card { max-width: 640px; margin: 40px auto 0; text-align: left; }

/* ---------- Misc ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; }
.pill-row div { display: flex; align-items: center; gap: 12px; font-size: .86rem; }
.pill-row svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.trust { border-block: 1px solid var(--line); padding: 26px 0; }
.ornament { display: flex; align-items: center; gap: 16px; color: var(--gold); justify-content: center; }
.ornament::before, .ornament::after { content: ""; width: 60px; height: 1px; background: currentColor; }
.timeline { display: grid; gap: 0; border-left: 1px solid rgba(220, 184, 120, .3); margin-left: 8px; }
.timeline > div { position: relative; padding: 0 0 40px 34px; }
.timeline > div::before { content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 5px rgba(220, 184, 120, .15); }
.timeline small { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); font-weight: 800; }
.timeline h4 { font-size: 1.8rem; margin: 6px 0 8px; }
.timeline p { margin: 0; color: rgba(248, 242, 232, .7); max-width: 52ch; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.values > div { background: var(--ivory); padding: 36px 28px; }
.values svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 18px; }
.values h4 { font-size: 1.6rem; margin-bottom: 8px; }
.values p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-band b { font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.6rem); font-weight: 500; display: block; line-height: 1; color: var(--gold-2); }
.stat-band span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
@media (max-width: 700px) { .stat-band { grid-template-columns: 1fr 1fr; row-gap: 36px; } }

/* ---------- Hero v2: arch composition ---------- */
.hero-v2 { align-items: stretch; background: radial-gradient(120% 90% at 85% 20%, #4a2c1d 0%, #2a1911 45%, #160d08 100%); flex-direction: column; }
.hero-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 40% at 72% 45%, rgba(220,184,120,.22), transparent 70%), radial-gradient(30% 30% at 10% 90%, rgba(163,38,43,.25), transparent 70%); }
.hero-grid { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding-top: calc(var(--header-h) + 60px); padding-bottom: 90px; }
.hero-v2 .lead { color: rgba(248,242,232,.75); margin: 28px 0 40px; }
.hero-v2 h1 em { color: var(--gold-2); }
.hero-proof { display: flex; gap: clamp(20px, 4vw, 54px); margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(248,242,232,.15); }
.hero-proof b { display: block; font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 500; line-height: 1; color: var(--gold-2); }
.hero-proof span { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(248,242,232,.6); font-weight: 700; }
.hero-art { position: relative; justify-self: center; width: min(100%, 500px); }
.arch { aspect-ratio: 4/5.4; border-radius: 999px 999px 24px 24px; overflow: hidden; box-shadow: 0 60px 120px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(220,184,120,.25); position: relative; }
.arch::after { content: ""; position: absolute; inset: 12px; border-radius: 999px 999px 16px 16px; border: 1px solid rgba(248,242,232,.35); pointer-events: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: heroZoom 12s var(--ease) forwards; }
.orb { position: absolute; width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; left: -22%; bottom: 8%; border: 6px solid #2a1911; box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite; }
.orb img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .seal { top: -30px; left: auto; right: -40px; width: 140px; height: 140px; }
@keyframes float { 50% { transform: translateY(-14px); } }
.hero-weave { position: relative; z-index: 2; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 30px); padding-bottom: 60px; }
  .hero-art { width: 78%; margin-top: 10px; }
  .orb { left: -14%; }
  .hero-art .seal { right: -18px; width: 104px; height: 104px; }
  .hero-proof { margin-top: 40px; }
}

/* ---------- Gallery teaser ---------- */
.teaser-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 14px; }
.teaser-grid a { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--cacao-2); }
.teaser-grid a:first-child { grid-row: span 2; }
.teaser-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.teaser-grid a:hover img { transform: scale(1.06); }
.teaser-grid span { position: absolute; left: 14px; bottom: 14px; background: rgba(27,16,11,.75); backdrop-filter: blur(6px); color: var(--gold-3); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; padding: 7px 12px; border-radius: 999px; }
@media (max-width: 760px) { .teaser-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; } .teaser-grid a:first-child { grid-column: span 2; grid-row: span 1; } .teaser-grid a:nth-child(n+6) { display: none; } }

@media (max-width: 600px) {
  .announce { font-size: .6rem; letter-spacing: .1em; }
  .stack-media .m2 { right: -2%; width: 42%; }
}

/* ---------- Recognition + milestones ---------- */
.recog { border-bottom: 1px solid var(--line); }
.recog-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.recog-row div { text-align: center; padding: 10px 18px; border-left: 1px solid var(--line); }
.recog-row div:first-child { border-left: 0; }
.recog-row b { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3.4rem); font-weight: 500; line-height: 1; color: var(--weave); }
.recog-row span { display: block; margin-top: 10px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted); line-height: 1.6; }
@media (max-width: 760px) { .recog-row { grid-template-columns: 1fr 1fr; row-gap: 30px; } .recog-row div:nth-child(3) { border-left: 0; } }
.milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.milestones article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.milestones img { aspect-ratio: 16/10; width: 100%; object-fit: cover; background: var(--paper); }
.milestones small { margin: 22px 24px 0; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.milestones h4 { font-size: 1.7rem; margin: 6px 24px 8px; }
.milestones p { margin: 0 24px 26px; color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) { .milestones { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .milestones { grid-template-columns: 1fr; } }

.hero-title { font-size: clamp(3rem, 6.4vw, 6.6rem); max-width: 12ch; }
@media (max-width: 600px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 0; }
  .icon-btn { width: 40px; height: 40px; }
  .brand { gap: 8px; }
  .brand-word small { letter-spacing: .22em; font-size: .5rem; }
  .co-header .secure { font-size: .6rem; letter-spacing: .1em; }
}
