/* CJF Selections redesign. DM Serif Display for display (Guido's pick), Source Sans 3 for text
   (the Google release of Source Sans Pro, the font on cjfselections.com). */
:root {
  --bg: #f2f2f0;
  --bg-2: #e7e7e4;
  --tile: #ffffff;
  --fg: #121212;
  --fg-2: #55554f;
  --line: rgba(18, 18, 18, 0.12);
  --ink: #0e0e0e;
  --ink-2: #1a1a19;
  --on-ink: #f2f2f0;
  --on-ink-2: #a9a9a3;
  --accent: #9b1b1f;      /* the Grassl wax seal */
  --accent-2: #7d1418;
  --wine: #6f1220;
  --straw: #e5d39a;
  --serif: "DM Serif Display", Georgia, serif;
  --nav-h: 76px;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --gut: clamp(16px, 4vw, 48px);
  --sec: clamp(88px, 9.5vw, 150px);
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { 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: 100; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec); }

/* ---------- type ---------- */
.display, .h1, .h2, .h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
.display { font-size: clamp(3.5rem, 10vw, 10.5rem); line-height: 0.96; }
.h1 { font-size: clamp(2.8rem, 6.4vw, 6.4rem); line-height: 1; }
.h2 { font-size: clamp(2.3rem, 4.8vw, 4.75rem); line-height: 1.02; }
.h3 { font-size: clamp(1.6rem, 2.3vw, 2.15rem); line-height: 1.08; letter-spacing: -0.015em; }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.5; max-width: 38ch; }
.muted { color: var(--fg-2); }
/* word mask: padded so ascenders, accents and descenders (g, y, p) are never clipped */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.16em 0.06em 0.26em; margin: -0.16em -0.06em -0.26em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--sans); cursor: pointer; white-space: nowrap; background: var(--ink); color: var(--on-ink);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--light { background: var(--on-ink); color: var(--ink); }
.btn--line { background: transparent; color: currentColor; border-color: currentColor; }
.btn--accent { background: var(--accent); color: #fff; }
.btn i { font-size: 1.1em; }
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover { background: #2a2a28; }
  .btn--light:hover { background: #fff; }
  .btn--line:hover { background: currentColor; }
  .btn--line:hover span { color: var(--ink); }
  .is-light .btn--line:hover span { color: var(--on-ink); }
  .btn--accent:hover { background: var(--accent-2); }
}
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 0; background: transparent; cursor: pointer; font-size: 22px; position: relative; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.icon-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: rgba(18, 18, 18, 0.07); } .is-dark-top .nav:not(.is-scrolled) .icon-btn:hover { background: rgba(255, 255, 255, 0.12); } }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 0.6875rem/18px var(--sans); text-align: center; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding-inline: var(--gut);
  color: var(--fg); background: rgba(242, 242, 240, 0.88); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); transition: background-color 400ms ease, color 400ms ease, box-shadow 400ms ease; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__logo { display: block; width: 163px; position: relative; }
.nav__logo img { width: 163px; height: auto; }
.nav__logo-light { position: absolute; inset: 0; opacity: 0; transition: opacity 400ms ease; }
.nav__logo-dark { transition: opacity 400ms ease; }
.nav__links { display: flex; justify-content: center; gap: clamp(18px, 2.4vw, 36px); font-weight: 500; font-size: 0.98rem; }
.nav__links a { position: relative; padding-block: 6px; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 350ms var(--ease-out); }
.nav__links a[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; } }
.nav__actions { display: flex; align-items: center; gap: 4px; }
.nav__burger { display: none; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform 300ms var(--ease-out); }
.nav__burger span:first-child { transform: translateY(-4px); }
.nav__burger span:last-child { transform: translateY(4px); }
.menu-open .nav__burger span:first-child { transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: rotate(-45deg); }
.is-dark-top .nav:not(.is-scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--on-ink); }
.is-dark-top .nav:not(.is-scrolled) .nav__logo-light { opacity: 1; }
.is-dark-top .nav:not(.is-scrolled) .nav__logo-dark { opacity: 0; }
.menu-open .nav { background: var(--bg) !important; color: var(--fg) !important; }
.menu-open .nav__logo-light { opacity: 0 !important; }
.menu-open .nav__logo-dark { opacity: 1 !important; }
.menu[hidden] { display: none; }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: 104px var(--gut) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu nav { display: grid; gap: 2px; }
.menu nav a { font: 400 clamp(2rem, 8vw, 3rem)/1.15 var(--serif); letter-spacing: -0.02em; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 32px; color: var(--fg-2); font-weight: 500; }
main { display: block; }
.page-top { padding-top: 76px; }

/* ---------- hero: ink panel + their photo ---------- */
.hero { position: relative; min-height: max(700px, 100svh); display: grid; grid-template-columns: 1fr 1fr; color: var(--on-ink); background: var(--ink); overflow: hidden; }
.hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px var(--gut) clamp(40px, 6vw, 80px); }
.hero__title { font-size: clamp(3.2rem, 6.6vw, 7.4rem); max-width: 8ch; }
.hero__sub { margin-top: 32px; max-width: 42ch; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: rgba(242, 242, 240, 0.9); }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; overflow: hidden; }
/* the photo runs up behind the transparent nav; a short dark fade keeps the links readable */
.hero__media::after { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: calc(var(--nav-h) * 2); background: linear-gradient(rgba(14, 14, 14, 0.6), rgba(14, 14, 14, 0)); pointer-events: none; }
.hero__media > div { position: absolute; inset: -4% 0; }
/* the glass stem sits at 48.7% of the photo; widen 3% and shift so it lands on the frame center */
.hero__media img { width: 103%; max-width: none; margin-left: -0.16%; height: 100%; object-fit: cover; object-position: 50% 63%; }
.hero__cap { position: absolute; left: 20px; bottom: 18px; z-index: 2; color: rgba(242, 242, 240, 0.86); font-size: 0.875rem; }
.badge { position: absolute; z-index: 3; left: 50%; top: 24%; translate: -50% -50%; width: 124px; height: 124px; color: var(--on-ink); background: var(--accent); border-radius: 50%; }
.badge svg { width: 100%; height: 100%; }
.badge text { font: 600 19px var(--sans); letter-spacing: 0.12em; fill: currentColor; }
.badge__core { position: absolute; inset: 0; display: grid; place-items: center; }
.badge__core svg { width: 22px; height: auto; }
.badge__core path { fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--on-ink); padding-block: 28px 30px; overflow: hidden; border-top: 1px solid rgba(242, 242, 240, 0.12); }
.marquee__intro { padding-inline: var(--gut); color: var(--on-ink-2); font-size: 0.95rem; margin-bottom: 14px; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__set { display: flex; align-items: baseline; gap: 0; padding-right: 0; }
.marquee__item { display: inline-flex; align-items: baseline; gap: 14px; padding-right: 56px; font: 400 clamp(1.8rem, 3.4vw, 3.2rem)/1.1 var(--serif); letter-spacing: -0.02em; white-space: nowrap; }
.marquee__item small { font: 400 0.95rem var(--sans); letter-spacing: 0; color: var(--on-ink-2); }
.marquee__item::after { content: ""; width: 10px; height: 10px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: var(--accent); align-self: center; margin-left: 42px; }

/* ---------- lineup (the live thing) ---------- */
.lineup__head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; }
.lineup__head p { max-width: 44ch; }
.styles { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--tile); color: var(--fg); cursor: pointer; font-weight: 500; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 10px; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.chip:active { transform: scale(0.97); }
.chip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--wine)); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.chip { position: relative; overflow: hidden; }
.chip.is-timing::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c, var(--wine)); transform-origin: 0 50%; animation: chip-timer 2600ms linear forwards; }
@keyframes chip-timer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (hover: hover) and (pointer: fine) { .chip:not([aria-pressed="true"]):hover { border-color: var(--fg); } }
.lineup__stage { margin-top: 28px; display: grid; grid-template-columns: 1fr 360px; gap: 20px; }
.lineup__svgbox { background: var(--tile); border-radius: var(--r); padding: clamp(20px, 3vw, 44px) clamp(12px, 3vw, 40px) 18px; position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.lineup svg { width: 100%; height: auto; overflow: visible; }
.lineup .g { cursor: pointer; }
.lineup .g__out { fill: rgba(18, 18, 18, 0.015); stroke: #2a2a28; stroke-width: 1.2; transition: stroke 300ms ease; }
.lineup .g__wine { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 700ms var(--ease-out), opacity 400ms ease; transform: scaleY(0); opacity: 0; }
.lineup .g.is-on .g__wine { transform: scaleY(1); opacity: 1; }
.lineup .g.is-dim .g__out { stroke: #b9b9b4; }
.lineup .g__hit { fill: transparent; }
.lineup .g__name { font: 400 9px var(--serif); fill: var(--fg); text-anchor: middle; }
.lineup .g__ml { font: 500 5.4px var(--sans); fill: var(--fg-2); text-anchor: middle; }
.lineup .g.is-dim .g__name { fill: #a3a39e; }
.lineup .ruler line { stroke: rgba(18, 18, 18, 0.14); stroke-width: 0.4; vector-effect: non-scaling-stroke; }
.lineup .ruler text { font: 500 5px var(--sans); fill: var(--fg-2); }
.pick { background: var(--ink); color: var(--on-ink); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 18px; min-height: 100%; }
.pick__series { color: var(--on-ink-2); font-size: 0.95rem; }
.pick__name { font: 400 clamp(2.6rem, 4vw, 3.6rem)/0.95 var(--serif); letter-spacing: -0.02em; }
.pick__style { font-size: 1.0625rem; }
.pick dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(242, 242, 240, 0.14); }
.pick dl div { padding: 14px 0; border-bottom: 1px solid rgba(242, 242, 240, 0.14); }
.pick dt { color: var(--on-ink-2); font-size: 0.875rem; }
.pick dd { font: 400 1.6rem/1.1 var(--serif); margin-top: 4px; font-variant-numeric: lining-nums; }
.pick__row { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pick__price { font: 400 2rem/1 var(--serif); margin-right: auto; }
.pick .btn { height: 48px; padding: 0 20px; }
.pick [data-swap] { display: inline-block; }

/* ---------- bento ---------- */
.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; background: var(--tile); display: flex; flex-direction: column; justify-content: space-between; padding: 26px; min-height: 280px; isolation: isolate; }
.tile__img { position: absolute; inset: 0; z-index: -1; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.tile--photo { color: var(--on-ink); }
.tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.78)); }
.tile__prod { position: absolute; inset: 56px 18px 150px; z-index: -1; }
.tile__prod img { width: 100%; height: 100%; object-fit: contain; transition: transform 900ms var(--ease-out); }
.tile h3 { font: 400 clamp(1.4rem, 1.85vw, 2rem)/1.05 var(--serif); letter-spacing: -0.01em; white-space: nowrap; }
.tile p { margin-top: 8px; max-width: 34ch; }
.tile__count { align-self: flex-start; height: 32px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 0.875rem; font-weight: 600; background: var(--bg); color: var(--fg); }
.tile--photo .tile__count { background: rgba(242, 242, 240, 0.92); }
.tile__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: auto; }
.tile__arrow { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); font-size: 20px; transition: transform 300ms var(--ease-out); }
.tile--photo .tile__arrow { background: var(--on-ink); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover .tile__img img, .tile:hover .tile__prod img { transform: scale(1.04); }
  .tile:hover .tile__arrow { transform: translateX(4px); }
}
.t-a { grid-column: span 7; grid-row: span 2; }
.t-b { grid-column: span 5; grid-row: span 2; }
.t-c { grid-column: span 4; min-height: 420px; }
.t-d { grid-column: span 4; min-height: 420px; }
.t-e { grid-column: span 4; min-height: 420px; }
.t-f { grid-column: span 12; min-height: 220px; background: var(--accent); color: #fff; flex-direction: row; align-items: center; }
.t-f h3 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.t-f .tile__arrow { background: #fff; color: var(--accent); }

/* ---------- craft (word-by-word read) ---------- */
.craft { background: var(--ink); color: var(--on-ink); overflow: hidden; }
.craft__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.read { margin-top: 36px; font: 400 clamp(1.6rem, 2.6vw, 2.4rem)/1.22 var(--serif); letter-spacing: -0.01em; }
.read .rw { opacity: 0.22; transition: opacity 250ms ease; }
.craft__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; }
.craft__photo img { position: absolute; inset: -12% 0; height: 124%; width: 100%; object-fit: cover; }
.stats { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(242, 242, 240, 0.16); }
.stat { padding: 28px 24px 0 0; }
.stat__n { font: 400 clamp(3rem, 6vw, 5.6rem)/1 var(--serif); letter-spacing: -0.03em; font-variant-numeric: lining-nums; }
.stat__n small { font-size: 0.42em; letter-spacing: 0; margin-left: 4px; }
.stat p { margin-top: 12px; color: var(--on-ink-2); max-width: 26ch; }

/* ---------- regions (depth layer) ---------- */
.regions { position: relative; overflow: hidden; }
.regions__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.regions__photo { position: sticky; top: 108px; aspect-ratio: 2 / 3; border-radius: var(--r); overflow: hidden; }
.regions__photo img { width: 100%; height: 118%; object-fit: cover; }
.regions__year { font: 400 clamp(5rem, 13vw, 13rem)/0.9 var(--serif); letter-spacing: -0.03em; color: var(--accent); }
.regions__lead { margin-top: 28px; max-width: 46ch; }
.rlist { margin-top: 56px; border-top: 1px solid var(--line); }
.rlist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 clamp(2rem, 4.2vw, 3.8rem)/1 var(--serif); letter-spacing: -0.02em; }
.rlist li span { font: 500 0.95rem var(--sans); letter-spacing: 0; color: var(--fg-2); }

/* ---------- winemaker quote ---------- */
.wq { background: var(--accent); color: #fff; }
.wq__q { font: 400 clamp(2.1rem, 4.4vw, 4.6rem)/1.06 var(--serif); letter-spacing: -0.02em; max-width: 22ch; }
.wq__by { margin-top: 36px; display: flex; gap: 14px; align-items: center; font-size: 1.0625rem; }
.wq__by img { width: 54px; height: 54px; border-radius: 50%; background: #fff; object-fit: contain; padding: 6px; }
.wq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.wq__alt { border-top: 1px solid rgba(255, 255, 255, 0.3); padding-top: 28px; }
.wq__alt .wq__q { font-size: clamp(1.6rem, 2.6vw, 2.5rem); }

/* ---------- reviews ---------- */
.rev__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.score { font: 400 clamp(6rem, 15vw, 14rem)/0.9 var(--serif); letter-spacing: -0.03em; }
.score__meta { display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; }
.stars { display: inline-flex; gap: 3px; color: var(--accent); font-size: 1.2rem; }
.masonry { margin-top: 64px; columns: 3 320px; column-gap: 16px; }
.q { break-inside: avoid; margin-bottom: 16px; background: var(--tile); border-radius: var(--r); padding: 26px; }
.q .stars { margin-bottom: 14px; font-size: 1.05rem; }
.q blockquote { font: 400 1.35rem/1.32 var(--serif); letter-spacing: -0.01em; }
.q footer { margin-top: 18px; display: flex; justify-content: space-between; gap: 12px; color: var(--fg-2); font-size: 0.95rem; }
.q footer a { color: var(--fg); font-weight: 600; }
.press { margin-top: 72px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); }
.press__logos { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 64px); align-items: center; justify-content: space-between; }
.press__logos img { height: 34px; width: auto; filter: grayscale(1) contrast(1.2); mix-blend-mode: multiply; opacity: 0.85; }

/* ---------- where it is poured (ruled tables) ---------- */
.poured__grid { margin-top: 56px; align-items: start; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.rtable { width: 100%; border-collapse: collapse; }
.rtable caption { text-align: left; font: 400 1.6rem/1.1 var(--serif); padding-bottom: 16px; }
.rtable th, .rtable td { text-align: left; padding: 14px 0; border-top: 1px solid var(--line); vertical-align: baseline; }
.rtable tr:last-child td, .rtable tr:last-child th { border-bottom: 1px solid var(--line); }
.rtable th { font-weight: 600; }
.rtable td { color: var(--fg-2); text-align: right; }

/* ---------- replacement program ---------- */
.repl { background: var(--tile); }
.repl__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.repl__big { font: 400 clamp(8rem, 20vw, 18rem)/0.88 var(--serif); letter-spacing: -0.03em; color: var(--accent); }
.repl__big small { display: block; font: 500 1rem/1.4 var(--sans); letter-spacing: 0; color: var(--fg-2); margin-top: 22px; }
.facts { margin-top: 32px; width: 100%; border-collapse: collapse; }
.facts th, .facts td { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts tr:first-child th, .facts tr:first-child td { border-top: 1px solid var(--line); }
.facts th { font-weight: 600; width: 42%; padding-right: 16px; }
.facts td { color: var(--fg); }

/* ---------- trade ---------- */
.trade__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcard { background: var(--tile); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.tcard h3 { font: 400 2rem/1 var(--serif); letter-spacing: -0.02em; }
.tcard .facts { margin-top: 6px; font-size: 0.975rem; }
.tcard .facts th { width: 50%; font-weight: 500; color: var(--fg-2); }
.tcard .btn { margin-top: auto; align-self: flex-start; }

/* ---------- journal ---------- */
.jgrid { margin-top: 56px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.jcard { display: flex; flex-direction: column; gap: 16px; }
.jcard__img { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--bg-2); display: grid; place-items: center; }
.jcard__img img.cover { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.jcard__img img.mark { width: 64px; height: auto; opacity: 0.9; }
.jcard[data-cat="Glassware"] .jcard__img { background: var(--ink); }
.jcard[data-cat="Glassware"] .jcard__img img.mark { filter: brightness(0) invert(0.95); }
.jcard[data-cat="Tasting"] .jcard__img { background: var(--accent); }
.jcard[data-cat="Tasting"] .jcard__img img.mark { filter: brightness(0) invert(1); }
.jcard[data-cat="Storage"] .jcard__img { background: var(--tile); }
.jcard h3 { font: 400 1.7rem/1.1 var(--serif); letter-spacing: -0.015em; }
.jcard p { color: var(--fg-2); }
@media (hover: hover) and (pointer: fine) { .jcard:hover .jcard__img img.cover { transform: scale(1.04); } .jcard:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; } }

.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.sec-head .lede { margin-top: 20px; }

/* ---------- product card + rail ---------- */
.card { display: flex; flex-direction: column; gap: 14px; }
.card__img { position: relative; aspect-ratio: 4 / 5; background: var(--tile); border-radius: var(--r); overflow: hidden; }
.card__img img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; transition: transform 700ms var(--ease-out), opacity 400ms ease; }
.card__img img + img { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .card:hover .card__img img:first-child { transform: scale(1.03); } .card:hover .card__img img + img { opacity: 1; } .card:hover .card__img img + img ~ * {} }
.card__flag { position: absolute; left: 12px; top: 12px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--bg); font-size: 0.8125rem; font-weight: 600; display: inline-flex; align-items: center; }
.card__flag--out { background: var(--ink); color: var(--on-ink); }
.card__meta { display: flex; justify-content: space-between; gap: 4px 12px; align-items: baseline; flex-wrap: wrap; }
.card__name { font: 400 1.5rem/1.1 var(--serif); letter-spacing: -0.015em; }
.card__sub { color: var(--fg-2); font-size: 0.95rem; margin-top: 4px; }
.card__price { font-weight: 600; white-space: nowrap; }
.card__price s { color: var(--fg-2); font-weight: 400; margin-right: 6px; }
.card__add { align-self: flex-start; height: 42px; padding: 0 18px; font-size: 0.9rem; }
.rail { margin-top: 48px; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 24vw, 340px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail.is-drag { scroll-snap-type: none; cursor: grabbing; }
.rail.is-drag a { pointer-events: none; }
.rail-btns { display: flex; gap: 8px; }
.rail-btns button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--tile); cursor: pointer; font-size: 20px; display: grid; place-items: center; transition: transform 160ms var(--ease-out), border-color 200ms ease; }
.rail-btns button:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .rail-btns button:hover { border-color: var(--fg); } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-ink); padding-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); }
.news__h { font: 400 clamp(2.4rem, 4.4vw, 4rem)/0.95 var(--serif); letter-spacing: -0.02em; }
.news__p { margin-top: 18px; color: var(--on-ink-2); max-width: 44ch; }
.news__row { margin-top: 28px; display: flex; gap: 8px; max-width: 520px; }
.news__row input { flex: 1; min-width: 0; height: 54px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(242, 242, 240, 0.25); background: var(--ink-2); color: var(--on-ink); font-size: 1rem; }
.news__row input::placeholder { color: var(--on-ink-2); }
.news .btn--ink { background: var(--on-ink); color: var(--ink); }
.demo-ok { margin-top: 24px; color: var(--on-ink); font-size: 1.0625rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h3 { font: 600 0.95rem var(--sans); color: var(--on-ink-2); margin-bottom: 14px; }
.footer__cols a { display: block; padding: 6px 0; }
@media (hover: hover) and (pointer: fine) { .footer__cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; } }
.footer__logo { margin-top: clamp(64px, 9vw, 120px); color: var(--on-ink); }
.footer__logo svg { display: block; width: 100%; height: auto; }
.footer__base { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-block: 28px 32px; color: var(--on-ink-2); font-size: 0.9rem; border-top: 1px solid rgba(242, 242, 240, 0.12); margin-top: 24px; }
.footer__base nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- cart drawer ---------- */
.cdrawer { position: fixed; inset: 0; z-index: 80; }
.cdrawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); opacity: 0; transition: opacity 400ms ease; }
.cdrawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--bg); transform: translateX(100%); transition: transform 450ms cubic-bezier(0.32, 0.72, 0, 1); }
.cdrawer.is-open .cdrawer__scrim { opacity: 1; }
.cdrawer.is-open .cdrawer__panel { transform: none; }
.cdrawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 14px 24px; border-bottom: 1px solid var(--line); }
.cdrawer__head h2 { font: 400 2rem/1 var(--serif); }
.cdrawer__head h2 span { font: 400 1rem var(--sans); color: var(--fg-2); }
.ship { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 0.925rem; }
.ship__track { display: block; height: 6px; margin-top: 10px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.ship__bar { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 600ms var(--ease-out); }
.clines { flex: 1; overflow-y: auto; padding: 0 24px; }
.cline { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cline__img { position: relative; aspect-ratio: 1; background: var(--tile); border-radius: 10px; overflow: hidden; }
.cline__img img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.cline__name { font: 400 1.25rem/1.15 var(--serif); }
.cline__var { color: var(--fg-2); font-size: 0.875rem; margin-top: 2px; }
.cline__row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.cline__price { font-weight: 600; }
.cline__rm { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--fg-2); font-size: 0.8125rem; text-decoration: underline; cursor: pointer; }
.cempty { padding: 40px 24px; display: grid; gap: 18px; justify-items: start; }
.cdrawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cdrawer__sub { display: flex; justify-content: space-between; font-weight: 600; font-size: 1.1rem; }
.cdrawer__note { color: var(--fg-2); font-size: 0.875rem; }
.cdrawer__checkout { width: 100%; }
.cdrawer__view { text-align: center; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; padding: 6px; }
.qty { display: inline-flex; align-items: center; height: 56px; border-radius: 999px; border: 1px solid var(--line); padding: 4px; background: var(--tile); }
.qty--sm { height: 40px; padding: 2px; }
.qty__btn { width: 46px; height: 46px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; font-size: 16px; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.qty--sm .qty__btn { width: 34px; height: 34px; font-size: 14px; }
.qty__btn:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .qty__btn:hover { background: var(--bg-2); } }
.qty__n { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.is-added { animation: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__actions { grid-column: 3; }
  .lineup__stage { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .trade__grid { grid-template-columns: 1fr 1fr; }
  .t-c, .t-d { grid-column: span 6; }
  .t-e { grid-column: span 12; }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: 64svh auto; min-height: 0; }
  .hero__media { grid-row: 1; }
  .hero__copy { grid-row: 2; padding-top: 72px; }
  .badge { top: 64svh; left: auto; right: var(--gut); translate: 0 -50%; width: 112px; height: 112px; }
  .lineup__head, .craft__grid, .regions__grid, .wq__grid, .rev__head, .poured__grid, .repl__grid, .footer__top { grid-template-columns: 1fr; }
  .regions__photo { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f { grid-column: auto; grid-row: auto; min-height: 420px; }
  .t-f { flex-direction: column; align-items: flex-start; }
  .trade__grid, .jgrid { grid-template-columns: 1fr; }
  .press { grid-template-columns: 1fr; }
  .press__logos { justify-content: flex-start; }
  .press__logos img { height: 26px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .hide-sm { display: none; }
}
@media (max-width: 640px) {
  .lineup__svgbox { overflow-x: auto; scrollbar-width: none; padding-inline: 16px; }
  .lineup__svgbox svg { min-width: 640px; }
  .styles { margin-top: 32px; gap: 6px; }
  .chip { height: 38px; padding: 0 14px; gap: 8px; font-size: 0.875rem; }
  .chip__dot { width: 8px; height: 8px; }
  .masonry .q:nth-child(n+6) { display: none; }
  /* one column of equal cards that stack like a deck as you scroll */
  .masonry { columns: auto; display: grid; grid-auto-rows: 1fr; gap: 16px; }
  .q { margin: 0; position: sticky; top: calc(var(--nav-h) + 16px + var(--i) * 12px); display: flex; flex-direction: column; border: 1px solid var(--line); box-shadow: 0 -10px 24px rgba(18, 18, 18, 0.07); }
  .q footer { margin-top: auto; padding-top: 18px; }
}
@media (max-width: 520px) {
  :root { --nav-h: 64px; }
  .nav__logo, .nav__logo img { width: 140px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding-right: 12px; }
  .news__row { flex-direction: column; }
  .footer__cols { grid-template-columns: 1fr; }
  .pick dl { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .read .rw { opacity: 1; }
}
