/* פונטים מאוחסנים בדף עצמו (SIL Open Font License) */
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/frank-ruhl-libre-hebrew-500-normal.woff2") format("woff2"); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/frank-ruhl-libre-latin-500-normal.woff2") format("woff2"); 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: "Frank Ruhl Libre"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/frank-ruhl-libre-hebrew-800-normal.woff2") format("woff2"); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/frank-ruhl-libre-latin-800-normal.woff2") format("woff2"); 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: "Miriam Libre"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/miriam-libre-hebrew-400-normal.woff2") format("woff2"); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: "Miriam Libre"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/miriam-libre-latin-400-normal.woff2") format("woff2"); 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: "Miriam Libre"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/miriam-libre-hebrew-700-normal.woff2") format("woff2"); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: "Miriam Libre"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/miriam-libre-latin-700-normal.woff2") format("woff2"); 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: "Secular One"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/secular-one-hebrew-400-normal.woff2") format("woff2"); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: "Secular One"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/secular-one-latin-400-normal.woff2") format("woff2"); 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; }

/* זייד 1: הבניין בטורקיז של הקירות, וכל חדר בצבעי המותג שלו */
:root {
  --petrol: #14363b;
  --petrol-deep: #0d2629;
  --wall: #1f4f55;
  --paper: #ece4d2;
  --amber: #e8b664;

  --mandu: #f6dd1f;
  --mandu-ink: #111111;
  --benenu: #f7f5f0;
  --benenu-ink: #161616;
  --amanda: #e8cdc4;
  --amanda-ink: #3b1f2b;

  --display: "Frank Ruhl Libre", "David", serif;
  --block: "Secular One", "Arial Hebrew", sans-serif;
  --text: "Miriam Libre", "Arial Hebrew", sans-serif;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  direction: rtl;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--petrol-deep);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* צבע הבית מתחלף כשעוברים מחדר לחדר */
body {
  --bg: var(--petrol-deep);
  --fg: var(--paper);
  --accent: var(--amber);
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  transition: background-color .7s var(--ease-out), color .7s var(--ease-out);
}
body[data-room="mandu"]  { --bg: var(--mandu);  --fg: var(--mandu-ink);  --accent: var(--mandu-ink); }
body[data-room="benenu"] { --bg: var(--benenu); --fg: var(--benenu-ink); --accent: var(--benenu-ink); }
body[data-room="amanda"] { --bg: var(--amanda); --fg: var(--amanda-ink); --accent: var(--amanda-ink); }
@media (prefers-reduced-motion: reduce) { body { transition: none; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { touch-action: manipulation; }
button { font: inherit; color: inherit; }
button, .btn, .doors a { user-select: none; -webkit-user-select: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.15; margin: 0; }
p { margin: 0; }
section[id] { scroll-margin-top: 4.5rem; }

/* ---------- סרגל עליון: שלוש דלתות ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + .8rem) var(--gutter) .8rem;
  color: var(--paper);
  background: linear-gradient(to bottom, rgba(13, 38, 41, .7), rgba(13, 38, 41, 0));
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out);
}
.topbar.solid { background: var(--bg); color: var(--fg); box-shadow: 0 1px 0 color-mix(in srgb, var(--fg) 14%, transparent); }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 1.35rem; text-decoration: none; }
.doors { display: flex; gap: .35rem; }
.doors a {
  text-decoration: none;
  font-size: .92rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  transition: border-color .3s, background-color .3s;
}
.doors a.on { border-color: currentColor; }
.doors a:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .doors a:hover { border-color: color-mix(in srgb, currentColor 45%, transparent); }
}

/* ---------- הכניסה: שלוש דלתות באלכסון ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  background: var(--petrol-deep);
  overflow: hidden;
}
.panel-door {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  overflow: hidden;
}
.panel-door img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.door-tint { position: absolute; inset: 0; pointer-events: none; }
.door-text {
  position: absolute;
  display: grid;
  gap: .3rem;
  text-align: right;
  line-height: 1.2;
}
.door-name { font-size: clamp(1.9rem, 8vw, 3.4rem); }
.door-hours { font-size: .9rem; opacity: .85; line-height: 1.5; }
.panel-door:active img { transform: scale(1.02); }
@media (hover: hover) and (pointer: fine) {
  .panel-door:hover img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) { .panel-door img { transition: none; } }

/* כל מותג בצבע שלו: שכבת צבע שעולה מהקצה, וקו דק בצבע המותג סביב הטקסט */
.door-mandu .door-tint { background: linear-gradient(to left, rgba(246, 221, 31, .95) 0%, rgba(246, 221, 31, .55) 45%, rgba(246, 221, 31, 0) 80%); }
.door-mandu .door-name { font-family: var(--block); color: var(--mandu-ink); }
.door-mandu .door-text { color: var(--mandu-ink); }
.door-benenu .door-tint { background: linear-gradient(to left, rgba(247, 245, 240, .95) 0%, rgba(247, 245, 240, .55) 45%, rgba(247, 245, 240, 0) 80%); }
.door-benenu .door-name { font-family: var(--display); font-weight: 500; color: var(--benenu-ink); }
.door-benenu .door-text { color: var(--benenu-ink); }
.door-amanda .door-tint { background: linear-gradient(to left, rgba(232, 205, 196, .95) 0%, rgba(232, 205, 196, .55) 45%, rgba(232, 205, 196, 0) 80%); }
.door-amanda .door-name { font-family: var(--display); font-weight: 500; color: var(--amanda-ink); }
.door-amanda .door-text { color: var(--amanda-ink); }
.door-text::before {
  content: "";
  width: 2.5rem;
  height: 3px;
  background: currentColor;
  margin-bottom: .4rem;
}


/* נייד: שלוש רצועות אחת מעל השנייה, מופרדות בקווים אלכסוניים */
.door-mandu  { clip-path: polygon(0 0, 100% 0, 100% 30.5%, 0 38.5%); }
.door-benenu { clip-path: polygon(0 39.3%, 100% 31.3%, 100% 63.7%, 0 71.7%); }
.door-amanda { clip-path: polygon(0 72.5%, 100% 64.5%, 100% 100%, 0 100%); }
.door-mandu img  { height: 40%; object-position: center 45%; }
.door-benenu img { top: 30%; height: 43%; }
.door-amanda img { top: 63%; height: 37%; object-position: center 40%; }
.door-mandu .door-tint  { top: 0; height: 40%; }
.door-benenu .door-tint { top: 30%; height: 43%; }
.door-amanda .door-tint { top: 63%; height: 37%; }
.door-mandu .door-text  { right: var(--gutter); top: 15%; }
.door-benenu .door-text { right: var(--gutter); top: 45%; }
.door-amanda .door-text { right: var(--gutter); top: 77%; }

/* מחשב: שלושה עמודים, מימין לשמאל, עם קווים אלכסוניים ביניהם */
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .hero { height: 100vh; }
  .door-mandu  { clip-path: polygon(72.4% 0, 100% 0, 100% 100%, 60.4% 100%); }
  .door-benenu { clip-path: polygon(38.4% 0, 71.6% 0, 59.6% 100%, 26.4% 100%); }
  .door-amanda { clip-path: polygon(0 0, 37.6% 0, 25.6% 100%, 0 100%); }
  .door-mandu img, .door-benenu img, .door-amanda img { top: 0; height: 100%; right: auto; }
  .door-mandu .door-tint, .door-benenu .door-tint, .door-amanda .door-tint { top: 0; height: 100%; right: auto; }
  .door-mandu img  { left: 58%; width: 42%; }
  .door-benenu img { left: 24%; width: 50%; }
  .door-amanda img { left: 0; width: 40%; }
  .door-mandu .door-tint  { left: 58%; width: 42%; }
  .door-benenu .door-tint { left: 24%; width: 50%; }
  .door-amanda .door-tint { left: 0; width: 40%; }
  .door-mandu .door-text  { top: auto; bottom: 9vh; right: 3vw; max-width: 24vw; }
  .door-benenu .door-text { top: auto; bottom: 9vh; right: 42vw; max-width: 22vw; }
  .door-amanda .door-text { top: auto; bottom: 9vh; right: 76vw; max-width: 20vw; }
  .door-name { font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
  .door-tint { background-image: none; }
  .door-mandu .door-tint  { background: linear-gradient(to top, rgba(246, 221, 31, .95) 0%, rgba(246, 221, 31, 0) 50%); }
  .door-benenu .door-tint { background: linear-gradient(to top, rgba(247, 245, 240, .95) 0%, rgba(247, 245, 240, 0) 50%); }
  .door-amanda .door-tint { background: linear-gradient(to top, rgba(232, 205, 196, .95) 0%, rgba(232, 205, 196, 0) 50%); }
}

/* ---------- חדרים: מבנה משותף ---------- */
.room { padding: clamp(5.5rem, 14vw, 9rem) var(--gutter); }
.room > * { max-width: 62rem; margin-inline: auto; }
.room-head { display: grid; justify-items: start; gap: .9rem; margin-bottom: 2rem; }
.room-head .room-lead { margin-bottom: 0; }
.room-title { font-size: clamp(3rem, 14vw, 7rem); line-height: .95; }
.room-lead { font-size: 1.15rem; max-width: 34ch; margin-bottom: 2rem; }
.room-hours { margin-block: 0 2.5rem; display: grid; gap: .1rem; }
.room-hours dt { font-size: .95rem; opacity: .75; }
.room-hours dd { margin: 0; font-family: var(--display); font-size: clamp(2rem, 8vw, 3rem); font-variant-numeric: tabular-nums; }
.room-hours.two { grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 760px) { .room-hours.two { grid-template-columns: auto auto; justify-content: start; column-gap: 4rem; } }
.room-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; }
.logo { flex: none; }

.text-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; display: inline-block; padding-block: .4rem; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
  font-weight: 700;
  transition: transform .12s var(--ease-out), opacity .2s;
}
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { opacity: .88; } }

/* ---------- חדר מנדו: צהוב ושחור, כמו השלט ---------- */
.room-mandu { background: var(--mandu); color: var(--mandu-ink); --bg: var(--mandu); --fg: var(--mandu-ink); }
.room-benenu { background: var(--benenu); color: var(--benenu-ink); --bg: var(--benenu); --fg: var(--benenu-ink); }
.room-amanda { background: var(--amanda); color: var(--amanda-ink); --bg: var(--amanda); --fg: var(--amanda-ink); }
.room-mandu .room-title { font-family: var(--block); font-weight: 400; letter-spacing: -.01em; }
.logo-square { width: 52px; height: 52px; border-radius: 3px; box-shadow: 0 0 0 1.5px var(--mandu-ink); }
.room-mandu .room-hours dd { font-family: var(--block); }

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: .75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
  margin-bottom: clamp(3rem, 10vw, 6rem);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.room > .gallery { max-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.g { margin: 0; scroll-snap-align: center; }
.g img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
@media (min-width: 960px) {
  .gallery { display: block; columns: 3; column-gap: 1.25rem; overflow: visible; margin-inline: auto; padding: 0; max-width: 62rem; }
  .room > .gallery { max-width: 62rem; }
  .g { break-inside: avoid; margin-bottom: 1.25rem; }
  .g img { aspect-ratio: auto; }
}

.paper {
  max-width: 44rem;
  background: #fbf8ef;
  color: #1b1b1b;
  padding: clamp(1.75rem, 6vw, 3.5rem) clamp(1.25rem, 6vw, 3.5rem);
  border-radius: 2px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .9), 0 24px 50px -28px rgba(0, 0, 0, .55);
  margin-bottom: clamp(3.5rem, 10vw, 6rem);
}
.menu-title { font-family: var(--block); font-weight: 400; font-size: clamp(1.9rem, 7vw, 2.6rem); text-align: center; margin-bottom: 1.25rem; }
.menu-welcome { text-align: center; font-size: .95rem; color: #555; margin: -.5rem 0 1.25rem; }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem; border-bottom: 1px solid rgba(0, 0, 0, .2); margin-bottom: 1.75rem; }
.tabs button {
  border: 0; background: none; padding: .7rem .8rem; min-height: 44px; cursor: pointer;
  color: #5a5a5a; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s;
}
.tabs button[aria-selected="true"] { color: #111; border-bottom-color: #111; font-weight: 700; }
.panel h4 { font-size: 1.25rem; margin: 1.5rem 0 .5rem; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: .5rem; padding-block: .6rem; }
.items li::after { content: ""; grid-column: 2; grid-row: 1; border-bottom: 1px dotted rgba(0, 0, 0, .4); transform: translateY(-.3em); }
.items .n { grid-column: 1; grid-row: 1; font-weight: 700; }
.items .p { grid-column: 3; grid-row: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.items .d { grid-column: 1 / -1; grid-row: 2; color: #555; font-size: .93rem; line-height: 1.5; max-width: 46ch; }
.wine-key { text-align: left; font-size: .85rem; color: #555; }
.footnote { margin-top: 1.5rem; font-size: .88rem; color: #555; text-align: center; }

.values-title { font-family: var(--block); font-weight: 400; font-size: clamp(1.9rem, 7vw, 2.8rem); margin-bottom: 1.75rem; }
.values-list { margin: 0; display: grid; gap: 1.75rem; }
.values-list dt { font-family: var(--block); font-size: 1.4rem; margin-bottom: .25rem; }
.values-list dd { margin: 0; max-width: 46ch; }
@media (min-width: 760px) { .values-list { grid-template-columns: 1fr 1fr; column-gap: 4rem; row-gap: 2.5rem; } }

/* ---------- חדר בינינו: לבן, שקט, כתב יד ---------- */
.room-benenu { padding-block: clamp(6rem, 16vw, 10rem); }
.benenu-head { text-align: center; margin-bottom: clamp(2.5rem, 8vw, 4rem); }
.benenu-head > * { margin-inline: auto; }
.morning { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.morning figure { margin: 0; }
.morning img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.morning .m-wide { grid-column: 1 / -1; }
.morning .m-wide img { aspect-ratio: 4 / 3; }
@media (min-width: 960px) {
  .room > .morning { max-width: 72rem; }
  .morning { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .morning .m-wide { grid-column: span 2; }
  .morning .m-wide img { aspect-ratio: 4 / 3; }
  .morning figure:not(.m-wide) img { aspect-ratio: 3 / 4; height: 100%; }
  .morning figure:last-child { grid-column: span 4; }
  .morning figure:last-child img { aspect-ratio: 21 / 9; object-position: center 55%; }
}
.logo-benenu { width: 150px; height: 150px; mix-blend-mode: multiply; margin-bottom: .5rem; }
.room-benenu .room-title { font-weight: 500; font-size: clamp(2rem, 8vw, 3.2rem); margin-bottom: .75rem; }
.room-benenu .room-lead { margin-inline: auto; }
.room-benenu .room-hours { justify-items: center; }
.room-benenu .room-hours dd { font-weight: 500; }
.room-benenu .room-links { justify-content: center; }
.room-benenu .room-hours { margin-bottom: 0; }

/* ---------- חדר אמנדה: ורוד מאובק ובדים ---------- */
.logo-round { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--amanda), 0 0 0 4px var(--amanda-ink); }
.room-amanda .kicker { opacity: .7; margin-bottom: .25rem; }
.room-amanda .room-title { font-weight: 500; font-style: normal; }
.lookbook {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-bottom: 2.75rem;
}
.lookbook figure { margin: 0; }
.lookbook img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.lookbook .lb-wide { grid-column: 1 / -1; }
.lookbook .lb-wide img { aspect-ratio: auto; }
.lookbook .lb-hero img { border-radius: 999px 999px 2px 2px; }
@media (min-width: 960px) {
  .room > .lookbook { max-width: 72rem; }
  .lookbook { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .lookbook .lb-hero { grid-column: span 2; grid-row: span 2; }
  .lookbook .lb-hero img { height: 100%; object-fit: cover; }
  .lookbook .lb-wide:not(.lb-hero) { grid-column: span 2; }
  .lookbook .lb-wide:not(.lb-hero) img { aspect-ratio: 16 / 10; object-fit: cover; }
  .lookbook .lb-full { grid-column: 1 / -1; }
  .lookbook .lb-full img { aspect-ratio: 21 / 9 !important; object-position: center 40%; }
}

/* ---------- איך מגיעים ---------- */
.visit { background: var(--wall); color: var(--paper); padding: clamp(4.5rem, 12vw, 8rem) var(--gutter); }
.visit > * { max-width: 62rem; margin-inline: auto; }
.section-title { font-size: clamp(2.1rem, 8vw, 3.6rem); margin-bottom: 1.5rem; }
.address { font-family: var(--display); font-size: clamp(1.7rem, 6.5vw, 2.6rem); line-height: 1.3; margin-bottom: 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.visit .btn { background: var(--amber); color: #1b1b1b; }
.rating { font-size: .95rem; opacity: .75; }

.footer { padding: 2rem var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 2rem); font-size: .85rem; opacity: .6; text-align: center; background: var(--wall); color: var(--paper); }

/* שם הבר כמו השלט: אותיות שחורות מרובעות בתוך מסגרת שחורה */
.room-mandu .sign {
  display: inline-block;
  padding: .12em .32em .05em;
  border: .07em solid var(--mandu-ink);
  line-height: 1;
}

/* ================= הכניסה לחדר של מנדו בגלילה ================= */
/* הבמה נשארת במקום בזמן שגוללים, והגלילה מניעה את הסצנה */
.intro { position: relative; height: 320svh; }
.intro-mark { position: absolute; top: 170svh; }
.intro .hero { position: sticky; top: 0; }
.hero.moving .panel-door img { transition: none; }
.door-benenu, .door-amanda { transform-origin: 50% 0; will-change: transform, opacity; }
.panel-door .door-tint { will-change: opacity; }
.letter { display: inline-block; will-change: transform, opacity; }
.wd { display: inline-block; white-space: nowrap; }
.hero .door-text::before { opacity: var(--bar, 1); }

/* הצהוב שנכנס מימין, והטקסט על החלק האטום שלו */
.mandu-intro { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.mi-fill {
  position: absolute; inset-block: 0; right: 0;
  width: 92%;
  background: linear-gradient(to left, var(--mandu) 0%, var(--mandu) 64%, rgba(246, 221, 31, 0) 100%);
  transform: translateX(calc((1 - var(--fill, 0)) * 100%));
  will-change: transform;
}
.mi-content {
  position: absolute; right: var(--gutter); top: 50%;
  width: 56%;
  color: var(--mandu-ink);
  display: grid; justify-items: start; gap: .9rem;
  opacity: var(--show, 0);
  transform: translate(calc((1 - var(--show, 0)) * 2.5rem), -50%);
  pointer-events: auto;
}
.mi-content .room-title { font-family: var(--block); font-weight: 400; letter-spacing: -.01em; font-size: clamp(2.6rem, 12vw, 6.5rem); }
.mi-content .sign { display: inline-block; padding: .12em .32em .05em; border: .07em solid var(--mandu-ink); line-height: 1; }
.mi-content .room-lead { margin: 0; font-size: 1.05rem; }
.mi-content .room-hours { margin: .5rem 0 0; }
.mi-content .room-hours dd { font-family: var(--block); font-size: clamp(1.7rem, 7vw, 3rem); }
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .door-benenu, .door-amanda { transform-origin: 100% 50%; }
  .mi-fill { width: 64%; background: linear-gradient(to left, var(--mandu) 0%, var(--mandu) 70%, rgba(246, 221, 31, 0) 100%); }
  .mi-content { width: 38%; right: 6vw; }
  .mi-content .room-lead { font-size: 1.2rem; }
}
.room-mandu { padding-top: clamp(3rem, 8vw, 5rem); }

/* מי שביקש פחות תנועה: בלי סצנה, הטקסט מופיע מתחת לכניסה */
@media (prefers-reduced-motion: reduce) {
  .intro { height: auto; }
  .intro .hero { position: relative; }
  .intro-mark { top: 100svh; }
}
.mandu-intro.static { position: static; overflow: visible; margin-bottom: 2.5rem; }
.mandu-intro.static .mi-fill { display: none; }
.mandu-intro.static .mi-content { position: static; transform: none; opacity: 1; width: auto; }
