/* ============================================
   ELLA SASSOON ART — Dark Immersive Gallery
   Modern · bold · contemporary
   ============================================ */

:root {
  /* Surfaces — near-black graphite */
  --bg: #0a0a0b;
  --surface: #121214;
  --elevated: #1a1a1d;
  --line: rgba(245, 240, 232, 0.12);
  --line-strong: rgba(245, 240, 232, 0.24);

  /* Text */
  --text: #f4f0e8;
  --text-dim: #aaa498;
  --text-faint: #6f6a60;

  /* Accent — single molten signal */
  --accent: #ff5c35;
  --accent-dim: #d94a28;
  --accent-soft: #ffb59c;

  /* Light surfaces (for inverted sections) */
  --paper: #f4f0e8;
  --paper-2: #e9e3d8;
  --ink: #0a0a0b;

  /* Type */
  --font-display: "Archivo Expanded", "Archivo", -apple-system, sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px; --s-11: 180px;

  --maxw: 1520px;
  --gutter: clamp(20px, 4.5vw, 72px);

  --transition: 480ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: clip;
}

html[lang="he"] { direction: rtl; }
html[lang="en"] { direction: ltr; }

/* ---- Hebrew typography ----------------------------------------------------
   Archivo/Manrope/Space Mono carry no Hebrew glyphs, so Hebrew fell back to an
   ugly system face. Use Heebo for Hebrew and drop the Latin-only display tweaks
   (expanded width, heavy negative tracking, forced <br> line breaks). */
html[lang="he"] {
  --font-display: "Heebo", "Archivo Expanded", sans-serif;
  --font-body: "Heebo", "Manrope", sans-serif;
  --font-mono: "Heebo", "Space Mono", monospace;
}
html[lang="he"] .display-xl,
html[lang="he"] .display-l,
html[lang="he"] .display-m,
html[lang="he"] .display-s,
html[lang="he"] .hero__formtitle,
html[lang="he"] .stat__num {
  font-stretch: normal;
  letter-spacing: -0.01em;
}
html[lang="he"] .eyebrow,
html[lang="he"] .mono,
html[lang="he"] .nav__link,
html[lang="he"] .btn,
html[lang="he"] .filter,
html[lang="he"] .artwork__meta,
html[lang="he"] .artwork__price,
html[lang="he"] .footer__head { letter-spacing: 0.02em; }
/* The design hard-codes <br> for the English layout; in Hebrew they break short
   phrases into ugly stacks. Let Hebrew wrap naturally (text-wrap: balance). */
html[lang="he"] .display-xl br,
html[lang="he"] .display-l br,
html[lang="he"] .display-m br,
html[lang="he"] .display-s br { display: none; }
/* Keep the wordmark in the Latin display face regardless of language. */
.brand__mark, .footer__brand { font-family: "Archivo Expanded", "Archivo", sans-serif; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: clip; /* clip (not hidden) — kills stray horizontal scroll without breaking position:sticky */
}

::selection { background: var(--accent); color: #fff; }

/* ============================================
   TYPOGRAPHY — bold modern grotesk
   ============================================ */

.display-xl, .display-l, .display-m, .display-s {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
  font-stretch: 125%;
}

.display-xl {
  font-size: clamp(38px, 5.6vw, 72px);
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
}
.display-l {
  font-size: clamp(30px, 4.2vw, 54px);
  letter-spacing: -0.04em;
  line-height: 0.94;
  text-transform: uppercase;
}
.display-m {
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: -0.03em;
  line-height: 0.96;
}
.display-s {
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-weight: 700;
}

/* Accent: outline / color treatments for emphasis */
.display-xl .hl, .display-l .hl, .display-m .hl {
  color: var(--accent);
}
.display-xl .outline, .display-l .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
  text-stroke: 1.5px var(--text);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text-faint);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--accent { color: var(--accent); }

.lead {
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.5;
  color: var(--text-dim);
  font-weight: 400;
  max-width: 56ch;
  text-wrap: pretty;
}

.body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 62ch;
  text-wrap: pretty;
}
.body strong { color: var(--text); font-weight: 600; }
.body--faint { color: var(--text-faint); }

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  text-transform: uppercase;
}

a { color: inherit; text-decoration: none; }

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: clamp(80px, 11vw, 180px) 0; }
.section--tight { padding: clamp(56px, 7vw, 100px) 0; }
/* Defer rendering of off-screen sections. Perf win, and it keeps long pages under
   Chrome's raster-complexity limit — without it the (very long) landing page hit a
   GPU paint failure and rendered entirely black. */
.section, .marquee { content-visibility: auto; contain-intrinsic-size: auto 700px; }

/* Inverted (light) section */
.section--paper {
  background: var(--paper);
  color: var(--ink);
}
.section--paper .display-xl, .section--paper .display-l,
.section--paper .display-m, .section--paper .display-s { color: var(--ink); }
.section--paper .lead { color: #44403a; }
.section--paper .body { color: #57524a; }
.section--paper .mono { color: #8a8478; }
.section--paper .eyebrow { color: #8a8478; }
.section--paper .display-xl .outline,
.section--paper .display-l .outline { -webkit-text-stroke-color: var(--ink); }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ============================================
   NAV
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  direction: ltr; /* the Latin wordmark always reads "Ella Sassoon · Art", even in RTL */
}
.brand__mark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
  font-stretch: 125%;
}
.brand__dot { color: var(--accent); }
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav__links { display: flex; gap: var(--s-7); align-items: center; }
.nav__link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}
.nav__link:hover { color: var(--text); }
.nav__link.is-active { color: var(--accent); }

.nav__right { display: flex; gap: var(--s-4); align-items: center; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  overflow: hidden;
}
.lang-switch button {
  appearance: none; border: 0; background: transparent;
  padding: 7px 11px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 400; letter-spacing: 0.08em;
  color: var(--text-faint);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.lang-switch button.is-active { background: var(--text); color: var(--bg); }

/* Mobile navigation — hamburger + slide-in panel (built by i18n.js) */
.nav__burger { display: none; }
.nav__mobile { display: none; }

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__right .btn--primary { display: none; } /* CTA lives in the panel on mobile */

  .nav__burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 12px;
    background: transparent; border: 1px solid var(--line-strong); cursor: pointer;
    z-index: 110;
  }
  .nav__burger span { display: block; width: 100%; height: 1.5px; background: var(--text); transition: transform var(--transition-fast), opacity var(--transition-fast); }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .nav__mobile {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    position: fixed; inset: 0; z-index: 90;
    padding: 104px var(--gutter) 56px;
    /* Theme-aware: dark on the main site, cream on the light landing — so the
       menu links, logo and burger (all var(--text)) stay readable on both. */
    background: color-mix(in srgb, var(--bg) 97%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transform: translateX(100%); visibility: hidden;
    transition: transform var(--transition), visibility var(--transition);
  }
  html[lang="he"] .nav__mobile { transform: translateX(-100%); }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav__mobile { transform: none; visibility: visible; }

  .nav__mobile-links { display: flex; flex-direction: column; gap: 0; }
  .nav__mobile-links .nav__link {
    font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 6vw, 26px);
    letter-spacing: -0.02em; text-transform: none; color: var(--text);
    padding: 18px 0; border-bottom: 1px solid var(--line);
  }
  .nav__mobile-cta { margin-top: 32px; width: 100%; }
}

@media (max-width: 380px) {
  .nav__inner { gap: 12px; padding-left: 18px; padding-right: 18px; }
  .brand__sub { display: none; }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

.btn--solid { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--solid:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--text); background: rgba(244,240,232,0.06); }

.section--paper .btn--ghost { color: var(--ink); border-color: rgba(10,10,11,0.25); }
.section--paper .btn--ghost:hover { border-color: var(--ink); background: rgba(10,10,11,0.05); }

.btn--link {
  background: transparent; border: 0; padding: 0;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px;
}
.btn--link:hover { color: var(--accent); }
.section--paper .btn--link { color: var(--ink); }
.section--paper .btn--link:hover { color: var(--accent-dim); }

.btn .arrow {
  display: inline-block; width: 18px; height: 1px;
  background: currentColor; position: relative;
  transition: transform var(--transition-fast);
}
.btn .arrow::after {
  content: ''; position: absolute; right: 0; top: -3.5px;
  width: 8px; height: 8px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
html[lang="he"] .btn .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(4px); }
html[lang="he"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ============================================
   ARTWORK PLACEHOLDERS — glow on dark
   ============================================ */

.art {
  position: relative;
  overflow: hidden;
  background: #050505;
}
.art--portrait { aspect-ratio: 3 / 4; }
.art--landscape { aspect-ratio: 4 / 3; }
.art--square { aspect-ratio: 1 / 1; }
.art--pano { aspect-ratio: 16 / 9; }
.art--tall { aspect-ratio: 2 / 3; }
.art--wide { aspect-ratio: 21 / 9; }

.art__placeholder { position: absolute; inset: 0; }
/* Real artwork photo fills the aspect-ratio box (replaces the gradient placeholder). */
.art__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Large editorial images derive height from column width via aspect-ratio, which
   on wide desktops can exceed the viewport. Cap them so they always fit. */
.home-hero__art .art, .about-teaser__media .art, .about-intro__media .art,
.commissions__visual .art, .comm-hero__art .art, .home-hero__art .art--tall { max-height: 78vh; }
.art__placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--art-bg, linear-gradient(135deg, #b85728 0%, #2c1810 100%));
}
.art__placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(var(--art-angle, 38deg), rgba(255,255,255,0.05) 0 2px, transparent 2px 11px),
    radial-gradient(circle at 28% 38%, rgba(255,255,255,0.18), transparent 52%),
    radial-gradient(circle at 72% 72%, rgba(0,0,0,0.32), transparent 60%);
  mix-blend-mode: overlay;
}
.art__tag {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  padding: 5px 9px;
}

/* Color variants */
.art--01 { --art-bg: linear-gradient(135deg, #b85728 0%, #ffb547 50%, #2c1810 100%); --art-angle: 38deg; }
.art--02 { --art-bg: linear-gradient(120deg, #1a3a5c 0%, #3d9fb8 45%, #d97757 100%); --art-angle: 65deg; }
.art--03 { --art-bg: linear-gradient(150deg, #2c1810 0%, #8e2c2c 40%, #f4c542 100%); --art-angle: 15deg; }
.art--04 { --art-bg: linear-gradient(110deg, #0d2818 0%, #4a7a5c 50%, #c2864a 100%); --art-angle: 75deg; }
.art--05 { --art-bg: linear-gradient(160deg, #1a1a2e 0%, #6b1f4a 45%, #d97757 100%); --art-angle: 25deg; }
.art--06 { --art-bg: linear-gradient(130deg, #3d2914 0%, #c2864a 50%, #f4ead5 100%); --art-angle: 50deg; }
.art--07 { --art-bg: linear-gradient(140deg, #0c1d2c 0%, #1e5b73 45%, #f4c542 100%); --art-angle: 30deg; }
.art--08 { --art-bg: linear-gradient(125deg, #2c1810 0%, #b85728 35%, #f4ead5 100%); --art-angle: 55deg; }
.art--09 { --art-bg: linear-gradient(155deg, #1a3a2c 0%, #b8924e 50%, #2c1810 100%); --art-angle: 22deg; }
.art--10 { --art-bg: linear-gradient(115deg, #5c1f3a 0%, #d97757 45%, #1a1a2e 100%); --art-angle: 68deg; }
.art--11 { --art-bg: linear-gradient(145deg, #14110d 0%, #6b4423 50%, #d4a574 100%); --art-angle: 18deg; }
.art--12 { --art-bg: linear-gradient(135deg, #2c4a3a 0%, #87a878 45%, #f4ead5 100%); --art-angle: 42deg; }

/* ============================================
   ARTWORK CARD
   ============================================ */

.artwork { display: block; cursor: pointer; }
.artwork__media {
  position: relative;
  margin-bottom: 18px;
  transition: transform var(--transition);
}
.artwork__media .art { transition: filter var(--transition); }
.artwork:hover .artwork__media .art { filter: brightness(1.08); }
.artwork__media::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid transparent;
  transition: border-color var(--transition-fast);
  pointer-events: none;
}
.artwork:hover .artwork__media::after { border-color: var(--accent); }

.artwork__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 5px;
}
.section--paper .artwork__title { color: var(--ink); }
.artwork__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--text-faint); text-transform: uppercase; }
.artwork__price {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); margin-top: 6px;
}

/* ============================================
   FORM
   ============================================ */

.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint);
}
.form__input, .form__textarea, .form__select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  transition: border-color var(--transition-fast);
  outline: none;
}
.form__input::placeholder, .form__textarea::placeholder { color: var(--text-faint); }
.form__input:focus, .form__textarea:focus, .form__select:focus { border-color: var(--accent); }
.form__textarea { resize: vertical; min-height: 110px; }
.form__select { appearance: none; cursor: pointer; }

/* Form on light surface */
.section--paper .form__label { color: #8a8478; }
.section--paper .form__input, .section--paper .form__textarea, .section--paper .form__select {
  color: var(--ink); background: #fff; border-color: rgba(10,10,11,0.18);
}
.section--paper .form__input:focus, .section--paper .form__textarea:focus, .section--paper .form__select:focus { border-color: var(--accent-dim); }
.section--paper .form__input::placeholder, .section--paper .form__textarea::placeholder { color: #b0aa9e; }

/* ============================================
   FOOTER
   ============================================ */

.footer { background: var(--bg); border-top: 1px solid var(--line); padding: clamp(64px,9vw,120px) 0 var(--s-7); }
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-9);
}
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }

.footer__brand-row { display: flex; flex-direction: column; gap: 20px; }
.footer__brand {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase;
  color: var(--text); line-height: 0.9; font-stretch: 125%;
}
.footer__brand .brand__dot { color: var(--accent); }
.footer__tag { max-width: 34ch; color: var(--text-dim); font-size: 15px; line-height: 1.6; }

.footer__head {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint); margin: 0 0 18px;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__list a, .footer__list li { color: var(--text-dim); font-size: 14px; transition: color var(--transition-fast); }
.footer__list a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: var(--s-5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4);
}
.footer__bottom span { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); letter-spacing: 0.04em; }

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-head { margin-bottom: clamp(48px, 6vw, 88px); }
.section-head__row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s-6); flex-wrap: wrap;
}
.section-head .display-l, .section-head .display-m { margin-top: 22px; }

/* ============================================
   UTILS
   ============================================ */

/* Visible by DEFAULT — content must never depend on JS to appear. The scroll
   reveal only kicks in once i18n.js confirms the observer is running (html.js-reveal). */
.reveal { opacity: 1; transform: none; transition: opacity 900ms cubic-bezier(0.16,1,0.3,1), transform 900ms cubic-bezier(0.16,1,0.3,1); }
html.js-reveal .reveal { opacity: 0; transform: translateY(28px); }
html.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

.text-center { text-align: center; }
[hidden] { display: none !important; }

html[lang="en"] [data-lang="he"] { display: none; }
html[lang="he"] [data-lang="en"] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, html.js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Marquee */
.marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding: 22px 0; }
.marquee__track { display: inline-flex; gap: 56px; animation: marquee 38s linear infinite; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase;
  color: var(--text-faint);
  display: inline-flex; align-items: center; gap: 56px;
}
.marquee__item::after { content: '✦'; color: var(--accent); font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }
html[lang="he"] .marquee__track { animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ============================================
   LIGHTBOX — full-screen image on click
   ============================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 4vmin;
  background: rgba(8, 8, 9, 0.95);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 96vw; max-height: 92vh;
  width: auto; height: auto; object-fit: contain;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9);
  animation: lbin 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lbin { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.lightbox__close {
  position: fixed; top: 16px; inset-inline-end: 20px;
  width: 48px; height: 48px; border: 0; border-radius: 0;
  background: transparent; color: #fff; font-size: 34px; line-height: 1;
  cursor: pointer; opacity: 0.8; transition: opacity var(--transition-fast);
}
.lightbox__close:hover { opacity: 1; }
/* affordance: zoom cursor on clickable artwork images */
[data-lightbox] .art__img { cursor: zoom-in; }
body.lb-open { overflow: hidden; }

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.wa-float {
  position: fixed; z-index: 150;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff;
  box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.wa-float:hover { transform: scale(1.07); box-shadow: 0 16px 38px -6px rgba(37, 211, 102, 0.75); color: #fff; }
.wa-float svg { width: 30px; height: 30px; display: block; }
@media (max-width: 480px) { .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }
