/* =====================================================================
   Cask · the style
   Breweries, wineries, distilleries and cellar doors: DM Serif Display
   for headlines, Epilogue for reading, Source Code Pro for ABV, standard
   drinks and prices, on cellar-stone paper with ink, one claret and an
   ale-gold amber for fills.
   Signature pieces: the tasting flight (.flight: pick your pours and see
   the standard drinks), the visit planner (.visitplan: a tasting slot,
   who's driving and how you're getting home), the bottle shop (.shop:
   ABV and standard drinks on every product, case prices, ID on
   delivery), and the tap board (.taps: what's pouring, by style).
   Includes an 18+ age check (.gate[data-age-gate]).
   Motion: html.calm stills everything (footer switch, remembered as
   "site-motion"; default from prefers-reduced-motion).
   ===================================================================== */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
html.calm:focus-within { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--amber); color: #1c1512; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: var(--r-s); background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; transition: top var(--d) var(--ease); }
.skip:focus { top: 12px; }
code, kbd, .mono { font-family: var(--mono); font-size: 0.92em; }
:not(pre) > code { padding: 0.1em 0.35em; border-radius: 5px; background: var(--well); }

/* ---------- type ---------- */
.h1, .h2, .h3 { font-family: var(--display); font-weight: 400; color: var(--ink); text-wrap: balance; }
.h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.02em; }
.h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.015em; }
.h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; }
/* the lit phrase: claret italic, resting on a line of ale that pours in and gently sloshes */
.h1 { letter-spacing: -0.01em; line-height: 1.12; }
.h2 { line-height: 1.04; letter-spacing: -0.005em; }
.h1 em, .h2 em { font-style: italic; color: var(--claret); }
.h1 em { padding-bottom: 0.04em; background: radial-gradient(circle at 50% -0.06em, transparent 0.1em, var(--amber) 0.11em) 0 100% / 0.3em 0.14em repeat-x; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html:not(.calm) .h1 em { animation: ck-pour 1100ms 0.2s var(--ease) both, ck-slosh 3.2s 1.3s ease-in-out infinite alternate; }
@keyframes ck-pour { from { background-size: 0.3em 0; } }
@keyframes ck-slosh { to { background-position: 0.6em 100%; } }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 600 var(--fs-label)/1.2 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tag::before { content: ""; width: 10px; height: 13px; margin-right: 4px; background: var(--claret); clip-path: polygon(0 0, 100% 0, 92% 45%, 60% 62%, 60% 88%, 85% 100%, 15% 100%, 40% 88%, 40% 62%, 8% 45%); }
.tag b { font-weight: 700; color: var(--claret); }
.num { font-variant-numeric: tabular-nums; }
.prose p + p { margin-top: 1em; }
.prose a, .link { color: var(--claret); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 600; }
.prose a:hover, .link:hover { color: var(--claret-2); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: var(--r-s); border: 1.5px solid transparent; font: 600 15.5px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform var(--d-fast) var(--ease), background var(--d-fast), border-color var(--d-fast), color var(--d-fast); }
.btn svg { width: 17px; height: 17px; flex: none; transition: transform var(--d) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-claret { background: var(--claret); color: var(--on-claret); }
.btn-claret:hover { background: var(--claret-2); }
.btn-line { border-color: color-mix(in srgb, var(--ink) 25%, var(--line)); background: var(--card); color: var(--ink); }
.btn-line:hover { border-color: var(--claret); color: var(--claret); }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- top line ---------- */
.topline { background: var(--ink); color: var(--paper); }
.topline .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; padding-block: 7px; text-align: center; font: 500 14px/1.4 var(--body); }
.topline b { padding: 2px 9px; border-radius: 3px; background: var(--amber); color: #1c1512; font: 600 11px/1.3 var(--mono); letter-spacing: 0.04em; }
.topline a { font-weight: 600; color: var(--paper); text-underline-offset: 3px; }
@media (max-width: 560px) { .topline b { display: none; } }

/* ---------- header and phone menu ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { position: relative; display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
/* the mark: a claret tulip glass with an amber pour in the bowl */
.brand-mark { position: relative; flex: none; width: 20px; height: 30px; background: linear-gradient(var(--claret) 0 16%, var(--amber) 16% 42%, var(--claret) 42%); clip-path: polygon(0 0, 100% 0, 92% 45%, 60% 62%, 60% 88%, 88% 100%, 12% 100%, 40% 88%, 40% 62%, 8% 45%); }
html:not(.calm) .brand:hover .brand-mark { animation: ck-tilt 700ms ease-in-out infinite alternate; }
@keyframes ck-tilt { to { rotate: -8deg; } }
.brand-word { font: 400 26px/1 var(--display); letter-spacing: 0; }
.brand-sub { display: block; font: 500 11.5px/1.2 var(--mono); color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { position: relative; padding: 9px 12px; border-radius: var(--r-s); text-decoration: none; font: 500 15px/1 var(--body); color: var(--ink-2); transition: color var(--d-fast), background var(--d-fast); }
.nav-links a:hover { color: var(--ink); background: var(--well); }
.nav-links a[aria-current="page"] { color: var(--claret); background: var(--claret-soft); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--card); cursor: pointer; place-items: center; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform var(--d) var(--ease), background var(--d-fast); }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; }
.menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
.menu-btn[aria-expanded="true"] i { background: transparent; }
.menu-btn[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }
.site-menu { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 14px var(--gutter) 24px; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift); animation: ck-open var(--d) var(--ease) both; }
.site-menu a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 400 32px/1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.site-menu a::after { content: attr(data-no); font: 500 12px/1 var(--mono); color: var(--muted); }
.site-menu a[aria-current="page"] { color: var(--claret); }
.site-menu .btn { display: flex; justify-content: center; margin-top: 18px; border-bottom: 0; font: 600 15.5px/1 var(--body); color: var(--on-claret); }
.site-menu .btn::after { display: none; }
@keyframes ck-open { from { opacity: 0; transform: translateY(-8px); } }
html.calm .site-menu { animation: none; }
@media (max-width: 1100px) { .nav-links { display: none; } .menu-btn { display: grid; } }
@media (max-width: 640px) { .nav .nav-cta { display: none; } }
@media (min-width: 1101px) { .site-menu { display: none !important; } }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(60px, 8.5vw, 110px); }
.section.alt { background: var(--well); }
.section-head { display: grid; gap: 14px; justify-items: start; max-width: 780px; margin-bottom: clamp(28px, 4vw, 52px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.grid-2.lean { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.grid-2.lean > .section-head { position: sticky; top: 100px; }
.grid-2.side { grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .grid-2.lean, .grid-2.side { grid-template-columns: minmax(0, 1fr); } .grid-2.lean > .section-head { position: static; } }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(30px, 5vw, 68px) clamp(54px, 8vw, 100px); overflow: clip; }
/* bubbles rising behind the hero, in a warm amber haze */
.hero::before { content: ""; position: absolute; z-index: -1; right: 4%; top: 6%; width: min(36vw, 480px); height: 88%; border-radius: 40% 40% 24px 24px; background: radial-gradient(circle, color-mix(in srgb, var(--amber) 75%, transparent) 0 3px, transparent 3.5px) 0 0 / 46px 54px, radial-gradient(circle, color-mix(in srgb, var(--amber) 55%, transparent) 0 2px, transparent 2.5px) 23px 27px / 46px 54px, radial-gradient(ellipse 70% 70% at 50% 80%, color-mix(in srgb, var(--amber) 32%, transparent), transparent 72%); -webkit-mask: linear-gradient(transparent, #000 30%, #000 80%, transparent); mask: linear-gradient(transparent, #000 30%, #000 80%, transparent); }
html:not(.calm) .hero::before { animation: ck-rise 6s linear infinite; }
@keyframes ck-rise { to { background-position: 0 -540px, 23px -513px, 0 0; } }
@media (max-width: 900px) { .hero::before { display: none; } }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 14.5px/1.4 var(--body); color: var(--ink-2); }
.hero-facts li { display: flex; gap: 8px; align-items: baseline; }
.hero-facts li b { font: 600 20px/1 var(--mono); color: var(--ink); }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }




.hero { isolation: isolate; }
.hero-copy .h1, .page-head .h1 { padding-bottom: 0.2em; }
/* ---------- shared card frame ---------- */
.flight, .visitplan, .shop, .taps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); min-width: 0; }
.flight { box-shadow: var(--shadow-lift), 0 0 0 1px var(--line); }
.flight h3, .visitplan h3, .shop h3, .taps h3 { font: 400 29px/1.05 var(--display); }
.ck-fine { font-size: 13px; color: var(--muted); }
.ck-label { margin-bottom: 8px; font-weight: 700; font-size: 15px; }
.ck-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 480px) { .ck-row { grid-template-columns: minmax(0, 1fr); } }
.sd { font: 500 12.5px/1.2 var(--mono); color: var(--amber-ink); white-space: nowrap; }

/* ---------- the tasting flight (signature) ---------- */
.fl-list { display: grid; gap: 8px; }
.fl-item { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r-m); cursor: pointer; }
.fl-item input { accent-color: var(--claret); width: 18px; height: 18px; margin: 0; grid-row: span 2; }
.fl-item b { font-weight: 700; }
.fl-item small { grid-column: 2; font-size: 13px; color: var(--muted); }
.fl-item .abv { grid-row: 1; grid-column: 3; font: 500 13px/1 var(--mono); }
.fl-item .sd { grid-column: 3; justify-self: end; }
.fl-item:has(input:checked) { border-color: var(--claret); background: var(--claret-soft); }
.fl-item:has(input:disabled:not(:checked)) { opacity: 0.5; cursor: not-allowed; }
.fl-meter { position: relative; height: 22px; border-radius: 11px; background: var(--well); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.fl-meter i { position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: repeating-linear-gradient(90deg, var(--amber) 0 calc(25% - 2px), color-mix(in srgb, var(--amber) 70%, #fff) calc(25% - 2px) 25%); background-size: var(--seg, 100%) 100%; transition: width 400ms var(--ease); }
.fl-meter.over i { background: repeating-linear-gradient(45deg, var(--alert) 0 8px, color-mix(in srgb, var(--alert) 70%, #fff) 8px 16px); }
.fl-meter::after { content: ""; position: absolute; top: -4px; bottom: -4px; left: var(--g, 66%); width: 2px; background: var(--ink); }
html.calm .fl-meter i { transition: none; }
.fl-scale { display: flex; justify-content: space-between; font: 500 12px/1 var(--mono); color: var(--muted); }
.fl-out { display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--r-m); background: var(--amber-soft); }
.fl-lines { display: grid; font-size: 14.5px; }
.fl-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--amber-ink) 20%, transparent); }
.fl-lines li > span:last-child { font: 500 14px/1.4 var(--mono); white-space: nowrap; }
.fl-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fl-total span { font-weight: 700; }
.fl-total b { font: 400 38px/1 var(--display); }
.fl-total b.tick { animation: ck-tick 420ms var(--ease); }
@keyframes ck-tick { from { opacity: 0.2; transform: translateY(6px); } }
html.calm .fl-total b.tick { animation: none; }
.fl-note { padding: 12px 14px; border-radius: var(--r-m); background: var(--well); box-shadow: inset 4px 0 0 var(--ok); font-size: 14.5px; color: var(--ink-2); }
.fl-note.over { box-shadow: inset 4px 0 0 var(--alert); }

/* ---------- the visit planner (signature) ---------- */
.vp-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 6px; }
.dbtn { display: grid; gap: 2px; justify-items: center; padding: 8px 2px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--card); cursor: pointer; color: var(--ink); }
.dbtn small { font: 500 11px/1 var(--mono); text-transform: uppercase; color: var(--muted); }
.dbtn b { font: 400 22px/1.1 var(--display); }
.dbtn[aria-pressed="true"] { border-color: var(--claret); background: var(--claret); color: var(--on-claret); }
.dbtn[aria-pressed="true"] small { color: inherit; }
.vp-times { display: flex; flex-wrap: wrap; gap: 6px; }
.tbtn { min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--card); font: 500 14px/1 var(--mono); color: var(--ink); cursor: pointer; }
.tbtn[aria-pressed="true"] { border-color: var(--claret); background: var(--claret-soft); color: var(--claret); box-shadow: 0 0 0 1px var(--claret); }
.tbtn:disabled { opacity: 0.45; cursor: not-allowed; }
.vp-count { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 520px) { .vp-count { grid-template-columns: minmax(0, 1fr); } }
.stepper { display: grid; gap: 6px; }
.stepper > span { font-weight: 700; font-size: 14.5px; }
.stepper small { font-size: 12.5px; color: var(--muted); }
.stepper div { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--line); border-radius: var(--r-pill); overflow: hidden; justify-self: start; }
.stepper button { width: 42px; height: 40px; border: 0; background: var(--card); font: 600 20px/1 var(--body); color: var(--ink); cursor: pointer; }
.stepper button:hover { background: var(--well); }
.stepper output { min-width: 34px; text-align: center; font: 600 16px/1 var(--mono); }
.vp-out { display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--r-m); background: var(--amber-soft); font-size: 15px; }
.vp-out b { font: 500 15px/1.3 var(--mono); }
.vp-home { padding: 12px 14px; border-radius: var(--r-m); background: var(--well); box-shadow: inset 4px 0 0 var(--claret); font-size: 14.5px; color: var(--ink-2); }
.vp-msg { min-height: 1.5em; font-weight: 700; font-size: 15px; color: var(--claret); }

/* ---------- the bottle shop (signature) ---------- */
.sh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.bottle { display: grid; gap: 8px; align-content: start; padding: 14px; border-radius: var(--r-m); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
/* a bottle or can drawn in CSS, in the product's colour */
.bottle .pic { position: relative; height: 96px; border-radius: var(--r-s); background: var(--well); }
.bottle .pic::before { content: ""; position: absolute; left: 50%; bottom: 10px; width: 30px; height: 70px; translate: -50% 0; border-radius: 10px 10px 6px 6px; background: linear-gradient(transparent 0 38%, #f4ede4 38% 62%, transparent 62%), var(--c, #7b1e3a); clip-path: polygon(35% 0, 65% 0, 65% 22%, 100% 36%, 100% 100%, 0 100%, 0 36%, 35% 22%); }
.bottle[data-kind="can"] .pic::before { width: 34px; height: 60px; border-radius: 6px; clip-path: none; background: linear-gradient(transparent 0 30%, #f4ede4 30% 55%, transparent 55%), var(--c, #e8a33d); box-shadow: inset 0 3px 0 rgba(255,255,255,.4); }
.bottle h4 { font: 400 20px/1.1 var(--display); }
.bottle .meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font: 500 12.5px/1.3 var(--mono); color: var(--muted); }
.bottle .price { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font: 500 15px/1.2 var(--mono); }
.bottle .price small { font-size: 12px; color: var(--muted); }
.bottle .qty { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--line); border-radius: var(--r-pill); overflow: hidden; justify-self: start; }
.bottle .qty button { width: 38px; height: 36px; border: 0; background: var(--card); font: 600 18px/1 var(--body); color: var(--ink); cursor: pointer; }
.bottle .qty output { min-width: 30px; text-align: center; font: 600 14.5px/1 var(--mono); }
.bottle.in { box-shadow: 0 0 0 2px var(--claret); }
.sh-cart { display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--r-m); background: var(--amber-soft); }
.sh-lines { display: grid; font-size: 14.5px; }
.sh-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--amber-ink) 20%, transparent); }
.sh-lines li > span:last-child { font: 500 14px/1.4 var(--mono); white-space: nowrap; }
.sh-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sh-total span { font-weight: 700; }
.sh-total b { font: 400 34px/1 var(--display); }
.sh-id { padding: 12px 14px; border-radius: var(--r-m); background: var(--well); box-shadow: inset 4px 0 0 var(--claret); font-size: 14.5px; color: var(--ink-2); }

/* ---------- the tap board (signature) ---------- */
.tp-board { display: grid; gap: 0; border-radius: var(--r-m); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.tap { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 2px 14px; align-items: center; padding: 12px 14px; background: var(--card); border-bottom: 1px solid var(--line); }
.tap:last-child { border-bottom: 0; }
.tap .no { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c, var(--amber)); color: #1c1512; font: 600 15px/1 var(--mono); box-shadow: inset 0 -6px 0 rgba(0,0,0,.12); }
.tap h4 { font: 400 20px/1.1 var(--display); }
.tap .meta { font: 500 12.5px/1.3 var(--mono); color: var(--muted); }
.tap .abv { grid-row: 1; grid-column: 3; justify-self: end; font: 600 15px/1 var(--mono); }
.tap .pours { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 4px 14px; font: 500 12.5px/1.3 var(--mono); color: var(--ink-2); }
.tap .pours b { color: var(--amber-ink); font-weight: 600; }
.tap .keg { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.tap .keg i { position: relative; width: 34px; height: 8px; border-radius: 4px; background: var(--well); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.tap .keg i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--k, 60%); background: var(--amber); }
.tap.low .keg { color: var(--claret); font-weight: 700; }
.tap.low .keg i::after { background: var(--claret); }
@media (max-width: 520px) { .tap { grid-template-columns: 40px minmax(0, 1fr); } .tap .abv, .tap .keg { grid-column: 2; grid-row: auto; justify-self: start; } }

/* ---------- the 18+ check ---------- */
.gate { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
html:not(.calm) .gate { animation: ck-fade 300ms var(--ease); }
@keyframes ck-fade { from { opacity: 0; } }
.gate-card { width: min(460px, 100%); display: grid; gap: 16px; padding: 30px; border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow-lift), 0 0 0 1px var(--line); text-align: center; justify-items: center; }
.gate-card h2 { font: 400 36px/1.05 var(--display); }
.gate-card p { color: var(--ink-2); font-size: 15.5px; }
.gate-card .actions { justify-content: center; width: 100%; }
.gate-card .actions .btn { flex: 1 1 140px; }
.gate-card .glass { width: 30px; height: 44px; background: linear-gradient(var(--claret) 0 16%, var(--amber) 16% 42%, var(--claret) 42%); clip-path: polygon(0 0, 100% 0, 92% 45%, 60% 62%, 60% 88%, 88% 100%, 12% 100%, 40% 88%, 40% 62%, 8% 45%); }
.gate-out { font-weight: 700; color: var(--claret); }

/* ---------- pairs and supporting pieces ---------- */
.plan-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 900px) { .plan-pair { grid-template-columns: minmax(0, 1fr); } }

/* ---------- cards, facts, notices ---------- */
.card { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r-m); background: var(--card); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); min-width: 0; }
.card .k { font: 400 13px/1.2 var(--mono); color: var(--claret); }
.card h3 { font: 400 24px/1.1 var(--display); }
.card p { color: var(--ink-2); font-size: 15.5px; }
.facts { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line); }
.facts > div { display: grid; gap: 6px; align-content: start; padding: 20px 18px 20px 0; min-width: 0; overflow-wrap: break-word; }
.facts > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.facts .k { font: 400 13px/1.2 var(--mono); color: var(--claret); }
.facts b { font: 400 23px/1.1 var(--display); }
.facts p { font-size: 15.5px; color: var(--ink-2); }
.facts.stack { grid-template-columns: minmax(0, 1fr); }
.facts.stack > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .facts:not(.stack) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts > div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 480px) { .facts { grid-template-columns: minmax(0, 1fr); } .facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.notice { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 16px 18px; border-radius: var(--r-m); background: var(--claret-soft); font-size: 15.5px; color: var(--ink-2); overflow-wrap: break-word; }
.notice svg { width: 20px; height: 20px; color: var(--claret); margin-top: 2px; }
.notice b { color: var(--ink); }
.side-box { display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--r-m); background: var(--card); box-shadow: 0 0 0 1px var(--line); overflow-wrap: break-word; }
.side-box h3 { font: 400 13px/1.2 var(--mono); color: var(--muted); }
.side-box ul { display: grid; gap: 8px; font-size: 15px; }
.sidebar { display: grid; gap: 16px; align-content: start; }
.hero-grid { align-items: start; }

/* ---------- closing ---------- */
.close { padding-block: clamp(56px, 8vw, 96px); }
.close-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 28px; align-items: end; padding: clamp(28px, 5vw, 60px); border-radius: var(--r-l); background: var(--close-bg, #1f0f14); color: #f4ede4; overflow: hidden; isolation: isolate; }
/* a glass on the right of the dark card that fills with ale and keeps a head of foam */
.close-card::before { content: ""; position: absolute; z-index: -1; right: 9%; top: 50%; width: 92px; height: 150px; translate: 0 -50%; background: linear-gradient(transparent 0 calc(100% - var(--fill, 78%)), #fbf3e6 calc(100% - var(--fill, 78%)) calc(100% - var(--fill, 78%) + 16px), var(--close-em, #e8a33d) calc(100% - var(--fill, 78%) + 16px)), rgba(255,255,255,.06); clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%); }
.close-card::after { content: ""; position: absolute; z-index: -1; right: calc(9% + 30px); top: calc(50% - 30px); width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 14px 18px 0 -1px rgba(255,255,255,.45), -6px 40px 0 -1px rgba(255,255,255,.4), 10px 60px 0 rgba(255,255,255,.35); }
@property --fill { syntax: "<percentage>"; inherits: false; initial-value: 78%; }
html:not(.calm) .close-card::before { animation: ck-fill 4s ease-in-out infinite alternate; }
@keyframes ck-fill { from { --fill: 52%; } to { --fill: 82%; } }
html:not(.calm) .close-card::after { animation: ck-bub 2.4s linear infinite; }
@keyframes ck-bub { to { translate: 0 -24px; opacity: 0.2; } }
.close-card .h2 { color: #fff; }
.close-card .h2 em { color: var(--close-em, #e8a33d); }
.close-card p { color: #d8cfc6; max-width: 52ch; margin-top: 14px; }
.close-card .tag { color: #bdb2a8; }
.close-card .tag b { color: var(--close-em, #e8a33d); }
.close-card .btn-claret { background: var(--close-em, #e8a33d); color: #1c1512; }
.close-card .btn-claret:hover { filter: brightness(1.06); }
.close-card :focus-visible { outline-color: #fff; }
@media (min-width: 861px) { .close-card { padding-right: calc(9% + 160px); } }
@media (max-width: 860px) { .close-card { grid-template-columns: minmax(0, 1fr); } .close-card::before, .close-card::after { display: none; } }
/* a ticked list, the tick drawn with borders */
.checks { display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: ""; position: absolute; left: 5px; top: 4px; width: 6px; height: 12px; border: solid var(--claret); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border-radius: var(--r-m); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 18px 22px; font: 400 21px/1.2 var(--display); border-radius: var(--r-m); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); background: linear-gradient(var(--claret), var(--claret)) center / 10px 1.6px no-repeat, linear-gradient(var(--claret), var(--claret)) center / 1.6px 10px no-repeat; transition: transform var(--d) var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > div { padding: 0 22px 20px; color: var(--ink-2); max-width: 72ch; }

/* ---------- footer ---------- */
.foot { padding-block: 56px 30px; border-top: 1px solid var(--line); background: var(--well); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h4 { font: 500 var(--fs-label)/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { display: grid; gap: 9px; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--claret); }
.licence { margin-top: 28px; padding: 14px 16px; border-radius: var(--r-s); background: var(--card); box-shadow: 0 0 0 1px var(--line); font: 400 12px/1.7 var(--mono); color: var(--muted); }
.licence b { color: var(--ink); font-weight: 500; }
.foot-base { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.foot-switches { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- switch ---------- */
.switch { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--card); cursor: pointer; font: 500 14.5px/1 var(--body); color: var(--ink-2); }
.switch .sw { position: relative; flex: none; width: 38px; height: 22px; border-radius: var(--r-pill); background: var(--well); box-shadow: inset 0 0 0 1px var(--line); transition: background var(--d-fast); }
.switch .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); transition: transform var(--d) var(--ease); }
.switch[aria-checked="true"] .sw { background: var(--claret); box-shadow: none; }
.switch[aria-checked="true"] .sw::after { transform: translateX(16px); background: #fff; }

/* =====================================================================
   Multi-page kit
   ===================================================================== */
.page-head { position: relative; padding-block: clamp(30px, 4.5vw, 64px) clamp(34px, 4.5vw, 60px); border-bottom: 1px solid var(--line); overflow: clip; }

.page-head .wrap { position: relative; }
.page-head .h1 { font-size: clamp(38px, 5vw, 68px); margin-top: 16px; }
.page-head .lead { margin-top: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--claret); }
.crumbs span[aria-hidden] { opacity: 0.6; }

.field { display: grid; gap: 7px; align-content: start; min-width: 0; }
.field > span, .field-set > legend { font: 600 15.5px/1.25 var(--body); color: var(--ink); }
.field small, .field-set > legend small { color: var(--muted); font: 400 14px/1.35 var(--body); }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 15px; border-radius: var(--r-s); border: 1px solid color-mix(in srgb, var(--ink) 25%, var(--line)); background: var(--card); color: var(--ink); transition: box-shadow var(--d-fast), border-color var(--d-fast); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.field [aria-invalid="true"] { border-color: var(--alert); box-shadow: 0 0 0 3px color-mix(in srgb, var(--alert) 20%, transparent); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-size: 6px 6px; background-position: right 22px center, right 16px center; background-repeat: no-repeat; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-wide { grid-column: 1 / -1; }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }
fieldset.field-set { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
fieldset.field-set > legend { padding: 0; margin-bottom: 10px; }
fieldset.field-set > .seg { justify-self: start; }
.form-card { display: grid; gap: 22px; padding: clamp(22px, 3.5vw, 38px); border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); }
.form-done { padding: 16px 18px; border-radius: var(--r-m); background: var(--claret-soft); color: var(--ink); font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--claret); }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; min-width: 0; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span { display: grid; gap: 3px; height: 100%; padding: 15px 17px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--card); transition: border-color var(--d-fast), background var(--d-fast), box-shadow var(--d-fast); }
.choice > span b { font: 400 20px/1.1 var(--display); }
.choice > span small { color: var(--muted); font-size: 14.5px; }
.choice:hover > span { border-color: color-mix(in srgb, var(--ink) 40%, var(--line)); }
.choice input:checked + span { border-color: var(--claret); box-shadow: 0 0 0 1px var(--claret); background: color-mix(in srgb, var(--claret-soft) 45%, var(--card)); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); }
.seg button, .seg label { position: relative; padding: 9px 15px; border: 0; border-radius: var(--r-pill); background: transparent; cursor: pointer; font: 500 14.5px/1 var(--body); color: var(--ink-2); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg button:hover, .seg label:hover { background: var(--well); }
.seg button[aria-pressed="true"], .seg label:has(input:checked) { background: var(--ink); color: var(--paper); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

input.range { --p: 50%; appearance: none; -webkit-appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--claret) 0 var(--p), var(--line) var(--p) 100%); cursor: pointer; }
input.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 2px solid var(--claret); box-shadow: var(--shadow-card); }
input.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--card); border: 2px solid var(--claret); }

.table { overflow-x: auto; border-radius: var(--r-m); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table caption { caption-side: bottom; text-align: left; padding: 12px 18px; font: 400 12px/1.5 var(--mono); color: var(--muted); }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child > * { border-bottom: 0; }
.table thead th { font: 500 10.5px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--well); border-bottom: 1px solid var(--line); }
.table tbody th { font: 400 19.5px/1.25 var(--display); }
.table td { color: var(--ink-2); }
.table .r { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 680px) {
  .table.stack table, .table.stack tbody, .table.stack tr, .table.stack td, .table.stack th { display: block; }
  .table.stack table { display: flex; flex-direction: column; }
  .table.stack caption { display: block; order: 1; }
  .table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table.stack tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .table.stack td, .table.stack th { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px; border: 0; padding: 4px 0; text-align: left !important; }
  .table.stack th[scope="row"] { display: block; }
  .table.stack td::before { content: attr(data-label); font: 500 10.5px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
}

.field input.range { min-height: 0; height: 6px; padding: 0; border: 0; margin: 14px 0 8px; box-shadow: none; background: linear-gradient(90deg, var(--claret) 0 var(--p), var(--line) var(--p) 100%); }


/* ---------- reveal on scroll ---------- */
.js [data-enter] { opacity: 0; transform: translateY(14px); transition: opacity 650ms var(--ease), transform 650ms var(--ease); }
.js [data-enter].entered { opacity: 1; transform: none; }
html.calm [data-enter] { opacity: 1 !important; transform: none !important; transition: none !important; }
.form-card, .form-card > *, .form-card .fields > * { min-width: 0; }
.field input, .field textarea, .field select { min-width: 0; max-width: 100%; }
.page-head { isolation: isolate; }
.page-head::before { content: ""; position: absolute; z-index: -1; right: 6%; top: 0; bottom: 0; width: 240px; background: radial-gradient(circle, color-mix(in srgb, var(--amber) 70%, transparent) 0 3px, transparent 3.5px) 0 0 / 40px 46px, radial-gradient(circle, color-mix(in srgb, var(--amber) 50%, transparent) 0 2px, transparent 2.5px) 20px 23px / 40px 46px; -webkit-mask: linear-gradient(transparent, #000 40%, transparent); mask: linear-gradient(transparent, #000 40%, transparent); pointer-events: none; }
html:not(.calm) .page-head::before { animation: ck-rise-s 5s linear infinite; }
@keyframes ck-rise-s { to { background-position: 0 -460px, 20px -437px; } }
/* a little tulip glass by the bubbles */
.page-head::after { content: ""; position: absolute; right: calc(6% + 250px); top: 30%; width: 34px; height: 46px; background: linear-gradient(transparent 0 30%, color-mix(in srgb, var(--claret) 85%, transparent) 30% 58%, transparent 58%), var(--line); clip-path: polygon(0 0, 100% 0, 92% 45%, 60% 62%, 60% 88%, 85% 100%, 15% 100%, 40% 88%, 40% 62%, 8% 45%); }
html:not(.calm) .page-head::after { animation: ck-swirl 3s ease-in-out infinite alternate; }
@keyframes ck-swirl { to { rotate: 6deg; } }
@media (max-width: 700px) { .page-head::after, .page-head::before { display: none; } }

@media print { .nav, .foot-switches, .menu-btn, .site-menu, .close { display: none !important; } body { background: #fff; } }
