/* =========================================================
   Wonky Tusk — styles
   Brand: oxblood #720404 · cream #F7F6F2 · coral accent #E56A6F (sparingly)
   Type: Swear Display (Adobe Fonts kit cee3cgy) · Bricolage Grotesque (self-hosted)

   Swear Display rules:
   - Always Black (800), always lowercase.
   - The letters m, n and u are set in Swear Display Cilati (script.js wraps them in .ci).
   - Exceptions: the hero title and the "thirsty yet?" band keep their own treatment.
   ========================================================= */

@font-face {
  font-family: "Bricolage Grotesque";
  /* Latin subset, width fixed at 100% (unused), optical size + weight kept */
  src: url("assets/fonts/BricolageGrotesque-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* Brand primitives */
  --oxblood: #720404;
  --oxblood-deep: #5a0303;
  --oxblood-ink: #2a0202;
  --cream: #F7F6F2;
  --cream-2: #EFEBE3;
  --coral: #E56A6F;

  /* Semantic tokens */
  --bg: var(--cream);
  --bg-alt: var(--cream-2);
  --fg: var(--oxblood);
  --fg-body: #3a0f0f;
  --fg-muted: #6e3b3b;
  --line: rgba(114, 4, 4, 0.18);
  --line-light: rgba(247, 246, 242, 0.18);
  --focus: var(--coral);

  /* Type */
  --font-display: "swear-display", "Swear Display", Georgia, "Times New Roman", serif;
  --font-cilati: "swear-display-cilati", "swear-display", Georgia, serif;
  --font-body: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --swear-weight: 800; /* Swear Display Black (served as 800 by Adobe kit pzi4vos) */

  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3: clamp(2.2rem, 1.6rem + 3vw, 3.75rem);
  --step-4: clamp(3rem, 1.8rem + 5.6vw, 6.5rem);

  /* Space (8pt rhythm) */
  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4rem; --s7: 6rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(4rem, 9vw, 8rem);

  --radius: 18px;
  --radius-lg: 28px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: 220ms;

  --z-header: 40; --z-cookie: 60;
  --strip-h: 36px;
  --header-h: 72px;

  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E56A6F' d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6L12 2Z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg-body);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--fg); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--coral); color: var(--oxblood-ink); }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--cream); color: var(--oxblood); padding: .75rem 1rem; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Swear Display ---------- */
.swear {
  font-family: var(--font-display);
  font-weight: var(--swear-weight);
  text-transform: lowercase;
  font-synthesis: none;
}
.swear .ci { font-family: var(--font-cilati); }
.hero .ci, .cta-band .ci { font-family: inherit; }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--oxblood); margin-bottom: var(--s2); display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 1.6em; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--cream); }

.h2 { font-size: var(--step-3); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; margin-bottom: var(--s3); }
.h2--light { color: var(--cream); }
.h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--step-1); line-height: 1.25; margin-bottom: var(--s2); }

.link {
  color: var(--oxblood); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: .22em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: text-decoration-color var(--dur) ease;
}
.link:hover { text-decoration-color: currentColor; }
.link--light { color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none;
  cursor: pointer; touch-action: manipulation; white-space: nowrap;
  transition: background-color var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: .6rem 1.1rem; font-size: .95rem; }
.btn--primary { background: var(--oxblood); color: var(--cream); }
.btn--primary:hover { background: var(--oxblood-deep); }
.btn--light { background: var(--cream); color: var(--oxblood); }
.btn--light:hover { background: #fff; }
.btn--ghost-light { border-color: rgba(247,246,242,.7); color: var(--cream); }
.btn--ghost-light:hover { background: rgba(247,246,242,.12); border-color: var(--cream); }
.btn--ghost { border-color: var(--line); color: var(--oxblood); background: transparent; }
.btn--ghost:hover { border-color: var(--oxblood); }

/* ---------- Squircle (accent — sparingly) ---------- */
.squircle {
  --size: 150px;
  display: grid; place-items: center; width: var(--size); aspect-ratio: 1;
  background: url("assets/brand/squircle.svg") center / contain no-repeat;
  color: var(--cream); transform: rotate(var(--rot, -12deg));
}
.squircle__text {
  font-family: var(--font-body); font-weight: 600; font-size: calc(var(--size) * .17);
  line-height: 1; text-align: center; letter-spacing: .01em;
}

/* ---------- Splats ---------- */
.splat { --w: clamp(40px, 4.4vw, 62px); position: absolute; z-index: 2; width: var(--w); height: auto; pointer-events: none; }
/* Splats sit just off a corner of the photo, flicking outwards (never over the image) */

/* ---------- Status strip ---------- */
.strip {
  height: var(--strip-h); background: var(--oxblood-ink); color: var(--cream);
  overflow: hidden; display: flex; align-items: center; font-size: .82rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
}
.strip__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.strip__group { display: flex; align-items: center; gap: 1.25rem; padding-right: 1.25rem; white-space: nowrap; }
.strip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header (burgundy) ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--oxblood); color: var(--cream);
  border-bottom: 1px solid var(--line-light);
  transition: box-shadow var(--dur) ease;
}
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(20,0,0,.7); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: var(--s3); }
.header__logo { display: block; padding-block: 8px; margin-right: auto; }
.header__logo img { width: clamp(130px, 16vw, 172px); height: auto; }

.nav__list { display: flex; gap: clamp(.75rem, 2vw, 2rem); align-items: center; }
.nav__list a:not(.btn) {
  text-decoration: none; font-weight: 600; color: var(--cream); padding: .6rem .1rem; position: relative;
}
.nav__list a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .3rem; height: 2px; background: var(--coral);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.nav__list a:not(.btn):hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.nav__toggle, .nav__cta-mobile { display: none; }

@media (max-width: 900px) {
  .header__cta { display: none; }
  .nav__toggle {
    display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 12px;
  }
  .nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after {
    display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; position: relative;
    transition: transform var(--dur) var(--ease-out), background-color var(--dur);
  }
  .nav__toggle-bars::before, .nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav__toggle-bars::before { top: -7px; }
  .nav__toggle-bars::after { top: 7px; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .nav__list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--oxblood); border-bottom: 1px solid var(--line-light);
    padding: var(--s2) var(--gutter) var(--s4);
    box-shadow: 0 24px 40px -24px rgba(20,0,0,.7);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .nav__list.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list a:not(.btn) {
    display: block; padding: .9rem 0; font-family: var(--font-display); font-weight: var(--swear-weight);
    text-transform: lowercase; font-size: 1.7rem; border-bottom: 1px solid var(--line-light);
  }
  .nav__list a:not(.btn) .ci { font-family: var(--font-cilati); }
  .nav__list a:not(.btn)::after { display: none; }
  .nav__cta-mobile { display: block; margin-top: var(--s3); }
  .nav__cta-mobile .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--oxblood); color: var(--cream);
  min-height: max(620px, calc(100svh - var(--strip-h) - var(--header-h)));
  display: flex; align-items: flex-end;
}
/* Original treatment: full-bleed, centred photo with a soft scrim; text sits on the photo */
.hero__media, .hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; object-position: 50% calc(38% - 35px); }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(42,2,2,.15) 0%, rgba(42,2,2,.25) 40%, rgba(42,2,2,.85) 100%),
    linear-gradient(90deg, rgba(42,2,2,.55) 0%, rgba(42,2,2,0) 60%);
}
.hero__content { padding-block: var(--s7) clamp(3rem, 8vw, 6rem); }
.hero__copy { max-width: 560px; }
.hero__title {
  /* hero keeps its own treatment: Bold + a Cilati line */
  font-weight: 700; color: var(--cream);
  font-size: clamp(2.8rem, 1.6rem + 3.6vw, 5rem); line-height: .92; letter-spacing: -0.03em; margin-bottom: var(--s3);
  display: flex; flex-direction: column;
}
.hero__title span { white-space: nowrap; }
.hero__title-alt { font-family: var(--font-cilati); }
.hero__lead { font-size: var(--step-1); max-width: 32ch; line-height: 1.45; margin-bottom: var(--s4); color: rgba(247,246,242,.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

.hero__squircles li, .squircle--feature { position: absolute; }
.hero__squircles li, .squircle--feature, .squircle--inline { animation: bob var(--bob-dur, 4s) ease-in-out infinite; animation-delay: var(--bob-delay, 0s); }
.squircle--lg { --size: clamp(130px, 13vw, 190px); --rot: -14deg; --bob-dur: 3.4s; right: 13%; top: 34%; }
.squircle--md { --size: clamp(104px, 10vw, 145px); --rot: 12deg; --bob-dur: 2.9s; --bob-delay: -1.1s; right: 33%; top: 60%; }
.squircle--sm { --size: clamp(82px, 7.5vw, 110px); --rot: -8deg; --bob-dur: 3.8s; --bob-delay: -2.2s; right: 5%; bottom: 9%; }
/* translate is separate from transform, so the bob doesn't fight each squircle's rotation */
/* bob with a little wobble: translate + rotate are separate from the squircle's own transform */
@keyframes bob {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  30% { translate: 0 -14px; rotate: 4deg; }
  65% { translate: 0 -4px; rotate: -3deg; }
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__copy p { max-width: 58ch; }
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--s4); }
.pill {
  border: 2px solid var(--oxblood); color: var(--oxblood); border-radius: 50%; padding: .55rem 1.3rem;
  font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .04em;
}
.about__media { position: relative; display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: var(--s2); }
.about__photo { position: relative; }
.about__photo img:not(.splat) { width: 100%; aspect-ratio: 4 / 5.4; object-fit: cover; border-radius: var(--radius-lg); }
.about__photo--small img { aspect-ratio: 3 / 4 !important; }
.about__photo--small { margin-bottom: 3rem; }
.about__mascot { position: absolute; width: clamp(80px, 9vw, 120px); right: -0.5rem; top: -4rem; transform: rotate(8deg); }
.splat--about { left: calc(var(--w) * -1 - .35rem); top: calc(var(--w) * -.8); transform: scaleX(-1); }

/* ---------- Band ---------- */
.band { background: var(--oxblood); color: var(--cream); overflow: hidden; padding-block: clamp(1rem, 2.5vw, 1.75rem); }
.band__track {
  display: flex; width: max-content; white-space: nowrap;
  font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1;
  animation: marquee 30s linear infinite reverse;
}
.band__group { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; }
.band__sep { color: var(--coral); font-size: .6em; font-family: var(--font-body); }

/* ---------- Feature card (Hugo) ---------- */
.feature { background: var(--bg-alt); padding-bottom: 0; }
.feature__card {
  display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch;
  background: var(--oxblood); color: var(--cream); border-radius: var(--radius-lg); overflow: hidden;
}
.feature__media { position: relative; min-height: 440px; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.squircle--feature { --size: clamp(104px, 10vw, 140px); --rot: 10deg; --bob-dur: 3.6s; right: 1.5rem; bottom: 1.5rem; }
.squircle--feature .squircle__text { font-size: calc(var(--size) * .2); }
.feature__copy { padding: clamp(2rem, 6vw, 5rem); align-self: center; }
.feature__copy p { color: rgba(247,246,242,.9); max-width: 46ch; }
.feature__lead { font-size: var(--step-1); font-weight: 600; color: var(--cream) !important; }
.feature__ing { font-size: var(--step--1); letter-spacing: .02em; }
.feature__actions { margin-top: var(--s4); }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 720px; }
.section-head__lead { color: var(--fg-muted); font-size: var(--step-1); line-height: 1.45; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: var(--s3); flex-wrap: wrap; }
.section-head--row .h2 { margin-bottom: 0; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow::before { display: none; }

/* ---------- Drinks / tabs ---------- */
.drinks { background: var(--bg-alt); }
/* Menu framed in a white rounded box, section mascot tucked in the top corner */
.drinks__box {
  position: relative; background: var(--cream); border-radius: calc(var(--radius-lg) * 1.4);
  padding: clamp(1.5rem, 5vw, 4rem); box-shadow: 0 1px 0 rgba(114,4,4,.06), 0 24px 50px -36px rgba(42,2,2,.45);
}
.drinks__mascot { position: absolute; top: clamp(1.25rem, 3vw, 2.5rem); right: clamp(1.25rem, 4vw, 3.5rem); width: clamp(72px, 8vw, 104px); height: auto; transform: rotate(8deg); }
.drinks__box .section-head > :not(.section-head__lead) { padding-right: clamp(80px, 10vw, 130px); }
.drinks__box .tabs__list, .drinks__box .spritz__offer { background: var(--cream-2); }
.tabs__list {
  display: inline-flex; gap: .25rem; padding: .35rem; background: var(--cream); border-radius: 999px;
  border: 1px solid var(--line); margin-bottom: var(--s5); max-width: 100%; overflow-x: auto;
}
.tabs__tab {
  min-height: 48px; padding: .6rem 1.5rem; border: 0; border-radius: 999px; background: transparent;
  font-weight: 700; color: var(--oxblood); font-size: 1rem; transition: background-color var(--dur), color var(--dur);
}
.tabs__tab:hover { background: rgba(114,4,4,.07); }
.tabs__tab[aria-selected="true"] { background: var(--oxblood); color: var(--cream); }
.tabs__panel:focus-visible { outline-offset: 8px; }
.tabs__panel:not([hidden]) { animation: fadeUp 360ms var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.beer { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.beer__copy p { max-width: 56ch; }
.beer__list { display: grid; gap: .75rem; margin: var(--s4) 0; }
.beer__list li { display: flex; align-items: center; gap: .9rem; font-weight: 700; color: var(--oxblood); font-size: var(--step-1); }
.beer__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--oxblood); flex: none; }
.beer__icon svg { width: 22px; height: 22px; }
.beer__media { position: relative; }
.beer__media img:not(.splat) { border-radius: var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.splat--beer { right: calc(var(--w) * -1 - .35rem - 15px); top: calc(var(--w) * -.8); }
.note { color: var(--fg-muted); font-size: var(--step--1); font-weight: 600; }

.wine__legend { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); color: var(--fg-muted); font-weight: 600; }
.wine__legend > span { display: inline-flex; align-items: center; gap: .5rem; }
.wine__group + .wine__group { margin-top: var(--s5); }
.wine__heading {
  font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem;
  border-block: 3px solid var(--oxblood); padding: .5rem 0; margin-bottom: var(--s1);
}
.menu-table { width: 100%; border-collapse: collapse; }
.menu-table thead th {
  text-align: right; font-size: var(--step--1); font-weight: 700; color: var(--fg-muted); padding: .5rem 0 .25rem 1rem; text-transform: uppercase; letter-spacing: .06em;
}
.menu-table thead th:first-child { text-align: left; padding-left: 0; }
.menu-table tbody th { text-align: left; font-weight: 400; padding: 1rem 1rem 1rem 0; vertical-align: top; }
.menu-table td {
  text-align: right; padding: 1rem 0 1rem 1rem; vertical-align: top; white-space: nowrap;
  font-family: var(--font-display); font-weight: var(--swear-weight); color: var(--oxblood); font-size: 1.2rem; font-variant-numeric: tabular-nums;
}
.menu-table tbody tr + tr { border-top: 1px solid var(--line); }
.menu-item__name { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--oxblood); font-size: var(--step-1); line-height: 1.25; }
.menu-item__desc { display: block; color: var(--fg-muted); font-size: var(--step--1); margin-top: .25rem; max-width: 52ch; }
.house-badge {
  display: inline-grid; place-items: center; flex: none; width: 1.5rem; height: 1.5rem;
  background: var(--oxblood); -webkit-mask: url("assets/brand/squircle.svg") center / contain no-repeat; mask: url("assets/brand/squircle.svg") center / contain no-repeat; color: var(--cream); font-family: var(--font-body); font-size: .72rem; font-weight: 800;
}

.spritz__offer {
  display: flex; align-items: center; gap: var(--s4); background: var(--cream); border-radius: var(--radius-lg);
  padding: var(--s3) var(--s4); margin-bottom: var(--s4); border: 1px solid var(--line);
}
.spritz__offer p { color: var(--fg-muted); }
.spritz__offer .h3 { margin-bottom: .25rem; font-size: var(--step-2); font-family: var(--font-display); font-weight: var(--swear-weight); }
.squircle--inline { --size: 108px; --rot: -10deg; --bob-dur: 3.2s; flex: none; }
.squircle--inline .squircle__text { font-size: calc(var(--size) * .2); }
.spritz__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 4rem); margin-bottom: var(--s4); }
.spritz__item { display: flex; justify-content: space-between; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--line); }
.spritz__name { font-size: var(--step-2); line-height: 1.1; margin-bottom: .35rem; }
.spritz__ing { font-size: var(--step--1); color: var(--fg-muted); margin-bottom: .35rem; }
.spritz__desc { font-weight: 600; }
.spritz__tag {
  display: inline-block; margin-top: .6rem; padding: .25rem .75rem; border-radius: 999px;
  background: var(--oxblood); color: var(--cream); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.spritz__price { font-family: var(--font-display); font-weight: var(--swear-weight); font-size: 1.6rem; color: var(--oxblood); }

/* ---------- CTA band (keeps its own treatment: full Cilati) ---------- */
.cta-band { background: var(--oxblood) url("assets/img/dsc06258-1200.webp") center 30% / cover; position: relative; isolation: isolate; color: var(--cream); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(42,2,2,.78); z-index: -1; }
.cta-band__inner { padding-block: clamp(4rem, 10vw, 8rem); text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-band__title { font-family: var(--font-cilati); font-weight: 700; color: var(--cream); font-size: var(--step-4); line-height: .95; margin-bottom: var(--s3); }
.cta-band p { font-size: var(--step-1); max-width: 40ch; margin-bottom: var(--s4); }

/* ---------- Gallery carousel ---------- */
.gallery { overflow: hidden; }
.gallery__controls { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.gallery__pause {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem;
  border: 2px solid var(--line); border-radius: 999px; background: transparent; color: var(--oxblood); font-weight: 700; font-size: .9rem;
  transition: border-color var(--dur);
}
.gallery__pause:hover { border-color: var(--oxblood); }
.gallery__pause svg { width: 16px; height: 16px; }
.gallery__pause .icon-play, .gallery__pause[aria-pressed="true"] .icon-pause { display: none; }
.gallery__pause[aria-pressed="true"] .icon-play { display: block; }

.carousel {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.carousel__track {
  display: flex; gap: clamp(1.25rem, 2.5vw, 2.25rem); width: max-content; padding: 2.5rem 1rem;
  animation: marquee 70s linear infinite;
}
.carousel:hover .carousel__track,
.carousel:focus-within .carousel__track,
.carousel.is-paused .carousel__track { animation-play-state: paused; }
.carousel__track > li { flex: none; width: clamp(200px, 22vw, 300px); transform: rotate(var(--r, 0deg)); transition: transform 400ms var(--ease-out); }
.carousel__track > li:hover { transform: rotate(0deg) scale(1.03); }
.gallery__item {
  display: block; width: 100%; padding: 0; border: 0; background: var(--bg-alt); border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  box-shadow: 0 18px 40px -22px rgba(42,2,2,.55);
}
.gallery__item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh;
  display: none; place-items: center;
}
.lightbox[open] { display: grid; animation: fadeIn 200ms ease; }
.lightbox::backdrop { background: rgba(20, 2, 2, .9); }
.lightbox img { max-width: min(92vw, 900px); max-height: 86dvh; border-radius: var(--radius); object-fit: contain; }
.lightbox__btn {
  position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--cream); color: var(--oxblood);
  display: grid; place-items: center; transition: transform 160ms var(--ease-out);
}
.lightbox__btn:hover { transform: scale(1.06); }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1rem; top: 50%; translate: 0 -50%; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- Reviews ---------- */
.reviews { background: var(--bg-alt); }
.rating { display: inline-flex; align-items: center; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.rating__score { font-size: var(--step-2); color: var(--oxblood); }
.rating__count { color: var(--fg-muted); font-weight: 600; }
.stars { --s: 20px; display: block; width: calc(var(--s) * 5 + 8px); height: var(--s); background: var(--star) 0 0 / calc(var(--s) + 2px) var(--s) repeat-x; }
.stars--lg { --s: 26px; }
.reviews__grid { columns: 3 280px; column-gap: var(--s3); }
.review {
  break-inside: avoid; margin-bottom: var(--s3);
  background: var(--cream); border-radius: var(--radius-lg); padding: var(--s4); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: var(--s2);
}
.review blockquote { margin: 0; }
.review blockquote p { font-size: var(--step-1); line-height: 1.45; color: var(--oxblood); font-weight: 500; }
.review blockquote p::before { content: "\201C"; }
.review blockquote p::after { content: "\201D"; }
.review--feature { background: var(--oxblood); }
.review--feature blockquote p { color: var(--cream); font-size: var(--step-1); line-height: 1.4; font-weight: 600; }
.review--feature .review__who { color: var(--cream); }
.review--feature .review__who span { color: rgba(247,246,242,.75); }
.review--short blockquote p { font-size: var(--step-2); font-weight: 600; line-height: 1.2; }
.review__who { font-weight: 700; color: var(--oxblood); }
.review__who span { display: block; font-weight: 500; font-size: var(--step--1); color: var(--fg-muted); }
.reviews__actions { text-align: center; margin-top: var(--s4); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__mascot { width: clamp(110px, 12vw, 160px); margin-top: var(--s5); transform: rotate(-6deg); }

/* ---------- Elephants: a little tilt on hover (uses `rotate`, so each keeps its own resting angle) ---------- */
.about__mascot, .drinks__mascot, .faq__mascot, .cookie__mascot {
  rotate: 0deg; transform-origin: 50% 85%;
  transition: rotate 380ms cubic-bezier(.34, 1.56, .64, 1);
}
@media (hover: hover) {
  .about__mascot:hover, .drinks__mascot:hover, .cookie__mascot:hover { rotate: -10deg; }
  .faq__mascot:hover { rotate: 10deg; }
}
.faq__item { border-top: 2px solid var(--oxblood); }
.faq__item:last-child { border-bottom: 2px solid var(--oxblood); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
  min-height: 64px; padding: 1.1rem 0; font-weight: 700; font-size: var(--step-1); color: var(--oxblood); line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--oxblood);
  background:
    linear-gradient(var(--oxblood), var(--oxblood)) center / 14px 2px no-repeat,
    linear-gradient(var(--oxblood), var(--oxblood)) center / 2px 14px no-repeat;
  transition: transform 300ms var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__body { padding-bottom: var(--s3); max-width: 60ch; }
.faq__body .btn { margin-top: var(--s2); }

/* ---------- Find us ---------- */
.find__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: stretch; }
.find__address { font-size: var(--step-2); color: var(--oxblood); line-height: 1.2; margin-bottom: var(--s3); }
.find__status {
  display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem; border-radius: 999px;
  background: var(--bg-alt); font-weight: 700; color: var(--oxblood); margin-bottom: var(--s3);
}
.find__status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--fg-muted); }
.find__status.is-open .find__status-dot { background: #2f7d32; box-shadow: 0 0 0 4px rgba(47,125,50,.18); }
.hours { width: 100%; max-width: 440px; border-collapse: collapse; margin-bottom: var(--s4); }
.hours th, .hours td { padding: .7rem 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 600; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--oxblood); font-weight: 800; }
.hours tr.is-today th::after { content: " (today)"; font-weight: 500; color: var(--fg-muted); }
.find__map { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; background: var(--bg-alt); }
.find__map-photo, .find__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.find__map-overlay {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: var(--s3);
  background: rgba(42,2,2,.82); color: var(--cream); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2); flex-wrap: wrap;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.find__map-overlay p { margin: 0; font-size: var(--step--1); max-width: 34ch; }

/* ---------- Footer ---------- */
.footer { background: var(--oxblood-ink); color: rgba(247,246,242,.85); padding-top: var(--s6); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s4); padding-bottom: var(--s5); }
.footer__brand img { width: 180px; margin-bottom: var(--s2); }
.footer__heading { color: var(--cream); font-family: var(--font-body); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .14em; margin-bottom: var(--s2); }
.footer address, .footer p { margin-bottom: var(--s2); }
.footer__social { display: flex; gap: .5rem; margin-bottom: var(--s2); }
.footer__social a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(247,246,242,.35);
  color: var(--cream); transition: background-color var(--dur), border-color var(--dur);
}
.footer__social a:hover { background: rgba(247,246,242,.1); border-color: var(--cream); }
.footer__social svg { width: 22px; height: 22px; }
.footer__base {
  display: flex; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; align-items: center;
  border-top: 1px solid rgba(247,246,242,.15); padding-block: var(--s3); font-size: var(--step--1);
}
.footer__base p { margin: 0; }
.footer__cookie-link { background: none; border: 0; padding: .6rem 0; color: var(--cream); text-decoration: underline; text-underline-offset: .2em; font-size: var(--step--1); }

a.footer__cookie-link { display: inline-block; }
.footer__legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---------- Privacy page ---------- */
.legal__inner { max-width: 760px; }
.legal__lead { font-size: var(--step-1); line-height: 1.45; color: var(--oxblood); font-weight: 600; }
.legal__updated { color: var(--fg-muted); font-size: var(--step--1); margin-bottom: var(--s5); }
.legal .h3 { margin-top: var(--s5); }
.legal__list { display: grid; gap: var(--s2); padding-left: 1.2rem; }
.legal__list li { list-style: disc; }
.legal__back { margin-top: var(--s6); }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; z-index: var(--z-cookie); left: 1rem; bottom: 1rem; max-width: 520px; width: calc(100% - 2rem);
  background: var(--cream); color: var(--fg-body); border: 2px solid var(--oxblood); border-radius: var(--radius-lg);
  padding: var(--s3); box-shadow: 0 24px 60px -20px rgba(42,2,2,.55);
  display: grid; grid-template-columns: auto 1fr; gap: var(--s1) var(--s2); align-items: start;
  animation: slideUp 420ms var(--ease-out);
}
.cookie[hidden] { display: none; }
.cookie__mascot { width: 52px; transform: rotate(-8deg); }
.cookie__title { font-size: 1.5rem; line-height: 1.1; margin-bottom: .4rem; }
.cookie__copy p { font-size: var(--step--1); margin: 0; }
.cookie__actions { grid-column: 1 / -1; display: flex; gap: .5rem; flex-wrap: wrap; margin-top: var(--s1); }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .about__grid, .beer, .faq__grid, .find__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .faq__intro { position: static; }
  .faq__mascot { display: none; }
  .feature__card { grid-template-columns: 1fr; }
  .feature__media { min-height: 0; aspect-ratio: 5/4; }
  .spritz__list { grid-template-columns: 1fr; }
  .find__map { min-height: 420px; }
  .beer__media { max-width: 420px; }
}
/* Less room beside the photos on smaller screens: splats flick off the top corner instead */
@media (max-width: 1240px) {
  .splat--about { left: .25rem; top: calc(var(--w) * -1.05); }
  .splat--beer { right: -15px; top: calc(var(--w) * -1.05); }
}
@media (max-width: 800px) {
  .hero { min-height: calc(100svh - var(--strip-h) - var(--header-h)); }
  .hero__content { padding-block: 36svh var(--s5); }
  .squircle--lg { --size: 112px; left: auto; right: 4%; top: 11%; }
  .squircle--md { --size: 92px; right: auto; left: 4%; top: 3%; }
  .squircle--sm { --size: 76px; left: 22%; right: auto; top: 15%; bottom: auto; }
}
@media (max-width: 640px) {
  html { font-size: 106.25%; } /* 17px base on phones */
  .tabs__tab { padding-inline: 1.05rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__title { font-size: clamp(3.2rem, 15vw, 3.9rem); }
  /* Mobile: just the first three reviews, then the Google button */
  .reviews__grid > li:nth-child(n+4) { display: none; }
  .menu-table thead th { font-size: .7rem; padding-left: .5rem; }
  .menu-table td { font-size: 1rem; padding-left: .5rem; }
  .menu-table tbody th { padding-right: .5rem; }
  .menu-item__name { font-size: 1.05rem; }
  .spritz__offer { flex-direction: column; align-items: flex-start; gap: var(--s2); }
  .footer__grid { grid-template-columns: 1fr; }
  .cookie { left: .75rem; right: .75rem; bottom: .75rem; width: auto; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; translate: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .strip__track, .band__track, .carousel__track { animation: none; }
  .carousel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .gallery__pause { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
