/* Fierce Mild. Ink on bone paper, one fierce red, the lager's sage as a
   product ground (not an accent). League Gothic for the shouting, Figtree for
   the talking (their own site face), Anonymous Pro only on the till receipt. */

:root {
  --paper: #F0EBE2;
  --paper-hi: #FBF8F2;
  --ink: #2B2A28;
  --ink-soft: #5B5750;
  --red: #E2442C;
  --sage: #AEBF93;
  --sage-deep: #93A578;
  --bland: #DCD5C8;
  --bland-chip: #EDE8DE;
  --bland-line: #B5AD9E;
  --bland-ink: #5A554C;

  --sc-canvas: var(--paper);
  --sc-surface: var(--paper-hi);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--red);
  --sc-accent-ink: var(--ink);
  --sc-font-display: "League Gothic", "Arial Narrow", sans-serif;
  --sc-font-text: "Figtree", system-ui, sans-serif;
  --sc-font-mono: "Anonymous Pro", ui-monospace, monospace;
  --sc-shadow-color: 30 12% 14%;

  --r: 10px;
  --bar-h: 64px;
}

::selection { background: var(--red); color: var(--paper-hi); }
:focus-visible { outline: 2.5px solid var(--red); outline-offset: 3px; border-radius: 6px; }
body { background: var(--paper); color: var(--ink); }
.sc-grain { opacity: 0.06; z-index: 70; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* --------------------------------------------------------- the ink type --
   The brand's type is printed, not rendered: rough, speckled, slightly
   starved of ink. A tiled speckle mask does that to any heading for free. */
.disp {
  font-family: var(--sc-font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: 0.004em;
  text-wrap: balance;
  margin: 0;
  -webkit-mask-image: url(assets/speckle2.png);
          mask-image: url(assets/speckle2.png);
  -webkit-mask-size: 340px; mask-size: 340px;
}
.ink-mask { -webkit-mask-image: url(assets/speckle2.png); mask-image: url(assets/speckle2.png); -webkit-mask-size: 300px; mask-size: 300px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.7em 1.2em;
  font: 700 1rem/1 var(--sc-font-text); letter-spacing: 0.005em;
  border-radius: var(--r); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out);
}
.btn span { font-weight: 600; opacity: 0.78; font-variant-numeric: tabular-nums; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn--ink { background: var(--ink); color: var(--paper-hi); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--block { width: 100%; }
.btn--big { min-height: 58px; font-size: 1.12rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover { background: var(--red); color: var(--ink); }
  .btn--paper:hover { background: var(--red); color: var(--ink); }
  .btn--line:hover { background: var(--ink); color: var(--paper-hi); }
}
.btn.is-added { background: var(--red); color: var(--ink); border-color: var(--red); }

/* ------------------------------------------------------------------ bar -- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: clamp(1rem, 2.6vw, 2.25rem);
  transition: background-color 240ms var(--sc-ease-out), box-shadow 240ms var(--sc-ease-out);
}
.bar.is-solid { background: var(--paper); box-shadow: 0 1px 0 color-mix(in oklab, var(--ink) 14%, transparent); }
.bar__mark { display: block; width: 116px; color: var(--ink); opacity: 0; transform: translateY(-6px); transition: opacity 240ms var(--sc-ease-out), transform 240ms var(--sc-ease-out); }
.bar.is-solid .bar__mark { opacity: 1; transform: none; }
.bar__mark svg { width: 100%; height: auto; }
.bar__nav { display: flex; align-items: center; gap: clamp(0.5rem, 1.4vw, 1.1rem); }
.bar__link { font-weight: 700; text-decoration: none; padding: 10px 6px; }
.bar__link:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.bar__cta { min-height: 42px; padding-inline: 1em; }

/* ------------------------------------------------------------- the tab --- */
.tab { position: relative; font-family: var(--sc-font-mono); }
.tab__toggle {
  display: inline-flex; align-items: center; gap: 0.7em;
  min-height: 42px; padding: 0 0.9em;
  background: var(--paper-hi); color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--r);
  font: 700 0.9rem/1 var(--sc-font-mono); cursor: pointer;
  transition: transform 140ms var(--sc-ease-out);
}
.tab__toggle:active { transform: scale(0.97); }
.tab__toggle-n { font-weight: 400; color: var(--ink-soft); }
.tab__toggle-t { font-variant-numeric: tabular-nums; }
.tab.is-bump .tab__toggle { animation: bump 420ms var(--sc-ease-out); }
@keyframes bump { 30% { transform: translateY(2px) rotate(-1.5deg); } 60% { transform: translateY(-1px) rotate(1deg); } }

.tab__paper {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: 286px;
  background: var(--paper-hi); color: var(--ink);
  padding: 18px 18px 30px;
  font-size: 0.86rem; line-height: 1.45;
  box-shadow: 0 2px 4px hsl(var(--sc-shadow-color) / 0.18), 0 14px 34px -8px hsl(var(--sc-shadow-color) / 0.38);
  rotate: 0.8deg;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
  transform-origin: 90% 0;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 360ms var(--sc-ease-out), visibility 0s linear 360ms;
}
.tab.is-open .tab__paper { clip-path: inset(0 0 -10% 0); visibility: visible; transition: clip-path 420ms var(--sc-ease-out), visibility 0s; }
.tab__head { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 10px; border-bottom: 1.5px dashed var(--ink); }
.tab__head p { margin: 0; font-size: 0.78rem; }
.tab__flame { width: 34px; flex: none; color: var(--ink); }
.tab__lines { list-style: none; margin: 0; padding: 8px 0; max-height: 34vh; overflow-y: auto; position: relative; }
.tab__lines li { margin: 0; }
.tab__lines a {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: baseline;
  padding: 3px 0; text-decoration: none; color: inherit;
}
.tab__lines a:hover .tab__txt { text-decoration: underline; }
.tab__txt { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tab__val { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tab__lines li.is-new { animation: print 420ms var(--sc-ease-out); }
@keyframes print { from { clip-path: inset(0 0 100% 0); transform: translateY(-5px); } to { clip-path: inset(0); transform: none; } }
.tab__lines li.is-void .tab__txt, .tab__lines li.is-void .tab__val { text-decoration: line-through; color: var(--ink-soft); }
.tab__lines li.is-void { position: relative; }
.tab__lines li.is-void::after {
  content: "VOID"; position: absolute; right: 26%; top: -4px;
  font: 700 0.95rem/1 var(--sc-font-mono); letter-spacing: 0.14em;
  color: var(--red); border: 2px solid var(--red); padding: 3px 6px 2px; border-radius: 4px;
  rotate: -9deg; animation: stamp 360ms var(--sc-ease-out) both;
}
@keyframes stamp { from { opacity: 0; transform: scale(1.6); } to { opacity: 1; transform: none; } }
.tab__foot { border-top: 1.5px dashed var(--ink); padding-top: 10px; }
.tab__foot p { display: flex; justify-content: space-between; margin: 0 0 4px; }
.tab__sum { font-weight: 700; font-size: 0.98rem; }
.tab__abv { color: var(--ink-soft); font-size: 0.78rem; }
.tab__foot .btn { margin-top: 12px; font-family: var(--sc-font-text); }

/* =============================================================== 1 HERO */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 600px;
  overflow: clip; background: var(--paper);
  --t: 0; --px: 0; --py: 0;
  --counter: 20vh;
}
.hero__wall {
  position: absolute; inset: 0; z-index: 1;
  transform: translate3d(calc(var(--px) * -10px), calc(var(--t) * 34vh + var(--py) * -6px), 0) scale(calc(1 - var(--t) * 0.05));
  transform-origin: 30% 30%;
  will-change: transform;
}
.hero__logo { position: absolute; left: clamp(1rem, 4.4vw, 4.5rem); top: 14vh; width: min(57vw, 100vh); margin: 0; color: var(--ink); }
.hero__logo svg { width: 100%; height: auto; overflow: visible; }
.hero__logo svg { -webkit-mask-image: url(assets/speckle2.png); mask-image: url(assets/speckle2.png); -webkit-mask-size: 420px; mask-size: 420px; }

.hero__keeper {
  position: absolute; z-index: 2;
  left: 22vw; bottom: calc(var(--counter) - 1px);
  height: 62vh; aspect-ratio: 380 / 640;
  transform: translate3d(calc(var(--px) * 7px), calc(var(--t) * 40vh + 30vh), 0);
  will-change: transform;
  color: var(--ink);
}
.hero__keeper .crt { width: 100%; height: 100%; }

.hero__counter {
  position: absolute; inset: auto 0 0 0; height: var(--counter); z-index: 3;
  background: var(--ink); color: var(--paper);
  box-shadow: 0 -10px 0 -4px #3A3835, 0 -14px 26px -10px hsl(var(--sc-shadow-color) / 0.5);
}
.hero__counter::before { /* the bar rail's catch-light */
  content: ""; position: absolute; inset: -6px 0 auto 0; height: 6px;
  background: linear-gradient(#55524D, #3A3835);
}
.hero__bottles {
  position: absolute; bottom: calc(100% + 2px); right: 7vw;
  display: flex; align-items: flex-end; gap: 1.2vh;
  height: 64vh;
  transform: translate3d(calc(var(--px) * 16px), calc(var(--t) * -9vh + var(--py) * 4px), 0) scale(calc(1 + var(--t) * 0.07));
  transform-origin: 50% 100%;
  will-change: transform;
}
.hero__bottle { height: 100%; width: auto; max-width: none; filter: drop-shadow(0 14px 18px hsl(var(--sc-shadow-color) / 0.22)); }
.hero__bottle--lager { height: 98%; rotate: -2deg; transform-origin: 50% 100%; }
.hero__bottles::after { /* contact shadow on the counter */
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -10px; height: 18px;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent);
}
.hero__front {
  position: relative; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding-inline: clamp(1rem, 4.4vw, 4.5rem);
}
.hero__lede { margin: 0; max-width: 30ch; font-size: clamp(1.15rem, 0.9rem + 0.9vw, 1.65rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.005em; text-wrap: balance; }
.hero__acts { display: flex; align-items: center; gap: 1.4rem; }
.hero__link { font-weight: 700; color: var(--paper); text-underline-offset: 0.25em; text-decoration-thickness: 2px; }

/* the creature */
.crt { overflow: visible; color: var(--ink); }
.crt__mouth-bg { fill: var(--paper); }
.crt__socket { fill: var(--ink); }
.crt__eye { transform-box: fill-box; transform-origin: center; }
.crt__eye circle:first-child { fill: var(--paper); stroke: var(--ink); stroke-width: 2.8; }
.crt__pupil { fill: var(--ink); stroke: none; transition: r 160ms var(--sc-ease-out); }
.crt.is-blink .crt__eye { transform: scaleY(0.12); transition: transform 70ms linear; }
.crt__eye { transition: transform 110ms var(--sc-ease-out); }

/* ======================================================= 2 THE STAND */
.stand__stage { background: var(--bland); color: var(--ink); --hush: 0; }
.stand__red {
  position: absolute; inset: 0; z-index: 0; background: var(--red);
  clip-path: circle(0 at var(--mx, 60%) var(--my, 60%));
}
.stand__shake { position: absolute; inset: 0; z-index: 1; }
.stand__q { position: absolute; z-index: 3; left: clamp(1rem, 4.4vw, 4.5rem); top: calc(var(--bar-h) + 6vh); max-width: min(60vw, 900px); transition: opacity 260ms var(--sc-ease-out); }
.stand__qline { font-size: clamp(3.2rem, 1.8rem + 5.6vw, 8.4rem); color: var(--ink); }
.stand__who { margin: 0.9rem 0 0; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bland-ink); }
.stand__pile { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 2; pointer-events: none; transition: opacity 400ms var(--sc-ease-out); opacity: calc(1 - var(--hush) * 0.5); }
.order {
  position: absolute; left: 0; top: 0;
  display: inline-block; white-space: nowrap;
  padding: 0.62em 1.05em 0.6em;
  background: var(--bland-chip); color: var(--bland-ink);
  border: 2px solid var(--bland-line); border-radius: var(--r);
  box-shadow: 0 3px 0 var(--bland-line);
  font-weight: 600; font-size: clamp(1rem, 0.7rem + 1.05vw, 1.75rem); line-height: 1.1;
  opacity: 0; will-change: transform;
}
.order:nth-child(3n) { font-size: clamp(1.15rem, 0.8rem + 1.4vw, 2.2rem); }
.order:nth-child(4n+1) { font-size: clamp(0.95rem, 0.7rem + 0.8vw, 1.4rem); }
.order.is-in { opacity: 1; }
.stand__hush { position: absolute; z-index: 3; right: clamp(1rem, 4.4vw, 4.5rem); top: 40%; text-align: right; pointer-events: none; }
.stand__hush p { margin: 0; color: var(--ink); font-size: clamp(2.6rem, 1.6rem + 3.6vw, 6rem); opacity: 0; transition: opacity 320ms var(--sc-ease-out); }
.stand__hush .is-on { opacity: 1; }
.stand__until { color: var(--ink); }

.stand__keeper {
  position: absolute; z-index: 4;
  left: 64%; bottom: -14%;
  height: min(100%, 1000px); aspect-ratio: 380 / 640;
  translate: -50% 0;
  transform: translate3d(0, calc((1 - var(--rise, 0)) * 102%), 0);
  will-change: transform;
}
.stand__keeper .crt { width: 100%; height: 100%; transform-origin: 58% 100%; }
.crt__burst { transform-box: fill-box; transform-origin: 100% 60%; opacity: 0; transform: scale(0.3) rotate(10deg); transition: opacity 200ms var(--sc-ease-out), transform 420ms cubic-bezier(.2,1.6,.4,1); }
.is-roared .crt__burst { opacity: 1; transform: none; }
.stand__poke-hit { position: absolute; left: 34%; top: 0; width: 50%; height: 100%; z-index: 2; background: transparent; border: 0; cursor: pointer; border-radius: 40px; pointer-events: none; }
.is-roared .stand__poke-hit { pointer-events: auto; }
.stand__rings { position: absolute; left: 58.5%; top: 60.2%; width: 0; height: 0; pointer-events: none; }
.stand__rings i {
  position: absolute; left: 0; top: 0; width: 40vmax; height: 40vmax; margin: -20vmax 0 0 -20vmax;
  border-radius: 50%; border: 6px solid var(--ink); opacity: 0; transform: scale(0.05);
}
.stand__rings.is-on i { animation: ring 900ms var(--sc-ease-out) forwards; }
.stand__rings.is-on i:nth-child(2) { animation-delay: 110ms; }
.stand__rings.is-on i:nth-child(3) { animation-delay: 220ms; }
@keyframes ring { 0% { opacity: .9; transform: scale(.05); } 100% { opacity: 0; transform: scale(2.6); border-width: 1px; } }

.stand__after {
  position: absolute; z-index: 5; left: clamp(1rem, 4.4vw, 4.5rem); top: calc(var(--bar-h) + 7vh);
  width: min(46vw, 700px);
  opacity: 0; visibility: hidden; transition: opacity 320ms var(--sc-ease-out), visibility 0s linear 320ms;
}
.is-roared .stand__after { opacity: 1; visibility: visible; transition: opacity 380ms var(--sc-ease-out) 260ms, visibility 0s; }
.is-roared .stand__q { opacity: 0; }
.stand__h { font-size: clamp(3.6rem, 1.6rem + 7.4vw, 10.5rem); color: var(--ink); }
.stand__h span { display: block; }
.stand__sub { margin: 1.4rem 0 0; max-width: 30ch; font-size: clamp(1.1rem, 0.9rem + 0.6vw, 1.45rem); font-weight: 700; line-height: 1.3; color: var(--ink); }
.stand__poke { margin-top: 1.6rem; min-height: 48px; padding: 0.7em 1.2em; border-radius: var(--r); border: 2px solid var(--ink); background: transparent; color: var(--ink); font-weight: 800; cursor: pointer; transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), transform 140ms var(--sc-ease-out); }
.stand__poke:hover { background: var(--ink); color: var(--red); }
.stand__poke:active { transform: scale(0.97); }
.is-roared .stand__hush p { opacity: 0 !important; }

/* reduced motion: a composed pile, no physics */
.rm .stand__pile { display: flex; flex-wrap: wrap; align-content: flex-end; justify-content: center; gap: 10px 8px; padding: 0 4vw 4vh 4vw; }
.rm .order { position: static; opacity: 1; rotate: var(--rr, 0deg); }
.rm .is-roared .stand__pile { opacity: 0; }
.rm .stand__red { clip-path: none; opacity: 0; transition: opacity 300ms linear; }
.rm .is-roared .stand__red { opacity: 1; }

/* ========================================================= 3 THE BEERS */
.beers { background: var(--paper); padding-top: clamp(6rem, 14vh, 10rem); }
.beers__intro { margin-bottom: clamp(3rem, 8vh, 6rem); }
.beers__h { font-size: clamp(3.4rem, 1.6rem + 7vw, 9.5rem); }
.beers__lede { margin: 1.2rem 0 0; max-width: 40ch; font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.4rem); font-weight: 600; line-height: 1.35; }

.beer { display: grid; align-items: center; min-height: 80vh; }
.beer--xpa { grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr); }
.beer--lager { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.1fr); background: var(--sage); }
.beer__photo { margin: 0; height: 100%; min-height: 78vh; overflow: hidden; }
.beer__photo img { width: 100%; height: 100%; object-fit: cover; }
.beer--xpa .beer__photo img { object-position: 50% 62%; }
.beer__label {
  writing-mode: vertical-rl; rotate: 180deg;
  display: flex; gap: 2.4em; justify-content: center; align-self: stretch;
  padding: 0 clamp(0.6rem, 1.4vw, 1.3rem);
  font: 400 clamp(1rem, 0.8rem + 0.6vw, 1.45rem)/1 var(--sc-font-display); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft); white-space: nowrap; overflow: hidden;
}
.beer--lager .beer__label { color: #4C5640; }
.beer__copy { padding: clamp(3rem, 8vh, 6rem) clamp(1.25rem, 5vw, 5.5rem); max-width: 40rem; }
.beer--lager .beer__copy { justify-self: end; }
.beer__name { font-size: clamp(3.6rem, 1.8rem + 6vw, 8.4rem); }
.beer__line { margin: 1.1rem 0 0; font-size: clamp(1.2rem, 1rem + 0.6vw, 1.6rem); font-weight: 800; line-height: 1.22; text-wrap: balance; }
.beer__body { margin: 1rem 0 0; max-width: 50ch; line-height: 1.6; color: var(--ink); }
.beer--xpa .beer__body { color: var(--ink-soft); }
.spec { margin: 1.6rem 0 0; border-top: 2px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 0.62rem 0; border-bottom: 1px solid color-mix(in oklab, var(--ink) 30%, transparent); }
.spec dt { font: 400 1.15rem/1.3 var(--sc-font-display); text-transform: uppercase; letter-spacing: 0.06em; }
.spec dd { margin: 0; font-weight: 600; }
.beer__aside { margin: 1.3rem 0 0; font-style: italic; font-weight: 600; }
.beer__small { margin: 1.3rem 0 0; font-size: 0.92rem; line-height: 1.5; max-width: 46ch; }
.beer__still { opacity: 0; transition: opacity 900ms var(--sc-ease-out); }
.is-dwelt .beer__still { opacity: 1; }
.buy { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.7rem; }
.buy--row { align-items: center; }

.mixed { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(5rem, 14vh, 9rem); }
.mixed__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); }
.mixed__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.mixed__h { font-size: clamp(3rem, 1.6rem + 5vw, 7rem); max-width: 10ch; }
.mixed__copy > p { margin: 1.2rem 0 0; max-width: 38ch; font-size: 1.12rem; }

/* ========================================================== 4 THE PROOF */
.proof { background: var(--ink); color: var(--paper); padding-block: clamp(6rem, 14vh, 10rem) clamp(5rem, 12vh, 8rem); overflow: clip; position: relative; }
.proof ::selection { background: var(--red); color: var(--ink); }
.proof__h { font-size: clamp(3.4rem, 1.6rem + 7vw, 9.5rem); max-width: 11ch; color: var(--paper); }
.mats { list-style: none; margin: 0 auto; padding: 0; position: relative; height: clamp(480px, 66vh, 680px); max-width: 1500px; }
.mat { position: absolute; width: clamp(180px, 19vw, 290px); aspect-ratio: 1; }
.mat__in {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--paper);
  outline: 2px solid var(--ink); outline-offset: -11px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 18%; gap: 0.35rem;
  box-shadow: 0 3px 0 #BDB5A6, 0 22px 30px -16px rgba(0,0,0,.65);
}
.mat__in b { font: 400 clamp(2.4rem, 1.6rem + 2.4vw, 4rem)/0.9 var(--sc-font-display); text-transform: uppercase; -webkit-mask-image: url(assets/speckle2.png); mask-image: url(assets/speckle2.png); -webkit-mask-size: 260px; mask-size: 260px; }
.mat__in span { font-weight: 800; font-size: clamp(0.8rem, 0.7rem + 0.3vw, 1rem); line-height: 1.15; text-transform: uppercase; letter-spacing: 0.02em; }
.mat__in small { font-size: 0.75rem; color: var(--ink-soft); font-weight: 600; }
.mat--a { left: 4%; top: 6%; rotate: -9deg; }
.mat--b { left: 26%; top: 38%; rotate: 7deg; }
.mat--c { left: 45%; top: 2%; rotate: -4deg; }
.mat--c .mat__in { background: var(--red); border-color: var(--red); }
.mat--c .mat__in small, .mat--c .mat__in span { color: var(--ink); }
.mat--d { left: 64%; top: 34%; rotate: 11deg; }
.mat--e { left: 80%; top: 0%; rotate: -12deg; }
.mat--e .mat__in { background: var(--sage); border-color: var(--sage); }

.proof__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); margin-top: clamp(2rem, 6vh, 5rem); align-items: start; }
.quote { grid-column: 1 / 8; margin: 0; }
.quote blockquote { margin: 0; }
.quote p { margin: 0; font: 400 clamp(2.6rem, 1.4rem + 4vw, 6rem)/0.92 var(--sc-font-display); text-transform: uppercase; text-wrap: balance; -webkit-mask-image: url(assets/speckle2.png); mask-image: url(assets/speckle2.png); -webkit-mask-size: 340px; mask-size: 340px; }
.quote figcaption { margin-top: 1rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.9rem; color: var(--red); }
.pitch { grid-column: 8 / 13; padding-top: 0.6rem; }
.pitch__n { margin: 0; font: 400 clamp(3rem, 1.8rem + 4vw, 6.4rem)/0.9 var(--sc-font-display); text-transform: uppercase; color: var(--paper); }
.pitch__n span { color: var(--red); }
.pitch__eur { margin-right: 0.04em; }
.pitch p:last-child { margin: 1rem 0 0; color: #CFC8BB; max-width: 40ch; }
.van { grid-column: 1 / 13; margin: clamp(2rem, 6vh, 4rem) 0 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.van img { width: 100%; height: auto; border-radius: var(--r); }
.van figcaption { color: #CFC8BB; font-size: 1.08rem; max-width: 40ch; }
.van figcaption b { display: block; margin-bottom: 0.5rem; color: var(--paper); font: 400 clamp(2rem, 1.4rem + 2vw, 3.4rem)/0.95 var(--sc-font-display); text-transform: uppercase; }
.proof__end { margin-top: clamp(4rem, 10vh, 7rem); text-align: right; font-size: clamp(2.6rem, 1.4rem + 4vw, 6rem); color: var(--paper); }

/* ========================================================== 5 THE TRIBE */
.tribe { background: var(--paper); padding-block: clamp(6rem, 14vh, 10rem) clamp(4rem, 10vh, 7rem); }
.tribe__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); align-items: start; }
.tribe__copy { grid-column: 1 / 6; grid-row: 1 / 3; padding-right: 1rem; }
.tribe__h { font-size: clamp(3.4rem, 1.6rem + 6vw, 8.6rem); }
.tribe__h u { text-decoration-thickness: 0.06em; text-underline-offset: 0.08em; }
.tribe__lede { margin: 1.4rem 0 0; font-size: clamp(1.2rem, 1rem + 0.6vw, 1.55rem); font-weight: 800; line-height: 1.25; max-width: 26ch; }
.tribe__copy > p:not(.tribe__lede) { margin: 1rem 0 0; max-width: 44ch; color: var(--ink-soft); }
.tribe__mild { padding-top: 1rem; border-top: 2px solid var(--ink); color: var(--ink) !important; }
.tribe__mild a { font-weight: 700; }
.tribe__ph { margin: 0; overflow: hidden; border-radius: var(--r); }
.tribe__ph img { width: 100%; height: 100%; object-fit: cover; }
.tribe__ph--field { grid-column: 6 / 9; grid-row: 1 / 3; aspect-ratio: 482 / 900; margin-top: 2rem; }
.tribe__ph--pour { grid-column: 9 / 13; grid-row: 1; aspect-ratio: 630 / 700; }
.tribe__ph--tote { grid-column: 9 / 12; grid-row: 2; aspect-ratio: 4 / 4.4; }
.tribe__ph--tote img { object-position: 50% 70%; }

.merch { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(4rem, 10vh, 7rem); align-items: start; }
.kit { display: grid; gap: 1.2rem; }
.kit figure { margin: 0; overflow: hidden; border-radius: var(--r); }
.kit figure img { width: 100%; height: auto; }
.kit--tote figure { aspect-ratio: 5 / 4; }
.kit--tote figure img { height: 100%; object-fit: cover; object-position: 50% 55%; }
.kit__h { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 4rem); }
.kit__copy > p { margin: 0.7rem 0 0; max-width: 44ch; color: var(--ink-soft); }
.buy--row .sel select {
  min-height: 48px; padding: 0 2.2em 0 0.9em; border-radius: var(--r); border: 2px solid var(--ink);
  background: var(--paper-hi) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%232B2A28' stroke-width='2' fill='none'/></svg>") no-repeat right 0.8em center;
  appearance: none; font-weight: 600; cursor: pointer;
}

/* ========================================================= 6 SETTLE UP */
.settle { background: var(--paper); padding-top: clamp(4rem, 10vh, 7rem); border-top: 2px solid var(--ink); }
.settle__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.settle__h { font-size: clamp(4rem, 2rem + 8vw, 11rem); }
.settle__copy > p { margin: 1.1rem 0 0; max-width: 40ch; }
.settle__copy > p:first-of-type { font-size: 1.15rem; font-weight: 600; }
.settle__alt { color: var(--ink-soft); }
.settle__alt b { color: var(--ink); }
.settle__alt a { font-weight: 700; color: var(--ink); }

.receipt { perspective: 1200px; }
.receipt__paper {
  background: var(--paper-hi); color: var(--ink);
  font-family: var(--sc-font-mono); font-size: 0.98rem; line-height: 1.5;
  padding: 34px clamp(20px, 3vw, 40px) 46px;
  rotate: -1.2deg;
  box-shadow: 0 2px 4px hsl(var(--sc-shadow-color) / 0.16), 0 30px 50px -20px hsl(var(--sc-shadow-color) / 0.45);
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 16px 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 51% repeat-x;
          mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 16px 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 51% repeat-x;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1400ms cubic-bezier(.3,.7,.2,1);
}
.receipt.is-printed .receipt__paper { clip-path: inset(-20px -20px -20px -20px); }
.receipt__head { text-align: center; padding-bottom: 14px; border-bottom: 1.5px dashed var(--ink); }
.receipt__head svg { width: 170px; margin: 0 auto 10px; color: var(--ink); }
.receipt__head p { margin: 0; font-size: 0.82rem; color: var(--ink-soft); }
.receipt__lines { list-style: none; margin: 0; padding: 14px 0 6px; }
.receipt__lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 6px 0; }
.receipt__lines .rq { display: inline-flex; align-items: center; gap: 4px; }
.receipt__lines .rq button { width: 34px; height: 34px; border-radius: 8px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 700 1.1rem/1 var(--sc-font-mono); cursor: pointer; }
.receipt__lines .rq button:hover { background: var(--ink); color: var(--paper-hi); }
.receipt__lines .rq output { min-width: 2ch; text-align: center; font-weight: 700; }
.receipt__lines .rp { font-variant-numeric: tabular-nums; min-width: 7ch; text-align: right; }
.receipt__lines li.is-suggest { color: var(--ink-soft); }
.receipt__empty { margin: 10px 0; color: var(--ink-soft); }
.receipt__sum { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1.5px dashed var(--ink); font-weight: 700; font-size: 1.2rem; }
.receipt__note { margin: 0 0 8px; font-size: 0.8rem; color: var(--ink-soft); }
.receipt .btn { margin-top: 10px; font-family: var(--sc-font-text); }
.receipt__thanks { margin: 16px 0 0; text-align: center; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }

.settle__last { text-align: center; font-size: clamp(3.6rem, 1rem + 10vw, 13rem); padding: clamp(5rem, 14vh, 10rem) var(--sc-gutter) clamp(3rem, 8vh, 5rem); }
.foot { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: end; padding-block: 2.5rem 3rem; border-top: 2px solid var(--ink); }
.foot__logo { width: 190px; color: var(--ink); }
.foot__cols { display: flex; flex-wrap: wrap; gap: 0.6rem 2.4rem; }
.foot__cols p { margin: 0; font-size: 0.92rem; }
.foot__cols a { font-weight: 700; }
.foot__small { color: var(--ink-soft); max-width: 46ch; }
.foot__small a { color: var(--ink); }
.foot__brew { width: 150px; color: var(--ink); }

/* ============================================================ phones === */
@media (max-width: 900px) {
  :root { --bar-h: 58px; }
  .bar__link { display: none; }
  .tab { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 95; }
  .tab__toggle { width: 100%; min-height: 54px; justify-content: space-between; background: var(--ink); color: var(--paper-hi); border-color: var(--ink); box-shadow: 0 10px 24px -10px rgba(0,0,0,.55); }
  .tab__toggle-n { color: #CFC8BB; margin-right: auto; }
  .tab__paper { top: auto; bottom: calc(100% + 10px); left: 0; right: 0; width: auto; rotate: 0deg; transform-origin: 50% 100%; clip-path: inset(100% 0 0 0); }
  .tab.is-open .tab__paper { clip-path: inset(0 0 -10% 0); }
  .tab__lines { max-height: 38vh; }
  body { padding-bottom: 76px; }

  .hero { --counter: 27vh; min-height: 560px; }
  .hero__logo { top: calc(var(--bar-h) + 3vh); width: 88vw; }
  .hero__keeper { left: 1vw; height: 40vh; transform: translate3d(0, calc(var(--t) * 30vh + 19vh), 0); }
  .hero__bottles { right: 4vw; height: 38vh; }
  .tab { transition: transform 300ms var(--sc-ease-out), opacity 300ms var(--sc-ease-out); }
  .tab.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .hero__front { flex-direction: column; align-items: flex-start; justify-content: center; gap: 1rem; }
  .hero__lede { font-size: 1.15rem; max-width: 24ch; }

  .stand__q { top: calc(var(--bar-h) + 3vh); max-width: none; right: clamp(1rem, 4.4vw, 4.5rem); }
  .stand__qline { font-size: clamp(3rem, 13vw, 4.6rem); }
  .stand__hush { top: 36%; }
  .stand__keeper { left: 68%; height: 72%; }
  .stand__after { width: auto; right: clamp(1rem, 4.4vw, 4.5rem); top: calc(var(--bar-h) + 3vh); }
  .stand__h { font-size: clamp(3.2rem, 14vw, 5.4rem); }
  .stand__sub { max-width: 20ch; font-size: 1.05rem; }

  .beer, .beer--xpa, .beer--lager { grid-template-columns: 1fr; min-height: 0; }
  .beer__label { display: none; }
  .beer__photo { min-height: 0; height: 70vh; }
  .beer--lager .beer__photo { order: -1; }
  .beer--lager .beer__copy { justify-self: stretch; }
  .beer__copy { padding: 2.4rem clamp(1.25rem, 5vw, 2rem) 3.4rem; }
  .spec div { grid-template-columns: 6.2rem 1fr; }
  .mixed { grid-template-columns: 1fr; }
  .mixed__photo { aspect-ratio: 4 / 4.2; }

  .mats { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw 2vw; padding: 2rem 4vw 1rem; }
  .mat { position: relative; left: auto !important; top: auto !important; width: auto; }
  .mat:nth-child(odd) { translate: 0 6vw; }
  .mat--e { grid-column: 1 / 3; width: 50%; justify-self: center; }
  .proof__grid { grid-template-columns: 1fr; }
  .quote, .pitch, .van { grid-column: 1; }
  .van { grid-template-columns: 1fr; }

  .tribe__grid { grid-template-columns: 1fr 1fr; }
  .tribe__copy { grid-column: 1 / 3; grid-row: auto; padding: 0; }
  .tribe__ph--field { grid-column: 1; grid-row: auto; margin-top: 0; }
  .tribe__ph--pour { grid-column: 2; grid-row: auto; aspect-ratio: 482 / 900; }
  .tribe__ph--tote { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 4 / 3.4; }
  .merch { grid-template-columns: 1fr; }
  .buy .btn { flex: 1 1 auto; }

  .settle__grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .hero__lede { font-size: 1.05rem; }
  .hero .btn { min-height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__wall, .hero__keeper, .hero__bottles { transform: none !important; }
  .hero__keeper { transform: translateY(30vh) !important; }
  .receipt__paper { transition-duration: 1ms; }
  .tab.is-bump .tab__toggle { animation: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 900px) {
  .hero__keeper { transform: translateY(19vh) !important; }
}
