/* =========================================================
   OREL CAFE: styles
   מובייל קודם, ואז min-width ל-900px (דסקטופ).
   צבעים, פונטים ומרווחים: בטוקנים שב-:root
   ========================================================= */

:root {
  --espresso: #14100D;
  --roast: #1D1612;
  --roast-2: #2A2019;
  --night: #0E0B09;
  --cream: #F2E8DA;
  --paper: #F7F0E5;
  --ink: #1B1410;
  --ink-muted: #5C4C3E;
  --on-dark-muted: #BBAA95;
  --honey: #D9A85F;
  --honey-hover: #E7BC7A;
  --honey-deep: #8A5A1E;
  --line-dark: rgba(242, 232, 218, .16);
  --line-light: #DCCDB8;
  --open: #8FCB8F;
  --closed: #D98068;

  --font-display: "Bellefair", "Times New Roman", serif;
  --font-body: "Heebo", "Arial Hebrew", Arial, sans-serif;

  --fs-body: clamp(1rem, .96rem + .2vw, 1.125rem);
  --fs-lead: clamp(1.125rem, 1rem + .6vw, 1.375rem);
  --fs-h2: clamp(2.5rem, 1.6rem + 4.2vw, 5rem);
  --fs-h3: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1320px;
  --header-h: 4rem;
  --bar-h: 0px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (max-width: 899px) {
  :root { --bar-h: calc(4.25rem + env(safe-area-inset-bottom)); }
}
@media (min-width: 900px) {
  :root { --header-h: 4.75rem; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-synthesis: none;
}
body {
  margin: 0;
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  padding-bottom: var(--bar-h);
  -webkit-font-smoothing: antialiased;
}
.nav-open body { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
table { border-collapse: collapse; }

:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 2px; }
.menu :focus-visible { outline-color: var(--ink); }

.visually-hidden {
  position: absolute !important;
  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;
  top: -100px;
  inset-inline-start: 1rem;
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--honey);
  color: var(--espresso);
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.placeholder { color: var(--honey); font-weight: 500; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  position: relative;
  padding-block: clamp(5rem, 4rem + 6vw, 9rem);
}

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.eyebrow {
  margin-bottom: 1rem;
  color: var(--honey);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
}
.eyebrow-line { display: flex; align-items: center; gap: .875rem; }
.eyebrow-line::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  transform-origin: right;
}
.lead {
  max-width: 36ch;
  color: var(--on-dark-muted);
  font-size: var(--fs-lead);
  font-weight: 300;
}

/* ---------- Buttons & links ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.25rem;
  padding: .75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 2.75rem; padding: .5rem 1.1rem; font-size: .9375rem; }
.btn-lg { min-height: 3.5rem; padding-inline: 1.75rem; font-size: 1.0625rem; }
.btn-primary { background: var(--honey); color: var(--espresso); }
.btn-primary:hover { background: var(--honey-hover); }
.btn-ghost { border-color: rgba(242, 232, 218, .4); background: rgba(20, 16, 13, .2); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(242, 232, 218, .08); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--roast-2); }
.btn-outline-dark { border-color: rgba(27, 20, 16, .35); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--ink); background: rgba(27, 20, 16, .05); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  color: var(--honey);
  font-weight: 500;
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: .35em; }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(-4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .35s, transform .45s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -2.5rem;
  background: linear-gradient(to bottom, rgba(14, 11, 9, .6), transparent);
  pointer-events: none;
  transition: opacity .35s;
}
/* הטשטוש יושב על שכבה נפרדת: backdrop-filter על ההדר עצמו היה כולא את תפריט המובייל (position: fixed) בתוכו */
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(20, 16, 13, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity .35s;
}
.site-header.is-scrolled,
.nav-open .site-header { border-bottom-color: var(--line-dark); }
.site-header.is-scrolled::after,
.nav-open .site-header::after { opacity: 1; }
.nav-open .site-header::after { background: var(--espresso); }
.site-header.is-scrolled::before,
.nav-open .site-header::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  height: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand {
  margin-inline-end: auto;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .16em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  direction: ltr;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.header-cta { white-space: nowrap; }
@media (max-width: 359px) {
  .brand { font-size: 1.25rem; letter-spacing: .1em; }
  .header-cta { padding-inline: .85rem; }
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
html:not(.js) .nav-toggle { display: none; }
.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle-lines { position: relative; }
.nav-toggle-lines::before,
.nav-toggle-lines::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--espresso);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s;
  }
  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .3s, transform .35s var(--ease);
  }
  .nav-list a {
    display: block;
    padding-block: .5rem;
    font-family: var(--font-display);
    font-size: 2.25rem;
    line-height: 1.25;
    text-decoration: none;
  }
  .nav-extra {
    display: grid;
    gap: .25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line-dark);
    color: var(--on-dark-muted);
  }
  .nav-extra a { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; color: var(--cream); }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .brand { margin-inline-end: 0; font-size: 1.625rem; }
  .site-nav { flex: 1; display: flex; justify-content: center; }
  .nav-list { display: flex; gap: clamp(1rem, 2.4vw, 2.5rem); }
  .nav-list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    font-size: .9375rem;
    text-decoration: none;
    opacity: .85;
    transition: opacity .2s;
  }
  .nav-list a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: .55rem;
    height: 1px;
    background: var(--honey);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
  }
  .nav-list a:hover { opacity: 1; }
  .nav-list a:hover::after { transform: scaleX(1); }
  .nav-extra { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 6.5rem;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  transform: scale(calc(1 + var(--p, 0) * .08));
  transform-origin: center bottom;
}
.hero-media img,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video { opacity: 0; transition: opacity 1.4s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(20, 16, 13, .97) 0%,
    rgba(20, 16, 13, .78) 34%,
    rgba(20, 16, 13, .3) 66%,
    rgba(20, 16, 13, .5) 100%);
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--espresso);
  opacity: 0;
  pointer-events: none;
}
.js .hero-veil { opacity: 1; }
.is-ready .hero-veil { opacity: 0; transition: opacity 1.8s ease .2s; }

.hero-inner {
  display: grid;
  align-items: end;
  gap: 2rem;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero-copy {
  min-width: 0;
  transform: translate3d(0, calc(var(--p, 0) * -70px), 0);
  opacity: calc(1 - var(--p, 0) * 1.15);
}
.hero-title { display: grid; gap: .85rem; margin-bottom: 1.1rem; font-weight: 400; }
.wordmark {
  display: block;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 16.5vw, 10.6rem); /* OREL CAFE is wider than the old name */
  line-height: .82;
  letter-spacing: .015em;
  text-align: right;
}
.letters { display: inline-flex; padding-block: .08em .04em; overflow: hidden; }
.letters > span { display: inline-block; }
.letters .gap { width: .26em; }
.hero-tagline {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, .9rem + .8vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
}
.hero-lead {
  max-width: 30ch;
  margin-bottom: 1.75rem;
  color: rgba(242, 232, 218, .88);
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.55;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.hero-meta li {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .25rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(20, 16, 13, .55);
  color: var(--cream);
  font-size: .9375rem;
}
.hero-meta li:has(> [hidden]) { display: none; }
.hero-meta a { text-decoration: none; }
.hero-meta a:hover { text-decoration: underline; text-underline-offset: .3em; }
.hero-meta li:has(> a) { padding: 0; }
.hero-meta li > a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .25rem 1rem; }

.hero-card-wrap { display: none; }

.scroll-cue {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  color: var(--on-dark-muted);
  font-size: .75rem;
  letter-spacing: .04em;
  text-decoration: none;
}
.scroll-cue-line {
  width: 1px;
  height: 2.25rem;
  background: linear-gradient(var(--honey), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.video-toggle {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: rgba(20, 16, 13, .55);
  color: var(--cream);
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.video-toggle[hidden] { display: none; }
.video-toggle .icon { width: 16px; height: 16px; }
.video-toggle .icon-play { display: none; }
.video-toggle.is-paused .icon-play { display: block; }
.video-toggle.is-paused .icon-pause { display: none; }
.hero-toggle { bottom: 1.25rem; inset-inline-end: var(--gutter); }
@media (max-width: 899px) {
  /* במובייל הטקסט למעלה, כי שפיכת הפולים קורית בחצי התחתון של הסרטון */
  .hero { justify-content: flex-start; padding-top: calc(var(--header-h) + 1.75rem); padding-bottom: 2.25rem; }
  .hero-shade {
    background: linear-gradient(to bottom,
      rgba(20, 16, 13, .96) 0%,
      rgba(20, 16, 13, .86) 42%,
      rgba(20, 16, 13, .25) 70%,
      rgba(20, 16, 13, .3) 100%);
  }
  .hero-media { transform-origin: center top; }
  .scroll-cue { display: none; }
  .hero .btn { padding-inline: 1.15rem; }
  .hero-toggle { top: auto; bottom: 1.25rem; }
}
@media (max-width: 599px) {
  /* כתובת וכשרות כבר כתובות בשורת התיאור, אז במסך צר נשאר רק הסטטוס */
  .hero-meta li:not(:first-child) { display: none; }
}

/* Intro: מוסתר רק כש-JS פעיל ועדיין לא is-ready */
.js:not(.is-ready) [data-intro] { opacity: 0; transform: translateY(22px); }
.js:not(.is-ready) .hero-card[data-intro] { transform: translateY(40px) scale(.96); }
.js:not(.is-ready) .letters > span { transform: translateY(110%); }
.js:not(.is-ready) .eyebrow-line::before { transform: scaleX(0); }
.is-ready [data-intro] {
  transition:
    opacity 1s ease calc(var(--d, 0) * 1ms),
    transform 1.3s var(--ease) calc(var(--d, 0) * 1ms);
}
.is-ready .letters > span { transition: transform 1.25s var(--ease) calc(250ms + var(--i) * 75ms); }
.is-ready .eyebrow-line::before { transition: transform 1.2s var(--ease) .45s; }
/* רשת ביטחון: אם ה-JS נכשל, הכול נחשף אחרי 3 שניות */
.js:not(.is-ready) [data-intro],
.js:not(.is-ready) .letters > span { animation: intro-safety .6s ease 3s forwards; }
.js:not(.is-ready) .hero-veil { animation: veil-safety .8s ease 3s forwards; }
@keyframes intro-safety { to { opacity: 1; transform: none; } }
@keyframes veil-safety { to { opacity: 0; } }

@media (min-width: 900px) {
  .hero { padding-bottom: 5.5rem; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 5vw, 6rem); }
  .hero-shade {
    background:
      linear-gradient(to left, rgba(20, 16, 13, .9) 0%, rgba(20, 16, 13, .55) 48%, rgba(20, 16, 13, .35) 100%),
      linear-gradient(to top, rgba(20, 16, 13, .9) 0%, transparent 38%);
  }
  .wordmark { font-size: clamp(3.8rem, 12.5vw, 10.6rem); }
  .hero-card-wrap {
    display: block;
    transform: translate3d(0, calc(var(--p, 0) * -140px), 0);
  }
  .hero-card {
    position: relative;
    width: min(24vw, 340px, calc((100svh - var(--header-h) - 10rem) * 9 / 16));
    aspect-ratio: 9 / 16;
    margin-bottom: 2.5rem;
  }
  .hero-card::before {
    content: "";
    position: absolute;
    inset-block: 1rem -1rem;
    inset-inline: -1rem 1rem;
    z-index: -1;
    border: 1px solid rgba(217, 168, 95, .45);
    border-radius: var(--radius);
  }
  .hero-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--roast);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  }
  .hero-card figcaption {
    position: absolute;
    bottom: -2.4rem;
    inset-inline-start: 0;
    color: var(--on-dark-muted);
    font-size: .8125rem;
    letter-spacing: .12em;
  }
}

/* ---------- Day (signature) ---------- */
.day { background: var(--espresso); }
.day-head { display: grid; gap: 1rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.day-head .eyebrow { margin: 0; }
.day-chapters { display: grid; gap: clamp(4rem, 10vw, 6rem); }
.chapter { min-width: 0; }
.chapter-media {
  aspect-ratio: 4 / 5;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--roast);
}
.chapter-media img { width: 100%; height: 100%; object-fit: cover; }
.chapter[data-chapter="1"] img,
.day-shot[data-shot="1"] img { object-position: 40% 50%; }
.chapter[data-chapter="2"] img,
.day-shot[data-shot="2"] img { object-position: 45% 50%; }
.chapter-time {
  margin-bottom: .35rem;
  color: var(--honey);
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.chapter-title {
  margin-bottom: .75rem;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.15;
}
.chapter > p:not(.chapter-time) { max-width: 42ch; margin-bottom: 1rem; color: var(--on-dark-muted); }
.day-stage { display: none; }

@media (min-width: 900px) {
  .day-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 3rem; }
  .day-head .eyebrow { grid-column: 1 / -1; }
  .day-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }

  .js .day-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(3rem, 6vw, 7rem);
    align-items: start;
  }
  .js .day-chapters { grid-template-columns: 1fr; gap: 0; }
  .js .chapter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 78vh;
    padding-block: 2rem;
  }
  .js .chapter-media { display: none; }
  .js .chapter .chapter-time,
  .js .chapter .chapter-title { opacity: .55; transition: opacity .6s ease; }
  .js .chapter.is-active .chapter-time,
  .js .chapter.is-active .chapter-title { opacity: 1; }

  .js .day-stage {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    height: calc(100svh - var(--header-h) - 4rem);
    max-height: 820px;
  }
  .day-frame {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--roast);
  }
  .day-shot {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1s ease, transform 1.8s var(--ease);
  }
  .day-shot.is-active { opacity: 1; transform: scale(1); }
  .day-shot img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- Craft ---------- */
.craft { background: var(--roast); }
.craft-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.craft-copy { grid-column: 1 / -1; margin-bottom: 1.5rem; }
.craft-copy > p:not(.eyebrow) { max-width: 44ch; margin-block: 1.25rem 2rem; color: var(--on-dark-muted); }
.craft-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}
.craft-prices li { display: grid; gap: .3rem; }
.cp-price {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem);
  line-height: 1;
}
.cp-price small { margin-inline-start: .15em; color: var(--honey); font-family: var(--font-body); font-size: .42em; }
.cp-name { color: var(--on-dark-muted); font-size: .875rem; }
.craft-video {
  position: relative;
  grid-column: 1 / -1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--espresso);
}
.craft-video video { width: 100%; height: 100%; object-fit: cover; }
.craft-video .video-toggle { bottom: .9rem; inset-inline-end: .9rem; }
.craft-shot { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--espresso); }
.craft-shot img { width: 100%; height: 100%; object-fit: cover; }
.craft-shot-b img { object-position: 35% 50%; }

@media (min-width: 900px) {
  .craft-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.75rem);
    align-items: end;
  }
  .craft-copy { grid-column: 1 / span 6; grid-row: 1; align-self: start; margin: 0; padding-top: 1rem; }
  .craft-video { grid-column: 8 / span 5; grid-row: 1 / span 2; aspect-ratio: 4 / 5.4; }
  .craft-shot-a { grid-column: 1 / span 3; grid-row: 2; aspect-ratio: 4 / 5; }
  .craft-shot-b { grid-column: 4 / span 4; grid-row: 2; aspect-ratio: 5 / 4.2; }
}

/* ---------- Menu ---------- */
.menu { background: var(--paper); color: var(--ink); }
.menu .eyebrow { color: var(--honey-deep); }
.menu-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.menu-note { color: var(--ink-muted); font-size: .9375rem; line-height: 1.6; }

.menu-tabs {
  display: flex;
  gap: .5rem;
  margin-inline: calc(var(--gutter) * -1);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: 0 var(--gutter) 1.25rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--line-light);
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs[hidden] { display: none; }
.menu-tabs [role="tab"] {
  flex: none;
  min-height: 2.75rem;
  padding: .5rem 1.1rem;
  border: 1px solid rgba(27, 20, 16, .45);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: .9375rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.menu-tabs [role="tab"]:hover { border-color: var(--ink); }
.menu-tabs [role="tab"][aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.menu-panel + .menu-panel { margin-top: 3.5rem; }
.js .menu-panel + .menu-panel { margin-top: 0; }
.menu-panel[hidden] { display: none; }
.menu-panel.is-entering { animation: panel-in .5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.menu-cat {
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.1;
}
.menu-cat-note { margin: -.75rem 0 1.25rem; color: var(--ink-muted); }
.menu-list { display: grid; column-gap: 4rem; }
.mi { padding-block: .85rem; }
.mi-row { display: flex; align-items: baseline; gap: .75rem; }
.mi-row::after {
  content: "";
  order: 2;
  flex: 1 1 1.5rem;
  border-bottom: 1px dotted rgba(27, 20, 16, .35);
  transform: translateY(-.3em);
}
.mi-name { order: 1; min-width: 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.4; }
.mi-name small { margin-inline-start: .35rem; color: var(--ink-muted); font-size: .875rem; font-weight: 400; }
.mi-price {
  order: 3;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1;
  white-space: nowrap;
}
.mi-desc { max-width: 40ch; margin-top: .2rem; color: var(--ink-muted); font-size: .9375rem; line-height: 1.55; }
.mi-feature {
  display: grid;
  gap: .4rem;
  margin-bottom: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--cream);
}
.mi-feature .mi-name { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 400; }
.mi-feature .mi-name small { font-family: var(--font-body); }
.mi-feature .mi-price { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
.mi-feature .mi-desc { max-width: 60ch; margin-bottom: .75rem; }

.menu-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-light);
}
.menu-cta > p { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); line-height: 1.2; }

@media (min-width: 900px) {
  .menu-tabs { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; }
  .menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Order (משלוח ואיסוף) ---------- */
.order { background: var(--roast); }
.order-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.order-head .eyebrow { margin: 0; }
.order-grid { display: grid; gap: 1.25rem; }
.order-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(242, 232, 218, .03);
  transition: border-color .35s, transform .5s var(--ease), box-shadow .5s;
}
.order-card > :not(.order-media) { margin-inline: clamp(1.25rem, 3vw, 2rem); }
.order-media { aspect-ratio: 16 / 9; margin-bottom: .25rem; overflow: hidden; background: var(--espresso); }
.order-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.order-card-title {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.1;
}
.order-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(217, 168, 95, .5);
  border-radius: 50%;
  color: var(--honey);
  font-size: 1.1rem;
}
.order-card p { max-width: 40ch; color: var(--on-dark-muted); }
.order-card .btn { align-self: flex-start; margin-top: auto; }
@media (min-width: 760px) {
  .order-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .order-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 3rem; }
  .order-head .eyebrow { grid-column: 1 / -1; }
}
@media (hover: hover) {
  .order-card:hover { border-color: rgba(217, 168, 95, .55); transform: translateY(-4px); box-shadow: 0 30px 50px -35px rgba(0, 0, 0, .8); }
  .order-card:hover .order-media img { transform: scale(1.05); }
}

/* ---------- Gallery ---------- */
.gallery { background: var(--espresso); }
.gallery-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.gallery-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 1rem;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0 var(--gutter) .5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.gallery-grid::-webkit-scrollbar { display: none; }
.g-item { min-width: 0; scroll-snap-align: start; }
.g-item figure {
  position: relative;
  height: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--roast);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-item figcaption {
  position: absolute;
  bottom: .9rem;
  inset-inline-start: .9rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: rgba(20, 16, 13, .6);
  color: var(--cream);
  font-size: .8125rem;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
@media (hover: hover) {
  .g-item:hover img { transform: scale(1.04); }
}
@media (min-width: 900px) {
  .gallery-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, clamp(220px, 22vw, 320px));
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
  .g-item figure { aspect-ratio: auto; }
  .g-a { grid-column: 1 / span 5; grid-row: 1 / span 2; }
  .g-b { grid-column: 6 / span 4; grid-row: 1; }
  .g-c { grid-column: 10 / span 3; grid-row: 1; }
  .g-d { grid-column: 6 / span 7; grid-row: 2; }
}

/* ---------- Visit ---------- */
.visit { isolation: isolate; overflow: hidden; background: var(--night); }
.visit-bg { position: absolute; inset: 0; z-index: -1; }
.visit-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.visit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, var(--espresso) 0%, rgba(20, 16, 13, .55) 30%, rgba(14, 11, 9, .85) 100%);
}
.visit-grid { display: grid; gap: 2.5rem; }
.visit-info { min-width: 0; }
.visit-info .h2 { margin-bottom: 1rem; }
.status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--cream);
  font-weight: 500;
}
.status[hidden] { display: none; }
.status-dot {
  position: relative;
  flex: none;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--on-dark-muted);
}
.status[data-state="open"] .status-dot { background: var(--open); }
.status[data-state="closing"],
.status[data-state="opening"] { color: var(--honey-hover); }
.status[data-state="closing"] .status-dot,
.status[data-state="opening"] .status-dot { background: var(--honey); }
.status[data-state="closed"] .status-dot { background: var(--closed); }
.status[data-state="open"] .status-dot::after,
.status[data-state="closing"] .status-dot::after,
.status[data-state="opening"] .status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--open);
  animation: ring 2.4s ease-out infinite;
}
.status[data-state="closing"] .status-dot::after,
.status[data-state="opening"] .status-dot::after { background: var(--honey); animation-duration: 1.8s; }
/* "ייסגר בקרוב" / "ייפתח בקרוב" (90 דקות לפני): הצ'יפ בפתיחה מקבל גוון דבש עדין */
.hero-meta li:has(.status[data-state="closing"]),
.hero-meta li:has(.status[data-state="opening"]) {
  border-color: rgba(217, 168, 95, .55);
  background:
    linear-gradient(to left, rgba(217, 168, 95, .22), rgba(217, 168, 95, .08)),
    rgba(20, 16, 13, .72);
  box-shadow: 0 0 0 4px rgba(217, 168, 95, .07);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
@keyframes ring {
  from { transform: scale(1); opacity: .6; }
  to { transform: scale(2.8); opacity: 0; }
}
.status-lg { margin-bottom: 1.5rem; font-size: 1.0625rem; }

.hours {
  width: 100%;
  max-width: 28rem;
  margin-bottom: 1.75rem;
  font-variant-numeric: tabular-nums;
}
.hours th,
.hours td { padding: .7rem 0; border-bottom: 1px solid var(--line-dark); font-weight: 400; text-align: start; }
.hours th { color: var(--on-dark-muted); }
.hours td { color: var(--cream); text-align: end; }
.hours tr.is-today th,
.hours tr.is-today td { color: var(--honey); font-weight: 500; }
.today-tag {
  display: inline-block;
  margin-inline-start: .5rem;
  padding: 0 .5rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .75rem;
  line-height: 1.5;
  vertical-align: middle;
}
.visit-address { display: grid; gap: .1rem; margin-bottom: 1.75rem; font-size: 1.0625rem; }
.visit-address a { display: inline-flex; align-items: center; width: fit-content; min-height: 44px; text-decoration: none; }
.visit-address a:hover { text-decoration: underline; text-underline-offset: .3em; }
.va-kosher { color: var(--on-dark-muted); font-size: .9375rem; }
.visit-map {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--roast);
}
.visit-map iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (min-width: 900px) {
  .visit-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(3rem, 6vw, 6rem); }
  .visit-map { aspect-ratio: auto; height: min(560px, 72vh); }
}

/* ---------- Finale CTA ---------- */
.finale {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  min-height: 92vh;
  min-height: 92svh;
  padding-block: clamp(4.5rem, 10vw, 7rem);
  overflow: hidden;
}
.finale-bg { position: absolute; inset: 0; z-index: -2; }
.finale-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
  transform: scale(1.08);
  transition: transform 9s cubic-bezier(.2, .6, .2, 1);
}
.finale.is-visible .finale-bg img { transform: scale(1); }
.finale-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(20, 16, 13, .96) 0%, rgba(20, 16, 13, .82) 42%, rgba(20, 16, 13, .15) 75%, rgba(20, 16, 13, .35) 100%);
}
.finale-title {
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 1.8rem + 6vw, 7rem);
  font-weight: 400;
  line-height: .98;
  text-wrap: balance;
}
.finale-lead {
  max-width: 34ch;
  margin-bottom: 1.1rem;
  color: rgba(242, 232, 218, .9);
  font-size: var(--fs-lead);
  font-weight: 300;
}
.finale .status { margin-bottom: 1.75rem; }

@media (min-width: 900px) {
  .finale { align-items: flex-end; }
  /* התמונה הופכת אופקית כדי שהכוס תהיה בצד שמאל ולא תוסתר מתחת לטקסט */
  .finale-bg img { scale: -1 1; object-position: 50% 50%; }
  .finale-shade {
    background:
      linear-gradient(to left, rgba(20, 16, 13, .92) 0%, rgba(20, 16, 13, .6) 45%, rgba(20, 16, 13, .1) 100%),
      linear-gradient(to top, rgba(20, 16, 13, .7), transparent 45%);
  }
}

/* ---------- Social (אינסטגרם / טיקטוק) ---------- */
.social { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.social-label { margin-inline-end: .25rem; color: var(--on-dark-muted); font-size: .875rem; }
.social a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(217, 168, 95, .55);
  border-radius: 50%;
  background: rgba(217, 168, 95, .07);
  color: var(--honey);
  transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--ease);
}
.social .icon { width: 20px; height: 20px; }
.visit .social { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); }
.footer-brand .social { margin-top: 1.25rem; }
/* בפוטר הקישורים מקבלים קו תחתון מונפש; אצל האייקונים מבטלים אותו */
.site-footer .social a { display: inline-grid; place-items: center; min-height: 44px; background: rgba(217, 168, 95, .07); color: var(--honey); }
@media (hover: hover) {
  .social a:hover,
  .site-footer .social a:hover { border-color: var(--honey); background: var(--honey); color: var(--espresso); transform: translateY(-2px); }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 4rem 2rem;
  background: var(--night);
  color: var(--on-dark-muted);
  font-size: .9375rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer-logo {
  margin-bottom: .75rem;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: .16em;
  direction: ltr;
  text-align: right;
}
.footer-h { margin-bottom: .5rem; color: var(--honey); font-size: .875rem; font-weight: 500; letter-spacing: .04em; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: .3em; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1rem;
  padding-top: 1rem;
  font-size: .8125rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: .5rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-dark);
  background: rgba(14, 11, 9, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateY(110%);
  transition: transform .45s var(--ease);
}
.past-hero .action-bar,
html:not(.js) .action-bar { transform: none; }
.nav-open .action-bar { transform: translateY(110%); }
.ab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 3rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--cream);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.ab-primary { border-color: var(--honey); background: var(--honey); color: var(--espresso); }
@media (min-width: 900px) {
  .action-bar { display: none; }
}

/* ---------- Reveal on scroll ---------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease var(--rd, 0ms), transform 1.1s var(--ease) var(--rd, 0ms);
}
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 60;
  height: 2px;
  background: linear-gradient(to left, var(--honey), var(--honey-hover));
  transform: scaleX(0);
  transform-origin: right;
  pointer-events: none;
}

/* ---------- Greeting ---------- */
.hero-greeting { gap: .6rem; font-size: .9375rem; }
.greet-icon { width: 1.15em; height: 1.15em; }

/* ---------- Parallax wrappers ---------- */
.chapter-media picture,
.craft-shot picture,
.g-item picture { display: block; height: 100%; }

/* ---------- Hover ---------- */
@media (hover: hover) {
  .btn-primary:hover { box-shadow: 0 14px 32px -14px rgba(217, 168, 95, .65); transform: translateY(-2px); }
  .btn-dark:hover { box-shadow: 0 14px 32px -16px rgba(27, 20, 16, .55); transform: translateY(-2px); }

  .chapter-media img,
  .craft-shot img { transition: transform 1.2s var(--ease); }
  .chapter-media:hover img,
  .craft-shot:hover img { transform: scale(1.05); }

  .g-item figcaption { transition: transform .4s var(--ease), background-color .4s, color .4s; }
  .g-item:hover figcaption { transform: translateY(-4px); background: var(--honey); color: var(--espresso); }

  .mi-name, .mi-price { transition: color .25s, transform .35s var(--ease); }
  .mi-row::after { transition: border-color .25s; }
  .mi:hover .mi-name { color: var(--honey-deep); }
  .mi:hover .mi-price { transform: translateX(-3px); }
  .mi:hover .mi-row::after { border-bottom-color: rgba(138, 90, 30, .6); }

  .hero-meta li { transition: border-color .25s, background-color .25s; }
  .hero-meta li:hover { border-color: rgba(242, 232, 218, .45); background: rgba(20, 16, 13, .6); }

  .cp-price { transition: color .25s; }
  .craft-prices li:hover .cp-price { color: var(--honey); }

  .hero-card::before { transition: transform .7s var(--ease); }
  .hero-card:hover::before { transform: translate(-10px, 10px); }

  .hours tbody tr th, .hours tbody tr td { transition: color .25s; }
  .hours tbody tr:hover th { color: var(--cream); }

  .site-footer a {
    background: linear-gradient(currentColor, currentColor) no-repeat right bottom .7rem / 0 1px;
    transition: background-size .35s var(--ease);
  }
  .site-footer a:hover { text-decoration: none; background-size: 100% 1px; }
}

/* ---------- Cursor: חץ ויד רגילים, בצבעי האתר ועם מתאר כהה כדי שלא ייבלעו ---------- */
@media (hover: hover) and (pointer: fine) {
  html { cursor: url("assets/img/cursor-arrow.svg") 5 3, auto; }
  a[href],
  button,
  [role="tab"],
  label,
  summary { cursor: url("assets/img/cursor-hand.svg") 11 4, pointer !important; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js:not(.is-ready) [data-intro],
  .js:not(.is-ready) .letters > span,
  .js:not(.is-ready) .eyebrow-line::before { opacity: 1; transform: none; }
  .hero-veil { display: none; }
  .hero-media, .hero-copy, .hero-card-wrap { transform: none !important; opacity: 1 !important; }
  .scroll-cue-line { animation: none; }
}
