:root {
  --bg: #000;
  --fg: #fff;
  --dim: #9a9a9a;
  --line: rgba(255, 255, 255, .18);
  --font: "Miriam Libre", "Arial Hebrew", Arial, sans-serif;
  --pad: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font); font-weight: 400; font-size: 13px; letter-spacing: .02em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.skip { position: absolute; top: -100px; right: 12px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 14px; }
.skip:focus { top: 12px; }

.top { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: flex-start; padding: 18px var(--pad); background: var(--bg); }
.logo { display: block; }
.logo img { display: block; height: 30px; width: auto; }

.group { padding: 70px var(--pad) 40px; }
.group + .group { padding-top: 40px; }
.group-title { font-weight: 400; font-size: 13px; color: var(--dim); margin-bottom: 26px; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.work { display: block; }
.label { display: block; margin-bottom: 10px; }
.frame { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.82); transition: transform .8s ease, filter .4s; }
.work:hover img, .work:focus-visible img { transform: scale(1.04); filter: brightness(1); }

.bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: auto; padding: 60px var(--pad) 16px; color: var(--dim); }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.bottom a:hover { color: var(--fg); }


.statement { max-width: 720px; padding: 80px var(--pad) 100px; }
.statement h1 { font-size: 26px; font-weight: 700; margin-bottom: 30px; }
.statement h2 { font-size: 16px; font-weight: 700; margin: 30px 0 10px; }
.statement p, .statement li { font-size: 15px; line-height: 1.8; }
.statement ul { list-style: disc; padding-right: 20px; }
.statement a { text-decoration: underline; }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  :root { --pad: 16px; }
  body { font-size: 12px; }
  .logo img { height: 22px; }
  .group { padding-top: 40px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .label { margin-bottom: 7px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.player { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; background: #000; color: #fff; }
.player[open] { display: flex; flex-direction: column; justify-content: center; }
.player::backdrop { background: #000; }
.player { max-height: none; inset: 0; }
.player-frame { position: relative; width: min(100vw, calc(100vh * 16 / 9)); width: min(100vw, calc(100dvh * 16 / 9)); aspect-ratio: 16 / 9; margin: 0 auto; }
.player-frame iframe { transition: opacity .4s; }
.player.loading .player-frame iframe { opacity: 0; }
.player-loader { position: absolute; inset: 0; display: none; place-items: center; pointer-events: none; }
.player.loading .player-loader { display: grid; }
.player-loader img { width: 36px; height: auto; }
.player:focus { outline: none; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player { overscroll-behavior: contain; }
.player-close { position: fixed; top: max(10px, env(safe-area-inset-top)); left: max(10px, env(safe-area-inset-left)); z-index: 5; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: #9a9a9a; cursor: pointer; }
.player-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.player-close:hover { color: #fff; }
html.noscroll, html.noscroll body { overflow: hidden; }

/* תפריט נגישות */
.a11y-btn { position: fixed; bottom: 16px; left: 16px; z-index: 60; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); color: var(--fg); border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; transition: border-color .2s; }
.a11y-btn:hover { border-color: var(--fg); }
.a11y-btn svg { width: 24px; height: 24px; }
.a11y-panel { position: fixed; bottom: 70px; left: 16px; z-index: 60; width: 250px; background: var(--bg); color: var(--fg); border: 1px solid var(--line); padding: 16px; font-size: 13px; }
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.a11y-panel button { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; color: inherit; border: 0; border-top: 1px solid var(--line); padding: 10px 0; font: inherit; cursor: pointer; text-align: right; }
.a11y-panel button[aria-pressed="true"]::after { content: "פעיל"; color: var(--dim); font-size: 11px; }
.a11y-panel .a11y-reset { color: var(--dim); }
.a11y-panel a { display: block; border-top: 1px solid var(--line); padding-top: 10px; color: var(--dim); text-decoration: underline; }

html.a11y-big body { zoom: 1.25; }
html.a11y-light { --bg: #fff; --fg: #000; --dim: #444; --line: rgba(0, 0, 0, .3); }
html.a11y-light .frame img { filter: none; }
html.a11y-links a { text-decoration: underline !important; }
html.a11y-font { --font: Arial, "Arial Hebrew", sans-serif; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; }

