/*
Theme Name: Liam Events
Description: תבנית מותאמת לאתר ליאם אולם אירועים בשדרות.
Version: 1.0.3
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: liam-events
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
  font-family: "Noto Serif Hebrew";
  src: url("./assets/fonts/noto-serif-hebrew-hebrew-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  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: "Noto Serif Hebrew";
  src: url("./assets/fonts/noto-serif-hebrew-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2212;
}
@font-face {
  font-family: "Noto Sans Hebrew";
  src: url("./assets/fonts/noto-sans-hebrew-hebrew-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  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: "Noto Sans Hebrew";
  src: url("./assets/fonts/noto-sans-hebrew-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2212;
}

:root {
  color-scheme: dark;
  --black: #110e0b;
  --ink: #19140f;
  --brown: #211b14;
  --cream: #f5ecdc;
  --gold: #dfb982;
  --line: #987957;
  --muted: #d8c9b5;
  --display: "Noto Serif Hebrew", "Times New Roman", serif;
  --reading: "Noto Sans Hebrew", Arial, sans-serif;
  --button-edge: polygon(8px 0, calc(100% - 8px) 0, calc(100% - 8px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) 8px, 100% 8px, 100% calc(100% - 8px), calc(100% - 3px) calc(100% - 8px), calc(100% - 3px) calc(100% - 3px), calc(100% - 8px) calc(100% - 3px), calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 3px), 3px calc(100% - 3px), 3px calc(100% - 8px), 0 calc(100% - 8px), 0 8px, 3px 8px, 3px 3px, 8px 3px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--black); color: var(--cream); font: 400 1rem/1.65 var(--reading); overflow-wrap: anywhere; }
body:has(.lightbox[open]) { overflow: hidden; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid #ffe1a6; outline-offset: 4px; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: #dfb98238; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-inline-size: 100%; block-size: auto; }
figure, h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
bdi { display: inline-block; white-space: nowrap; font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-family: var(--display); font-weight: 770; line-height: 1.18; }
h2 { font-size: 3.65rem; }
h3 { font-size: 1.65rem; }
.shell { inline-size: min(91.6%, 1560px); margin-inline: auto; }
.section-dark { background: #17130f; }
.skip {
  position: fixed; inset: .7rem .7rem auto auto; z-index: 20;
  padding: .65rem 1rem; background: var(--cream); color: var(--black); translate: 0 -180%;
}
.skip:focus { translate: 0 0; }
#main:focus, section[tabindex="-1"]:focus { outline: none; }

.arrow {
  flex: 0 0 auto; position: relative; inline-size: 15px; block-size: 12px; display: inline-block;
}
.arrow::before, .arrow::after { content: ""; position: absolute; }
.arrow::before { background: currentColor; inline-size: 12px; block-size: 1px; left: 1px; top: 5px; }
.arrow::after { inline-size: 5px; block-size: 5px; rotate: 45deg; left: 1px; top: 3px; border: solid currentColor; border-width: 0 0 1px 1px; }
.arrow-back { scale: -1 1; }
.ornate {
  display: inline-flex; justify-content: center; align-items: center; gap: .75rem;
  position: relative; isolation: isolate; min-block-size: 49px;
  padding: .62rem 1.04rem; border: 0; background: transparent;
  color: var(--cream); font-size: .91rem; font-weight: 690; text-align: center;
}
.ornate::before, .ornate::after {
  position: absolute; content: ""; z-index: -1; clip-path: var(--button-edge);
}
.ornate::before { inset: 0; background: var(--line); }
.ornate::after { inset: 1px; background: var(--black); transition: background-color .18s; }
.ornate:hover::after { background: #342719; }
.button-gold { color: #24170c; }
.button-gold::before { background: #a68356; }
.button-gold::after { inset: 2px; background: var(--gold); box-shadow: inset 0 0 0 4px #eac897; }
.button-gold:hover::after { background: #efcca0; }
.button-gold:disabled { cursor: progress; opacity: .74; }
.text-link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-block-size: 44px; padding-block: .38rem; border-block-end: 1px solid var(--line);
  color: var(--gold); font-weight: 680; font-size: .93rem;
}
.text-link:hover { color: #fff0d5; border-color: currentColor; }
.frame { display: block; border: 1px solid var(--line); padding: 3px; background: var(--black); }
.frame img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.filigree {
  display: flex; align-items: center; justify-content: center; gap: .32rem;
  block-size: 10px; color: var(--line);
}
.filigree::before, .filigree::after { content: ""; flex: 1; block-size: 1px; background: currentColor; }
.filigree span { flex: 0 0 5px; block-size: 5px; rotate: 45deg; background: var(--gold); }

.site-header { border-block-end: 1px solid var(--line); background: #140f0c; position: relative; z-index: 5; }
.header-inner { min-block-size: 85px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.brand { flex: none; max-inline-size: 100%; display: inline-flex; align-items: center; gap: .95rem; }
.brand img { flex: none; inline-size: 74px; block-size: auto; border: 1px solid var(--line); }
.brand strong, .brand small { display: block; }
.brand strong { font: 730 1.14rem/1.25 var(--display); }
.brand small { margin-block-start: .25rem; color: var(--gold); font-size: .83rem; font-weight: 560; }
.primary-nav, .footer-nav, .header-actions, .footer-actions { display: flex; align-items: center; }
.primary-nav { gap: clamp(1.45rem, 3.2vw, 3.8rem); margin-inline-end: auto; margin-inline-start: clamp(1rem, 7vw, 8rem); }
.primary-nav a, .footer-nav a, .header-phone, .footer-actions > a { display: inline-flex; align-items: center; min-block-size: 44px; }
.primary-nav a:hover, .footer-nav a:hover, .header-phone:hover, .footer-actions a:hover, .contact-phone:hover {
  color: var(--gold); text-decoration: underline; text-underline-offset: .22em;
}
.header-actions { gap: 1.2rem; border-inline-start: 1px solid #6f573f; padding-inline-start: 1.3rem; }
.header-phone { font-size: .91rem; font-weight: 720; }
.header-visit { min-block-size: 44px; white-space: nowrap; }
.menu-toggle {
  inline-size: 44px; min-block-size: 44px; padding: 0; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--black); color: var(--cream);
}
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; inline-size: 19px; block-size: 1px; background: currentColor; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; inset-inline-start: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-lines::before { top: 0; rotate: 45deg; }
.menu-toggle[aria-expanded="true"] .menu-lines::after { top: 0; rotate: -45deg; }

.hero {
  position: relative;
  isolation: isolate;
  background: #18120e;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-block-size: clamp(32rem, 78svh, 53rem);
  padding-block: 15rem 3.65rem;
}
.hero-visual {
  display: block;
  position: absolute;
  inset: 0;
  background: #211810;
}
.hero-visual img {
  inline-size: 100%; block-size: 100%;
  object-fit: cover; object-position: 50% 43%;
  filter: saturate(.89) sepia(.13) contrast(1.09);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #18120e3d, transparent 24%),
    linear-gradient(0deg, #18120e 0%, #18120ef2 9%, #18120ec7 24%, #18120e18 57%, transparent 77%),
    radial-gradient(ellipse at 90% 89%, #18120ee0 0%, #18120e80 27%, transparent 60%);
}
.hero-copy { color: #fff4e2; max-inline-size: 58rem; }
.hero h1 { font-size: 6rem; font-weight: 640; line-height: 1.08; text-wrap: balance; }
.hero h1 em { display: block; color: var(--gold); font-style: normal; }
.hero-intro { margin-block-start: .75rem; max-inline-size: 55ch; color: #f0dec5; font-size: 1.15rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.4rem; margin-block-start: 1.55rem; }
.hero-book {
  display: inline-flex; align-items: center; justify-content: center; gap: .85rem;
  min-block-size: 50px; padding: .62rem 1.12rem;
  background: var(--gold); color: #24170c; font-weight: 720;
}
.hero-book:hover { background: #f2d4a5; }
.hero-book .arrow { transition: translate .18s ease; }
.hero-book:is(:hover, :focus-visible) .arrow { translate: -3px; }
.hall-copy::before, .contact-copy::before, .visit::before, .visit::after {
  content: ""; position: absolute; pointer-events: none;
  background: url("./assets/ornament-leaf.png") center/contain no-repeat;
}

.chapters { background: #18120e; }
.chapter-list {
  display: grid; grid-template-columns: 1.03fr 1fr 1.2fr; gap: clamp(.85rem, 2vw, 2rem);
  padding-block: .6rem 2.8rem; border-block-end: 1px solid #57432f;
}
.chapter { display: grid; align-content: start; gap: .75rem; }
.chapter img {
  inline-size: 100%; block-size: clamp(7rem, 11.1vw, 12rem); object-fit: cover;
  border: 1px solid #856747; transition: filter .24s, border-color .24s;
}
.chapter-list li:first-child img { object-position: center 47%; }
.chapter-list li:last-child img { object-position: center 41%; }
.chapter-copy { display: grid; gap: .25rem; }
.chapter strong {
  display: flex; justify-content: space-between; align-items: center; gap: .4rem;
  font: 690 1.38rem/1.28 var(--display); color: #f5ecdc;
}
.chapter strong .arrow { color: #dfb982; }
.chapter-copy > span { color: var(--muted); font-size: .87rem; }
.chapter:hover img, .chapter:focus-visible img { filter: brightness(1.105); border-color: var(--gold); }
.chapter:hover strong { color: var(--gold); }

.hall { padding-block: clamp(2.3rem, 4.85vw, 4.6rem) 3.35rem; }
.hall-grid {
  display: grid; grid-template: "copy feature" "copy choices" / minmax(0,.68fr) minmax(0,1.32fr);
  gap: .85rem clamp(1.45rem, 5.3vw, 5.2rem);
}
.hall-visual { grid-area: feature; position: relative; display: flex; overflow: hidden; aspect-ratio: 1.93; }
.hall-visual img {
  position: absolute; inset: 3px; inline-size: calc(100% - 6px); block-size: calc(100% - 6px);
  object-position: center 46%;
}
.hall-visual[data-photo="detail"] img { object-position: center 59%; }
.hall-visual[data-photo="evening"] {
  align-items: center; justify-content: center;
  background: #261f29;
}
.hall-visual[data-photo="evening"] img {
  position: static; inline-size: min(100%, 520px); block-size: 100%;
  object-fit: contain; padding: 3px; border: 1px solid var(--line); background: var(--black);
}
.hall-current {
  position: absolute; inline-size: 1px; block-size: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.hall-copy { grid-area: copy; align-self: center; position: relative; max-inline-size: 470px; padding: 1rem .4rem 1rem 0; }
.hall-copy::before { inset: -3.1rem 0 auto auto; inline-size: 58px; block-size: 58px; filter: brightness(1.55); opacity: .72; }
.hall-copy p { margin-block: 1.2rem .68rem; line-height: 1.68; color: var(--muted); }
.hall-choices { grid-area: choices; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .65rem; }
.hall-choice {
  display: flex; align-items: flex-end; position: relative; isolation: isolate; overflow: hidden;
  min-block-size: clamp(5.4rem, 8.5vw, 8.2rem); text-align: start;
  transition: border-color .18s, box-shadow .18s;
}
.hall-choice img {
  position: absolute; inset: 3px; z-index: -1;
  inline-size: calc(100% - 6px); block-size: calc(100% - 6px);
  object-position: center 48%; transition: transform .24s ease-out;
}
.hall-choice span {
  padding: .22rem .52rem; line-height: 1.42; color: var(--cream); background: #17110ef5;
  font-size: .82rem; font-weight: 660; border-inline-end: 1px solid var(--line);
}
.hall-choice:hover, .hall-choice[aria-pressed="true"] { border-color: var(--gold); }
.hall-choice:hover img, .hall-choice:focus-visible img { transform: scale(1.04); }
.hall-choice[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--gold); }
.hall-choice[aria-pressed="true"] span { background: var(--gold); color: var(--black); }
.hall-choice:focus-visible { z-index: 1; }
.section-caption { color: var(--muted); font-size: .85rem; margin-block: .8rem 2.1rem; text-align: left; }

.kitchen { background: var(--brown); border-block-end: 1px solid var(--line); }
.kitchen-inner { display: grid; grid-template-columns: 1fr 1.78fr; align-items: start; gap: clamp(2.25rem, 6vw, 7rem); padding-block: 2.25rem 3.4rem; }
.kitchen-copy p { max-inline-size: 42ch; margin-block: 1.25rem 1.55rem; color: var(--muted); }
.kitchen-photos { display: grid; grid-template-columns: 1fr 2.55fr; align-items: end; gap: .9rem; }
.kitchen-wide { grid-area: 1 / 2; }
.kitchen-service { grid-area: 1 / 1; }
.kitchen-wide .frame { aspect-ratio: 1.57; }
.kitchen-service .frame { aspect-ratio: .68; }
.kitchen-service img { object-position: 50% 42%; }
.kitchen-photos figcaption, .gallery-caption { display: block; margin-block-start: .5rem; color: var(--gold); font-size: .83rem; font-weight: 640; }

.gallery { padding-block: 3.1rem 4.55rem; }
.gallery-heading { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.6rem; }
.gallery-heading h2 { font-size: 3.2rem; text-align: center; }
.gallery-intro { max-inline-size: 72ch; text-wrap: balance; text-align: center; color: var(--muted); margin: .6rem auto 2.15rem; }
.gallery-grid { display: grid; grid-template-columns: 2.38fr 1.09fr 1.78fr; gap: clamp(.75rem, 1.35vw, 1.25rem); align-items: start; }
.gallery-item { display: flex; flex-direction: column; block-size: 100%; }
.gallery-item .frame { overflow: hidden; block-size: clamp(12rem,25vw,24rem); }
@media (min-width: 761px) {
  .gallery-grid li:nth-child(2) { margin-block-start: 2.35rem; }
  .gallery-grid li:nth-child(3) { margin-block-start: 1.15rem; }
  .gallery-grid li:not(:first-child) .frame { block-size: clamp(11rem,22vw,21.4rem); }
}
.gallery-item img { transition: transform .4s ease-out; object-position: center 51%; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.025); }
.gallery-item:hover .gallery-caption, .gallery-item:focus-visible .gallery-caption { text-decoration: underline; text-underline-offset: .23em; }
.gallery-grid li:nth-child(2) img { object-position: center 53%; }
.gallery-grid li:nth-child(3) img { object-position: center 52%; }

.visit {
  color-scheme: light; position: relative; overflow: hidden;
  background: #f2e7d0; color: #25180d;
  border-block: 4px double #987957;
}
.visit::before, .visit::after { inset: .75rem .75rem auto auto; inline-size: 88px; block-size: 88px; opacity: .9; }
.visit::after { inset: auto auto .75rem .75rem; rotate: 180deg; }
.visit-inner { display: grid; grid-template-columns: 1.04fr 2fr; align-items: center; padding-block: 2.85rem; }
.visit-copy { position: relative; padding-inline: 3rem 1.8rem; border-inline-end: 1px solid var(--line); }
.visit-copy h2 { font-size: 2.85rem; }
.visit-copy p { margin-block-start: .75rem; max-inline-size: 35ch; color: #5e4d3b; }
.visit-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .65rem; padding-inline: 1.6rem; }
.visit-list a {
  display: grid; align-content: start; justify-items: center; text-align: center;
  block-size: 100%; min-block-size: 44px; padding: .15rem .2rem .4rem;
}
.visit-list a:focus-visible { outline-color: #62431f; }
.visit-list strong { font: 750 1.45rem/1.25 var(--display); text-decoration: underline; text-decoration-color: #a2845c; text-underline-offset: .24em; }
.visit-list a:hover strong { text-decoration-color: currentColor; }
.visit-text { margin-block-start: .63rem; color: #5e4d3b; font-size: .87rem; }
.sticker-stage { display: grid; place-items: center; inline-size: 100%; block-size: 99px; margin-block-end: .55rem; }
.sticker {
  --edge: 4px;
  display: block; position: relative; max-inline-size: 100%;
  transform: rotate(var(--tilt));
  filter: drop-shadow(0 3px 0 #baa382) drop-shadow(0 5px 5px #543d233d);
  transition: transform .25s ease-out;
}
.sticker::before, .sticker-art { content: ""; position: absolute; clip-path: var(--shape); }
.sticker::before { inset: 0; background: #fff8e8; }
.sticker-art { inset: var(--edge); overflow: hidden; background: #fff8e8; }
.sticker-art img {
  position: absolute; left: var(--x); top: var(--y); width: var(--image-width); height: var(--image-height);
  max-inline-size: none; max-block-size: none;
  filter: saturate(.9) contrast(1.04);
}
.sticker-hall {
  --tilt: -9deg; --image-width: 181.55%; --image-height: 201.11%; --x: -80.95%; --y: -35.93%;
  --shape: polygon(3% 28%,14% 17%,26% 14%,36% 9%,49% 5%,59% 3%,66% 5%,75% 1%,85% 5%,92% 11%,100% 16%,99% 31%,91% 38%,79% 43%,69% 45%,66% 55%,62% 67%,63% 79%,67% 86%,77% 92%,75% 97%,68% 100%,44% 100%,35% 96%,36% 92%,45% 87%,48% 80%,48% 70%,47% 61%,42% 49%,41% 45%,29% 48%,19% 46%,10% 41%,3% 38%,0 32%);
  inline-size: 62px; aspect-ratio: .65;
}
.sticker-kitchen {
  --tilt: -5deg; --image-width: 280.22%; --image-height: 287.36%; --x: -179.67%; --y: -142.53%;
  --shape: polygon(0 56%,6% 51%,13% 34%,21% 29%,30% 35%,42% 25%,48% 18%,52% 26%,63% 25%,72% 16%,79% 19%,86% 4%,93% 8%,98% 21%,100% 61%,97% 78%,88% 88%,71% 93%,49% 94%,29% 100%,12% 99%,2% 92%);
  inline-size: 114px; aspect-ratio: 1.95;
}
.sticker-team {
  --tilt: 8deg; --image-width: 190.91%; --image-height: 306.01%; --x: -13.94%; --y: -34.97%;
  --shape: polygon(33% 11%,34% 6%,39% 3%,47% 1%,52% 5%,55% 12%,55% 21%,53% 29%,52% 34%,60% 37%,67% 44%,72% 55%,79% 65%,87% 74%,95% 78%,100% 84%,100% 91%,94% 95%,82% 98%,62% 100%,33% 100%,18% 97%,6% 93%,0 89%,0 82%,4% 76%,6% 66%,8% 57%,12% 46%,17% 39%,25% 36%,34% 31%,34% 24%,32% 17%);
  inline-size: 84px; aspect-ratio: .93;
}
.visit-list a:hover .sticker, .visit-list a:focus-visible .sticker { transform: translateY(-3px) rotate(0deg); }

.contact {
  position: relative; isolation: isolate; background: #17110d; overflow: hidden;
  border-block-end: 1px solid #5d4a35;
}
.contact-visual { position: absolute; inset: 0; z-index: -1; }
.contact-visual img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 54%; filter: sepia(.19) saturate(.7); opacity: .62; }
.contact-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg,#17110df5 0%,#17110ddf 34%,#17110d58 69%,#17110d70), linear-gradient(0deg,#17110df3,transparent 65%); }
.contact-inner { min-block-size: 492px; padding-block: 3.75rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(2rem, 8vw, 9rem); align-items: center; }
.contact-copy { position: relative; padding-inline: 2.9rem 0; }
.contact-copy::before { inset: -3.15rem -.25rem auto auto; inline-size: 67px; block-size: 67px; filter: brightness(1.85); opacity: .8; }
.contact-copy p { text-wrap: pretty; margin-block: 1.2rem .9rem; max-inline-size: 47ch; color: var(--muted); }
.contact-info { display: grid; justify-items: start; }
.contact-phone { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3em; min-block-size: 44px; color: var(--gold); font-weight: 700; }
.contact-info address { color: var(--muted); }
.inquiry {
  display: grid; grid-template-columns: minmax(0,1fr); align-content: center; gap: 1.25rem;
  min-block-size: 305px; padding: clamp(20px, 3vw, 44px);
  border: 4px double var(--line); background: #17120e;
}
.inquiry p { color: var(--muted); }
.inquiry > .ornate, .lead-form .ornate { justify-self: stretch; }
.call-panel .ornate { flex-wrap: wrap; gap: .22em; }
.call-panel .ornate .arrow { margin-inline-start: .78em; }
.lead-form { display: grid; gap: .9rem; }
.lead-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.lead-field { display: grid; gap: .3rem; min-inline-size: 0; }
.lead-field-wide { grid-column: 1/-1; }
.lead-field label { font-size: .9rem; font-weight: 670; }
.lead-field small { color: var(--muted); font-weight: 400; }
.lead-field input { inline-size: 100%; min-block-size: 45px; border: 1px solid var(--line); background: var(--brown); color: var(--cream); padding: .55rem .6rem; }
.lead-field input[aria-invalid="true"] { border-color: #eea695; }
.lead-field-error { font-size: .86rem; color: #ffb6a8 !important; }
.lead-feedback { display: grid; gap: .4rem; }
.lead-feedback a { text-decoration: underline; text-underline-offset: .22em; }

.whatsapp-float {
  --wa-size: 60px;
  position: fixed; z-index: 4;
  inset-inline-end: max(20px, calc(env(safe-area-inset-left) + 8px));
  inset-block-end: max(20px, calc(env(safe-area-inset-bottom) + 8px));
  display: grid; place-items: center; inline-size: var(--wa-size); block-size: var(--wa-size);
  border: 1px solid #c4deca; border-radius: 50%; background: #fffdf6;
  box-shadow: 0 4px 10px #10080659; transition: transform .2s ease-out, background-color .2s ease-out;
}
.whatsapp-float img { inline-size: 62%; block-size: auto; }
.whatsapp-float:hover { transform: translateY(-3px); background: #eaf8ec; }
.whatsapp-float:active { transform: translateY(0); }
.whatsapp-float:focus-visible { outline: 2px solid #00833a; outline-offset: 3px; box-shadow: 0 0 0 6px #fffdf6; }
body:has(.lightbox[open], .menu-toggle[aria-expanded="true"]) .whatsapp-float { visibility: hidden; }

.site-footer { background: #140f0c; }
.site-footer > .shell { padding-inline-end: max(0px, calc(90px + env(safe-area-inset-left) - 4.2vw)); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 1.2rem .9rem; }
.footer-nav { gap: clamp(.85rem, 2.35vw, 2.8rem); font-size: .9rem; }
.footer-actions { flex-wrap: wrap; gap: 1.4rem; color: var(--gold); font-size: .87rem; font-weight: 660; }
.footer-actions .ornate { min-block-size: 44px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding-block: .4rem 1.1rem; color: var(--muted); font-size: .8rem; }

.lightbox {
  position: fixed; inline-size: min(91vw, 930px); max-inline-size: none; max-block-size: calc(100dvh - 1.5rem);
  color: var(--cream); background: var(--black); border: 1px solid var(--line); padding: .9rem clamp(.85rem, 2.6vw, 1.5rem);
}
.lightbox::backdrop { background: rgba(12,8,5,.88); }
.lightbox-top, .lightbox-actions { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.lightbox-top { margin-block-end: .65rem; }
.lightbox-count { color: var(--muted); font-size: .89rem; }
.lightbox button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .4rem .65rem; min-block-size: 44px; color: var(--cream);
  border: 1px solid var(--line); background: var(--brown); font-size: .87rem;
}
.lightbox button:hover { background: #3a2b1d; }
.close-icon { inline-size: 12px; block-size: 12px; display: inline-grid; place-content: center; }
.close-icon::before, .close-icon::after { content: ""; grid-area: 1/1; inline-size: 13px; block-size: 1px; background: currentColor; rotate: 45deg; }
.close-icon::after { rotate: -45deg; }
.lightbox-view img { block-size: min(61dvh, 655px); inline-size: 100%; object-fit: contain; background: #0c0907; }
.lightbox-view figcaption { padding-block: .55rem; font-weight: 680; text-align: center; }

@media (max-width: 1160px) {
  h2 { font-size: 3.05rem; }
  .header-inner { gap: 1rem; }
  .primary-nav { gap: 1.5rem; margin-inline-start: auto; }
  .header-actions { gap: .75rem; padding-inline-start: .8rem; }
  .hero h1 { font-size: 5rem; }
  .hall-copy::before { inline-size: 46px; }
  .visit-copy { padding-inline-start: 1.85rem; }
  .visit-copy h2 { font-size: 2.45rem; }
  .visit::before, .visit::after { inline-size: 65px; block-size: 65px; }
}

@media (max-width: 900px) {
  .shell { inline-size: 91%; }
  .header-inner { min-block-size: 73px; gap: .75rem; }
  .brand { gap: .65rem; }
  .brand img { inline-size: 59px; }
  .brand strong { font-size: 1.01rem; }
  .brand small { font-size: .76rem; margin-block-start: .12rem; }
  .primary-nav { gap: .9rem; font-size: .86rem; }
  .header-actions { gap: .6rem; padding-inline-start: .6rem; }
  .header-phone { font-size: .82rem; }
  .header-visit { padding-inline: .65rem; font-size: .83rem; }
  .hero h1 { font-size: 4.4rem; }
  .hall-copy::before { display: none; }
  .kitchen-inner { grid-template-columns: 1fr 1.45fr; gap: 1.5rem; }
  .gallery-heading { gap: .85rem; }
  .gallery-heading h2 { font-size: 2.55rem; }
  .contact-copy { padding-inline-start: 1.8rem; }
  .footer-main { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .shell { inline-size: calc(100% - 36px); }
  .header-inner { min-block-size: 70px; flex-wrap: wrap; row-gap: 0; }
  .brand img { inline-size: 52px; }
  .header-actions { flex-wrap: wrap; border: 0; padding: 0; gap: .75rem; }
  .header-visit { display: none; }
  .primary-nav { order: 1; flex: 1 1 100%; margin-inline: 0; justify-content: space-between; gap: .65rem; padding-block: .1rem .4rem; }
  [data-menu-ready] .primary-nav {
    position: absolute; inset: 100% 0 auto; display: grid; justify-content: stretch; gap: 0;
    background: #19130f; border-block-end: 1px solid var(--line); box-shadow: 0 9px 22px #0c09078c;
    padding: .45rem 1.1rem; max-block-size: calc(100dvh - 76px); overflow: auto;
  }
  [data-menu-ready] .primary-nav a { padding-inline: .45rem; font-size: 1rem; }
  [data-menu-ready] .primary-nav a + a { border-block-start: 1px solid #524030; }
  .desktop-break { display: none; }

  .hero { --hero-photo-space: clamp(14rem, 44svh, 29rem); }
  .hero-inner { min-block-size: 0; padding-block: var(--hero-photo-space) 2.1rem; }
  .hero-visual { inset-block-end: auto; block-size: calc(var(--hero-photo-space) + 5rem); }
  .hero-visual img { object-position: 55% 57%; }
  .hero-visual::after { background: linear-gradient(0deg, #18120e 0%, #18120ef2 15%, #18120eaa 29%, #18120e30 44%, transparent 58%); }
  .hero h1 { font-size: 3.35rem; }
  .hero-intro { margin-block-start: .55rem; font-size: 1.05rem; }
  .hero-actions { margin-block-start: 1.15rem; }
  .hero-book { gap: .65rem; padding-inline: .9rem; font-size: .93rem; min-block-size: 46px; }

  .chapter-list { padding-block: .2rem 1.5rem; gap: .85rem; }
  .chapter { gap: .47rem; }
  .chapter strong { font-size: 1.14rem; }
  .chapter-copy > span { font-size: .8rem; }
  .chapter img { block-size: auto; aspect-ratio: 5/4; }

  h2 { font-size: clamp(2rem, 7.4vw, 2.9rem); }
  .hall { padding-block: 1.45rem 1.9rem; }
  .hall-grid { grid-template: "copy" "feature" "choices" / minmax(0,1fr); min-block-size: 0; gap: .65rem; }
  .hall-visual { aspect-ratio: 1.65; align-self: start; }
  .hall-visual[data-photo="evening"] { justify-content: center; padding: 0; background: var(--black); }
  .hall-visual[data-photo="evening"] img { inline-size: 100%; block-size: 100%; max-block-size: none; padding: 0; border: 0; }
  .hall-choice { min-block-size: clamp(5.6rem, 25vw, 9rem); }
  .hall-choices { grid-template: repeat(2,minmax(0,1fr)) / repeat(2,minmax(0,1fr)); gap: .55rem; }
  .hall-copy { grid-area: copy; max-inline-size: none; padding: .2rem .15rem .35rem; }
  .hall-copy::before { display: none; }
  .hall-copy p { margin-block: .7rem .2rem; }
  .section-caption { margin-block: .65rem 1rem; font-size: .78rem; text-align: start; }

  .kitchen-inner { display: grid; grid-template-columns: minmax(0,1fr); gap: 1.3rem; padding-block: 1.8rem 1.95rem; }
  .kitchen-copy p { margin-block: .62rem .22rem; max-inline-size: 55ch; }
  .kitchen-photos { gap: .55rem; grid-template-columns: minmax(0,1fr) minmax(0,2.25fr); align-items: start; }
  .kitchen-service .frame { aspect-ratio: .70; }
  .kitchen-wide .frame { aspect-ratio: 1.58; }
  .kitchen-photos figcaption, .gallery-caption { font-size: .76rem; margin-block-start: .38rem; }

  .gallery { padding-block: 1.85rem 2.2rem; }
  .gallery-heading { gap: .45rem; grid-template-columns: minmax(.7rem,1fr) minmax(0,auto) minmax(.7rem,1fr); }
  .gallery-heading .filigree { gap: .15rem; }
  .gallery-heading .filigree span { flex-basis: 3px; block-size: 3px; }
  .gallery-heading h2 { font-size: clamp(1.65rem, 6vw, 2.45rem); }
  .gallery-intro { margin-block: .65rem 1.2rem; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem .55rem; }
  .gallery-grid li:first-child { grid-column: 1/-1; }
  .gallery-item .frame { block-size: auto; aspect-ratio: 1.38; }
  .gallery-grid li:first-child .frame { aspect-ratio: 1.38; }

  .visit-inner { grid-template-columns: minmax(0,1fr); padding-block: 1.65rem 1.85rem; text-align: center; gap: 1.25rem; }
  .visit::before, .visit::after { inline-size: 45px; block-size: 45px; inset-block-start: .35rem; inset-inline-start: .25rem; }
  .visit::after { inset: auto auto .3rem .3rem; }
  .visit-copy { border: 0; padding-inline: .6rem; }
  .visit-copy h2 { font-size: clamp(1.75rem, 6.45vw, 2.4rem); }
  .visit-copy p { margin-inline: auto; margin-block-start: .55rem; }
  .visit-list { padding-inline: 0; padding-block-start: 1.1rem; border-block-start: 1px solid #b4a084; }
  .sticker-stage { block-size: 78px; margin-block-end: .4rem; }
  .sticker { --edge: 3px; }
  .sticker-hall { inline-size: 46px; }
  .sticker-kitchen { inline-size: 88px; }
  .sticker-team { inline-size: 62px; }
  .visit-list strong { font-size: 1.12rem; }
  .visit-text { font-size: .78rem; margin-block-start: .38rem; line-height: 1.48; }

  .contact-inner { grid-template-columns: minmax(0,1fr); min-block-size: 0; padding-block: 2.6rem; gap: 1.4rem; }
  .contact-visual img { object-position: 42% 28%; }
  .contact-visual::after { background: linear-gradient(180deg,#17110db8 0%,#17110def 46%,#17110d 90%); }
  .contact-copy { padding-inline: 0 1rem; }
  .contact-copy::before { inset: -.7rem auto auto -8px; rotate: -82deg; inline-size: 51px; block-size: 51px; opacity: .7; }
  .contact-copy p { margin-block: .7rem .35rem; }
  .inquiry { gap: .85rem; min-block-size: 0; }
  .inquiry h3 { font-size: 1.38rem; }
  .call-panel .ornate { padding-inline: min(1.04rem, 4vw); }
  .lead-fields { grid-template-columns: minmax(0,1fr); }

  .footer-main { display: grid; grid-template-columns: minmax(0,1fr); gap: .55rem; }
  .footer-nav { display: flex; flex-wrap: wrap; gap: .15rem 1.1rem; }
  .footer-actions { gap: 1rem; }
  .site-footer > .shell { padding-inline-end: max(0px, calc(76px + env(safe-area-inset-left) - 5vw)); }
  .footer-bottom { font-size: .75rem; }
  .whatsapp-float {
    --wa-size: 52px;
    inset-inline-end: max(12px, calc(env(safe-area-inset-left) + 7px));
    inset-block-end: max(12px, calc(env(safe-area-inset-bottom) + 7px));
  }
}

@media (max-width: 559px) {
  .hero h1 { font-size: 2.65rem; }
  .chapter-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .chapter-list li:last-child { grid-column: 1 / -1; }
  .chapter-list li:nth-child(2) .chapter-copy, .chapter-list li:last-child .chapter-copy {
    padding-inline-end: max(0px, calc(74px + env(safe-area-inset-left) - 5vw));
  }
  .chapter-list li:last-child img { aspect-ratio: 2.06; object-position: center 44%; }
  .hall-visual[data-photo="evening"] img { object-fit: cover; }
}
@media (min-width: 560px) and (max-width: 760px) {
  .hall-choices { grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: auto; }
}
@media (min-width: 560px) and (max-width: 760px) and (max-height: 550px) {
  .hall-grid { grid-template: "copy copy" "feature choices" / minmax(0,1.45fr) minmax(0,1fr); align-items: stretch; }
  .hall-visual { align-self: stretch; }
  .hall-choices { grid-template: repeat(2,minmax(0,1fr)) / repeat(2,minmax(0,1fr)); }
  .hall-choice { min-block-size: 70px; }
}
@media (max-width: 760px) and (min-height: 530px) {
  html[data-menu-ready] { scroll-padding-block-start: var(--header-offset, 76px); }
  [data-menu-ready] .site-header { position: sticky; inset-block-start: 0; }
}
@media (max-width: 345px) {
  .shell { inline-size: calc(100% - 24px); }
  .header-inner { column-gap: .32rem; }
  .brand { gap: .35rem; }
  .brand strong { font-size: .86rem; }
  .brand img { inline-size: 44px; }
  .header-actions { gap: .38rem; }
  .header-phone { font-size: .75rem; }
  .hero h1 { font-size: 2.35rem; }
}
@media (max-height: 520px) {
  .lightbox-view img { block-size: 48dvh; }
}
@media (max-width: 1050px) and (max-height: 520px) and (orientation: landscape) {
  .hero-inner { min-block-size: 18rem; padding-block: 7rem 1.4rem; }
  .hero-visual { block-size: auto; inset-block-end: 0; }
  .hero-visual::after {
    background:
      linear-gradient(0deg, #18120e 0%, #18120ed9 32%, #18120e96 54%, transparent 78%),
      linear-gradient(270deg, #18120ec9, #18120e8a 48%, transparent 68%);
  }
  .hero h1 { font-size: 2.85rem; }
  .hero-intro { margin-block-start: .35rem; }
  .hero-actions { margin-block-start: .8rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .filigree.entering::before, .filigree.entering::after { animation: draw-line .6s ease-out both; }
  @keyframes draw-line { from { scale: .15 1; } to { scale: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  :focus-visible { outline-color: Highlight; }
  .ornate, .hero-book, .menu-toggle, .lightbox button { border: 1px solid ButtonText; }
  .arrow::before, .menu-lines, .menu-lines::before, .menu-lines::after, .close-icon::before, .close-icon::after { background: ButtonText; }
  .contact-visual::after { forced-color-adjust: none; }
  .hero-copy { background: Canvas; }
  .whatsapp-float { border-color: LinkText; }
  .hall-choice[aria-pressed="true"] { border: 3px solid Highlight; }
}
.lead-status:empty { margin-block-start: -.9rem; }
.lead-status a { color: var(--gold); text-decoration: underline; }
