/* ==========================================================================
   2 Sherpas Brewing Co. Design system and homepage styles
   Concept: an expedition poster at dusk. Mountain-black ground, amber light,
   cream paper, terracotta for heat. Prayer flags and contour lines are the
   two brand devices.
   ========================================================================== */

:root {
  /* Colour */
  --basalt: #15120F;        /* mountain black, main background */
  --basalt-2: #1D1915;      /* raised surfaces */
  --basalt-3: #2A251F;      /* borders, inputs */
  --cream: #F4ECDD;         /* paper, light sections */
  --cream-2: #E8DCC5;       /* card backs on cream */
  --amber: #E7A33E;         /* primary action, highlights */
  --amber-hi: #F5C773;
  --amber-deep: #8F5A12;
  --terracotta: #C4532F;    /* heat, sale, alerts */
  --text: #F4ECDD;          /* body on dark */
  --text-muted: #B3A690;    /* 7.8:1 on basalt */
  --ink: #15120F;           /* body on cream */
  --ink-muted: #5C5043;     /* 6.7:1 on cream */
  --line: rgba(244, 236, 221, .12);
  --line-ink: rgba(21, 18, 15, .14);

  /* Prayer flag colours (brand device only) */
  --flag-blue: #3D6FA8;
  --flag-white: #F4ECDD;
  --flag-red: #C4532F;
  --flag-green: #3F7B52;
  --flag-yellow: #E7A33E;

  /* Type */
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(78px, 11.5vw, 184px);
  --fs-h2: clamp(46px, 6.6vw, 104px);
  --fs-h3: clamp(30px, 3vw, 44px);
  --fs-lead: clamp(18px, 1.5vw, 21px);
  --fs-body: 17px;
  --fs-small: 14px;

  /* Space (8pt scale) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
  --section: clamp(88px, 11vw, 160px);
  --max: 1320px;
  --gutter: clamp(16px, 4vw, 56px);

  /* Shape and motion */
  --r-sm: 10px; --r-md: 18px; --r-lg: 28px; --r-pill: 999px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .75);
  color-scheme: dark;
}

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { background: var(--basalt); color: var(--text); font: 400 var(--fs-body)/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber); color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }

/* Type -------------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: .005em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: .95; }
.amber { color: var(--amber); }
.lead { font-size: var(--fs-lead); color: var(--text-muted); max-width: 52ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; color: var(--amber); margin-bottom: var(--s3); }
.eyebrow svg { width: 22px; height: 22px; }
.on-cream .lead { color: var(--ink-muted); }
.on-cream .eyebrow { color: var(--amber-deep); }

/* Buttons ------------------------------------------------------------------ */
.btn { white-space: nowrap; --bg: var(--amber); --fg: var(--ink); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border: 1.5px solid var(--bg); border-radius: var(--r-pill); background: var(--bg); color: var(--fg); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--amber-hi); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(231, 163, 62, .75); }
.btn:hover::before { transform: none; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-ghost { --bg: transparent; --fg: var(--text); border-color: rgba(244, 236, 221, .4); }
.btn-ghost::before { background: var(--cream); }
.btn-ghost:hover { color: var(--ink); border-color: var(--cream); box-shadow: none; }
.btn-dark { --bg: var(--ink); --fg: var(--cream); }
.btn-dark::before { background: var(--basalt-3); }
.btn-dark:hover { box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .6); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--amber); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 3px; transition: background-size .4s var(--ease); }
.link:hover { background-size: 100% 2px; }

/* Prayer flags ------------------------------------------------------------- */
.flags { position: relative; height: 46px; overflow: hidden; pointer-events: none; }
.flags svg { width: 100%; height: 100%; }
.flags .flag { transform-box: fill-box; transform-origin: 50% 0; animation: sway 3.8s ease-in-out infinite; }
.flags .flag:nth-child(2n) { animation-delay: -1.3s; animation-duration: 4.6s; }
.flags .flag:nth-child(3n) { animation-delay: -2.6s; }
@keyframes sway { 50% { transform: rotate(8deg) skewX(-5deg); } }

/* Age gate ----------------------------------------------------------------- */
.gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(21, 18, 15, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.gate[hidden] { display: none; }
.gate-card { position: relative; width: min(100%, 480px); background: var(--basalt-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px clamp(24px, 5vw, 44px) 36px; text-align: center; box-shadow: var(--shadow); overflow: hidden; animation: pop .6s var(--ease); }
.gate-card::before { content: ""; position: absolute; inset: 0; background: url("../img/contours.svg") center / 900px; opacity: .08; pointer-events: none; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.gate-card > * { position: relative; }
.gate-card img { height: 84px; width: auto; margin: 0 auto 24px; }
.gate-card h2 { font-size: clamp(44px, 8vw, 64px); }
.gate-card p { color: var(--text-muted); margin: 12px auto 28px; max-width: 34ch; }
.gate-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gate-msg { margin-top: 18px; font-size: 14px; color: var(--amber-hi); min-height: 1.4em; }
.gate-note { margin-top: 6px; font-size: 13px; color: var(--text-muted); }

/* Header ------------------------------------------------------------------- */
.header { position: fixed; inset: 0 0 auto; z-index: 60; padding-top: env(safe-area-inset-top, 0px); transition: background .4s, border-color .4s, transform .45s var(--ease); border-bottom: 1px solid transparent; }
.header.scrolled { background: rgba(21, 18, 15, .86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.header.away { transform: translateY(-105%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand img { height: 48px; width: auto; }
.menu { display: flex; gap: 34px; list-style: none; }
.menu a { position: relative; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--text-muted); transition: color .25s; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.menu a:hover, .solid-head .header { background: rgba(21, 18, 15, .95); border-bottom-color: var(--line); }
.menu a.active { color: var(--text); }
.menu a:hover::after, .menu a.active::after { transform: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn, .cart-btn:hover, .cart-btn:focus, .cart-btn:focus-visible { text-decoration: none !important; }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: rgba(244, 236, 221, .05); cursor: pointer; font-weight: 600; font-size: 15px; transition: border-color .25s; }
.cart-btn:hover { border-color: var(--amber); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--amber); color: var(--ink); font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; }
.cart-btn.bump .cart-count { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; min-height: max(700px, 100svh); display: flex; align-items: center; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse 70% 80% at 74% 48%, #2E8A5E 0%, #1A6644 32%, #0F4A31 62%, #0A3423 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/contours.svg") left center / 1400px auto no-repeat; opacity: .08; mix-blend-mode: screen; }
.hero-peaks { position: absolute; left: 0; right: 0; bottom: 0; height: 28%; z-index: -1; pointer-events: none; }
.hero-peaks svg { width: 100%; height: 100%; }
.hero-peaks .p1 { fill: #0C3B28; opacity: .85; }
.hero-peaks .p2 { fill: #082A1C; }
.hero .flags { position: absolute; top: calc(84px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 1; opacity: .9; }
.hero-inner { width: 100%; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding-top: 150px; padding-bottom: clamp(56px, 8vh, 96px); }
.hero-meta { border-top-color: rgba(244, 236, 221, .18) !important; color: #CFE3D6 !important; }
.award-chip { background: rgba(8, 42, 28, .55) !important; }
.can-stage { position: relative; justify-self: center; width: min(100%, 540px); aspect-ratio: 1; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.can-glow { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(245, 199, 115, .35), rgba(245, 199, 115, 0) 68%); }
.can-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 30s linear infinite; }
.can-ring circle { fill: none; stroke: rgba(245, 199, 115, .3); stroke-width: 1; stroke-dasharray: 2 7; }
.can-ring text { font: 700 15px var(--body); letter-spacing: .42em; fill: var(--amber-hi); }
.can { position: absolute; left: 50%; top: 50%; width: 34%; margin: 0; transition: transform 1s var(--ease), opacity 1s var(--ease), filter 1s var(--ease); will-change: transform; }
.can img { width: 100%; height: auto; filter: drop-shadow(0 34px 30px rgba(0, 0, 0, .55)); }
.can.pos-center { transform: translate(-50%, -52%) scale(1); z-index: 3; }
.can.pos-left { transform: translate(-128%, -46%) scale(.7) rotate(-8deg); z-index: 2; filter: brightness(.82); }
.can.pos-right { transform: translate(28%, -46%) scale(.7) rotate(8deg); z-index: 2; filter: brightness(.82); }
.can.pos-back { transform: translate(88%, -58%) scale(.7) rotate(10deg); z-index: 1; filter: brightness(.88); }
.can[data-name="Rock Jock Hazy IPA"] img { width: 126%; margin-left: -13%; }
.can[data-name="Rock Jock Hazy IPA"].pos-center { transform: translate(-50%, -52%) scale(1.05); }
.can[data-name="Rock Jock Hazy IPA"].pos-left { transform: translate(-128%, -46%) scale(.79) rotate(-8deg); }
.can[data-name="Rock Jock Hazy IPA"].pos-right { transform: translate(28%, -46%) scale(.79) rotate(8deg); }
.can[data-name="Rock Jock Hazy IPA"].pos-back { transform: translate(88%, -58%) scale(.79) rotate(10deg); }
.can.pos-center img { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.can-label { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 10px; white-space: nowrap; padding: 8px 16px; border-radius: var(--r-pill); background: rgba(8, 42, 28, .7); border: 1px solid rgba(245, 199, 115, .35); backdrop-filter: blur(6px); font-size: 14px; }
.can-label b { font: 800 19px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.can-label span { color: var(--amber-hi); font-weight: 600; }
.beer-motion { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(56px, 8vw, 104px); background: radial-gradient(ellipse 75% 110% at 82% 45%, #1A6644 0%, #0F4A31 58%, #0A3423 100%); }
.beer-motion::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/contours.svg") left center / 1200px auto no-repeat; opacity: .08; mix-blend-mode: screen; }
.beer-motion-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.beer-motion-copy h2 { max-width: 9ch; margin-bottom: var(--s3); }
.beer-motion-copy .lead { max-width: 32ch; color: var(--cream); }
.beer-motion-copy .link { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s4); color: var(--amber-hi); }
.beer-motion-copy .link svg { width: 20px; height: 20px; }
.beer-motion .can-stage { width: min(100%, 540px); }
.beer-motion .can-label { bottom: 0; }
.beer-motion .can { width: 34%; }
.award-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: var(--r-pill); background: rgba(21, 18, 15, .6); border: 1px solid rgba(231, 163, 62, .45); font-size: 14px; font-weight: 600; color: var(--amber-hi); text-decoration: none; backdrop-filter: blur(6px); margin-bottom: var(--s4); transition: border-color .25s; }
.award-chip:hover { border-color: var(--amber); }
.award-chip b { width: 28px; height: 28px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.hero h1 { font-size: var(--fs-hero); font-weight: 900; line-height: .84; letter-spacing: -.005em; max-width: 9ch; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; color: var(--amber); }
@keyframes rise { to { transform: none; } }
.hero-sub { margin-top: var(--s4); font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; max-width: 30ch; color: var(--cream); opacity: 0; animation: fade 1s var(--ease) .5s forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s5); opacity: 0; animation: fade 1s var(--ease) .7s forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid var(--line); color: var(--text-muted); font-size: 14.5px; max-width: 620px; opacity: 0; animation: fade 1s var(--ease) .9s forwards; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.scroll-ind { position: absolute; right: var(--gutter); bottom: clamp(56px, 8vh, 96px); display: grid; justify-items: center; gap: 12px; color: var(--text-muted); font-size: 13px; text-decoration: none; writing-mode: vertical-rl; }
.scroll-ind i { width: 2px; height: 64px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.scroll-ind i::after { content: ""; position: absolute; inset: 0; background: var(--amber); animation: scrolldot 2s var(--ease) infinite; }
@keyframes scrolldot { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(100%); } }

/* Marquee ------------------------------------------------------------------ */
.ticker { background: var(--amber); color: var(--ink); overflow: hidden; border-block: 1px solid var(--amber-deep); }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 28px; padding: 16px 14px; font: 800 clamp(20px, 2.2vw, 28px)/1 var(--display); text-transform: uppercase; white-space: nowrap; }
.ticker span::after { content: ""; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 13px solid var(--ink); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Reveal ------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Story strip -------------------------------------------------------------- */
.story { padding-block: var(--section); position: relative; }
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.story h2 { margin-bottom: var(--s4); }
.story .lead + .lead { margin-top: var(--s2); }
.story-points { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin: var(--s5) 0; }
.story-points div { border-top: 1px solid var(--line); padding-top: 14px; }
.story-points b { display: block; font: 800 26px/1 var(--display); text-transform: uppercase; color: var(--cream); margin-bottom: 6px; }
.story-points span { color: var(--text-muted); font-size: 15px; }
.story-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.play { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer; font-weight: 700; color: var(--cream); }
.play i { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--amber); display: grid; place-items: center; transition: background .3s, transform .3s var(--ease); }
.play i::after { content: ""; border-left: 12px solid var(--amber); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; transition: border-color .3s; }
.play:hover i { background: var(--amber); transform: scale(1.06); }
.play:hover i::after { border-left-color: var(--ink); }
.collage { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 14px; aspect-ratio: 1 / 1.02; }
.collage figure { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--basalt-2); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collage figure:hover img { transform: scale(1.05); }
.collage .c1 { grid-column: 1 / 5; grid-row: 1 / 5; }
.collage .c2 { grid-column: 5 / 7; grid-row: 1 / 4; }
.collage .c3 { grid-column: 5 / 7; grid-row: 4 / 7; }
.collage .c4 { grid-column: 1 / 5; grid-row: 5 / 7; }
.collage figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(21, 18, 15, .75); font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.alt-stamp { position: absolute; right: -14px; top: 38%; z-index: 2; width: 128px; height: 128px; border-radius: 50%; background: var(--terracotta); color: var(--cream); display: grid; place-items: center; text-align: center; box-shadow: var(--shadow); }
.alt-stamp svg { position: absolute; inset: 0; animation: spin 24s linear infinite; }
.alt-stamp text { font: 700 10px var(--body); letter-spacing: .28em; fill: var(--cream); }
.alt-stamp b { font: 900 30px/1 var(--display); }
.alt-stamp small { display: block; font-size: 11px; font-weight: 600; margin-top: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.full-story { margin-top: var(--s5); border-top: 1px solid var(--line); }
.full-story summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font: 800 26px/1 var(--display); text-transform: uppercase; }
.full-story summary::-webkit-details-marker { display: none; }
.full-story summary i { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: transform .4s var(--ease), background .3s; }
.full-story summary i::before, .full-story summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--amber); transform: translate(-50%, -50%); }
.full-story summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.full-story[open] summary i { background: var(--basalt-2); }
.full-story[open] summary i::after { transform: translate(-50%, -50%); }
.story-body { columns: 2 320px; column-gap: 56px; padding-bottom: 32px; color: var(--text-muted); }
.story-body p { margin-bottom: 14px; break-inside: avoid; }
.story-body strong { color: var(--cream); font-weight: 600; }

/* Beers -------------------------------------------------------------------- */
.beers { background: var(--cream); color: var(--ink); padding-block: var(--section); position: relative; overflow: hidden; }
.beers::before { content: ""; position: absolute; inset: 0; background: url("../img/contours.svg") right top / 1400px auto no-repeat; opacity: .12; filter: saturate(.6) brightness(.6); pointer-events: none; }
.beers > .wrap { position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: var(--s6); }
.section-head > div { max-width: 720px; }
.section-head h2 + .lead { margin-top: var(--s3); }
.filters { display: inline-flex; gap: 6px; padding: 6px; border-radius: var(--r-pill); background: var(--cream-2); }
.filters button { min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); border: 0; background: none; font-weight: 700; font-size: 15px; color: var(--ink-muted); cursor: pointer; transition: background .3s, color .3s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.filters button span { font-weight: 500; opacity: .7; margin-left: 4px; }
.beer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.reviews { padding-block: var(--section); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { padding: 28px; border: 1px solid var(--line-ink); border-radius: 18px; background: var(--cream); }
.review-stars { color: var(--amber-deep); letter-spacing: .12em; }
.review-card blockquote { margin: 16px 0 20px; color: var(--ink-muted); font-size: var(--fs-lead); }
.review-name { margin: 0; font-weight: 700; color: var(--ink); }
@media (max-width: 640px) { .review-grid { grid-template-columns: 1fr; } }
.beer-card { --c: var(--amber); position: relative; display: flex; flex-direction: column; background: #FBF7EF; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-ink); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.beer-card:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -34px rgba(21, 18, 15, .55); }
.beer-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: radial-gradient(circle at 50% 62%, #fff, #EFE6D4 72%); }
.beer-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.beer-media.keg img { object-fit: contain; padding: 22px; mix-blend-mode: multiply; }
.beer-media.rock-jock-can img { object-fit: contain; mix-blend-mode: multiply; }
.beer-card:hover .beer-media img { transform: scale(1.06); }
.beer-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--c); }
.badges { position: absolute; left: 14px; top: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.badge { padding: 6px 11px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700; background: rgba(21, 18, 15, .82); color: var(--cream); backdrop-filter: blur(6px); }
.badge.hot { background: var(--terracotta); }
.badge.gold { background: var(--amber); color: var(--ink); }
.quick-add { position: absolute; right: 14px; bottom: 18px; z-index: 1; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ink); color: var(--cream); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transform: translateY(12px) scale(.9); opacity: 0; transition: all .4s var(--ease); }
.quick-add svg { width: 22px; height: 22px; }
.beer-card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
.quick-add:hover { background: var(--amber); color: var(--ink); }
.beer-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 26px; flex: 1; }
.beer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.beer-card h3 { font-size: 34px; }
.abv { flex: none; display: grid; justify-items: center; min-width: 64px; padding: 8px 10px; border-radius: var(--r-sm); background: var(--ink); color: var(--cream); line-height: 1; }
.abv b { font: 900 24px/1 var(--display); }
.abv small { font-size: 10.5px; font-weight: 600; opacity: .75; margin-top: 3px; }
.beer-fmt { font-size: 14px; color: var(--ink-muted); font-weight: 600; }
.beer-card p { color: var(--ink-muted); font-size: 15.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: var(--r-pill); background: var(--cream-2); color: #3E352B; }
.beer-buy { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-ink); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px 12px; }
.beer-buy .beer-actions { grid-column: 1 / -1; }
.beer-buy .add-btn { flex: 1; }
.qty-pick { display: inline-flex; align-items: center; border: 1.5px solid var(--line-ink); border-radius: var(--r-pill); background: #fff; padding: 3px; }
.qty-pick button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--ink); font-size: 19px; line-height: 1; cursor: pointer; transition: background .2s; }
.qty-pick button:hover { background: var(--cream-2); }
.qty-pick input { width: 34px; border: 0; background: none; text-align: center; font: 700 16px var(--body); color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.qty-pick input::-webkit-outer-spin-button, .qty-pick input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-pick input:focus { outline: none; }
.qty-pick:focus-within { border-color: var(--ink); }
.price { font: 900 34px/1 var(--display); }
.price small { display: block; font: 500 12px var(--body); color: var(--ink-muted); margin-top: 4px; }
.beer-actions { display: flex; gap: 8px; align-items: center; }
.view-link { font-size: 14px; font-weight: 700; color: var(--ink-muted); text-decoration: none; padding: 10px 6px; }
.view-link:hover { color: var(--ink); text-decoration: underline; }
.add-btn.added { --bg: #2F6B45; --fg: var(--cream); }
.delivery-note { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: var(--s5); padding: 18px 24px; border-radius: var(--r-md); background: var(--ink); color: var(--cream); font-weight: 600; text-align: center; }
.delivery-note svg { width: 24px; height: 24px; color: var(--amber); flex: none; }
.delivery-note a { color: var(--amber-hi); }

/* Why 2 Sherpas ------------------------------------------------------------ */
.why { padding-block: var(--section); position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; background: url("../img/contours.svg") center / 1600px auto; opacity: .05; }
.why .wrap { position: relative; }
.why-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: var(--s6); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillar { position: relative; padding: 36px 28px 8px 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar .ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--basalt-2); border: 1px solid var(--line); color: var(--amber); margin-bottom: 26px; transition: transform .5s var(--ease), background .4s, color .4s; }
.pillar:hover .ico { transform: translateY(-6px) rotate(-6deg); background: var(--amber); color: var(--ink); }
.pillar .ico svg { width: 30px; height: 30px; }
.pillar h3 { font-size: 30px; margin-bottom: 10px; }
.pillar p { color: var(--text-muted); font-size: 15.5px; max-width: 30ch; }

/* Pairing ------------------------------------------------------------------ */
.pairing { background: var(--basalt-2); padding-block: var(--section); position: relative; overflow: hidden; }
.pairing .wrap { position: relative; }
.heat-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 var(--s6); }
.heat-why div { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r-md); background: var(--basalt); border: 1px solid var(--line); }
.heat-why svg { width: 28px; height: 28px; flex: none; color: var(--terracotta); }
.heat-why b { display: block; font-weight: 700; color: var(--cream); }
.heat-why span { font-size: 14.5px; color: var(--text-muted); }
.menu-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.menu-card { position: relative; background: var(--cream); color: var(--ink); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.menu-card:hover { transform: translateY(-6px) rotate(-.4deg); }
.menu-card .head { position: relative; height: 210px; overflow: hidden; }
.menu-card .head img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.menu-card:hover .head img { transform: scale(1.06); }
.menu-card .head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21, 18, 15, .85), rgba(21, 18, 15, 0) 60%); }
.menu-card .head h3 { position: absolute; left: 22px; bottom: 18px; z-index: 1; color: var(--cream); font-size: 38px; }
.menu-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.menu-card .note { font-size: 15px; color: var(--ink-muted); }
.dishes { list-style: none; border-top: 1.5px dashed rgba(21, 18, 15, .25); }
.dishes li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1.5px dashed rgba(21, 18, 15, .25); font-weight: 600; }
.dishes li small { font-weight: 500; color: var(--ink-muted); font-size: 13px; }
.chilli { display: inline-flex; gap: 2px; color: var(--terracotta); flex: none; }
.chilli svg { width: 14px; height: 14px; }
.also { font-size: 14px; color: var(--ink-muted); }
.also b { color: var(--ink); }
.menu-card .btn { align-self: flex-start; margin-top: auto; }

/* Social proof ------------------------------------------------------------- */
.proof { padding-block: var(--section); }
.proof-grid { display: grid; grid-template-columns: minmax(0, 720px); justify-content: center; }
.quote-panel { position: relative; padding: clamp(32px, 4vw, 56px); border-radius: var(--r-lg); background: var(--amber); color: var(--ink); overflow: hidden; display: flex; flex-direction: column; min-height: 420px; }
.quote-panel::before { content: "\201C"; position: absolute; right: 24px; top: -40px; font: 900 300px/1 var(--display); color: rgba(21, 18, 15, .12); }
.stars { display: flex; gap: 4px; color: var(--ink); margin-bottom: 22px; }
.stars svg { width: 22px; height: 22px; }
.quotes { position: relative; flex: 1; display: grid; }
.quote { grid-area: 1 / 1; opacity: 0; transform: translateX(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); visibility: hidden; }
.quote.on { opacity: 1; transform: none; visibility: visible; }
.quote blockquote { font: 800 clamp(30px, 3.4vw, 48px)/1.02 var(--display); text-transform: uppercase; text-wrap: balance; }
.quote figcaption { margin-top: 26px; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.quote figcaption i { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--amber); display: grid; place-items: center; font: 900 20px var(--display); font-style: normal; }
.quote figcaption small { display: block; font-weight: 500; opacity: .75; }
.q-nav { display: flex; gap: 10px; margin-top: 28px; }
.q-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s; color: var(--ink); }
.q-nav button:hover { background: var(--ink); color: var(--amber); }
.q-nav svg { width: 20px; height: 20px; }
.gram-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin: var(--s7) 0 var(--s4); }
.gram-head h3 { font-size: clamp(36px, 4vw, 56px); }
.gram-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gram-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); background: var(--basalt-2); }
.gram-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.gram-grid a::after { content: ""; position: absolute; inset: 0; background: rgba(21, 18, 15, .45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4ECDD' stroke-width='1.8'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='%23F4ECDD'/%3E%3C/svg%3E") center / 34px no-repeat; opacity: 0; transition: opacity .35s; }
.gram-grid a:hover img { transform: scale(1.08); }
.gram-grid a:hover::after, .gram-grid a:focus-visible::after { opacity: 1; }

/* Stories ------------------------------------------------------------------ */
.stories { background: var(--cream); color: var(--ink); padding-block: var(--section); }
.story-cards { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 28px; }
.story-card { display: grid; gap: 16px; text-decoration: none; align-content: start; }
.story-card .img { overflow: hidden; border-radius: var(--r-lg); background: var(--cream-2); aspect-ratio: 3 / 2; }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.story-card:hover img { transform: scale(1.05); }
.story-card .meta { display: flex; gap: 14px; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.story-card .meta b { color: var(--terracotta); }
.story-card h3 { font-size: clamp(28px, 2.6vw, 38px); transition: color .3s; }
.story-card:hover h3 { color: var(--amber-deep); }
.story-card p { color: var(--ink-muted); max-width: 54ch; }
.story-card.feature { grid-row: span 2; }
.story-card.feature .img { aspect-ratio: 4 / 3.4; }
.story-card.feature h3 { font-size: clamp(36px, 3.6vw, 56px); }
.story-card.small { grid-template-columns: 200px 1fr; align-items: center; gap: 22px; }
.story-card.small .img { aspect-ratio: 1; }
.story-card.small h3 { font-size: 28px; }

/* Community ---------------------------------------------------------------- */
.community { position: relative; padding-block: var(--section); overflow: hidden; isolation: isolate; }
.community::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/contours.svg") center / 1500px auto; opacity: .06; }
.community::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 78% 55%, rgba(231, 163, 62, .2), transparent 55%); }
.community .flags { position: absolute; top: 0; left: 0; right: 0; }
.community-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.community h2 { font-size: clamp(54px, 8vw, 128px); }
.signup { display: flex; gap: 10px; margin-top: var(--s5); max-width: 560px; padding: 8px; border-radius: var(--r-pill); background: rgba(244, 236, 221, .06); border: 1px solid var(--line); }
.signup input { flex: 1; min-width: 0; min-height: 52px; padding: 0 18px; border: 0; background: none; font-size: 16px; color: var(--cream); }
.signup input::placeholder { color: var(--text-muted); }
.signup input:focus { outline: none; }
.signup:focus-within { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(231, 163, 62, .15); }
.form-msg { margin-top: 14px; font-size: 15px; min-height: 1.5em; color: var(--amber-hi); }
.form-msg.err { color: #F2A48C; }
.perks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: var(--s3); color: var(--text-muted); font-size: 14.5px; }
.perks span { display: inline-flex; align-items: center; gap: 8px; }
.perks svg { width: 18px; height: 18px; color: var(--amber); }
.community-can { justify-self: center; position: relative; }
.community-can img { width: min(260px, 60vw); filter: drop-shadow(0 50px 50px rgba(0, 0, 0, .7)); animation: float 6s ease-in-out infinite; }
.community-can::before { content: ""; position: absolute; left: 50%; top: 50%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(231, 163, 62, .35); animation: spin 40s linear infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-2deg); } }

/* Find us ------------------------------------------------------------------ */
.find { background: var(--basalt-2); padding-block: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); }
.find-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.find h2 { font-size: clamp(48px, 6vw, 88px); margin-bottom: var(--s3); }
.find dl { display: grid; gap: 22px; margin: var(--s5) 0 var(--s4); }
.find dt { font-size: 14px; font-weight: 600; color: var(--amber); margin-bottom: 4px; }
.find dd { font-size: 19px; }
.find dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.find dd a:hover { border-color: var(--amber); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--basalt); border: 1px solid var(--line); align-self: start; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form h3 { font-size: 34px; }
.field { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.field input, .field textarea { min-height: 52px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--basalt-3); background: var(--basalt-2); color: var(--cream); font-size: 16px; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(231, 163, 62, .14); }
.hp { position: absolute; left: -9999px; }

/* Footer: Nepal skyline, matches 2sherpas.com.au ------------------------- */
.footer { --mint: #B0FFD6; --fgreen: #085232; background: var(--fgreen); color: #fff; }
.foot-sky { height: clamp(150px, 26vw, 400px); background: url("../img/footer-bg.webp") center bottom / cover no-repeat; }
.foot-body { background: linear-gradient(180deg, #085232, #084D2D 70%); padding-bottom: env(safe-area-inset-bottom, 0px); }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: clamp(24px, 3vw, 44px); }
.footer h4 { font: 600 16px/1.3 var(--body); letter-spacing: .12em; color: #fff; margin-bottom: 16px; }
.footer address, .footer li, .footer li a { font-style: normal; font-size: 15.5px; font-weight: 600; letter-spacing: .1em; line-height: 1.55; color: var(--mint); text-decoration: none; }
.footer ul { list-style: none; display: grid; gap: 6px; }
.footer li a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 14px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--mint); border: 1px solid rgba(176, 255, 214, .35); transition: background .3s, color .3s; }
.socials a:hover { background: var(--mint); color: var(--fgreen); }
.socials svg { width: 22px; height: 22px; }
.foot-heritage { display: block; width: 100%; height: auto; margin-top: clamp(20px, 3vw, 40px); }
.foot-legal { background: #073F25; border-top: 1px solid rgba(176, 255, 214, .15); padding: 18px 0; font-size: 13.5px; color: #CFEFDF; }
.foot-legal .wrap { display: flex; justify-content: space-between; align-items: center; gap: 10px 32px; flex-wrap: wrap; }
.foot-legal p { max-width: 80ch; }
.foot-legal b { color: #fff; }
.foot-legal a { color: var(--mint); }
.foot-legal .legal { white-space: nowrap; }

/* Cart drawer -------------------------------------------------------------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(21, 18, 15, .6); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--cream); color: var(--ink); transform: translateX(100%); transition: transform .5s var(--ease); padding-top: env(safe-area-inset-top, 0px); }
.drawer.on { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line-ink); }
.drawer-head h2 { font-size: 40px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-ink); background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: background .25s, transform .4s var(--ease); }
.icon-btn:hover { background: var(--cream-2); transform: rotate(90deg); }
.icon-btn svg { width: 20px; height: 20px; }
.ship-bar { padding: 14px 24px; background: var(--cream-2); font-size: 14px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.ship-bar svg { width: 20px; height: 20px; color: var(--amber-deep); flex: none; }
.cart-items { flex: 1; overflow-y: auto; padding: 4px 24px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-ink); }
.cart-item img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: #fff; }
.cart-item h4 { font: 800 22px/1 var(--display); text-transform: uppercase; }
.cart-item small { color: var(--ink-muted); font-size: 13px; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; border: 1px solid var(--line-ink); border-radius: var(--r-pill); padding: 2px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--ink); line-height: 1; }
.qty button:hover { background: var(--cream-2); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.line-total { font: 800 22px var(--display); }
.cart-empty { padding: 56px 8px; text-align: center; color: var(--ink-muted); }
.cart-empty svg { width: 54px; height: 54px; margin: 0 auto 16px; color: var(--amber-deep); }
.drawer-foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-ink); display: grid; gap: 12px; }
.drawer-totals { display: grid; gap: 8px; }
.drawer-totals > div { display: flex; justify-content: space-between; align-items: baseline; color: var(--ink-muted); font-size: 14px; }
.drawer-totals b { color: var(--ink); font-weight: 700; }
.drawer-totals small { font-size: 11px; font-weight: 500; }
.drawer-totals .drawer-total { padding-top: 10px; border-top: 1px solid var(--line-ink); color: var(--ink); font-weight: 700; }
.drawer-totals .drawer-total b { font: 900 30px var(--display); }
.drawer-totals .gst-included { font-size: 13px; }
.drawer-foot .btn { width: 100%; }
.drawer-foot small { text-align: center; color: var(--ink-muted); font-size: 12.5px; }

/* Mobile cart bar, toast, film --------------------------------------------- */
.cart-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: var(--r-pill); background: var(--ink); border: 1px solid var(--basalt-3); box-shadow: var(--shadow); transform: translateY(150%); transition: transform .5s var(--ease); }
.cart-bar.on { transform: none; }
.cart-bar span { font-weight: 600; font-size: 15px; }
.cart-bar b { color: var(--amber); }
.toast { position: fixed; left: 50%; top: calc(96px + env(safe-area-inset-top, 0px)); z-index: 95; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: var(--r-pill); background: var(--cream); color: var(--ink); box-shadow: var(--shadow); transform: translate(-50%, -20px); opacity: 0; pointer-events: none; transition: all .45s var(--ease); max-width: calc(100% - 32px); }
.toast.on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.toast span { font-weight: 600; font-size: 14.5px; flex: 1; }
.toast button { border: 0; background: var(--ink); color: var(--cream); border-radius: var(--r-pill); padding: 8px 14px; font-weight: 700; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.film { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 24px; background: rgba(21, 18, 15, .92); }
.film[hidden] { display: none; }
.film-box { width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #000; }
.film-box iframe { width: 100%; height: 100%; border: 0; }
.film .icon-btn { position: absolute; top: calc(20px + env(safe-area-inset-top, 0px)); right: 20px; color: var(--cream); border-color: var(--line); }
.film .icon-btn:hover { background: var(--basalt-3); }

/* Responsive --------------------------------------------------------------- */
.swipe-hint { display: none; align-items: center; gap: 8px; margin: -12px 0 14px; font-size: 13.5px; font-weight: 600; color: var(--text-muted); }
.swipe-hint svg { width: 16px; height: 16px; color: var(--amber); }
.mobile-badge { display: none; }
.beer-card h3 a { text-decoration: none; }
.beer-card h3 a:hover { color: var(--amber-deep); }

@media (max-width: 1100px) {
  .beer-grid, .menu-cards { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .gram-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  /* Header: always visible on touch screens, menu drops down from it */
  .header, .header.away { transform: none; }
  .header.scrolled, .header.menu-open { background: rgba(21, 18, 15, .97); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: var(--line); }
  .menu { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 0; height: calc(100svh - 100%); overflow-y: auto; padding: 12px var(--gutter) 40px; background: var(--basalt); border-top: 1px solid var(--line); }
  .menu.open { display: flex; animation: fade .35s var(--ease); }
  .menu li { border-bottom: 1px solid var(--line); }
  .menu a { display: block; padding: 18px 0; font: 800 36px/1 var(--display); text-transform: uppercase; color: var(--cream); }
  .menu a::after { display: none; }
  .menu-btn { display: grid; }
  .story-grid, .why-head, .proof-grid, .community-grid, .find-grid { grid-template-columns: 1fr; }
  .why-head { gap: 16px; }
  .heat-why { grid-template-columns: 1fr; }
  .story-cards { grid-template-columns: 1fr; }
  .story-card.feature { grid-row: auto; }
  .community-can { display: none; }
  .scroll-ind { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; }
  .beer-motion-inner { grid-template-columns: 1fr; text-align: center; }
  .beer-motion-copy h2, .beer-motion-copy .lead { margin-inline: auto; }
  .beer-motion .can-stage { width: min(100%, 440px); }
  .can-stage { width: min(100%, 440px); }
}

/* Phones ------------------------------------------------------------------ */
@media (max-width: 640px) {
  :root { --fs-body: 16px; --section: 64px; --fs-h2: clamp(40px, 11.5vw, 58px); --fs-hero: clamp(72px, 22vw, 104px); }
  .nav { height: 68px; gap: 12px; }
  .brand img { height: 40px; }
  .cart-btn { padding: 0 12px; }
  .cart-btn .cart-label { display: none; }
  .eyebrow { font-size: 14px; margin-bottom: 14px; }
  .lead { font-size: 17px; }
  .section-head { margin-bottom: 28px; gap: 18px; }
  .section-head h2 + .lead { margin-top: 14px; }
  .btn { min-height: 50px; padding: 0 22px; font-size: 15px; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero .flags { top: calc(68px + env(safe-area-inset-top, 0px)); height: 30px; }
  .hero-inner { padding-top: 124px; padding-bottom: 36px; }
  .award-chip { font-size: 13px; margin-bottom: 20px; }
  .chip-long { display: none; }
  .hero h1 { max-width: none; }
  .hero-sub { font-size: 18px; margin-top: 18px; }
  .hero-cta { margin-top: 28px; gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .can-stage { width: 100%; max-width: 360px; margin-top: 8px; }
  .can-ring text { font-size: 17px; }
  .can-label { font-size: 13px; padding: 7px 14px; }
  .can-label b { font-size: 17px; }
  .beer-motion { padding-block: 56px 42px; }
  .beer-motion .can-stage { width: 100%; max-width: 360px; margin-inline: auto; }
  .beer-motion .can-label { font-size: 13px; }
  .beer-motion .can-label b { font-size: 17px; }
  .hero-meta { margin-top: 28px; gap: 6px 18px; font-size: 13.5px; }
  .ticker span { padding: 12px 10px; gap: 20px; }

  /* Story */
  .story h2 { margin-bottom: 18px; }
  .story-points { grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 28px 0; }
  .story-points b { font-size: 21px; }
  .story-points span { font-size: 14px; }
  .story-grid { gap: 36px; }
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; gap: 10px; }
  .collage .c1 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .collage .c2, .collage .c3 { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
  .collage .c4 { display: none; }
  .collage figcaption { font-size: 12px; left: 8px; bottom: 8px; }
  .alt-stamp { width: 84px; height: 84px; right: 10px; top: 10px; }
  .alt-stamp b { font-size: 19px; }
  .alt-stamp small { font-size: 9.5px; }
  .alt-stamp text { font-size: 9px; }
  .full-story { margin-top: 32px; }
  .full-story summary { font-size: 22px; padding: 18px 0; }
  .story-body { columns: 1; }

  /* Beers: compact horizontal cards */
  .filters { width: 100%; }
  .filters button { flex: 1; padding: 0 10px; }
  .beer-grid { grid-template-columns: 1fr; gap: 12px; }
  .beer-card { display: grid; grid-template-columns: 116px 1fr; border-radius: var(--r-md); }
  .beer-card:hover { transform: none; box-shadow: none; }
  .beer-media { aspect-ratio: auto; height: 100%; min-height: 168px; }
  .beer-media.keg img { padding: 10px; }
  .beer-media::after { left: auto; top: 0; right: 0; width: 4px; height: auto; }
  .badges, .quick-add, .tags, .view-link { display: none; }
  .beer-body { padding: 14px 14px 14px 16px; gap: 6px; }
  .beer-top { gap: 8px; }
  .beer-card h3 { font-size: 24px; }
  .beer-card h3 a { text-decoration: none; }
  .beer-fmt { font-size: 12.5px; }
  .abv { min-width: 46px; padding: 6px 7px; border-radius: 8px; }
  .abv b { font-size: 18px; }
  .abv small { font-size: 9px; }
  .beer-card p { font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .beer-buy { padding-top: 10px; gap: 8px; grid-template-columns: minmax(0, 1fr) auto; }
  .beer-buy .price { grid-column: auto; }
  .beer-buy .beer-actions { grid-column: 1 / -1; }
  .beer-actions { gap: 8px; }
  .view-link { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34%; padding: 10px 4px; white-space: nowrap; text-decoration: none; }
  .beer-actions .add-btn { flex: 1 1 auto; min-width: 0; }
  .qty-pick { display: inline-flex; width: max-content; min-width: 132px; justify-content: space-between; padding: 3px; border: 1.5px solid var(--line-ink); border-radius: var(--r-pill); background: #fff; }
  .qty-pick button { flex: 0 0 34px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 18px; }
  .qty-pick input { flex: 0 0 32px; width: 32px; min-width: 0; height: 34px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); text-align: center; font: 700 16px var(--body); }
  .price { font-size: 34px; white-space: nowrap; }
  .price small { display: block; font: 500 12px/1.3 var(--body); color: var(--ink-muted); margin-top: 4px; }
  .add-btn { min-height: 40px; padding: 0 12px; font-size: 14px; white-space: nowrap; flex: 1; width: 100%; }
  .mobile-badge { display: inline-block; margin-top: 4px; font-size: 11.5px; font-weight: 700; color: var(--amber-deep); }
  .delivery-note { margin-top: 24px; padding: 16px; font-size: 14.5px; }

  /* Why: 2 x 2 tiles */
  .pillars { grid-template-columns: 1fr 1fr; gap: 10px; border-top: 0; }
  .pillar, .pillar + .pillar, .pillar:nth-child(n + 3) { padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--basalt-2); margin: 0; }
  .pillar .ico { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
  .pillar .ico svg { width: 24px; height: 24px; }
  .pillar h3 { font-size: 22px; margin-bottom: 6px; }
  .pillar p { font-size: 13.5px; line-height: 1.45; }

  /* Pairing: swipeable cards */
  .heat-why { gap: 8px; margin-bottom: 28px; }
  .heat-why div { padding: 14px; gap: 12px; }
  .heat-why svg { width: 24px; height: 24px; }
  .menu-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .menu-cards::-webkit-scrollbar { display: none; }
  .menu-card { flex: 0 0 84%; scroll-snap-align: start; }
  .menu-card:hover { transform: none; }
  .menu-card .head { height: 150px; }
  .menu-card .head h3 { font-size: 30px; left: 18px; bottom: 14px; }
  .menu-card .body { padding: 18px 18px 20px; gap: 12px; }
  .dishes li { padding: 10px 0; font-size: 15px; }
  .swipe-hint { display: flex; }

  /* Proof */
  .quote-panel { min-height: 0; padding: 26px 22px; }
  .quote-panel::before { font-size: 200px; top: -24px; }
  .quote blockquote { font-size: 27px; }
  .q-nav { margin-top: 20px; }
  .gram-head { margin: 48px 0 18px; }
  .gram-grid { gap: 6px; }

  /* Stories */
  .story-cards { gap: 22px; }
  .story-card.feature .img { aspect-ratio: 4 / 3; }
  .story-card.feature h3 { font-size: 32px; }
  .story-card.small { grid-template-columns: 104px 1fr; gap: 14px; }
  .story-card.small h3 { font-size: 21px; }
  .story-card.small p { display: none; }
  .story-card .meta { font-size: 13px; }

  /* Community, find us, footer */
  .community h2 { font-size: clamp(60px, 18vw, 84px); }
  .signup { flex-direction: column; border-radius: var(--r-lg); margin-top: 28px; }
  .signup .btn { width: 100%; }
  .perks { flex-direction: column; gap: 8px; }
  .find h2 { font-size: clamp(44px, 13vw, 60px); }
  .find dl { gap: 16px; margin: 28px 0 24px; }
  .find dd { font-size: 17px; }
  .find-grid { gap: 36px; }
  .contact-form { grid-template-columns: 1fr; padding: 20px; gap: 14px; }
  .contact-form h3 { font-size: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer h4 { font-size: 14px; margin-bottom: 10px; }
  .footer address, .footer li, .footer li a { font-size: 13.5px; letter-spacing: .06em; }
  .foot-legal .legal { white-space: normal; }

  /* Shopping chrome */
  .cart-bar { display: flex; }
  body.has-cart { padding-bottom: 84px; }
  .toast { left: 12px; right: 12px; top: calc(80px + env(safe-area-inset-top, 0px)); transform: translateY(-20px); }
  .toast.on { transform: none; }
  .drawer-head h2 { font-size: 34px; }
}
@media (max-width: 360px) {
  .beer-card { grid-template-columns: 96px 1fr; }
  .beer-card h3 { font-size: 22px; }
  .add-btn { padding: 0 12px; }
  .pillar h3 { font-size: 19px; }
  .hero-cta .btn { min-height: 48px; }
}

/* ==========================================================================
   Inner pages: shop, product, about, stories, contact, checkout
   ========================================================================== */
.menu a.active { color: var(--text); }
.menu a.active::after { transform: none; }

/* Page hero: same green ground and prayer flags as the homepage */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse 70% 90% at 78% 40%, #2E8A5E 0%, #1A6644 34%, #0F4A31 64%, #0A3423 100%); padding: calc(150px + env(safe-area-inset-top, 0px)) 0 clamp(90px, 10vw, 150px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/contours.svg") right center / 1400px auto no-repeat; opacity: .08; }
.page-hero .flags { position: absolute; top: calc(84px + env(safe-area-inset-top, 0px)); left: 0; right: 0; }
.page-hero .hero-peaks { height: 46%; }
.page-hero-inner { position: relative; }
.page-hero h1 { font-size: clamp(58px, 9vw, 140px); line-height: .86; max-width: 12ch; animation: fade 1s var(--ease) both; }
.page-hero .lead { color: #D9EADF; margin-top: var(--s3); max-width: 56ch; animation: fade 1s var(--ease) .15s both; }
.page-hero .eyebrow { color: var(--amber-hi); }
.page-hero.short h1 { font-size: clamp(54px, 7.5vw, 112px); }
.hero-cta.static { opacity: 1; animation: none; margin-top: var(--s4); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s4); }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r-pill); background: rgba(8, 42, 28, .55); border: 1px solid rgba(245, 199, 115, .3); font-size: 14px; font-weight: 600; }
.hero-facts svg { width: 18px; height: 18px; color: var(--amber); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #CFE3D6; margin-bottom: var(--s3); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--amber-hi); text-decoration: underline; }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs span { color: #fff; }
.crumbs.dark { color: var(--ink-muted); }
.crumbs.dark span { color: var(--ink); }
.crumbs.dark a:hover { color: var(--amber-deep); }

/* Venue band on the shop */
.venue { padding-block: var(--section); }
.venue-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.venue h2 { margin-bottom: var(--s3); }
.venue .lead { margin-bottom: var(--s4); }
.venue img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Product detail */
.pd { position: relative; isolation: isolate; background: var(--cream); color: var(--ink); padding: calc(118px + env(safe-area-inset-top, 0px)) 0 var(--section); }
.pd > .flags { position: absolute; top: calc(82px + env(safe-area-inset-top, 0px)); left: 0; right: 0; height: 30px; z-index: 0; }
.pd > .wrap { position: relative; z-index: 1; }
.pd-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.pd-media { position: sticky; top: 104px; display: grid; gap: 12px; }
.pd-view { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; }
.pd-stage { position: relative; display: grid; place-items: center; background: radial-gradient(ellipse 80% 80% at 50% 45%, #2E8A5E 0%, #1A6644 40%, #0F4A31 75%, #0A3423 100%); }
.pd-stage .can-ring { position: absolute; inset: 6%; width: 88%; height: 88%; }
.pd-stage > img { position: relative; width: 36%; height: auto; filter: drop-shadow(0 40px 34px rgba(0, 0, 0, .5)); animation: bob 5s ease-in-out infinite; }
.pd-photo img { width: 100%; height: 100%; object-fit: cover; }
.pd-media.rock-jock-gallery .pd-photo img { object-fit: contain; background: #fff; }
.pd-keg { display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, #fff, #EFE6D4 72%); border: 1px solid var(--line-ink); }
.pd-keg img { width: 82%; height: auto; mix-blend-mode: multiply; animation: keg-float 6s ease-in-out infinite; }
@keyframes keg-float { 50% { transform: translateY(-7px); } }
.pd-media::after { content: ""; height: 5px; border-radius: 5px; background: var(--c); order: -1; display: none; }
.pd-thumbs { display: flex; gap: 10px; }
.pd-thumbs button { width: 84px; height: 84px; border-radius: var(--r-sm); border: 2px solid transparent; overflow: hidden; padding: 0; cursor: pointer; background: #0F4A31; }
.pd-thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs button:first-child img { object-fit: contain; padding: 6px; }
.pd-thumbs button { background: #FBF7EF; }
.pd-thumbs button img { object-fit: contain; padding: 3px; mix-blend-mode: multiply; }
.badges-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pd-info h1 { font-size: clamp(56px, 7vw, 104px); line-height: .86; animation: fade .9s var(--ease) both; }
.pd-desc { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-muted); margin-top: 18px; max-width: 46ch; }
.pd-desc-nowrap { white-space: nowrap; }
.pd-specs { display: grid; grid-template-columns: repeat(4, 1fr); margin: 28px 0; border-block: 1px solid var(--line-ink); }
.pd-specs div { padding: 16px 12px 16px 0; }
.pd-specs div + div { padding-left: 14px; border-left: 1px solid var(--line-ink); }
.pd-specs dt { font-size: 12.5px; font-weight: 700; color: var(--amber-deep); margin-bottom: 4px; }
.pd-specs dd { font-weight: 700; font-size: 15px; line-height: 1.3; }
.pd-specs div:first-child dd { font: 900 30px/1 var(--display); }
.pd-price { font: 900 54px/1 var(--display); }
.pd-price small { display: block; font: 500 14px var(--body); color: var(--ink-muted); margin-top: 8px; }
.pd-buy { display: flex; gap: 12px; margin: 24px 0; }
.pd-buy .qty-pick { padding: 5px; }
.pd-buy .qty-pick button { width: 42px; height: 42px; }
.pd-buy .qty-pick input { width: 40px; font-size: 18px; }
.pd-buy .add-btn { flex: 1; min-height: 58px; font-size: 17px; }
.pd-buy .add-btn.added { --bg: #2F6B45; --fg: var(--cream); border-color: #2F6B45; }
.pd-notes { list-style: none; display: grid; gap: 12px; padding: 18px 20px; border-radius: var(--r-md); background: var(--cream-2); font-size: 15px; }
.pd-notes li { display: flex; gap: 12px; align-items: flex-start; }
.pd-notes svg { width: 22px; height: 22px; flex: none; color: var(--amber-deep); }
.pd-notes a { color: var(--ink); font-weight: 700; }
.pd-story { margin-top: 32px; }
.pd-story h2 { font-size: 34px; margin-bottom: 10px; }
.pd-story p { color: var(--ink-muted); font-size: 17px; max-width: 56ch; }
.pd-pair { background: var(--basalt-2); padding-block: var(--section); }
.pair-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pair-cols .menu-card h3 { font-size: 34px; color: var(--ink); }
.related { padding-top: var(--section); }

/* About */
.about-story { padding-block: var(--section); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.about-aside { position: sticky; top: 110px; }
.about-aside h2 { font-size: clamp(40px, 4.6vw, 70px); margin-bottom: var(--s4); }
.about-aside figure { border-radius: var(--r-lg); overflow: hidden; }
.about-aside img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 40%; }
.about-body p { font-size: clamp(18px, 1.5vw, 21px); color: var(--text-muted); margin-bottom: 22px; max-width: 58ch; }
.about-body blockquote { font: 800 clamp(34px, 3.6vw, 54px)/.98 var(--display); text-transform: uppercase; color: var(--cream); margin: 40px 0; padding-left: 26px; border-left: 4px solid var(--amber); text-wrap: balance; }
.about-sign { font: 900 clamp(40px, 4.4vw, 66px)/.95 var(--display) !important; text-transform: uppercase; color: var(--cream) !important; margin-top: 40px; }
.mission-band { background: var(--basalt-2); padding-block: var(--section); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.mission-grid h2 { margin-bottom: var(--s4); }
.mission-grid .lead + .lead { margin-top: var(--s2); }
.mission-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mission-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); }
.mission-photos img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

/* Stories list */
.stories .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-grid.two { grid-template-columns: 1fr 1fr; }
.post-card { display: grid; gap: 14px; align-content: start; text-decoration: none; }
.post-card .img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream-2); }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover img { transform: scale(1.05); }
.post-card .meta { font-size: 14px; font-weight: 700; color: var(--terracotta); }
.post-card h3 { font-size: clamp(28px, 2.5vw, 36px); transition: color .3s; }
.post-card:hover h3 { color: var(--amber-deep); }
.post-card p { color: var(--ink-muted); }
.post-card .link { color: var(--amber-deep); justify-self: start; }

/* Article */
.article { background: var(--cream); color: var(--ink); }
.article-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--cream); background: radial-gradient(ellipse 70% 90% at 78% 40%, #2E8A5E 0%, #1A6644 34%, #0F4A31 64%, #0A3423 100%); padding: calc(140px + env(safe-area-inset-top, 0px)) 0 clamp(140px, 16vw, 230px); }
.article-hero .flags { position: absolute; top: calc(84px + env(safe-area-inset-top, 0px)); left: 0; right: 0; }
.article-hero h1 { font-size: clamp(46px, 6.4vw, 96px); line-height: .9; max-width: 18ch; animation: fade .9s var(--ease) .1s both; }
.article-hero .eyebrow { color: var(--amber-hi); }
.article-cover { margin-top: calc(-1 * clamp(100px, 13vw, 190px)); border-radius: var(--r-lg); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.article-wrap { max-width: var(--max); margin-inline: auto; padding: clamp(48px, 6vw, 88px) var(--gutter) var(--section); display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(36px, 6vw, 96px); align-items: start; }
.article-body { max-width: 70ch; font-size: 18px; line-height: 1.75; color: #3A3027; }
.article-body > * + * { margin-top: 20px; }
.article-body h2 { font-size: clamp(34px, 3.4vw, 48px); color: var(--ink); margin-top: 48px; }
.article-body h3 { font-size: 28px; color: var(--ink); margin-top: 32px; }
.article-body strong, .article-body b { color: var(--ink); }
.article-lead { font-size: clamp(20px, 1.8vw, 23px); line-height: 1.6; color: var(--ink) !important; }
.article-body blockquote { font: 800 clamp(30px, 3vw, 44px)/1 var(--display); text-transform: uppercase; color: var(--ink); padding: 28px 30px; border-radius: var(--r-md); background: var(--amber); margin-top: 40px; }
.article-sign { font-weight: 700; color: var(--amber-deep) !important; }
.article-body ul, .article-body ol { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.check-list li, .steps-list li { position: relative; padding-left: 38px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23E7A33E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.steps-list { counter-reset: s; }
.steps-list li { counter-increment: s; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--terracotta); color: var(--cream); font: 900 16px/26px var(--display); text-align: center; }
.pair-box { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-ink); background: #FBF7EF; }
.pair-box > div { padding: 20px 22px; }
.pair-box > div + div { border-left: 1.5px dashed rgba(21, 18, 15, .2); }
.pair-box h4 { font: 800 22px/1 var(--display); text-transform: uppercase; margin-bottom: 10px; color: var(--ink); }
.pair-box ul { gap: 6px; font-size: 16px; line-height: 1.5; }
.pair-box li { padding-left: 18px; position: relative; }
.pair-box li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); }
.article-side { position: sticky; top: 110px; display: grid; gap: 18px; }
.side-card { padding: 26px; border-radius: var(--r-lg); background: #FBF7EF; border: 1px solid var(--line-ink); text-align: center; }
.side-card img { height: 72px; width: auto; margin: 0 auto 12px; }
.side-card h3 { font-size: 32px; margin-bottom: 8px; }
.side-card p { color: var(--ink-muted); font-size: 15px; margin-bottom: 16px; }
.side-social { display: flex; justify-content: center; gap: 10px; }
.side-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--cream); }
.side-social a:hover { background: var(--amber); color: var(--ink); }
.side-social svg { width: 20px; height: 20px; }
.side-card.green { background: radial-gradient(ellipse at 70% 30%, #2E8A5E, #0F4A31); color: var(--cream); border: 0; }
.side-card.green p { color: #D9EADF; }
.more-stories { padding-top: 0 !important; }

/* Contact page */
.contact-page { background: var(--basalt); }
.contact-page h2 { font-size: clamp(40px, 4.6vw, 64px); }
.contact-page .story-actions { gap: 18px; }

/* Checkout */
.checkout { background: var(--cream); color: var(--ink); padding-block: clamp(48px, 6vw, 88px) var(--section); }
.co-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.co-form { display: grid; gap: 28px; }
.co-form fieldset { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.co-form legend { display: flex; align-items: center; gap: 12px; font: 800 32px/1 var(--display); text-transform: uppercase; margin-bottom: 16px; }
.co-form legend span { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--amber); display: grid; place-items: center; font-size: 18px; }
.co-payment-info { grid-column: 1 / -1; margin: 0; padding: 16px 18px; border: 1px solid #D8CDB8; border-radius: var(--r-sm); background: #fff; color: var(--ink-muted); line-height: 1.6; }
.co-form .full { grid-column: 1 / -1; }
.co-form .field { color: var(--ink-muted); }
.co-form .field input, .co-form .field textarea { background: #fff; border-color: #D8CDB8; color: var(--ink); }
.co-form .field textarea { min-height: 96px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--ink); flex: none; }
.co-submit { justify-self: start; min-width: 240px; min-height: 58px; font-size: 17px; }
.co-note { font-size: 14px; color: var(--ink-muted); }
.co-form .form-msg { color: var(--terracotta); }
.co-summary { position: sticky; top: 104px; padding: 26px; border-radius: var(--r-lg); background: var(--ink); color: var(--cream); }
.co-sum-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.co-sum-head h2 { font-size: 34px; }
.co-sum-head span { color: var(--text-muted); font-size: 14px; }
.co-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.co-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--cream); }
.co-item h4 { font: 800 21px/1 var(--display); text-transform: uppercase; }
.co-item h4 a { text-decoration: none; }
.co-item small { color: var(--text-muted); font-size: 13px; display: block; margin: 4px 0 8px; }
.co-item .qty { border-color: var(--line); }
.co-item .qty button { color: var(--cream); }
.co-item .qty button:hover { background: var(--basalt-3); }
.co-item .line-total { font: 800 20px var(--display); }
.co-coupon { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 16px 0 4px; }
.co-coupon-label { grid-column: 1 / -1; color: var(--cream); font-size: 14px; font-weight: 700; }
.co-coupon input { min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--basalt-2); color: var(--cream); font: 500 15px var(--body); }
.co-coupon input::placeholder { color: var(--text-muted); }
.co-coupon input:focus { outline: 2px solid var(--amber); outline-offset: 2px; }
.co-coupon .btn { min-height: 48px; padding-inline: 18px; }
.co-totals { display: grid; gap: 10px; padding: 18px 0; }
.co-totals div { display: flex; justify-content: space-between; color: var(--text-muted); }
.co-totals .discount-row { color: var(--amber); }
.co-totals .coupon-row { display: block; padding: 10px 0 2px; border-top: 1px solid var(--line); }
.co-totals .coupon-row dt { color: var(--cream); font-size: 14px; font-weight: 700; }
.co-totals .coupon-row dd { margin: 8px 0 0; }
.co-totals .grand { padding-top: 14px; border-top: 1px solid var(--line); color: var(--cream); align-items: baseline; font-weight: 700; }
.co-totals .grand dd { font: 900 38px/1 var(--display); color: var(--amber); }
.co-totals small { font-weight: 500; color: var(--text-muted); }
.co-empty, .co-done { text-align: center; padding: 48px 24px; border-radius: var(--r-lg); background: #FBF7EF; border: 1px solid var(--line-ink); display: grid; justify-items: center; gap: 14px; }
.co-empty svg, .co-done svg { width: 56px; height: 56px; color: var(--amber-deep); }
.co-empty h2, .co-done h2 { font-size: clamp(36px, 4vw, 54px); }
.co-done { padding-block: 72px; }

@media (max-width: 1100px) {
  .stories .post-grid { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
  .article-side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .pd-grid, .about-grid, .mission-grid, .venue-grid, .co-grid { grid-template-columns: 1fr; }
  .pd-media, .about-aside, .co-summary { position: static; }
  .co-summary { order: -1; }
  .pd-specs { grid-template-columns: 1fr 1fr; }
  .pd-specs div:nth-child(3) { padding-left: 0; border-left: 0; }
  .pd-specs div:nth-child(n + 3) { border-top: 1px solid var(--line-ink); }
  .about-aside figure { display: none; }
}
@media (max-width: 640px) {
  .page-hero { padding: calc(118px + env(safe-area-inset-top, 0px)) 0 84px; }
  .page-hero .flags { top: calc(68px + env(safe-area-inset-top, 0px)); height: 30px; }
  .page-hero h1, .page-hero.short h1 { font-size: clamp(50px, 15vw, 72px); }
  .crumbs { font-size: 13px; margin-bottom: 16px; }
  .pd { padding-top: calc(92px + env(safe-area-inset-top, 0px)); }
  .pd > .flags { top: calc(62px + env(safe-area-inset-top, 0px)); height: 24px; }
  .pd-info h1 { font-size: clamp(48px, 14vw, 64px); }
  .pd-price { font-size: 44px; }
  .pd-buy .add-btn { min-height: 54px; }
  .pd-thumbs button { width: 68px; height: 68px; }
  .pair-cols, .stories .post-grid, .post-grid.two, .article-side { grid-template-columns: 1fr; }
  .pair-box { grid-template-columns: 1fr; }
  .pair-box > div + div { border-left: 0; border-top: 1.5px dashed rgba(21, 18, 15, .2); }
  .article-hero { padding: calc(110px + env(safe-area-inset-top, 0px)) 0 120px; }
  .article-hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .article-cover { margin-top: -90px; }
  .article-cover img { aspect-ratio: 4 / 3; }
  .article-body { font-size: 17px; }
  .article-body blockquote { padding: 22px; }
  .mission-photos { gap: 8px; }
  .co-form fieldset { grid-template-columns: 1fr; }
  .co-form legend { font-size: 26px; }
  .co-submit { width: 100%; }
  .co-summary { padding: 20px; }
  .co-item { grid-template-columns: 56px 1fr auto; gap: 12px; }
  .co-item img { width: 56px; height: 56px; }
  .about-body blockquote { margin: 28px 0; padding-left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Laravel commerce controls layered onto the supplied v3 design */
.refresh-add { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.refresh-add .add-btn { min-height: 42px; flex: 1 1 125px; }
.refresh-add .qty-pick { padding: 3px; }
.refresh-add .qty-pick input { width: 36px; }
.beer-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.beer-actions .refresh-add { flex:1; }
.sold-out { margin: 0; font-weight:700; color:#9c352b; }
.cart-count > span { display:inline-flex; align-items:center; justify-content:center; min-width:23px; min-height:23px; }
.cart-page { padding: clamp(34px, 6vw, 80px) 0; background:var(--cream); color:var(--ink); }
.cart-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr); gap:32px; }
.cart-line { display:grid; grid-template-columns:90px 1fr auto; align-items:center; gap:20px; padding:20px 0; border-bottom:1px solid var(--line-ink); }
.cart-line img { width:90px; height:90px; object-fit:contain; background:#fff; border-radius:12px; }
.cart-line h3 { font-size:24px; margin:0 0 4px; }
.cart-line p { margin:0; color:var(--ink-muted); }
.cart-line-price { font-weight:700; white-space:nowrap; }
.cart-line-controls { display:flex; align-items:center; gap:12px; margin-top:12px; }
.cart-line-controls button { border:1px solid var(--line-ink); padding:6px 12px; border-radius:100px; background:white; }
.cart-summary { padding:24px; background:#fbf7ef; border:1px solid var(--line-ink); border-radius:var(--r-lg); height:max-content; }
.cart-summary h2 { font-size:30px; }
.cart-summary p { display:flex; justify-content:space-between; gap:15px; }
.cart-summary .cart-grand { border-top:1px solid var(--line-ink); padding-top:14px; font-size:20px; font-weight:800; }
.cart-empty { padding:34px; background:#fbf7ef; border-radius:var(--r-lg); text-align:center; }
.cart-empty .btn { margin-top:15px; }
@media(max-width:760px){.cart-layout{grid-template-columns:1fr}.cart-line{grid-template-columns:64px 1fr}.cart-line img{width:64px;height:64px}.cart-line-price{grid-column:2}.beer-actions{align-items:stretch}.beer-actions .refresh-add{flex-basis:100%}}
.coupon-success { color:var(--amber); display:block; padding-top:8px; }
.beer-card[hidden] { display:none !important; }
.cart-coupon { padding:12px 0; border-top:1px solid var(--line-ink); }
.cart-coupon label { display:block; font-weight:700; margin-bottom:7px; }
.cart-coupon > div { display:grid; grid-template-columns:1fr auto; gap:8px; }
.cart-coupon input { min-width:0; border:1px solid #D8CDB8; border-radius:var(--r-sm); padding:10px 12px; font:500 15px var(--body); }
.cart-coupon .btn { min-height:44px; padding-inline:16px; }
.coupon-error { display:block; color:#a3322b; padding-top:7px; }
.site-toast { position:fixed; z-index:10000; right:20px; bottom:20px; max-width:min(420px,calc(100vw - 40px)); padding:14px 20px; border-radius:12px; background:#0d5636; color:#fff; box-shadow:0 8px 28px #0003; opacity:0; transform:translateY(12px); pointer-events:none; transition:opacity .2s,transform .2s; }
.site-toast.is-visible { opacity:1; transform:translateY(0); }
.site-toast.is-error { background:#9c352b; }
.site-toast[aria-hidden="true"] { visibility:hidden; }

/* Shop card controls: match the compact product layout across Livewire markup. */
.beer-card .abv { background:var(--c) !important; color:var(--abv-text, var(--cream)) !important; }
.beer-card .beer-buy {
  display:grid;
  grid-template-columns:minmax(0,.68fr) minmax(0,1fr);
  grid-template-areas:"price quantity" "view add";
  align-items:center;
  gap:12px 16px;
}
.beer-card .beer-buy > .price { grid-area:price; min-width:0; }
.beer-card .beer-buy .beer-actions,
.beer-card .beer-buy .beer-actions > [wire\:id],
.beer-card .beer-buy .beer-actions > .refresh-add { display:contents; }
.beer-card .beer-buy .view-link { grid-area:view; display:flex; align-items:center; justify-content:center; text-decoration:none; }
.beer-card .beer-buy .view-link:hover { text-decoration:none; }
.beer-card .beer-buy [aria-label="Choose quantity"],
.beer-card .beer-buy [aria-label^="Quantity for"] { grid-area:quantity; }
.beer-card .beer-buy [aria-label="Choose quantity"] { display:flex; width:100%; min-height:48px; align-items:center; justify-content:space-evenly; gap:4px !important; padding:3px; border:1.5px solid #dedbd5; border-radius:var(--r-pill); background:#fff !important; }
.beer-card .beer-buy [aria-label="Choose quantity"] button { width:34px !important; height:34px !important; padding:0 !important; border:0 !important; border-radius:50% !important; background:#fff !important; color:var(--ink) !important; box-shadow:none !important; }
.beer-card .beer-buy [aria-label="Choose quantity"] input { width:34px !important; min-width:28px; height:34px; padding:0 !important; border:0 !important; background:#fff !important; color:var(--ink) !important; text-align:center; box-shadow:none !important; }
.beer-card .beer-buy .qty-pick {
  display:flex;
  width:100%;
  min-width:0;
  min-height:48px;
  justify-content:space-evenly;
  background:#fff !important;
  border:1.5px solid #dedbd5;
  border-radius:var(--r-pill);
  padding:3px;
}
.beer-card .beer-buy .qty-pick button,
.beer-card .beer-buy .qty-pick input { background:#fff !important; text-decoration:none; box-shadow:none; }
.beer-card .beer-buy .qty-pick button:hover { background:#fff !important; color:var(--ink); }
.beer-card .beer-buy .qty-pick input { width:34px; min-width:28px; }
.beer-card .beer-buy .checkBox_bottom,
.beer-card .beer-buy .add-btn { grid-area:add; width:100%; min-width:0; }
.beer-card .beer-buy .checkBox_bottom { margin-top:0 !important; }
.beer-card .beer-buy .checkBox_bottom .add-btn { width:100%; justify-content:center; }
@media (max-width:640px) {
  .beer-card .beer-buy { grid-template-columns:minmax(0,.68fr) minmax(0,1fr); gap:8px 10px; }
  .beer-card .beer-buy .view-link { display:flex; }
  .beer-card .beer-buy [aria-label="Choose quantity"] { min-height:42px; }
  .beer-card .beer-buy [aria-label="Choose quantity"] button,
  .beer-card .beer-buy [aria-label="Choose quantity"] input { width:30px !important; height:30px !important; }
  .beer-card .beer-buy .qty-pick { min-height:42px; }
  .beer-card .beer-buy .qty-pick button { width:30px; height:30px; }
  .beer-card .beer-buy .qty-pick input { width:28px; font-size:15px; }
}
