/* =========================================================
   The Tyre Clinic, Hull
   Brand: black / red / white (from logo + shop signage)
   ========================================================= */

:root {
  /* Brand */
  --red: #e01b22;          /* 6.3:1 on white */
  --red-dark: #b9141a;
  --red-bright: #ff474d;   /* for red text on near-black (5.9:1) */
  --black: #000000;        /* matches the logo artwork background */
  --ink: #111113;
  --charcoal: #1b1b1e;
  --charcoal-2: #26262a;
  --white: #ffffff;

  /* Neutrals */
  --text: #18181b;
  --text-muted: #52525b;   /* 7.5:1 on white */
  --text-on-dark: #f4f4f5;
  --text-on-dark-muted: #b4b4bb; /* 9:1 on --ink */
  --surface: #f4f4f5;
  --border: #e4e4e7;
  --border-dark: #2e2e33;
  --star: #fbbf24;

  /* Type */
  --font-display: "Saira", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing (8pt) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-y: clamp(4rem, 9vw, 7rem);

  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.06), 0 2px 6px rgb(0 0 0 / 0.06);
  --shadow-md: 0 8px 24px rgb(0 0 0 / 0.12);
  --shadow-lg: 0 20px 48px rgb(0 0 0 / 0.22);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --dur-slow: 600ms;

  --header-h: 96px;
  --z-header: 100;
  --z-quickbar: 90;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-stretch: 112%; line-height: 1.1; margin: 0; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.icon {
  width: 1.25em; height: 1.25em;
  flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.sr-only { position: absolute; 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: 16px; top: -100px; z-index: 1000;
  background: var(--red); color: var(--white); padding: 12px 18px; font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.text-red { color: var(--red); }
.text-red-light { color: var(--red-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0.75rem 1.5rem;
  font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 56px; padding: 0.9rem 1.75rem; font-size: 1.0625rem; }
.btn-sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 6px 18px rgb(224 27 34 / 0.35); }
.btn-red:hover { background: var(--red-dark); }
.btn-outline-light { border-color: rgb(255 255 255 / 0.85); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--black); }
.btn-white { background: var(--white); color: var(--red-dark); }
.btn-white:hover { background: var(--black); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--black);
  color: var(--white);
  transition: box-shadow var(--dur) var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgb(0 0 0 / 0.45); }
.header-inner { display: flex; align-items: stretch; justify-content: space-between; height: 72px; }

.brand {
  display: block; flex-shrink: 0;
  height: 100%; aspect-ratio: 2 / 1;
  overflow: hidden;
}
.brand img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }

.header-right { display: flex; flex-direction: column; justify-content: center; }
.topbar { display: none; }

.social { display: flex; gap: var(--space-2); }
.social a {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  color: var(--text-on-dark); transition: background-color var(--dur) var(--ease-out), color var(--dur);
}
.social a:hover { background: var(--red); color: var(--white); }
.social .icon { width: 18px; height: 18px; }

/* Mobile nav */
.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 44px; padding: 0 var(--space-4);
  background: var(--red); border: 0; border-radius: var(--radius); color: var(--white);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.875rem;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-list {
  position: absolute; left: 0; right: 0; top: 100%;
  display: none; flex-direction: column;
  background: var(--ink); border-top: 3px solid var(--red);
  padding: var(--space-2) 16px var(--space-5);
  box-shadow: var(--shadow-lg);
  max-height: calc(100dvh - 72px); overflow-y: auto;
}
.nav-list.is-open { display: flex; }
.nav-list a {
  display: block; padding: 14px 4px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; text-transform: uppercase; letter-spacing: 0.04em;
  text-decoration: none; color: var(--text-on-dark);
  border-bottom: 1px solid var(--border-dark);
}
.nav-list a.is-active { color: var(--red-bright); }
.nav-list .nav-cta-item { margin-top: var(--space-4); }
.nav-list .nav-cta-item a { display: flex; border-bottom: 0; color: var(--white); min-height: 52px; font-size: 1rem; }

@media (min-width: 1024px) {
  :root { --header-h: 104px; }
  .header-inner { height: var(--header-h); padding-left: 0; }
  .brand { position: relative; padding-right: 0; height: 100%; }
  .header-right { flex: 1; justify-content: stretch; margin-left: var(--space-4); }

  .topbar {
    display: flex; align-items: center; justify-content: flex-end; gap: var(--space-5);
    height: 44px; font-size: 0.9375rem; color: var(--text-on-dark);
  }
  .topbar-link { display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none; }
  .topbar-link:hover strong { color: var(--red-bright); }
  .topbar-link .icon, .topbar-status .icon { color: var(--red-bright); width: 16px; height: 16px; }
  .topbar-status { display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none; }
  .topbar-status:hover span { color: var(--red-bright); text-decoration: underline; text-underline-offset: 3px; }
  .topbar-status.is-open span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-right: 6px; vertical-align: 1px; }

  .main-nav {
    position: relative;
    height: 60px; display: flex; align-items: center; justify-content: flex-end;
    background: var(--red);
    clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%);
    padding: 0 var(--space-4) 0 var(--space-7);
  }
  .nav-toggle { display: none; }
  .nav-list {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 2px;
    background: none; border: 0; padding: 0; box-shadow: none; max-height: none; overflow: visible;
  }
  .nav-list a {
    position: relative; padding: 8px 9px; border: 0; color: var(--white);
    font-size: 0.875rem; font-weight: 700; letter-spacing: 0.02em;
  }
  .nav-list a::after {
    content: ""; position: absolute; left: 9px; right: 9px; bottom: 2px; height: 2px; background: var(--white);
    transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
  }
  .nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
  .nav-list a.is-active { color: var(--white); }
  .nav-list .nav-cta-item { margin: 0 0 0 var(--space-3); }
  .nav-list .nav-cta-item a { min-height: 40px; background: var(--black); box-shadow: none; }
  .nav-list .nav-cta-item a::after { display: none; }
  .nav-list .nav-cta-item a:hover { background: var(--white); color: var(--red-dark); }
  .main-nav :focus-visible { outline-color: var(--white); }
  .nav-list a { white-space: nowrap; }
}

/* Small laptops: tighten the nav so labels stay on one line */
@media (min-width: 1024px) and (max-width: 1199px) {
  .header-inner { padding-inline: 20px; }
  .header-right { margin-left: var(--space-2); }
  .topbar { gap: var(--space-4); font-size: 0.875rem; }
  .main-nav { padding-left: 36px; padding-right: var(--space-2); }
  .nav-list { gap: 0; }
  .nav-list a { padding-inline: 7px; letter-spacing: 0; }
  .nav-list a::after { left: 7px; right: 7px; }
  .nav-list .nav-cta-item { margin-left: var(--space-2); }
  .nav-list .nav-cta-item a { padding-inline: 1rem; } /* keep the Call now button its normal size */
  .nav-long { display: none; } /* "Opening Hours" -> "Hours", "About Us" -> "About", "Contact Us" -> "Contact" */
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section-y); }
/* Nav jumps skip most of the top padding so the heading lands just under the header */
.section[id] { scroll-margin-top: calc(var(--space-4) - var(--section-y)); }
.section-head { max-width: 680px; margin: 0 auto var(--space-7); text-align: center; }
.section-head-left { margin-inline: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 800; text-transform: uppercase; }
.section-head p { color: var(--text-muted); font-size: 1.125rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  margin-bottom: var(--space-3);
  font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--red-bright); }
.head-rule {
  display: block; width: 64px; height: 5px; margin: var(--space-4) auto var(--space-5);
  background: var(--red); transform: skewX(-24deg);
  box-shadow: 14px 0 0 -0px var(--red-dark);
}
.section-head-left .head-rule { margin-left: 4px; }

/* Dark sections */
.services, .reviews { background: var(--ink); color: var(--text-on-dark); }
.services .section-head p, .reviews .section-head p { color: var(--text-on-dark-muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: clamp(560px, 86vh, 780px);
  display: flex; align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}
/* Phones: the photos fill the hero behind the text */
.hero-media, .hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: hero-zoom 8s ease-out infinite alternate;
}
.hero-slide-dog { object-position: 39% 50%; }
.hero-slide-mitsubishi { object-position: 45% 50%; opacity: 0; animation: hero-zoom 8s ease-out infinite alternate, hero-fade 16s ease-in-out infinite; }
@keyframes hero-fade { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-slide { animation: none; } } /* stays on the dog photo */

.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(11 11 12 / 0.55) 0%, rgb(11 11 12 / 0.75) 55%, rgb(11 11 12 / 0.95) 100%);
}
/* Desktop: text on the left, photos in a slanted panel on the right with a red edge like the nav bar */
@media (min-width: 900px) {
  .hero-media {
    left: auto; width: 46%;
    background: var(--red); clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero-slides { clip-path: polygon(calc(15% + 14px) 0, 100% 0, 100% 100%, 14px 100%); }
  .hero-slide-dog { object-position: 36% 45%; } /* keeps the full sign in view on narrower laptops */
  .hero-slide-mitsubishi { object-position: 50% 45%; }
  .hero-overlay { background: radial-gradient(ellipse 50% 70% at 10% 60%, rgb(224 27 34 / 0.14), transparent 70%); }
  /* Stop the text 48px short of the photo panel's bottom-left corner (54% across), allowing for the
     centred 1200px container on wide screens. The heading sits higher, where the slant is further right. */
  .hero-content > :not(h1) { max-width: calc(54vw - max(0px, (100vw - 1200px) / 2) - 32px - 48px); }
  /* The badges are short and sit low, where the slant has moved right a little, so they can run closer to
     the corner. They wrap as two rows of two. */
  .hero-content > .hero-badges { max-width: calc(54vw - max(0px, (100vw - 1200px) / 2) - 32px - 12px); column-gap: 20px; }
}
@media (min-width: 900px) and (max-width: 1599px) {
  .hero-content .hero-badges li { font-size: 0.9375rem; } /* extra class so it beats the base .hero-badges li rule further down */
}
.hero-content { padding-block: var(--space-8); }
.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.375rem, 6vw, 4.25rem); font-weight: 800; text-transform: uppercase; line-height: 1.02;
  text-wrap: balance;
}
.hero h1 .text-red { color: var(--red-bright); }
.hero-brand { display: block; }
.hero-lead { max-width: 52ch; margin: var(--space-5) 0 var(--space-6); font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: #e4e4e7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin-top: var(--space-7); }
.hero-badges li { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 1rem; color: #e4e4e7; }
.hero-badges .icon { color: var(--red-bright); }
.hero-badges strong { color: var(--white); }

@media (max-width: 479px) {
  .hero-actions .btn { width: 100%; }
  .hero-badges { flex-direction: column; gap: var(--space-2); margin-top: var(--space-6); }
}

/* ---------- Why choose us ---------- */
.why-grid { display: grid; gap: var(--space-7); align-items: center; }
.why-media { position: relative; margin: 0 12px 12px 0; }
.why-media::before {
  content: ""; position: absolute; inset: 20px -12px -12px 20px; background: var(--red); border-radius: var(--radius-lg); z-index: -1;
}
.why-media { isolation: isolate; }
.why-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.why-badge {
  position: absolute; left: -8px; bottom: 32px;
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--black); color: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.why-badge-num { font-family: var(--font-display); font-stretch: 120%; font-weight: 800; font-size: 3rem; line-height: 1; color: var(--red-bright); }
.why-badge-text { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.06em; line-height: 1.3; }

.feature-list { display: grid; gap: var(--space-5); }
.feature { display: flex; gap: var(--space-4); align-items: flex-start; }
.feature-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--charcoal); color: var(--white);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--border);
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.feature:hover .feature-icon { background: var(--red); box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--red); }
.feature-icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1875rem; font-weight: 700; text-transform: uppercase; margin: 4px 0 6px; }
.feature p { color: var(--text-muted); font-size: 1rem; }

@media (min-width: 640px) { .feature-list { grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-5); } }
@media (min-width: 960px) {
  .why-grid { grid-template-columns: 5fr 7fr; gap: var(--space-8); }
}

/* ---------- Services ---------- */
.service-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); } }
@media (min-width: 1100px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .service-card { padding: var(--space-5); }
  .card-link { font-size: 0.9375rem; letter-spacing: 0.02em; white-space: nowrap; }
}

/* Each card spans 4 rows of the parent grid (icon, title, text, link) and shares
   them via subgrid, so titles and descriptions line up across a row even when
   one title wraps onto two lines and its neighbour doesn't. */
.service-card {
  display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start;
  position: relative; overflow: hidden;
  padding: var(--space-6);
  background: var(--charcoal); border: 1px solid var(--border-dark); border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-slow) var(--ease-out);
}
.service-card:hover { transform: translateY(-4px); border-color: #45454c; box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: var(--space-5);
  background: var(--red); color: var(--white);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}
.service-icon .icon { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.3125rem; font-weight: 800; text-transform: uppercase; margin-bottom: var(--space-3); color: var(--white); }
.service-card p { color: var(--text-on-dark-muted); font-size: 1rem; }
.service-card-hot { background: linear-gradient(160deg, #3a0e10 0%, var(--charcoal) 60%); border-color: #5a1a1d; }
.card-link {
  justify-self: start; align-self: start;
  display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-4);
  min-height: 44px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none;
  color: var(--red-bright);
}
.card-link .icon { transition: transform var(--dur) var(--ease-out); }
.card-link:hover .icon { transform: translateX(4px); }

/* ---------- Callout band ---------- */
.callout-band { position: relative; isolation: isolate; overflow: hidden; background: var(--red); color: var(--white); padding-block: var(--space-7); }
.callout-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.16; filter: grayscale(1) contrast(1.2); mix-blend-mode: multiply; z-index: -1; }
.callout-inner { display: flex; flex-direction: column; gap: var(--space-5); align-items: flex-start; }
.callout-inner h2 { font-size: clamp(1.625rem, 3.4vw, 2.375rem); font-weight: 800; text-transform: uppercase; }
.callout-inner p { font-size: 1.125rem; margin-top: var(--space-2); }
@media (min-width: 768px) { .callout-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- About ---------- */
.about-grid { display: grid; gap: var(--space-7); align-items: center; }
.about-body > .reveal p { color: var(--text-muted); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-6); }
.about-stats li {
  padding: var(--space-4) var(--space-3); text-align: center;
  background: var(--surface); border-radius: var(--radius); border-bottom: 3px solid var(--red);
}
.about-stats strong { display: block; font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: clamp(1.375rem, 3vw, 2rem); line-height: 1.1; color: var(--text); }
.about-stats span { font-size: 0.875rem; color: var(--text-muted); line-height: 1.3; display: block; margin-top: 4px; }

.about-media { position: relative; padding-bottom: 18%; padding-left: 14%; }
.about-img-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about-img-sub {
  position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; object-position: 50% 60%;
  border-radius: var(--radius-lg); border: 6px solid var(--white); box-shadow: var(--shadow-lg);
}
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 6fr 6fr; gap: var(--space-8); }
  .about-img-main { aspect-ratio: 4 / 4.4; }
}

/* ---------- Local legend ---------- */
.legend {
  background: radial-gradient(ellipse 60% 70% at 85% 50%, rgb(224 27 34 / 0.16), transparent 70%), var(--ink);
  color: var(--text-on-dark);
}
.legend .section-head { margin-bottom: 0; }
.legend .section-head p { color: var(--text-on-dark-muted); }
.legend-grid { display: grid; gap: var(--space-7); align-items: center; }
.legend-meta { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin-top: var(--space-5); }
.legend-meta li { display: inline-flex; align-items: center; gap: var(--space-2); color: #e4e4e7; }
.legend-meta .icon { color: var(--red-bright); }

/* Red slanted block peeking out behind the player, echoing the nav bar */
.legend-media { position: relative; padding: 0 0 var(--space-4) var(--space-4); }
.legend-media::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%;
  background: var(--red); clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}
.legend-video {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--black); border: 1px solid var(--border-dark); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
/* The file has black bars down each side; cover crops them off */
.legend-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.legend-play {
  position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer; color: var(--white); text-align: left;
  background: linear-gradient(0deg, rgb(0 0 0 / 0.85) 0%, rgb(0 0 0 / 0.1) 55%, rgb(0 0 0 / 0.25) 100%);
}
.legend-play[hidden] { display: none; }
.legend-play .reel-play { top: 50%; }
.legend-play:hover .reel-play, .legend-play:focus-visible .reel-play { transform: scale(1.08); box-shadow: 0 0 0 14px rgb(224 27 34 / 0.3); }
.legend-play-text { position: absolute; left: var(--space-5); right: 5rem; bottom: var(--space-4); display: grid; gap: 2px; }
.legend-duration {
  position: absolute; right: var(--space-4); bottom: var(--space-4); padding: 2px 8px; border-radius: 4px;
  background: rgb(0 0 0 / 0.7); font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
/* On phones the player is too short for the title and play button together; the heading above covers it */
@media (max-width: 639px) { .legend-play-text { display: none; } }
@media (min-width: 960px) { .legend-grid { grid-template-columns: 5fr 7fr; gap: var(--space-8); } }

/* ---------- Gallery ---------- */
.gallery { background: var(--surface); }
.gallery-group + .gallery-group { margin-top: var(--space-7); }
.gallery-group-head { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-5); padding-bottom: var(--space-4); border-bottom: 2px solid var(--border); }
.gallery-group-icon {
  display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px;
  background: var(--red); color: var(--white);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}
.gallery-group-icon .icon { width: 24px; height: 24px; }
.gallery-group-head h3 { font-size: clamp(1.25rem, 2.6vw, 1.625rem); font-weight: 800; text-transform: uppercase; }
.gallery-group-head p { margin: 4px 0 0; color: var(--text-muted); font-size: 1rem; }

/* Every tile (photo or reel) shares the same 3:4 frame */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.gallery-item, .reel-card, .fb-card {
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 4;
  border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
}

.gallery-item { padding: 0; border: 0; background: var(--black); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur); }
.gallery-item:hover img { transform: scale(1.05); opacity: 0.9; }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--space-6) var(--space-3) var(--space-3);
  background: linear-gradient(0deg, rgb(0 0 0 / 0.85), transparent);
  color: var(--white); text-align: left;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.9375rem;
}

/* Reel tile: dark branded tile so it doesn't repeat the photos beside it */
.reel-card {
  color: var(--white); text-decoration: none;
  background:
    radial-gradient(circle at 50% 42%, rgb(224 27 34 / 0.35) 0%, transparent 55%),
    linear-gradient(160deg, var(--charcoal-2) 0%, var(--black) 100%);
  border: 1px solid var(--border-dark);
}
video.reel-card { object-fit: cover; background: var(--black); }
.reel-play {
  position: absolute; top: 42%; left: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: clamp(56px, 6.5vw, 76px); aspect-ratio: 1; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 10px rgb(224 27 34 / 0.25);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.reel-play .icon { width: 40%; height: 40%; fill: currentColor; margin-left: 4%; }
.reel-card:hover .reel-play { transform: scale(1.08); box-shadow: 0 0 0 14px rgb(224 27 34 / 0.3); }
.reel-text { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-3); display: grid; gap: 2px; }
.reel-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--red-bright); }
.reel-kicker .icon { width: 14px; height: 14px; }
.reel-title { font-family: var(--font-display); font-stretch: 105%; font-weight: 800; font-size: clamp(1rem, 1.6vw, 1.25rem); text-transform: uppercase; line-height: 1.1; }
.reel-sub { font-size: 0.875rem; color: #d4d4d8; }

/* Call bar under the mobile group */
.gallery-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4);
  margin-top: var(--space-4); padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--red) 0%, var(--red-dark) 100%); color: var(--white); text-decoration: none;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
.gallery-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Facebook promo panel under the gallery: text and button on the left, fanned photos on the right */
.fb-panel {
  position: relative; display: grid; gap: var(--space-6); align-items: center; overflow: hidden;
  margin-top: var(--space-7); padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-lg); color: var(--white); text-decoration: none;
  background: radial-gradient(ellipse 70% 120% at 100% 50%, rgb(24 119 242 / 0.35), transparent 70%), var(--black);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
.fb-panel:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.fb-panel-body { display: grid; gap: var(--space-3); justify-items: start; }
.fb-panel-kicker { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #7fb5ff; }
.fb-panel-kicker .icon { width: 18px; height: 18px; }
.fb-panel-title { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: clamp(1.625rem, 3.6vw, 2.5rem); line-height: 1.08; text-transform: uppercase; text-wrap: balance; }
.fb-panel-accent { color: #5aa2ff; }
.fb-panel-text { font-size: 1.0625rem; color: var(--text-on-dark-muted); }
.fb-panel-btn { margin-top: var(--space-3); background: #1877f2; color: var(--white); }
.fb-panel:hover .fb-panel-btn { background: #3b8cf5; }
.fb-panel-photos { display: flex; justify-content: center; padding-block: var(--space-3); }
.fb-panel-photos img { box-sizing: content-box; width: 28%; max-width: 170px; height: auto; aspect-ratio: 170 / 227; object-fit: cover; border-radius: var(--radius); border: 4px solid var(--white); box-shadow: var(--shadow-lg); transition: transform var(--dur-slow) var(--ease-out); }
.fb-panel-photos img:nth-child(1) { transform: rotate(-7deg) translateY(6px); }
.fb-panel-photos img:nth-child(2) { margin-inline: -4%; z-index: 1; transform: translateY(-6px); }
.fb-panel-photos img:nth-child(3) { transform: rotate(7deg) translateY(6px); }
.fb-panel:hover .fb-panel-photos img:nth-child(1) { transform: rotate(-10deg) translate(-6px, 4px); }
.fb-panel:hover .fb-panel-photos img:nth-child(3) { transform: rotate(10deg) translate(6px, 4px); }
@media (min-width: 900px) {
  .fb-panel { grid-template-columns: 6fr 5fr; padding: var(--space-7); }
  .fb-panel-photos img { width: 33%; }
}
/* Wide screens: show the photos at exactly 170x227, the size of the smallest file, so the browser doesn't rescale them */
@media (min-width: 1200px) {
  .fb-panel-photos img { width: 170px; height: 227px; }
  .fb-panel-photos img:nth-child(2) { margin-inline: -46px; }
}

/* Latest on Facebook row: photo cards that open the post */
.gallery-group-icon-fb { background: #1877f2; }
.fb-card { background: var(--black); color: var(--white); text-decoration: none; }
.fb-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur); }
.fb-card:hover img { transform: scale(1.05); opacity: 0.9; }
.fb-badge {
  position: absolute; top: var(--space-3); left: var(--space-3);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #1877f2; box-shadow: var(--shadow-sm);
}
.fb-badge .icon { width: 18px; height: 18px; }
.fb-card-sub { display: block; margin-top: 2px; font-family: var(--font-body); font-size: 0.8125rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: #d4d4d8; }
.gallery-cta-fb { background: var(--black); }
.gallery-cta-fb .gallery-cta-icon { background: #1877f2; }
.gallery-cta-fb .gallery-cta-number { display: inline-flex; align-items: center; gap: var(--space-2); }
.gallery-cta-icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / 0.18); }
.gallery-cta-title { flex: 1 1 12rem; font-family: var(--font-display); font-stretch: 105%; font-weight: 800; font-size: clamp(1.0625rem, 2vw, 1.375rem); text-transform: uppercase; line-height: 1.15; }
.gallery-cta-number { font-family: var(--font-display); font-weight: 800; font-size: clamp(1rem, 1.8vw, 1.25rem); text-transform: uppercase; letter-spacing: 0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gallery-cta:focus-visible { outline-color: var(--black); }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(5 5 6 / 0.94); color: var(--white);
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: rgb(0 0 0 / 0.6); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); padding: var(--space-8) 0; min-width: 0; }
.lightbox img { max-height: calc(100dvh - 9rem); width: auto; max-width: 100%; object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { font-family: var(--font-display); font-weight: 600; text-align: center; padding-inline: var(--space-4); }
.lightbox-btn {
  display: grid; place-items: center; width: 48px; height: 48px; margin: var(--space-2);
  background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.2); border-radius: 50%; color: var(--white);
  transition: background-color var(--dur);
}
.lightbox-btn:hover { background: var(--red); border-color: var(--red); }
.lightbox-close { position: absolute; top: var(--space-3); right: var(--space-3); }

/* ---------- Reviews ---------- */
.review-grid { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  position: relative; display: flex; flex-direction: column;
  padding: var(--space-6); background: var(--charcoal); border: 1px solid var(--border-dark); border-radius: var(--radius-lg);
}
.review-quote { position: absolute; top: var(--space-5); right: var(--space-5); width: 36px; height: 36px; color: var(--red); opacity: 0.6; }
.stars { display: flex; gap: 2px; color: var(--star); margin-bottom: var(--space-4); }
.stars .icon { width: 18px; height: 18px; }
.review-card blockquote { margin: 0 0 var(--space-5); flex: 1; color: var(--text-on-dark); font-size: 1.0625rem; }
.review-name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); }
.review-name span { display: block; font-family: var(--font-body); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 0.875rem; color: var(--text-on-dark-muted); }

.reviews-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-7); }

.rating-summary {
  display: flex; align-items: center; justify-content: center; gap: var(--space-5);
  width: fit-content; max-width: 100%; margin: 0 auto var(--space-7);
  padding: var(--space-5) var(--space-6);
  background: var(--charcoal); border: 1px solid var(--border-dark); border-radius: var(--radius-lg);
}
.rating-score { margin: 0; font-family: var(--font-display); font-stretch: 120%; font-weight: 800; font-size: clamp(3rem, 8vw, 4.5rem); line-height: 1; color: var(--white); }
.stars-lg { margin-bottom: var(--space-2); }
.stars-lg .icon { width: 26px; height: 26px; }
.rating-meta { margin: 0; color: var(--text-on-dark-muted); }
.rating-meta strong { color: var(--white); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: var(--space-6); }
.faq-grid .section-head { margin-bottom: 0; }
.faq-grid .section-head a { color: var(--red); font-weight: 700; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: start; } .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); } }

.faq-list { display: grid; gap: var(--space-3); }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color var(--dur), box-shadow var(--dur); }
.faq-item[open] { border-color: var(--red); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  min-height: 56px; padding: var(--space-4) var(--space-5);
  font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: 1.0625rem;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--red); transition: transform var(--dur) var(--ease-out); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--red-dark); }
.faq-answer { padding: 0 var(--space-5) var(--space-5); color: var(--text-muted); }
.faq-answer a { color: var(--red); font-weight: 700; }

/* ---------- Contact ---------- */
.contact { background: var(--surface); }
.contact-grid { display: grid; gap: var(--space-5); }
.contact-cards { display: grid; gap: var(--space-3); align-content: start; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: 1fr 1fr; } .follow { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 7fr 5fr; } }

.contact-card {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-4) var(--space-5); min-height: 84px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none;
  transition: border-color var(--dur), transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
.contact-card:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.contact-icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: var(--white); }
.contact-card-wa .contact-icon { background: #128c4a; }
.contact-label { display: block; font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }
.contact-value { display: block; font-family: var(--font-display); font-stretch: 105%; font-weight: 800; font-size: 1.25rem; line-height: 1.25; }
.contact-value-sm { font-size: 1rem; font-weight: 700; }

/* Follow us: one tile per network, under the contact cards */
.follow { margin-top: var(--space-3); }
.follow-title {
  display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3);
  font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
}
.follow-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.follow-cards { display: grid; gap: var(--space-3); }
.follow-handle { display: block; font-size: 0.8125rem; color: var(--text-muted); overflow-wrap: anywhere; }
.follow-card-fb .contact-icon { background: #1877f2; }
.follow-card-ig .contact-icon { background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%); }
.follow-card-tt .contact-icon { background: #010101; }
.follow-card-fb:hover { border-color: #1877f2; }
.follow-card-ig:hover { border-color: #dc2743; }
.follow-card-tt:hover { border-color: #010101; }
@media (min-width: 640px) {
  .follow-cards { grid-template-columns: repeat(3, 1fr); }
  .follow-card { flex-direction: column; justify-content: center; gap: var(--space-3); padding: var(--space-5) var(--space-3); text-align: center; }
}

/* ---------- Opening hours ---------- */
.hours-grid { display: grid; gap: var(--space-6); align-items: center; }
.hours .section-head { margin-bottom: var(--space-5); }
.hours .hours-card { padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.sunday-card { background: var(--surface); border-left: 4px solid var(--red); }
@media (min-width: 900px) { .hours-grid { grid-template-columns: 5fr 7fr; gap: var(--space-8); } }

.hours-card { padding: var(--space-5); background: var(--black); color: var(--text-on-dark); border-radius: var(--radius); }
.hours-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); flex-wrap: wrap; }
.hours-head h3 { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 1.1875rem; font-weight: 800; text-transform: uppercase; color: var(--white); }
.hours-head h3 .icon { color: var(--red-bright); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 0.875rem; font-weight: 700; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill.is-open { background: rgb(34 197 94 / 0.15); color: #4ade80; }
.status-pill.is-closed { background: rgb(255 71 77 / 0.15); color: var(--red-bright); }
.hours-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-table th, .hours-table td { padding: 8px 10px; text-align: left; font-weight: 500; border-bottom: 1px solid var(--border-dark); }
.hours-table td { text-align: right; color: var(--text-on-dark-muted); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.is-today { background: rgb(224 27 34 / 0.18); }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--white); font-weight: 700; }
.hours-table tr.is-today th::after { content: "Today"; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--red); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; vertical-align: 2px; }

.map-wrap { min-height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--border); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--text-on-dark-muted); padding-top: var(--space-8); font-size: 1rem; }
.footer-grid { display: grid; gap: var(--space-6); padding-bottom: var(--space-7); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.footer-brand img { width: 240px; aspect-ratio: 2 / 1; object-fit: cover; margin-bottom: var(--space-4); margin-left: -16px; }
.footer-brand p { max-width: 36ch; }
.footer-brand .social { margin-top: var(--space-4); }
.footer-title { font-size: 1.0625rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--white); margin-bottom: var(--space-4); }
.footer-title::after { content: ""; display: block; width: 32px; height: 3px; background: var(--red); margin-top: var(--space-2); }
.footer-links li { padding: 4px 0; }
.footer-links a { text-decoration: none; display: inline-block; padding: 2px 0; }
.footer-links a:hover, .footer-contact a:hover { color: var(--red-bright); }
.footer-contact li { display: flex; gap: var(--space-3); padding: 6px 0; }
.footer-contact .icon { color: var(--red-bright); margin-top: 4px; width: 18px; height: 18px; }
.footer-contact a { text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--border-dark); padding-block: var(--space-5); font-size: 0.875rem; }

/* ---------- Mobile quick-action bar ---------- */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-quickbar);
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--black); border-top: 1px solid var(--border-dark);
  padding-bottom: env(safe-area-inset-bottom);
}
.quickbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 60px; text-decoration: none; color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.quickbar a:first-child { background: var(--red); }
.quickbar a + a { border-left: 1px solid var(--border-dark); }
body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) {
  .quickbar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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