/* ALON MALIK – project key visuals. GENERATED by _build/keyvisuals.py – edit there, not here. */
.kv{position:relative;display:block;margin:0;overflow:hidden;container-type:inline-size;aspect-ratio:16/10;direction:rtl;color:#fff;
  background:#0B1230 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='69.28' viewBox='0 0 40 69.28'%3E%3Cpath d='M0 0 L40 69.28 M40 0 L0 69.28 M0 34.64 H40 M0 0 H40' fill='none' stroke='%238FBDF2' stroke-opacity='0.09' stroke-width='1.2'/%3E%3C/svg%3E") repeat;background-size:2.5cqw 4.33cqw;isolation:isolate;contain:paint}
.kv--hero{aspect-ratio:16/9;background-size:2.08cqw 3.61cqw}
.kv--og{aspect-ratio:1200/630;background-size:3.33cqw 5.77cqw}
.kv__bg{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:visible}
.kv__stage{position:absolute;inset:0}
.kv__mat{position:absolute;transform:rotate(var(--r,0deg));filter:drop-shadow(0 1.2cqw 1.6cqw rgba(3,6,20,.55));will-change:transform}
.kv__mat-in{position:absolute;inset:0;background:#1A2550;clip-path:polygon(0 0,calc(100% - var(--cut)) 0,100% calc(var(--cut) * 1.732),100% 100%,0 100%)}
.kv .kv__mat .kv__img{position:absolute;inset:var(--pad);width:calc(100% - var(--pad) * 2);height:calc(100% - var(--pad) * 2);
  max-width:none;object-fit:contain;display:block;transform:none!important;transition:none!important;border-radius:0}
.kv__mat--ghost .kv__mat-in{background:#3C4CB9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='69.28' viewBox='0 0 40 69.28'%3E%3Cpath d='M0 0 L40 69.28 M40 0 L0 69.28 M0 34.64 H40 M0 0 H40' fill='none' stroke='%238FBDF2' stroke-opacity='0.14' stroke-width='1.2'/%3E%3C/svg%3E");background-size:2.5cqw 4.33cqw}
.kv__mat--ghost{filter:none}
.kv__mat--poster .kv__mat-in{background:#EAF1FC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='69.28' viewBox='0 0 40 69.28'%3E%3Cpath d='M0 0 L40 69.28 M40 0 L0 69.28 M0 34.64 H40 M0 0 H40' fill='none' stroke='%233C4CB9' stroke-opacity='0.16' stroke-width='1.2'/%3E%3C/svg%3E");background-size:2.5cqw 4.33cqw;display:flex;flex-direction:column;justify-content:flex-end;
  align-items:flex-start;text-align:right;padding:8% 9% 9%;gap:.6cqw}
.kv__picon{position:absolute;top:8%;right:9%;color:#3C4CB9;fill:none;stroke:#3C4CB9;stroke-width:1.5;stroke-linejoin:miter;overflow:visible}
.kv__pbig{margin:0;font-family:var(--font-display,"FUP Golan","IBM Plex Sans Hebrew",Arial,sans-serif);font-weight:800;line-height:.95;color:#3C4CB9;
  letter-spacing:-.01em;width:100%;text-align:right}
.kv__psmall{margin:0;font-family:var(--font-text,"IBM Plex Sans Hebrew",Arial,sans-serif);font-weight:600;line-height:1.3;color:#0B1230;width:100%;text-align:right;text-wrap:balance}
.kv__top{position:absolute;display:flex;align-items:center;flex-direction:row;gap:1.4cqw}
.kv__icon{flex:none;color:#8FBDF2;fill:none;stroke:#8FBDF2;stroke-width:1.5;stroke-linejoin:miter;overflow:visible}
.kv__year{font-family:var(--font-display,"FUP Golan","IBM Plex Sans Hebrew",Arial,sans-serif);font-weight:600;color:#fff;line-height:1;letter-spacing:.01em}
.kv__type{position:absolute;text-align:right}
.kv__title{margin:0;font-family:var(--font-display,"FUP Golan","IBM Plex Sans Hebrew",Arial,sans-serif);font-weight:800;line-height:1.02;color:#fff;
  text-wrap:balance;letter-spacing:-.005em}
.kv__cat{margin:0;display:flex;align-items:center;gap:1.1cqw;font-family:var(--font-text,"IBM Plex Sans Hebrew",Arial,sans-serif);font-weight:600;
  line-height:1.25;color:#EAF1FC}
.kv__tick{flex:none;display:block;width:2.2cqw;height:1.25cqw;background:#FFC93C;clip-path:polygon(41.6% 0,100% 0,58.4% 100%,0 100%)}
.kv__brand{position:absolute;display:flex;align-items:center;gap:1.2cqw;font-family:var(--font-display,"FUP Golan",Arial,sans-serif);font-weight:700;color:#fff}
.kv__brand svg{display:block;height:1.15em;width:auto}
/* optional: hide the title block where a heading sits right next to the visual (icon/year/materials stay) */
.kv--bare .kv__type{display:none}
/* in a project card: fill the 16:10 media box (site.css sizes it) */
.proj-card__media>.kv{position:absolute;inset:0;width:100%;height:100%}
/* until kv.js has set the start state – with a 3s failsafe if it never runs */
html.js-anim .kv[data-kv-anim]:not(.kv-on) :is(.kv__stage,.kv__top,.kv__type,.kv__brand,.kv__stripe){opacity:0;animation:kv-failsafe 0s 3s forwards}
@keyframes kv-failsafe{to{opacity:1}}
@media (prefers-reduced-motion:reduce){html.js-anim .kv[data-kv-anim]:not(.kv-on) :is(.kv__stage,.kv__top,.kv__type,.kv__brand,.kv__stripe){opacity:1;animation:none}}
.kv--card{--pad:1.10cqw;--cut:1.10cqw}
.kv--card .kv__type{right:5.000cqw;bottom:5.375cqw;width:40.000cqw}
.kv--card .kv__title{font-size:6.250cqw}
.kv--card .kv__cat{font-size:2.750cqw;margin-top:1.375cqw}
.kv--card .kv__top{right:5.000cqw;top:4.750cqw}
.kv--card .kv__icon{width:7.375cqw;height:7.375cqw}
.kv--card .kv__year{font-size:3.125cqw}
.kv--hero{--pad:1.05cqw;--cut:1.05cqw}
.kv--hero .kv__type{right:5.000cqw;bottom:4.792cqw;width:39.583cqw}
.kv--hero .kv__title{font-size:6.042cqw}
.kv--hero .kv__cat{font-size:2.500cqw;margin-top:1.250cqw}
.kv--hero .kv__top{right:5.000cqw;top:4.375cqw}
.kv--hero .kv__icon{width:7.083cqw;height:7.083cqw}
.kv--hero .kv__year{font-size:2.917cqw}
.kv--og{--pad:1.20cqw;--cut:1.20cqw}
.kv--og .kv__type{right:5.000cqw;bottom:4.667cqw;width:40.000cqw}
.kv--og .kv__title{font-size:6.333cqw}
.kv--og .kv__cat{font-size:2.667cqw;margin-top:1.333cqw}
.kv--og .kv__brand{right:5.000cqw;top:4.000cqw;font-size:2.833cqw}
