/* =========================================================================
   Brand-site marketing homepage.

   Design language: bold, warm, unpretentious. Typography does the heavy
   lifting — Anton for display, Inter for body. Colours come from the
   brand's palette via CSS custom properties set by brand-home.js.

   Sections alternate darker/lighter navy for visual rhythm.
   ========================================================================= */

:root {
  --brand-bg:        #131f3d;   /* deep navy — primary background */
  --brand-bg-alt:    #1c2b52;   /* slightly lighter navy — alternate sections */
  --brand-bg-panel:  #223466;   /* even lighter — card surfaces */
  --brand-fg:        #fafaf9;   /* off-white primary text */
  --brand-fg-muted:  #a8b0c7;   /* muted body copy */
  --brand-accent:    #ecac2f;   /* orange CTA */
  --brand-accent-fg: #131f3d;   /* dark text on orange = readable + punchy */
  --brand-accent-2:  #4bb8dc;   /* cyan secondary */
  --brand-border:    rgba(255,255,255,0.10);
  --brand-radius:    12px;
  --brand-radius-lg: 20px;
  --font-display:    "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --font-body:       "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--brand-bg);
  color: var(--brand-fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-accent); text-decoration: none; transition: opacity 0.15s; }
a:hover { opacity: 0.85; }
img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0 0 0.4em;
  text-transform: uppercase;
}
p { margin: 0 0 1em; }
strong { font-weight: 700; }

/* -------------------------- BUTTONS -------------------------- */
.bh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, border-color 0.15s ease;
  text-decoration: none !important;
  border: 2px solid transparent;
  white-space: nowrap;
}
.bh-btn:hover { transform: translateY(-1px); opacity: 1 !important; }
.bh-btn-primary {
  background: var(--brand-accent);
  color: var(--brand-accent-fg) !important;
}
.bh-btn-primary:hover { filter: brightness(1.08); }
.bh-btn-ghost {
  background: transparent;
  color: var(--brand-fg) !important;
  border-color: rgba(255,255,255,0.35);
}
.bh-btn-ghost:hover {
  background: var(--brand-fg);
  color: var(--brand-bg) !important;
  border-color: var(--brand-fg);
}
.bh-btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* -------------------------- HEADER -------------------------- */
.bh-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 40px);
  background: rgba(19, 31, 61, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--brand-border);
}
.bh-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--brand-fg) !important;
  letter-spacing: 0.02em;
}
.bh-mark img { height: 38px; width: auto; }
.bh-nav { display: flex; gap: 10px; }
.bh-nav .bh-btn { padding: 8px 18px; font-size: 0.9rem; }

/* -------------------------- HERO -------------------------- */
.bh-hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 90px) clamp(20px, 4vw, 60px);
  background: radial-gradient(ellipse at 50% 30%, var(--brand-bg-alt) 0%, var(--brand-bg) 70%);
  position: relative;
  overflow: hidden;
}
@media (max-width: 640px) {
  /* Cap the mobile hero so it doesn't dominate the whole first fold —
     empty space with a wordmark isn't "premium", it's "sparse". Let
     the food photos below start to peek. */
  .bh-hero { min-height: min(80vh, 640px); padding-top: 32px; padding-bottom: 48px; }
}
.bh-hero-inner {
  max-width: 960px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}
.bh-hero-title {
  margin: 0 auto 20px;
  max-width: 720px;
}
.bh-hero-title img {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}
.bh-hero-title:not(:has(img)) {
  font-size: clamp(4rem, 12vw, 9rem);
  color: var(--brand-fg);
}
.bh-hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--brand-fg);
  margin: 0.4em 0 1.4em;
  letter-spacing: 0.02em;
}
.bh-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.bh-hero-meta {
  margin-top: 44px;
  font-size: 0.78rem;
  color: var(--brand-fg-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Visually hidden for accessible-name preservation on image titles */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* -------------------------- PROOF STRIP -------------------------- */
.bh-proof {
  background: var(--brand-bg-alt);
  padding: clamp(30px, 5vw, 60px) clamp(20px, 4vw, 40px);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}
.bh-proof-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.bh-proof-item { display: flex; flex-direction: column; gap: 4px; }
.bh-proof-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  color: var(--brand-accent);
  line-height: 1;
}
.bh-proof-label {
  font-size: 0.85rem;
  color: var(--brand-fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 640px) {
  .bh-proof-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* -------------------------- SECTION HEADERS -------------------------- */
.bh-section-header {
  max-width: 900px;
  margin: 0 auto clamp(30px, 5vw, 60px);
  text-align: center;
  padding: 0 20px;
}
.bh-section-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--brand-fg);
  margin-bottom: 0.2em;
}
.bh-section-sub {
  font-size: 1.1rem;
  color: var(--brand-fg-muted);
  margin: 0;
}
.bh-section-sub-inline {
  color: var(--brand-accent);
  font-family: var(--font-display);
  display: inline;
}

/* -------------------------- FEATURED HITTERS -------------------------- */
.bh-featured {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
}
.bh-featured-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.bh-featured-card {
  background: var(--brand-bg-alt);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.bh-featured-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-accent);
}
.bh-featured-image {
  aspect-ratio: 4 / 3;
  background: var(--brand-bg-panel);
  background-size: cover;
  background-position: center;
}
.bh-featured-body { padding: 20px 22px 22px; }
.bh-featured-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brand-fg);
  margin: 0 0 8px;
  line-height: 1.1;
}
.bh-featured-desc {
  color: var(--brand-fg-muted);
  font-size: 0.92rem;
  margin: 0 0 14px;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bh-featured-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bh-featured-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brand-accent);
}
.bh-featured-card .bh-btn { padding: 8px 18px; font-size: 0.9rem; }

/* -------------------------- SKELETONS ---------------------------
   Shimmer placeholders shown while the menu API is in flight.
   Gets replaced by real content once brand-home.js populates the grids. */
@keyframes bh-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.bh-skeleton { pointer-events: none; }
.bh-skel-block,
.bh-skel-line {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.10) 40%, rgba(255,255,255,0.04) 80%);
  background-size: 800px 100%;
  animation: bh-shimmer 1.6s ease-in-out infinite;
  border-radius: 6px;
}
.bh-skel-block { width: 100%; height: 100%; aspect-ratio: 4 / 3; }
.bh-skel-line  { height: 14px; margin: 10px 0; }
.bh-featured-card.bh-skeleton { border-color: transparent; }
.bh-featured-card.bh-skeleton .bh-featured-image { background: none; }

/* -------------------------- STORY -------------------------- */
.bh-story {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
  background: var(--brand-bg-alt);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}
.bh-story-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.bh-story-copy .bh-section-title { text-align: left; margin-bottom: 24px; }
.bh-story-body {
  color: var(--brand-fg-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}
.bh-story-body p { margin: 0 0 1.2em; }
.bh-story-body p:last-child { margin-bottom: 0; }
.bh-story-body a { color: var(--brand-accent-2); border-bottom: 1px solid rgba(75,184,220,0.4); }
.bh-story-visual img {
  width: 100%;
  border-radius: var(--brand-radius-lg);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.3));
}
@media (max-width: 800px) {
  .bh-story-inner { grid-template-columns: 1fr; }
  .bh-story-visual { order: -1; }
}

/* -------------------------- LINEUP (full menu) -------------------------- */
.bh-lineup {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
}
.bh-lineup-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.bh-lineup-loading {
  text-align: center;
  color: var(--brand-fg-muted);
  grid-column: 1 / -1;
}
.bh-lineup-item {
  background: var(--brand-bg-alt);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}
.bh-lineup-item:hover { transform: translateY(-2px); }
.bh-lineup-item-image {
  aspect-ratio: 1 / 1;
  background: var(--brand-bg-panel);
  background-size: cover;
  background-position: center;
}
.bh-lineup-item-body { padding: 12px 14px; }
.bh-lineup-item-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brand-fg);
  margin: 0 0 4px;
  line-height: 1.1;
}
.bh-lineup-item-price {
  color: var(--brand-accent);
  font-weight: 600;
  font-size: 0.95rem;
}
.bh-lineup-cta {
  text-align: center;
  margin-top: 50px;
}

/* -------------------------- GALLERY (Instagram-style) -------------------------- */
.bh-gallery {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
  background: var(--brand-bg-alt);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}
.bh-gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}
.bh-gallery-tile {
  aspect-ratio: 1 / 1;
  background-color: var(--brand-bg-panel);
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  transition: transform 0.2s ease;
  display: block;
}
.bh-gallery-tile:hover { transform: scale(1.03); }

/* -------------------------- VISIT -------------------------- */
.bh-visit {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
}
.bh-visit-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.bh-visit .bh-section-title {
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 50px);
}
.bh-visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.bh-visit-block {
  background: var(--brand-bg-alt);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-lg);
  padding: 30px 26px;
}
.bh-visit-label {
  font-size: 0.85rem;
  color: var(--brand-accent-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-weight: 700;
}
.bh-visit-text {
  color: var(--brand-fg);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 20px;
}
@media (max-width: 640px) { .bh-visit-grid { grid-template-columns: 1fr; } }

/* -------------------------- THE KITCHENS (multi-venue grid) -------------
   Replaces the old "Come find us" section. 3-card layout of Teesside
   locations. "Coming soon" venues get a pill + subtly reduced emphasis. */
.bh-kitchens {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
  background: var(--brand-bg-alt);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}
.bh-kitchens-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.bh-kitchen-card {
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s ease;
}
.bh-kitchen-card:hover { border-color: var(--brand-accent); }
.bh-kitchen-card--coming { opacity: 0.85; }
.bh-kitchen-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.bh-kitchen-city {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--brand-fg);
  margin: 0;
  letter-spacing: 0.03em;
  line-height: 1;
}
.bh-kitchen-pill {
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  white-space: nowrap;
}
.bh-kitchen-pill--coming {
  background: rgba(75,184,220,0.15);
  color: var(--brand-accent-2);
  border: 1px solid rgba(75,184,220,0.4);
}
.bh-kitchen-venue {
  color: var(--brand-fg-muted);
  font-size: 0.9rem;
  margin: 0;
}
.bh-kitchen-venue strong { color: var(--brand-fg); font-weight: 600; }
.bh-kitchen-addr {
  color: var(--brand-fg);
  font-size: 1rem;
  margin: 4px 0;
  line-height: 1.4;
}
.bh-kitchen-days {
  color: var(--brand-accent-2);
  font-size: 0.9rem;
  margin: 4px 0 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.bh-kitchen-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  flex-wrap: wrap;
}
.bh-kitchen-actions .bh-btn { padding: 8px 18px; font-size: 0.88rem; }

/* -------------------------- COMING UP (events list) --------------------- */
.bh-events {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 60px);
  border-bottom: 1px solid var(--brand-border);
}
.bh-events-list {
  max-width: 780px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.bh-event {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--brand-border);
  align-items: baseline;
}
.bh-event:last-child { border-bottom: 0; }
.bh-event > a {
  display: contents;
  color: inherit;
  text-decoration: none;
}
.bh-event > a:hover { color: var(--brand-accent); }
.bh-event-when {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bh-event-date {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brand-accent);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.bh-event-time {
  color: var(--brand-fg-muted);
  font-size: 0.85rem;
}
.bh-event-what {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bh-event-title {
  font-size: 1.1rem;
  color: var(--brand-fg);
  font-weight: 700;
}
.bh-event-venue {
  color: var(--brand-fg-muted);
  font-size: 0.92rem;
}
.bh-event-notes {
  color: var(--brand-fg-muted);
  font-size: 0.85rem;
  font-style: italic;
}
@media (max-width: 560px) {
  .bh-event { grid-template-columns: 1fr; gap: 4px; }
  .bh-event-date { font-size: 1rem; }
}

/* -------------------------- PICKY STRIP (downgraded per audit #9) --------
   Full "Craving something else too?" section demoted DING inside its own
   homepage. This is now a single quiet line above the footer — a nod,
   not a hard sell. */
.bh-picky-strip {
  padding: 28px 20px 40px;
  text-align: center;
  color: var(--brand-fg-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--brand-border);
}
.bh-picky-strip a {
  color: var(--brand-accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(236,172,47,0.35);
}
.bh-picky-strip a:hover { border-bottom-color: var(--brand-accent); }

/* -------------------------- CROSS-PROMO (legacy, unused) -------------- */
.bh-crosspromo {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 60px);
  text-align: center;
  background: linear-gradient(135deg, var(--brand-bg) 0%, var(--brand-bg-alt) 100%);
  border-top: 1px solid var(--brand-border);
}
.bh-crosspromo-inner {
  max-width: 680px;
  margin: 0 auto;
}
.bh-crosspromo-label {
  font-size: 0.85rem;
  color: var(--brand-accent-2);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 12px;
  font-weight: 700;
}
.bh-crosspromo-copy {
  color: var(--brand-fg-muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

/* -------------------------- COOKIE NOTICE ------------------------------
   Minimal one-cookie declaration (UK GDPR + PECR compliant). Not a
   consent gate — we don't set anything requiring consent — just an
   acknowledgment. Dismissable, persisted in localStorage. */
.bh-consent {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: calc(100% - 24px);
  z-index: 40;
  background: var(--brand-bg-alt);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  color: var(--brand-fg-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}
.bh-consent-copy { margin: 0; flex: 1; }
.bh-consent-copy a { color: var(--brand-accent); }
.bh-consent .bh-btn { padding: 8px 20px; font-size: 0.85rem; flex-shrink: 0; }
@media (max-width: 640px) {
  /* Move above the sticky-order bar on mobile so both are visible */
  .bh-consent { bottom: 80px; }
}

/* -------------------------- STICKY ORDER (mobile only) -----------------
   Bottom-of-viewport CTA. Hidden on desktop where the header Order button
   is always visible. Ensures thumb-reach conversion on phones — biggest
   audit item for mobile UX. */
.bh-sticky-order {
  display: none;
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 30;
  text-align: center;
  padding: 0;
}
.bh-sticky-order .bh-btn {
  display: block;
  width: 100%;
  padding: 16px 24px;
  font-size: 1.05rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
@media (max-width: 640px) {
  .bh-sticky-order { display: block; }
  /* Add breathing room at the bottom of the page so the sticky bar
     doesn't cover the footer legal on last-scroll. */
  .bh-footer { padding-bottom: 100px; }
}

/* -------------------------- FOOTER -------------------------- */
.bh-footer {
  padding: 50px clamp(20px, 4vw, 40px) 40px;
  background: var(--brand-bg);
  border-top: 1px solid var(--brand-border);
}
.bh-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: var(--brand-fg-muted);
  font-size: 0.92rem;
}
.bh-footer-socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 24px;
}
.bh-footer-socials a {
  color: var(--brand-fg);
  border: 1px solid var(--brand-border);
  padding: 8px 18px;
  border-radius: 999px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.bh-footer-socials a:hover {
  border-color: var(--brand-accent);
  background: rgba(236,172,47,0.08);
}
.bh-footer-legal { margin: 0 0 6px; }
.bh-footer-legal a { color: var(--brand-fg); opacity: 0.85; }
.bh-footer-small { font-size: 0.82rem; opacity: 0.8; }

/* -------------------------- MOBILE TWEAKS -------------------------- */
@media (max-width: 640px) {
  .bh-header { padding: 12px 16px; }
  .bh-nav .bh-btn { padding: 6px 14px; font-size: 0.82rem; }
  .bh-hero { min-height: 80vh; padding: 40px 20px; }
  .bh-hero-actions { flex-direction: column; align-items: stretch; }
  .bh-hero-actions .bh-btn { justify-content: center; }
}
