/* Pairfield Pizza & Pints — site styles. Plain CSS, no framework. */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
/* Archivo carries the headings: the grotesque letterforms match the logo wordmark. Variable, 500-700 in one file. */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }

:root {
  --orange: #ff770f;
  --orange-dark: #eb6700;
  --ink: #0c0c0c;
  --text: #313338;
  --muted: #5b5e63;
  --cream: #fff6f0;
  --line: #dcdfe3;
  --danger: #c0392b;
  --shadow: 0 10px 40px rgba(0, 0, 0, .12);
  --radius: 25px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; font-family: var(--font); font-size: 16px; line-height: 1.75; color: var(--text); background: #fff; }
img { display: block; max-width: 100%; height: auto; }
/* text-wrap: balance evens out the lines so a heading never drops a single word onto
   the last line. Ignored by browsers that do not support it, which just wrap as before. */
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-family: var(--font-display); font-weight: 500; line-height: 1.25; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: var(--orange-dark); }
a:hover { color: var(--orange); }
address { font-style: normal; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 100; padding: 10px 16px; background: #fff; color: #000; }
.skip-link:focus { left: 10px; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Any block with a full-bleed photo behind it: <img class="bg"> as a child, tinted by --overlay. */
.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.has-bg .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* A hero only shows a short band of its photo; centred, that band is mostly wall or ceiling in
   the catering buffet and Menu pizza shots. Anchoring low keeps the tables in view. */
.has-bg .bg-low { object-position: 50% 90%; }
/* A gentler version for the On Tap tap wall, whose handles sit just above the photo's middle
   and a touch left of it (centre ~48%): 47% keeps them centred when a phone crops the sides. */
.has-bg .bg-lowish { object-position: 47% 75%; }
/* Further still: bottom-anchored, and on desktop (below) the fixed photo is also lifted, since
   object-position alone runs out of room once the photo is barely taller than the screen. */
.has-bg .bg-lower { object-position: 50% 100%; }
.has-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--overlay, rgba(0, 0, 0, .45)); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 38px; border: 1px solid transparent; border-radius: 30px;
  background: var(--orange); color: #fff; font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none;
  transition: background-color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--orange-dark); color: #fff; }
.btn .icon { font-size: 18px; }
.btn-lg { padding: 16px 32px; font-size: 20px; font-weight: 600; }
.btn-outline-light { border-color: #fff; }

/* ---------- Header ---------- */

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; padding: 14px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1260px; }
.brand { flex: none; }
.brand-logo { width: 112px; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.site-nav ul a { color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); white-space: nowrap; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--orange); }
.nav-toggle { display: none; }

@media (max-width: 1000px) {
  .brand-logo { width: 78px; }
  .nav-toggle {
    position: relative; z-index: 30; display: inline-grid; place-items: center;
    padding: 8px; border: 0; background: none; color: #fff; font-size: 32px; cursor: pointer;
  }
  .nav-toggle .icon + .icon, .nav-open .nav-toggle .icon:first-child { display: none; }
  .nav-open .nav-toggle .icon + .icon { display: block; }
  .site-nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 30px;
    background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .nav-open { overflow: hidden; }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 16px; }
  .site-nav ul a { font-size: 20px; }
}

/* Between the 1000px nav breakpoint and full width there is not room for the default
   30px gaps, so they tighten instead of the labels wrapping onto two lines. */
@media (min-width: 1001px) and (max-width: 1160px) {
  .site-nav ul { gap: 19px; }
  .site-nav ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-nav ul a { font-size: 14px; }
  .site-nav .btn { padding: 12px 20px; }
  .brand-logo { width: 92px; }
}

/* ---------- Heroes ---------- */

.hero {
  --overlay: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, .55) 100%);
  display: flex; min-height: 600px; padding: 170px 0 80px;
  background: #111; color: #fff; text-align: center;
}
.hero h1 {
  max-width: 1040px; margin: 0 auto .4em; color: #fff;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem); font-weight: 500; line-height: 1.3; text-shadow: 0 0 41px #000e14;
}
.hero-home { min-height: 720px; align-items: center; padding-top: 150px; text-align: left; }
.hero-home h1 { max-width: 820px; margin-left: 0; font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.12; }
.hero-content { max-width: 1180px; }
.hero-kicker { margin: 0 0 16px; color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.hero-home .hero-sub { max-width: 640px; margin-bottom: 1.8em; font-size: clamp(1.02rem, 1.7vw, 1.28rem); line-height: 1.55; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-ghost { border-color: rgba(255, 255, 255, .85); background: transparent; }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: #fff; background: rgba(255, 255, 255, .14); }
/* Inner-page heroes are as tall as the home hero, so each page gets the same amount of photo. */
.page-hero, .hero-rewards { min-height: 720px; }
.page-hero { align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 4.4rem); font-weight: 500; }
.page-hero .hero-kicker, .hero-rewards .hero-kicker { margin-bottom: 14px; }
.page-hero .hero-sub { max-width: 720px; margin: .3em auto 0; font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 1.5; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.page-hero .hero-sub + .hero-phone { margin-top: 18px; }
.hero-rewards { align-items: center; --overlay: linear-gradient(180deg, rgba(90, 30, 15, .6), rgba(60, 20, 10, .55)); }
.hero-rewards .btn { margin-top: 22px; }
.hero-phone { margin: 0; color: #fff; font-size: 21px; font-weight: 400; }
.hero-phone a { color: #fff; text-decoration: none; }
.hero-sub { font-size: 1.15rem; margin-bottom: 1.6em; }

/* A line of text with a thin rule on either side. */
.rule-heading { display: grid; grid-template-columns: 1fr minmax(auto, 700px) 1fr; align-items: center; gap: 30px; max-width: 1060px; margin: 0 auto; }
.rule-heading::before, .rule-heading::after { content: ""; height: 1px; background: rgba(255, 255, 255, .9); }
.rule-heading p { margin: 0; font-size: clamp(1rem, 1.9vw, 1.5rem); line-height: 1.35; }
.hero-home .rule-heading p { text-transform: uppercase; }

/* Home hero: three photos cross-fading, 5s each with a 0.5s fade (the original slideshow's timing). */
.slide { opacity: 0; animation: slide 15s infinite; }
.slide:nth-of-type(1) { opacity: 1; animation-delay: -.5s; }
.slide:nth-of-type(2) { animation-delay: 4.5s; }
.slide:nth-of-type(3) { animation-delay: 9.5s; }
@keyframes slide { 0% { opacity: 0; } 3.33% { opacity: 1; } 33.33% { opacity: 1; } 36.67% { opacity: 0; } 100% { opacity: 0; } }

/* ---------- Sections ---------- */

.section { padding: 90px 0; }
.section-tight { padding: 56px 0; }
.section-flush-top { padding-top: 0; }
.section-cream { background: var(--cream); }
.section-title { margin-bottom: .7em; text-align: center; font-size: clamp(1.6rem, 3.2vw, 2.8rem); font-weight: 500; }
.h3 { font-size: 1.45rem; font-weight: 500; }

/* Home: about + hours */

.hours-card {
  --overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, .85) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 448px; padding: 150px 24px 36px;
  color: #fff; text-align: center; box-shadow: 0 30px 50px -10px rgba(0, 0, 0, .35);
}
.hours-card h2 { color: #fff; font-size: clamp(1.7rem, 2.3vw, 2.1rem); font-weight: 400; white-space: nowrap; margin-bottom: .4em; }
.hours-card p { margin: 0; }
.hours-card address { margin-top: 1.2em; font-weight: 600; }
.hours-card a { color: #fff; }
.hours-card a:hover { color: var(--orange); }

/* Home: celebrations */

/* Home: what makes us awesome */

/* Home: come and experience it */
.band { --overlay: rgba(25, 10, 0, .6); color: #fff; }
.band .section-title { color: #fff; text-transform: uppercase; }
/* Hover: the card fills with the original orange-to-pink gradient. */

/* Home: gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }

/* Gallery lightbox (built by site.js; without it the tiles are plain photos). */
[data-lightbox] img[role="button"] { cursor: zoom-in; transition: opacity .2s; }
[data-lightbox] img[role="button"]:hover { opacity: .85; }
[data-lightbox] img[role="button"]:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 60px 72px; background: rgba(0, 0, 0, .95); }
.lightbox[hidden] { display: none; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; max-width: 100%; max-height: 100%; margin: 0; }
.lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; border-radius: 8px; }
.lightbox figcaption { max-width: 720px; color: #fff; font-size: .95rem; line-height: 1.45; text-align: center; }
.lightbox-count { display: block; margin-top: 4px; color: rgba(255, 255, 255, .6); font-size: .82rem; }
.lightbox button {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer;
}
.lightbox button:hover, .lightbox button:focus-visible { background: var(--orange); }
.lightbox button .icon { width: 22px; height: 22px; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }
.lightbox-prev .icon { transform: rotate(180deg); }
@media (max-width: 767px) {
  .lightbox { padding: 72px 12px 96px; }
  .lightbox img { max-height: calc(100vh - 290px); }
  .lightbox figcaption { font-size: .88rem; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; transform: none; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
}

/* Reviews line */
.reviews { text-align: center; }
.rule { width: 100px; height: 1px; margin: 0 auto 26px; border: 0; background: #000; }
.review-line { color: var(--ink); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; }

/* Review carousel: a scroll-snap row, so it swipes and scrolls with no JavaScript;
   site.js only adds the arrow buttons. Cream cards rather than shadows, because the
   scroll container would clip a shadow. */
.review-carousel { margin: 34px 0 30px; text-align: left; }
.review-track {
  display: flex; gap: 20px; margin: 0; padding: 0 0 6px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin;
}
.review-track:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.review-card {
  flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start;
  display: flex; flex-direction: column; padding: 26px 26px 22px; border-radius: 14px; background: var(--cream);
}
.review-stars { margin: 0 0 12px; color: var(--orange-dark); font-size: 1.05rem; letter-spacing: 3px; line-height: 1; }
.review-quote { flex: 1; margin: 0 0 18px; }
.review-quote p { margin: 0; color: var(--text); font-size: 1rem; line-height: 1.7; }
.review-by { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.review-by strong { color: var(--ink); }
.review-by span { display: block; font-size: .82rem; }
.review-controls { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.review-controls[hidden] { display: none; }
.review-arrow {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer;
  transition: border-color .2s, color .2s, opacity .2s;
}
.review-arrow .icon { font-size: 18px; stroke-width: 2.5; }
.review-arrow-prev .icon { transform: rotate(180deg); }
.review-arrow:hover:not(:disabled), .review-arrow:focus-visible { border-color: var(--orange); color: var(--orange-dark); }
.review-arrow:disabled { opacity: .35; cursor: default; }

/* ---------- About ---------- */

.section-video { padding: 10px 0 70px; }
.video-wrap { max-width: 1120px; margin: 0 auto; aspect-ratio: 16 / 9; background: #000; }
.video-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }

.chef { max-width: 820px; text-align: center; }
.chef h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.chef blockquote { margin: 1.6em 0 0; }
.chef blockquote p { margin-bottom: .6em; color: var(--ink); font-size: clamp(1.1rem, 2vw, 1.35rem); font-style: italic; font-weight: 500; line-height: 1.6; }
.chef cite { color: var(--muted); font-size: .95rem; font-style: normal; }

.story { display: grid; grid-template-columns: 46fr 27fr 27fr; gap: 20px; align-items: center; }
.story-reverse { grid-template-columns: 26fr 28fr 46fr; }
.story-pair { grid-template-columns: 73fr 27fr; }
.story-text { padding-right: 50px; }
.story-reverse .story-text { padding: 0 0 0 40px; }
.story h2 { font-size: 26px; font-weight: 600; }
.story-text p { margin: 0; font-size: 16px; line-height: 1.9; }
.story-tall img { width: 100%; height: 600px; object-fit: cover; border-radius: var(--radius); }
.story-stack { display: grid; gap: 20px; }
.story-stack img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 30px 0 0; padding: 0; list-style: none; }
.amenities li { display: flex; align-items: center; justify-content: center; gap: 11px; color: var(--ink); font-size: clamp(1rem, 1.6vw, 1.3rem); }
.amenities .icon { color: var(--orange); font-size: 24px; }

/* ---------- Contact ---------- */

.contact-top { display: grid; grid-template-columns: 45fr 55fr; gap: 40px; align-items: center; }
.contact-top .h3 { margin-top: 1.4em; }
.contact-top .h3:first-child { margin-top: 0; }
.icon-line { display: flex; align-items: center; gap: 10px; margin: 0 0 .4em; color: var(--ink); font-size: 20px; }
.icon-line .icon { color: var(--orange); font-size: 24px; }
.icon-line a { color: var(--ink); text-decoration: none; }
.icon-line a:hover { color: var(--orange-dark); }
.contact-card { padding: 60px 50px; background: #fff; box-shadow: var(--shadow); }

.map-row { display: grid; grid-template-columns: 65fr 35fr; gap: 50px; }
.map-embed { display: block; width: 100%; height: 520px; border: 0; }

.social { display: flex; gap: 10px; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 18px; }
.social a:hover { background: var(--orange-dark); color: #fff; }

/* Long-form copy (contact details, events) */
.prose { max-width: 780px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; }
.prose h2 { margin: 1.8em 0 .5em; font-size: 1.6rem; font-weight: 600; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.4em 0 .35em; font-size: 1.15rem; font-weight: 600; }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.prose a { text-decoration: underline; }
.prose .lede { font-size: 1.18rem; }

.hours-list { margin: 0; padding: 0; list-style: none; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.prose .hours-list { max-width: 420px; padding: 0; }

/* ---------- Rewards ---------- */

.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.icon-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.icon-box .icon { display: block; margin: 0 auto 16px; color: var(--orange); font-size: 50px; stroke-width: 1.8; }
.icon-box h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.icon-box p { margin: 0; color: var(--muted); font-size: 15px; }

.faq { max-width: 1120px; margin: 0 auto; border: 1px solid var(--line); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 14px; padding: 14px 20px; color: var(--ink); font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { margin: 0; padding: 0 20px 22px 52px; }

.cta-band { --overlay: rgba(0, 0, 0, .35); display: flex; align-items: center; min-height: 400px; padding: 60px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 600; text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.cta-band .cta-sub { color: #fff; font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 500; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }

/* ---------- Events ---------- */

.event { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: start; }
.event .prose { max-width: none; margin: 0; }
.event-reverse .flyer { order: -1; }
.flyer img { width: 100%; border-radius: 12px; box-shadow: var(--shadow); }
.hh-list { margin: 0 0 1em !important; padding: 0 !important; list-style: none; }
.hh-list li { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.hh-list em { color: var(--muted); font-size: .8em; font-style: normal; text-transform: uppercase; letter-spacing: .05em; }
.hh-list strong { color: var(--ink); white-space: nowrap; }
/* Grid and flex children default to min-width: auto, so one long unbroken word in Jeff's
   text would widen the column past a 320px screen. */
.event > * { min-width: 0; }
/* "anywhere" also shrinks min-content, which is what fixes grid/flex overflow; break-word
   comes first as the fallback for older Safari. */
.page-upcoming-events main { overflow-wrap: break-word; overflow-wrap: anywhere; }
.hh-list span { min-width: 0; }
/* An event without a flyer (D-19): its text takes the full width. */
.event-solo { grid-template-columns: 1fr; }

/* ---------- Menu ---------- */

.menu-list { margin: 0 0 1.5em; padding: 0; list-style: none; }
.menu-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-item h3 { margin: 0 0 .25em; font-size: 1.2rem; font-weight: 600; }
.menu-item p { margin: 0; color: var(--muted); }
.menu-pairing { margin-top: .3em !important; color: var(--orange-dark) !important; font-size: .95rem; font-weight: 500; }

/* Dish rows: two columns of printed-menu entries, name and price joined by a dotted leader. */
.menu-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 56px;
  max-width: 1000px; margin: 0 auto 10px; padding: 0; list-style: none;
}
.dish { min-width: 0; padding: 6px 0; border-bottom: 1px solid var(--line); }
/* The whole dish box is one link to Toast. Padding lives on the link so the hit area
   and the highlight are the same box; the negative margin lets the highlight breathe
   past the text column without changing the grid. */
.dish-link {
  display: block; margin: 0 -14px; padding: 14px 14px 16px; border-radius: 12px;
  color: inherit; text-decoration: none;
  transition: background-color .2s, box-shadow .2s, transform .2s ease-out;
}
.dish-link:hover, .dish-link:focus-visible { background: var(--cream); box-shadow: 0 8px 28px rgba(0, 0, 0, .09); transform: translateY(-2px); }
.dish-link:hover .dish-name, .dish-link:focus-visible .dish-name { color: var(--orange-dark); }
.dish-cta { display: flex; align-items: center; gap: 6px; width: fit-content; margin-top: .7em; color: var(--orange-dark); font-size: .85rem; font-weight: 600; opacity: .7; transition: opacity .2s; }
.dish-link:hover .dish-cta, .dish-link:focus-visible .dish-cta { opacity: 1; }
.dish-cta .icon { font-size: 16px; transition: transform .2s; }
.dish-link:hover .dish-cta .icon { transform: translateX(4px); }
.dish-head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 .3em; }
.dish-name { flex: none; max-width: 82%; color: var(--ink); font-size: 1.08rem; font-weight: 600; line-height: 1.35; }
.dots { flex: 1 1 auto; min-width: 18px; height: 0; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.dish-price { flex: none; color: var(--ink); font-size: 1.02rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish-desc { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.65; }
.dish .pair { margin: .5em 0 0; }
.pair {
  display: inline-block; padding: 4px 13px; border-radius: 20px;
  background: rgba(255, 119, 15, .1); color: var(--orange-dark);
  font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
/* Dietary and allergen marks. Green = suitable for (vegetarian, vegan, dairy free, gluten
   free); orange = contains (eggs, sesame, nuts, fish). Each carries its label for screen
   readers and as a tooltip. */
.diet { display: inline-flex; gap: 4px; margin-left: 8px; vertical-align: -.15em; }
.diet-i { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #e8f3ea; color: #2c7a46; }
.diet-i.warn { background: #fdeee2; color: var(--orange-dark); }
.diet-i .icon { font-size: 16px; stroke-width: 2.1; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Build your own */
.diy-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto 40px; }
.diy-card { padding: 32px 34px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.diy-card h3 { margin-bottom: .6em; font-size: 1.3rem; font-weight: 600; }
.diy-card.dish-link { display: block; margin: 0; }
.diy-card.dish-link:hover h3, .diy-card.dish-link:focus-visible h3 { color: var(--orange-dark); }
.diy-card .dish-cta { margin-top: 1.1em; }
.diy-price { margin: 0 0 .35em; color: var(--text); font-size: 1.05rem; }
.diy-price strong { color: var(--ink); font-weight: 600; }
.diy-when { color: var(--muted); font-size: .9rem; }
.diy-note { margin: 1em 0 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }

.table-scroll { max-width: 1000px; margin: 0 auto 40px; overflow-x: auto; }
.addon-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.addon-table caption { margin-bottom: 12px; color: var(--muted); font-size: .9rem; text-align: left; }
.addon-table th, .addon-table td { padding: 13px 20px; text-align: left; font-size: .96rem; }
.addon-table thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.addon-table tbody th { color: var(--ink); font-weight: 600; }
.addon-table tbody tr + tr th, .addon-table tbody tr + tr td { border-top: 1px solid var(--line); }
.addon-table td { color: var(--text); font-variant-numeric: tabular-nums; }

.ingredient-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; max-width: 1000px; margin: 0 auto; }
.ingredient-col h3 { margin-bottom: .5em; color: var(--orange-dark); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ingredient-col ul { margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; line-height: 1.85; }

/* Lunch special and hoppy hour */
.special-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.special-card {
  position: relative; isolation: isolate; padding: 40px 36px;
  border-bottom: 5px solid var(--orange); border-radius: 5px; background: #fff; text-align: center;
}
.special-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, #f06700 0%, #f2295b 100%); opacity: 0; transition: opacity .3s;
}
.special-card:hover::before { opacity: 1; }
.special-card:hover, .special-card:hover h3, .special-card:hover .special-price, .special-card:hover .special-when { color: #fff; }
.special-card h3 { margin-bottom: .25em; font-size: 1.35rem; font-weight: 600; text-transform: uppercase; }
.special-price { margin: 0 0 .4em; color: var(--orange-dark); font-size: 2.2rem; font-weight: 600; line-height: 1; }
.special-card p { margin: 0 0 .5em; }
.special-when { margin: 0; color: var(--muted); font-size: .92rem; font-weight: 500; }

.legend { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: .92rem; }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- On tap ---------- */

/* Style groupings, not page sections: a step down from .section-title. */
.tap-title { font-size: clamp(1.35rem, 2.1vw, 1.85rem); font-weight: 600; }

.table-wide { max-width: none; }
.tap-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tap-table th:nth-child(1) { width: 26%; }
.tap-table th:nth-child(2) { width: 22%; }
.tap-table th:nth-child(3) { width: 19%; }
.tap-table th:nth-child(4) { width: 8%; }
.tap-table th:nth-child(5) { width: 10%; }
.tap-table th:nth-child(6) { width: 15%; }
.tap-table thead th {
  padding: 12px 16px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: .71rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; text-align: left; white-space: nowrap;
}
.tap-table tbody th {
  padding: 17px 16px; color: var(--ink); font-size: 1rem; font-weight: 600; text-align: left;
}
.tap-table tbody td { padding: 17px 16px; color: var(--text); font-size: .95rem; vertical-align: top; }
.tap-table tbody tr + tr th, .tap-table tbody tr + tr td { border-top: 1px solid var(--line); }
.tap-table td[data-label="ABV"] { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tap-city {
  display: block; margin-top: 4px; color: var(--muted);
  font-size: .71rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase;
}
.drive { color: var(--orange-dark); font-weight: 600; white-space: nowrap; }

/* ---------- Menu filter ---------- */

.menu-filter {
  position: sticky; top: 0; z-index: 15;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.menu-filter-inner {
  display: flex; gap: 10px; padding-top: 14px; padding-bottom: 14px;
  overflow-x: auto; scrollbar-width: none;
}
.menu-filter-inner::-webkit-scrollbar { display: none; }

/* Scroll cue for the filter strip. The buttons are added by site.js and only shown
   through .has-prev / .has-next, so an arrow never points at nothing. The gradient
   fades the chips out under the arrow, which is what signals "there is more". */
.filter-nudge {
  position: absolute; top: 0; bottom: 0; z-index: 2;
  display: none; align-items: center; width: 76px; padding: 0 14px;
  border: 0; -webkit-appearance: none; appearance: none;
  color: var(--ink); cursor: pointer;
}
.filter-nudge .icon { font-size: 19px; stroke-width: 2.5; }
/* The gradient has to reach solid before the glyph, or chip text shows through
   around the arrow and it reads as overlap rather than a fade. */
.filter-nudge-next {
  right: 0; justify-content: flex-end;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 42%, #fff);
}
.filter-nudge-prev {
  left: 0; justify-content: flex-start;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff 42%, #fff);
}
.filter-nudge-prev .icon { transform: rotate(180deg); }
.filter-nudge:hover .icon, .filter-nudge:focus-visible .icon { color: var(--orange-dark); }
.menu-filter.has-next .filter-nudge-next,
.menu-filter.has-prev .filter-nudge-prev { display: flex; }
.chip {
  flex: none; padding: 10px 17px; border: 1px solid var(--line); border-radius: 4px;
  background: #fff; color: var(--text);
  font-size: .76rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover, .chip:focus-visible { border-color: var(--ink); color: var(--ink); }
.chip.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip.is-on:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-n { margin-left: 5px; opacity: .55; font-weight: 500; }

.menu-cat[hidden], [data-cat][hidden] { display: none; }
.menu-cat + .menu-cat { padding-top: 0; }
.cat-lede { max-width: 1000px; margin: -.4em auto 1.8em; color: var(--muted); text-align: center; }
.menu-sub {
  max-width: 1000px; margin: 30px auto .6em; padding-bottom: .35em;
  border-bottom: 2px solid var(--line);
  color: var(--orange-dark); font-size: .84rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.menu-tag { margin-left: 8px; padding: 3px 10px; border-radius: 20px; background: var(--cream); color: var(--muted); font-size: .7rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.menu-note { padding: 16px 20px; border-left: 3px solid var(--orange); background: var(--cream); font-size: .97rem; }

/* ---------- Home: featured pies, press, find us ---------- */

.pies-lede { margin-bottom: 2em; color: var(--muted); text-align: center; }
.pies-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 800px; margin: 0 auto 36px; padding: 0; list-style: none; text-align: center; }
.pies-strip img { width: 100%; margin-bottom: 16px; border-radius: 12px; box-shadow: var(--shadow); }
.pies-strip h3 { margin-bottom: .2em; font-size: 1.2rem; font-weight: 600; }
.pies-strip p { margin: 0; color: var(--orange-dark); font-size: .95rem; font-weight: 500; }
.press-strip { margin-top: 28px; color: var(--muted); font-size: .95rem; font-style: italic; }
.find-us-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; max-width: 900px; margin: 0 auto; }
.find-us address { margin-bottom: 1em; line-height: 1.9; }
.find-us h3 { font-size: 1.15rem; font-weight: 600; }
.find-us .hours-list { max-width: 360px; }
.find-us-towns { margin-top: 1.2em; color: var(--muted); font-size: .95rem; }

/* ---------- Home v2: info bar, reasons, chef, pies, tap board, come-back cards ---------- */

.info-bar { padding: 26px 0; background: var(--ink); color: #fff; }
.info-bar-inner { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px 40px; }
.info-item { display: flex; gap: 14px; margin: 0; font-size: .95rem; line-height: 1.6; }
.info-item .icon { margin-top: 6px; color: var(--orange); font-size: 20px; }
.info-item a { color: #fff; text-decoration: none; }
.info-item a:hover { color: var(--orange); }
.info-item em { color: rgba(255, 255, 255, .7); }
.info-label { display: block; margin-bottom: 2px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }

.eyebrow { margin: 0 0 10px; color: var(--orange-dark); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.center { text-align: center; }
.section-lede { max-width: 780px; margin: -.3em auto 2.6em; color: var(--muted); font-size: 1.08rem; line-height: 1.7; text-align: center; }
.center-cta { margin: 36px 0 0; text-align: center; }

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.reason { display: flex; flex-direction: column; padding: 36px 32px 30px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.reason-figure { margin: 0 0 .45em; color: var(--orange-dark); font-size: 3.2rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.reason-figure small { margin-left: 8px; color: var(--muted); font-size: .95rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.reason h3 { font-size: 1.28rem; font-weight: 600; }
.reason p:last-of-type { flex: 1; margin-bottom: 1.2em; font-size: .98rem; }
.reason a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.reason a .icon { font-size: 18px; transition: transform .2s; }
.reason a:hover .icon { transform: translateX(4px); }

.chef-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.chef-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.chef-text h2 { margin-bottom: .7em; font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 600; line-height: 1.22; }
.chef-text p { font-size: 1.02rem; }
.chef-text .pull-quote { margin: 1.4em 0 1.6em; }
.chef-text .pull-quote p { font-size: clamp(1.1rem, 1.9vw, 1.35rem); }
.mission { margin-bottom: 1.8em; padding: 16px 22px; border-radius: 14px; background: var(--cream); font-size: .95rem; line-height: 1.65; }
.mission strong { color: var(--ink); }

.pies-strip.four { grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: none; margin-bottom: 0; text-align: left; }
.pies-strip.four img { aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 16px; }
.pies-strip.four h3 { font-size: 1.15rem; }
.pies-strip .pie-pair { margin-bottom: .45em; }
.pies-strip .pie-desc { color: var(--muted); font-size: .9rem; font-weight: 400; line-height: 1.6; }

.taps-home-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.taps-home-text h2 { margin-bottom: .7em; font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 600; line-height: 1.22; }
.taps-home-text p { font-size: 1.02rem; }
.taps-home-note { color: var(--muted); font-size: .95rem; }
.taps-home-text .btn { margin-top: 6px; }
.board-title { margin: 0 0 12px; color: var(--ink); font-size: 1.15rem; font-weight: 600; }
.board { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.board-row { display: grid; grid-template-columns: 1.35fr 1.2fr .8fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: start; }
.board-head { padding: 10px 0; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.board-beer strong { display: block; color: var(--ink); font-weight: 600; line-height: 1.3; }
.board-beer span, .board-style span { display: block; margin-top: 3px; color: var(--muted); font-size: .85rem; }
.board-style { color: var(--text); font-size: .95rem; }
.board-pair { color: var(--text); font-size: .95rem; }
.board-foot { margin: 12px 0 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }

.come-back { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cb-card {
  --overlay: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .78) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; padding: 26px 24px;
  border-radius: 18px; color: #fff; text-decoration: none; transition: transform .3s ease-out;
}
.cb-card:hover, .cb-card:focus-visible { color: #fff; transform: translateY(-6px); }
.cb-card h3 { margin-bottom: .35em; color: #fff; font-size: 1.3rem; font-weight: 600; }
.cb-card p { margin: 0 0 .9em; font-size: .92rem; line-height: 1.55; }
.cb-card span { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-size: .85rem; font-weight: 600; }
.where-map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.where-map .map-embed { height: 520px; }
.where-card { position: absolute; left: 32px; bottom: 32px; width: min(360px, calc(100% - 64px)); padding: 26px 28px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.where-card address { margin-bottom: .8em; line-height: 1.8; }
.where-card strong { color: var(--ink); }
.where-card em { color: var(--muted); }
.where-towns { margin-bottom: 1.2em; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.daily-strip { max-width: 860px; margin: 32px auto 0; padding: 16px 22px; border-left: 3px solid var(--orange); background: #fff; font-size: .97rem; line-height: 1.65; }

/* ---------- Catering: pull quote, photo strip and quote form ---------- */

/* Photo strip under "What we cater": the two portrait shots flank the landscape buffet so
   the row reads as one band at desktop widths. Fixed height + cover, like .story-tall,
   keeps mixed orientations aligned without distorting them. */
.catering-photos {
  display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 20px;
  margin: 0; padding: 0; list-style: none;
}
.catering-photos img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
/* More photos from the same event under the strip; they open in the same lightbox. */
.catering-gallery { margin-top: 12px; }

.pull-quote {
  margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--orange);
}
.pull-quote p {
  margin: 0 0 .3em; color: var(--ink);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-style: italic; font-weight: 500; line-height: 1.4;
}
.pull-quote cite { color: var(--muted); font-size: .95rem; font-style: normal; }

.quote-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px;
  max-width: 860px; margin: 0 auto;
}
.field-wide { grid-column: 1 / -1; }
.field label, .field-wide label {
  display: block; margin-bottom: 7px; color: var(--ink);
  font-size: .8rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
}
.quote-form input, .quote-form textarea, .quote-form select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; color: var(--text); font-family: inherit; font-size: 1rem; line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}
.quote-form textarea { resize: vertical; min-height: 130px; }
/* appearance:none so Safari honours the padding and the select matches the inputs;
   the chevron is redrawn as a background image in the --muted grey. */
.quote-form select {
  width: auto; min-width: 170px; padding-right: 42px; cursor: pointer; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b5e63' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.budget-row { display: flex; gap: 12px; }
.budget-row input { flex: 1; min-width: 0; }
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus {
  border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 119, 15, .15); outline: none;
}
/* :user-invalid only fires after the visitor has interacted, so empty required
   fields are not red on arrival. Browsers without it simply show no error tint. */
.quote-form input:user-invalid, .quote-form textarea:user-invalid,
.quote-form select:user-invalid { border-color: var(--danger); }
.req { color: var(--danger); }
.quote-form .is-invalid { border-color: var(--danger); }
.field-error { margin: 7px 0 0; color: var(--danger); font-size: .88rem; font-weight: 500; line-height: 1.5; }
.form-alert {
  padding: 14px 18px; border: 1px solid var(--danger); border-left-width: 5px; border-radius: 6px;
  background: #fdf1f0; color: var(--danger); font-weight: 500;
}
.form-alert[hidden] { display: none; }
.hint { margin: 7px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 4px; }
.form-actions .hint { margin: 0; }

/* Spam trap: off-screen rather than display:none, which bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */

.site-footer { --overlay: rgba(0, 0, 0, .75); padding-top: 70px; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-title { margin-bottom: .8em; color: #fff; font-size: 20px; font-weight: 600; }
.footer-tagline { margin-top: -.6em; color: var(--orange); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site-footer address { line-height: 1.9; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange); }
.footer-links { margin: 0 0 20px; padding: 0; list-style: none; line-height: 2.1; }
.footer-directions { display: inline-block; margin-top: 10px; font-weight: 600; }
.copyright { margin: 50px 0 0; padding: 22px 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px; text-align: center; }

/* ---------- Animations (recreated from the original Elementor site) ---------- */

/* Entrance: 1.25s, played once when the element scrolls into view (site.js adds .animated).
   Elements are only hidden beforehand when site.js can run; see ANIM_BOOT in build.py.
   Fill mode is "backwards", not "both": every animation ends on the element's normal style,
   so once it finishes, hover effects that use transform (.hover-sink) work again. */
.js-anim [data-animate]:not(.animated) { visibility: hidden; }
.animated { animation-duration: 1.25s; animation-fill-mode: backwards; }
.animated[data-animate="fadeInUp"] { animation-name: fadeInUp; }
.animated[data-animate="fadeInDown"] { animation-name: fadeInDown; }
.animated[data-animate="fadeInLeft"] { animation-name: fadeInLeft; }
.animated[data-animate="fadeInRight"] { animation-name: fadeInRight; }
.animated[data-animate="zoomIn"] { animation-name: zoomIn; }

/* Hero headings slide in on page load without being hidden first, so the text paints immediately. */
.anim-slide-in-down { animation: slideInDown 1.25s backwards; }

@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } }
@keyframes slideInDown { from { transform: translate3d(0, -100%, 0); } to { transform: none; } }

/* Hover: buttons and About photos "sink" 8px. */
.hover-sink { transition: transform .3s ease-out; }
.btn.hover-sink { transition: background-color .2s, transform .3s ease-out; }
.hover-sink:hover, .hover-sink:focus-visible, .hover-sink:active { transform: translateY(8px); }

/* The photo behind these sections stays put while the page scrolls (desktop only, as on the original). */
@media (min-width: 1025px) {
  .bg-fixed { clip-path: inset(0); }
  .bg-fixed .bg { position: fixed; height: 100vh; }
  .bg-fixed .bg-lower { top: -35vh; height: 135vh; }
  /* On desktop the photo is full width, so there is no side crop to steer; widening it 4% from the
     left edge moves the off-centre tap row (~48%) to the middle of the screen. */
  .bg-fixed .bg-lowish { width: 104vw; right: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .contact-top, .map-row, .event, .footer-grid,
  .story, .story-reverse, .story-pair, .find-us-grid { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .story-text, .story-reverse .story-text { padding: 0; }
  .story-reverse .story-text { order: -1; }
  .review-card { flex-basis: calc((100% - 20px) / 2); }
  .story-tall img { height: 420px; }
  .story-stack { grid-template-columns: 1fr 1fr; }
  /* Once the two columns stack, the flyer leads: it carries the offer at a glance,
     and the prose underneath explains it. Applies to every event, so .event-reverse
     no longer needs its desktop order override. */
  .event .flyer { order: -1; }
  .flyer { max-width: 480px; margin-inline: auto; }
  .map-embed { height: 380px; }
  .menu-grid { gap: 0 36px; }
  .dish-name { max-width: 70%; }
  .ingredient-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .section { padding: 60px 0; }
  .section-tight { padding: 40px 0; }
  .section-flush-top { padding-top: 0; }
  .hero { min-height: 480px; padding: 130px 0 50px; }
  .hero-home, .page-hero, .hero-rewards { min-height: 560px; }
  .rule-heading { grid-template-columns: 1fr; }
  .rule-heading::before, .rule-heading::after { display: none; }
  .icon-grid.cols-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  /* Landscape buffet goes full width on top; the two portraits sit side by side below it. */
  .catering-photos { grid-template-columns: 1fr 1fr; }
  .catering-photos li:nth-child(2) { grid-column: 1 / -1; order: -1; }
  .catering-photos img { height: 260px; }
  .contact-card { padding: 36px 26px; }
  .icon-line { font-size: 17px; }
  .faq .answer { padding-left: 20px; }
  .menu-grid, .diy-pair, .special-pair { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; }
  /* Most of one card, with the next peeking in so the row reads as swipeable. */
  .review-card { flex-basis: 86%; padding: 22px 20px 20px; }
  .diy-card { padding: 26px 24px; }
  .special-card { padding: 32px 26px; }

  /* The add-on table becomes one card per row, each cell labelled by its column. */
  .addon-table { border-radius: 0; box-shadow: none; background: none; }
  .addon-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .addon-table tbody tr { display: block; margin-bottom: 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
  .addon-table tbody th { display: block; padding: 12px 18px; background: var(--ink); color: #fff; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
  .addon-table tbody td { display: flex; justify-content: space-between; gap: 16px; padding: 10px 18px; }
  .addon-table tbody tr + tr th, .addon-table tbody tr + tr td { border-top: 0; }
  .addon-table tbody td + td { border-top: 1px solid var(--line); }
  .addon-table tbody td::before { content: attr(data-label); color: var(--muted); font-size: .9rem; }

  /* Same treatment for the tap list: one card per beer, cells labelled by column.
     The desktop column widths are nth-child rules, so they must be unset here at
     matching specificity or the beer-name header keeps its 23% width. */
  .tap-table { table-layout: auto; }
  .tap-table th:nth-child(1), .tap-table th:nth-child(2), .tap-table th:nth-child(3),
  .tap-table th:nth-child(4), .tap-table th:nth-child(5), .tap-table th:nth-child(6) { width: auto; }
  .tap-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tap-table tbody tr { display: block; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .tap-table tbody th { display: block; padding: 12px 16px; background: var(--ink); color: #fff; font-size: .98rem; }
  .tap-table tbody td { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 16px; }
  .tap-table tbody tr + tr th, .tap-table tbody tr + tr td { border-top: 0; }
  .tap-table tbody td + td { border-top: 1px solid var(--line); }
  .tap-table tbody td::before { content: attr(data-label); flex: none; color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
  .tap-table tbody td .tap-val { text-align: right; }
  .tap-city { display: block; margin: 3px 0 0; }
}

@media (max-width: 480px) {
  .icon-grid, .amenities,
  .pies-strip, .ingredient-grid { grid-template-columns: 1fr; }
  .amenities li { justify-content: flex-start; }
  .dish-name { max-width: 74%; font-size: 1.02rem; }
  .chip { padding: 8px 14px; font-size: .86rem; }
  .special-price { font-size: 1.9rem; }
  /* Side by side, the dropdown would squeeze the amount box to a few digits wide. */
  .budget-row { flex-direction: column; }
  .quote-form select { width: 100%; }
}

@media (max-width: 960px) {
  .info-bar-inner, .chef-grid, .taps-home-grid { grid-template-columns: 1fr; }
  .chef-grid, .taps-home-grid { gap: 36px; }
  .chef-photo { max-width: 420px; }
  .reasons { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .pies-strip.four, .come-back { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .hero-home { min-height: 620px; padding-top: 130px; }
  .page-hero, .hero-rewards { min-height: 620px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .board-head { display: none; }
  .board-row { grid-template-columns: 1fr; gap: 4px; }
  .board-beer span { display: block; margin: 0; }
  .board-style span { display: inline; margin: 0 0 0 6px; }
  .board-pair::before { content: "Pairs with "; color: var(--muted); font-size: .85rem; }
}

@media (max-width: 480px) {
  .pies-strip.four, .come-back { grid-template-columns: 1fr; }
  .cb-card { min-height: 260px; }
  .where-map { border-radius: 18px; }
  .where-map .map-embed { height: 300px; }
  .where-card { position: static; width: auto; border-radius: 0; box-shadow: none; padding: 22px 20px; }
}

/* ---------- Touch targets and small-screen legibility ----------
   WCAG 2.2 AA (2.5.8) asks for a 24x24px minimum target. These are text links, so the
   hit area grows through min-height or padding and the type size is left alone.
   Contact links get the full 44px Apple recommends: on a restaurant site the phone
   number is the primary action. The ceiling is 1160px, not the 1000px nav breakpoint,
   because iPad landscape is 1024px wide and is still a touch device. */

@media (max-width: 1160px) {
  /* Each of these sits on its own line (br-separated or block), so a min-height
     cannot collide with the link above or below it. */
  .site-footer address a,
  .footer-links a,
  .footer-directions,
  .info-item a,
  .icon-line a,
  .hero-phone a,
  .contact-card a[href^="tel:"], .contact-card a[href^="mailto:"],
  .hours-card a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .site-footer address, .info-item, .footer-links { line-height: 1.5; }

  /* Links inside running text stay display:inline so they can still wrap mid-link.
     Vertical padding grows the hit box without moving the line. */
  .prose a, .cat-lede a, .diy-note a, .legend a, .chef cite a, .dish-cta, .tap-val a,
  .taps-home-note a, .special-when a, .hint a, .board-foot a,
  .story-text p a, .daily-strip a, .cb-card a, .amenities a {
    padding-block: 6px;
  }
}

@media (max-width: 1160px) {
  /* Uppercase letterspaced labels sit at 11-12px on desktop. That is too tight to
     read at arm's length, so they step up on phones without changing the design. */
  /* Content text lifted to at least 14px. The uppercase micro-labels (.hero-kicker,
     .eyebrow, .info-label, .tap-label) stay small on purpose: they are a typographic
     device, not reading copy. */
  .chip { padding: 11px 16px; font-size: .875rem; }
  .pair, .pair-tag { font-size: .88rem; }
  .board-beer span, .board-foot, .tap-city { font-size: .88rem; }
  .dish-cta { font-size: .9rem; }
  .tap-table tbody td::before { font-size: .78rem; }
  .tap-label, .addon-table thead th, .ingredient-col h3 { font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
