/* Wonderwerk redesign: shared tokens, layout, home, cart. */
:root {
  --bg: #F3EFEC;          /* the studio backdrop of their product photos */
  --paper: #FFFFFF;
  --ink: #161616;
  --ink2: #4A4541;
  --soft: #E8E2DD;
  --accent: #FF7F21;      /* their cat's orange */
  --accent-ink: #161616;
  --sans: "Barlow", "Franklin Gothic Book", system-ui, sans-serif;
  --display: "Barlow Semi Condensed", "Franklin Gothic Medium", system-ui, sans-serif; /* slightly rounded corners */
  --serif: var(--display); /* no serif anywhere: every former serif role uses the display sans */
  --r: 14px;
  --navh: 72px;
  --pad: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; interpolate-size: allow-keywords; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--pad); }
main { padding-top: var(--navh); }
body.home main { padding-top: 0; }

/* ---------- type ---------- */
.h1, .h2, .h3, .hero__title, .buy__title { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.h1 { font-size: clamp(2.9rem, 7.4vw, 7rem); line-height: 0.95; }
.h2 { font-size: clamp(2.3rem, 5.2vw, 4.9rem); line-height: 0.98; }
.h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.05; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; max-width: 40ch; margin: 18px 0 0; }
/* every h1-h6 uses the display sans; :not(#_) lifts it over the per-component font rules */
:is(.price__now, .note__word, .occ__q, .stats dd, .nf__num, .menu nav a, .footer__nav:not(.footer__nav--small) a, .bigmail > span:first-child, .party__name, .cline__name, .pick__name, .ab-pull p, .lg__p, .facts dd, .settile__h, .buy__notes, .bar__name, .up b, .cempty p, .dist__cta p, .quiz__a, .bsum__price [data-btotal], .boxlist b, .sheet b) { font-weight: 700; letter-spacing: -0.01em; }
:is(h1, h2, h3, h4, h5, h6):not(#_) { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; }
/* word masks: room for descenders and overhangs so nothing gets clipped */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .06em .26em; margin: -.16em -.06em -.26em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn { --bfg: #fff; --bbg: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--bbg); background: var(--bbg); color: var(--bfg); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: transform 160ms var(--ease), background-color 200ms ease, color 200ms ease, border-color 200ms ease; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--ink { --bbg: var(--ink); --bfg: #fff; }
.btn--accent { --bbg: var(--accent); --bfg: var(--accent-ink); }
.btn--light { --bbg: #fff; --bfg: var(--ink); }
.btn--ghost { --bbg: transparent; --bfg: var(--ink); border-color: var(--ink); background: transparent; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn i { font-size: 1.15em; }
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover { background: #333; border-color: #333; }
  .btn--accent:hover { background: #ff9540; border-color: #ff9540; }
  .btn--light:hover { background: var(--accent); border-color: var(--accent); }
  .btn--ghost:hover { background: var(--ink); color: #fff; }
}
.qadd__price, .buy__total { padding-left: 10px; margin-left: 2px; border-left: 1.5px solid currentColor; opacity: .9; font-variant-numeric: tabular-nums; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; display: grid; place-items: center; font-size: 20px; transition: transform 160ms var(--ease), background-color 200ms ease, color 200ms ease; }
.icon-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--ink); color: #fff; } }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--navh); display: flex; align-items: center; gap: 24px; padding-inline: var(--pad); background: var(--bg); }
.nav__logo { display: block; flex: none; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { background: var(--soft); } }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.cartbtn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; transition: transform 160ms var(--ease); }
.cartbtn:active { transform: scale(0.97); }
.cartbtn__meter { width: 42px; height: 6px; border-radius: 9px; background: rgba(255,255,255,.22); overflow: hidden; }
.cartbtn__meter span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 600ms var(--ease); }
.cartbtn__n { min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.cartbtn.is-bump .cartbtn__n { animation: bump 420ms var(--ease); }
@keyframes bump { 30% { transform: scale(1.28); } }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform 300ms var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: var(--navh) 0 0; z-index: 49; background: var(--bg); padding: 24px var(--pad); display: flex; flex-direction: column; justify-content: space-between; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--serif); font-size: 44px; line-height: 1.15; text-decoration: none; padding: 4px 0; }
.menu__foot { font-weight: 600; }
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .burger { display: block; }
}
@media (max-width: 520px) {
  .nav { gap: 12px; }
  .nav__logo img { height: 22px; }
  .cartbtn__label { display: none; }
  .cartbtn { padding-left: 12px; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #111; margin-top: var(--navh); min-height: max(600px, calc(100svh - var(--navh))); }
.hero__media { position: absolute; inset: -6% 0; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.12) 100%); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(40px, 7vw, 96px); }
.hero__title { font-size: clamp(3.4rem, 8.6vw, 9.4rem); line-height: 0.92; max-width: 15ch; }
.hero__sub { font-size: clamp(1.08rem, 1.5vw, 1.35rem); max-width: 38ch; margin: 24px 0 0; font-weight: 500; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.badge { position: absolute; z-index: 3; right: var(--pad); top: 32px; width: 128px; height: 128px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; text-decoration: none; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge text { font: 700 21px var(--sans); letter-spacing: .04em; fill: currentColor; }
.badge__mark img { width: 34px; height: auto; }
.hero__sound { position: absolute; z-index: 3; right: var(--pad); bottom: 28px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; font-size: 18px; }
@media (max-width: 700px) {
  .badge { width: 116px; height: 116px; top: 18px; }
  .badge__mark img { width: 30px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__sound { bottom: auto; top: 26px; left: var(--pad); right: auto; }
}

/* ---------- marquee ---------- */
.mq { background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; }
.mq__track { display: flex; width: max-content; }
.mq__set { display: flex; align-items: center; gap: clamp(28px, 3vw, 44px); padding-right: clamp(28px, 3vw, 44px); }
.mq__item { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 46px); line-height: 1; white-space: nowrap; }
.mq__mark { height: clamp(34px, 3.6vw, 50px); width: auto; filter: invert(1); }

/* ---------- product cards ---------- */
.qcard { --field: #eee; flex: none; display: flex; flex-direction: column; }
.qcard__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--field); overflow: hidden; }
.qcard__media img { position: absolute; inset: 9% 0 7%; width: 100%; height: 84%; object-fit: contain; transition: transform 500ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .qcard__media:hover img { transform: translateY(-10px); } }
.qcard__body { padding: 16px 2px 0; display: flex; flex-direction: column; flex: 1; }
.qcard__name { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.02; margin: 0; }
.qcard__name a { text-decoration: none; }
.qcard__notes { margin: 6px 0 0; font-weight: 600; }
.qcard__meta { margin: 2px 0 14px; color: var(--ink2); font-size: 15px; }
.qadd { margin-top: auto; }
.qadd__add { width: 100%; }
.qadd__step { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-radius: 999px; background: var(--accent); padding: 0 4px; }
.qadd__step[hidden] { display: none; }
.qadd__b { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.1); display: grid; place-items: center; font-size: 18px; transition: transform 160ms var(--ease), background-color 200ms; }
.qadd__b:active { transform: scale(0.9); }
.qadd__n { font-weight: 700; font-variant-numeric: tabular-nums; }
.qadd__n::after { content: " in cart"; font-weight: 500; }

/* ---------- rail ---------- */
.wines-rail, .series, .occ, .founders, .gallery, .related, .set { padding-block: clamp(80px, 11vw, 160px); }
.wines-rail { padding-bottom: clamp(56px, 7vw, 96px); }
.rail-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 32px; margin-bottom: 40px; }
.rail-head .lede { grid-column: 1; }
.rail-ctrl { display: flex; gap: 10px; grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 12px var(--pad) 20px; margin-top: -12px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail .qcard { width: clamp(250px, 24vw, 320px); scroll-snap-align: start; }
/* rails start on the same left edge as .wrap content */
.wines-rail .rail, .related .rail { padding-left: max(var(--pad), calc((100% - 1400px) / 2 + var(--pad))); scroll-padding-left: max(var(--pad), calc((100% - 1400px) / 2 + var(--pad))); }
@media (max-width: 700px) { .rail-ctrl { display: none; } .rail-head { grid-template-columns: 1fr; } }

/* ---------- series bento ---------- */
.series { padding-top: clamp(40px, 6vw, 80px); }
.bento { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 20px; margin-top: 44px; }
.tile { border-radius: var(--r); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1fr auto; gap: 24px; min-height: 340px; overflow: hidden; }
.tile--big { grid-row: span 2; grid-template-columns: 1fr; background: #FFB26B; }
.tile--ital { background: #FF9C8A; }
.tile--party { background: #FFE14D; }
.tile__h { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1; margin: 0; }
.tile__line { font-weight: 700; margin: 10px 0 0; }
.tile__sub { margin: 6px 0 22px; max-width: 34ch; }
.tile__copy { display: flex; flex-direction: column; align-items: flex-start; }
.tile__bottles { display: flex; align-items: flex-end; justify-content: center; gap: 4px; align-self: end; }
.tile__bottle img { height: 230px; width: auto; transition: transform 500ms var(--ease); }
.tile--big .tile__bottle img { height: clamp(260px, 30vw, 420px); }
@media (hover: hover) and (pointer: fine) { .tile__bottle:hover img { transform: translateY(-14px); } }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .tile--big { grid-row: auto; }
  .tile { grid-template-columns: 1fr; }
  .tile__bottle img { height: 190px; }
  .tile--big .tile__bottle img { height: 240px; }
}

/* ---------- party box builder ---------- */
.builder { background: var(--ink); color: #fff; padding-block: clamp(80px, 10vw, 150px); scroll-margin-top: var(--navh); }
.builder__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.builder__left { position: sticky; top: calc(var(--navh) + 24px); }
.builder .lede { color: #e9e4df; }
.seg { position: relative; display: flex; border: 0; padding: 5px; margin: 28px 0 0; border-radius: 999px; background: #2a2a2a; isolation: isolate; }
.seg label { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px; border-radius: 999px; cursor: pointer; text-align: center; padding: 6px 8px; transition: color 250ms ease; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg__t { font-weight: 700; line-height: 1.1; }
.seg__s { font-size: 13px; opacity: .8; line-height: 1.2; margin-top: 2px; }
.seg__thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--accent); }
.seg label:has(input:checked) { color: var(--ink); }
.seg label:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: -3px; }
.crate { margin-top: 28px; display: grid; grid-template-columns: repeat(var(--cols, 6), 1fr); gap: 8px; padding: 14px; border-radius: var(--r); background: #2a2a2a; }
.slot { aspect-ratio: 1 / 2.4; border-radius: 10px; background: #353535; display: grid; place-items: end center; overflow: hidden; position: relative; }
.slot::after { content: ""; position: absolute; inset: 30% 38% 8%; border-radius: 6px 6px 4px 4px; border: 2px dashed rgba(255,255,255,.16); }
.slot.is-full { background: var(--field); }
.slot.is-full::after { display: none; }
.slot img { height: 92%; width: auto; margin-bottom: 4%; }
.crate__status { margin: 16px 0 0; font-weight: 600; min-height: 1.6em; }
.picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pick { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 10px 10px 10px 12px; border-radius: var(--r); background: #232323; transition: background-color 250ms ease; }
.pick.is-on { background: #2f2f2f; box-shadow: inset 4px 0 0 var(--field); }
.pick img { height: 72px; width: auto; margin-inline: auto; }
.pick__name { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.1; }
.pick__notes { margin: 2px 0 0; font-size: 14px; color: #cfc8c2; }
.pick__step { display: flex; align-items: center; gap: 4px; background: #111; border-radius: 999px; padding: 4px; }
.pick__step button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #2f2f2f; color: #fff; display: grid; place-items: center; font-size: 17px; transition: transform 160ms var(--ease), background-color 200ms; }
.pick__step button:active { transform: scale(0.9); }
.pick__step button:disabled { opacity: .3; cursor: not-allowed; }
.pick__step button[data-pstep="1"]:not(:disabled) { background: var(--accent); color: var(--ink); }
.pick__step span { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.bsum { margin-top: 20px; padding: 22px; border-radius: var(--r); background: #232323; display: grid; gap: 16px; }
.bsum .btn--ghost { color: #fff; border-color: #fff; justify-self: start; }
@media (hover: hover) and (pointer: fine) { .bsum .btn--ghost:hover { background: #fff; color: var(--ink); } }
.fanrow { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 15px; line-height: 1.45; }
.fanrow input, .fswitch input { position: absolute; opacity: 0; }
.switch { flex: none; width: 48px; height: 28px; border-radius: 999px; background: #555; position: relative; transition: background-color 250ms ease; margin-top: 1px; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 300ms var(--ease); }
input:checked + .switch { background: var(--accent); }
input:checked + .switch::after { transform: translateX(20px); }
input:focus-visible + .switch { outline: 3px solid var(--accent); outline-offset: 2px; }
.bsum__price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-variant-numeric: tabular-nums; }
.bsum__price s { color: #a39c96; font-size: 20px; }
.bsum__price [data-btotal] { font-family: var(--serif); font-size: 44px; line-height: 1; }
.bsum__per { color: #cfc8c2; font-size: 15px; }
.bsum__cta { width: 100%; }
@media (max-width: 900px) {
  .builder__in { grid-template-columns: 1fr; }
  .builder__left { position: static; }
  .seg__s { font-size: 12px; }
}

/* ---------- color spectrum (pinned) ---------- */
.spec { background: #DDEFFF; }
.spec__pin { min-height: 100svh; display: flex; align-items: center; padding-block: calc(var(--navh) + 32px) 48px; }
.spec__in { display: grid; gap: 28px; }
.spec__scale { position: relative; padding: 18px 22px 0; border-radius: 999px; background: rgba(255,255,255,.6); }
.spec__track { display: block; height: 8px; border-radius: 9px; background: rgba(0,0,0,.12); }
.spec__marker { position: absolute; top: 10px; left: 22px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); }
.spec__scale ol { list-style: none; margin: 0; padding: 10px 0 12px; display: flex; justify-content: space-between; font-weight: 700; }
.spec__stops { display: grid; }
.spec__stop { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: end; gap: 32px; visibility: hidden; }
.spec__stop.is-active { visibility: visible; }
.spec__name { font-family: var(--serif); font-weight: 400; font-size: clamp(4rem, 13vw, 12rem); line-height: .9; margin: 0; }
.spec__line { font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 600; margin: 12px 0 0; grid-column: 1; }
.spec__stop > div, .spec__bottles { grid-column: 2; grid-row: 1 / span 2; }
.spec__bottles { display: flex; justify-content: flex-end; align-items: flex-end; gap: clamp(8px, 2vw, 28px); }
.spec__b { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; text-align: center; max-width: 120px; }
.spec__b img { height: clamp(220px, 38vh, 380px); width: auto; transition: transform 500ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .spec__b:hover img { transform: translateY(-12px); } }
@media (max-width: 800px) {
  .spec__stop { grid-template-columns: 1fr; gap: 16px; }
  .spec__stop > div, .spec__bottles { grid-column: 1; grid-row: auto; justify-content: flex-start; }
  .spec__b { font-size: 14px; }
  .spec__b img { height: 190px; }
}
.reduced .spec__stops { gap: 64px; }
.reduced .spec__stop { grid-area: auto; visibility: visible; }

/* ---------- occasions hover list ---------- */
.occ__list { list-style: none; padding: 0; margin: 44px 0 0; }
.occ__list a { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 22px 0; text-decoration: none; border-top: 1.5px solid var(--ink); transition: color 250ms ease, padding 400ms var(--ease); }
.occ__list li:last-child a { border-bottom: 1.5px solid var(--ink); }
.occ__q { font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 3.4rem); line-height: 1.05; }
.occ__a { font-weight: 700; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.occ__list i { font-size: 26px; }
.occ__thumb { display: none; }
@media (hover: hover) and (pointer: fine) { .occ__list a:hover { color: var(--deep); padding-left: 18px; } }
.occ__cursor { position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none; opacity: 0; transition: opacity 250ms ease; }
.occ__cursor.is-on { opacity: 1; }
.occ__cursor img { height: 300px; width: auto; }
@media (hover: none), (pointer: coarse) {
  .occ__cursor { display: none; }
  .occ__list a { grid-template-columns: 1fr auto; }
  .occ__thumb { display: block; height: 72px; width: auto; grid-row: 1 / span 2; grid-column: 2; }
  .occ__a { grid-column: 1; }
  .occ__list i { display: none; }
}

/* ---------- founders ---------- */
.founders { background: var(--paper); }
.founders__in { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.founders__img { margin: 0; border-radius: var(--r); overflow: hidden; }
.founders__img img { width: 100%; height: auto; }
.read { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.4; margin: 28px 0; max-width: 34ch; }
.read .rw { opacity: .22; transition: opacity 300ms ease; }
.attrs { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.attrs li { padding: 8px 14px; border-radius: 999px; background: var(--bg); font-weight: 600; font-size: 15px; }
.founders__vaca { width: 200px; height: auto; margin-top: 36px; border-radius: 8px; }
@media (max-width: 860px) { .founders__in { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(90px, 9vw, 130px); gap: 16px; margin-top: 44px; }
.g { margin: 0; border-radius: var(--r); overflow: hidden; }
.g img { width: 100%; height: 100%; object-fit: cover; }
.g--a { grid-column: 1 / span 5; grid-row: span 4; }
.g--b { grid-column: 6 / span 3; grid-row: span 3; }
.g--c { grid-column: 9 / span 4; grid-row: span 3; }
.g--d { grid-column: 6 / span 4; grid-row: span 2; }
.g--e { grid-column: 10 / span 3; grid-row: span 2; }
.g--f { grid-column: 1 / span 5; grid-row: span 1; }
@media (max-width: 760px) {
  .gal { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 100px; gap: 10px; }
  .g--a { grid-column: 1 / span 6; grid-row: span 4; }
  .g--b { grid-column: 1 / span 3; grid-row: span 3; }
  .g--c { grid-column: 4 / span 3; grid-row: span 3; }
  .g--d, .g--e { grid-column: span 3; grid-row: span 2; }
  .g--f { display: none; }
}

/* ---------- trade band ---------- */
.trade-band { background: var(--accent); padding-block: clamp(80px, 10vw, 140px); }
.trade-band__in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.trade-band .btn { margin-top: 28px; --bbg: var(--ink); --bfg: #fff; }
.stats { margin: 0; display: grid; gap: 14px; }
.stats > div { background: rgba(255,255,255,.35); border-radius: var(--r); padding: 18px 24px; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 24px; }
.stats dd { margin: 0; font-family: var(--serif); font-size: clamp(3.6rem, 6vw, 5.6rem); line-height: 1; grid-row: 1 / span 2; grid-column: 1; font-variant-numeric: tabular-nums; min-width: 1.4em; }
.stats dt { font-weight: 700; font-size: 18px; grid-column: 2; }
.stats p { margin: 0; grid-column: 2; }
@media (max-width: 860px) { .trade-band__in { grid-template-columns: 1fr; } }

/* ---------- newsletter + footer ---------- */
.news { padding-block: clamp(80px, 10vw, 140px); }
.news__in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.news__form { display: flex; gap: 10px; margin-top: 24px; }
.news__form input { flex: 1; min-width: 0; height: 56px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); padding: 0 22px; font-size: 16px; }
.news__form .btn { min-height: 56px; }
.demo-ok { font-weight: 600; margin: 24px 0 0; padding: 16px 20px; border-radius: var(--r); background: var(--paper); }
@media (max-width: 760px) { .news__in { grid-template-columns: 1fr; } .news__form { flex-direction: column; } .news__form input { flex: none; width: 100%; } }
.footer { background: var(--ink); color: #fff; padding-top: 64px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.footer__nav a { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); text-decoration: none; }
.footer__nav--small { grid-column: 1; }
.footer__nav--small a { font-family: var(--sans); font-size: 16px; font-weight: 600; color: #cfc8c2; }
.footer__note { grid-column: 2; grid-row: 1 / span 2; margin: 0; color: #cfc8c2; max-width: 32ch; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .footer__nav a:hover { color: var(--accent); } }
.footer__brand { padding: clamp(56px, 8vw, 120px) var(--pad) 24px; }
.footer__brand img { width: 100%; height: auto; filter: invert(1); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; padding-block: 20px 28px; color: #a39c96; font-size: 14px; }
.footer__base p { margin: 0; }
@media (max-width: 700px) { .footer__top { grid-template-columns: 1fr; } .footer__note { grid-column: 1; grid-row: auto; } .footer__base { flex-direction: column; gap: 4px; } }

/* ---------- breadcrumbs, chips, filters, grid ---------- */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink2); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs i { font-size: 12px; }
.chead { padding-block: clamp(40px, 6vw, 80px) 32px; }
.filters { position: sticky; top: var(--navh); z-index: 20; background: var(--bg); padding-block: 12px; }
.filters__in { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; font-weight: 600; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease); }
.chip:active { transform: scale(0.96); }
.chip.is-on { background: var(--ink); color: #fff; }
.chip:disabled { opacity: .35; cursor: not-allowed; }
.fswitch { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; position: relative; }
.fswitch .switch { background: #c9c2bb; }
.fcount { margin: 0 0 0 auto; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; padding-block: 24px clamp(80px, 10vw, 140px); }
.grid .qcard[hidden] { display: none; }
.grid .qcard__media { aspect-ratio: 5 / 4.4; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; } .grid .qcard__media { aspect-ratio: 4 / 5; } .grid .qcard__name { font-size: 24px; } }
.boxes { padding-bottom: clamp(80px, 10vw, 140px); }
.boxes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.boxcard { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; background: var(--paper); border-radius: var(--r); padding: 16px; }
.boxcard__img { border-radius: 10px; overflow: hidden; display: block; background: var(--bg); }
.boxcard__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.boxcard h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.05; margin: 0 0 8px; }
.boxcard h3 a { text-decoration: none; }
.boxcard p { margin: 0 0 16px; }
@media (max-width: 900px) { .boxes__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .boxcard { grid-template-columns: 1fr; } }
.faqband { padding-block: clamp(80px, 10vw, 140px); background: var(--paper); }
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; }
.faq__list details { border-top: 1.5px solid var(--ink); }
.faq__list details:last-child { border-bottom: 1.5px solid var(--ink); }
.faq__list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; font-weight: 700; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i { font-size: 22px; transition: transform 300ms var(--ease); flex: none; }
.faq__list details[open] summary i { transform: rotate(45deg); }
.faq__list details::details-content { height: 0; overflow: clip; transition: height 350ms var(--ease), content-visibility 350ms allow-discrete; }
.faq__list details[open]::details-content { height: auto; }
.faq__list details p { margin: 0 0 22px; max-width: 60ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- cart drawer ---------- */
.cdrawer { position: fixed; inset: 0; z-index: 100; }
.cdrawer[hidden] { display: none; }
.cdrawer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity 300ms ease; }
.cdrawer.is-open .cdrawer__scrim { opacity: 1; }
.cdrawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(470px, 100%); background: var(--bg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 420ms cubic-bezier(0.32, 0.72, 0, 1); }
.cdrawer.is-open .cdrawer__panel { transform: none; }
.cdrawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 8px; }
.cdrawer__head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; }
.cdrawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px 20px; }
.cdrawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); background: var(--paper); display: grid; gap: 10px; }
.party { position: relative; background: var(--ink); color: #fff; border-radius: var(--r); padding: 18px 18px 16px; margin-top: 8px; overflow: hidden; }
.party__lvl { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.party__name { font-family: var(--serif); font-size: 30px; line-height: 1; }
.party__off { font-weight: 700; color: var(--accent); }
.party__track { position: relative; height: 10px; border-radius: 9px; background: #3a3a3a; margin: 18px 10px 0; }
.party__fill { position: absolute; inset: 0; border-radius: 9px; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 700ms var(--ease); }
.party__nodes { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.party__nodes li { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #3a3a3a; border: 3px solid var(--ink); transition: background-color 300ms ease, transform 300ms var(--ease); }
.party__nodes li.is-on { background: var(--accent); }
.party__nodes li.is-pop { animation: pop 600ms var(--ease); }
@keyframes pop { 40% { transform: scale(1.6); } }
.party__labels { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); font-size: 12px; font-weight: 600; color: #bdb6b0; text-align: center; }
.party__labels li:first-child { text-align: left; } .party__labels li:last-child { text-align: right; }
.party__labels li.is-on { color: #fff; }
.party__msg { margin: 12px 0 0; font-size: 15px; padding-right: 64px; }
.party__cat { position: absolute; right: 10px; bottom: -120px; width: 74px; height: auto; pointer-events: none; }
.conf { position: absolute; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; }
.clines { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.cline { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: var(--paper); border-radius: var(--r); padding: 10px 12px 10px 10px; }
.cline__img { height: 84px; border-radius: 10px; background: var(--field, var(--soft)); display: grid; place-items: center; }
.cline__img img { height: 76px; width: auto; }
.cline__name { font-family: var(--serif); font-size: 21px; line-height: 1.05; text-decoration: none; display: block; }
.cline__sub { margin: 2px 0 0; font-size: 14px; color: var(--ink2); }
.cline__right { display: grid; justify-items: end; gap: 6px; }
.cline__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.mini { display: flex; align-items: center; gap: 2px; background: var(--bg); border-radius: 999px; padding: 3px; }
.mini button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; font-size: 15px; transition: background-color 200ms, transform 160ms var(--ease); }
.mini button:active { transform: scale(0.9); }
@media (hover: hover) and (pointer: fine) { .mini button:hover { background: var(--soft); } }
.mini span { min-width: 20px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cblock { margin-top: 22px; }
.cblock__h { margin: 0 0 10px; font-weight: 700; font-size: 15px; }
.sets { display: grid; gap: 8px; }
.setrow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; background: var(--paper); border-radius: var(--r); padding: 12px 14px; }
.setrow__name { font-weight: 700; margin: 0; }
.setrow__name span { font-weight: 500; color: var(--ink2); }
.setrow__dots { display: flex; gap: 6px; }
.setrow__dots button, .setrow__dots span { width: 34px; height: 46px; border-radius: 8px; border: 0; display: grid; place-items: center; background: var(--bg); padding: 2px; position: relative; }
.setrow__dots img { height: 40px; width: auto; }
.setrow__dots button img { opacity: .35; filter: grayscale(1); }
.setrow__dots button::after { content: "+"; position: absolute; right: -5px; top: -5px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); font-weight: 800; font-size: 13px; line-height: 18px; }
.setrow.is-done { background: var(--ink); color: #fff; }
.setrow.is-done .setrow__name span { color: var(--accent); }
.ups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.up { background: var(--paper); border-radius: var(--r); padding: 10px; display: grid; justify-items: center; gap: 6px; text-align: center; border: 0; transition: transform 160ms var(--ease); }
.up:active { transform: scale(0.97); }
.up img { height: 90px; width: auto; }
.up b { font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.05; }
.up span { font-size: 13px; font-weight: 700; background: var(--accent); border-radius: 999px; padding: 4px 10px; }
.plan { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan label { position: relative; display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r); background: var(--paper); cursor: pointer; border: 2px solid transparent; transition: border-color 200ms; }
.plan label:has(input:checked) { border-color: var(--ink); }
.plan input { position: absolute; opacity: 0; }
.plan label:has(input:focus-visible) { outline: 3px solid var(--accent); }
.plan b { font-size: 15px; }
.plan span { font-size: 13px; color: var(--ink2); }
.plan__every { margin: 8px 0 0; font-size: 14px; }
.plan__every select, .fanline select { border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 10px; background: var(--paper); }
.tot { display: grid; gap: 4px; margin: 0; font-variant-numeric: tabular-nums; }
.tot div { display: flex; justify-content: space-between; }
.tot dt, .tot dd { margin: 0; }
.tot .is-save { color: #B4470A; font-weight: 600; }
.tot .is-total { font-weight: 800; font-size: 19px; }
.cdrawer__note { margin: 0; font-size: 13px; color: var(--ink2); }
.cdrawer__foot .btn { width: 100%; }
.cempty { text-align: center; padding: 30px 10px 10px; }
.cempty img { width: 120px; margin: 0 auto 12px; }
.cempty p { font-family: var(--serif); font-size: 26px; margin: 0 0 16px; }
.cartpage { padding-block: 48px 120px; }
.cartpage__grid { margin-top: 32px; max-width: 720px; }
.cartpage .cdrawer__foot { border-radius: var(--r); margin-top: 20px; }

/* ---------- age gate ---------- */
.agegate { position: fixed; inset: 0; z-index: 300; background: rgba(22,22,22,.86); display: grid; place-items: center; padding: 20px; }
.agegate[hidden] { display: none; }
.agegate__card { background: var(--bg); border-radius: 24px; padding: 34px 30px 30px; max-width: 420px; width: 100%; text-align: center; }
.agegate__card img { width: 110px; height: auto; margin: -80px auto 8px; }
.agegate__card h2 { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1; margin: 0; }
.agegate__card p { margin: 10px 0 0; }
.agegate__btns { display: grid; gap: 10px; margin-top: 22px; }
.agegate__no { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}
