/* La Familia Restaurant & Bar
   Palette taken from the printed menu: charcoal slate and off-white, with the logo's red as the accent and menu gold for prices. */

:root {
  --night: #1a1816;
  --night-2: #211e1b;
  --slate: #29251f;
  --slate-2: #322d27;
  --paper: #f4ede2;
  --paper-2: #ebe2d4;
  --ink: #1f1a16;
  --ink-2: #4a4038;
  --ink-line: rgba(31, 26, 22, .14);
  --gold: #e4b53c;
  --gold-soft: #d7aa45;
  --gold-deep: #b8892a;
  --red: #b81f27;
  --red-deep: #8f161c;
  --red-text: #e2474b;
  --text: #f3efe6;
  --text-2: #cfc9bd;
  --muted: #958f84;
  --line: rgba(226, 71, 75, .35);
  --line-soft: rgba(243, 239, 230, .1);
  --red: #a3212a;
  --co-yellow: #fcd116;
  --co-blue: #003893;
  --co-red: #ce1126;

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Yellowtail", cursive;

  --header-h: 76px;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background-color: var(--night);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .88 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--red); color: var(--text); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* ---------- Type ---------- */

.label {
  display: block;
  font-family: var(--script);
  font-size: clamp(24px, 3vw, 30px);
  color: var(--red-text);
  line-height: 1.1;
  margin-bottom: 10px;
}

h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; line-height: 1.08; }

h2 {
  font-size: clamp(38px, 5.4vw, 64px);
  letter-spacing: -.01em;
  color: var(--text);
}
h2 em { font-style: normal; color: inherit; }

.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--red); color: var(--text); background: var(--red);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn.ghost { background: transparent; color: var(--text); border-color: rgba(243, 239, 230, .45); }
.btn.ghost:hover { background: var(--red); border-color: var(--red); color: var(--text); }
.btn svg { width: 18px; height: 18px; flex: none; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 16px/1.2 var(--sans); letter-spacing: .005em;
  text-decoration: none; color: var(--text);
  padding: 6px 0; border-bottom: 1px solid var(--line);
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link:hover { border-color: var(--red-text); gap: 12px; }
.link::after { content: "→"; font-size: 16px; }
.light .link { color: var(--ink); }

.tricolour { display: flex; width: 54px; height: 3px; margin: 18px auto 0; }
.tricolour span { flex: 1; }
.tricolour span:nth-child(1) { background: var(--co-yellow); }
.tricolour span:nth-child(2) { background: var(--co-blue); }
.tricolour span:nth-child(3) { background: var(--co-red); }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(26, 24, 22, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line-soft); }
.site-header .container {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.header-cta { justify-self: start; }
.header-cta .btn { min-height: 40px; padding: 10px 18px; font-size: 12px; }

.wordmark { text-decoration: none; text-align: center; line-height: 1; }
.site-header .wordmark { display: flex; align-items: center; gap: 12px; }
.head-logo {
  width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold-deep);
}
.site-header .wordmark .sub { max-height: 16px; overflow: hidden; transition: max-height .35s var(--ease), opacity .3s var(--ease), margin .35s var(--ease); }
.site-header.scrolled .wordmark .sub { max-height: 0; opacity: 0; margin-top: 0; }
.wordmark .name { display: block; font-family: var(--script); font-size: 36px; color: var(--text); }
.wordmark .sub {
  display: block; margin-top: 2px;
  font: 600 10px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--text-2);
}

.menu-toggle {
  justify-self: end;
  width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center; color: var(--text);
}
.menu-toggle span { display: block; width: 30px; height: 1.5px; background: currentColor; position: relative; transition: background .2s; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; right: 0; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), width .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span::before { top: -8px; width: 30px; }
.menu-toggle span::after { top: 8px; width: 20px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-toggle span::after { top: 0; width: 30px; transform: rotate(-45deg); }

/* Full-screen navigation */
.nav-panel {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--night);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 36px;
  padding: 32px var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  overflow-y: auto;
}
.nav-open .nav-panel { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }
.nav-panel ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.nav-panel li + li { margin-top: 8px; }
.nav-panel ul a {
  font-family: var(--display); font-weight: 500; font-size: clamp(40px, 7vw, 64px); text-decoration: none; color: var(--text);
  transition: color .2s;
}
.nav-panel ul a:hover, .nav-panel ul a[aria-current="page"] { color: var(--red-text); }
.nav-meta { text-align: center; color: var(--text-2); font-size: 15px; }
.nav-meta a { text-decoration: none; color: var(--text); }

/* ---------- Hero: panel beside sliding photos ---------- */

.hero-split { padding: 0; }
.hero-split .container { position: relative; max-width: none; padding: 0; }
.hero-split .slider { position: relative; touch-action: pan-y; }
.hero-split .slide {
  display: grid; grid-template-columns: max(340px, 32%) 1fr;
  height: calc(100vh - var(--header-h)); min-height: 560px; max-height: 920px;
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s;
}
.hero-split .slide.is-active { position: relative; opacity: 1; visibility: visible; }
.hero-split .panel {
  background: var(--slate);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 48px clamp(28px, 4vw, 64px) 72px; gap: 20px;
}
.panel-logo {
  width: clamp(76px, 7vw, 96px); height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; border: 2px solid var(--gold-deep); box-shadow: 0 6px 24px rgba(0, 0, 0, .45);
}
.panel-title {
  font-family: var(--display); font-weight: 500; font-size: clamp(34px, 3.4vw, 54px); line-height: 1.1; margin: 0; color: var(--text); text-wrap: balance;
}
.hero-split .dots { position: absolute; left: 0; bottom: 24px; width: max(340px, 32%); padding: 0; z-index: 2; }
.hero-split.panel-colour .dots button::before { background: rgba(243, 239, 230, .4); }
.hero-split.panel-colour .dots button[aria-current="true"]::before { background: var(--text); }
.hero-split .photo { position: relative; overflow: hidden; background: var(--slate-2); }
.hero-split .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.hero-split .slide.is-active .photo img { transform: scale(1); }

.dots { display: flex; justify-content: center; gap: 10px; padding: 22px 0 0; }
.dots button {
  width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center;
}
.dots button::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); transition: background .3s, transform .3s;
}
.dots button[aria-current="true"]::before { background: var(--red-text); transform: scale(1.3); }

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

section { position: relative; }
.pad { padding: clamp(72px, 10vw, 128px) 0; }
.center { text-align: center; }

/* Story */
/* Light (cream) sections */
.light {
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .27 0 0 0 0 .17 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.light h2 { color: var(--ink); }
.light .label { color: var(--red); }
.light .lead, .light p { color: var(--ink-2); }
.light .btn.ghost { color: var(--ink); border-color: rgba(31, 26, 22, .4); }
.light .btn.ghost:hover { color: var(--text); background: var(--red); border-color: var(--red); }
.light :focus-visible { outline-color: var(--ink); }
.story-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center;
}
.story-photo { position: relative; }
.story-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-photo::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line); z-index: -1;
}
.story-photo { z-index: 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.story-grid .tricolour { margin: 22px 0 0; }
.story-copy { max-width: 640px; }
.story-copy p { color: var(--ink-2); margin: 0 0 18px; font-size: clamp(17px, 1.6vw, 19px); }

.story-copy .story-sign { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* Menu teaser */
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px;
  margin-bottom: clamp(32px, 5vw, 52px);
}
.section-head h2 { max-width: 14ch; }
.section-head p { margin: 10px 0 0; max-width: 46ch; }
.dish-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 20px);
  margin: 0 0 clamp(48px, 7vw, 80px);
}
.dish-tile { margin: 0; }
.dish-tile div { overflow: hidden; aspect-ratio: 1; background: var(--slate); }
.dish-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dish-tile:hover img { transform: scale(1.05); }
.dish-tile figcaption {
  margin-top: 12px; font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--text); text-align: center;
}

/* Dotted menu list */
.menu-list { max-width: 820px; margin: 0 auto; text-align: left; }
.menu-teaser .menu-list { max-width: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 88px); }
.menu-teaser .row:nth-last-child(2) { border-bottom: 0; }
.row { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.row:last-child { border-bottom: 0; }
.row-top { display: flex; align-items: baseline; gap: 12px; }
.row .name { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 24px); font-weight: 600; color: var(--text); }
.row .tag {
  font-family: var(--serif); font-style: italic; font-size: 17px; font-weight: 500;
  color: var(--red-text); margin-left: 2px; white-space: nowrap;
}
.row .dots-line { flex: 1; border-bottom: 1px dotted rgba(243, 239, 230, .28); transform: translateY(-5px); min-width: 20px; }
.row .price { font-family: var(--serif); font-size: clamp(20px, 2vw, 23px); font-weight: 600; color: var(--gold); white-space: nowrap; }
.row .desc { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; max-width: 62ch; }
.teaser-cta { margin-top: 48px; text-align: center; }

/* Almuerzo band */
.almuerzo {
  background:
    linear-gradient(rgba(26, 24, 22, .92), rgba(26, 24, 22, .94)),
    url("../img/hero-carne.jpg") center / cover no-repeat;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.almuerzo-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center;
}
.almuerzo p { color: var(--text-2); }
.almuerzo-card {
  border: 1px solid var(--line); background: rgba(26, 24, 22, .6);
  padding: clamp(28px, 4vw, 44px); text-align: center;
}
.almuerzo-card .price-big { font-family: var(--display); font-weight: 600; font-size: clamp(56px, 7vw, 80px); color: var(--text); line-height: 1; }
.almuerzo-card .per { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; }
.almuerzo-card ul { list-style: none; padding: 0; margin: 24px 0 0; }
.almuerzo-card li { font-family: var(--serif); font-size: 22px; font-weight: 600; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.almuerzo-card .choose { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* Bar
   Drop a stock photo at img/bar.jpg and it shows through the dark overlay. */
.bar {
  background:
    linear-gradient(rgba(26, 24, 22, .88), rgba(26, 24, 22, .94)),
    url("../img/bar.jpg") center / cover no-repeat,
    var(--night);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.bar-lead { max-width: 54ch; margin: 18px auto 0; }
.late {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  margin: 34px 0 0; padding: 14px 0; position: relative;
}
.late::before, .late::after {
  content: ""; position: absolute; left: 50%; width: 48px; height: 1px; background: var(--red); transform: translateX(-50%);
}
.late::before { top: 0; }
.late::after { bottom: 0; }
.late-script { font-family: var(--script); font-size: 26px; line-height: 1.1; color: var(--red-text); }
.late-text { font-family: var(--serif); font-style: italic; font-size: 21px; font-weight: 500; color: var(--text); letter-spacing: .01em; }
.cocktails {
  list-style: none; padding: 0; margin: 48px auto 40px; max-width: 880px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-soft);
}
.cocktails li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 28px 24px; border-bottom: 1px solid var(--line-soft);
}
.cocktails li:nth-child(odd) { border-right: 1px solid var(--line-soft); }
.cocktails em {
  font-family: var(--serif); font-style: italic; font-size: 17px; font-weight: 500; color: var(--red-text);
}
.cocktails strong { font-family: var(--serif); font-size: 25px; font-weight: 600; color: var(--text); line-height: 1.2; }
.cocktails span { color: var(--muted); font-size: 15px; }

/* Order */
.order-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.order .lead { max-width: 46ch; margin: 18px 0 0; }
.order-actions { display: grid; gap: 12px; }
.order-actions .btn { width: 100%; justify-content: flex-start; }
.order-actions .divider { margin: 10px 0 2px; color: var(--ink-2); font-family: var(--serif); font-style: italic; font-size: 19px; }
.order-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Reviews */
.reviews { background: var(--night-2); }
.reviews-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.reviews-intro .lead { margin: 18px 0 0; max-width: 40ch; }
.reviews-links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 30px; }
.reviews-card {
  position: relative; min-height: 300px;
  padding: clamp(44px, 5vw, 64px) clamp(20px, 3vw, 40px) clamp(24px, 3vw, 36px);
  background: var(--slate); border: 1px solid var(--line-soft);
}
.quote-mark {
  position: absolute; top: -6px; left: clamp(16px, 2.5vw, 32px);
  font-family: var(--display); font-size: 140px; line-height: 1; color: var(--red-text); opacity: .9;
}
.reviews-widget { position: relative; min-height: 240px; }

/* Find us */
.find-us { background: var(--slate); border-top: 1px solid var(--line); }
.find-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); }
.find-us h3 {
  font-family: var(--serif); font-style: italic; font-size: 21px; font-weight: 500; color: var(--red-text); margin: 0 0 10px;
}
.find-us address { font-style: normal; font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.35; }
.find-us .block + .block { margin-top: 32px; }
.phone-line { display: flex; flex-direction: column; gap: 10px; }
.phone-line a {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--text);
}
.phone-line a:hover { color: var(--red-text); }
.phone-line svg { width: 20px; height: 20px; color: var(--red-text); flex: none; }
.find-us .note { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line-soft); text-align: left; font-weight: 400; }
.hours th { color: var(--text-2); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.late-night td { color: var(--red-text); }
.map { position: relative; min-height: 340px; height: 100%; border: 1px solid var(--line-soft); background: var(--night); }
.map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) invert(.92) contrast(.9) brightness(.95);
}

/* Footer */
.site-footer { background: var(--night); border-top: 1px solid var(--line-soft); padding: 48px 0 32px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot-brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.foot-logo { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; border: 2px solid var(--gold-deep); }
.foot-brand .wordmark { text-align: left; }
.foot-contact { margin: 0; color: var(--text-2); font-size: 15px; text-align: center; }
.foot-contact a { text-decoration: none; }
.foot-contact a:hover { color: var(--red-text); }
.foot-contact span { color: var(--muted); margin: 0 10px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a {
  width: 44px; height: 44px; display: grid; place-items: center; color: var(--text);
  transition: color .2s, transform .2s;
}
.foot-social a:hover { color: var(--red-text); transform: translateY(-2px); }
.foot-social svg { width: 24px; height: 24px; }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-soft);
  color: var(--muted); font-size: 14px;
}
.foot-nav { display: flex; gap: 22px; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { color: var(--red-text); }

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

.page-hero {
  position: relative; text-align: center;
  padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(1px 1px at 12% 78%, rgba(228, 181, 60, .9), transparent),
    radial-gradient(1.5px 1.5px at 22% 64%, rgba(228, 181, 60, .7), transparent),
    radial-gradient(1px 1px at 31% 88%, rgba(228, 181, 60, .8), transparent),
    radial-gradient(2px 2px at 68% 82%, rgba(228, 181, 60, .6), transparent),
    radial-gradient(1px 1px at 77% 70%, rgba(228, 181, 60, .9), transparent),
    radial-gradient(1.5px 1.5px at 86% 90%, rgba(228, 181, 60, .7), transparent),
    radial-gradient(1px 1px at 92% 62%, rgba(228, 181, 60, .8), transparent),
    radial-gradient(60% 50% at 15% 100%, rgba(228, 181, 60, .16), transparent 70%),
    radial-gradient(55% 45% at 85% 100%, rgba(228, 181, 60, .12), transparent 70%),
    radial-gradient(80% 70% at 50% 0%, #2c2823, var(--night) 70%);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { font-size: clamp(50px, 8vw, 92px); }
.page-hero .lead { max-width: 52ch; margin: 18px auto 0; }

.cat-nav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(26, 24, 22, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.cat-nav ul {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--max);
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a {
  display: block; white-space: nowrap; padding: 16px 14px; text-decoration: none;
  font: 600 15px/1 var(--sans); color: var(--text-2);
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.cat-nav a:hover { color: var(--text); }
.cat-nav a.active { color: var(--text); border-bottom-color: var(--red-text); }

.menu-body { padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 112px); }
.menu-section { max-width: 860px; margin: 0 auto; }
.menu-section + .menu-section { margin-top: clamp(64px, 9vw, 104px); }
.menu-section header { text-align: center; margin-bottom: 26px; }
.menu-section h2 { font-size: clamp(34px, 4.6vw, 50px); }
.menu-section h2 .en { color: inherit; }
.menu-section .intro { color: var(--muted); max-width: 56ch; margin: 12px auto 0; font-size: 15.5px; }

.menu-photo { margin: 0 auto clamp(64px, 9vw, 104px); max-width: var(--max); }
.menu-photo img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }

.almuerzo-box {
  text-align: center; border: 1px solid var(--line); padding: 32px 24px; background: var(--night-2);
}
.almuerzo-box ul { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.almuerzo-box li { font-family: var(--serif); font-size: 23px; font-weight: 600; }
.almuerzo-box li + li::before { content: "·"; color: var(--red-text); margin-right: 28px; }
.almuerzo-box .price-big { font-family: var(--display); font-weight: 600; font-size: 52px; color: var(--text); line-height: 1; }

.chicken-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }

.menu-note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 56px; }
.menu-cta { background: var(--night-2); border-top: 1px solid var(--line-soft); }
.menu-cta .order-buttons { margin-top: 30px; }

/* ---------- Reveal ---------- */

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-full .hero-media .slide, .hero-full .hero-media .slide img { transition: none; }
  .hero-split .slide, .hero-split .photo img { transition: none; }
}

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

@media (max-width: 1000px) {
  .find-grid { grid-template-columns: 1fr 1fr; }
  .map { grid-column: 1 / -1; min-height: 300px; }
}

@media (max-width: 860px) {
  .story-grid, .almuerzo-inner, .order-grid, .reviews-grid { grid-template-columns: 1fr; }
  .menu-teaser .menu-list { grid-template-columns: 1fr; }
  .menu-teaser .row:nth-last-child(2) { border-bottom: 1px solid var(--line-soft); }
  .story-photo { max-width: 460px; }
  .dish-strip { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .dish-tile div { aspect-ratio: 4 / 3; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .header-cta .btn span { display: none; }
  .header-cta .btn { padding: 10px; min-height: 44px; width: 44px; }
  .wordmark .name { font-size: 30px; }
  .head-logo { width: 42px; height: 42px; }
  .site-header .wordmark { gap: 10px; }
  .wordmark .sub { font-size: 9px; letter-spacing: .28em; }


  .hero-split { padding: 0; }
  .hero-split .container { padding: 0; }
  .hero-split .slide {
    grid-template-columns: 1fr; grid-template-rows: 1fr auto;
    height: calc(100svh - var(--header-h)); min-height: 540px;
  }
  .hero-split .photo { grid-row: 1; }
  .hero-split .panel { grid-row: 2; border: 0; padding: 28px 22px 58px; gap: 14px; }
  .hero-split .panel-logo { display: none; }
  .hero-split .dots { width: auto; right: 0; bottom: 12px; }
  .find-grid { grid-template-columns: 1fr; }
  .chicken-prices { grid-template-columns: 1fr; }
  .cocktails { grid-template-columns: 1fr; }
  .cocktails li:nth-child(odd) { border-right: 0; }
  .foot-row { flex-direction: column; text-align: center; }
  .foot-brand { flex-direction: column; gap: 12px; }
  .foot-brand .wordmark { text-align: center; }
  .foot-bottom { justify-content: center; text-align: center; }
  .menu-photo img { aspect-ratio: 16 / 9; }
  .row .tag { display: none; }
}

@media (min-width: 721px) {
  .header-cta .btn svg { display: none; }
}

/* ---------- Full-width hero: photos crossfade behind fixed text ---------- */

.hero-full {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(560px, calc(100vh - var(--header-h)), 860px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--night);
}
.hero-full .hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-full .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-full::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(26, 24, 22, .92) 0%, rgba(26, 24, 22, .7) 34%, rgba(26, 24, 22, .15) 68%, rgba(26, 24, 22, 0) 100%),
    linear-gradient(0deg, rgba(26, 24, 22, .85) 0%, rgba(26, 24, 22, 0) 30%);
}
.hero-full .hero-inner { padding-top: 64px; padding-bottom: clamp(48px, 8vh, 88px); }
.hero-full h1 {
  font-size: clamp(48px, 6.6vw, 96px); line-height: 1; letter-spacing: -.015em;
  max-width: 15ch; color: var(--text); text-wrap: balance;
}
/* Push the neon sign in the dining-room photo clear of the heading */
.hero-full .hero-media .slide-room img { width: 140%; max-width: none; object-position: center 40%; }
.hero-full .tricolour { margin: 26px 0 0; }
.hero-sub { margin: 22px 0 0; max-width: 38ch; font-size: clamp(18px, 1.7vw, 21px); color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-strip {
  border-top: 1px solid var(--line-soft);
  background: rgba(26, 24, 22, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-strip .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 28px;
  padding-top: 16px; padding-bottom: 16px; font-size: 15px; color: var(--text-2);
}
.hero-strip a { text-decoration: none; }
.hero-strip a:hover { color: var(--text); }
.hero-strip .late-hours { color: var(--red-text); }

.hero-full .hero-media .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-full .hero-media .slide.is-active { opacity: 1; }
.hero-full .hero-media .slide img { transform: scale(1.08); transition: transform 9s linear; }
.hero-full .hero-media .slide.is-active img { transform: scale(1); }
.hero-full .dots {
  position: absolute; right: var(--gutter); bottom: 72px; padding: 0; gap: 4px; z-index: 1;
}
.hero-full .dots button { width: 36px; height: 24px; }
.hero-full .dots button::before { width: 26px; height: 2px; border-radius: 0; background: rgba(243, 239, 230, .35); }
.hero-full .dots button[aria-current="true"]::before { background: var(--text); transform: none; }

@media (max-width: 720px) {
  .hero-full { min-height: calc(100svh - var(--header-h) - 40px); }
  .hero-full::before {
    background: linear-gradient(0deg, rgba(26, 24, 22, .96) 0%, rgba(26, 24, 22, .8) 40%, rgba(26, 24, 22, .1) 75%);
  }
  .hero-full .hero-media img { object-position: 65% center; }
  .hero-full .hero-media .slide-room img { width: 100%; height: 58%; object-position: 47% center; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-strip .container { flex-direction: column; font-size: 14px; }
  .hero-full .dots { top: 16px; bottom: auto; right: 12px; }
}

/* Hero panel colour options */
.hero-split.panel-colour .panel { border: 0; transition: background-color .9s var(--ease); }
.hero-split.panel-colour .panel .link { border-bottom-color: rgba(243, 239, 230, .45); }
.hero-split.panel-colour .panel .link:hover { border-bottom-color: var(--text); }
.hero-split.panel-red .panel { background: #7e1a20; }
.hero-split.panel-trio .slide:nth-child(1) .panel { background: #8a6417; }
.hero-split.panel-trio .slide:nth-child(2) .panel { background: #7e1a20; }
.hero-split.panel-trio .slide:nth-child(3) .panel { background: #1e2d55; }
