/* =========================================================================
   Kuro Sushi Bar — style.css
   בסיס = דסקטופ (≥1200). מתחת ל-1200: תפריט המבורגר. מתחת ל-768: עמודה אחת.
   ========================================================================= */

/* ---------- Fonts: Heebo and Figtree, served from the site (variable woff2, from Google Fonts) ---------- */
@font-face { font-family: 'Figtree'; src: url('/assets/fonts/figtree-latin-ext.woff2') format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; src: url('/assets/fonts/figtree-latin.woff2') format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Heebo'; src: url('/assets/fonts/heebo-hebrew.woff2') format('woff2'); font-weight: 200 700; font-style: normal; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Heebo'; src: url('/assets/fonts/heebo-latin-ext.woff2') format('woff2'); font-weight: 200 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Heebo'; src: url('/assets/fonts/heebo-latin.woff2') format('woff2'); font-weight: 200 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --basalt: #0d0f10;
  --smoked: #2d1f17;
  --cedar: #98846b;
  --sand: #f5e9dd;
  --sand-85: rgba(245, 233, 221, .85);
  --sand-60: rgba(245, 233, 221, .6);
  --line: rgba(152, 132, 107, .4);
  --error: #a3271b;
  --error-on-dark: #f19a8c;
  --footer: #08090a;

  --font-he: 'Heebo', Arial, sans-serif;
  --font-en: 'Figtree', Arial, sans-serif;

  --gutter: 64px;
  --nav-h: 80px;
  --max: 1440px;
  --image-gap: 6px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); overflow-x: clip; }

@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--basalt);
  color: var(--sand);
  font-family: var(--font-he);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
}

h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-weight: 500; line-height: 1.08; text-wrap: balance; }
/* No single word left alone on the last line */
p, li, dd { text-wrap: pretty; }

h1 { font-size: clamp(38px, 4.45vw, 64px); }
.title-120 { font-size: clamp(64px, 8.3vw, 120px); line-height: 1.05; }
.title-88 { font-size: clamp(46px, 6.1vw, 88px); }
/* שורה קטנה בתוך ה-H1, מעל הכותרת הגדולה: מיקום ומילות מפתח לגוגל בלי לשנות את הכותרת עצמה */
.h1-eyebrow { display: block; margin-bottom: .5em; font-size: 20px; font-weight: 400; line-height: 1.4; letter-spacing: 0; color: var(--cedar); }
.title-84 { font-size: clamp(36px, 4.17vw, 60px); line-height: 1.08; }
.title-76 { font-size: clamp(36px, 4.17vw, 60px); }
.title-72 { font-size: clamp(36px, 3.9vw, 56px); line-height: 1.1; }
.title-64 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; }
.title-54 { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.18; }

.eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--cedar);
  direction: ltr;
  unicode-bidi: isolate;
}

.eyebrow-he { font-family: var(--font-he); font-size: 17px; font-weight: 400; letter-spacing: 0; direction: rtl; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.lead { font-size: 18px; line-height: 1.55; max-width: 470px; }
.body { font-size: 18px; line-height: 1.6; color: var(--sand-85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid var(--sand);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  transition: background-color .2s ease, color .2s ease;
}

.btn:hover { background: var(--sand); color: var(--basalt); }

.btn-solid { background: var(--sand); color: var(--basalt); }
.btn-solid:hover { background: var(--cedar); border-color: var(--cedar); color: var(--basalt); }

.btn-dark { background: var(--basalt); border-color: var(--basalt); color: var(--sand); }

.on-sand { background: var(--sand); color: var(--basalt); }
.on-sand .eyebrow { color: var(--smoked); }
.on-sand .body { color: var(--smoked); }
.on-sand .btn { border-color: var(--basalt); }
.on-sand .btn:hover { background: var(--basalt); color: var(--sand); }
.on-sand .btn-dark { background: var(--basalt); color: var(--sand); }
.on-sand .btn-dark:hover { background: var(--smoked); border-color: var(--smoked); }

.btn-small { padding: 12px 24px; font-size: 15px; }
.btn-icon { padding: 14px 28px; font-size: 16px; flex: none; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 8px; }


/* ---------- Social icons ---------- */
.social-icons { display: flex; align-items: center; gap: 14px; }
.social-icons a { display: block; transition: color .2s ease; }
.social-icons a:hover { color: var(--cedar); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease;
}

.navbar.is-scrolled {
  background: rgba(13, 15, 16, .66);
  border-bottom-color: rgba(245, 233, 221, .12);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .navbar.is-scrolled { background: rgba(13, 15, 16, .94); }
}

/* Blur behind a fixed header is heavy on phones */
@media (max-width: 1199px) {
  .navbar.is-scrolled { background: rgba(13, 15, 16, .94); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.navbar-toggle { display: block; justify-self: start; }
.navbar-toggle .icon { width: 28px; height: 28px; }

/* The list only feeds the drawer built in main.js */
.navbar-links { display: none; }

.navbar-logo { display: block; transition: opacity .3s ease, transform .3s ease; }
.navbar-logo img { width: 104px; height: auto; }
/* On the home page the hero carries the logo, it moves to the navbar once you scroll */
body:has(.hero) .navbar:not(.is-scrolled) .navbar-logo { opacity: 0; transform: translateY(8px); pointer-events: none; }

.navbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 24px; font-size: 15px; font-weight: 400; }
.navbar-actions .social-icons { flex-direction: row-reverse; }

/* ---------- Drawer ---------- */
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}

.drawer {
  position: fixed;
  inset-block: 0;
  right: 0;
  z-index: 50;
  width: min(420px, 62vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  box-shadow: -14px 0 46px rgba(0, 0, 0, .35);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .44s cubic-bezier(.22, .72, .24, 1), visibility .44s;
}

body.drawer-open { overflow: hidden; }
.drawer-open .drawer { transform: none; visibility: visible; transition-duration: .44s, 0s; }
.drawer { scrollbar-width: none; }
.drawer-open .drawer-scrim { opacity: 1; visibility: visible; }

.drawer-head { display: flex; padding: 14px 26px 0; }
.drawer-close { display: grid; place-items: center; width: 48px; height: 48px; }
.drawer-close .icon { width: 26px; height: 26px; }

.drawer-logo { display: block; align-self: center; margin: 6px 0 22px; }
.drawer-logo img { width: 112px; height: 52px; object-fit: contain; filter: brightness(0); }

.drawer-links { padding-inline: 30px; }
.drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 13px;
  border-block-end: 1px solid rgba(45, 31, 23, .2);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
}
.drawer-links a:hover, .drawer-links a[aria-current] { color: var(--cedar); font-weight: 500; }
.drawer-links .icon { opacity: .4; }

.drawer-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 28px 30px max(30px, env(safe-area-inset-bottom));
}
.drawer-actions { align-self: stretch; display: flex; gap: 10px; }
.drawer-actions .btn { flex: 1; padding: 14px 8px; font-size: 15px; white-space: nowrap; }
.drawer-phone { font-size: 22px; font-weight: 500; direction: ltr; }

.drawer .social-icons { gap: 12px; }
.drawer .social-icons a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--basalt); color: var(--sand); }
.drawer .social-icons a:hover { background: var(--smoked); color: var(--sand); }

@media (prefers-reduced-motion: no-preference) {
  .drawer-links a {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .42s ease, transform .42s cubic-bezier(.22, .72, .24, 1);
  }
  .drawer-open .drawer-links a {
    opacity: 1;
    transform: none;
    transition-delay: calc(.16s + var(--i) * .045s);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--gutter);
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(13, 15, 16, .96) 0%, rgba(13, 15, 16, .85) 12%, rgba(13, 15, 16, 0) 30%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 280px;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(13, 15, 16, 0), var(--basalt));
}

.kosher { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 400; color: var(--sand-85); }
.kosher .icon { width: 16px; height: 16px; color: var(--cedar); }
.hero .kosher { gap: 14px; padding-top: 6px; font-size: 14px; letter-spacing: 1.5px; color: var(--cedar); }
.hero .kosher::before, .hero .kosher::after { content: ''; width: 36px; height: 1px; background: rgba(152, 132, 107, .55); }

.hero h1 { font-family: var(--font-en); font-size: min(72px, calc((100vw - 2 * var(--gutter)) / 7.9)); line-height: 1.08; letter-spacing: 1px; white-space: nowrap; direction: ltr; }
.hero-title { display: inline-flex; flex-direction: column; align-items: center; gap: .08em; }
.hero h1 { width: 100%; white-space: normal; }
.hero-title { display: flex; width: 100%; }
.hero-title img { width: min(860px, 100%, 62vh * 2.14); height: auto; }
.hero .lead { max-width: none; font-size: 22px; font-weight: 400; }
.lead-sep { margin-inline: 10px; color: var(--cedar); }

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: min(900px, 100%);
  padding-top: 40px;
  text-align: center;
}

.hero .actions { justify-content: center; }

/* ---------- Intro ---------- */
.intro {
  display: grid;
  grid-template-columns: 1fr minmax(0, 720px);
  gap: 80px;
  align-items: center;
  padding-block: 100px;
}

@media (max-width: 1320px) { .intro { grid-template-columns: 1fr minmax(0, 560px); } }
.intro-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.intro-copy .body { max-width: 520px; }
/* Fish school: behind the intro text on phones, across into the quality section from tablet up.
   The zone clips the overflow, the quality section stacks above so its photos cover the fish */
.fish-zone { overflow: clip; }
.intro { position: relative; isolation: isolate; }
.quality { position: relative; z-index: 1; }
.fish-school {
  position: absolute;
  z-index: -1;
  left: -180px;
  top: calc(100% - 520px);
  width: 1600px;
  opacity: .18;
  pointer-events: none;
}
.fish-school img { width: 100%; max-width: none; height: auto; }
.intro-image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Section heads ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.head-title { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.head-body { width: 430px; max-width: 100%; font-size: 18px; }
@media (min-width: 768px) { .head-body-line { flex: none; width: auto; white-space: nowrap; } }
@media (min-width: 768px) and (max-width: 1023px) { .quality .section-head { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* ---------- Quality ---------- */
.quality { display: flex; flex-direction: column; gap: 40px; padding-top: 24px; }

.quality-images {
  display: grid;
  grid-template-columns: 560fr 508fr 360fr;
  gap: var(--image-gap);
}

.quality-images img { width: 100%; height: 460px; object-fit: cover; }

/* ---------- Signature dishes ---------- */
.dishes { display: flex; flex-direction: column; gap: 100px; padding-block: clamp(64px, 8vw, 120px) 110px; }
.dish { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 96px; }
.dish-image { width: 620px; aspect-ratio: 31 / 22; object-fit: cover; }
/* Plate cutouts on the dark background keep their own shape */
.dish-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 400px; }
.dish-num { font-family: var(--font-en); font-size: 14px; letter-spacing: 3px; color: var(--cedar); }

/* ---------- Kids ---------- */
.kids { padding-block: 96px; }
.kids .wrap { display: flex; align-items: center; gap: 64px; }
.kids-copy { flex: none; width: 380px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

/* Whole photos at their own ratio (from the width and height attributes), nothing cropped. The middle one sits lower */
.kids-album { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
.kids-album img { width: 100%; height: auto; }
.kids-album img:nth-child(2) { margin-top: 64px; }

/* ---------- Menu peek ---------- */
.menu-peek { display: flex; flex-direction: column; gap: 56px; padding-block: 96px; }

.category-circles { display: flex; justify-content: space-between; gap: 16px; }
.category-circles a { display: flex; flex-direction: column; align-items: center; gap: 18px; font-size: 24px; text-align: center; }
.category-circles img, .menu-hub img, .values-list img { aspect-ratio: 1; object-fit: cover; border-radius: 50%; transition: transform .25s ease; }
.category-circles img { width: 190px; }
.category-circles img, .menu-hub img { transition: transform .3s ease, box-shadow .3s ease; }
.category-circles a:hover img, .menu-hub a:hover img { transform: translateY(-10px) scale(1.1); box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
.category-circles span, .menu-hub .hub-name { transition: transform .3s ease, color .3s ease; }
.category-circles a:hover span, .menu-hub a:hover .hub-name { transform: translateY(6px); font-weight: 700; }

/* ---------- Events ---------- */
/* Copy on the right, photo on the left. Stacked with the photo on top below 1200 */
.events { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; }
.events-image { width: 100%; height: 0; min-height: 100%; object-fit: cover; }

.events-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 36px;
  padding: 80px 96px;
}

.events-copy .eyebrow { margin-bottom: -24px; }
.events-copy h2 { font-size: clamp(44px, 4.45vw, 64px); }

.event-formats { width: 100%; padding: 0; margin: 0; list-style: none; border-bottom: 1px solid var(--line); }
.event-formats li { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 24px; padding-block: 18px; border-top: 1px solid var(--line); }
.event-num { font-family: var(--font-en); font-size: 14px; font-weight: 500; letter-spacing: 3px; color: var(--cedar); }
.event-formats h3 { font-size: 26px; font-weight: 500; }
.event-formats p { font-size: 16px; font-weight: 300; color: var(--sand-85); text-align: left; }

/* ---------- Gallery ---------- */
.gallery { padding-top: 96px; display: flex; flex-direction: column; gap: var(--image-gap); }
.gallery .section-head { padding-bottom: 40px; }

.gallery-row { display: grid; gap: var(--image-gap); }
.gallery-row-1 { grid-template-columns: 360fr 430fr 638fr; }
.gallery-row-2 { grid-template-columns: 430fr 638fr 360fr; }
.gallery-row img { width: 100%; object-fit: cover; }
.gallery-row-1 img { height: 420px; }
.gallery-row-2 img { height: 340px; }

/* ---------- FAQ ---------- */
/* Sand aside on the right, accordion on the left. The answers stay in the DOM for search engines */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 760px; }
.faq-aside { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 64px var(--gutter); text-align: center; }
.faq-list { display: flex; flex-direction: column; justify-content: center; padding: 56px var(--gutter); }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item h3 { font: inherit; }

.faq-q {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 22px 4px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  text-align: right;
  transition: color .25s ease, padding .25s ease;
}

.faq-q span { flex: 1; }
.faq-chevron { flex: none; width: 24px; height: 24px; color: var(--cedar); transform: rotate(-90deg); transition: transform .3s ease, color .25s ease; }
.faq-q:hover .faq-chevron { color: var(--sand); }

.faq-item { transition: background-color .25s ease; }
.faq-item.open { background: var(--sand); }
.faq-item.open .faq-q { padding-inline: 28px; color: var(--basalt); }
.faq-item.open .faq-chevron { transform: rotate(90deg); color: var(--basalt); }

.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 28px 24px; font-size: 18px; font-weight: 300; line-height: 1.6; color: var(--smoked); }
.faq-a a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Marquee ---------- */
.marquee { display: flex; align-items: center; height: 80px; overflow: hidden; background: var(--smoked); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee span { font-family: var(--font-en); font-size: 30px; font-weight: 600; letter-spacing: 6px; color: var(--sand); white-space: nowrap; }
.marquee i { width: 8px; height: 8px; border-radius: 50%; background: var(--cedar); }

@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Social ---------- */
.social { display: flex; flex-direction: column; gap: 40px; padding-block: 96px; }

.social-boxes { display: flex; flex-direction: row-reverse; gap: 12px; }

.social-boxes a {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sand);
  transition: background-color .2s ease, color .2s ease;
}

.social-boxes a:hover { background: var(--sand); color: var(--basalt); }
.social-boxes .icon { width: 22px; height: 22px; }

.social-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--image-gap); }
.social-grid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Info list ---------- */
.info-list { display: flex; flex-direction: column; gap: 12px; width: 100%; }

.info-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.info-list dt { font-size: 15px; font-weight: 500; color: var(--cedar); flex: none; }
.info-list dd { font-size: 17px; text-align: left; }
.on-sand .info-list div { border-color: rgba(45, 31, 23, .2); }
.on-sand .info-list dt { color: var(--smoked); }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; }
.visit-panel { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; padding: 56px var(--gutter); }
.visit-panel h2 { font-size: 56px; }
.visit-photo { width: 100%; height: 0; min-height: 100%; object-fit: cover; }
.visit-rows { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.visit-row { display: flex; align-items: center; gap: 16px; padding: 14px 22px; border: 1px solid var(--basalt); color: var(--basalt); transition: background-color .25s, color .25s; }
.visit-row:hover { background: rgba(13, 15, 16, .5); color: var(--sand); }
.visit-row-dark { background: var(--basalt); color: var(--sand); }
.visit-row-dark:hover { background: var(--smoked); border-color: var(--smoked); }
.visit-row-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; }
.visit-row-icon .icon, .visit-row-arrow { width: 20px; height: 20px; }
.visit-row-text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; font-size: 15px; font-weight: 300; line-height: 1.35; }
.visit-row-text strong { font-size: 19px; font-weight: 500; }
.visit-row-arrow { flex: none; }
.on-sand .kosher, .on-sand .kosher .icon { color: var(--smoked); }
/* Same rows on the dark contact panel, colors flipped */
.contact-details .visit-row { border-color: var(--sand); color: var(--sand); }
.contact-details .visit-row:hover { background: var(--sand); color: var(--basalt); }
.contact-details .visit-row-dark { background: var(--sand); color: var(--basalt); }
.contact-details .visit-row-dark:hover { background: var(--cedar); border-color: var(--cedar); }

/* ---------- Inner pages ---------- */
.page-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter) 56px;
  overflow: hidden;
  isolation: isolate;
}

.page-hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: contain; object-position: left center; }

.page-hero-short { min-height: 380px; }
.page-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

.values { display: flex; flex-direction: column; gap: 48px; padding-block: 24px 96px; }
.values-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.values-list li { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.values-list img { width: 180px; }
.values-list h3 { font-size: 24px; }
.values-list p { font-size: 16px; line-height: 1.55; color: var(--sand-85); }

.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--image-gap); }
.photo-strip img { width: 100%; height: 360px; object-fit: cover; }
.photo-strip-short { padding-top: var(--image-gap); }
.photo-strip-short img { height: auto; aspect-ratio: 4 / 5; }

.cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 80px var(--gutter); }

/* ---------- Menu ---------- */
.menu-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-block: 140px 48px; }

.menu-hub { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 16px; padding-block: 16px 96px; }
.menu-hub a { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.menu-hub img { width: 210px; max-width: 100%; }
.menu-hub > li:last-child:nth-child(4n+1) { grid-column: 2 / span 2; }
.hub-name { font-size: 26px; line-height: 1.2; }

.category-head { display: flex; flex-direction: column; gap: 32px; padding-block: 130px 48px; }
.category-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.category-note { font-size: 17px; line-height: 1.55; color: var(--cedar); }
.category-notes { display: flex; flex-direction: column; gap: 6px; padding-bottom: 16px; }
.category-notes:empty { display: none; }

.chips { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; }
.chips a { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 16px; line-height: 1.3; text-align: center; color: var(--sand-60); }
.chips img { width: 92px; aspect-ratio: 1; object-fit: cover; padding: 3px; border: 2px solid transparent; border-radius: 50%; opacity: .72; transition: opacity .2s ease; }
@media (hover: hover) { .chips a:hover img { opacity: 1; } }
.chips a, .prev-next a { -webkit-tap-highlight-color: transparent; }
.chips a[aria-current] { color: var(--sand); font-weight: 500; }
.chips a[aria-current] img { border-color: var(--sand); opacity: 1; }
.category-head nav { position: relative; }
.chip-ring { position: absolute; border: 2px solid var(--sand); border-radius: 50%; pointer-events: none; }
.chips.is-ring-moving a[aria-current] img { border-color: transparent; }

.dish-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 72px; align-items: start; padding-block: 24px 90px; }
.dish-list li { display: flex; align-items: flex-start; gap: 22px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.dish-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.dish-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.dish-top h2 { font-size: 24px; font-weight: 400; line-height: 1.25; }
.dish-price { flex: none; font-size: 20px; color: var(--cedar); }
.dish-description { font-size: 15px; line-height: 1.55; color: var(--sand-85); }

.prev-next { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 36px var(--gutter); border-top: 1px solid var(--line); }
.prev-next a:first-child { justify-self: start; }
.prev-next a:last-child { justify-self: end; }
.prev-next a { display: flex; align-items: center; gap: 12px; font-size: 20px; }
.prev-next a:hover { color: var(--cedar); }
.prev-next .icon { width: 22px; height: 22px; color: var(--cedar); }
.prev-next .prev-next-all { font-size: 16px; font-weight: 500; color: var(--sand-85); }

/* ---------- Gallery page ---------- */
.gallery-head { padding-block: 140px 48px; }
.gallery-grid { display: flex; flex-direction: column; gap: var(--image-gap); padding-bottom: var(--image-gap); }
.g-row { display: grid; gap: var(--image-gap); }
.g-row img { width: 100%; height: calc(var(--h) * .75); object-fit: cover; }

/* ---------- Forms ---------- */
.form-split, .contact-split { display: grid; grid-template-columns: 1fr 1fr; }
.form-split { min-height: 620px; }
.form-panel { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px; padding: 64px var(--gutter); }
.form-photo { position: relative; }
.form-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dim::after { content: ''; position: absolute; inset: 0; background: rgba(13, 15, 16, .45); }

.site-form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; width: 100%; }
.site-form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 500; color: var(--smoked); }

.field input, .field textarea, .field select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background-color: #fcf8f3;
  border: 1px solid rgba(45, 31, 23, .24);
  border-radius: 0;
  color: var(--basalt);
  font: inherit;
  font-size: 18px;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.field textarea { resize: vertical; }
.field select {
  appearance: none;
  padding-left: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232d1f17' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  cursor: pointer;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(45, 31, 23, .5); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background-color: #fff; border-color: var(--basalt); box-shadow: 0 0 0 1px var(--basalt); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field-error { margin: 0; font-size: 14px; font-weight: 500; color: var(--error); }
.consent { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 10px; font-size: 15px; color: var(--smoked); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--basalt); cursor: pointer; }
.consent span { flex: 1; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent .field-error { flex-basis: 100%; }
.consent input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.hp { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.site-form .btn:disabled { opacity: .6; cursor: wait; }
.form-status { font-size: 16px; font-weight: 400; color: var(--smoked); }
.form-status:empty { display: none; }

.contact-details { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; padding: 72px var(--gutter); }
.contact-details .social-boxes a { width: 56px; height: 56px; }
.contact-details .social-boxes .icon { width: 24px; height: 24px; }

.legal { display: flex; flex-direction: column; gap: 20px; min-height: 60vh; padding-block: 180px 100px; }
.legal > * { max-width: 760px; }
.legal h1 { font-size: 48px; font-weight: 500; line-height: 1.1; margin-bottom: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.not-found { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; padding-block: 160px 100px; text-align: center; }
.not-found-code { font-family: var(--font-en); font-size: 180px; font-weight: 600; line-height: .9; letter-spacing: -4px; color: var(--sand); }
.not-found h1 { font-size: 48px; font-weight: 500; line-height: 1.1; }
.not-found .actions { justify-content: center; padding-top: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--footer); padding: 70px var(--gutter) 30px; }

.footer-top, .footer-bottom {
  max-width: calc(var(--max) - var(--gutter) * 2);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
}

.footer-top { align-items: flex-start; gap: 40px; padding-bottom: 50px; }
.footer-logo img { width: 150px; height: 70px; object-fit: contain; }

.footer-links { display: flex; flex-wrap: wrap; gap: 14px 34px; font-size: 15px; }
.footer-links a:hover { color: var(--cedar); }

.footer-social { display: flex; align-items: center; gap: 14px; }
.footer-social .icon { width: 24px; height: 24px; }

.footer-bottom {
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  padding-inline-end: 72px;
  border-top: 1px solid rgba(152, 132, 107, .3);
  font-size: 13px;
  color: var(--sand-60);
}

.footer-bottom a:hover { color: var(--sand); }

/* ---------- Mainstream credit ---------- */
@font-face {
  font-family: 'Rubik';
  src: url('/assets/fonts/Rubik-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.footer-credit { background: var(--footer); padding: 16px 20px; text-align: center; }
.footer-credit a { display: inline-flex; align-items: center; gap: 12px; direction: ltr; font-family: 'Rubik', sans-serif; font-size: 16px; font-weight: 400; color: rgba(255, 255, 255, .6); transition: color .2s ease; }
.footer-credit a:hover { color: #fff; }
.footer-credit img { height: 23px; width: auto; }

/* ---------- Sticky phone ---------- */
.sticky-phone {
  position: fixed;
  left: 40px;
  bottom: 40px;
  z-index: 30;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--basalt);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}

.sticky-phone .icon { width: 24px; height: 24px; }

/* ---------- Tablet + mobile ---------- */
@media (max-width: 1199px) {
  :root { --gutter: 32px; }

  :root { --nav-h: 72px; }
  .navbar-actions .btn { display: none; }

  .hero h1 { font-size: min(64px, calc((100vw - 2 * var(--gutter)) / 7.9)); }
  .eyebrow-he { font-size: 16px; }
  .hero::before { background: linear-gradient(to bottom, rgba(13, 15, 16, .9) 0%, rgba(13, 15, 16, .7) 10%, rgba(13, 15, 16, 0) 22%); }
  .hero::after { height: 100px; }
  .intro { gap: 40px; padding-block: 72px; grid-template-columns: 1fr minmax(0, 420px); }
  .fish-school { left: -140px; top: calc(100% - 400px); width: 1240px; }
  .quality-images img { height: 340px; }

  .dishes { gap: 72px; }
  .dish { gap: 48px; }
  .dish-image { width: min(48vw, 520px); }
  .dish-copy { gap: 16px; }

  .kids { padding-block: 72px; }
  .kids .wrap { flex-direction: column; align-items: stretch; gap: 40px; }
  .kids-copy { width: 100%; }

  .menu-peek { gap: 40px; padding-block: 72px; }
  .category-circles a { font-size: 20px; gap: 12px; }
  .category-circles img { width: 120px; }

  .events { grid-template-columns: 1fr; min-height: 0; }
  .events-image { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .events-copy { gap: 32px; padding: 64px var(--gutter); }
  .events-copy h2 { font-size: 56px; }
  .event-formats h3 { font-size: 24px; }
  .event-formats p { font-size: 16px; }

  .faq { grid-template-columns: 1fr; min-height: 0; }
  .faq-aside { align-items: flex-start; text-align: right; }
  .faq-list { padding-block: 24px 40px; }
  .faq-q { font-size: 20px; }
  .faq-a p { font-size: 17px; }

  .marquee { height: 64px; }
  .marquee-group { gap: 28px; padding-right: 28px; }
  .marquee span { font-size: 24px; letter-spacing: 5px; }
  .gallery { padding-top: 72px; }
  .gallery .section-head { padding-bottom: 32px; }
  .gallery-row-1 img { height: 300px; }
  .gallery-row-2 img { height: 250px; }

  .social { gap: 32px; padding-block: 72px; }

  .visit { grid-template-columns: 1fr; min-height: 0; }
  .visit-photo { order: -1; height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .visit-panel { gap: 24px; }
  .visit-panel h2 { font-size: 44px; }
  .info-list dd { font-size: 16px; }

  .page-hero, .page-hero-short { min-height: 400px; }
  .page-hero-short { min-height: 340px; }
  .page-hero { padding-bottom: 44px; }
  .values { gap: 32px; padding-block: 0 72px; }
  .values-list { gap: 20px; }
  .values-list img { width: 130px; }
  .values-list h3 { font-size: 22px; }
  .values-list p { font-size: 16px; }
  .photo-strip img { height: 240px; }
  .photo-strip-short img { height: auto; }
  .cta { padding-block: 72px; }

  .menu-head { padding-block: 120px 48px; }
  .menu-hub { gap: 40px 12px; padding-block: 16px 72px; }
  .menu-hub img { width: 140px; }
  .hub-name { font-size: 22px; }

  .category-head { padding-block: 120px 48px; }
  .chips a { font-size: 14px; }
  .chips img { width: 76px; }
  .dish-list { gap: 24px 32px; }
  .dish-top h2 { font-size: 21px; }
  .dish-price { font-size: 18px; }
  .dish-description { font-size: 15px; }
  .prev-next a { font-size: 18px; }

  .gallery-head { padding-block: 120px 40px; }
  .g-row img { height: calc(var(--h) * .5); }

  .form-split { grid-template-columns: 58fr 42fr; min-height: 540px; }
  .form-panel { gap: 22px; }
  .site-form { gap: 22px 20px; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-details { order: -1; padding-block: 72px; }
  .contact-split .form-panel { padding-block: 72px; }

  .footer-top { flex-wrap: wrap; }
  .footer-links { gap: 14px 18px; }
}

/* Full screen sections from tablet up. After the tablet block so it wins over its min-heights */
@media (min-width: 768px) {
  .intro { min-height: 100vh; min-height: 100svh; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  :root { --gutter: 20px; }

  body { font-size: 16px; }
  .body { font-size: 16px; }

  .drawer { width: min(340px, 88vw); }
  .drawer-head { padding: 10px 20px 0; }
  .drawer-logo { margin: 2px 0 14px; }
  .drawer-links { padding-inline: 22px; }
  .drawer-links a { padding-block: 10px; font-size: 22px; }
  .drawer-foot { gap: 14px; padding: 20px 22px max(22px, env(safe-area-inset-bottom)); }
  .drawer-phone { font-size: 20px; }
  .drawer .social-icons a { width: 42px; height: 42px; }

  .hero h1 { font-size: min(40px, calc((100vw - 2 * var(--gutter)) / 7.9)); }
  .hero { padding-block: calc(var(--nav-h) + 16px); }
  .hero-copy { gap: 18px; }
  .lead, .hero .lead { font-size: 17px; }
  .lead-sep { margin-inline: 6px; }
  .actions, .hero .actions .btn { width: 100%; }

  .intro { display: flex; flex-direction: column; gap: 32px; padding-block: 56px; }
  .fish-school { left: -180px; top: -20px; width: 720px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .section-head .btn { width: 100%; }
  .head-body { width: 100%; }

  .quality { gap: 28px; }
  .quality-images { grid-template-columns: 1fr 1fr; }
  .quality-images img { height: 200px; }
  .quality-images img:first-child { grid-column: 1 / -1; height: 260px; }

  .dishes { gap: 56px; padding-block: 56px; }
  .dish { grid-template-columns: 1fr; gap: 20px; }
  .dish-image { order: -1; width: 100%; aspect-ratio: 7 / 5; }
  .dish-copy { gap: 12px; max-width: none; }

  .kids { padding-block: 56px; }
  .kids .wrap { gap: 32px; }
  .kids-album { gap: 6px; }
  .kids-album img:nth-child(2) { margin-top: 28px; }

  .menu-peek { gap: 28px; padding-block: 56px; }
  .category-circles { flex-wrap: wrap; justify-content: center; gap: 24px 12px; }
  .category-circles li { width: calc((100% - 24px) / 3); }
  .category-circles a { font-size: 18px; gap: 12px; white-space: nowrap; }
  .category-circles img { width: 104px; }

  /* Home section heads centered on phones, lists and dish copy stay right aligned */
  .intro-copy, .kids-copy, .quality .section-head, .faq-aside,
  .menu-peek .section-head, .menu-peek .head-title, .gallery .section-head, .gallery .head-title { align-items: center; text-align: center; }
  .quality .head-body, .events-copy > .eyebrow, .events-copy > h2, .visit-panel h2 { align-self: center; text-align: center; }

  .events-image { aspect-ratio: 1; }
  .events-copy { gap: 26px; padding-block: 44px; }
  .events-copy .eyebrow { margin-bottom: -16px; }
  .events-copy h2 { font-size: 40px; }
  .event-formats li { gap: 14px; padding-block: 16px; }
  .event-formats h3 { font-size: 21px; }
  .event-formats p { font-size: 14px; }
  .events-copy .btn { width: 100%; justify-content: center; }

  .faq-aside { padding-block: 48px; }
  .faq-list { padding-block: 16px 32px; }
  .faq-q { gap: 16px; padding: 18px 2px; font-size: 17px; }
  .faq-chevron { width: 22px; height: 22px; }
  .faq-item.open .faq-q { padding-inline: 20px; }
  .faq-a p { padding: 0 20px 20px; font-size: 15px; }

  .marquee { height: 52px; }
  .marquee-group { gap: 18px; padding-right: 18px; }
  .marquee span { font-size: 18px; letter-spacing: 4px; }
  .marquee i { width: 6px; height: 6px; }

  .gallery { padding-top: 56px; }
  .gallery .section-head { padding-bottom: 28px; }
  .gallery-row { grid-template-columns: 1fr 1fr; }
  .gallery-row img { height: 200px; }
  .gallery-row-1 img:last-child, .gallery-row-2 img:nth-child(2) { grid-column: 1 / -1; order: -1; height: 260px; }

  .social { gap: 24px; padding-block: 56px; }
  .social .section-head, .social .head-title { align-items: center; text-align: center; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid a:last-child { grid-column: 1 / -1; }
  .social-grid a:last-child img { aspect-ratio: 4 / 3; }

  .visit { grid-template-columns: 1fr; min-height: 0; }
  .visit-photo { order: -1; height: 260px; min-height: 0; }
  .visit-panel { padding-block: 44px; }
  .visit-panel h2 { font-size: 36px; }
  .visit-row { gap: 12px; padding: 12px 14px; }
  .visit-row-icon { width: 40px; height: 40px; }
  .info-list div { flex-direction: column; align-items: flex-start; gap: 2px; }
  .info-list dd { text-align: right; }

  /* The dish fills the top 58% of the phone photo's width, the title starts right under it */
  .page-hero, .page-hero-short { min-height: 0; padding-top: calc(58.4vw + 20px); }
  .page-hero img { object-fit: cover; object-position: center top; }
  .values { padding-bottom: 56px; }
  .values-list { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .values-list img { width: 120px; }
  .values-list h3 { font-size: 20px; }
  .values-list p { font-size: 15px; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip img { height: 240px; }
  .photo-strip-short img { height: auto; }
  .cta { flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 72px; }
  .cta .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cta .btn { padding-inline: 6px; }

  .menu-head { flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 120px 40px; }
  .menu-head .btn, .category-title .btn { width: 100%; }
  .menu-hub { grid-template-columns: 1fr 1fr; gap: 32px 12px; padding-block: 8px 72px; }
  .menu-hub img { width: 130px; }
  .menu-hub > li:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
  .hub-name { font-size: 20px; }

  .category-head { gap: 28px; padding-block: 120px 36px; }
  .category-title { flex-direction: column; align-items: flex-start; gap: 24px; }
  .chips { grid-template-columns: repeat(3, 1fr); gap: 18px 4px; }
  .chips a[aria-current] { font-weight: 400; }
  .chips img { width: 74px; }
  .dish-list { grid-template-columns: 1fr; gap: 20px; padding-block: 8px 56px; }
  .dish-list li { gap: 14px; padding-bottom: 20px; }
  .prev-next { padding-block: 28px; }
  .prev-next a { font-size: 18px; }
  .prev-next-all span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

  .gallery-head { padding-block: 120px 40px; }
  .g-row { grid-template-columns: 1fr 1fr !important; }
  .g-row img { height: 200px; }
  .g-row .big { grid-column: 1 / -1; order: -1; height: 260px; }
  .g-row-four img { height: 220px; }

  .form-split { grid-template-columns: 1fr; min-height: 0; }
  .form-photo { order: -1; height: 240px; }
  .form-panel { padding-block: 56px; }
  .site-form { grid-template-columns: 1fr; gap: 20px; }
  .contact-details { padding-block: 24px 56px; }
  .contact-split .form-panel { padding-block: 56px; }

  .footer { padding-top: 48px; padding-bottom: 24px; }
  .footer-credit { padding-bottom: 88px; }
  .footer-top { flex-direction: column; align-items: center; gap: 28px; padding-bottom: 32px; }
  .footer-links { justify-content: center; gap: 14px 26px; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 8px; padding-inline-end: 0; text-align: center; }

  .sticky-phone { left: 16px; bottom: 16px; width: 58px; height: 58px; }
}

/* ---------- Reveal on scroll (added by main.js) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease var(--reveal-delay, 0s), transform .7s cubic-bezier(.22, .72, .24, 1) var(--reveal-delay, 0s);
}
.reveal-fade { transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  /* כותרת הדף נכנסת ב-CSS ולא ב-JS, כדי שלא תחכה ל-main.js (LCP) */
  .hero-copy > *, .page-hero-copy > * { animation: hero-in .8s cubic-bezier(.22, .72, .24, 1) both; }
  .hero-copy > :nth-child(2), .page-hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3), .page-hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5) { animation-delay: .32s; }
}

@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } }

/* About hero: the photo slides in from the left edge of the screen, once */
@media (prefers-reduced-motion: no-preference) {
  .page-hero-slide img { animation: hero-slide 1.2s cubic-bezier(.22, .72, .24, 1) .1s backwards; }
}

@keyframes hero-slide { from { transform: translateX(-100%); } }

/* Menu entrance: title first, then the circles pop in one by one, then the dishes. The category change itself runs in main.js */
@media (prefers-reduced-motion: no-preference) {
  .menu-head .head-title > *, .category-title .head-title > *, .menu-head .btn, .category-title .btn { animation: hero-in .7s cubic-bezier(.22, .72, .24, 1) backwards; }
  .menu-head .head-title > :nth-child(2), .category-title .head-title > :nth-child(2) { animation-delay: .07s; }
  .menu-head .btn, .category-title .btn { animation-delay: .2s; }

  .menu-hub > li, .chips li { animation: menu-pop .6s cubic-bezier(.22, .72, .24, 1) backwards; animation-delay: calc(.12s + var(--i) * .055s); }
  .category-notes { animation: hero-in .6s cubic-bezier(.22, .72, .24, 1) .45s backwards; }
  .dish-list li { animation: hero-in .6s cubic-bezier(.22, .72, .24, 1) backwards; animation-delay: calc(.5s + min(var(--i), 8) * .05s); }
  .dish-list.is-swapped li { animation-delay: calc(min(var(--i), 8) * .04s); }
}

/* Phone: only the first dishes animate, the whole list would be one huge layer */
@media (prefers-reduced-motion: no-preference) and (max-width: 767px) {
  .dish-list li { animation: none; }
  .dish-list li:nth-child(-n+6) { animation: hero-in .5s cubic-bezier(.22, .72, .24, 1) .3s backwards; }
  .dish-list.is-swapped li { animation: none; }
}

@keyframes menu-pop { from { opacity: 0; transform: translateY(14px) scale(.82); } }

/* Contact on desktop: the visit half sits on the entrance photo, so it doesn't run into the black page head */
@media (min-width: 1200px) {
  .contact-details {
    justify-content: flex-end;
    background: linear-gradient(rgba(13, 15, 16, .7), rgba(13, 15, 16, .7)), url("/assets/images/photos/visit-entrance.webp") center / cover;
  }
}

/* Form pages on tablet and phone: one dark flow, the form right under the title,
   framed fields on the dark, the photo closes the page. Desktop keeps the sand split */
@media (max-width: 1199px) {
  .page-hero-copy { width: 100%; align-items: center; text-align: center; }
  .form-panel > h2, .contact-details > h2 { align-self: center; text-align: center; }
  .form-split, .contact-split { grid-template-columns: 1fr; min-height: 0; }
  .form-panel { padding-block: 24px 48px; }
  .form-panel.on-sand { background: none; color: var(--sand); }
  .form-panel.on-sand .info-list div { border-color: var(--line); }
  .form-panel.on-sand .info-list dt { color: var(--cedar); }
  .form-panel.on-sand .field label { font-size: 14px; font-weight: 400; color: rgba(245, 233, 221, .7); }
  .form-panel.on-sand .field input, .form-panel.on-sand .field textarea, .form-panel.on-sand .field select {
    min-height: 52px;
    padding: 12px 16px;
    background-color: transparent;
    border: 1px solid rgba(245, 233, 221, .35);
    color: var(--sand);
    color-scheme: dark;
  }
  .form-panel.on-sand .field textarea { min-height: 110px; }
  .form-panel.on-sand .field select {
    padding-left: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5e9dd' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: left 16px center;
  }
  .form-panel.on-sand .field select option { color: var(--basalt); }
  .form-panel.on-sand .field input:hover, .form-panel.on-sand .field textarea:hover, .form-panel.on-sand .field select:hover { border-color: rgba(245, 233, 221, .7); }
  .form-panel.on-sand .field input:focus, .form-panel.on-sand .field textarea:focus, .form-panel.on-sand .field select:focus { background-color: transparent; border-color: var(--sand); box-shadow: 0 0 0 1px var(--sand); }
  .form-panel.on-sand .btn-dark { background: var(--sand); border-color: var(--sand); color: var(--basalt); }
  .form-panel.on-sand .btn-dark:hover { background: var(--cedar); border-color: var(--cedar); }
  .form-panel.on-sand .form-status { color: var(--sand-85); }
  .form-panel.on-sand .field-error { color: var(--error-on-dark); }
  .form-panel.on-sand .field input[aria-invalid="true"], .form-panel.on-sand .field textarea[aria-invalid="true"], .form-panel.on-sand .field select[aria-invalid="true"] { border-color: var(--error-on-dark); box-shadow: 0 0 0 1px var(--error-on-dark); }
  .form-panel.on-sand .consent { font-size: 14px; color: var(--sand-85); }
  .form-panel.on-sand .consent input { accent-color: var(--sand); }
  .form-panel.on-sand .consent input[aria-invalid="true"] { outline-color: var(--error-on-dark); }
  .form-photo { order: 1; height: 420px; }
  .contact-details { order: 1; padding-block: 8px 56px; }
  .contact-split .form-panel { padding-block: 24px 48px; }
}

/* Tablet: the dish gets its own strip under the navbar (240px at 820, scales with the width so the crop stays the same), the title starts below it instead of beside it */
@media (min-width: 768px) and (max-width: 1199px) {
  .page-hero, .page-hero-short { min-height: 0; padding-top: calc(var(--nav-h) + 29.27vw + 8px); }
  .page-hero img { inset: var(--nav-h) 0 auto; height: 29.27vw; object-fit: cover; object-position: left 34%; }
}

@media (max-width: 767px) {
  .form-photo { height: 300px; }
  .legal { padding-block: 130px 72px; }
  .legal h1 { font-size: 32px; }
  .not-found-code { font-size: 110px; letter-spacing: -3px; }
  .not-found h1 { font-size: 32px; }
  .not-found .actions { width: 100%; flex-wrap: nowrap; }
  .not-found .actions .btn { flex: 1; }
}

@media print {
  .reveal { opacity: 1; transform: none; }
}
