/* Home page upgrades (2026-11-23, from the agency quote review): before/after slider, match quiz,
   gallery filters with a full-screen viewer, press and productions band. Loaded after theme-cream.css. */

/* ---------- before / after slider ---------- */
.bas { margin: 32px auto 0; max-width: 560px; }
.bas-pair { display: grid; gap: 18px; margin-top: 32px; }
@media (min-width: 820px) { .bas-pair { grid-template-columns: 1fr 1fr; max-width: 1040px; margin-inline: auto; } .bas-pair .bas { margin-top: 0; } }
.bas-frame { --pos: 50%; position: relative; overflow: hidden; border-radius: 6px; background: var(--sand); touch-action: pan-y; user-select: none; -webkit-user-select: none; box-shadow: 0 18px 44px -26px rgba(43,33,28,.55); }
.bas-frame img { display: block; width: 100%; height: auto; aspect-ratio: var(--ar, 518 / 900); object-fit: cover; pointer-events: none; }
.bas-frame .bas-before { position: absolute; inset: 0; height: 100%; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.bas-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #FFFDFA; box-shadow: 0 0 10px rgba(0,0,0,.35); pointer-events: none; }
.bas-knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: 50%; background: #FFFDFA; color: #8F5E3A; border: 2px solid #8F5E3A; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.bas-knob svg { width: 26px; height: 26px; }
.bas-frame { cursor: ew-resize; }
.bas-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; }
.bas-frame:has(.bas-range:focus-visible) .bas-knob { outline: 3px solid #2B211C; outline-offset: 3px; }
.bas-frame .ba-tag { position: absolute; top: 12px; z-index: 1; background: rgba(20,14,10,.82); color: #FFFDFA; font-size: 14px; font-weight: 700; letter-spacing: .04em; padding: 4px 12px; border-radius: 999px; pointer-events: none; }
.bas-frame .ba-before { left: 12px; right: auto; }
.bas-frame .ba-after { right: 12px; left: auto; }
.bas-cap { margin: 12px 0 0; font-size: 15px; color: var(--muted); text-align: center; }
.bas-hint { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #8F5E3A; }

/* ---------- match quiz ---------- */
.quiz { background: var(--sand); }
.quiz .wrap { max-width: 760px; }
.quiz h2 { margin-bottom: 10px; }
.quiz .intro { color: var(--muted); margin: 0 0 26px; }
.qz { background: #FFFDFA; border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 4vw, 34px); box-shadow: 0 22px 50px -34px rgba(43,33,28,.55); }
.qz-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 15px; font-weight: 700; color: #8F5E3A; }
.qz-bar { flex: 1; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.qz-bar i { display: block; height: 100%; width: 20%; background: #8F5E3A; border-radius: inherit; transition: width .3s; }
.qz fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.qz legend { font-family: var(--display); font-size: clamp(24px, 3.4vw, 30px); line-height: 1.3; color: var(--ink); margin-bottom: 16px; padding: 0; outline: none; }
.qz-opts { display: grid; gap: 10px; }
@media (min-width: 620px) { .qz-opts { grid-template-columns: 1fr 1fr; } }
.qz-opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qz-opts label { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.qz-opts label::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #8F5E3A; background: #fff; box-shadow: inset 0 0 0 4px #fff; }
.qz-opts label:hover { border-color: #8F5E3A; }
.qz-opts input:checked + label { border-color: #8F5E3A; background: #F7EDE3; }
.qz-opts input:checked + label::before { background: #8F5E3A; }
.qz-opts input:focus-visible + label { outline: 3px solid #2B211C; outline-offset: 2px; }
.qz-name { display: grid; gap: 6px; margin-top: 4px; }
.qz-name label { font-weight: 700; }
.qz-name input { font: inherit; font-size: 17px; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.qz-name input:focus-visible { outline: 3px solid #2B211C; outline-offset: 2px; border-color: #8F5E3A; }
.qz-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 22px; }
.qz-btn { font: inherit; font-size: 16px; font-weight: 700; min-height: 50px; padding: 10px 24px; border-radius: 999px; cursor: pointer; border: 1.5px solid #8F5E3A; background: #8F5E3A; color: #fff; }
.qz-btn:hover { background: #77492A; border-color: #77492A; }
.qz-btn.ghost { background: transparent; color: #8F5E3A; }
.qz-btn.ghost:hover { background: #F7EDE3; }
.qz-btn[disabled] { opacity: .45; cursor: not-allowed; }
.qz-btn:focus-visible, .qz-wa:focus-visible, .qz-alt a:focus-visible { outline: 3px solid #2B211C; outline-offset: 3px; }
.qz-msg { margin: 10px 0 0; min-height: 1.5em; font-weight: 700; color: #9A3412; }
.qz-result h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.6vw, 34px); line-height: 1.3; margin: 0 0 10px; color: var(--ink); outline: none; }
.qz-result p { margin: 0 0 12px; color: var(--muted); }
.qz-sum { list-style: none; margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: #F7EDE3; display: grid; gap: 4px; font-size: 16px; }
.qz-sum b { color: var(--ink); }
.qz-wa { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 12px 20px; border-radius: 999px; background: #157A42; color: #fff !important; font-size: 18px; font-weight: 800; text-decoration: none; box-shadow: 0 12px 26px -14px rgba(30,142,78,.8); }
.qz-wa:hover { background: #10633A; }
.qz-wa svg { width: 24px; height: 24px; }
.qz-alt { margin: 14px 0 0; text-align: center; font-size: 15.5px; color: var(--muted); }
.qz-alt a { color: #8F5E3A; font-weight: 700; text-underline-offset: 3px; }
.qz [hidden] { display: none !important; }

/* ---------- gallery filters + viewer ---------- */
.gal-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.gal-filters button { font: inherit; font-size: 15.5px; font-weight: 700; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid #8F5E3A; background: transparent; color: #8F5E3A; cursor: pointer; }
.gal-filters button[aria-pressed="true"] { background: #8F5E3A; color: #fff; }
.gal-filters button:focus-visible { outline: 3px solid #2B211C; outline-offset: 2px; }
.gal-count { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); }
#gallery .gallery { margin-top: 18px; }
#gallery figure[hidden] { display: none; }
.gal-open { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; position: relative; }
.gal-open img { display: block; }
.gal-open:focus-visible { outline: 3px solid #2B211C; outline-offset: -3px; }
.gal-open::after { content: ""; position: absolute; left: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(20,14,10,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.5-4.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 20px no-repeat; opacity: .9; }
.lb { position: fixed; inset: 0; z-index: 80; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8,6,4,.94); color: #FFFDFA; }
.lb::backdrop { background: rgba(8,6,4,.94); }
.lb-in { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: calc(10px + env(safe-area-inset-top,0px)) 12px calc(14px + env(safe-area-inset-bottom,0px)); }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lb-count { font-size: 15px; color: #E9DCC8; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lb-cap { margin: 10px auto 0; max-width: 60ch; text-align: center; font-size: 15.5px; color: #E9DCC8; line-height: 1.5; }
.lb button { font: inherit; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #E3C792; background: rgba(20,14,10,.7); color: #FFF1CF; cursor: pointer; font-size: 22px; line-height: 1; }
.lb button:hover { background: #E3C792; color: #0A0A0A; }
.lb button:focus-visible { outline: 3px solid #FFF1CF; outline-offset: 3px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { right: 4px; } .lb-next { left: 4px; }
html.lb-open, html.lb-open body { overflow: hidden; }

/* ---------- press and productions ---------- */
.press { background: #FFFDFA; text-align: center; }
.press .eyebrow { justify-content: center; }
.press h2 { max-width: 20ch; margin-inline: auto; }
.press .intro { max-width: 60ch; margin: 14px auto 0; color: var(--muted); }
.press-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
@media (min-width: 820px) { .press-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.press-grid li { display: grid; align-content: center; gap: 6px; min-height: 120px; padding: 18px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.press-grid .pm { font-family: "Cinzel", var(--display); font-size: clamp(18px, 2.4vw, 23px); letter-spacing: .12em; color: var(--ink); line-height: 1.2; }
.press-grid .pm.he { font-family: var(--display); letter-spacing: 0; font-size: clamp(21px, 2.8vw, 26px); }
.press-grid .pd { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.press-note { margin: 22px auto 0; max-width: 60ch; font-size: 16px; color: var(--ink); }

/* ---------- lead form: success card ---------- */
.lead-done { margin-top: 10px; padding: 14px 16px; border-radius: 12px; background: #EAF6EE; color: #14532D; font-weight: 600; }
.lead-done a { display: inline-flex; margin-top: 8px; padding: 10px 18px; border-radius: 999px; background: #157A42; color: #fff !important; font-weight: 800; text-decoration: none; }
.lead-done a:focus-visible { outline: 3px solid #14532D; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .qz-bar i, .qz-opts label { transition: none; } }
html.a11y-still .qz-bar i { transition: none; }
.qz-again:focus-visible { outline: 3px solid #2B211C; outline-offset: 3px; }

/* 2026-11-23 review fixes */
@media (min-width: 860px) { .hero .hero-photo { align-self: start; } }
.hero-top-cta { margin: 18px 0 4px; display: grid; justify-items: center; gap: 0; }
.lb-prev svg, .lb-next svg { width: 22px; height: 22px; }
/* Reserve the header's final height before the menu script runs (no layout jump on load) */
header .wrap { min-height: 77px; }
@media (max-width: 560px) { header .head-actions .social { display: none; } }
header .brand b { white-space: nowrap; }
@media (max-width: 560px) { header .brand b { font-size: 17px; letter-spacing: .2em; } header .brand small { letter-spacing: .4em; } }
@media (max-width: 400px) { header .wrap { gap: 8px; } header .brand b { font-size: 15px; letter-spacing: .14em; } header .btn.line { padding-inline: 12px; font-size: 13.5px; } }

/* Same look as quick.js row, so the hero buttons do not jump on load */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.oa-quick{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;width:fit-content;max-width:100%;margin:12px auto 0;direction:rtl}.cta>.oa-quick{margin-top:0}.oa-quick a{flex:1 1 0;min-width:124px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 14px;font-family:"Assistant","Arial Hebrew",Arial,sans-serif;font-size:15px;font-weight:600;line-height:1.2;letter-spacing:0;white-space:nowrap;text-decoration:none;color:inherit;background:transparent;border:1px solid color-mix(in srgb,#C9A467 75%,transparent);border-radius:2px;transition:background .2s,color .2s,border-color .2s}.oa-quick .oa-q-book svg{color:#C9A467}.oa-quick .oa-q-wa svg{color:#25D366}.oa-quick a:hover{background:#D4B27A;border-color:#D4B27A;color:#0A0A0A}.oa-quick a:hover svg{color:#0A0A0A}.oa-quick a:focus-visible,.oa-alt a:focus-visible{outline:2px solid #D4B27A;outline-offset:3px}.oa-alt{display:block;margin-top:6px;font-size:.92em}.oa-alt a{color:inherit;text-underline-offset:3px;display:inline-block;padding:11px 2px;margin:-11px 0}@media (prefers-reduced-motion:reduce){.oa-quick a{transition:none}}
